/* Shared by the interactive editions and their initial, crawlable HTML. */
.edition-archive, .edition-reader {
    --ed-ink: #2c2131;
    --ed-muted: #685c68;
    --ed-edge: #dcd2d8;
    --ed-paper: #fffefd;
    --ed-link: #663683;
    --ed-tint: #f0e8f5;
    --ed-serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
    color: var(--ed-ink);
}
[data-theme=dark] :is(.edition-archive, .edition-reader) {
    --ed-ink: #faf5fa; --ed-muted: #cbbdcb; --ed-edge: #514353;
    --ed-paper: #27212b; --ed-link: #dfbcff; --ed-tint: #382a42;
}
.edition-mast, .edition-reader-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 16px;
    isolation: isolate;
}
.edition-mast { background: #321b40; color: #fff; margin-top: .75rem; }
.edition-mast-copy {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: clamp(1.5rem, 3.5vw, 3.5rem);
    border-left: 5px solid #e5a159;
}
.edition-mast h1, .ssr .edition-mast h1 {
    margin: 0; color: #fff;
    font: 500 clamp(2.8rem, 5.1vw, 4.75rem)/.99 var(--ed-serif);
    letter-spacing: -.05em;
}
.edition-mast h1 i { display: block; color: #f4c995; font-weight: 400; }
.edition-mast p { max-width: 32rem; margin: .95rem 0 0; font-size: 1rem; line-height: 1.55; color: #ede1ef; }
.edition-cover-frame { position: relative; min-width: 0; }
.edition-mast .edition-cover {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: 53% 54%;
}
.edition-mast.condensed { grid-template-columns: 1fr minmax(140px, 27%); }
.edition-mast.condensed .edition-mast-copy { padding-block: 1.35rem; }
.edition-mast.condensed h1 { font-size: clamp(2rem, 3.3vw, 3.2rem); }
.edition-mast.condensed h1 i { display: inline; }
.edition-mast.condensed p { display: none; }
.edition-section-title, .ssr .edition-section-title {
    display: flex; align-items: center; gap: .9rem; margin: 1.8rem 0 1rem;
    font: 600 clamp(1.65rem, 3vw, 2.4rem)/1.1 var(--ed-serif); letter-spacing: -.04em;
}
.edition-section-title::after { content: ''; flex: 1; border-top: 1px solid var(--ed-edge); }
.edition-feature.with-briefs { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 1.5rem; }
.edition-story { position: relative; min-width: 0; display: flex; flex-direction: column; color: var(--ed-ink); }
.edition-story h3, .ssr .edition-story h3 {
    margin: 0; font: 600 clamp(1.25rem,1.9vw,1.72rem)/1.16 var(--ed-serif); letter-spacing: -.032em; overflow-wrap: anywhere;
}
.edition-story h3 a, .ssr .edition-story h3 a { color: inherit; text-decoration: none; }
.edition-story h3 a::after { content: ''; position: absolute; inset: 0; }
.edition-story h3 a:hover, .edition-story h3 a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; min-width: 0; }
.edition-label {
    font: 700 .77rem/1.3 Inter,system-ui,sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--ed-link);
}
.edition-photo {
    display: grid; place-items: center; min-width: 0; overflow: hidden; isolation: isolate;
    background: radial-gradient(ellipse at 33% 28%, #f7f2f9 0, #e6dcec 70%, #e0d2e8 100%);
}
.edition-photo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.edition-photo-fallback { width: 35%; max-width: 4rem; height: auto; color: #7f6691; stroke-width: 1; }
.edition-story .edition-photo { position: relative; border-radius: 10px; }
.edition-story .edition-photo img, .edition-reader-head .edition-photo img {
    position: absolute; inset: 0; width: 100%; height: 100%; padding: .7rem;
}
.edition-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .85rem; font-size: .8rem; line-height: 1.5; color: var(--ed-muted); }
.edition-meta span { display: inline-flex; align-items: center; gap: .32rem; }
.story-deck { margin: 0; color: var(--ed-muted); font-size: 1rem; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.story-save {
    display: grid; place-items: center; z-index: 1; position: absolute; top: .55rem; right: .55rem; width: 42px; height: 42px;
    border: 1px solid #d4cbd8; border-radius: 50%; background: #fffefd; color: #482957; font-size: 1rem; cursor: pointer;
}
.story-save[aria-pressed=true] { background: #4d2b62; color: #fff; border-color: #4d2b62; }
.edition-lead { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); background: var(--ed-paper); border: 1px solid var(--ed-edge); border-radius: 12px; overflow: hidden; }
.edition-lead .edition-photo { min-height: 15rem; border-radius: 0; }
.edition-lead .story-copy { justify-content: center; padding: clamp(1rem,1.8vw,1.7rem); }
.edition-lead .story-save { left: .55rem; right: auto; }
.edition-lead h3, .ssr .edition-lead h3 { font-size: clamp(1.55rem,2.3vw,2.15rem); }
.edition-briefs { display: flex; flex-direction: column; justify-content: center; }
.edition-brief { display: grid; grid-template-columns: minmax(78px,26%) minmax(0,1fr); align-items: center; gap: 1rem; padding: .75rem 0; }
.edition-brief + .edition-brief { border-top: 1px solid var(--ed-edge); }
.edition-brief .edition-photo { aspect-ratio: 1; }
.edition-brief h3, .ssr .edition-brief h3 { font-size: clamp(1.15rem,1.55vw,1.48rem); }
.edition-brief .story-save { left: 0; top: auto; bottom: .45rem; width: 32px; height: 32px; font-size: .85rem; }
.story-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.75rem 1.4rem; }
.edition-card { gap: .9rem; padding-bottom: 1.05rem; border-bottom: 1px solid var(--ed-edge); }
.edition-card .edition-photo { aspect-ratio: 1.95; }
.edition-card:nth-child(3n+2) .edition-photo, .edition-brief:nth-child(odd) .edition-photo { background: radial-gradient(at 30% 20%,#fbefe7,#ead8ca); }
.edition-card:nth-child(3n) .edition-photo { background: radial-gradient(at 30% 20%,#edf7ef,#dceadf); }
.story-grid.compact { grid-template-columns: 1fr; gap: 0; }
.compact .edition-story { display: grid; grid-template-columns: clamp(68px,12vw,125px) 1fr; align-items: center; gap: 1rem; padding: .85rem 3.25rem .85rem 0; }
.compact .edition-photo { aspect-ratio: 1.5; }
.compact .story-save { top: 50%; transform: translateY(-50%); right: 0; }
.compact .story-deck { display: none; }
.compact .story-copy { gap: .35rem; }
@media (max-width: 900px) {
    .edition-feature.with-briefs { grid-template-columns: minmax(0,1fr); gap: .75rem; }
    .edition-briefs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
    .edition-brief + .edition-brief { border: 0; }
    .story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
    .edition-mast { grid-template-columns: minmax(0,1fr) minmax(0,.54fr); }
    .edition-mast-copy { padding: 1.25rem .85rem; border-left-width: 3px; }
    .edition-mast h1, .ssr .edition-mast h1 { font-size: clamp(2.05rem,7.8vw,3rem); }
    .edition-mast p { font-size: .875rem; margin-top: .7rem; }
    .edition-mast .edition-cover { object-position: 50% 55%; }
    .edition-mast.condensed { grid-template-columns: 1fr; }
    .edition-mast.condensed .edition-cover-frame { display: none; }
    .edition-section-title, .ssr .edition-section-title { margin-top: 1.4rem; }
    .edition-lead { grid-template-columns: minmax(0,.55fr) minmax(0,1fr); }
    .edition-lead .edition-photo { min-height: 10rem; }
    .edition-lead .story-deck { display: none; }
    .edition-briefs, .story-grid { grid-template-columns: minmax(0,1fr); gap: .5rem; }
    .edition-brief + .edition-brief { border-top: 1px solid var(--ed-edge); }
    .edition-brief { grid-template-columns: 4.6rem minmax(0,1fr); }
    .story-grid { gap: 1.4rem; }
    .edition-card .edition-photo { aspect-ratio: 2.15; }
}
.edition-reader-head {
    margin: .8rem 0 0; background: var(--ed-paper); border: 1px solid var(--ed-edge);
    grid-template-columns: minmax(0,1.6fr) minmax(0,1fr);
}
.reader-head-copy { min-width: 0; padding: clamp(1.25rem,3.6vw,3.3rem); align-self: center; }
.reader-section { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; color: var(--ed-link); font: 700 .8rem/1.35 Inter,system-ui,sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.reader-section::before { content: ''; width: 1.7rem; height: 3px; background: #c47c32; margin-right: .2rem; }
.reader-section a, .ssr .reader-section a { color: var(--ed-link); text-decoration: none; }
.reader-section a:hover { text-decoration: underline; }
.edition-reader-head h1, .ssr .edition-reader-head h1 {
    margin: .85rem 0 1.15rem; font: 600 clamp(2.05rem, 3.8vw, 3.6rem)/1.05 var(--ed-serif);
    letter-spacing: -.052em; overflow-wrap: anywhere; text-wrap: pretty;
}
.reader-photo { position: relative; min-height: 15rem; }
.edition-reader-head .reader-photo img { padding: clamp(1.2rem,3vw,3rem); }
.edition-reader-head .reader-photo .reader-fallback { padding: 0; object-fit: cover; mix-blend-mode: normal; }
.reader-byline { margin: 0 0 .4rem; font-size: .95rem; font-weight: 600; line-height: 1.45; }
.reader-byline a { color: var(--ed-link); text-underline-offset: 3px; }
.reader-byline span { font-weight: 400; color: var(--ed-muted); }
.reader-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; }
.reader-actions button, .article-contents button {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .5rem .85rem; min-height: 42px; border: 1px solid var(--ed-edge); border-radius: 8px;
    font: 600 .875rem/1.3 Inter,system-ui,sans-serif; background: var(--ed-paper); color: var(--ed-ink); cursor: pointer;
}
.reader-actions button:first-child { background: var(--ed-tint); color: var(--ed-link); border-color: transparent; }
.reader-actions button[aria-pressed=true] { background: #513266; color: white; }
.reader-actions span { font-size: .875rem; color: var(--ed-muted); }
.reader-actions input { width: min(100%, 24rem); min-width: 0; font: inherit; }
.reader-layout { margin: clamp(1.5rem, 3vw, 3rem) auto; max-width: 45rem; }
.reader-layout.with-contents { display: grid; grid-template-columns: minmax(12.5rem,15rem) minmax(0,43rem); gap: clamp(2rem, 5vw, 5.5rem); max-width: 65rem; align-items: start; }
.reader-column { min-width: 0; }
.article-contents {
    position: sticky; top: 82px; padding: .75rem 1rem .85rem 0; border-top: 3px solid var(--ed-link);
    max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain;
}
.article-contents h2, .ssr .article-contents h2 {
    display: flex; align-items: center; gap: .6rem; font: 600 1.4rem/1.3 var(--ed-serif); margin: .2rem 0 .65rem;
}
.article-contents h2 svg { width: 1rem; }
.article-contents ul { list-style: none; padding: 0; margin: 0; }
.article-contents li { margin: 0; border-top: 1px solid var(--ed-edge); }
.article-contents a, .ssr .article-contents a { display: block; padding: .62rem .3rem; color: var(--ed-muted); font-size: .9rem; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.article-contents a[aria-current], .article-contents a:hover, .article-contents a:focus-visible { background: var(--ed-tint); color: var(--ed-link); }
.article-contents button { display: none; }
.edition-prose { font-size: 1.125rem; line-height: 1.75; overflow-wrap: anywhere; }
.edition-prose > p:first-child { font: 400 clamp(1.22rem,1.7vw,1.5rem)/1.5 var(--ed-serif); }
.edition-prose :is(h2,h3) { line-height: 1.2; }
.edition-prose h2, .ssr .edition-prose h2 {
    padding-top: 1rem; margin: 1.7em 0 .5em; border-top: 1px solid var(--ed-edge);
    font: 600 clamp(1.5rem,2.4vw,2.05rem)/1.16 var(--ed-serif); letter-spacing: -.034em;
}
.edition-prose [id^="dn-section-"] { scroll-margin-top: 1rem; }
.edition-prose img { max-width: 100%; height: auto; }
.edition-prose p > img:only-child { display: block; max-height: 23rem; object-fit: contain; margin-inline: auto; }
.edition-prose blockquote { border-left: 3px solid #c47c32; background: var(--ed-tint); padding: .8rem 1.2rem; }
.edition-prose th { background: var(--ed-tint); }
.reader-credits, .ssr .reader-credits {
    margin: 2rem 0 1.5rem; padding: clamp(1rem, 3vw, 1.6rem);
    border: 1px solid var(--ed-edge); border-radius: 12px; background: var(--ed-paper); color: var(--ed-ink);
}
.reader-credits h2, .ssr .reader-credits h2 {
    margin: 0 0 .85rem; font: 600 1.5rem/1.2 var(--ed-serif);
}
.reader-credits ul, .ssr .reader-credits ul { list-style: none; margin: 0; padding: 0; }
.reader-credit { display: flex; align-items: flex-start; gap: .9rem; padding: .75rem 0; }
.reader-credit + .reader-credit { border-top: 1px solid var(--ed-edge); }
.reader-credit-image { flex: 0 0 4rem; width: 4rem; height: 4rem; object-fit: cover; border-radius: 10px; background: var(--ed-tint); }
.reader-credit :is(h3,p), .ssr .reader-credit :is(h3,p) { margin: 0 0 .3rem; overflow-wrap: anywhere; }
.reader-credit h3, .ssr .reader-credit h3 { font-size: 1.13rem; line-height: 1.25; }
.reader-credit h3 a { color: var(--ed-link); text-underline-offset: 3px; }
.reader-credit-role, .reader-credit-job { color: var(--ed-muted); font-size: .85rem; }
.reader-credit-role { font-weight: 700; }
.ssr .edition-archive form {
    display: flex; flex-wrap: wrap; align-items: end; gap: .6rem 1rem; margin: 1rem 0; padding-bottom: 1rem; border-bottom: 1px solid var(--ed-edge);
}
.ssr .edition-archive form label { display: grid; flex: 1 1 10rem; gap: .3rem; font-size: .875rem; }
.ssr .edition-archive form :is(input, select, button) {
    min-width: 0; min-height: 42px; padding-inline: .6rem; border: 1px solid var(--ed-edge); border-radius: 6px; background: var(--ed-paper); color: var(--ed-ink); font: inherit;
}
.ssr .edition-archive form button { cursor: pointer; background: #513266; color: white; }
.ssr .article-contents summary { padding: .7rem; font: 600 1rem/1.4 system-ui,sans-serif; cursor: pointer; }
@media (max-width: 800px) {
    .reader-layout.with-contents { display: block; max-width: 45rem; }
    .article-contents { position: static; max-height: none; padding: 0; border: 1px solid var(--ed-edge); background: var(--ed-paper); border-radius: 10px; margin-bottom: 1.4rem; }
    .article-contents h2, .article-contents ul { display: none; }
    .article-contents button { display: flex; width: 100%; justify-content: flex-start; border: 0; min-height: 48px; color: var(--ed-link); }
    .article-contents button svg:last-child { margin-left: auto; }
    .article-contents button[aria-expanded=true] svg:last-child { transform: rotate(180deg); }
    .article-contents .is-open { display: block; padding-inline: .85rem; }
}
@media (max-width: 620px) {
    .edition-reader-head { grid-template-columns: minmax(0,1fr); }
    .reader-head-copy { padding: 1.25rem; }
    .reader-photo { min-height: 0; height: clamp(8rem,38vw,11rem); }
    .edition-reader-head .reader-photo img { padding: .55rem; }
    .edition-reader-head h1, .ssr .edition-reader-head h1 { margin: .7rem 0 .85rem; }
    .reader-layout { margin-top: 1.1rem; }
}
