.editorial {
    --ed-wine: var(--wine, #641b19);
    --ed-ink: var(--ink, #1d140f);
    --ed-muted: var(--muted, #68594c);
    color: var(--ed-ink);
    padding-bottom: clamp(54px, 7vw, 100px);
}

.editorial h1, .editorial h2, .ed-script, .ed-nutrition dd {
    font-family: var(--serif);
    font-weight: 700;
}

.editorial h1, .editorial h2 {
    color: var(--ed-ink);
    text-wrap: balance;
}

.editorial h1 {
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1.16;
    letter-spacing: -0.015em;
    margin: 8px 0 18px;
}

.editorial h2 {
    font-size: clamp(23px, 2.5vw, 34px);
    line-height: 1.22;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
}

.editorial h1 em, .editorial h2 em {
    font-style: normal;
    font-weight: inherit;
    color: var(--ed-wine);
}

.editorial p {
    line-height: 1.68;
}

.editorial .eyebrow {
    margin: 0 0 12px;
}

.ed-lede {
    color: var(--ed-muted);
    font-size: clamp(16px, 1.5vw, 20px);
    margin: 0;
    max-width: 60ch;
}

.ed-header {
    padding: clamp(20px, 4vw, 44px) 0;
}

.ed-story-header, .ed-cover {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    margin-top: 6px;
    border-radius: var(--radius-xl, 26px);
    overflow: hidden;
}

.ed-story-header {
    background: #1d110b;
    color: #fff6ea;
}

.ed-story-intro {
    padding: clamp(36px, 5.5vw, 72px);
    background: linear-gradient(90deg, rgba(26, 13, 8, 0.92), rgba(32, 16, 10, 0.82)), url("images/anseong-landscape.webp") center / cover;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.ed-story-intro h1 {
    color: #fff7ec;
    margin: 6px 0 20px;
}

.ed-story-intro h1 em,
.ed-story-intro .eyebrow {
    color: var(--gold);
}

.ed-story-intro p:not(.eyebrow) {
    max-width: 54ch;
    color: #e8d7c3;
}

.ed-light-link, .ed-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
}

.ed-light-link {
    background: rgba(255, 245, 232, 0.14);
    color: var(--gold-hover);
    margin-top: 22px;
}

.ed-action {
    background: var(--paper-soft, #ebe4d8);
    color: var(--ed-wine);
}

.ed-story-object {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 12px 12px 12px 0;
    border-radius: 20px;
    padding: 32px 24px 24px;
    min-height: 340px;
    background: #ffffff;
}

.ed-story-object img {
    width: auto;
    max-width: 72%;
    height: clamp(220px, 22vw, 330px);
    object-fit: contain;
}

.ed-story-object figcaption, .ed-article-head figcaption {
    color: var(--ed-ink);
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    margin-top: 14px;
}

.ed-story-object figcaption span, .ed-article-head figcaption span {
    display: block;
    color: var(--ed-muted);
    font-size: 11.5px;
    font-weight: 400;
    margin-top: 2px;
}

.ed-brand-story, .ed-origin-panel {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 4.5vw, 64px);
    margin: 20px 0;
    padding: clamp(28px, 4vw, 48px);
    background: #ffffff;
    border-radius: var(--radius-xl, 26px);
}

.ed-script {
    color: var(--ed-muted);
    margin: 18px 0 0;
    font-size: 18px;
}

.ed-origin-panel figure {
    margin: 0;
    padding: 12px;
    background: var(--pedestal, #f9f6f0);
    border-radius: 20px;
}

.ed-origin-panel img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.ed-origin-panel figcaption, .ed-label-photo figcaption {
    font-size: 12.5px;
    color: var(--ed-muted);
    line-height: 1.5;
    padding: 10px 4px 2px;
}

.ed-roles {
    margin: 20px 0;
}

.ed-roles dt {
    color: var(--ed-wine);
    font-weight: 700;
    font-size: 14.5px;
    margin: 16px 0 4px;
}

.ed-roles dd, .ed-prose p {
    color: var(--ed-muted);
    margin: 0 0 1em;
    line-height: 1.72;
}

.ed-source {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ed-wine);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ed-journal-mast {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(14px, 2vw, 24px) 0;
}

.ed-journal-mast h1 {
    margin: 0;
}

.ed-journal-mast p {
    max-width: 34ch;
    color: var(--ed-muted);
    margin: 0 0 4px;
}

.ed-cover {
    margin: 20px 0;
    background: #ffffff;
}

.ed-cover-art, .ed-guide-art {
    display: grid;
    place-items: center;
    background: #ffffff;
    border-radius: 20px;
}

.ed-cover-art {
    min-height: 300px;
    margin: 12px 0 12px 12px;
    padding: 8%;
}

.ed-cover-art img, .ed-guide-art img, .ed-article-head figure img, .ed-related img {
    object-fit: contain;
    transition: transform 0.28s ease;
}

.ed-cover-art img {
    width: 100%;
    height: auto;
    max-height: 280px;
}

.ed-cover-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(28px, 5vw, 60px);
}

.ed-cover-copy h2 {
    font-size: clamp(26px, 3vw, 38px);
    margin: 4px 0 12px;
}

.ed-cover-copy .ed-action {
    margin-top: 22px;
}

.ed-guides {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ed-guide {
    display: grid;
    grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    padding: 16px;
    background: #ffffff;
    border-radius: var(--radius-xl, 26px);
}

.ed-guide h2 {
    font-size: clamp(20px, 2vw, 25px);
    margin-bottom: 8px;
}

.ed-guide-art {
    aspect-ratio: 1;
    padding: 8%;
}

.ed-article-head {
    display: grid;
    grid-template-columns: 1.45fr minmax(240px, 0.75fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    padding: clamp(24px, 4vw, 44px);
    background: #ffffff;
    border-radius: var(--radius-xl, 26px);
    margin-bottom: 24px;
}

.ed-article-head figure {
    display: grid;
    place-content: center;
    margin: 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 18px;
}

.ed-article-head figure img {
    width: 100%;
    height: clamp(160px, 17vw, 240px);
}

.ed-reading, .ed-policy {
    display: grid;
    grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.85fr);
    align-items: start;
    gap: 24px;
}

.ed-prose {
    background: #ffffff;
    border-radius: var(--radius-xl, 26px);
    padding: clamp(28px, 4vw, 48px);
}

.ed-prose h2 {
    font-size: clamp(22px, 2.2vw, 30px);
    margin: 1.4em 0 0.55em;
    scroll-margin-top: 90px;
}

.ed-prose > h2:first-child {
    margin-top: 0;
}

.ed-policy-nav, .ed-contents {
    background: #ffffff;
    border-radius: 20px;
    padding: 14px;
    position: sticky;
    top: 90px;
    display: grid;
    gap: 4px;
}

.ed-policy-nav a, .ed-contents a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    color: var(--ed-muted);
    font-size: 14px;
}

.ed-policy-nav a[aria-current], .ed-contents a:hover {
    background: var(--pedestal, #f9f6f0);
    color: var(--ed-wine);
    font-weight: 700;
}

.ed-comparison {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
    font-size: 14px;
    line-height: 1.55;
}

.ed-comparison caption {
    text-align: left;
    font-size: 12.5px;
    color: var(--ed-muted);
    padding-bottom: 10px;
}

.ed-comparison th, .ed-comparison td {
    text-align: left;
    padding: 13px 16px;
    background: var(--pedestal, #f9f6f0);
}

.ed-comparison thead th {
    color: #fff8ee;
    background: #4e1715;
}

.ed-comparison tr :first-child {
    border-radius: 12px 0 0 12px;
}

.ed-comparison tr :last-child {
    border-radius: 0 12px 12px 0;
}

.ed-comparison tbody th a {
    color: var(--ed-wine);
    font-weight: 600;
    text-decoration: underline;
}

.ed-nutrition {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ed-nutrition div {
    padding: 16px 12px;
    background: var(--pedestal, #f9f6f0);
    border-radius: 16px;
    text-align: center;
}

.ed-nutrition dt {
    color: var(--ed-muted);
    font-size: 12px;
}

.ed-nutrition dd {
    margin: 4px 0 0;
    color: var(--ed-wine);
    font-size: clamp(22px, 2.6vw, 32px);
}

.ed-label-photo img {
    border-radius: 16px;
}

.ed-related {
    display: grid;
    grid-template-columns: minmax(100px, 0.45fr) minmax(0, 1.55fr);
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: var(--pedestal, #f9f6f0);
    border-radius: 20px;
    margin-top: 32px;
}

.ed-related img {
    width: 100%;
    height: 120px;
}

.ed-seller {
    margin-top: 32px;
    padding: 22px;
    background: var(--pedestal, #f9f6f0);
    border-radius: 18px;
}

.ed-seller dl div {
    display: grid;
    grid-template-columns: minmax(110px, 150px) 1fr;
    gap: 14px;
    margin: 10px 0;
}

.ed-seller dt {
    color: var(--ed-muted);
    font-size: 13.5px;
}

.ed-seller a {
    color: var(--ed-wine);
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 840px) {
    .ed-story-header, .ed-cover, .ed-origin-panel, .ed-brand-story, .ed-policy, .ed-reading, .ed-article-head, .ed-guides {
        grid-template-columns: 1fr;
    }

    .ed-story-object,
    .ed-cover-art {
        margin: 0 12px 12px;
    }

    .ed-contents, .ed-policy-nav {
        position: static;
    }

    .ed-comparison {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 640px) {
    .ed-guide {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
        padding: 12px;
    }

    .ed-related {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .ed-related img {
        height: 80px;
    }

    .ed-seller dl div {
        grid-template-columns: 110px 1fr;
        gap: 10px;
    }

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

    .ed-nutrition div {
        padding: 12px 8px;
    }

    .ed-nutrition dd {
        font-size: 18px;
    }

    .ed-journal-mast {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
