:root {
    --paper: #f3f5f1;
    --surface: #ffffff;
    --surface-soft: #eef3ee;
    --ink: #16231f;
    --muted: #65716d;
    --brand: #1f6b52;
    --brand-dark: #15503d;
    --brand-soft: #dcebe4;
    --accent: #e49a43;
    --accent-soft: #f8ead7;
    --line: #dce3dd;
    --danger: #a34836;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 18px 46px rgba(22, 35, 31, 0.08);
    --shell: 1180px;
    --article: 800px;
    --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
    top: 32px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

svg {
    display: block;
}

a {
    color: var(--brand-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--brand);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(31, 107, 82, 0.34);
    outline-offset: 3px;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-weight: 760;
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin-inline: auto;
}

.narrow-shell,
.article-shell {
    width: min(calc(100% - 40px), var(--article));
}

.icon {
    width: 1.2em;
    height: 1.2em;
    flex: 0 0 auto;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
    position: fixed !important;
    z-index: 100000;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 12px 18px;
    clip: auto;
    color: #fff;
    background: var(--brand-dark);
    border-radius: 8px;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.site-header__main {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-branding {
    flex: 0 0 auto;
}

.custom-logo-link,
.wordmark {
    display: inline-flex;
    align-items: baseline;
    color: var(--ink);
    text-decoration: none;
}

.custom-logo {
    width: auto;
    max-height: 54px;
}

.wordmark__name {
    font-size: 29px;
    font-weight: 850;
    letter-spacing: -0.075em;
}

.wordmark__domain {
    margin-left: 2px;
    color: var(--brand);
    font-size: 17px;
    font-weight: 800;
}

.wordmark__tagline {
    margin-left: 15px;
    padding-left: 15px;
    color: var(--muted);
    border-left: 1px solid var(--line);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.header-search {
    width: min(370px, 36vw);
}

.search-form {
    display: flex;
    width: 100%;
    background: var(--surface-soft);
    border: 1px solid transparent;
    border-radius: 999px;
    transition: border-color 160ms ease, background 160ms ease;
}

.search-form:focus-within {
    background: #fff;
    border-color: var(--brand);
}

.search-form label {
    min-width: 0;
    flex: 1;
}

.search-field {
    width: 100%;
    padding: 10px 4px 10px 17px;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 14px;
}

.search-field::placeholder {
    color: #7b8782;
}

.search-submit {
    display: grid;
    width: 42px;
    padding: 0;
    place-items: center;
    color: var(--brand-dark);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.search-submit .icon {
    width: 19px;
    height: 19px;
}

.nav-toggle,
.mobile-search {
    display: none;
}

.site-navigation {
    border-top: 1px solid #edf0ed;
}

.site-navigation__inner {
    min-height: 48px;
    display: flex;
    align-items: center;
}

.primary-nav {
    width: 100%;
}

.primary-nav .menu,
.primary-nav .sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav > .menu {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
}

.primary-nav .menu > li {
    position: relative;
}

.primary-nav .menu > li > a {
    display: block;
    padding: 12px 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.primary-nav .menu > li > a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
    color: var(--brand);
}

.primary-nav .sub-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: -18px;
    width: 230px;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.primary-nav .sub-menu a {
    display: block;
    padding: 8px 10px;
    color: var(--ink);
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
}

.primary-nav .sub-menu a:hover {
    color: var(--brand-dark);
    background: var(--brand-soft);
}

.site-main {
    min-height: 55vh;
}

.home-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    gap: 70px;
    align-items: end;
    padding-block: 54px 28px;
}

.home-intro h1 {
    max-width: 820px;
    margin-bottom: 0;
    font-size: clamp(38px, 5vw, 66px);
}

.home-intro > p {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 17px;
}

.section-kicker,
.eyebrow {
    margin-bottom: 8px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 820;
    letter-spacing: 0.09em;
    text-decoration: none;
    text-transform: uppercase;
}

.lead-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
    gap: 24px;
    padding-bottom: 62px;
}

.lead-story {
    position: relative;
    min-height: 530px;
    overflow: hidden;
    background: var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.lead-story__media,
.lead-story__media img,
.lead-story__media .media-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.lead-story__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(10, 20, 17, 0.03) 25%, rgba(10, 20, 17, 0.88) 100%);
}

.lead-story__media img {
    object-fit: cover;
}

.lead-story__body {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 760px;
    padding: clamp(28px, 5vw, 52px);
    color: #fff;
}

.lead-story .eyebrow {
    color: #bfe9d6;
}

.lead-story h2 {
    margin-bottom: 15px;
    color: #fff;
    font-size: clamp(31px, 4vw, 50px);
}

.lead-story h2 a,
.lead-story .text-link {
    color: inherit;
    text-decoration: none;
}

.lead-story__excerpt {
    max-width: 660px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
}

.lead-story__excerpt p {
    margin-bottom: 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 760;
    text-decoration: none;
}

.text-link .icon {
    width: 18px;
    transition: transform 150ms ease;
}

.text-link:hover .icon {
    transform: translateX(3px);
}

.lead-list {
    display: grid;
    gap: 12px;
}

.post-card {
    min-width: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-card:hover {
    border-color: #c8d7cd;
    box-shadow: 0 14px 34px rgba(22, 35, 31, 0.08);
    transform: translateY(-3px);
}

.post-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--surface-soft);
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.post-card:hover .post-card__media img {
    transform: scale(1.025);
}

.media-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--brand);
    background: linear-gradient(145deg, var(--brand-soft), var(--accent-soft));
}

.media-placeholder .icon {
    width: 64px;
    height: 64px;
    opacity: 0.55;
}

.post-card__body {
    padding: 20px 20px 17px;
}

.post-card__title {
    margin: 3px 0 10px;
    font-size: clamp(19px, 2vw, 23px);
}

.post-card__title a {
    color: var(--ink);
    text-decoration: none;
}

.post-card__title a:hover {
    color: var(--brand-dark);
}

.post-card__excerpt {
    color: var(--muted);
    font-size: 15px;
}

.post-card__excerpt p {
    margin-bottom: 13px;
}

.post-card__footer {
    display: flex;
    gap: 12px;
    color: #7d8884;
    font-size: 12px;
}

.post-card--compact {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 121px;
}

.post-card--compact .post-card__media {
    height: 100%;
    min-height: 121px;
    aspect-ratio: auto;
}

.post-card--compact .post-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
}

.post-card--compact .eyebrow {
    margin-bottom: 3px;
    font-size: 10px;
}

.post-card--compact .post-card__title {
    display: -webkit-box;
    margin: 0 0 9px;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.post-card--compact .post-card__footer {
    font-size: 11px;
}

.hub-strip {
    padding-block: 54px 60px;
    background: var(--surface-soft);
    border-block: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(29px, 3vw, 40px);
}

.section-heading--compact {
    margin-bottom: 22px;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.hub-card {
    display: flex;
    min-height: 185px;
    padding: 21px;
    flex-direction: column;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hub-card:hover {
    color: var(--ink);
    border-color: #bfd2c5;
    box-shadow: 0 14px 32px rgba(22, 35, 31, 0.07);
    transform: translateY(-3px);
}

.hub-card__icon {
    display: grid;
    width: 43px;
    height: 43px;
    margin-bottom: auto;
    place-items: center;
    color: var(--brand-dark);
    background: var(--brand-soft);
    border-radius: 13px;
}

.hub-card__icon .icon {
    width: 23px;
    height: 23px;
}

.hub-card__title {
    margin-top: 21px;
    font-size: 17px;
    font-weight: 790;
    line-height: 1.2;
}

.hub-card__text {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.home-sections {
    padding-block: 16px 70px;
}

.editorial-section {
    padding-block: 50px;
    border-bottom: 1px solid var(--line);
}

.editorial-section:last-child {
    border-bottom: 0;
}

.post-grid,
.archive-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.post-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.breadcrumbs {
    display: flex;
    padding-block: 24px;
    gap: 9px;
    align-items: center;
    overflow: hidden;
    color: #83908a;
    font-size: 12px;
    white-space: nowrap;
}

.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumbs span[aria-current="page"] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.archive-main {
    padding-bottom: 76px;
}

.archive-header {
    max-width: 900px;
    padding: 30px 0 42px;
}

.archive-header h1 {
    margin-bottom: 15px;
    font-size: clamp(40px, 6vw, 66px);
}

.archive-description {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.archive-description p:last-child {
    margin-bottom: 0;
}

.topic-list {
    display: flex;
    margin-top: 27px;
    flex-wrap: wrap;
    gap: 9px;
}

.topic-list a {
    display: inline-flex;
    padding: 8px 12px;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 690;
    text-decoration: none;
}

.topic-list a:hover {
    border-color: var(--brand);
}

.topic-list span {
    color: var(--muted);
    font-size: 11px;
}

.archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.navigation.pagination {
    margin-top: 45px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.page-numbers {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    padding: 7px 12px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.single-main {
    padding-bottom: 70px;
    background: #fff;
}

.article-header {
    padding: 30px 0 36px;
}

.article-header h1 {
    margin: 12px 0 18px;
    font-size: clamp(40px, 6vw, 66px);
}

.entry-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    color: var(--muted);
    font-size: 13px;
}

.entry-meta > * + *::before {
    margin-right: 13px;
    color: #b7c0bb;
    content: "•";
}

.entry-category {
    color: var(--brand);
    font-weight: 780;
    text-decoration: none;
}

.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.reading-time .icon {
    width: 15px;
    height: 15px;
}

.article-lead {
    margin-bottom: 0;
    color: #53615b;
    font-size: clamp(19px, 2.5vw, 23px);
    line-height: 1.55;
}

.article-cover {
    width: min(calc(100% - 40px), 1040px);
    margin-top: 0;
    margin-bottom: 42px;
}

.article-cover img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.article-cover figcaption,
.entry-content figcaption {
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.article-layout {
    width: min(calc(100% - 40px), var(--article));
}

.article-toc {
    margin: 0 0 38px;
    padding: 24px 27px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.article-toc__title {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 800;
}

.article-toc ol {
    display: grid;
    margin: 0;
    padding-left: 21px;
    gap: 7px;
}

.article-toc a {
    color: var(--brand-dark);
    font-size: 14px;
    text-decoration: none;
}

.article-toc a:hover {
    text-decoration: underline;
}

.entry-content {
    color: #26332e;
    font-size: 18px;
    line-height: 1.78;
}

.entry-content > * {
    max-width: 100%;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content figure,
.entry-content table {
    margin-bottom: 1.45em;
}

.entry-content .wp-block-table {
    max-width: 100%;
    overflow-x: auto;
}

.entry-content h2 {
    margin: 2.2em 0 0.75em;
    scroll-margin-top: 145px;
    font-size: clamp(28px, 4vw, 38px);
}

.entry-content h3 {
    margin: 1.8em 0 0.65em;
    font-size: clamp(22px, 3vw, 27px);
}

.entry-content h2:first-child {
    margin-top: 0;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.3em;
}

.entry-content li {
    margin-bottom: 0.45em;
    padding-left: 0.25em;
}

.entry-content strong {
    color: var(--ink);
}

.entry-content a {
    color: var(--brand-dark);
    font-weight: 620;
}

.entry-content blockquote {
    margin-inline: 0;
    padding: 20px 24px;
    color: #2c3c35;
    background: var(--accent-soft);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content figure,
.entry-content .wp-block-image {
    margin-inline: 0;
}

.entry-content figure img,
.entry-content > img,
.entry-content .wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.entry-content .alignwide {
    width: min(1040px, calc(100vw - 40px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.entry-content th,
.entry-content td {
    padding: 11px 12px;
    text-align: left;
    border: 1px solid var(--line);
}

.entry-content th {
    background: var(--surface-soft);
}

.article-tags {
    display: flex;
    margin-top: 42px;
    padding-top: 24px;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.article-tags > span {
    margin-right: 3px;
    color: var(--muted);
    font-weight: 700;
}

.article-tags a {
    padding: 5px 10px;
    color: var(--ink);
    background: var(--surface-soft);
    border-radius: 999px;
    text-decoration: none;
}

.related-section {
    margin-top: 68px;
    padding-block: 54px 62px;
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding-top: 48px;
}

.post-navigation__item {
    min-width: 0;
}

.post-navigation__item--next {
    text-align: right;
}

.post-navigation__item > span,
.post-navigation__item > a,
.post-navigation__item span {
    display: block;
}

.post-navigation__item span {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
}

.post-navigation__item a {
    color: var(--ink);
    font-size: 15px;
    font-weight: 740;
    line-height: 1.35;
    text-decoration: none;
}

.comments-wrap {
    margin-top: 55px;
}

.comments-area {
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.comment-list {
    padding-left: 0;
    list-style: none;
}

.comment-body {
    margin-bottom: 18px;
    padding: 20px;
    background: var(--paper);
    border-radius: var(--radius-sm);
}

.comment-respond textarea,
.comment-respond input:not([type="submit"]) {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.button,
input[type="submit"] {
    display: inline-flex;
    padding: 11px 18px;
    color: #fff;
    background: var(--brand);
    border: 0;
    border-radius: 10px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.empty-state {
    margin: 45px auto;
    padding: 45px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.empty-state .search-form {
    max-width: 460px;
    margin: 24px auto;
}

.error-main {
    padding-block: 70px;
}

.error-code {
    margin-bottom: 0;
    color: var(--brand);
    font-size: 72px;
    font-weight: 850;
    letter-spacing: -0.07em;
}

.site-footer {
    color: #dfe7e2;
    background: #14251f;
}

.footer-groups {
    display: grid;
    grid-template-columns: 1.35fr repeat(5, 1fr);
    gap: 34px;
    padding-block: 55px 48px;
}

.footer-wordmark {
    color: #fff;
    font-size: 28px;
    font-weight: 850;
    letter-spacing: -0.06em;
    text-decoration: none;
}

.footer-about p {
    max-width: 260px;
    margin-top: 14px;
    color: #9eafa7;
    font-size: 13px;
}

.footer-group h2 {
    margin-bottom: 13px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0;
}

.footer-group ul,
.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-group li + li {
    margin-top: 7px;
}

.footer-group a,
.footer-menu a {
    color: #9eafa7;
    font-size: 13px;
    text-decoration: none;
}

.footer-group a:hover,
.footer-menu a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    color: #82958c;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 1020px) {
    .hub-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hub-card:nth-child(n + 4) {
        min-height: 150px;
    }

    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .archive-grid,
    .post-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-groups {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-about {
        grid-column: span 3;
    }
}

@media (max-width: 820px) {
    body.admin-bar .site-header {
        top: 46px;
    }

    .site-header__main {
        min-height: 68px;
    }

    .header-search,
    .wordmark__tagline {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        padding: 8px 11px;
        align-items: center;
        gap: 7px;
        color: var(--ink);
        background: var(--surface-soft);
        border: 0;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 750;
        cursor: pointer;
    }

    .nav-toggle .icon {
        width: 19px;
    }

    .site-navigation {
        display: none;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .site-navigation.is-open {
        display: block;
    }

    .site-navigation__inner {
        display: block;
        padding-block: 10px 18px;
    }

    .primary-nav > .menu {
        display: block;
    }

    .primary-nav .menu > li > a {
        padding: 10px 4px;
        border-bottom: 1px solid var(--line);
    }

    .primary-nav .sub-menu {
        position: static;
        width: auto;
        padding: 2px 0 7px 15px;
        visibility: visible;
        opacity: 1;
        background: transparent;
        border: 0;
        box-shadow: none;
        transform: none;
    }

    .mobile-search {
        display: block;
        margin-top: 14px;
    }

    .home-intro {
        grid-template-columns: 1fr;
        gap: 17px;
        padding-top: 38px;
    }

    .home-intro > p {
        max-width: 620px;
    }

    .lead-layout {
        grid-template-columns: 1fr;
    }

    .lead-story {
        min-height: 500px;
    }

    .lead-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-card--compact {
        display: block;
    }

    .post-card--compact .post-card__media {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .article-header {
        padding-top: 15px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .shell,
    .narrow-shell,
    .article-shell,
    .article-layout,
    .article-cover {
        width: min(calc(100% - 28px), var(--shell));
    }

    .home-intro h1,
    .archive-header h1,
    .article-header h1 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .lead-story {
        min-height: 450px;
        border-radius: 21px;
    }

    .lead-story h2 {
        font-size: 31px;
    }

    .lead-story__excerpt {
        display: none;
    }

    .lead-list,
    .post-grid,
    .archive-grid,
    .post-grid--three,
    .post-navigation {
        grid-template-columns: 1fr;
    }

    .hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hub-card {
        min-height: 155px;
        padding: 17px;
    }

    .hub-card:last-child {
        grid-column: span 2;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 12px;
    }

    .editorial-section {
        padding-block: 38px;
    }

    .archive-header {
        padding-top: 17px;
    }

    .archive-description {
        font-size: 16px;
    }

    .article-cover {
        margin-bottom: 30px;
    }

    .article-cover img {
        border-radius: 18px;
    }

    .entry-content {
        font-size: 17px;
    }

    .entry-meta > * + *::before {
        display: none;
    }

    .post-navigation__item--next {
        text-align: left;
    }

    .footer-groups {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 22px;
    }

    .footer-about {
        grid-column: span 2;
    }

    .footer-bottom {
        padding-block: 19px;
        align-items: start;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }

    .empty-state {
        padding: 32px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
