:root {
    --green: #2F7D6D;
    --green-dark: #225f53;
    --green-soft: #dceae5;
    --pink: #E88AAE;
    --ink: #1F2A2E;
    --text: #2A3133;
    --muted: #6F787A;
    --paper: #FAFBF8;
    --paper-2: #F2F5F1;
    --white: #ffffff;
    --orange: #F29A3F;
    --border: #dbe2dc;
    --shadow: 0 16px 40px rgba(31,42,46,.08);
    --shadow-soft: 0 8px 24px rgba(31,42,46,.06);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --content: 1180px;
    --reading: 760px;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover { color: var(--green); }
button,
input {
    font: inherit;
}
button { cursor: pointer; }
.shell {
    width: min(calc(100% - 40px), var(--content));
    margin-inline: auto;
}
.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;
}
.skip-link {
    position: fixed;
    z-index: 1000;
    left: 16px;
    top: 14px;
    transform: translateY(-150%);
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: relative;
    z-index: 20;
    background: rgba(250,251,248,.96);
    border-bottom: 1px solid var(--border);
}
.topline {
    background: var(--ink);
    color: #dfe8e4;
    font-size: 13px;
}
.topline__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.topline p { margin: 0; }
.topline strong { color: #fff; }
.topline a {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.4);
}
.masthead {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto 1fr minmax(220px, 300px);
    align-items: center;
    gap: 32px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}
.brand__mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px 15px 15px 4px;
    background: var(--green);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 7px 18px rgba(47,125,109,.22);
}
.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.brand__text strong {
    color: var(--ink);
    font-size: 22px;
    letter-spacing: .04em;
}
.brand__text small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}
.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.primary-nav a {
    padding: 11px 14px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    background: var(--green-soft);
    color: var(--green-dark);
}
.header-search {
    display: flex;
    align-items: stretch;
    min-height: 44px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(31,42,46,.04);
}
.header-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 4px 0 16px;
    color: var(--text);
    background: transparent;
}
.header-search button {
    border: 0;
    background: var(--green);
    color: #fff;
    padding: 0 15px;
    font-size: 14px;
    font-weight: 800;
}
.header-search:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(47,125,109,.12);
}
.menu-toggle { display: none; }

.topic-strip {
    border-top: 1px solid rgba(219,226,220,.7);
    background: var(--white);
}
.topic-strip__inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
}
.topic-strip__inner::-webkit-scrollbar { display: none; }
.topic-strip a {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 14px;
}
.topic-strip a:hover { color: var(--green); }
.topic-strip__label {
    flex: 0 0 auto;
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.hero {
    padding: 42px 0 28px;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 26px;
}
.hero-main {
    min-height: 520px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--ink);
    box-shadow: var(--shadow);
}
.hero-main img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    opacity: .5;
}
.hero-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,28,31,.05) 18%, rgba(20,28,31,.88) 100%);
}
.hero-main__content {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    padding: 40px;
    color: #fff;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hero-main .eyebrow { color: #b8eadf; }
.hero-main h1 {
    max-width: 770px;
    margin: 0;
    color: #fff;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.06;
    letter-spacing: -.04em;
}
.hero-main__content > p:not(.eyebrow) {
    max-width: 710px;
    margin: 18px 0 0;
    color: #edf4f1;
    font-size: 17px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
    background: var(--orange);
    color: #1f2a2e;
}
.btn--primary:hover {
    background: #f5ad64;
    color: #1f2a2e;
}
.btn--ghost {
    border: 1px solid rgba(255,255,255,.55);
    color: #fff;
}
.btn--ghost:hover {
    background: #fff;
    color: var(--ink);
}
.btn--soft {
    background: var(--green-soft);
    color: var(--green-dark);
}
.hero-side {
    display: grid;
    gap: 16px;
    align-content: start;
}
.brief-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    padding: 22px;
    box-shadow: var(--shadow-soft);
}
.brief-card--accent {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.brief-card--accent h2,
.brief-card--accent p { color: #fff; }
.brief-card h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.35;
}
.brief-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.brief-card ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}
.brief-card li {
    position: relative;
    padding: 11px 0 11px 18px;
    border-top: 1px solid rgba(255,255,255,.2);
    font-size: 14px;
}
.brief-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pink);
}
.brief-card:not(.brief-card--accent) li {
    border-top-color: var(--border);
}
.brief-card:not(.brief-card--accent) li::before {
    background: var(--orange);
}

.section {
    padding: 52px 0;
}
.section--tight { padding-top: 26px; }
.section--soft {
    background: var(--paper-2);
    border-block: 1px solid var(--border);
}
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}
.section-head__copy {
    max-width: 760px;
}
.section-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.16;
    letter-spacing: -.025em;
}
.section-head p {
    margin: 10px 0 0;
    color: var(--muted);
}
.section-link {
    flex: 0 0 auto;
    color: var(--green-dark);
    font-weight: 800;
    border-bottom: 2px solid var(--green-soft);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.story-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}
.story-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--paper-2);
}
.story-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}
.story-card:hover .story-card__media img { transform: scale(1.025); }
.story-card__body { padding: 20px; }
.story-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 12px;
}
.story-card__meta span {
    color: var(--green-dark);
    font-weight: 800;
}
.story-card__title {
    margin: 10px 0 10px;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.36;
}
.story-card__title a:hover { color: var(--green); }
.story-card__body > p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.story-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}
.story-card__tags a {
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--muted);
    font-size: 12px;
}
.story-card__tags a:hover {
    background: var(--green-soft);
    color: var(--green-dark);
}

.feed-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
}
.feed-list {
    display: grid;
    gap: 0;
}
.feed-item {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}
.feed-item:first-child { padding-top: 0; }
.feed-item__media {
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 16 / 10;
    background: var(--paper-2);
}
.feed-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feed-item__body { min-width: 0; }
.feed-item__meta {
    display: flex;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
}
.feed-item__meta strong {
    color: var(--green-dark);
}
.feed-item h2,
.feed-item h3 {
    margin: 7px 0 8px;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.35;
}
.feed-item p {
    margin: 0;
    color: var(--muted);
}
.feed-item__more {
    display: inline-flex;
    margin-top: 12px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 800;
}

.sidebar {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 18px;
}
.side-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 20px;
}
.side-panel h2,
.side-panel h3 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 18px;
}
.side-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.side-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.side-links li + li {
    border-top: 1px solid var(--border);
}
.side-links a {
    display: block;
    padding: 13px 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}
.side-links a:hover { color: var(--green); }
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud a {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--muted);
    font-size: 13px;
}
.tag-cloud a:hover {
    background: var(--green-soft);
    color: var(--green-dark);
}

.topic-ribbon {
    padding: 18px 0 0;
}
.topic-ribbon__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
}
.topic-tile {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 18px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
}
.topic-tile small {
    color: var(--muted);
}
.topic-tile strong {
    color: var(--ink);
    font-size: 17px;
    line-height: 1.35;
}
.topic-tile:hover {
    border-color: #b9d1c8;
    box-shadow: var(--shadow-soft);
}

.page-hero {
    padding: 48px 0 30px;
}
.page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: stretch;
}
.page-hero__copy {
    border-radius: var(--radius-lg);
    padding: 42px;
    background: var(--green);
    color: #fff;
}
.page-hero__copy .eyebrow { color: #c9efe7; }
.page-hero__copy h1 {
    margin: 0;
    max-width: 800px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -.04em;
}
.page-hero__copy p:not(.eyebrow) {
    max-width: 760px;
    margin: 18px 0 0;
    color: #ecf8f4;
    font-size: 17px;
}
.page-hero__aside {
    border-radius: var(--radius-lg);
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
}
.page-hero__aside h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 19px;
}
.page-hero__aside ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.page-hero__aside li {
    padding: 11px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}
.page-hero__aside li:first-child { border-top: 0; }

.breadcrumbs {
    width: min(calc(100% - 40px), var(--content));
    margin: 22px auto 0;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 13px;
}
.breadcrumbs li {
    display: flex;
    align-items: center;
}
.breadcrumbs li + li::before {
    content: "/";
    margin-right: 8px;
    color: #abb3b0;
}
.breadcrumbs a:hover { color: var(--green); }

.article-shell {
    width: min(calc(100% - 40px), 1080px);
    margin: 0 auto;
    padding: 38px 0 70px;
}
.article-grid {
    display: grid;
    grid-template-columns: minmax(0, var(--reading)) 280px;
    gap: 38px;
    align-items: start;
}
.article {
    min-width: 0;
}
.article-header {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}
.article-kicker {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
}
.article h1 {
    margin: 15px 0 16px;
    color: var(--ink);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.12;
    letter-spacing: -.035em;
}
.article-deck {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}
.article-cover {
    margin: 28px 0 30px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--paper-2);
}
.article-cover img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.article-body {
    color: var(--text);
    font-size: 17px;
    line-height: 1.9;
}
.article-body .lead {
    margin-top: 0;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.75;
}
.article-body p {
    margin: 0 0 22px;
}
.article-body h2 {
    margin: 42px 0 14px;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.25;
}
.takeaway-box {
    margin: 34px 0;
    padding: 24px;
    border-radius: 18px;
    border-left: 4px solid var(--orange);
    background: #fff6ed;
}
.takeaway-box h2 {
    margin: 0 0 12px;
    font-size: 20px;
}
.takeaway-box ul {
    margin: 0;
    padding-left: 20px;
}
.takeaway-box li + li { margin-top: 7px; }
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.article-tags a {
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--green-dark);
    font-size: 13px;
}
.article-aside {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 16px;
}
.article-aside .side-panel {
    box-shadow: var(--shadow-soft);
}
.related-list {
    display: grid;
    gap: 12px;
}
.related-list a {
    display: block;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}
.related-list a:first-child { border-top: 0; padding-top: 0; }

.search-page {
    padding: 46px 0 70px;
}
.search-hero {
    max-width: 800px;
    margin: 0 auto 34px;
    text-align: center;
}
.search-hero h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.15;
}
.search-hero p {
    margin: 12px auto 0;
    color: var(--muted);
}
.search-box {
    max-width: 760px;
    margin: 24px auto 0;
    display: flex;
    gap: 10px;
}
.search-box input {
    flex: 1;
    min-width: 0;
    min-height: 52px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    padding: 0 20px;
    outline: none;
}
.search-box input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(47,125,109,.12);
}
.search-box button {
    min-width: 104px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-weight: 900;
}
.search-status {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
}
.empty-state {
    padding: 52px 24px;
    border: 1px dashed #bdc8c2;
    border-radius: var(--radius-md);
    text-align: center;
    background: #fff;
}
.empty-state h2 {
    margin: 0 0 8px;
    color: var(--ink);
}
.empty-state p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
}
.empty-state .tag-cloud {
    justify-content: center;
    margin-top: 20px;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}
.standard-card {
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: #fff;
}
.standard-card:nth-child(2) { border-top: 4px solid var(--pink); }
.standard-card:nth-child(3) { border-top: 4px solid var(--orange); }
.standard-card:nth-child(4) { border-top: 4px solid var(--green); }
.standard-card h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 18px;
}
.standard-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.faq {
    display: grid;
    gap: 10px;
}
.faq details {
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 17px 52px 17px 18px;
    color: var(--ink);
    font-weight: 800;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green);
    font-size: 22px;
    font-weight: 500;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--muted);
}

.mobile-note {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.mobile-card {
    min-height: 240px;
    border-radius: var(--radius-lg);
    padding: 28px;
    overflow: hidden;
    position: relative;
}
.mobile-card:first-child {
    background: var(--ink);
    color: #fff;
}
.mobile-card:last-child {
    background: #f8e6ee;
    color: var(--ink);
}
.mobile-card h2 {
    max-width: 470px;
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
}
.mobile-card p {
    max-width: 520px;
    margin: 12px 0 0;
    opacity: .82;
}
.mobile-card a {
    display: inline-flex;
    margin-top: 20px;
    font-weight: 900;
    border-bottom: 2px solid currentColor;
}

.not-found {
    min-height: 62vh;
    display: grid;
    place-items: center;
    padding: 64px 20px;
}
.not-found__card {
    width: min(720px, 100%);
    padding: 42px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow);
}
.not-found__code {
    margin: 0;
    color: var(--pink);
    font-size: 80px;
    line-height: 1;
    font-weight: 900;
}
.not-found h1 {
    margin: 12px 0 10px;
    color: var(--ink);
    font-size: 32px;
}
.not-found p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--muted);
}
.not-found__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.not-found__links a {
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--paper-2);
    font-weight: 800;
}
.not-found__links a:first-child {
    background: var(--green);
    color: #fff;
}

.site-footer {
    margin-top: 20px;
    background: var(--ink);
    color: #dce6e2;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 34px;
    padding: 54px 0 40px;
}
.site-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 16px;
}
.site-footer p {
    margin: 0;
    color: #b9c7c1;
    font-size: 14px;
}
.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer li + li { margin-top: 9px; }
.site-footer a { color: #dce6e2; }
.site-footer a:hover { color: #fff; }
.footer-intro h2 { font-size: 24px; }
.footer-intro p { max-width: 460px; }
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.footer-badges span {
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: #dce6e2;
    font-size: 12px;
}
.footer-bottom {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom p { margin: 0; }

@media (max-width: 1080px) {
    .masthead {
        grid-template-columns: auto 1fr auto;
        gap: 18px;
    }
    .header-search { display: none; }
    .story-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .standards-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid > section:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .hero-grid,
    .page-hero__inner,
    .feed-layout,
    .article-grid {
        grid-template-columns: 1fr;
    }
    .hero-main,
    .hero-main img { min-height: 470px; }
    .hero-side {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .sidebar,
    .article-aside { position: static; }
    .article-aside {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .topic-ribbon__inner { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-grid > section:last-child { grid-column: auto; }
}
@media (max-width: 760px) {
    .shell,
    .breadcrumbs,
    .article-shell {
        width: min(calc(100% - 28px), var(--content));
    }
    .topline__inner {
        min-height: 32px;
        justify-content: center;
    }
    .topline a { display: none; }
    .masthead {
        min-height: 72px;
        grid-template-columns: 1fr auto;
        position: relative;
    }
    .brand__mark {
        width: 40px;
        height: 40px;
        border-radius: 13px 13px 13px 4px;
        font-size: 19px;
    }
    .brand__text strong { font-size: 20px; }
    .brand__text small { display: none; }
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 14px;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: #fff;
        color: var(--ink);
        font-weight: 800;
    }
    .primary-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 69px;
        padding: 10px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow);
        align-items: stretch;
        flex-direction: column;
    }
    .primary-nav[data-open="true"] { display: flex; }
    .primary-nav a {
        border-radius: 10px;
        padding: 12px 14px;
    }
    .topic-strip__inner { gap: 15px; }
    .hero { padding-top: 24px; }
    .hero-main,
    .hero-main img { min-height: 440px; }
    .hero-main__content { padding: 26px; }
    .hero-main h1 { font-size: clamp(34px, 11vw, 48px); }
    .hero-main__content > p:not(.eyebrow) { font-size: 15px; }
    .hero-side { grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
    .section-head {
        align-items: start;
        flex-direction: column;
        gap: 12px;
    }
    .story-grid { grid-template-columns: 1fr; }
    .feed-item {
        grid-template-columns: 126px minmax(0,1fr);
        gap: 14px;
    }
    .feed-item h2,
    .feed-item h3 { font-size: 18px; }
    .feed-item p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 14px;
    }
    .feed-item__meta { flex-direction: column; gap: 1px; }
    .page-hero { padding-top: 26px; }
    .page-hero__copy { padding: 28px; }
    .page-hero__copy h1 { font-size: clamp(34px, 10vw, 46px); }
    .article-shell { padding-top: 26px; }
    .article h1 { font-size: clamp(32px, 9vw, 44px); }
    .article-deck { font-size: 16px; }
    .article-body { font-size: 16px; }
    .article-body .lead { font-size: 18px; }
    .article-aside { grid-template-columns: 1fr; }
    .standards-grid { grid-template-columns: 1fr; }
    .mobile-note { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
    .hero-main,
    .hero-main img { min-height: 410px; }
    .hero-main__content { padding: 22px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .btn { width: 100%; }
    .topic-ribbon__inner { grid-template-columns: 1fr; }
    .feed-item {
        grid-template-columns: 105px minmax(0,1fr);
    }
    .feed-item__more { display: none; }
    .story-card__body { padding: 17px; }
    .search-box { flex-direction: column; }
    .search-box button { min-height: 48px; }
    .not-found__card { padding: 30px 20px; }
    .not-found__code { font-size: 64px; }
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 14px 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
:focus-visible {
    outline: 3px solid rgba(242,154,63,.8);
    outline-offset: 3px;
}
