/* ============================================================
   Advance Editing — rebuilt page (advance-editing1.htm) only.
   Every rule is scoped to body.advance-editing-new so nothing
   leaks into the live site. Never edit old CSS files; override
   them here instead (this file is linked last).
   ============================================================ */

/* Shared 1080px content container (Figma frame 1520 with 220px side padding) */
.advance-editing-new .aen-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ------------------------------------------------------------
   Breadcrumb below header (Figma: Section > Nav - breadcrumb)
   ------------------------------------------------------------ */
.advance-editing-new .aen-breadcrumb {
    background: #EEEEEE;
    padding: 6.4px 0;
}

.advance-editing-new .aen-breadcrumb-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
}

.advance-editing-new .aen-breadcrumb-list li {
    display: flex;
    align-items: center;
}

.advance-editing-new .aen-breadcrumb-list a {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #0000FF;
    text-decoration: none;
}

.advance-editing-new .aen-breadcrumb-list a:hover {
    color: #0000FF;
    text-decoration: underline;
}

.advance-editing-new .aen-breadcrumb-sep {
    font-family: 'Poppins', 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: rgba(33, 37, 41, 0.75);
    padding: 0 8px;
}

.advance-editing-new .aen-breadcrumb-current {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: rgba(33, 37, 41, 0.75);
}

/* ------------------------------------------------------------
   Service tabs below breadcrumb (Figma: Section > Container > List)
   ------------------------------------------------------------ */
.advance-editing-new .aen-servicenav {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03)), #FFFFFF;
    border-top: 1px solid #EEEEEE;
    border-bottom: 1px solid #EEEEEE;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.17);
    /* stays pinned while scrolling; `top` is synced to the fixed navbar's
       height by the small script in advance-editing1.htm */
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 9990;
    /* under the fixed header (99999), above page content */
}

.advance-editing-new .aen-servicenav-list {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 60px;
}

.advance-editing-new .aen-servicenav-list li {
    flex: 1 1 0;
    display: flex;
    position: relative;
    border-left: 1px solid #EEEEEE;
}

.advance-editing-new .aen-servicenav-list li:first-child {
    border-left: 0;
}

.advance-editing-new .aen-servicenav-list a {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 5px;
    text-decoration: none;
}

.advance-editing-new .aen-servicenav-list img {
    width: 32px;
    height: 32px;
    display: block;
    flex: none;
}

.advance-editing-new .aen-servicenav-list span {
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
    white-space: nowrap;
}

/* active tab: white surface, bold label, 4px red underline (Crimson/500) */
.advance-editing-new .aen-servicenav-list li.is-active {
    background: #FFFFFF;
}

.advance-editing-new .aen-servicenav-list li.is-active span {
    font-weight: 600;
}

.advance-editing-new .aen-servicenav-list li.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #DB2F28;
}

/* mobile: the service tab bar is hidden entirely — the page starts
   right after the breadcrumb */
@media screen and (max-width: 991px) {
    .advance-editing-new .aen-servicenav {
        display: none;
    }
}

/* ------------------------------------------------------------
   Hero banner (Figma: bannner opt 3) — beige #F4ECE6, dark text #283342,
   artwork in mainbanner.png
   ------------------------------------------------------------ */
.advance-editing-new .aen-hero {
    background: url('../images/premium-editing/mainbanner.png') no-repeat right center / cover, #F4ECE6;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.advance-editing-new .aen-hero-inner {
    width: 100%;
}

.advance-editing-new .aen-hero-content {
    max-width: 446px;
    padding: 48px 0;
}

/* red ribbon badge — full artwork (shape + text) in discountlabel.svg */
.advance-editing-new .aen-hero-ribbon {
    display: block;
    width: 169px;
    height: 31px;
}

.advance-editing-new .aen-hero-title {
    margin: 8px 0 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 42px;
    line-height: 63px;
    color: #283342;
}

.advance-editing-new .aen-hero-sub {
    margin: 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #283342;
}

.advance-editing-new .aen-hero-desc {
    max-width: 391px;
    margin: 20px 0 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 33px;
    color: #283342;
}

.advance-editing-new .aen-hero-cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    margin-top: 30px;
}

.advance-editing-new .aen-hero-btn {
    height: 59px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 3px 20px;
    background: #FFDA00;
    box-shadow: 0px 6px 0px #E9C700;
    border-radius: 6px;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: #242D3C;
    text-decoration: none;
    white-space: nowrap;
}

.advance-editing-new .aen-hero-btn:hover,
.advance-editing-new .aen-hero-btn:focus {
    color: #242D3C;
    text-decoration: none;
    transform: translateY(2px);
    box-shadow: 0px 4px 0px #E9C700;
}

.advance-editing-new .aen-hero-sample {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #283342;
    text-decoration: underline;
}

.advance-editing-new .aen-hero-sample:hover,
.advance-editing-new .aen-hero-sample:focus {
    color: #283342;
    text-decoration: underline;
}

.advance-editing-new .aen-hero-sample img {
    display: block;
    flex: none;
}

/* ------------------------------------------------------------
   Enago Advantages (Figma: Enago Advantages)
   ------------------------------------------------------------ */
.advance-editing-new .aen-h2 {
    margin: 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 45px;
    color: #283342;
    text-align: center;
}

.advance-editing-new .aen-adv {
    background: linear-gradient(105.77deg, rgba(250, 224, 223, 0.5) -7.3%, #FFFFFF 25.64%, rgba(235, 245, 255, 0.9) 59.98%, rgba(250, 224, 223, 0.4) 91.75%), #FFFFFF;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Figma Ellipse 766: big blurred white glow behind the lower-left of the
   section; the band's translucent fills let it shine through */
.advance-editing-new .aen-adv::before {
    content: "";
    position: absolute;
    left: -137px;
    top: 48%;
    width: 955px;
    height: 955px;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

/* glass card with the three differentiators */
.advance-editing-new .aen-adv-card {
    display: flex;
    align-items: stretch;
    list-style: none;
    margin: 30px 0 0;
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #FFFFFF;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 30px;
}

.advance-editing-new .aen-adv-item {
    flex: 1 1 0;
    position: relative;
    padding: 20px 24px 0;
    text-align: center;
}

/* soft vertical divider between items */
.advance-editing-new .aen-adv-item+.aen-adv-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5%;
    bottom: 5%;
    width: 1px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
}

.advance-editing-new .aen-adv-icon {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.advance-editing-new .aen-adv-item h3 {
    /* !important needed: old index-v2-style.css forces h3 margin-top 40px !important */
    margin: 20px 0 0 !important;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 32px;
    color: #283342;
}

.advance-editing-new .aen-adv-item p {
    margin: 14px 0 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #535C68;
}

/* --- 중점 검토 항목 band ---
   The band's top edge rises into a centered trapezoid tab that holds the
   heading (Figma Rectangle 7248). The shape is cut with clip-path on a
   ::before layer; drop-shadow on the wrapper follows the clipped outline. */
.advance-editing-new .aen-focus {
    position: relative;
    z-index: 0;
    margin-top: 80px;
    padding: 24px 0 10px;
}

.advance-editing-new .aen-focus::before {
    content: "";
    position: absolute;
    filter: drop-shadow(0px -8px 40px rgba(0, 0, 0, 0.12));
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 100.89%),
        linear-gradient(180deg, rgba(244, 236, 230, 0.7) 0%, rgba(250, 224, 223, 0.7) 100.91%);
    /* Figma Rectangle 7248: band with a centered raised tab, all corners rounded.
       Layer 1 = shaped 116px top strip (stretches horizontally only, so the
       curves stay crisp); layer 2 = plain fill for the rest of the band. */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1520 116' preserveAspectRatio='none'%3E%3Cpath d='M0 116L0 86Q0 56 30 56L426 56Q438 56 447.3 45.5L478.7 10.5Q488 0 500 0L1020 0Q1032 0 1041.3 10.5L1072.7 45.5Q1082 56 1094 56L1490 56Q1520 56 1520 86L1520 116Z'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
    -webkit-mask-size: 100% 116px, 100% calc(100% - 115px);
    -webkit-mask-position: 0 0, 0 115px;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1520 116' preserveAspectRatio='none'%3E%3Cpath d='M0 116L0 86Q0 56 30 56L426 56Q438 56 447.3 45.5L478.7 10.5Q488 0 500 0L1020 0Q1032 0 1041.3 10.5L1072.7 45.5Q1082 56 1094 56L1490 56Q1520 56 1520 86L1520 116Z'/%3E%3C/svg%3E"), linear-gradient(#000, #000);
    mask-size: 100% 116px, 100% calc(100% - 115px);
    mask-position: 0 0, 0 115px;
    mask-repeat: no-repeat;
}

/* gradient hairline traced along the tab's top edge (Figma stroke on Rectangle 7248).
   Same curve as the mask above — keep both paths in sync when reshaping. */
.advance-editing-new .aen-focus::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 117px;
    z-index: -1;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 1520 117' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='aenb' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23E8D8CB'/%3E%3Cstop offset='1' stop-color='%23F9E6E6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 86Q0 56 30 56L426 56Q438 56 447.3 45.5L478.7 10.5Q488 0 500 0L1020 0Q1032 0 1041.3 10.5L1072.7 45.5Q1082 56 1094 56L1490 56Q1520 56 1520 86' fill='none' stroke='url(%23aenb)' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 100% 117px no-repeat;
}

.advance-editing-new .aen-focus-sub {
    margin: 30px 0 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #535C68;
    text-align: center;
}

/* card with the two deep-editing checks; dark tag overlaps its top edge */
.advance-editing-new .aen-focus-card {
    position: relative;
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding: 40px 30px 30px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #C5C8CC;
    box-shadow: 0px 0px 20px rgba(29, 29, 29, 0.05);
    border-radius: 20px;
}

.advance-editing-new .aen-focus-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 4px 28px;
    background: #283342;
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    color: #FFFFFF;
    white-space: nowrap;
}

.advance-editing-new .aen-focus-col {
    flex: 1 1 0;
    position: relative;
}

.advance-editing-new .aen-focus-col+.aen-focus-col::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
}

.advance-editing-new .aen-focus-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.advance-editing-new .aen-focus-head h3 {
    /* !important needed: old index-v2-style.css forces h3 margin-top 40px !important */
    margin: 0 !important;
    padding-bottom: 0 !important;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 32px;
    color: #283342;
}

.advance-editing-new .aen-focus-col p {
    margin: 10px 0 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #535C68;
}

/* --- 6-item checkpoint grid --- */
.advance-editing-new .aen-check-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    position: relative;
}

.advance-editing-new .aen-check-grid li {
    position: relative;
    padding: 30px 30px 40px;
}

/* two vertical dividers running the full height of both rows (Figma) */
.advance-editing-new .aen-check-grid::before,
.advance-editing-new .aen-check-grid::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(197, 196, 196, 0) 0%, rgba(197, 196, 196, 0) 4%, #C6C5C5 12%, #C6C5C5 88%, rgba(197, 196, 196, 0) 96%, rgba(197, 196, 196, 0) 100%);
}

.advance-editing-new .aen-check-grid::before {
    left: 33.333%;
}

.advance-editing-new .aen-check-grid::after {
    left: 66.666%;
}

/* single full-width horizontal divider between the two rows */
.advance-editing-new .aen-check-grid li:nth-child(4)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 300%;
    height: 1px;
    background: linear-gradient(90deg, rgba(197, 196, 196, 0) 0%, rgba(197, 196, 196, 0) 5%, #C6C5C5 16%, #C6C5C5 84%, rgba(197, 196, 196, 0) 95%, rgba(197, 196, 196, 0) 100%);
}

.advance-editing-new .aen-check-grid img {
    display: block;
    height: 60px;
    width: auto;
}

.advance-editing-new .aen-check-grid h3 {
    /* !important needed: old index-v2-style.css forces h3 margin-top 40px !important */
    margin: 16px 0 0 !important;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 32px;
    color: #283342;
}

.advance-editing-new .aen-check-grid p {
    margin: 10px 0 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #535C68;
}

@media screen and (max-width: 991px) {

    .advance-editing-new .aen-adv-card,
    .advance-editing-new .aen-focus-card {
        flex-direction: column;
        gap: 32px;
    }

    .advance-editing-new .aen-adv-item+.aen-adv-item::before,
    .advance-editing-new .aen-focus-col+.aen-focus-col::before {
        display: none;
    }

    .advance-editing-new .aen-check-grid {
        grid-template-columns: 1fr;
    }

    .advance-editing-new .aen-check-grid::before,
    .advance-editing-new .aen-check-grid::after,
    .advance-editing-new .aen-check-grid li:nth-child(4)::after {
        display: none;
    }

    .advance-editing-new .aen-check-grid li {
        padding: 24px 12px;
    }

    .advance-editing-new .aen-adv {
        padding-top: 50px;
    }

    .advance-editing-new .aen-focus {
        margin-top: 50px;
        padding: 60px 0;
    }

    /* the wide trapezoid tab doesn't fit small screens — straight band edge */
    .advance-editing-new .aen-focus::before {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .advance-editing-new .aen-focus::after {
        display: none;
    }

    .advance-editing-new .aen-focus-tag {
        white-space: normal;
        text-align: center;
        width: max-content;
        max-width: 90%;
    }

    .advance-editing-new .aen-h2 {
        font-size: 24px;
        line-height: 36px;
    }
}

@media screen and (max-width: 767px) {

    /* plain beige banner on mobile — the artwork is dropped, text is centered
       (must contrast with the #283342 text) */
    .advance-editing-new .aen-hero {
        background: #F4ECE6;
        min-height: 0;
    }

    .advance-editing-new .aen-hero-content {
        max-width: none;
        padding: 40px 0;
        text-align: center;
    }

    .advance-editing-new .aen-hero-ribbon {
        margin: 0 auto;
    }

    .advance-editing-new .aen-hero-title {
        font-size: 30px;
        line-height: 45px;
    }

    .advance-editing-new .aen-hero-desc {
        margin-left: auto;
        margin-right: auto;
        font-size: 18px;
        line-height: 28px;
    }

    .advance-editing-new .aen-hero-cta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

/* ------------------------------------------------------------
   사후 지원 (Figma: 투고까지 함께하는 이나고의 사후 지원)
   ------------------------------------------------------------ */
.advance-editing-new .aen-support {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(250, 248, 246, 0.5) 0%, rgba(255, 255, 255, 0.5) 51.94%, rgba(239, 246, 255, 0.5) 100.02%),
        linear-gradient(116.54deg, rgba(250, 224, 223, 0.5) -6.7%, #FFFFFF 31.07%, rgba(235, 245, 255, 0.9) 70.47%, rgba(250, 224, 223, 0.4) 106.91%),
        #FFFFFF;
}

/* single glass card (Figma: Frame 2095585361, 726.64×306) */
.advance-editing-new .aen-support-card {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    max-width: 727px;
    margin: 30px auto 0;
    padding: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.35) 100%);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12.5px);
    border-radius: 20px;
}

.advance-editing-new .aen-support-icon {
    display: block;
    flex: none;
    width: 94px;
    height: auto;
}

.advance-editing-new .aen-support-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.advance-editing-new .aen-support-body h3 {
    /* !important needed: old index-v2-style.css forces h3 margin-top 40px !important */
    margin: 0 !important;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 32px;
    color: #000000;
}

.advance-editing-new .aen-support-desc {
    margin: 8px 0 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #535C68;
}

.advance-editing-new .aen-support-price {
    margin: 48px 0 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #000000;
}

.advance-editing-new .aen-support-checks {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.advance-editing-new .aen-support-checks li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
}

.advance-editing-new .aen-support-checks svg {
    flex: none;
    margin-top: 2px;
}

/* yellow quote CTA (Figma: Link 236×60) */
.advance-editing-new .aen-support-cta {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.advance-editing-new .aen-support-btn {
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 236px;
    height: 60px;
    background: #FFDA00;
    border-bottom: 2px solid #E9C700;
    border-radius: 3px;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: #000000;
    text-decoration: none;
    transition: background-color .2s ease-in-out;
}

.advance-editing-new .aen-support-btn:hover,
.advance-editing-new .aen-support-btn:focus {
    color: #000000;
    text-decoration: none;
    /* same hover as .new_mid_cta on top-impact-editing.htm */
    background-color: #E9C700;
}

@media screen and (max-width: 767px) {
    .advance-editing-new .aen-support {
        padding: 50px 0;
    }

    /* mobile: icon stacks above the text, card hugs the container */
    .advance-editing-new .aen-support-card {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 18px 24px;
    }

    .advance-editing-new .aen-support-price {
        margin-top: 24px;
    }
}

/* ------------------------------------------------------------
   전문 분야별 영문교정 샘플 (Figma: Section order 6)
   ------------------------------------------------------------ */
.advance-editing-new .aen-samples {
    padding: 80px 0;
    background: #FFFFFF;
}

.advance-editing-new .aen-samples-sub {
    margin: 30px 0 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #535C68;
    text-align: center;
}

/* dark pill tab bar (Figma Frame 2095585348: 910×61, radius 50) */
.advance-editing-new .aen-samples-tabs {
    display: flex;
    width: 910px;
    max-width: 100%;
    margin: 50px auto 0;
    padding: 5px;
    background: #293242;
    box-shadow: 0px 0px 20px rgba(246, 216, 217, 0.5);
    border-radius: 50px;
}

.advance-editing-new .aen-samples-tabs button {
    flex: 1 1 0;
    padding: 12px 5px;
    border: 0;
    background: transparent;
    border-radius: 50px;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #FFFFFF;
    white-space: nowrap;
    cursor: pointer;
}

.advance-editing-new .aen-samples-tabs button.is-active {
    background: #FFFFFF;
    font-weight: 600;
    color: #293242;
}

/* mobile dropdown toggle for the sample tabs — desktop never shows it */
.advance-editing-new .aen-samples-tabs-toggle {
    display: none;
}

/* panel: lilac info card overhangs the white list card by 20px top/bottom.
   The 15px shadow sits on the flex container, whose box matches the white
   body — the info card overflows it via negative vertical margins. */
.advance-editing-new .aen-samples-panel {
    display: flex;
    align-items: stretch;
    margin: 70px 0 20px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.advance-editing-new .aen-samples-panel[hidden] {
    display: none;
}

.advance-editing-new .aen-samples-info {
    flex: 0 0 336px;
    position: relative;
    z-index: 1;
    margin: -20px 0;
    padding: 60px 30px 30px;
    background: #E5E7FF;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.advance-editing-new .aen-samples-info img {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
}

.advance-editing-new .aen-samples-info h3 {
    /* !important needed: old index-v2-style.css forces h3 margin-top 40px !important */
    margin: 0 !important;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 45px;
    color: #000000;
}

.advance-editing-new .aen-samples-stats {
    margin: 20px 0 0;
}

.advance-editing-new .aen-samples-stats>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.advance-editing-new .aen-samples-stats>div:first-child {
    margin-top: 0;
}

.advance-editing-new .aen-samples-stats dt {
    margin: 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
}

.advance-editing-new .aen-samples-stats dd {
    margin: 0;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    color: #000000;
}

.advance-editing-new .aen-samples-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 0 10px 10px 0;
}

/* two-column link list; hollow red square bullet per item (Figma Border 7×7) */
.advance-editing-new .aen-samples-list {
    list-style: none;
    margin: 0;
    padding: 0;
    align-self: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 37px;
}

.advance-editing-new .aen-samples-list li {
    position: relative;
    margin-bottom: 7px;
    padding: 10px 10px 10px 17px;
    border-bottom: 1px solid #E9EAEC;
}

.advance-editing-new .aen-samples-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    width: 7px;
    height: 7px;
    border: 2px solid #D52B1E;
}

.advance-editing-new .aen-samples-list a {
    display: block;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #000000;
    text-decoration: none;
}

.advance-editing-new .aen-samples-list a:hover,
.advance-editing-new .aen-samples-list a:focus {
    color: #D52B1E;
    text-decoration: none;
}

/* collapsed: only the first 3 rows (6 items) show */
.advance-editing-new .aen-samples-panel.is-collapsed .aen-samples-list li:nth-child(n+7) {
    display: none;
}

.advance-editing-new .aen-samples-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    cursor: pointer;
}

.advance-editing-new .aen-samples-toggle [data-less] {
    display: none;
}

.advance-editing-new .aen-samples-panel:not(.is-collapsed) .aen-samples-toggle [data-more] {
    display: none;
}

.advance-editing-new .aen-samples-panel:not(.is-collapsed) .aen-samples-toggle [data-less] {
    display: inline;
}

.advance-editing-new .aen-samples-chev {
    transition: transform 0.2s ease;
}

.advance-editing-new .aen-samples-panel:not(.is-collapsed) .aen-samples-chev {
    transform: rotate(180deg);
}

@media screen and (max-width: 991px) {

    /* stacked layout: info card sits on top, no vertical overhang */
    .advance-editing-new .aen-samples-panel {
        flex-direction: column;
        margin: 50px 0 0;
    }

    .advance-editing-new .aen-samples-info {
        flex: none;
        margin: 0;
        padding: 30px;
        border-radius: 10px 10px 0 0;
    }

    .advance-editing-new .aen-samples-body {
        border-radius: 0 0 10px 10px;
    }
}

@media screen and (max-width: 767px) {
    .advance-editing-new .aen-samples {
        padding: 50px 0;
    }

    /* tabs collapse into a dropdown: only the active subject shows as a
       button in the tab bar's navy (#293242); tapping lists all subjects */
    .advance-editing-new .aen-samples-tabswrap {
        position: relative;
        margin-top: 40px;
    }

    .advance-editing-new .aen-samples-tabs-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        padding: 13px 40px;
        background: #293242;
        border: 0;
        border-radius: 8px;
        box-shadow: 0px 0px 20px rgba(246, 216, 217, 0.5);
        font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        color: #FFFFFF;
        cursor: pointer;
    }

    .advance-editing-new .aen-samples-tabs-caret {
        position: absolute;
        right: 18px;
        top: 50%;
        margin-top: -3px;
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 7px solid #FFFFFF;
        transition: transform 0.2s ease;
    }

    .advance-editing-new .aen-samples-tabswrap.is-open .aen-samples-tabs-caret {
        transform: rotate(180deg);
    }

    /* the pill bar becomes a floating dropdown card under the button */
    .advance-editing-new .aen-samples-tabs {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        z-index: 100;
        flex-direction: column;
        width: auto;
        margin: 0;
        padding: 0;
        background: #FFFFFF;
        border: 1px solid #DDDDDD;
        border-radius: 8px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    .advance-editing-new .aen-samples-tabswrap.is-open .aen-samples-tabs {
        display: flex;
    }

    .advance-editing-new .aen-samples-tabs button {
        flex: none;
        padding: 13px 16px;
        border-top: 1px solid #EEEEEE;
        border-radius: 0;
        font-size: 16px;
        color: #212529;
        text-align: center;
    }

    .advance-editing-new .aen-samples-tabs button:first-child {
        border-top: 0;
    }

    .advance-editing-new .aen-samples-tabs button.is-active {
        background: #FFFFFF;
        font-weight: 700;
        color: #293242;
    }

    .advance-editing-new .aen-samples-body {
        padding: 24px 18px;
    }

    /* mobile keeps the two-column grid (2 samples side by side), tighter gap */
    .advance-editing-new .aen-samples-list {
        column-gap: 16px;
    }
}

/* per-tab info-card tint (Figma: 생명과학 card is mint #E5FFF2) */
.advance-editing-new .aen-samples-panel[data-samples-panel="life-sciences"] .aen-samples-info {
    background: #E5FFF2;
}

/* per-tab info-card tint (Figma: 자연과학/공학 card is pink #FFE3E3) */
.advance-editing-new .aen-samples-panel[data-samples-panel="physical-sciences"] .aen-samples-info {
    background: #FFE3E3;
}

/* per-tab info-card tint (Figma: 경제/경영 card is light blue #ECF7FE) */
.advance-editing-new .aen-samples-panel[data-samples-panel="economics"] .aen-samples-info {
    background: #ECF7FE;
}

/* per-tab info-card tint (Figma: 인문·사회과학·예술 card is light yellow #FFF9E3) */
.advance-editing-new .aen-samples-panel[data-samples-panel="humanities"] .aen-samples-info {
    background: #FFF9E3;
}

/* FAQ: this page's Figma uses a white section background
   (the shared nwst-faq component defaults to #F4F5F5) */
.advance-editing-new .nwst-faq {
    background: #FFFFFF;
}

/* ------------------------------------------------------------
   학문 분야별 전문 에디터 tabs — mobile dropdown, this page only.
   The nwst-editors component itself lives in css/common.css (shared
   with index1.htm); these page-scoped rules only add the dropdown.
   ------------------------------------------------------------ */
.advance-editing-new .aen-etabs-toggle {
    display: none;
}

@media screen and (max-width: 991px) {

    /* replaces common.css's horizontal-scroll pills: only the active
       subject shows as a navy button, tapping lists all subjects */
    .advance-editing-new .aen-etabs-wrap {
        position: relative;
        z-index: 2;
        /* keep the tab bar's half-overlap onto the white pane below */
        margin-bottom: -25px;
    }

    .advance-editing-new .aen-etabs-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        padding: 13px 40px;
        background: #293242;
        border: 0;
        border-radius: 8px;
        box-shadow: 0px 0px 20px rgba(246, 216, 217, 0.5);
        font-family: 'NanumGothic', 'Nanum Gothic', sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        color: #FFFFFF;
        cursor: pointer;
    }

    .advance-editing-new .aen-etabs-caret {
        position: absolute;
        right: 18px;
        top: 50%;
        margin-top: -3px;
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 7px solid #FFFFFF;
        transition: transform 0.2s ease;
    }

    .advance-editing-new .aen-etabs-wrap.is-open .aen-etabs-caret {
        transform: rotate(180deg);
    }

    /* the pill bar becomes a floating dropdown card under the button */
    .advance-editing-new .nwst-editors-tabs {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        z-index: 100;
        flex-direction: column;
        width: auto;
        margin: 0;
        padding: 0;
        background: #FFFFFF;
        border: 1px solid #DDDDDD;
        border-radius: 8px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    .advance-editing-new .aen-etabs-wrap.is-open .nwst-editors-tabs {
        display: flex;
    }

    .advance-editing-new .nwst-editors-tabs button {
        flex: none;
        padding: 13px 16px;
        border-top: 1px solid #EEEEEE;
        border-radius: 0;
        font-size: 16px;
        color: #212529;
        text-align: center;
    }

    .advance-editing-new .nwst-editors-tabs button:first-child {
        border-top: 0;
    }

    .advance-editing-new .nwst-editors-tabs button.is-active {
        background: #FFFFFF;
        font-weight: 700;
        color: #293242;
    }
}

/* mobile: smaller editor-carousel arrows, moved onto the pane's edge so
   they stop covering the card content (38+ 년간의 경험 etc.) */
@media screen and (max-width: 767px) {
    .advance-editing-new button.nwst-editors-arrow {
        width: 28px;
        height: 28px;
        box-shadow: 0px 1px 4px 1px #CCCCCC;
    }

    .advance-editing-new button.nwst-editors-arrow svg {
        width: 8px;
        height: 13px;
    }

    .advance-editing-new button.nwst-editors-arrow.prev {
        left: -20px;
    }

    .advance-editing-new button.nwst-editors-arrow.next {
        right: -20px;
    }
}