/* Scoped to gallery, documents, contact and the news index only.
   Natural content height: no viewport squeezing or overlapping copy. */
.editorial-page {
    --editorial-night: #071522;
    --editorial-lime: #bcf52b;
    background: #f5f7f7;
}
.editorial-hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    color: #fff;
    background: var(--editorial-night);
}
.editorial-hero__inner {
    position: relative;
    z-index: 2;
    padding-block: clamp(3.25rem, 5.5vw, 5.5rem);
    pointer-events: none;
}
.editorial-hero__copy { width: 53%; max-width: 42rem; pointer-events: auto; }
.editorial-kicker {
    display: flex; align-items: center; gap: .75rem;
    margin: 0 0 1.6rem;
    color: #b6d5ed; font-size: .8rem; font-weight: 800;
    line-height: 1.6; letter-spacing: .13em; text-transform: uppercase;
}
.editorial-kicker::before {
    content: ""; flex: 0 0 auto; width: 1.8rem; height: 2px;
    background: var(--editorial-lime);
}
.editorial-hero h1, .contact-editorial h1 {
    max-width: 15ch; margin: 0;
    color: #fff; font-size: clamp(2.9rem, 4.9vw, 5rem);
    font-weight: 850; line-height: 1.08; letter-spacing: -.05em;
    text-wrap: balance; overflow-wrap: break-word;
}
.editorial-lead {
    max-width: 34rem; margin: 1.6rem 0 0;
    color: #c8d6e3; font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.75;
}
.editorial-hero__copy > .editorial-button { margin-top: 2rem; }
.editorial-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem;
    min-height: 3.25rem; max-width: 100%; padding: .9rem 1.35rem;
    border: 1px solid transparent; border-radius: .65rem;
    font-size: .9rem; font-weight: 800; line-height: 1.4;
    text-decoration: none; text-align: center;
    transition: background-color 180ms ease;
}
.editorial-button > span { flex: 0 0 auto; font-size: 1.1rem; }
.editorial-button--lime { color: #071522; background: var(--editorial-lime); }
.editorial-button--lime:hover { color: #071522; background: #d2ff69; }
.editorial-button--dark { color: #fff; background: #071522; }
.editorial-button--dark:hover { color: #fff; background: #16436a; }
.editorial-hero__art {
    position: absolute; z-index: 0; inset: 0 0 0 auto;
    width: 65%; margin: 0; background: #083059;
}
.editorial-hero__art picture, .editorial-hero__art img { display: block; width: 100%; height: 100%; }
.editorial-hero__art img { object-fit: cover; object-position: 65% center; }
.editorial-hero__art::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(0deg, rgba(7, 21, 34, .8), transparent 35%),
        linear-gradient(90deg, #071522, rgba(7, 21, 34, .96) 10%, rgba(7, 21, 34, .75) 28%, transparent 68%);
}
.editorial-hero__caption {
    position: absolute; z-index: 1;
    bottom: 2rem; right: max(2rem, calc((100vw - var(--container)) / 2));
    max-width: 24rem; padding: .3rem 0 .3rem 1rem;
    border-left: 2px solid var(--editorial-lime);
    color: #fff; font-size: .8rem; font-weight: 700; line-height: 1.6;
    letter-spacing: .025em; text-shadow: 0 1px 8px #071522;
}
.editorial-hero--news h1 { font-size: clamp(2.9rem, 4.4vw, 4.5rem); }
.editorial-hero--news .editorial-hero__inner { padding-block: clamp(3rem, 4.5vw, 4.5rem); }
.editorial-section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.editorial-status {
    display: grid; grid-template-columns: minmax(8rem, .55fr) minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start; gap: 1.5rem 3rem;
    padding-top: 1.75rem; border-top: 1px solid #cdd8df;
}
.editorial-status__label {
    display: flex; align-items: center; gap: .65rem;
    margin: .35rem 0 0; color: #44566c;
    font-size: .8rem; font-weight: 750; line-height: 1.6;
}
.editorial-status__label::before {
    content: ""; width: .45rem; height: .45rem; flex: 0 0 auto;
    border: 2px solid #007bff; border-radius: 50%;
}
.editorial-status h2 {
    max-width: 22ch; margin: 0;
    font-size: clamp(1.65rem, 2.4vw, 2.35rem); line-height: 1.18; letter-spacing: -.035em;
    text-wrap: balance;
}
.editorial-status__text, .editorial-body {
    margin: 0; color: #44566c; font-size: 1rem; line-height: 1.8;
}
.editorial-text-link {
    display: inline-flex; align-items: center; gap: 1rem;
    min-height: 2.75rem; color: #16436a;
    font-size: .9rem; font-weight: 750; line-height: 1.5; text-decoration: none;
}
.editorial-text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.editorial-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.8rem; }

/* Documents: actionable, scannable and deep-linkable from legacy URLs. */
.documents-library { scroll-margin-top: 8rem; }
.documents-library__heading {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .7fr);
    align-items: end; gap: 2rem 5rem; margin-bottom: 2.4rem;
}
.documents-library__heading h2 { margin: .7rem 0 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.05em; }
.documents-library__heading > p { margin: 0; color: #44566c; line-height: 1.75; }
.documents-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.document-card {
    position: relative; display: flex; flex-direction: column; min-height: 23rem; padding: 1.7rem;
    overflow: hidden; scroll-margin-top: 8rem;
    border: 1px solid #cedae2; border-radius: 1rem; background: #fff;
}
.document-card:target { border-color: #087fff; box-shadow: 0 0 0 4px rgba(8,127,255,.12); }
.document-card__number { position: absolute; inset: -.3rem .7rem auto auto; }
.document-card__number::before { content: attr(data-number); color: #edf2f4; font-size: 7rem; font-weight: 850; line-height: 1; letter-spacing: -.08em; }
.document-card__icon { position: relative; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: .75rem; color: #007bff; background: #eaf4ff; }
.document-card__icon svg { width: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.document-card__format { position: relative; margin: 1.5rem 0 .65rem; color: #53697b; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.document-card h3 { position: relative; margin: 0; max-width: 20ch; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -.035em; }
.document-card__text { position: relative; max-width: 34rem; margin: .9rem 0 1.3rem; color: #44566c; line-height: 1.7; }
.document-card > small { margin-top: auto; color: #607186; font-size: .75rem; }
.document-card__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid #e0e7eb; }
.document-card__actions a { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.1rem; min-height: 2.85rem; padding: .65rem .9rem; border: 1px solid #cdd9e1; border-radius: .55rem; color: #123f66; font-size: .82rem; font-weight: 800; text-decoration: none; }
.document-card__actions a:first-child { border-color: var(--primary); color: #fff; background: var(--primary); }
.document-card__actions a:hover { border-color: #071522; }

/* Contact: useful actions replace a decorative hero card. */
.contact-editorial {
    color: #fff; background: radial-gradient(ellipse at 95% 10%, #103e68, transparent 60%), #071522;
}
.contact-editorial__grid {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center; gap: clamp(2rem, 6vw, 6rem);
    padding-block: clamp(3rem, 5.5vw, 5.5rem);
}
.contact-editorial h1 { max-width: 14ch; font-size: clamp(2.75rem, 4.5vw, 4.6rem); }
.contact-direct { min-width: 0; scroll-margin-top: 10rem; }
.contact-direct > .editorial-kicker { margin-bottom: 1rem; }
.contact-direct address { font-style: normal; }
.contact-direct__link {
    display: grid; gap: .5rem; min-width: 0; padding: 1.4rem 0;
    border-top: 1px solid #476176;
    color: #fff; text-decoration: none;
}
.contact-direct__link:last-child { border-bottom: 1px solid #476176; }
.contact-direct__label {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    color: #c5d7e6; font-size: .85rem; font-weight: 700;
}
.contact-direct__label > span { color: var(--editorial-lime); font-size: 1.4rem; }
.contact-direct__link strong {
    color: #fff; font-size: clamp(1.4rem, 2.1vw, 2.1rem);
    font-weight: 750; line-height: 1.3; letter-spacing: -.03em; overflow-wrap: anywhere;
}
.contact-direct__link:hover strong { color: var(--editorial-lime); }
.contact-direct__hint { color: #b8cbda; font-size: .85rem; line-height: 1.6; }
.contact-location__grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}
.contact-location h2 { margin: 0; max-width: 18ch; font-size: clamp(2.1rem, 3.5vw, 3.5rem); line-height: 1.12; }
.contact-location .editorial-body { max-width: 35rem; margin-top: 1.4rem; }
.contact-location__address {
    display: grid; gap: .4rem; margin-top: 1.75rem; padding-top: 1.5rem;
    border-top: 1px solid #cdd8df; font-style: normal; overflow-wrap: anywhere;
}
.contact-location__address > span { color: #44566c; font-size: .8rem; font-weight: 700; }
.contact-location__address strong { font-size: 1.15rem; line-height: 1.5; }
.contact-location__address small { color: #44566c; font-size: .85rem; }
.contact-location__photo { position: relative; margin: 0; overflow: hidden; border-radius: .9rem; background: #071522; }
.contact-location__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.contact-location__photo::after {
    content: ""; position: absolute; inset: 45% 0 0; pointer-events: none;
    background: linear-gradient(transparent, rgba(7, 21, 34, .88));
}
.contact-location__photo figcaption {
    position: absolute; z-index: 1; inset: auto 1.5rem 1.5rem;
    display: grid; gap: .3rem; border-left: 2px solid var(--editorial-lime); padding-left: 1rem;
    color: #fff; line-height: 1.5; font-size: 1rem; font-weight: 750;
}
.contact-location__photo figcaption > span + span { font-size: .7rem; letter-spacing: .1em; color: #c8d6e3; }

/* People remain below reception and the venue, with a reusable card grid. */
.contact-team { border-top: 1px solid #d7e1e6; background: #edf2f4; }
.contact-team__layout {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start; gap: clamp(2rem, 5vw, 5rem);
}
.contact-team__intro h2 {
    margin: 0; color: #071522; font-size: clamp(1.85rem, 2.5vw, 2.5rem);
    line-height: 1.15; letter-spacing: -.035em;
}
.contact-team__intro .editorial-body { max-width: 32rem; margin-top: 1.2rem; }
.contact-team__note { max-width: 32rem; margin: 1.2rem 0 .4rem; color: #44566c; font-size: .9rem; line-height: 1.7; }
.contact-team__intro .editorial-text-link { text-decoration: underline; text-underline-offset: .25em; }
.contact-team__cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 1rem; min-width: 0;
}
.contact-person-card {
    min-width: 0; padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid #cedae2; border-radius: 1rem; background: #fff;
}
.contact-person-card__header { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; }
.contact-person-card__photo {
    display: block; width: 5rem; height: 5rem; border-radius: .8rem;
    object-fit: cover; object-position: center; background: #edf2f4;
}
.contact-person-card__initials {
    display: grid; place-items: center; width: 3.5rem; height: 3.5rem;
    border-radius: .8rem; color: #16436a; background: #eaf4ff;
    font-size: 1.05rem; font-weight: 800; letter-spacing: .04em;
}
.contact-person-card__role { margin: 0 0 .4rem; color: #44566c; font-size: .8rem; font-weight: 650; line-height: 1.5; }
.contact-person-card h3 { margin: 0; color: #071522; font-size: 1.45rem; line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.contact-person-card__details { margin: 1.5rem 0 0; font-style: normal; }
.contact-person-card__link {
    display: grid; gap: .35rem; min-height: 3.5rem; padding: .85rem 0;
    border-top: 1px solid #e0e7eb; color: #16436a; text-decoration: none;
}
.contact-person-card__link:last-child { padding-bottom: 0; }
.contact-person-card__label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #44566c; font-size: .75rem; line-height: 1.5; }
.contact-person-card__label > span { font-size: 1rem; }
.contact-person-card__value { font-size: 1rem; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.contact-person-card__link:hover .contact-person-card__value { text-decoration: underline; text-underline-offset: .25em; }

/* News cards keep real published records, images and pagination. */
.editorial-stories { scroll-margin-top: 10rem; }
.editorial-page--news .article-card {
    overflow: hidden; border: 1px solid #d7dfe5; border-radius: .85rem;
    background: #fff; box-shadow: none; transform: none;
}
.editorial-page--news .article-card:hover { border-color: #96b2c9; box-shadow: none; transform: none; }
.editorial-page--news .article-card .article-content { display: flex; flex-direction: column; }
.editorial-page--news .article-card .article-content h2 {
    margin-block: .85rem 1rem; line-height: 1.18; overflow-wrap: anywhere;
}
.editorial-page--news .article-content time { color: #526679; font-size: .8rem; font-weight: 650; }
.editorial-page--news .article-content p { margin: 0 0 1.25rem; color: #44566c; font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.editorial-story-link {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: 3rem; margin-top: auto; padding-top: 1rem;
    border-top: 1px solid #e0e7eb; color: #16436a;
    font-size: .85rem; font-weight: 750; text-decoration: none;
}
.editorial-story-link:hover { text-decoration: underline; }
.editorial-page--news .editorial-story-cover {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
    gap: .8rem; min-height: 12rem; aspect-ratio: 16 / 10; padding: 2rem;
    background: linear-gradient(135deg, #164b78, #071522 80%); color: #fff;
}
.editorial-story-cover > span:first-child { font-size: clamp(3rem, 5vw, 5rem); font-weight: 850; line-height: 1; letter-spacing: -.065em; }
.editorial-story-cover > span:last-child { color: #bcf52b; font-size: .7rem; font-weight: 700; letter-spacing: .15em; }
.editorial-news-empty { grid-column: 1 / -1; padding: 1.5rem 0; border-top: 1px solid #cdd8df; }
.editorial-news-empty > p:not(.editorial-status__label) { margin-block: 1.2rem; font-size: 1.15rem; }
.editorial-page--news .pagination:empty { display: none; }
.editorial-page a:focus-visible { outline: 3px solid #007bff; outline-offset: 5px; }
.editorial-hero a:focus-visible, .contact-editorial a:focus-visible { outline-color: var(--editorial-lime); }

@media (min-width: 48rem) and (max-width: 63.99rem) {
    .editorial-hero__copy { width: 61%; }
    .editorial-hero__art::after {
        background: linear-gradient(90deg, #071522, rgba(7, 21, 34, .92) 30%, rgba(7, 21, 34, .15)), linear-gradient(0deg, #071522, transparent 45%);
    }
    .editorial-hero__caption { display: none; }
    .editorial-status { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 2rem; }
    .editorial-status__label { grid-column: 1 / -1; }
}
@media (max-width: 47.99rem) {
    .editorial-hero__inner { padding-block: 2.75rem 1.75rem; }
    .editorial-hero__copy { width: 100%; max-width: none; }
    .editorial-kicker { margin-bottom: 1.25rem; font-size: .75rem; letter-spacing: .1em; }
    .editorial-hero h1, .contact-editorial h1 { max-width: 17ch; font-size: clamp(2.5rem, 9vw, 4.25rem); line-height: 1.1; }
    .editorial-lead { margin-top: 1.3rem; max-width: 38rem; }
    .editorial-hero__copy > .editorial-button { margin-top: 1.5rem; }
    .editorial-hero__art { position: relative; inset: auto; width: 100%; aspect-ratio: 3 / 2; }
    .editorial-hero__art img { object-position: center; }
    .editorial-hero__art::after { background: linear-gradient(180deg, #071522, transparent 20%, transparent 60%, rgba(7, 21, 34, .9)); }
    .editorial-hero__caption { inset: auto 1.25rem 1.25rem; max-width: none; }
    .editorial-status { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-top: 1.5rem; }
    .editorial-status h2 { max-width: 28ch; font-size: clamp(1.75rem, 5vw, 2.25rem); }
    .contact-editorial__grid, .contact-location__grid, .contact-team__layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .contact-editorial__grid { padding-block: 2.75rem; }
    .contact-direct__link strong { font-size: clamp(1.35rem, 5.1vw, 2rem); }
    .contact-location__photo { max-width: 36rem; width: 100%; }
    .editorial-page--news .article-card .article-content h2 { font-size: 1.65rem; }
    .documents-library__heading, .documents-grid { grid-template-columns: minmax(0, 1fr); }
    .documents-library__heading { gap: 1rem; }
    .document-card { min-height: 0; }
}
@media (min-width: 64rem) {
    .editorial-page--news .article-grid--1 > .article-card,
    .editorial-page--news .article-grid--2 { width: 100%; }
    .editorial-page--news .article-grid--1 .editorial-story-cover { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 24rem) {
    .editorial-button { width: 100%; }
    .editorial-hero h1, .contact-editorial h1 { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
    .editorial-button { transition: none; }
}
