/* EASYONMAIL | main_v2.css - consolidated desktop/mobile CSS */
/* Original selectors retained; duplicate responsive rules merged in cascade order. */

/* BASE */
:root {
    --eom-css-build: mobile-v8-spacing;
    --eom-navy: #102b68;
    --eom-blue: #1161eb;
    --eom-blue-dark: #074bc9;
    --eom-ink: #1b2946;
    --eom-muted: #60718f;
    --eom-line: #e5eaf2;
    --eom-soft: #f7f9fd;
    --eom-radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    color: var(--eom-ink);
    background: #fff;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",

                 "Noto Sans KR", "Malgun Gothic", sans-serif;
    line-height: 1.55;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}

body.eom-menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible {
    outline: 3px solid #82b7ff;
    outline-offset: 3px;
}

.eom-skip {
    position: absolute;
    left: 12px;
    top: -90px;
    padding: 12px 18px;
    background: var(--eom-navy);
    color: white;
    z-index: 1000;
}

.eom-skip:focus {
    top: 12px;
}

.eom-container {
    max-width: 1180px;
    padding: 0 24px;
    margin: 0 auto;
}

.eom-section {
    padding: 58px 0;
}

.eom-section-heading {
    margin-bottom: 24px;
}

.eom-section-heading h2 {
    margin: 0;
    color: var(--eom-navy);
    font-size: 27px;
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.3;
}

.eom-section-heading p {
    margin: 8px 0 0;
    color: var(--eom-muted);
    font-size: 14px;
}

.eom-section-heading.eom-center {
    text-align: center;
}

.eom-section-heading.eom-between {
    display: flex;
    align-items: baseline;
    gap: 20px;
    justify-content: space-between;
}

.eom-section-more {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--eom-blue);
}

.eom-section-more:hover {
    text-decoration: underline;
}

.eom-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 7px;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 800;
    min-height: 47px;
    transition: background .18s, transform .18s;
    text-align: center;
}

.eom-btn:hover {
    transform: translateY(-1px);
}

.eom-btn-primary {
    background: var(--eom-blue);
    color: #fff;
}

.eom-btn-primary:hover {
    background: var(--eom-blue-dark);
}

.eom-btn-outline {
    color: var(--eom-navy);
    background: white;
    border: 1px solid #cad6e8;
}

.eom-btn-outline:hover {
    background: #f4f8ff;
}

.eom-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #e8edf5;
}

.eom-header-inner {
    width: 100%;
    max-width: 1180px;
    height: 70px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.eom-logo {
    color: #0753c4;
    letter-spacing: -.055em;
    font-size: 24px;
    font-weight: 900;
    white-space: nowrap;
}

.eom-logo img {
    display: block;
    width: auto;
    height: 30px; /* 기존 26px */
}

@media (max-width: 899px) {
    .eom-logo img {
        height: 23px;
    }
}

.eom-nav {
    display: flex;
    align-items: center;
    gap: clamp(15px,2vw,29px);
}

.eom-nav > a {
    font-size: 13px;
    color: #21365c;
    white-space: nowrap;
    font-weight: 700;
}

.eom-nav > a:hover, .eom-login-link:hover {
    color: var(--eom-blue);
}

.eom-header-actions {
    display: flex;
    align-items: center;
    gap: 13px;
}

.eom-login-link {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* 실제 이동 경로 확인 전, 링크처럼 동작하지 않는 로그인 후 UI */
.eom-account-pending {
    cursor: default;
}

.eom-signup-link {
    padding: 10px 16px;
    background: var(--eom-blue);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
}

.eom-signup-link:hover {
    background: var(--eom-blue-dark);
}

.eom-menu-toggle, .eom-mobile-login, .eom-mobile-menu-account {
    display: none;
}

.eom-hero {
    overflow: hidden;
    background: linear-gradient(105deg, #fff 0%, #f8faff 38%, #fff6f2 100%);
}

.eom-hero-inner {
    max-width: 1280px;
    min-height: 462px;
    margin: auto;
    padding: 22px 34px 22px 56px;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    position: relative;
}

.eom-hero-content {
    position: relative;
    z-index: 2;
    padding: 25px 0;
}

.eom-eyebrow {
    color: #4264a1;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 9px;
}

.eom-hero h1 {
    margin: 0;
    color: #062664;
    font-size: clamp(40px, 4.3vw, 59px);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -.065em;
}

.eom-hero h1 span {
    color: #0653c6;
}

.eom-hero-description {
    margin: 24px 0 0;
    color: #425779;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
}

.eom-hero-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.eom-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 17px;
    list-style: none;
    padding: 0;
    margin: 23px 0 0;
}

.eom-hero-features li {
    color: #405e88;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}

.eom-hero-features li::before {
    content: "✓";
    margin-right: 5px;
    color: var(--eom-blue);
    font-weight: 900;
}

.eom-hero-visual {
    position: relative;
    height: 430px;
    align-self: end;
    overflow: visible;
}

.eom-hero-visual::before {
    content: "";
    position: absolute;
    inset: 14px 0 18px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffe9e5 0%, rgba(255,243,234,.2) 68%, transparent 73%);
}

.eom-hero-visual img {
    position: absolute;
    right: 2%;
    bottom: -17px;
    width: min(100%, 465px);
    height: 455px;
    object-fit: contain;
    filter: drop-shadow(0 16px 12px rgba(30,65,105,.08));
}

.eom-purpose {
    padding-top: 44px;
    padding-bottom: 50px;
}

.eom-purpose-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
}

.eom-purpose-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 193px;
    padding: 21px 18px 19px;
    border-radius: 10px;
    border: 1px solid #e4ebf6;
    text-align: center;
    transition: transform .18s, box-shadow .18s;
}

.eom-purpose-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(32,72,125,.1);
}

.eom-purpose-prison {
    background: linear-gradient(145deg, #eef6ff, #e5f0ff);
}

.eom-purpose-military {
    background: linear-gradient(145deg, #f0fcf3, #e6f7eb);
}

.eom-purpose-family {
    background: linear-gradient(145deg, #fff4f6, #ffedf2);
}

.eom-purpose-emoji {
    place-items: center;
    font-size: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
}

.eom-purpose-card h3 {
    margin: 9px 0 4px;
    color: var(--eom-navy);
    font-size: 19px;
    font-weight: 850;
    letter-spacing: -.045em;
}

.eom-purpose-card p {
    margin: 0;
    color: #64748d;
    font-size: 13px;
    line-height: 1.5;
}

.eom-purpose-card > span {
    color: var(--eom-blue);
    font-size: 13px;
    font-weight: 800;
    margin-top: auto;
    padding-top: 12px;
}

.eom-purpose-military > span {
    color: #21824c;
}

.eom-benefits {
    padding-top: 30px;
    padding-bottom: 40px;
}

.eom-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
}

.eom-benefit {
    text-align: center;
    padding: 8px 12px 12px;
    border-right: 1px solid #e2e8f1;
}

.eom-benefit:last-child {
    border-right: none;
}

.eom-benefit > span {
    font-size: 34px;
    display: inline-block;
    height: 53px;
}

.eom-benefit h3 {
    margin: 2px 0 0;
    font-weight: 850;
    font-size: 16px;
    color: var(--eom-navy);
}

.eom-benefit p {
    margin: 0;
    color: var(--eom-muted);
    font-size: 14px;
}

.eom-prison-section {
    padding: 15px 0 35px;
}

.eom-prison-banner {
    display: grid;
    grid-template-columns: 30% minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-height: 270px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #dce8f8;
    background: linear-gradient(

        110deg,

        #deefff 0%,

        #eaf3fc 48%,

        #f3f7ff 100%

    );
}

.eom-prison-copy {
    padding: 23px 24px 23px 15px;
}

.eom-prison-copy h2 {
    font-weight: 900;
    margin: 0 0 15px;
    color: var(--eom-navy);
    font-size: 25px;
    line-height: 1.4;
    letter-spacing: -.04em;
}

.eom-prison-copy p {
    margin: 0;
    color: #526581;
    font-size: 14px;
    line-height: 1.85;
    word-break: keep-all;
}

.eom-prison-copy .eom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: auto;
    min-height: 46px;
    margin-top: 20px;
    padding: 0 22px;
    font-size: 13px;
    font-weight: 750;
}

.eom-how {
    padding-top: 36px;
    padding-bottom: 55px;
}

.eom-how-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.eom-how-grid li {
    position: relative;
    min-height: 177px;
    padding: 18px 17px;
    border: 1px solid #e1e8f4;
    border-radius: 11px;
    background: linear-gradient(160deg,#f9fbff,#eef5ff);
    overflow: hidden;
    padding-bottom: 78px;
}

.eom-how-grid strong {
    font-size: 14px;
    font-weight: 850;
    color: var(--eom-blue);
}

.eom-how-grid h3 {
    font-size: 15px;
    color: var(--eom-navy);
    letter-spacing: -.03em;
    margin: 7px 0 7px;
}

.eom-how-grid p {
    color: #687a94;
    font-size: 12px;
    line-height: 1.65;
    margin: 0;
}

.eom-how-grid li > span {
    font-size: 31px;
    position: absolute;
    right: 15px;
    bottom: 13px;
}

.eom-products {
    background: #fbfcfe;
    border-top: 1px solid #f1f3f8;
}

.eom-product-grid {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 13px;
}

.eom-product-card {
    min-width: 0;
}

.eom-product-img {
    border: 1px solid #e8edf3;
    background: #fff;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.eom-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s;
}

.eom-product-card:hover img {
    transform: scale(1.05);
}

.eom-product-name {
    font-size: 13px;
    margin-top: 7px;
    font-weight: 800;
    color: #173260;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.eom-product-desc {
    font-size: 11px;
    color: #8490a3;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}


/* ==========================================
   실제 회원 이용후기
   ========================================== */

.eom-reviews {
    padding-bottom: 64px;
}

.eom-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.eom-review-card {
    min-width: 0;
    min-height: 225px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e3e9f2;
    border-radius: 12px;
}

.eom-review-layout {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 15px;
    height: 100%;
}

.eom-review-media {
    min-width: 0;
}

.eom-review-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1.12;
    padding: 8px;
    overflow: hidden;
    border-radius: 11px;
    background: #f4f7fb;
}

.eom-review-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 실제 별점 */
.eom-review-card .eom-stars {
    margin-top: 11px;
    color: #ffaf1a;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
}

/* 후기 원문 */
.eom-review-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.eom-review-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    margin: 0;
    color: #28354c;
    font-size: 17px;
    line-height: 1.7;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.eom-review-foot {
    margin-top: auto;
    padding-top: 12px;
    color: #8490a3;
    font-size: 11px;
    line-height: 1.5;
    text-align: left;
}

.eom-review-foot span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.eom-guide {
    background: #f9fbff;
    border-block: 1px solid #eef2f7;
}

.eom-guide-grid {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 12px;
}

.eom-guide-card {
    border-radius: 9px;
    border: 1px solid #e4eaf4;
    background: white;
    overflow: hidden;
}

.eom-guide-art {
    display: grid;
    place-items: center;
    aspect-ratio: 1.4;
    font-size: 36px;
}

.eom-guide-art.blue {
    background: #e5f0ff;
}

.eom-guide-art.mint {
    background: #e5f9f0;
}

.eom-guide-art.peach {
    background: #fff1e8;
}

.eom-guide-art.lavender {
    background: #f0eaff;
}

.eom-guide-art.yellow {
    background: #fff7da;
}

.eom-guide-art.gray {
    background: #edf1f6;
}

.eom-guide-card h3 {
    margin: 0;
    padding: 10px 12px 13px;
    font-size: 12px;
    line-height: 1.5;
    color: #253a60;
    font-weight: 750;
}

.eom-notices {
    padding-top: 45px;
    padding-bottom: 60px;
}

.eom-notice-list {
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: 1px solid #e4e9f2;
}

.eom-notice-list li {
    border-bottom: 1px solid #edf0f5;
}

.eom-notice-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 5px;
}

.eom-notice-name {
    font-size: 13px;
    color: #394c6d;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.eom-notice-list time {
    flex-shrink: 0;
    font-size: 12px;
    color: #8997ae;
}

.eom-data-empty {
    padding: 24px 0;
    color: #77849b;
    font-size: 13px;
    text-align: center;
    border: 1px dashed #dde5f0;
    border-radius: 10px;
}

/* FOOTER */
.eom-footer {
    background: #f0f3f8;
    border-top: 1px solid #e6eaf1;
}

.eom-footer-inner {
    display: block;
    min-height: 0;
    padding-top: 27px;
    padding-bottom: 25px;
}

/* 푸터 메뉴 */
.eom-footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 18px;
    padding-bottom: 19px;
    margin-bottom: 21px;
    border-bottom: 1px solid #dde4ee;
}

.eom-footer-links a,
.eom-footer-pending {
    color: #64758c;
    font-size: 12px;
    font-weight: 600;
}

.eom-footer-links a:hover {
    color: var(--eom-blue);
}

/* 광고·제휴 문의 강조 */
.eom-footer-links .eom-footer-partnership {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: auto;
    padding: 9px 16px;
    border-radius: 7px;
    background: var(--eom-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.eom-footer-links .eom-footer-partnership:hover {
    background: var(--eom-blue-dark);
    color: #fff;
}

/* 고객센터 운영시간 */
.eom-footer-hours {
    flex-basis: 100%;
}

/* 모바일 */
@media (max-width: 899px) {
    .eom-footer-links .eom-footer-partnership {
        margin-left: 0;
        padding: 8px 12px;
    }
}

/* 브랜드 및 사업자 정보 */
.eom-footer-logo {
    color: var(--eom-navy);
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -.055em;
}

.eom-footer-tagline {
    margin: 3px 0 14px;
    color: #75849a;
    font-size: 12px;
}

.eom-footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 16px;
}

.eom-footer-info span {
    color: #718198;
    font-size: 11px;
    line-height: 1.8;
}

.eom-footer-info a:hover {
    color: var(--eom-blue);
}

.eom-footer-address {
    flex-basis: 100%;
}

/* 저작권 */
.eom-footer-copyright {
    margin: 17px 0 0;
    padding-top: 13px;
    border-top: 1px solid #dde4ee;
    color: #91a0b3;
    font-size: 11px;
}

.eom-mobile-cta {
    display: none;
}

.eom-header-inner, .eom-hero-inner, .eom-hero-content,

.eom-container, .eom-hero-description, .eom-hero-buttons {
    min-width: 0;
}

.eom-purpose-emoji img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.eom-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.eom-benefit-icon img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.eom-how-grid li > .eom-how-step-icon {
    position: absolute;
    right: 12px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
}

.eom-how-step-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.eom-prison-banner__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 270px;
    padding: 12px 20px;
    background: transparent;
}

.eom-prison-banner__image img {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    max-height: 245px;
    object-fit: contain;
}

.eom-prison-banner > img {
    display: block;
    justify-self: center;
    width: 100%;
    max-width: 280px;
    min-width: 0;
    height: auto;
    max-height: 245px;
    object-fit: contain;
}

.eom-prison-banner .eom-prison-copy {
    min-width: 0;
    padding: 30px 35px 30px 15px;
    background: transparent;
}

/* PC */
@media (min-width: 900px) {
    .eom-hero {
        width: calc(100% - 48px);
        max-width: 1132px;
        margin: 20px auto 0;
        border-radius: 16px;
        overflow: hidden;
        /* background-image: url("/images/main_v2/hero-phone.png"); */
        background-image: url("/images/main_v2/hero-phone-new-seo.webp");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 100% auto;
    }

    .eom-hero-inner {
        max-width: 1180px;
        min-height: 500px;
        margin: 0 auto;
    }

    .eom-hero-visual {
        display: none;
    }

}

/* TABLET */
@media (max-width: 1100px) {
    .eom-header-inner {
        gap: 15px;
    }

    .eom-nav {
        gap: 15px;
    }

    .eom-header-actions {
        gap: 10px;
    }

    .eom-hero-inner {
        padding-left: 36px;
    }

    .eom-hero h1 {
        font-size: 45px;
    }

    .eom-hero-visual img {
        right: 0;
        width: 420px;
    }

}

/* MOBILE */
@media (max-width: 899px) {
    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .eom-container {
        padding: 0 17px;
    }

    .eom-section {
        padding: 43px 0;
    }

    .eom-section-heading {
        margin-bottom: 19px;
    }

    .eom-section-heading h2 {
        font-size: 23px;
    }

    .eom-section-heading p {
        font-size: 13px;
    }

    .eom-section-heading.eom-between {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .eom-products .eom-section-heading.eom-between,
    .eom-notices .eom-section-heading.eom-between {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
    }

    .eom-header-inner {
        position: relative;
        height: 60px;
        justify-content: center;
        padding: 0 17px;
    }

    .eom-logo {
        font-size: 22px;
    }

    .eom-menu-toggle {
        display: flex;
        position: absolute;
        left: 11px;
        top: 7px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        gap: 5px;
        border: 0;
        background: none;
        cursor: pointer;
    }

    .eom-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: var(--eom-navy);
        transition: transform .2s, opacity .2s;
    }

    .eom-menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .eom-menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .eom-menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .eom-header-actions {
        position: absolute;
        right: 17px;
        top: 0;
        height: 60px;
    }

    .eom-header-actions .eom-login-link, .eom-header-actions .eom-signup-link {
        display: none;
    }

    .eom-mobile-login {
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
        font-size: 13px;
        color: #354e78;
        font-weight: 750;
        cursor: pointer;
    }

    .eom-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100dvh - 60px);
        overflow-y: auto;
        background: white;
        box-shadow: 0 15px 28px rgba(18,35,68,.12);
        padding: 19px 22px 27px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 101;
    }

    .eom-nav.is-open {
        display: flex;
    }

    body.eom-menu-open .eom-mobile-cta {
        display: none;
    }

    .eom-nav > a {
        padding: 13px 5px;
        font-size: 15px;
        border-bottom: 1px solid #edf1f6;
    }

    .eom-mobile-menu-account {
        display: flex;
        gap: 10px;
        margin-top: 19px;
    }

    .eom-mobile-menu-account > a,
    .eom-mobile-menu-account > .eom-account-pending {
        flex: 1;
        text-align: center;
        border: 1px solid #d4dfef;
        border-radius: 7px;
        padding: 10px;
        font-size: 13px;
        font-weight: 700;
    }

    .eom-mobile-menu-account > :last-child {
        background: var(--eom-blue);
        color: white;
        border-color: var(--eom-blue);
    }

    .eom-hero {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        background: #fcfdff;
        overflow: hidden;
    }

    .eom-hero-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        padding: 0;
        gap: 0;
    }

    .eom-hero-visual {
        display: block;
        position: relative;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        align-self: auto;
        overflow: hidden;
        height: auto;
        aspect-ratio: 2 / 1;
        background: #eaf3fc;
    }

    .eom-hero-visual::before {
        display: none;
    }

    .eom-hero-visual img {
        position: static;
        display: block;
        right: auto;
        bottom: auto;
        transform: none;
        filter: none;
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: contain;
        object-position: center;
    }

    .eom-hero-content {
        padding-left: 22px;
        padding-right: 22px;
        position: relative;
        z-index: 2;
        grid-row: 2;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 20px 20px 22px;
        background: #fcfdff;
        border-radius: 22px 22px 0 0;
        box-sizing: border-box;
        margin-top: -20px;
        padding-bottom: 22px;
    }

    .eom-eyebrow {
        margin-bottom: 6px;
        font-size: 12px;
    }

    .eom-hero h1 {
        font-size: clamp(30px, 7vw, 36px);
        line-height: 1.2;
        letter-spacing: -.06em;
    }

    .eom-hero-description {
        display: block;
        width: 100%;
        max-width: 100%;
        font-size: 13px;
        line-height: 1.65;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
        margin-top: 14px;
    }

    .eom-pc-only {
        display: none;
    }

    .eom-hero-buttons {
        max-width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin-top: 15px;
    }

    .eom-hero-buttons .eom-btn {
        display: flex;
        box-sizing: border-box;
        min-height: 48px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .eom-hero-features {
        margin-top: 17px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        min-width: 0;
        gap: 7px 12px;
        margin: 12px 0 0;
        padding: 0;
        display: none;
    }

    .eom-hero-features li {
        font-size: 11px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .eom-purpose {
        padding-top: 32px;
    }

    .eom-purpose-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .eom-purpose-card {
        min-height: 175px;
        padding: 14px 6px 13px;
        border-radius: 10px;
    }

    .eom-purpose-emoji {
        font-size: 31px;
        height: 68px;
    }

    .eom-purpose-card h3 {
        font-size: 12px;
        line-height: 1.4;
        margin-top: 8px;
    }

    .eom-purpose-card p {
        font-size: 11px;
        line-height: 1.5;
    }

    .eom-purpose-card > span {
        font-size: 11px;
        padding-top: 10px;
    }

    .eom-benefits {
        padding-top: 20px;
        padding-bottom: 35px;
    }

    .eom-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .eom-benefit {
        padding: 10px;
        border: 1px solid #e8ecf5;
        border-radius: 9px;
    }

    .eom-benefit > span {
        font-size: 27px;
        height: 42px;
    }

    .eom-benefit h3 {
        font-size: 13px;
    }

    .eom-benefit p {
        font-size: 12px;
    }

    .eom-prison-section {
        padding: 5px 0 25px;
    }

    .eom-prison-banner {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        border-radius: 14px;
    }

    .eom-prison-copy {
        padding: 18px 18px 23px;
    }

    .eom-prison-copy h2 {
        margin-bottom: 10px;
        font-size: 21px;
        line-height: 1.4;
    }

    .eom-prison-copy p {
        font-size: 12px;
        line-height: 1.75;
    }

    .eom-prison-copy p br {
        display: none;
    }

    .eom-prison-copy .eom-btn {
        display: flex;
        width: 100%;
        min-height: 46px;
        margin-top: 17px;
        padding: 0 12px;
        font-size: 12px;
    }

    .eom-how-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .eom-how-grid li {
        min-height: 153px;
        padding: 16px 14px 56px;
    }

    .eom-how-grid strong {
        font-size: 13px;
    }

    .eom-how-grid h3 {
        font-size: 14px;
        line-height: 1.4;
    }

    .eom-how-grid p {
        font-size: 12px;
    }

    .eom-how-grid p br {
        display: none;
    }

    .eom-how-grid li > span {
        font-size: 24px;
        right: 10px;
        bottom: 9px;
    }

    .eom-product-grid {
        display: flex;
        gap: 11px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }

    .eom-product-card {
        flex: 0 0 38%;
        scroll-snap-align: start;
    }


.eom-review-grid {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.eom-review-card {
    flex: 0 0 85%;
    min-height: 0;
    padding: 13px;
    min-width: 0;
    scroll-snap-align: start;
}

.eom-review-layout {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
}

.eom-review-image {
    padding: 6px;
}

.eom-review-card .eom-stars {
    margin-top: 9px;
    font-size: 13px;
}

.eom-review-text {
    font-size: 16px;
    line-height: 1.65;
    -webkit-line-clamp: 4;
}

.eom-review-foot {
    padding-top: 7px;
    font-size: 10px;
}


    .eom-guide-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }

    .eom-guide-art {
        font-size: 28px;
    }

    .eom-guide-card h3 {
        font-size: 11px;
        padding: 8px;
    }

    .eom-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 29px 17px;
        min-height: 120px;
    }

    .eom-mobile-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 8px 13px calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid #e5eaf2;
        background: rgba(255,255,255,.98);
        z-index: 110;
    }

    .eom-mobile-cta a {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 47px;
        border-radius: 10px;
        background: var(--eom-blue);
        color: white;
        font-weight: 850;
        font-size: 15px;
    }

    .eom-hero-content > * {
        max-width: 100%;
        min-width: 0;
    }

    .eom-header-actions .eom-login-link,

    .eom-header-actions .eom-signup-link {
        display: none;
    }

    .eom-hero::before {
        content: none;
    }

    .eom-hero-buttons .eom-btn-primary {
        display: none;
    }

    .eom-hero-buttons .eom-btn-outline {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: 0 16px;
        border: 1px solid #b9cbe5;
        border-radius: 10px;
        background: #fff;
        color: #17386d;
        font-size: 14px;
        font-weight: 800;
    }

    .eom-purpose-emoji img {
        width: 64px;
        height: 64px;
    }

    .eom-benefit-icon img {
        width: 56px;
        height: 56px;
    }

    .eom-how-grid li > .eom-how-step-icon {
        right: 9px;
        bottom: 8px;
        width: 46px;
        height: 46px;
    }

    .eom-prison-banner__image {
        min-height: 0;
        padding: 18px 20px 5px;
    }

    .eom-prison-banner__image img {
        width: 100%;
        max-width: 225px;
        height: auto;
        max-height: 165px;
        object-fit: contain;
    }

    .eom-prison-banner > img {
        width: 100%;
        max-width: 225px;
        max-height: 165px;
        margin: 18px auto 5px;
    }

    .eom-prison-banner .eom-prison-copy {
        padding: 12px 20px 23px;
        text-align: left;
    }

}

/* SMALL */
@media (max-width: 380px) {
    .eom-hero-content {
        padding-inline: 17px;
        padding-left: 17px;
        padding-right: 17px;
    }

    .eom-purpose-card h3 {
        font-size: 11px;
    }

    .eom-how-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eom-hero h1 {
        font-size: 30px;
    }

}

/* MOTION */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

}

/* MOBILE V8 SCREENSHOT TUNING — 2026-11-05
   Existing desktop styling, card structure, carousel and fixed CTA unchanged.
   Adjust rhythm and text size based on actual mobile screenshots. */
@media (max-width: 899px) {
    /* Less dead space between major content blocks. */
    .eom-purpose {
        padding-bottom: 30px;
    }

    .eom-benefits {
        padding-top: 15px;
        padding-bottom: 29px;
    }

    .eom-prison-section {
        padding-top: 0;
        padding-bottom: 10px;
    }

    .eom-how {
        padding-top: 28px;
        padding-bottom: 32px;
    }

    .eom-products {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .eom-reviews {
        padding-top: 37px;
        padding-bottom: 45px;
    }

    /* Purpose cards: retain the attractive 3-across design; improve legibility. */
    .eom-purpose-card {
        min-height: 178px;
        padding: 13px 6px 14px;
    }

    .eom-purpose-emoji {
        height: 61px;
    }

    .eom-purpose-emoji img {
        width: 58px;
        height: 58px;
    }

    .eom-purpose-card h3 {
        margin-top: 8px;
        font-size: 12.5px;
        line-height: 1.45;
        letter-spacing: -.045em;
    }

    .eom-purpose-card p {
        font-size: 11.5px;
        line-height: 1.55;
    }

    .eom-purpose-card > span {
        font-size: 11.5px;
        padding-top: 9px;
    }

    /* Featured prison panel: shorten image gap and give body copy room. */
    .eom-prison-banner > img {
        max-height: 155px;
        margin-top: 14px;
        margin-bottom: 0;
    }

    .eom-prison-banner__image {
        padding-top: 14px;
        padding-bottom: 0;
    }

    .eom-prison-banner__image img {
        max-height: 155px;
    }

    .eom-prison-banner .eom-prison-copy {
        padding: 9px 19px 20px;
    }

    .eom-prison-copy h2 {
        margin-bottom: 8px;
        font-size: 20px;
    }

    .eom-prison-copy p {
        font-size: 13px;
        line-height: 1.7;
    }

    .eom-prison-copy .eom-btn {
        font-size: 12.5px;
    }
}

@media (max-width: 380px) {
    .eom-purpose-card h3 {
        font-size: 12px;
    }
}

/* ============================================================
   EASYONMAIL v11 — STATIC UI ONLY (2026-11-05)
   - Compact full-site notice below main header
   - Event promo after purpose cards
   - Mobile app install callout after customer reviews
   No API, event tracking, modal, device detection or click logic.
   Later: replace sample text and presentational <span> with real data/links.
   ============================================================ */

/* (1) Full-site operational notice — slim notification strip (v11) */
.eom-global-notice {
    padding: 0;
    background: #f5f8ff;
    border-bottom: 1px solid #dfe8f8;
}
.eom-global-notice__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.eom-global-notice__tag {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 5px;
    color: #245ca9;
    background: #e3edff;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    line-height: 1.25;
}
.eom-global-notice__copy {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.eom-global-notice__copy strong {
    flex: 0 0 auto;
    color: #173a70;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}
.eom-global-notice__copy span {
    min-width: 0;
    overflow: hidden;
    color: #6b7d9a;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.eom-global-notice__more {
    display: flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    color: #5979a8;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

/* (2) Event promo: place between purpose and benefits */
.eom-event-promo {
    padding: 3px 0 28px;
}
.eom-event-promo__panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 180px;
    padding: 25px 36px;
    overflow: hidden;
    border: 1px solid #e7dff8;
    border-radius: 16px;
    background: linear-gradient(115deg, #f5f1ff 0%, #f8f5ff 56%, #fff3f4 100%);
}
.eom-event-promo__body {
    position: relative;
    z-index: 1;
    min-width: 0;
}
.eom-event-promo__eyebrow {
    display: inline-flex;
    padding: 3px 9px;
    border-radius: 99px;
    color: #7651b0;
    background: #e8ddff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .025em;
}
.eom-event-promo h2,
.eom-event-promo__body h3 {
    margin: 10px 0 4px;
    color: #272f6a;
    font-size: 23px;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: -.04em;
}
.eom-event-promo p {
    margin: 0;
    color: #666b88;
    font-size: 13px;
    line-height: 1.6;
}
.eom-event-promo__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #6d47b2;
    font-size: 13px;
    font-weight: 850;
}
.eom-event-promo__art {
    display: grid;
    flex: 0 0 195px;
    place-items: center;
    height: 144px;
    position: relative;
}
.eom-event-promo__art::before {
    content: '';
    width: 143px;
    height: 143px;
    position: absolute;
    border-radius: 50%;
    background: rgba(216,198,255,.5);
}
.eom-event-promo__art span {
    position: relative;
    z-index: 1;
    font-size: 83px;
    line-height: 1;
    transform: rotate(-8deg);
}

/* (3) Install app promo; only on mobile, not fixed */
.eom-app-install {
    display: none;
}

@media (max-width: 899px) {
    /* V11: mobile full-site notice remains one compact line. */
    .eom-global-notice__bar {
        min-height: 46px;
        gap: 9px;
        padding: 8px 0;
    }
    .eom-global-notice__tag {
        padding: 4px 7px;
        font-size: 11px;
    }
    .eom-global-notice__copy {
        min-width: 0;
    }
    .eom-global-notice__copy strong {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
    }
    .eom-global-notice__copy span {
        display: none;
    }
    .eom-global-notice__more {
        flex-basis: 16px;
        font-size: 22px;
    }

    .eom-event-promo {
        padding: 0 0 24px;
    }
    .eom-event-promo__panel {
        min-height: 0;
        gap: 10px;
        padding: 18px 18px 19px;
        border-radius: 13px;
    }
    .eom-event-promo h2,
    .eom-event-promo__body h3 {
        font-size: 18px;
        margin-top: 9px;
        line-height: 1.4;
    }
    .eom-event-promo p {
        font-size: 12px;
        max-width: 260px;
    }
    .eom-event-promo__more {
        font-size: 12px;
        margin-top: 10px;
    }
    .eom-event-promo__art {
        flex-basis: 100px;
        height: 112px;
    }
    .eom-event-promo__art::before {
        width: 95px;
        height: 95px;
    }
    .eom-event-promo__art span {
        font-size: 60px;
    }
.eom-app-install.is-mobile-browser {
    display: block;
    padding: 4px 0 32px;
}

.eom-app-install__card {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #d9e6f6;
    border-radius: 13px;
    background: #f3f8ff;
}

/* 실제 앱 아이콘 */
.eom-app-install__icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    overflow: hidden;
    border-radius: 11px;
    background: transparent;
    box-shadow: 0 4px 9px rgba(11,77,179,.13);
}

.eom-app-install__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eom-app-install__copy {
    flex: 1;
    min-width: 0;
}

.eom-app-install__copy strong {
    display: block;
    font-size: 13px;
    font-weight: 850;
    color: #143567;
    line-height: 1.4;
}

.eom-app-install__copy p {
    margin: 3px 0 0;
    font-size: 11px;
    line-height: 1.45;
    color: #667a98;
}

.eom-app-install__action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 11px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #a9c6ec;
    color: #0955cd;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}
}

@media (max-width: 380px) {
    .eom-event-promo__panel {
        padding-inline: 14px;
    }
    .eom-event-promo__art {
        flex-basis: 75px;
    }
    .eom-event-promo__art::before {
        width: 75px;
        height: 75px;
    }
    .eom-event-promo__art span {
        font-size: 48px;
    }
    .eom-app-install__card {
        gap: 9px;
        padding: 12px;
    }
    .eom-app-install__icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 23px;
    }
    .eom-app-install__copy strong {
        font-size: 12px;
    }
    .eom-app-install__action {
        padding-inline: 9px;
        font-size: 11px;
    }
}


/* ============================================================
   V12 - 전체공지: 안내 바를 버튼으로, 상세 모달 표시
   기존 v11 메인/이벤트/앱설치 레이아웃은 유지
   ============================================================ */
.eom-global-notice__bar {
    width: 100%;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.eom-global-notice__bar:hover .eom-global-notice__copy strong,
.eom-global-notice__bar:hover .eom-global-notice__more {
    color: var(--eom-blue);
}
.eom-global-notice__bar:focus-visible {
    outline: 2px solid #82b7ff;
    outline-offset: -2px;
    border-radius: 4px;
}
.eom-notice-overlay[hidden] { display: none !important; }
.eom-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
    background: rgba(12, 27, 53, .55);
    overflow-y: auto;
}
body.eom-notice-open { overflow: hidden; }
.eom-notice-dialog {
    width: 100%;
    max-width: 510px;
    min-width: 0;
    max-height: min(80dvh, 680px);
    overflow-y: auto;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 22px 66px rgba(10, 27, 61, .23);
    outline: none;
}
.eom-notice-dialog__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 23px 0;
}
.eom-notice-dialog__label {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    border-radius: 6px;
    background: #e9f1ff;
    color: #1653a8;
    font-size: 12px;
    font-weight: 800;
}
.eom-notice-dialog__close {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #6e7c93;
    cursor: pointer;
    font-size: 27px;
    line-height: 1;
}
.eom-notice-dialog__close:hover { background: #f2f5fa; }
.eom-notice-dialog__content { padding: 9px 23px 21px; }
.eom-notice-dialog__content h2 {
    margin: 7px 0 17px;
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -.035em;
    color: var(--eom-navy);
    line-height: 1.4;
}
.eom-notice-dialog__body {
    color: #4e6080;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.eom-notice-dialog__body p { margin: 0 0 12px; }
.eom-notice-dialog__body p:last-child { margin-bottom: 0; }
.eom-notice-dialog__preview {
    margin: 20px 0 0;
    color: #8492aa;
    font-size: 12px;
}
.eom-notice-dialog__foot {
    padding: 15px 23px 21px;
    border-top: 1px solid #edf1f6;
}
.eom-notice-dialog__confirm {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: none;
    border-radius: 9px;
    background: var(--eom-blue);
    color: white;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}
.eom-notice-dialog__confirm:hover { background: var(--eom-blue-dark); }
.eom-event-promo__panel { text-decoration: none; color: inherit; cursor: pointer; }
.eom-event-promo__panel:hover { box-shadow: 0 8px 25px rgba(76, 47, 134, .10); }
.eom-event-promo__panel:focus-visible { outline: 3px solid #8c6ac8; outline-offset: 3px; }
@media (max-width: 899px) {
    .eom-notice-overlay { padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); }
    .eom-notice-dialog { max-height: min(86dvh, 680px); border-radius: 15px; }
    .eom-notice-dialog__head { padding: 15px 18px 0; }
    .eom-notice-dialog__content { padding: 9px 18px 19px; }
    .eom-notice-dialog__content h2 { font-size: 21px; }
    .eom-notice-dialog__body { font-size: 13px; }
    .eom-notice-dialog__foot { padding: 13px 18px 18px; }
}

/* V13 - 이벤트: 제목/설명 + 대표 이미지 */
.eom-event-promo__body {
    flex: 1 1 0;
    min-width: 0;
}

.eom-event-promo p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

/* PC 이벤트 이미지 */
.eom-event-promo__art {
    flex: 0 0 180px;
    width: 180px;
    height: 180px;
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #eee7ff;
}

.eom-event-promo__art::before {
    content: none;
}

.eom-event-promo__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 모바일 */
@media (max-width: 899px) {
    .eom-event-promo__panel {
        gap: 12px;
    }

    .eom-event-promo__art {
        flex: 0 0 110px;
        width: 110px;
        height: 110px;
        border-radius: 12px;
    }
}

/* 작은 모바일 */
@media (max-width: 380px) {
    .eom-event-promo__art {
        flex: 0 0 88px;
        width: 88px;
        height: 88px;
        border-radius: 10px;
    }
}

/* v14 - Event detail line: always one line, from mobile to desktop. */
.eom-event-promo__body p {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: unset;
}



/* ==========================================
   실시간 우체국 접수 CTA
   ========================================== */

.eom-dispatch-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-top: 13px;
    line-height: 1.5;
    word-break: keep-all;
}

.eom-dispatch-note::before {
    content: none;
    display: none;
}

/* 핵심 문구 */
.eom-dispatch-note__message {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    min-width: 0;
}

.eom-dispatch-note__message::before {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #21a675;
}

.eom-dispatch-note__message strong {
    color: #178257;
    font-size: 14px;
    font-weight: 850;
}

/* 마감 조건 + 남은 시간 */
.eom-dispatch-note__detail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 9px;
    padding-left: 14px;
}

.eom-dispatch-note__detail span {
    color: #72819a;
    font-size: 11px;
}

.eom-dispatch-countdown {
    color: #ed2458;
    font-size: 15px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.eom-dispatch-countdown[hidden] {
    display: none;
}

/* 마감 30분 전 */
.eom-dispatch-note.is-urgent
.eom-dispatch-note__message strong {
    color: #ed2458;
}

.eom-dispatch-note.is-urgent
.eom-dispatch-note__message::before {
    background: #ed2458;
}

/* 오늘 접수 불가능 */
.eom-dispatch-note.is-next
.eom-dispatch-note__message strong {
    color: #1161eb;
}

.eom-dispatch-note.is-next
.eom-dispatch-note__message::before {
    background: #1161eb;
}

/* PC */
.eom-dispatch-note--mobile {
    display: none;
}

/* 모바일 */
@media (max-width: 899px) {
    body {
        padding-bottom: calc(
            126px + env(safe-area-inset-bottom)
        );
    }

    .eom-dispatch-note--hero {
        display: none;
    }

    .eom-mobile-cta .eom-dispatch-note--mobile {
        display: flex;
        align-items: center;
        width: 100%;
        margin: 0 0 9px;
    }

    .eom-dispatch-note--mobile
    .eom-dispatch-note__message {
        justify-content: center;
    }

    .eom-dispatch-note--mobile
    .eom-dispatch-note__message strong {
        font-size: 13px;
    }

    .eom-dispatch-note--mobile
    .eom-dispatch-note__detail {
        justify-content: center;
        padding-left: 0;
    }

    .eom-dispatch-note--mobile
    .eom-dispatch-countdown {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .eom-dispatch-note--mobile
    .eom-dispatch-note__message strong {
        font-size: 12px;
    }

    .eom-dispatch-note--mobile
    .eom-dispatch-note__detail span {
        font-size: 10px;
    }

    .eom-dispatch-note--mobile
    .eom-dispatch-countdown {
        font-size: 13px;
    }
}


/* 모바일 하단 편지쓰기 CTA 간격 최적화 */
@media (max-width: 899px) {

    .eom-mobile-cta {
        padding: 5px 13px calc(6px + env(safe-area-inset-bottom));
    }

    .eom-mobile-cta .eom-dispatch-note--mobile {
        gap: 1px;
        margin-bottom: 6px;
    }

    .eom-mobile-cta .eom-dispatch-note__detail {
        gap: 5px 7px;
        line-height: 1.3;
    }

    .eom-mobile-cta a {
        min-height: 45px;
    }

    body {
        padding-bottom: calc(114px + env(safe-area-inset-bottom));
    }
}


/* 후기 카드 클릭 영역 */
.eom-review-open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.eom-review-card {
    transition: border-color .2s, box-shadow .2s;
}

.eom-review-card:hover {
    border-color: #b8cfee;
    box-shadow: 0 7px 22px rgba(30, 65, 105, .08);
}

.eom-review-more {
    display: block;
    margin-top: 9px;
    color: #1161eb;
    font-size: 12px;
    font-weight: 800;
    text-align: right;
}

.eom-review-foot span + span {
    margin-top: 3px;
}

/* 후기 상세 팝업 */
.eom-review-overlay[hidden],
.eom-review-dialog__foot[hidden],
#eomReviewData[hidden],
#eomReviewState[hidden],
#eomReviewComment[hidden],
.eom-review-modal__image img[hidden] {
    display: none !important;
}

.eom-review-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(12, 27, 53, .58);
}

body.eom-review-modal-open {
    overflow: hidden;
}

.eom-review-dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 740px;
    max-height: calc(100dvh - 44px);
    overflow: hidden;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(12, 27, 53, .2);
}

.eom-review-dialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    padding: 16px 22px;
    border-bottom: 1px solid #e9edf4;
}

.eom-review-dialog__head h2 {
    margin: 0;
    color: #102b68;
    font-size: 19px;
    font-weight: 850;
}

.eom-review-dialog__close {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #63738c;
    font-size: 28px;
    cursor: pointer;
}

.eom-review-dialog__close:hover {
    background: #f1f5fa;
}

.eom-review-dialog__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 24px;
}

#eomReviewState {
    margin: 30px 0;
    color: #73829a;
    text-align: center;
    font-size: 14px;
}

.eom-review-modal__top {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}

.eom-review-modal__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 205px;
    padding: 12px;
    overflow: hidden;
    border-radius: 12px;
    background: #f4f7fb;
}

.eom-review-modal__image img {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
}

.eom-review-modal__info {
    min-width: 0;
}

.eom-review-modal__info h3 {
    margin: 0 0 9px;
    color: #102b68;
    font-size: 21px;
    font-weight: 850;
}

.eom-review-modal__stars {
    margin-bottom: 15px;
    color: #ffaf1a;
    font-size: 19px;
    letter-spacing: 1px;
}

.eom-review-modal__info p {
    margin: 5px 0;
    color: #687a94;
    font-size: 13px;
    line-height: 1.6;
}

.eom-review-modal__content {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #e8edf5;
}

.eom-review-modal__content h3 {
    margin: 0 0 13px;
    color: #1161eb;
    font-size: 16px;
    font-weight: 800;
}

.eom-review-modal__content p {
    margin: 0;
    color: #34435c;
    font-size: 19px;
    line-height: 1.85;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.eom-review-dialog__foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex: 0 0 auto;
    padding: 16px 24px;
    border-top: 1px solid #e9edf4;
    background: #fff;
}

.eom-review-dialog__foot a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 10px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.eom-review-dialog__paper-btn {
    border: 1px solid #c6d5e9;
    background: #fff;
    color: #17386d;
}

.eom-review-dialog__write-btn {
    background: #1161eb;
    color: #fff;
}

.eom-review-dialog__write-btn:hover {
    background: #074bc9;
}

/* 모바일 */
@media (max-width: 899px) {
    .eom-review-more {
        margin-top: 6px;
        font-size: 11px;
    }
}

@media (max-width: 680px) {
    .eom-review-overlay {
        padding: 0;
    }

    .eom-review-dialog {
        max-width: none;
        max-height: 100dvh;
        height: 100dvh;
        border-radius: 0;
    }

    .eom-review-dialog__head {
        padding: 13px 17px;
    }

    .eom-review-dialog__head h2 {
        font-size: 17px;
    }

    .eom-review-dialog__body {
        padding: 20px 17px;
    }

    .eom-review-modal__top {
        grid-template-columns: 115px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
    }

    .eom-review-modal__image {
        min-height: 135px;
        padding: 7px;
    }

    .eom-review-modal__image img {
        max-height: 175px;
    }

    .eom-review-modal__info h3 {
        font-size: 16px;
    }

    .eom-review-modal__stars {
        margin-bottom: 10px;
        font-size: 15px;
    }

    .eom-review-modal__info p {
        font-size: 11px;
    }

    .eom-review-modal__content {
        margin-top: 20px;
        padding-top: 20px;
    }

    .eom-review-modal__content p {
        font-size: 17px;
        line-height: 1.8;
    }

    .eom-review-dialog__foot {
        gap: 9px;
        padding: 12px 15px calc(12px + env(safe-area-inset-bottom));
    }

    .eom-review-dialog__foot a {
        min-height: 46px;
        font-size: 12px;
    }
}


/* 후기 팝업 - 공지 팝업과 디자인 통일 */
.eom-review-overlay {
    padding: 20px;
}

.eom-review-dialog {
    width: 100%;
    max-width: 740px;
    height: auto;
    max-height: calc(100dvh - 40px);
    border-radius: 17px;
    outline: none;
}

.eom-review-dialog__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.eom-review-dialog__foot {
    flex: 0 0 auto;
}

/* 모바일 */
@media (max-width: 680px) {
    .eom-review-overlay {
        padding: 16px;
    }

    .eom-review-dialog {
        width: 100%;
        max-width: 510px;
        height: auto;
        max-height: calc(100dvh - 32px);
        border-radius: 15px;
    }

    .eom-review-dialog__body {
        padding: 20px 17px;
    }
}

.eom-review-authentic {
    margin-top: 26px;
    padding-top: 14px;
    border-top: 1px solid #edf1f6;
    color: #718198;
    font-size: 12px;
    line-height: 1.6;
}

.eom-review-authentic span {
    margin-right: 5px;
    color: #1b9a70;
    font-weight: 800;
}


/* 편지지 BEST / NEW 배지 */
.eom-product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    padding: 4px 7px;
    border-radius: 5px;
    color: #fff;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: .01em;
}

/* 최고인기 */
.eom-product-badge.is-best {
    background: #ef5672;
}

/* 신상품 */
.eom-product-badge.is-new {
    background: #65b947;
}

@media (max-width: 899px) {
    .eom-product-badge {
        top: 6px;
        right: 6px;
        padding: 3px 6px;
        font-size: 9px;
    }
}


/* ==========================================
   홈페이지 개편 공지 콘텐츠
   ========================================== */

/* 공지 내부 각 항목 */
.eom-notice-update-section {
    margin-top: 26px;
}

.eom-notice-update-section h3 {
    margin: 0 0 10px;
    color: #102b68;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.5;
    letter-spacing: -.025em;
}

.eom-notice-update-section p {
    margin: 0 0 10px;
}

.eom-notice-dialog__body strong {
    color: #253e6b;
    font-weight: 800;
}


/* 전체공지 - 실제 안내 이미지 */
.eom-notice-image-slot--filled {
    display: block;
    min-height: 0;
    padding: 0;
    border: 1px solid #e4eaf3;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.eom-notice-image-slot--filled img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: contain;
}


.eom-notice-image-slot span {
    color: #60799e;
    font-size: 13px;
    font-weight: 750;
}

.eom-notice-image-slot small {
    color: #9ba9bc;
    font-size: 11px;
}

/* 이미지 추가 후 적용 */
.eom-notice-image-slot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 편지가이드 바로가기 */
.eom-notice-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 16px;
    color: #1161eb;
    font-size: 13px;
    font-weight: 850;
}

.eom-notice-guide-link:hover {
    text-decoration: underline;
}

/* 마무리 */
.eom-notice-update-ending {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e8edf5;
}

.eom-notice-update-ending p:last-child {
    margin-bottom: 0;
}

/* 모바일 */
@media (max-width: 899px) {
    .eom-notice-update-section {
        margin-top: 23px;
    }

    .eom-notice-update-section h3 {
        font-size: 15px;
    }

    .eom-notice-image-slot {
        min-height: 125px;
        margin: 13px 0 17px;
    }

    .eom-notice-update-ending {
        margin-top: 24px;
    }
}

/* 서비스 강점 - SINCE 2018 */
.eom-benefits-intro {
    max-width: 680px;
    margin: 0 auto 30px;
    text-align: center;
}

.eom-benefits-since {
    display: block;
    color: var(--eom-blue);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: .035em;
    line-height: 1.3;
}

.eom-benefits-tagline {
    margin: 6px 0 10px;
    color: var(--eom-navy);
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.4;
}

.eom-benefits-comment {
    margin: 0;
    color: var(--eom-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* 모바일 */
@media (max-width: 899px) {
    .eom-benefits .eom-section-heading {
        margin-bottom: 16px;
    }

    .eom-benefits-intro {
        margin-bottom: 23px;
        padding: 0 4px;
    }

    .eom-benefits-since {
        font-size: 21px;
    }

    .eom-benefits-tagline {
        font-size: 18px;
        margin: 5px 0 9px;
    }

    .eom-benefits-comment {
        font-size: 12px;
        line-height: 1.65;
    }

    .eom-benefit h3 {
        line-height: 1.4;
        min-height: 2.8em;
    }

    .eom-benefit p {
        line-height: 1.5;
    }
}


/* 전체공지 팝업 - PC */
@media (min-width: 900px) {
    .eom-notice-dialog {
        max-width: 680px;
        max-height: 85dvh;
    }

    .eom-notice-dialog__head {
        padding: 24px 30px 0;
    }

    .eom-notice-dialog__content {
        padding: 12px 30px 28px;
    }

    .eom-notice-dialog__content h2 {
        font-size: 26px;
    }

    .eom-notice-dialog__body {
        font-size: 15px;
        line-height: 1.85;
    }

    .eom-notice-dialog__foot {
        padding: 18px 30px 24px;
    }
}


/* 일반공지 HTML 본문 */
.eom-board-notice__body {
    white-space: normal;
}

.eom-board-notice__body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px auto;
}

.eom-board-notice__body h4 {
    margin: 20px 0 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}


/* 모바일 전체 메뉴 */
.eom-mobile-nav-panel {
    display: none;
}

@media (max-width: 899px) {

    /* 기존 PC 링크는 모바일 메뉴에서 숨김 */
    .eom-nav > a {
        display: none;
    }

    .eom-nav {
        padding: 0;
    }

    .eom-mobile-nav-panel {
        display: block;
        width: 100%;
        padding: 20px 20px 32px;
    }

    .eom-mobile-menu-title {
        margin: 0 0 18px;
        font-size: 20px;
        font-weight: 850;
        color: #102b68;
    }

    /* 회원 안내 */
    .eom-mobile-menu-welcome {
        padding: 20px 17px;
        border-radius: 12px;
        background: #f3f8ff;
    }

    .eom-mobile-menu-welcome strong {
        display: block;
        font-size: 15px;
        color: #17386d;
    }

    .eom-mobile-menu-welcome p {
        margin: 5px 0 16px;
        font-size: 12px;
        color: #60718f;
    }

    .eom-mobile-menu-buttons {
        display: flex;
        gap: 9px;
    }

    .eom-mobile-menu-buttons > * {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        border: 1px solid #cdddf2;
        border-radius: 8px;
        background: #fff;
        color: #17386d;
        font-size: 13px;
        font-weight: 750;
    }

    .eom-mobile-menu-buttons > :last-child {
        background: #1161eb;
        border-color: #1161eb;
        color: #fff;
    }

    /* 메뉴 그룹 */
.eom-mobile-menu-group {
    margin-top: 20px; /* 기존 24px */
}

.eom-mobile-menu-group h3 {
    margin: 0 0 5px; /* 기존 7px */
    color: #1161eb;
    font-size: 12px;
    font-weight: 850;
}

.eom-mobile-menu-group > a,
.eom-mobile-menu-pending {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 10px 3px;
    border-bottom: 1px solid #edf1f6;
    color: #253a60;
    font-size: 14px;
    font-weight: 650;
}

    .eom-mobile-menu-group > a:active {
        color: #1161eb;
    }

    .eom-mobile-menu-pending,
    .eom-mobile-menu-buttons .is-pending {
        cursor: default;
    }

.eom-mobile-menu-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.eom-mobile-menu-icon {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #60718f;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eom-mobile-menu-group:first-of-type .eom-mobile-menu-icon {
    stroke: #1161eb;
}

.eom-mobile-menu-label {
    flex: 1;
    min-width: 0;
}

.eom-mobile-menu-group > a > .eom-mobile-menu-arrow {
    color: #94a3b8;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}
.eom-nav.is-open {
    min-height: calc(100dvh - 60px);
}

}

/* PC 편지지 목록 */
@media (min-width: 900px) {
    .eom-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .eom-product-img {
        aspect-ratio: 4 / 3;
    }
}


/* 메인 편지가이드 V2 — 기존 카드 영역만 이미지 오버레이형으로 교체 */
.eom-guide .eom-guide-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.eom-guide .eom-guide-card {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-width: 0;
    aspect-ratio: 455 / 325;
    padding: 17px;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #e8eef7;
    color: #fff;
    text-decoration: none;
}

.eom-guide .eom-guide-card--fixed {
    grid-column: span 2;
    aspect-ratio: 16 / 7;
}

.eom-guide .eom-guide-card__image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}


.eom-guide .eom-guide-card::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(9, 25, 52, .02) 10%,
        rgba(9, 25, 52, .18) 46%,
        rgba(9, 25, 52, .78) 100%
    );
    pointer-events: none;
}


.eom-guide .eom-guide-card__body { display: block; width: 100%; min-width: 0; }
.eom-guide .eom-guide-card__body small {
    display: block;
    color: #d8e8ff;
    font-size: 10px;
    font-weight: 750;
    margin-bottom: 4px;
}
.eom-guide .eom-guide-card__title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #fff;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.eom-guide .eom-guide-card--fixed .eom-guide-card__title { font-size: 20px; }
.eom-guide .eom-guide-card__more {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 750;
}
.eom-guide .eom-guide-card:hover .eom-guide-card__image { transform: scale(1.035); }
.eom-guide .eom-guide-card:focus-visible { outline: 3px solid #82b7ff; outline-offset: 3px; }


@media (max-width: 899px) {

    /* 모바일 랜덤 가이드: 2열 */
    .eom-guide .eom-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .eom-guide .eom-guide-card {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
        padding: 11px;
        border-radius: 10px;
    }

    /* 고정 가이드 2개: 각각 전체 너비 */
    .eom-guide .eom-guide-card--fixed {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 8;
        min-height: 175px;
        padding: 18px;
    }

    /* 일반 카드 제목 */
    .eom-guide .eom-guide-card__title {
        font-size: 12px;
        line-height: 1.35;
    }

    /* 고정 카드 제목 강조 */
    .eom-guide .eom-guide-card--fixed .eom-guide-card__title {
        font-size: 18px;
        line-height: 1.35;
        -webkit-line-clamp: 2;
    }

    .eom-guide .eom-guide-card__body small {
        font-size: 9px;
    }

    .eom-guide .eom-guide-card__more {
        margin-top: 5px;
        font-size: 10px;
    }

    .eom-guide .eom-section-heading.eom-between {
        flex-direction: row;
        align-items: flex-start;
    }

    .eom-guide .eom-section-more {
        max-width: 116px;
        text-align: right;
        font-size: 11px;
    }
}

@media (max-width: 380px) {

    .eom-guide .eom-guide-card {
        aspect-ratio: 4 / 3;
        padding: 9px;
    }

    .eom-guide .eom-guide-card--fixed {
        aspect-ratio: 16 / 8;
        min-height: 165px;
        padding: 16px;
    }

    .eom-guide .eom-guide-card__more {
        font-size: 9px;
    }
}


@media (prefers-reduced-motion: reduce) {
    .eom-guide .eom-guide-card__image { transition: none; }
}


/* 메인 편지가이드 - 작은 모바일 제목 영역 */
@media (max-width: 480px) {
    .eom-guide .eom-section-heading.eom-between {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .eom-guide .eom-section-more {
        align-self: flex-end;
        max-width: none;
        white-space: nowrap;
        font-size: 11px;
        text-align: right;
    }
}


/* 교도소·구치소 특별 배너 - 가이드 썸네일 */
.eom-prison-banner__image img.eom-prison-banner__thumb {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    max-height: none;
    aspect-ratio: 455 / 325;
    object-fit: cover;
    border-radius: 12px;
}

/* 모바일 */
@media (max-width: 899px) {
    .eom-prison-banner__image img.eom-prison-banner__thumb {
        max-width: 280px;
        max-height: none;
        border-radius: 11px;
    }
}


/* 교도소·구치소 특별 배너 - 모바일 썸네일 최적화 */
@media (max-width: 899px) {

    /* 이미지 영역을 배너 너비에 맞춤 */
    .eom-prison-banner__image {
        min-height: 0;
        padding: 16px 18px 0;
    }

    /* 썸네일을 가로형 16:9로 표시 */
    .eom-prison-banner__image img.eom-prison-banner__thumb {
        display: block;
        width: 100%;
        max-width: none;
        height: auto;
        max-height: none;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
        border-radius: 11px;
    }

    /* 이미지와 제목 사이 간격 */
    .eom-prison-banner .eom-prison-copy {
        padding: 14px 19px 20px;
    }
}


/* 교도소·구치소 배너 - 모바일 그라데이션 */
@media (max-width: 899px) {

    .eom-prison-banner {
        display: block;
        padding: 0;
        overflow: hidden;
    }

    /* 상단 사진 */
    .eom-prison-banner__image {
        position: relative;
        display: block;
        width: 100%;
        height: clamp(175px, 51vw, 220px);
        min-height: 0;
        padding: 0;
        overflow: hidden;
    }

    .eom-prison-banner__image img.eom-prison-banner__thumb {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center 42%;
        border-radius: 0;
    }

    /* 사진에서 배경색으로 자연스럽게 전환 */
    .eom-prison-banner__image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to bottom,
            rgba(238, 246, 255, 0) 24%,
            rgba(238, 246, 255, .20) 45%,
            rgba(238, 246, 255, .80) 76%,
            #eef6ff 100%
        );
        pointer-events: none;
    }

    /* 제목 및 설명 영역 */
    .eom-prison-banner .eom-prison-copy {
        position: relative;
        z-index: 1;
        display: block;
        margin-top: -49px;
        padding: 0 19px 20px;
        background: transparent;
        text-align: left;
    }

    .eom-prison-banner .eom-prison-copy h2 {
        position: relative;
        margin: 0 0 11px;
        padding: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        color: #102b68;
        font-size: clamp(20px, 5.2vw, 23px);
        line-height: 1.38;
        letter-spacing: -.045em;
    }

    .eom-prison-banner .eom-prison-copy p {
        margin: 0;
        color: #526581;
        font-size: 13px;
        line-height: 1.7;
    }

    /* 기존 버튼 유지 */
    .eom-prison-banner .eom-prison-copy .eom-btn {
        display: flex;
        width: 100%;
        min-height: 46px;
        margin-top: 17px;
        padding: 10px 12px;
        text-align: center;
    }
}


@media (max-width: 360px) {
    .eom-prison-banner {
        padding: 14px;
        gap: 12px 0;
    }

    .eom-prison-copy h2 {
        font-size: 17px;
    }
}


/* 전체공지 - 상단 공지바에서 펼쳐지는 효과 */
.eom-notice-dialog.eom-notice-animate {
    animation: eomNoticeOpen .35s cubic-bezier(.22, 1, .36, 1) both;
    transform-origin: center center;
}

@keyframes eomNoticeOpen {
    0% {
        opacity: 0;
        transform:
            translate(
                var(--eom-notice-from-x, 0px),
                var(--eom-notice-from-y, 0px)
            )
            scale(.45, .18);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .eom-notice-dialog.eom-notice-animate {
        animation: none;
    }
}

/* 온보딩 안내 이미지 배경 통일 */
.eom-onboarding-stage {
    background: #f5f7fb;
    isolation: isolate;
}

.eom-onboarding-slide img {
    mix-blend-mode: multiply;
}

/* 이용방법 제목과 전체보기 */
.eom-how-heading__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

/* 화면 안내 버튼은 모바일에서만 표시 */
.eom-how-tour {
    display: none;
}

@media (max-width: 899px) {
    .eom-how-tour {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 18px;
        padding: 17px;
        border: 1px solid #dce8f8;
        border-radius: 12px;
        background: #f6f9ff;
    }

    .eom-how-tour__text strong {
        display: block;
        color: #102b68;
        font-size: 14px;
        font-weight: 850;
    }

    .eom-how-tour__text p {
        margin: 5px 0 0;
        color: #60718f;
        font-size: 12px;
        line-height: 1.6;
    }

    .eom-how-tour__button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        min-height: 44px;
        padding: 10px;
        border: 1px solid #b9cbe5;
        border-radius: 9px;
        background: #fff;
        color: #1161eb;
        font: inherit;
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
    }

    .eom-how-tour__button:hover {
        background: #edf5ff;
    }
}

/* 2026-11-23 | 메인 이벤트/안내 슬라이드: 히어로 하단 PC 겹침 + 모바일 컴팩트 */
.eom-event-promo {
    position: relative;
    z-index: 3;
    margin-top: -28px;
    padding: 0 0 14px;
}
.eom-event-promo__carousel { position: relative; }
.eom-event-promo__slide[hidden] { display: none !important; }
.eom-event-promo__panel {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    height: 300px;
    min-height: 0;
    padding: 23px 28px 23px 34px;
    box-shadow: 0 12px 32px rgba(36, 46, 89, .10);
}
.eom-event-promo__body {
    display: block;
    flex: 0 0 42%;
    max-width: 42%;
}
.eom-event-promo__body h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.eom-event-promo__body p {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eom-event-promo__art {
    display: grid;
    flex: 1 1 auto;
    width: auto;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 11px;
    background: rgba(255, 255, 255, .53);
}
.eom-event-promo__art picture { display: block; width: 100%; height: 100%; }
.eom-event-promo__art img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 기존 이미지의 글씨와 버튼을 자르지 않음 */
}
.eom-event-promo__mobile-kind { display: none; }
.eom-event-promo__controls {
    position: absolute;
    z-index: 2;
    right: 15px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(18, 30, 57, .75);
    color: #fff;
}
.eom-event-promo__controls button {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: 23px;
    line-height: 1;
}
.eom-event-promo__controls button:hover { background: rgba(255, 255, 255, .20); }
.eom-event-promo__counter {
    min-width: 40px;
    text-align: center;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}
.eom-event-promo + .eom-purpose { padding-top: 24px; }

@media (max-width: 899px) {
    .eom-event-promo {
        margin-top: 0;
        padding: 12px 0 4px;
    }
    .eom-event-promo .eom-container { border-bottom: 0; }
    .eom-event-promo__panel {
        display: block;
        position: relative;
        height: clamp(182px, 52vw, 235px);
        min-height: 0;
        padding: 0;
        border-radius: 13px;
    }
    /* 모바일은 원본 배너 이미지가 핵심: 하단 텍스트 영역을 추가하지 않음 */
/* 모바일 이벤트 제목·설명 이미지 위에 배치 */
.eom-event-promo__body {
    display: block;
    position: absolute;
    z-index: 2;
    top: 17px;
    left: 18px;
    width: 54%;
    max-width: 250px;
    padding: 0;
}

/* 이벤트 제목 */
.eom-event-promo__body h3 {
    font-size: 18px;
    line-height: 1.35;
    margin: 9px 0 6px;
}

/* 이벤트 설명 */
.eom-event-promo__body p {
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 중복 NOTICE / EVENT 배지 숨김 */
.eom-event-promo__mobile-kind {
    display: none;
}
    .eom-event-promo__art {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        background: #f1ebfb;
    }
    .eom-event-promo__mobile-kind {
        position: absolute;
        z-index: 1;
        top: 10px;
        left: 10px;
        display: inline-flex;
        padding: 4px 9px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .93);
        color: #7651b0;
        font-size: 10px;
        font-weight: 850;
        letter-spacing: .02em;
    }
    .eom-event-promo__controls { right: 9px; bottom: 9px; }
    .eom-event-promo__controls button { width: 29px; height: 29px; }
    .eom-event-promo + .eom-purpose { padding-top: 16px; }
}

/* 중복 이벤트/공지 배지 제거 */
.eom-event-promo__mobile-kind {
    display: none !important;
}

@media (max-width: 899px) {

    /* 왼쪽 문구 영역을 제한하여 이미지와 충돌 방지 */
    .eom-event-promo__body {
        display: block;
        position: absolute;
        z-index: 2;
        top: 17px;
        left: 18px;
        width: 46%;
        max-width: 210px;
        padding: 0;
    }

    .eom-event-promo__body h3 {
        font-size: 18px;
        line-height: 1.35;
        margin: 9px 0 6px;
    }

    /* 설명은 최대 2줄 */
    .eom-event-promo__body p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.5;
    }

    /* 슬라이드 버튼 왼쪽 아래 */
    .eom-event-promo__controls {
        left: 12px;
        right: auto;
        bottom: 11px;
    }
}

/* 모바일 이벤트 배너 가독성 및 이미지 정렬 */
@media (max-width: 899px) {

    /* 왼쪽 텍스트 가독성을 위한 흰색 그라데이션 */
    .eom-event-promo__panel::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(
            90deg,
            rgba(255,255,255,.82) 0%,
            rgba(255,255,255,.65) 32%,
            rgba(255,255,255,.13) 64%,
            rgba(255,255,255,0) 82%
        );
    }

    /* 제목과 설명은 그라데이션 위로 */
    .eom-event-promo__body {
        z-index: 2;
    }

    /* 이미지를 카드 영역에 맞춰 중앙 정렬 */
    .eom-event-promo__art img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

@media (max-width: 899px) {

    .eom-event-promo__art picture {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .eom-event-promo__art picture > img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center 40%;
    }

}





/* 이벤트 배너 PC 전용 - 텍스트 | 4:3 이미지 */
@media (min-width: 900px) {

    /* 히어로와 겹치지 않도록 */
    .eom-event-promo {
        margin-top: 0;
        padding: 24px 0 16px;
    }

    .eom-event-promo__panel {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
        align-items: center;
        gap: 30px;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 24px 24px 24px 36px;
        overflow: hidden;
        border-radius: 18px;
        background: linear-gradient(110deg, #f5f1ff, #fff4f6);
    }

    /* 왼쪽 텍스트 영역 */
    .eom-event-promo__body {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: none;
        min-width: 0;
        padding-bottom: 50px;
    }

    .eom-event-promo__body h3 {
        font-size: 27px;
        line-height: 1.4;
    }

    .eom-event-promo__body p {
        font-size: 15px;
        line-height: 1.65;
        white-space: normal;
    }

    /* 오른쪽 이미지 영역 - 4:3 */
    .eom-event-promo__art {
        position: relative;
        display: block;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        min-width: 0;
        margin: 0;
        overflow: hidden;
        border-radius: 12px;
        background: #f1ebfb;
    }

    .eom-event-promo__art picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    .eom-event-promo__art picture > img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: contain;
        object-position: center;
    }

    /* 이전 PC 이미지 그라데이션 제거 */
    .eom-event-promo__art::after {
        content: none;
    }

    /* 슬라이드 컨트롤은 왼쪽 하단 */
    .eom-event-promo__controls {
        position: absolute;
        z-index: 4;
        left: 36px;
        right: auto;
        bottom: 26px;
    }
}
