/* Brand tokens live in assets/css/tokens.css, loaded site-wide from
   render_seo_tags(). The values that used to be redeclared here are gone so
   there is exactly one definition of --ss-navy et al. */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.editorial-page {
    margin: 0;
    overflow-x: hidden;
    background: var(--ss-paper);
    color: var(--ss-ink);
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.7;
}

.editorial-page img {
    display: block;
    max-width: 100%;
}

.editorial-page a {
    color: var(--ss-blue-dark);
}

.editorial-page a:focus-visible,
.editorial-page button:focus-visible {
    outline: 3px solid var(--ss-gold);
    outline-offset: 3px;
}

.editorial-page .fas::before,
.editorial-page .fab::before {
    font-family: Arial, sans-serif;
    font-size: 0.82em;
    font-style: normal;
    font-weight: 800;
}

.editorial-page .fa-map-marker-alt::before {
    content: "\25CF";
}

.editorial-page .fa-phone::before {
    content: "\260E";
}

.editorial-page .fa-envelope::before {
    content: "\2709";
}

.editorial-page .fa-ticket-alt::before {
    content: "\25AC";
}

.editorial-page .fa-file-alt::before {
    content: "\25A4";
}

.editorial-page .fa-instagram::before {
    content: "IG";
}

.editorial-page .fa-linkedin-in::before,
.editorial-page .fa-linkedin::before {
    content: "in";
}

.editorial-page .fa-envelope-open-text::before {
    content: "¸9";
}

.editorial-page .fa-flag-usa::before {
    content: "B6";
}

.editorial-page .fa-arrow-up::before {
    content: "\2191";
}

.editorial-page .nav-mobile {
    display: none;
}

.editorial-hero {
    --hero-image: url("../../images/a1.jpg");
    position: relative;
    min-height: 68vh;
    max-height: 760px;
    display: flex;
    align-items: flex-end;
    background-image: var(--hero-image-desktop, var(--hero-image));
    background-position: center;
    background-size: cover;
    color: var(--ss-white);
    isolation: isolate;
}

.editorial-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(19, 29, 62, 0.68);
    content: "";
}

.editorial-hero--media {
    background-image: none;
}

.editorial-hero__media,
.editorial-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.editorial-hero__media {
    z-index: -2;
}

.editorial-hero__media img {
    object-fit: cover;
}

.editorial-hero--article {
    min-height: 58vh;
    max-height: 660px;
}

.editorial-hero__inner,
.content-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.editorial-hero__inner {
    padding: 170px 0 64px;
}

.editorial-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: var(--ss-gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.editorial-hero h1 {
    max-width: 940px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.04;
}

.editorial-hero p {
    max-width: 790px;
    margin: 22px 0 0;
    color: #f3f5fb;
    font-size: 1.16rem;
    line-height: 1.65;
}

.editorial-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 26px;
    color: #e8eaf1;
    font-size: 0.9rem;
    font-weight: 600;
}

.content-band {
    padding: 82px 0;
}

.content-band--white {
    background: var(--ss-white);
}

.content-band--navy {
    background: var(--ss-navy);
    color: var(--ss-white);
}

.section-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 60px;
    align-items: start;
    margin-bottom: 48px;
}

.section-intro h2,
.article-body h2,
.impact-copy h2,
.content-band--navy h2 {
    margin: 0;
    color: var(--ss-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.45rem;
    letter-spacing: 0;
    line-height: 1.14;
}

.section-intro p {
    margin: 0;
    color: var(--ss-muted);
    font-size: 1.08rem;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.story-card {
    min-width: 0;
    overflow: hidden;
    background: var(--ss-white);
    border: 1px solid var(--ss-border);
    border-radius: 6px;
}

.story-card--featured {
    grid-column: span 2;
}

.story-card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
}

.story-card--wide .story-card__image {
    height: 100%;
    min-height: 330px;
}

.story-card--wide .story-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.story-card__body {
    padding: 28px;
}

.story-card__category {
    color: var(--ss-blue-dark);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.story-card h2,
.story-card h3 {
    margin: 12px 0 14px;
    color: var(--ss-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    letter-spacing: 0;
    line-height: 1.2;
}

.story-card--featured h2 {
    font-size: 2rem;
}

.story-card p {
    margin: 0 0 22px;
    color: var(--ss-muted);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ss-blue-dark);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.request-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--ss-border);
    border-bottom: 1px solid var(--ss-border);
}

.request-strip__item {
    padding: 28px;
    border-right: 1px solid var(--ss-border);
}

.request-strip__item:last-child {
    border-right: 0;
}

.request-strip strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ss-navy);
}

.request-strip p {
    margin: 0;
    color: var(--ss-muted);
}

.article-shell {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
    gap: 72px;
    align-items: start;
}

.article-body {
    min-width: 0;
}

.article-body > p:first-of-type {
    margin-top: 0;
    color: #394052;
    font-size: 1.16rem;
}

.article-body h2 {
    margin-top: 58px;
    margin-bottom: 18px;
    font-size: 2rem;
    scroll-margin-top: 110px;
}

.article-body h3 {
    margin-top: 34px;
    margin-bottom: 10px;
    color: var(--ss-navy);
    font-size: 1.18rem;
    letter-spacing: 0;
}

.article-body p,
.article-body li {
    color: #414958;
}

.article-body ul,
.article-body ol {
    margin: 18px 0 28px;
    padding-left: 24px;
}

.article-body li + li {
    margin-top: 10px;
}

.answer-box {
    margin: 0 0 40px;
    padding: 28px 30px;
    background: #eef5fb;
    border-left: 5px solid var(--ss-blue);
}

.answer-box strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ss-navy);
}

.answer-box p {
    margin: 0;
}

.article-aside {
    position: sticky;
    top: 120px;
    padding-left: 26px;
    border-left: 3px solid var(--ss-gold);
}

.article-aside h2 {
    margin: 0 0 16px;
    color: var(--ss-navy);
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.article-aside a {
    display: block;
    padding: 8px 0;
    color: var(--ss-muted);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.article-aside a:hover {
    color: var(--ss-blue-dark);
}

.faq-list {
    margin-top: 24px;
    border-top: 1px solid var(--ss-border);
}

.faq-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--ss-border);
}

.faq-item h3 {
    margin: 0 0 8px;
}

.faq-item p {
    margin: 0;
}

.cta-row {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    align-items: center;
}

.content-band--navy h2 {
    color: var(--ss-white);
}

.content-band--navy p {
    max-width: 720px;
    margin: 12px 0 0;
    color: #e0e5f3;
}

.button-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    background: var(--ss-gold);
    border: 2px solid var(--ss-gold);
    border-radius: 4px;
    color: #1f294d !important;
    font-weight: 800;
    text-decoration: none;
}

.button-link:hover {
    background: var(--ss-white);
    border-color: var(--ss-white);
}

.impact-lockup {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    gap: 70px;
    align-items: center;
}

.impact-lockup__logo {
    padding: 30px;
    background: var(--ss-white);
    border: 1px solid var(--ss-border);
    border-radius: 6px;
}

.impact-lockup__logo img {
    width: 100%;
    height: auto;
}

.impact-copy h2 {
    margin-bottom: 22px;
}

.impact-copy .editorial-eyebrow {
    color: #0a466f;
}

.impact-copy p {
    color: var(--ss-muted);
    font-size: 1.05rem;
}

.impact-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 44px;
    border-top: 1px solid var(--ss-border);
    border-bottom: 1px solid var(--ss-border);
}

.impact-fact {
    padding: 26px;
    border-right: 1px solid var(--ss-border);
}

.impact-fact:last-child {
    border-right: 0;
}

.impact-fact strong {
    display: block;
    color: var(--ss-green);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.impact-fact span {
    display: block;
    margin-top: 8px;
    color: var(--ss-ink);
    font-weight: 700;
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px;
}

.transparency-grid h2 {
    margin: 0 0 16px;
    color: var(--ss-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    letter-spacing: 0;
}

.transparency-grid p {
    margin: 0;
    color: var(--ss-muted);
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 28px;
}

@media (max-width: 991px) {
    .editorial-page .nav-desktop {
        display: none;
    }

    .editorial-page .nav-mobile {
        display: block;
    }

    .editorial-hero {
        min-height: 620px;
        max-height: none;
    }

    .editorial-hero__inner {
        padding: 150px 0 52px;
    }

    .editorial-hero h1 {
        font-size: 3rem;
    }

    .section-intro,
    .article-shell,
    .impact-lockup {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-card--featured {
        grid-column: span 2;
    }

    .story-card--wide {
        grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    }

    .article-aside {
        position: static;
        order: -1;
    }

    .impact-facts {
        grid-template-columns: 1fr;
    }

    .impact-fact {
        border-right: 0;
        border-bottom: 1px solid var(--ss-border);
    }

    .impact-fact:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 680px) {
    .editorial-hero {
        background-image: var(--hero-image-mobile, var(--hero-image-desktop, var(--hero-image)));
    }

    .editorial-hero__inner,
    .content-shell {
        width: min(100% - 32px, 1180px);
    }

    .editorial-hero {
        min-height: 560px;
    }

    .editorial-hero h1 {
        font-size: 2.45rem;
    }

    .editorial-hero p {
        font-size: 1rem;
    }

    .content-band {
        padding: 60px 0;
    }

    .section-intro h2,
    .content-band--navy h2 {
        font-size: 2rem;
    }

    .story-grid,
    .request-strip,
    .transparency-grid {
        grid-template-columns: 1fr;
    }

    .story-card--featured {
        grid-column: auto;
    }

    .story-card--wide {
        display: block;
        grid-column: auto;
    }

    .story-card--wide .story-card__image {
        height: auto;
        min-height: 0;
    }

    .story-card--featured h2,
    .story-card h2,
    .story-card h3 {
        font-size: 1.5rem;
    }

    .request-strip__item {
        border-right: 0;
        border-bottom: 1px solid var(--ss-border);
    }

    .request-strip__item:last-child {
        border-bottom: 0;
    }

    .cta-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-body h2 {
        font-size: 1.7rem;
    }

    .answer-box {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Credentials page fact tables. */
.facts-table {
    width: 100%;
    margin: 18px 0 8px;
    border-collapse: collapse;
    font-size: 0.98rem;
}

.facts-table th,
.facts-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--ss-border);
    text-align: left;
    vertical-align: top;
}

.facts-table tbody th {
    width: 34%;
    color: var(--ss-navy);
    font-weight: 700;
}

.facts-table--grid thead th {
    background: var(--ss-mist);
    color: var(--ss-navy);
    font-weight: 700;
}

.facts-table-wrap {
    overflow-x: auto;
}

.facts-note {
    color: var(--ss-muted);
    font-size: 0.92rem;
    font-style: italic;
}
