:root {
    --ink: #20252c;
    --muted: #616975;
    --line: #e1e5e9;
    --red: #b02638;
    --red-dark: #821c2c;
    --teal: #146b5c;
    --surface: #f5f7f9;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.65 system-ui, sans-serif; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #167c8e; outline-offset: 4px; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, a, dd { overflow-wrap: anywhere; }
h1 { font-size: 36px; line-height: 1.2; margin-bottom: 18px; font-weight: 750; }
h2 { font-size: 23px; line-height: 1.35; margin-bottom: 16px; }
h3 { font-size: 17px; line-height: 1.4; }
.wrap { max-width: 1200px; margin: auto; padding: 0 28px; }
.site-header { border-top: 4px solid var(--red); border-bottom: 1px solid var(--line); background: #fff; }
.main-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--red); font-size: 21px; font-weight: 800; line-height: 1.2; }
.brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 650; text-transform: uppercase; margin-top: 5px; }
.nav-links, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.nav-links > a { color: #454d57; font-size: 13px; font-weight: 550; }
.nav-links > a[aria-current="page"] { color: var(--red); }
.nav-links .button { color: #fff; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 18px; background: var(--red); color: #fff; border: 1px solid var(--red); border-radius: 5px; font-size: 13px; font-weight: 650; text-align: center; line-height: 1.5; }
.button:hover { background: var(--red-dark); color: #fff; text-decoration: none; }
.button.secondary { color: var(--ink); background: #fff; border-color: #d1d7dd; }
.button.secondary:hover { background: var(--surface); }
.button .icon { filter: brightness(0) invert(1); }
.button.secondary .icon { filter: none; }
.icon { width: 18px; height: 18px; display: inline-block; object-fit: contain; flex-shrink: 0; vertical-align: middle; }
.catalog-heading { background: var(--surface); border-bottom: 1px solid var(--line); padding: 42px 0 0; }
.catalog-heading p { color: var(--muted); max-width: 680px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--red); font-size: 11px; font-weight: 750; text-transform: uppercase; margin-bottom: 12px; }
.eyebrow::before { content: ''; display: inline-block; width: 18px; height: 2px; background: currentColor; }
.search-form { margin-top: 25px; padding-bottom: 26px; }
.search-row { display: flex; gap: 12px; max-width: 760px; }
.search-field { flex: 1; min-width: 0; position: relative; }
.search-field > .icon { position: absolute; top: 15px; left: 14px; }
.search-field input { width: 100%; height: 48px; border: 1px solid #ccd3da; border-radius: 5px; padding: 10px 14px 10px 42px; background: #fff; color: var(--ink); }
.search-row .button { min-width: 96px; }
.type-filters { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border: 0; margin: 0; padding-left: 0; }
.type-choice { position: relative; cursor: pointer; }
.type-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-choice span { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 13px; border: 1px solid #d6dce2; border-radius: 5px; background: #fff; color: #4f5865; font-size: 12px; font-weight: 600; }
.type-choice input:checked + span { color: var(--red); border-color: var(--red); background: #fff2f4; }
.type-choice input:focus-visible + span { outline: 3px solid #167c8e; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; padding: 10px 16px; margin: 0; clip: auto; background: #fff; z-index: 100; }
.catalog-content { padding-top: 30px; padding-bottom: 48px; min-height: 40vh; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: 20px; }
.section-heading p { margin: 0; font-size: 12px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.edition { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .18s, border-color .18s; }
.edition:hover { box-shadow: 0 8px 22px #182a3e0c; border-color: #bfc8d1; }
.edition-cover { display: block; background: #f1f3f5; border-bottom: 1px solid var(--line); }
.edition-cover img { display: block; width: 100%; height: 176px; object-fit: contain; }
.edition-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 17px 20px 0; }
.kind { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #515c6b; font-weight: 700; text-transform: uppercase; }
.kind .icon { width: 15px; height: 15px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; background: #eef1f4; color: #58616d; font-size: 10px; font-weight: 700; white-space: nowrap; }
.badge.active { color: #116352; background: #e8f4ee; }
.badge.active::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.edition .body { padding: 16px 20px 20px; flex: 1; }
.channel-name { font-size: 12px; color: var(--muted); display: block; margin-bottom: 7px; }
.channel-logo { display: block; width: 44px; height: 44px; object-fit: contain; margin-bottom: 14px; }
.edition h2 { font-size: 21px; line-height: 1.35; margin-bottom: 9px; }
.edition h2 a { color: var(--ink); }
.edition-theme { font-size: 13px; color: #5b6470; margin-bottom: 18px; }
.meta-list { display: grid; gap: 7px; font-size: 12px; color: var(--muted); }
.meta-list > div { display: flex; align-items: flex-start; gap: 7px; }
.meta-list .icon { width: 15px; height: 15px; margin-top: 3px; }
.edition-footer { margin: 0 20px; padding: 15px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; }
.edition-footer > a { font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.edition-footer .icon { width: 15px; height: 15px; }
.empty-state { padding: 36px 0; color: var(--muted); }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0 0; font-size: 13px; }
.pagination a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 4px; }
.page-heading { padding: 30px 0 32px; background: var(--surface); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs .icon { width: 12px; height: 12px; }
.heading-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; }
.heading-copy { flex: 1; min-width: 0; max-width: 800px; }
.heading-copy h1 { margin-top: 10px; margin-bottom: 12px; }
.heading-copy > p { color: var(--muted); margin-bottom: 0; }
.heading-actions { padding-top: 10px; flex-shrink: 0; }
.meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 18px; }
.meta > span { display: inline-flex; align-items: center; gap: 6px; }
.edition-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 36px; padding-top: 28px; padding-bottom: 48px; }
.edition-main { min-width: 0; }
.section-nav { display: flex; gap: 22px; overflow-x: auto; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 28px; font-size: 13px; }
.section-nav a { white-space: nowrap; color: #58616d; font-weight: 600; }
.section-nav a:hover { color: var(--red); }
.banner { display: block; width: 100%; max-height: 350px; object-fit: contain; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 28px; }
.content-section { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.content-section h2 { font-size: 21px; }
.prose { white-space: pre-line; overflow-wrap: anywhere; color: #4f5865; line-height: 1.85; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.topic-list li { padding: 5px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; font-size: 12px; color: #4c5965; }
.call { padding: 20px 0; border-top: 1px solid var(--line); }
.call:first-of-type { border-top: 0; padding-top: 5px; }
.call h3 { margin: 8px 0; }
.call .meta { margin: 0 0 14px; }
.call-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.date-list { list-style: none; padding: 0; margin: 0; }
.date-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }
.date-list time { white-space: nowrap; font-weight: 600; }
.sidebar-section { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.sidebar-section h2 { font-size: 12px; text-transform: uppercase; color: #505966; margin-bottom: 16px; }
.submission-box { background: #fff3f4; border-left: 3px solid var(--red); padding: 20px; margin-bottom: 26px; }
.submission-box h2 { color: var(--red); font-size: 16px; margin-bottom: 8px; }
.submission-box p { color: #70515a; font-size: 12px; }
.submission-box .button { width: 100%; }
.facts { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 11px 12px; font-size: 12px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 550; }
.sibling-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; font-size: 12px; color: #56616c; }
.sibling-link[aria-current="page"] { color: var(--red); font-weight: 700; }
.text-link { font-weight: 650; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); padding: 26px 0; font-size: 12px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-row strong { display: block; color: var(--ink); font-size: 13px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); }
@media(max-width: 960px) {
    .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .edition-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 24px; }
    .nav-links { gap: 14px; }
}
@media(max-width: 700px) {
    .wrap { padding-left: 20px; padding-right: 20px; }
    .main-nav { min-height: 72px; gap: 14px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
    .brand { font-size: 19px; }
    .nav-links { gap: 13px; }
    .nav-links > a { font-size: 12px; }
    .nav-dashboard { display: none; }
    h1 { font-size: 29px; }
    .catalog-heading { padding-top: 28px; }
    .search-row { gap: 8px; }
    .search-row .button { min-width: 76px; padding: 8px 12px; }
    .type-filters { gap: 6px; }
    .type-choice span { padding: 5px 9px; font-size: 11px; }
    .grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .heading-row { display: block; }
    .heading-actions { margin-top: 14px; }
    .edition-layout { display: flex; flex-direction: column; padding-top: 20px; }
    .edition-main, .edition-sidebar { width: 100%; }
    .section-nav { gap: 18px; }
    .date-list li { flex-wrap: wrap; gap: 4px; }
    .edition-cover img { height: 190px; }
    .pagination { flex-wrap: wrap; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .edition { transition: none; } }

/* Edition detail page: editorial layout, preserving the global site styles. */
.ed-page { background: #fff; }
.ed-hero { border-bottom: 1px solid #e6e8ed; background: linear-gradient(130deg, #fafbfc, #fff 58%, #fcf4f5); padding: 26px 0 52px; }
.ed-breadcrumbs { gap: 9px; margin-bottom: 38px; font-size: 12px; }
.ed-breadcrumbs a { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-breadcrumbs span:last-child { color: #242a34; font-weight: 700; }
.ed-hero-grid { display: block; }
.ed-hero-grid.ed-has-cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 365px); gap: clamp(30px, 6vw, 88px); align-items: center; }
.ed-hero-copy { min-width: 0; }
.ed-eyebrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 12px; line-height: 1.45; margin-bottom: 24px; }
.ed-type { display: inline-flex; align-items: center; gap: 7px; color: #98263a; font-size: 11px; letter-spacing: .085em; font-weight: 800; text-transform: uppercase; }
.ed-type .icon { width: 17px; height: 17px; }
.ed-eyebrow-divider { width: 1px; background: #cdd1d9; height: 19px; }
.ed-series-name { color: #596373; font-weight: 600; max-width: min(520px, 100%); }
.ed-state-line { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ed-status { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d7dce2; background: #f0f1f5; color: #626b78; border-radius: 50px; padding: 4px 11px; font-size: 11px; font-weight: 750; line-height: 1.5; }
.ed-status-open { border-color: #c8e2d8; background: #eaf7f1; color: #16684e; }
.ed-status-current { color: #795c1b; background: #fcf5dd; border-color: #f1e3b7; }
.ed-status-dot { background: currentColor; display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; }
.ed-year { color: #737d8c; font-size: 12px; font-weight: 750; }
.ed-hero h1 { font-size: clamp(38px, 5.7vw, 65px); line-height: 1.08; letter-spacing: -.04em; color: #19212c; margin: 0 0 17px; }
.ed-hero-theme { color: #993044; font: 500 clamp(19px, 2.3vw, 28px)/1.36 Georgia, 'Times New Roman', serif; max-width: 710px; margin: 0 0 15px; }
.ed-hero-support { color: #65707c; font-size: 14px; line-height: 1.85; max-width: 570px; margin-bottom: 0; }
.ed-hero-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 24px 0 0; color: #58616e; font-size: 12px; }
.ed-hero-meta span { display: inline-flex; gap: 8px; align-items: center; }
.ed-hero-meta .icon { width: 16px; height: 16px; }
.ed-hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.ed-hero-actions .button { min-height: 47px; }
.ed-primary-action { padding: 11px 20px; }
.ed-share-action { padding: 11px 17px; }
.ed-cover { padding: 0; margin: 0; min-width: 0; }
.ed-cover-inner { border: 1px solid #e1e4e8; background: white; box-shadow: 0 17px 52px #222b3817, 0 3px 8px #20293510; padding: 9px; border-radius: 10px; }
.ed-cover-inner img { width: 100%; max-height: 385px; display: block; object-fit: contain; border-radius: 5px; }
.ed-cover figcaption { color: #7d8792; font-size: 11px; text-align: center; margin-top: 12px; }
.ed-tabbar { background: #fff; border-bottom: 1px solid #e3e6ea; position: sticky; top: 0; z-index: 10; box-shadow: 0 4px 16px #111a2605; }
.ed-tabs { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); overflow-x: auto; scrollbar-width: thin; white-space: nowrap; }
.ed-tabs a { display: inline-flex; align-items: center; gap: 8px; border-bottom: 3px solid transparent; padding: 16px 0 13px; font-size: 12px; font-weight: 700; color: #4d5867; }
.ed-tabs a:hover, .ed-tabs a[aria-current="location"] { color: var(--red); border-bottom-color: var(--red); text-decoration: none; }
.ed-tab-count { padding: 1px 7px; border-radius: 20px; background: #edf0f4; font-size: 10px; color: #56606e; }
.ed-tab-external .icon { width: 13px; height: 13px; }
.ed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 76px); padding-top: 48px; padding-bottom: 72px; align-items: start; }
.ed-main { min-width: 0; }
.ed-panel { padding: 0 0 36px; margin: 0 0 42px; border-bottom: 1px solid #e4e8ec; scroll-margin-top: 100px; }
.ed-panel-last { border-bottom: 0; margin-bottom: 0; }
.ed-section-title { margin-bottom: 24px; }
.ed-section-title-inline { display: flex; align-items: end; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.ed-section-title h2 { color: #202936; font-size: clamp(23px, 2.9vw, 30px); font-weight: 750; letter-spacing: -.025em; margin: 3px 0 0; }
.ed-section-kicker { color: #aa3144; text-transform: uppercase; font-size: 11px; letter-spacing: .13em; font-weight: 800; }
.ed-section-count { background: #ecf7f0; color: #206a50; font-size: 11px; border-radius: 20px; font-weight: 800; padding: 5px 11px; }
.ed-muted-note { color: #657281; margin: 0; }
.ed-prose { font-size: 14px; line-height: 1.9; color: #445161; white-space: pre-line; overflow-wrap: anywhere; }
/* WYSIWYG content: text styles and HTML layout are retained instead of flattened by strip_tags(). */
.ed-rich-content { white-space: normal; min-width: 0; }
.ed-rich-content > :first-child { margin-top: 0 !important; }
.ed-rich-content > :last-child { margin-bottom: 0 !important; }
.ed-rich-content p, .ed-rich-content div { margin-top: 0; margin-bottom: 15px; }
.ed-rich-content h1, .ed-rich-content h2, .ed-rich-content h3, .ed-rich-content h4, .ed-rich-content h5, .ed-rich-content h6 { margin: 24px 0 12px; letter-spacing: -.015em; color: #25303d; line-height: 1.35; }
.ed-rich-content h1 { font-size: 27px; } .ed-rich-content h2 { font-size: 23px; } .ed-rich-content h3 { font-size: 19px; } .ed-rich-content h4 { font-size: 16px; }
.ed-rich-content ul, .ed-rich-content ol { margin: 8px 0 18px; padding-left: 26px; }
.ed-rich-content li { padding-left: 4px; margin-bottom: 6px; }
.ed-rich-content li > ul, .ed-rich-content li > ol { margin-top: 6px; margin-bottom: 6px; }
.ed-rich-content a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ed-rich-content blockquote { margin: 20px 0; padding: 13px 18px; border-left: 3px solid #b02638; background: #f9f5f6; color: #444b59; }
.ed-rich-content img { display: inline-block; max-width: 100%; height: auto; border-radius: 5px; }
.ed-rich-content figure { max-width: 100%; margin: 22px 0; }
.ed-rich-content figcaption { color: #697481; font-size: 12px; text-align: center; }
.ed-rich-content table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 19px 0; font-size: 13px; line-height: 1.6; }
.ed-rich-content th, .ed-rich-content td { border: 1px solid #dfe4e9; padding: 10px 12px; vertical-align: top; overflow-wrap: anywhere; }
.ed-rich-content th { text-align: left; color: #354153; background: #f2f4f7; font-weight: 750; }
.ed-rich-content tr:nth-child(even) td { background: #fafbfc; }
.ed-rich-content pre { overflow-x: auto; padding: 16px; border-radius: 6px; background: #f1f3f6; white-space: pre; font-size: 12px; }
.ed-rich-content code { padding: 1px 4px; background: #f1f3f6; border-radius: 4px; }
.ed-rich-content .ql-align-center, .ed-rich-content .text-center { text-align: center; }
.ed-rich-content .ql-align-right, .ed-rich-content .text-right { text-align: right; }
.ed-rich-content .ql-align-justify { text-align: justify; }
.ed-rich-content .ql-direction-rtl { direction: rtl; }
.ed-rich-content .ql-indent-1 { padding-left: 1.5em; } .ed-rich-content .ql-indent-2 { padding-left: 3em; } .ed-rich-content .ql-indent-3 { padding-left: 4.5em; }
.ed-rich-content .ql-indent-4 { padding-left: 6em; } .ed-rich-content .ql-indent-5 { padding-left: 7.5em; } .ed-rich-content .ql-indent-6 { padding-left: 9em; }
.ed-rich-content .ql-indent-7 { padding-left: 10.5em; } .ed-rich-content .ql-indent-8 { padding-left: 12em; }
.ed-rich-content [style*="text-align: center"] img { margin-left: auto; margin-right: auto; }
.ed-overview-content { line-height: 1.7; }
.ed-overview-content div { margin: 0; }
.ed-overview-content p { margin: 0 0 10px; }
.ed-overview-content :is(h1, h2, h3, h4, h5, h6) { margin: 18px 0 8px; }
.ed-overview-content :is(ul, ol) { margin: 8px 0 12px; }
.ed-overview-content li { margin-bottom: 4px; }
.ed-call-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 23px; margin: 0 0 14px; border: 1px solid #e1e5e9; border-radius: 10px; background: #fff; box-shadow: 0 8px 25px #1e29390a; }
.ed-call-details { min-width: 0; flex: 1; }
.ed-call-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 10px; }
.ed-call-type { display: inline-flex; align-items: center; gap: 7px; color: #6a7481; font-size: 11px; text-transform: uppercase; letter-spacing: .065em; font-weight: 800; }
.ed-call-type .icon { width: 15px; height: 15px; }
.ed-mini-status { color: #157457; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; }
.ed-call-card h3 { font-size: 18px; line-height: 1.35; margin: 0 0 6px; color: #222b37; }
.ed-call-caption { color: #697483; margin: 0 0 13px; font-size: 13px; }
.ed-call-deadline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #596676; margin: 0; }
.ed-call-deadline .icon { width: 15px; height: 15px; align-self: center; }
.ed-call-deadline strong { color: #263241; }
.ed-call-action .button { white-space: nowrap; }
.ed-empty-calls { padding: 24px; background: #f7f8fa; border: 1px dashed #dce1e7; border-radius: 8px; color: #5e6876; font-size: 13px; }
.ed-empty-calls p { margin-bottom: 12px; }
.ed-empty-calls a { display: inline-flex; gap: 7px; align-items: center; font-weight: 700; }
.ed-empty-calls a .icon { width: 15px; height: 15px; }
.ed-date-list { padding: 0; margin: 0; list-style: none; }
.ed-date-item { display: flex; gap: 16px; align-items: center; padding: 13px 0; border-top: 1px solid #edf0f3; }
.ed-date-item:first-child { border-top: 0; }
.ed-calendar { border: 1px solid #e4e5ea; background: #faf7f8; border-radius: 7px; width: 58px; min-width: 58px; padding: 5px; display: flex; flex-direction: column; align-items: center; }
.ed-calendar span { font-size: 10px; text-transform: uppercase; font-weight: 800; color: #a53549; }
.ed-calendar strong { font-size: 20px; font-weight: 850; line-height: 1.2; color: #273240; }
.ed-date-label { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #67717c; }
.ed-date-label strong { font-size: 14px; color: #26313e; }
.ed-subheading { font-size: 14px; margin: 22px 0 12px; color: #3b4756; }
.ed-topic-list { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0 0 23px; }
.ed-topic-list li { border: 1px solid #e4e7eb; border-radius: 5px; background: #f8f9fb; color: #4e5968; padding: 6px 12px; font-size: 12px; }
.ed-subtheme-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 30px; margin: 0; padding-left: 20px; font-size: 13px; color: #536070; }
.ed-subtheme-list li { padding-left: 2px; }
.ed-guideline-block { margin-bottom: 26px; }
.ed-guideline-block h3 { font-size: 15px; margin: 0 0 12px; color: #2d3644; }
.ed-guideline-block:last-child { margin-bottom: 0; }
.ed-side { display: grid; gap: 17px; min-width: 0; }
.ed-side-submit { background: linear-gradient(142deg, #963042, #752435); color: #fff; padding: 26px; border-radius: 9px; }
.ed-side-submit-icon { width: 39px; height: 39px; border-radius: 7px; background: #ffffff25; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ed-side-submit-icon .icon { filter: brightness(0) invert(1); }
.ed-side-kicker { display: block; color: #f4c5cd; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.ed-side-submit h2 { color: #fff; font: 600 25px/1.25 Georgia,serif; margin: 0 0 12px; }
.ed-side-submit p { color: #f6e1e5; font-size: 12px; line-height: 1.8; margin-bottom: 20px; }
.ed-side-submit .button { background: #fff; border-color: #fff; color: #8c293b; width: 100%; min-height: 45px; }
.ed-side-submit .button:hover { background: #faecf0; }
.ed-side-submit .button .icon { filter: none; }
.ed-side-card { background: #fff; border: 1px solid #e4e7eb; border-radius: 9px; padding: 21px; }
.ed-side-card h2 { color: #27313c; font-size: 14px; font-weight: 800; margin: 0 0 16px; }
.ed-facts { margin: 0; display: grid; gap: 11px; }
.ed-facts > div { display: grid; grid-template-columns: minmax(70px, 95px) minmax(0, 1fr); gap: 10px; font-size: 12px; line-height: 1.55; }
.ed-facts dt { color: #7b8490; }
.ed-facts dd { margin: 0; color: #3a4655; font-weight: 700; }
.ed-other-editions { display: grid; }
.ed-other-link { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #eceef1; color: #596574; font-size: 12px; }
.ed-other-link:last-child { border-bottom: 0; padding-bottom: 0; }
.ed-other-link:first-child { padding-top: 0; }
.ed-other-link[aria-current="page"] { color: #af2e43; font-weight: 800; }
.ed-other-link .icon { width: 15px; height: 15px; }
.ed-current-label { font-size: 10px; color: #ac3447; background: #f9e9ec; border-radius: 4px; padding: 3px 7px; }
.ed-contact p, .ed-side-more p { font-size: 12px; line-height: 1.75; color: #697482; margin: 0 0 12px; }
.ed-contact a, .ed-side-more a { color: #9d293d; font-weight: 700; font-size: 12px; overflow-wrap: anywhere; }
.ed-side-more a { display: inline-flex; align-items: center; gap: 6px; }
.ed-side-more a .icon { width: 14px; height: 14px; }
@media(max-width: 960px) {
    .ed-hero-grid.ed-has-cover { grid-template-columns: minmax(0, 1fr) 270px; gap: 26px; }
    .ed-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 26px; }
    .ed-call-card { align-items: flex-start; flex-direction: column; }
}
@media(max-width: 700px) {
    .ed-hero { padding: 22px 0 30px; }
    .ed-breadcrumbs { margin-bottom: 28px; }
    .ed-breadcrumbs a { max-width: 160px; }
    .ed-hero-grid.ed-has-cover { display: flex; flex-direction: column; align-items: stretch; gap: 27px; }
    .ed-cover { max-width: 420px; }
    .ed-hero h1 { font-size: clamp(37px, 9vw, 50px); }
    .ed-hero-theme { font-size: 21px; }
    .ed-hero-actions .button { width: 100%; }
    .ed-layout { display: flex; flex-direction: column; padding-top: 32px; padding-bottom: 45px; gap: 8px; }
    .ed-main, .ed-side { width: 100%; }
    .ed-tabs { gap: 21px; }
    .ed-tabs a { padding: 13px 0 10px; }
    .ed-panel { margin-bottom: 32px; padding-bottom: 30px; }
    .ed-subtheme-list { grid-template-columns: minmax(0,1fr); }
    .ed-call-card { padding: 18px; }
    .ed-call-action, .ed-call-action .button { width: 100%; }
    .ed-side { gap: 15px; }
    .ed-facts > div { grid-template-columns: minmax(80px, 110px) minmax(0,1fr); }
}
@media(prefers-reduced-motion: reduce) { .ed-tabs { scroll-behavior: auto; } }

/* Public landing page: complementary design to the edition editorial layout. */
.lp-page { overflow: clip; }
.lp-hero { position: relative; isolation: isolate; background: radial-gradient(ellipse at 75% 20%, #fff8f3 0%, transparent 45%),linear-gradient(105deg, #fff 10%, #faf5f2 72%, #f5ebe8); border-bottom: 1px solid #ece5e3; }
.lp-hero::before { content: ''; position: absolute; width: 450px; height: 450px; right: -160px; top: -280px; border: 1px solid #a9435238; border-radius: 50%; z-index: -1; }
.lp-hero-grid { min-height: 498px; display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(320px, .87fr); gap: 26px; align-items: center; }
.lp-hero-copy { padding: 62px 0 96px; max-width: 650px; }
.lp-overline { display: inline-flex; gap: 9px; align-items: center; font-size: 11px; letter-spacing: .15em; font-weight: 850; text-transform: uppercase; color: #9b3042; }
.lp-overline-dot { width: 7px; height: 7px; background: #af3144; border-radius: 50%; }
.lp-hero h1 { font-size: clamp(39px, 4.4vw, 65px); letter-spacing: -.055em; font-weight: 800; line-height: 1.09; color: #222936; margin: 22px 0 23px; }
.lp-hero h1 em { font: italic 500 1em/1.1 Georgia, 'Times New Roman', serif; color: #a12a3d; letter-spacing: -.05em; }
.lp-lead { color: #596370; font-size: 15px; line-height: 1.9; max-width: 560px; margin-bottom: 28px; }
.lp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.lp-hero-primary { min-height: 49px; padding: 12px 21px; border-radius: 6px; }
.lp-hero-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #3d4755; font-weight: 750; }
.lp-hero-link .icon { width: 14px; height: 14px; }
.lp-hero-footnote { color: #8e9298; font-size: 11px; letter-spacing: .015em; margin: 29px 0 0; }
.lp-hero-art { height: 405px; min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; }
.lp-art-halo { position: absolute; border: 1px solid rgba(160, 48, 66, .16); width: 380px; height: 380px; border-radius: 50%; transform: rotate(-22deg); }
.lp-art-halo::before, .lp-art-halo::after { content: ''; position: absolute; border: 1px solid rgba(160,48,66,.13); inset: 28px; border-radius: 50%; }
.lp-art-halo::after { inset: 58px; }
.lp-art-back { position: absolute; background: #d3b2ac; width: 250px; height: 314px; border-radius: 6px; transform: translate(17px,10px) rotate(10deg); box-shadow: 0 15px 36px #45292b18; }
.lp-art-book { width: 247px; height: 312px; padding: 27px 29px 23px; display: flex; flex-direction: column; position: relative; background: linear-gradient(135deg,#9b233a 5%,#761829 95%); color: white; box-shadow: 0 21px 45px #4c122531; border-radius: 4px 9px 9px 4px; transform: translate(-12px,-5px) rotate(-7deg); overflow: hidden; }
.lp-art-book::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid #ffffff2b; bottom: -130px; right: -100px; }
.lp-art-crest { width: 35px; height: 35px; border: 1px solid #f1cbbf; color: #f8dbd2; border-radius: 50%; display: grid; place-items: center; font-family: Georgia, serif; font-size: 11px; margin-bottom: 24px; }
.lp-art-book-top { color: #f9d9d3; font-size: 9px; letter-spacing: .14em; font-weight: 750; }
.lp-art-rule { display: block; width: 30px; height: 1px; background: #f3cabe; margin: 18px 0; }
.lp-art-book strong { color: #fff; font: 500 25px/1.26 Georgia, serif; }
.lp-art-book-bottom { font-size: 8px; letter-spacing: .15em; color: #f0c8c5; margin-top: auto; z-index: 1; }
.lp-art-sticker { display: flex; align-items: center; gap: 11px; position: absolute; z-index: 2; border: 1px solid #eee3dd; background: #fff; padding: 11px 15px; border-radius: 10px; color: #6c7581; font-size: 10px; line-height: 1.45; box-shadow: 0 14px 35px #4d2d3119; }
.lp-art-sticker strong { font-size: 12px; color: #253140; }
.lp-art-sticker-top { right: -4px; top: 42px; }
.lp-art-sticker-bottom { left: -12px; bottom: 36px; }
.lp-sticker-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: #f9edf0; color: #ad3548; font-size: 11px; font-weight: 800; }
.lp-discovery { margin-top: -45px; position: relative; z-index: 2; }
.lp-discovery-panel { margin: 0; padding: 27px 30px 24px; border: 1px solid #e8e4e2; border-radius: 11px; background: #fff; box-shadow: 0 18px 48px #29242a0d,0 2px 10px #29242a08; }
.lp-discovery-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.lp-small-kicker { color: #a83349; display: block; font-size: 10px; letter-spacing: .15em; font-weight: 850; text-transform: uppercase; margin-bottom: 6px; }
.lp-discovery-heading h2 { color: #25303d; font-size: 21px; letter-spacing: -.02em; margin: 0; }
.lp-search-hint { color: #939ba3; font-size: 11px; }
.lp-search-row { max-width: none; }
.lp-search-row .search-field input { height: 49px; border-radius: 6px; border-color: #dae0e5; }
.lp-search-row .button { min-width: 125px; gap: 10px; border-radius: 6px; }
.lp-search-row .button .icon { width: 16px; height: 16px; }
.lp-type-filters { margin-top: 0; padding-top: 16px; }
.lp-type-filters .type-choice span { border-radius: 40px; padding: 7px 16px; font-size: 11px; }
.lp-categories { padding-top: 68px; padding-bottom: 64px; }
.lp-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 25px; }
.lp-section-head h2 { font-size: clamp(23px, 2.6vw, 31px); letter-spacing: -.035em; line-height: 1.22; margin: 0; color: #232d3b; }
.lp-section-head p { font-size: 13px; margin: 10px 0 0; color: #7d8691; }
.lp-text-link { font-size: 12px; color: #a02c40; font-weight: 750; display: inline-flex; align-items: center; gap: 7px; }
.lp-text-link .icon { width: 15px; height: 15px; }
.lp-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.lp-category-card { display: flex; flex-direction: column; align-items: flex-start; position: relative; padding: 27px 25px; background: #fff; border: 1px solid #e4e7eb; border-radius: 9px; color: #293443; min-height: 211px; transition: transform .18s, box-shadow .18s,border-color .18s; }
.lp-category-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px #222d3d0d; border-color: #d8bdc3; text-decoration: none; }
.lp-category-icon { width: 38px; height: 38px; border-radius: 8px; display: inline-grid; place-items: center; background: #f8edf0; margin-bottom: 16px; }
.lp-category-icon .icon { width: 20px; height: 20px; }
.lp-category-label { color: #a44e5d; text-transform: uppercase; font-size: 9px; letter-spacing: .13em; font-weight: 850; }
.lp-category-card strong { font-size: 20px; line-height: 1.25; margin: 2px 0 7px; letter-spacing: -.022em; }
.lp-category-caption { font-size: 11px; color: #7b8490; line-height: 1.65; max-width: 250px; }
.lp-category-arrow { position: absolute; right: 25px; top: 26px; }
.lp-category-arrow .icon { width: 15px; height: 15px; }
.lp-catalog-section { padding: 57px 0 76px; background: #f7f8fa; border-top: 1px solid #eff0f2; border-bottom: 1px solid #eff0f2; }
.lp-catalog-head { margin-bottom: 26px; }
.lp-result-count { font-size: 11px; color: #626c78; padding: 8px 12px; border: 1px solid #dbe0e5; border-radius: 24px; background: white; white-space: nowrap; }
.lp-result-count a { margin-left: 7px; font-weight: 700; }
.lp-edition-list .edition { border-color: #e4e7ec; border-radius: 10px; box-shadow: 0 5px 14px #1d273405; }
.lp-edition-list .edition:hover { box-shadow: 0 14px 36px #1d273412; border-color: #d4c0c4; }
.lp-edition-list .edition-cover { background: linear-gradient(130deg, #f0e9e9, #f8f7f6); }
.lp-edition-list .edition-cover img { height: 160px; object-fit: contain; }
.lp-edition-list .edition-topline { padding-top: 20px; }
.lp-edition-list .edition .body { padding-top: 15px; }
.lp-edition-list .edition h2 { font-size: 20px; letter-spacing: -.025em; }
.lp-edition-list .edition-footer a { color: #a52c40; }
.lp-edition-list .edition-footer { padding: 17px 0; }
.lp-bottom-section { padding-top: 65px; padding-bottom: 74px; }
.lp-bottom-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 12px; padding: 35px 40px; color: #fff; background: radial-gradient(circle at 95% 20%, #ad5261 0%, transparent 28%),linear-gradient(115deg,#751b2b,#a42f43); }
.lp-bottom-banner .lp-small-kicker { color: #efd1d5; }
.lp-bottom-banner h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 7px; }
.lp-bottom-banner p { color: #f6dde1; margin: 0; font-size: 13px; }
.lp-bottom-action { flex: none; background: #fff; border-color: #fff; color: #862039; }
.lp-bottom-action:hover { color: #732034; background: #fbf1f2; }
.lp-bottom-action .icon { filter: none; }
@media(max-width: 960px) {
    .lp-hero-grid { grid-template-columns: minmax(0,1fr) minmax(260px,.8fr); }
    .lp-hero h1 { font-size: clamp(38px, 5vw, 54px); }
    .lp-hero-art { transform: scale(.85); transform-origin: center; }
}
@media(max-width: 700px) {
    .lp-hero-grid { display: block; min-height: 0; }
    .lp-hero-copy { padding: 48px 0 82px; }
    .lp-hero h1 { font-size: clamp(38px, 10vw, 51px); }
    .lp-lead { font-size: 14px; }
    .lp-hero-art { display: none; }
    .lp-discovery { margin-top: -38px; }
    .lp-discovery-panel { padding: 23px 17px 19px; }
    .lp-discovery-heading { align-items: flex-start; }
    .lp-discovery-heading h2 { font-size: 20px; }
    .lp-search-hint { display: none; }
    .lp-search-row { gap: 7px; }
    .lp-search-row .search-field input { padding-right: 7px; font-size: 12px; }
    .lp-search-row .button { min-width: auto; padding: 8px 11px; font-size: 12px; }
    .lp-search-row .button .icon { display: none; }
    .lp-categories { padding-top: 48px; padding-bottom: 47px; }
    .lp-category-grid { grid-template-columns: 1fr; gap: 12px; }
    .lp-category-card { min-height: 0; padding: 19px 22px; }
    .lp-category-icon { margin-bottom: 10px; }
    .lp-catalog-section { padding: 45px 0 53px; }
    .lp-bottom-section { padding-top: 44px; padding-bottom: 46px; }
    .lp-bottom-banner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 24px; }
}
@media(prefers-reduced-motion: reduce) { .lp-category-card { transition: none; } }

/* Independent calls: each edition may have more than one call with its own dates. */
.ed-calls-intro { color:#728090; font-size:13px; line-height:1.7; margin:8px 0 0; max-width:600px; }
.ed-call-card { scroll-margin-top: 100px; align-items:stretch; }
.ed-call-details { display:flex; flex-direction:column; justify-content:center; }
.ed-call-dates { display:flex; flex-wrap:wrap; gap:12px 24px; margin:14px 0 0; }
.ed-call-dates > div { display:flex; flex-wrap:wrap; align-items:baseline; gap:7px; font-size:12px; }
.ed-call-dates dt { color:#6e7887; font-weight:600; }
.ed-call-dates dd { margin:0; color:#273341; font-weight:750; }
.ed-call-action { display:flex; align-items:center; flex-shrink:0; }
.ed-mini-status-upcoming { color:#926515; }
.ed-mini-status-closed { color:#6b7480; }
.ed-call-upcoming { border-left:3px solid #d0a345; }
.ed-call-closed { border-left:3px solid #c8ced6; background:#f9fafb; }
.ed-call-open { border-left:3px solid #1d8868; }
.ed-call-inactive-action { display:inline-flex; padding:10px 14px; background:#edf0f3; border:1px solid #dce1e7; color:#647080; border-radius:6px; font-size:12px; font-weight:700; text-align:center; }
@media (max-width:960px) { .ed-call-action { width:100%; } .ed-call-action .button { width:100%; } }

/* === Public site v2: shared shell, centered hero, listing views and true tabs === */
.site-header { position: relative; z-index: 20; }
.main-nav { min-height: 82px; }
.nav-menu-button { display: none; gap: 7px; padding: 8px 11px; border: 1px solid #d7dce1; background: #fff; border-radius: 6px; color: #343c48; }
.nav-links > a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 9px; }
.footer-row { flex-wrap: wrap; }
.footer-identity { display: flex; flex-direction: column; }
.footer-copyright { display: block; font-size: 11px; color: #818a96; }
/* Home search belongs within lp-hero, not in the global header. */
.lp-hero-centred { overflow: hidden; background: radial-gradient(circle at 87% 12%, #f6deda 0, transparent 32%),radial-gradient(circle at 9% 95%, #f6e6e8 0, transparent 30%),linear-gradient(115deg,#ffffff,#fff9f7); }
.lp-hero-centred::after { content: ''; position: absolute; inset: auto auto -165px -165px; width: 340px; height: 340px; border: 1px solid #ad344627; border-radius: 50%; pointer-events: none; }
.lp-hero-centred-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(64px, 8vw, 106px); padding-bottom: clamp(58px, 7vw, 92px); }
.lp-hero-centred h1 { font-size: clamp(40px, 5.8vw, 74px); max-width: 900px; margin: 16px auto 18px; }
.lp-hero-centred .lp-overline { justify-content: center; }
.lp-hero-centred .lp-lead { max-width: 690px; font-size: clamp(14px, 1.4vw, 17px); margin: 0 auto 25px; }
.lp-central-search { display: block; width: min(740px, 100%); margin: 0 auto; padding: 15px; background: #fff; border: 1px solid #e8dedc; box-shadow: 0 16px 45px #76334416; border-radius: 14px; text-align: left; }
.lp-central-search .lp-search-row { max-width: none; }
.lp-central-search .lp-search-row input { height: 54px; font-size: 14px; background: #fdfefe; }
.lp-central-search .lp-search-row .button { min-width: 116px; }
.lp-central-search .type-filters { justify-content: center; }
.lp-central-search .type-choice span { min-height: 32px; }
.lp-centred-actions { justify-content: center; margin: 25px 0 0; }
.lp-centred-actions a { text-decoration: underline; text-underline-offset: 5px; }
/* Page headers / publication detail. */
.pub-heading { background: linear-gradient(120deg,#fafbfc,#f9edef); padding: 35px 0 42px; }
.pub-heading h1 { font-size: clamp(30px, 4.1vw, 49px); letter-spacing: -.035em; max-width: 850px; }
.pub-heading > .wrap > p { color: #586677; max-width: 660px; }
.catalog-filter-form { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; padding: 16px; background: #fafbfc; border: 1px solid #e5e8ed; border-radius: 10px; margin-bottom: 30px; }
.catalog-filter-form .search-field { min-width: min(280px, 100%); }
.catalog-filter-form .search-field input { height: 46px; }
.catalog-type-select select { height: 46px; max-width: 100%; padding: 8px 33px 8px 11px; background: white; border-radius: 5px; border: 1px solid #ccd3da; color: #485363; }
.catalog-filter-form .button { min-height: 46px; }
.catalog-clear { align-self: center; font-size: 12px; padding: 8px; font-weight: 700; }
.publication-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(175px, 300px); gap: clamp(24px, 5vw, 72px); align-items: center; }
.publication-hero .heading-copy h1 { margin-top: 12px; }
.pub-hero-description { font-size: 13px; line-height: 1.7; max-width: 580px; margin-top: 15px; }
.pub-cover { max-width: 300px; background: #fff; border: 1px solid #e5e6e9; border-radius: 10px; padding: 12px; box-shadow: 0 12px 32px #1b293415; }
.pub-cover img { display: block; max-width: 100%; max-height: 330px; object-fit: contain; margin: auto; }
.pub-about { padding-top: 38px; padding-bottom: 28px; border-bottom: 1px solid #eceef2; }
.pub-about .ed-rich-content { max-width: 920px; }
.pub-editions { min-height: 280px; }
/* Card/list toggle is independent of backend pagination. */
.listing-shell { min-width: 0; }
.listing-tools { display: flex; align-items: center; justify-content: flex-end; gap: 11px; margin: 0 0 18px; }
.listing-tools-label { color: #6e7683; font-size: 12px; }
.view-toggle { display: inline-flex; border: 1px solid #d8dfe5; border-radius: 8px; background: #fff; padding: 3px; gap: 3px; }
.view-toggle button { background: transparent; color: #505d6b; border: 0; font-size: 12px; padding: 7px 10px; border-radius: 5px; display: inline-flex; align-items: center; gap: 5px; min-width: 74px; justify-content: center; }
.view-toggle button[aria-pressed="true"] { background: #a8263c; color: white; box-shadow: 0 1px 3px #43202d14; }
.listing-items[data-view="grid"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.listing-items[data-view="list"] { display: flex; flex-direction: column; gap: 14px; }
.listing-items .edition { min-width: 0; }
.listing-items[data-view="list"] .edition { width: 100%; }
.listing-items[data-view="list"] .edition-card-main, .listing-items[data-view="list"] .publication-card-main { display: flex; align-items: stretch; gap: 5px; min-width: 0; }
.listing-items[data-view="list"] .edition-cover { width: 190px; flex: 0 0 190px; border-bottom: 0; border-right: 1px solid var(--line); }
.listing-items[data-view="list"] .edition-cover img { max-width: 100%; height: 170px; }
.listing-items[data-view="list"] .edition-card-content { flex: 1; min-width: 0; }
.listing-items[data-view="list"] .edition-footer { margin-top: auto; }
.publication-card .publication-card-main { flex: 1; min-width: 0; }
.publication-card .publication-card-media { display: flex; align-items: center; justify-content: center; min-height: 150px; background: #f7f3f3; border-bottom: 1px solid #e9e5e6; }
.publication-card .publication-card-media img { display: block; max-width: 100%; width: auto; height: 140px; padding: 12px; object-fit: contain; }
.publication-card .publication-card-placeholder .icon, .edition-cover-placeholder .icon { width: 52px; height: 52px; opacity: .45; }
.publication-card .publication-card-copy { min-width: 0; flex: 1; }
.publication-card .edition-topline { padding-top: 15px; }
.publication-card .body { padding-top: 9px; }
.listing-items[data-view="list"] .publication-card .publication-card-main { gap: 0; }
.listing-items[data-view="list"] .publication-card .publication-card-media { flex: 0 0 190px; width: 190px; border-right: 1px solid #e9e5e6; border-bottom: 0; }
.edition-cover-placeholder { display: flex; align-items: center; justify-content: center; height: 176px; }
.listing-items[data-view="list"] .edition-cover-placeholder { height: auto; min-height: 150px; }
/* Accessible numbered server pagination. */
.pagination { flex-wrap: wrap; padding-top: 29px; }
.pagination .page-summary { color: #66717c; }
.pagination .page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pagination .page-links > * { min-height: 36px; min-width: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 11px; border: 1px solid #e0e4e9; border-radius: 6px; font-size: 12px; }
.pagination .page-links .page-current { background: var(--red); color: white; border-color: var(--red); font-weight: 800; }
.pagination .page-links .page-disabled { color: #99a1ad; background: #f6f7f9; }
.pagination .page-links .page-ellipsis { border: 0; min-width: 0; padding: 0 4px; }
.pagination .page-links a:hover { background: #fff3f5; text-decoration: none; }
/* Edition hero + edition artwork safe against previous CSS caching issues. */
.ed-hero-grid.ed-has-cover { grid-template-columns: minmax(0,1fr) minmax(210px, 345px); }
.ed-cover, .ed-cover-inner, .ed-cover-inner img { min-width: 0; max-width: 100%; }
.ed-cover-inner img { width: 100%; height: auto; max-height: 375px; object-fit: contain; }
.ed-hero .ed-cover { width: 100%; max-width: 345px; }
/* True tabs — no anchor hash, no scrolling through other tabs' content. */
.ed-tabbar { position: relative; top: auto; }
.ed-tabs { scroll-margin-top: 20px; }
.ed-tabs [role="tab"] { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; padding: 17px 0 14px; margin: 0; font: 700 12px/1.5 system-ui,sans-serif; color: #4d5867; }
.ed-tabs [role="tab"]:hover, .ed-tabs [role="tab"][aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.ed-tabs [role="tab"]:focus-visible { outline-offset: -3px; }
.ed-tabs a.ed-tab-external { display: inline-flex; margin-left: auto; }
.ed-main [role="tabpanel"][hidden] { display: none !important; }
.ed-main [role="tabpanel"] { border-bottom: 0; margin: 0; padding: 0; min-height: 220px; }
.ed-main [role="tabpanel"]:focus { outline: none; }
.ed-main [role="tabpanel"]:focus-visible { outline: 2px solid #167c8e; outline-offset: 5px; }
.ed-main .ed-section-title { margin-bottom: 25px; }
/* Multiple calls: each has its own state, CTA and optional rich HTML. */
.ed-call-listing .listing-tools { margin-bottom: 15px; }
.ed-calls-list[data-view="list"] { display: flex; flex-direction: column; gap: 13px; }
.ed-calls-list[data-view="grid"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ed-calls-list .ed-call-card { margin: 0; min-width: 0; }
.ed-calls-list[data-view="grid"] .ed-call-card { flex-direction: column; align-items: stretch; }
.ed-calls-list[data-view="grid"] .ed-call-action { width: 100%; }
.ed-calls-list[data-view="grid"] .ed-call-action .button { width: 100%; }
.ed-call-caption.ed-rich-content { max-width: 680px; max-height: 190px; overflow: auto; font-size: 12px; }
.client-pagination { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 12px; padding: 24px 0 0; font-size: 12px; color: #586674; }
.client-pagination button { border: 1px solid #d9dfe5; background: #fff; border-radius: 6px; padding: 7px 12px; font-size: 12px; color: #8e2638; font-weight: 750; }
.client-pagination button:disabled { background: #f7f8fa; color: #9ba3ae; cursor: not-allowed; }
/* Responsive catalogue, navigation and hero */
@media (max-width: 1020px) {
    .listing-items[data-view="grid"] { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ed-hero-grid.ed-has-cover { grid-template-columns: minmax(0,1fr) 265px; gap: 26px; }
    .nav-links { gap: 12px; }
}
@media (max-width: 760px) {
    .wrap { padding-left: 18px; padding-right: 18px; }
    .main-nav { min-height: 72px; }
    .nav-menu-button { display: inline-flex; align-items: center; }
    .nav-links.nav-enhanced { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px; border-bottom: 1px solid #e1e4e9; background: #fff; box-shadow: 0 10px 22px #1c273118; flex-direction: column; align-items: stretch; z-index: 50; }
    .nav-links.nav-enhanced.is-open { display: flex; }
    .nav-links.nav-enhanced > a { padding: 9px; }
    .nav-links.nav-enhanced > .button { text-align: center; }
    .lp-hero-centred-inner { padding: 56px 18px 60px; }
    .lp-hero-centred h1 { font-size: clamp(37px, 8vw, 54px); }
    .lp-hero-centred .lp-lead { font-size: 14px; }
    .lp-central-search { padding: 12px; }
    .lp-central-search .lp-search-row { gap: 8px; }
    .lp-central-search .lp-search-row input { font-size: 13px; }
    .lp-central-search .lp-search-row .button { min-width: 82px; }
    .lp-central-search .type-filters { justify-content: center; }
    .catalog-filter-form .search-field { flex-basis: 100%; }
    .publication-hero { grid-template-columns: minmax(0,1fr) 190px; gap: 18px; }
    .ed-calls-list[data-view="grid"] { grid-template-columns: 1fr; }
    .ed-tabs { gap: 18px; }
    .ed-tabs [role="tab"] { padding: 15px 0 12px; }
    .ed-tabs .ed-tab-external { margin-left: 0; }
}
@media (max-width: 600px) {
    .listing-items[data-view="grid"] { grid-template-columns: minmax(0,1fr); }
    .listing-items[data-view="list"] .edition-cover, .listing-items[data-view="list"] .publication-card .publication-card-media { flex-basis: 100px; width: 100px; }
    .listing-items[data-view="list"] .edition-cover img { max-height: 180px; height: 100%; }
    .listing-items[data-view="list"] .publication-card .publication-card-media img { width: 100%; height: 100px; padding: 7px; }
    .edition-footer { flex-wrap: wrap; }
    .publication-hero { grid-template-columns: 1fr; }
    .pub-cover { max-width: 200px; }
    .catalog-type-select { flex: 1; }
    .catalog-type-select select { width: 100%; }
    .catalog-filter-form .button { flex: 1; }
    .pagination { justify-content: center; }
    .page-summary { flex: 0 0 100%; text-align: center; }
    .lp-central-search .lp-search-row .button .icon { display: none; }
    .lp-central-search .lp-search-row .button { padding: 8px 12px; }
    .ed-hero-grid.ed-has-cover { display: flex; flex-direction: column; }
    .ed-cover, .ed-hero .ed-cover { max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Compact public headers keep results and edition tabs in the first viewport. */
.ed-side-list { list-style: none; padding: 0; margin: 0; }
.ed-side-list li { display: grid; gap: 6px; padding: 12px 0; font-size: 13px; overflow-wrap: anywhere; }
.ed-side-list li + li { border-top: 1px solid #e4e7eb; }
.ed-side-list li:first-child { padding-top: 0; }
.ed-side-list li:last-child { padding-bottom: 0; }
.ed-side-list span, .ed-side-list time { color: #697482; font-size: 12px; }
.ed-side-list a, .ed-resource-table a { display: inline-flex; align-items: center; gap: 5px; color: #9d293d; font-weight: 700; }
.ed-side-list .icon, .ed-resource-table .icon { width: 14px; height: 14px; flex-shrink: 0; }
.ed-resource-scroll { overflow-x: auto; }
.ed-resource-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.ed-resource-table th, .ed-resource-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid #e4e7eb; vertical-align: top; overflow-wrap: anywhere; }
.ed-resource-table th { color: #697482; font-size: 12px; }
.ed-resource-table th:nth-child(2) { width: 70px; }
.ed-resource-table th:last-child { width: 110px; }
.ed-resource-table a { white-space: nowrap; }
.ed-resource-table p { margin: 5px 0 0; color: #697482; font-size: 12px; }
.ed-resource-table small { display: block; margin-top: 5px; color: #697482; }
.lp-hero.lp-hero-compact, .pub-heading.pub-heading-compact, .ed-hero.ed-hero-compact { background: #f7f8fa; }
.lp-hero-compact::before, .lp-hero-compact::after { display: none; }
.lp-hero-compact .lp-hero-centred-inner { align-items: flex-start; text-align: left; padding-top: 24px; padding-bottom: 24px; }
.lp-hero-compact h1, .pub-heading-compact h1 { font-size: 34px; letter-spacing: 0; line-height: 1.2; margin: 10px 0; }
.lp-hero-compact .lp-lead { margin: 0 0 18px; max-width: 760px; font-size: 14px; }
.lp-hero-compact .lp-central-search, .pub-heading-compact .lp-central-search { width: min(760px,100%); margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.lp-hero-compact .lp-search-row input, .pub-heading-compact .lp-search-row input { height: 44px; }
.lp-hero-compact .lp-search-row .button, .pub-heading-compact .lp-search-row .button { min-height: 44px; min-width: 96px; }
.lp-hero-compact .type-filters, .pub-heading-compact .type-filters { justify-content: flex-start; padding-top: 10px; gap: 8px; }
.lp-hero-compact .type-choice span, .pub-heading-compact .type-choice span { border-radius: 5px; padding: 5px 12px; }
.lp-catalog-section { padding: 24px 0 40px; }
.lp-catalog-head { margin-bottom: 14px; }
.lp-catalog-head h2 { font-size: 22px; letter-spacing: 0; }
.pub-heading.pub-heading-compact { padding: 20px 0 24px; }
.pub-heading-compact .breadcrumbs { margin-bottom: 12px; }
.pub-heading-compact > .wrap > p { margin-bottom: 16px; font-size: 14px; }
.pub-heading-compact .pub-cover { max-width: 160px; padding: 8px; border-radius: 6px; box-shadow: none; }
.pub-heading-compact .pub-cover img { max-height: 140px; }
.pub-heading-compact .publication-hero { grid-template-columns: minmax(0,1fr) 160px; }
.ed-hero.ed-hero-compact { padding: 18px 0 20px; }
.ed-hero-compact .ed-breadcrumbs { margin-bottom: 12px; }
.ed-hero-compact .ed-eyebrow { margin-bottom: 10px; }
.ed-hero-compact .ed-state-line { margin-bottom: 10px; }
.ed-hero-compact h1 { font-size: 32px; line-height: 1.2; letter-spacing: 0; margin-bottom: 8px; }
.ed-hero-compact .ed-hero-theme { font-size: 18px; margin-bottom: 0; }
.ed-hero-compact .ed-hero-meta { margin-top: 12px; }
.ed-hero-compact .ed-hero-actions { margin-top: 14px; gap: 10px; }
.ed-hero-compact .ed-hero-actions .button { min-height: 42px; padding: 8px 16px; width: auto; }
.ed-layout { padding-top: 26px; }
.ed-main .ed-inline-cover { width: 100%; max-width: none; margin: 0 0 24px; }
.ed-inline-cover img { display: block; width: 100%; max-height: 300px; object-fit: contain; }
@media(max-width: 760px) {
    .lp-hero-compact .lp-hero-centred-inner { padding-top: 18px; padding-bottom: 18px; }
    .lp-hero-compact h1, .pub-heading-compact h1 { font-size: 28px; }
    .lp-hero-compact .lp-lead { font-size: 13px; margin-bottom: 14px; }
    .lp-hero-compact .type-filters, .pub-heading-compact .type-filters { gap: 6px; }
    .lp-hero-compact .type-choice span, .pub-heading-compact .type-choice span { padding: 5px 9px; }
    .pub-heading.pub-heading-compact { padding: 16px 0 18px; }
    .pub-heading-compact .publication-hero { grid-template-columns: minmax(0,1fr) 96px; gap: 16px; }
    .ed-hero-compact h1 { font-size: 28px; }
    .ed-hero-compact .ed-hero-theme { font-size: 16px; }
    .ed-hero-compact .ed-eyebrow { gap: 7px; }
    .ed-hero-compact .ed-breadcrumbs { row-gap: 4px; }
    .ed-layout { padding-top: 20px; }
}
