/*
Theme Name: SoftHelperPK
Theme URI: https://softhelperpk.com/
Author: SoftHelperPK
Description: A responsive, SEO-aware editorial theme for SoftHelperPK. Uses the native WordPress posts, categories, featured images, menus and comments.
Version: 1.2.0
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: softhelperpk
*/

:root {
    color-scheme: light;
    --ink: #171717;
    --muted: #6b6b6b;
    --paper: #fff;
    --white: #fff;
    --line: #e5e5e5;
    --green: #d4f36a;
    --green-deep: #174f46;
    --coral: #f05c38;
    --accent: #6b35c5;
    --display: "Roboto", Arial, Helvetica, sans-serif;
    --body: "Roboto", Arial, Helvetica, sans-serif;
    font-family: var(--body);
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-deep); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus), .screen-reader-text { 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:focus { position: absolute; z-index: 10; top: 12px; left: 12px; padding: 8px 12px; background: var(--white); }

.site-header { position: relative; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { width: min(960px, calc(100% - 32px)); min-height: 78px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; font: 700 21px/1 var(--display); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; position: relative; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 15px; }
.brand-mark span { position: absolute; right: -4px; bottom: -2px; width: 18px; height: 18px; display: grid; place-items: center; border: 2px solid var(--paper); border-radius: 50%; background: var(--accent); color: var(--white); font-size: 9px; }
.brand-accent { color: var(--green-deep); }
.theme-logo-link { width: 230px; height: 42px; display: flex; flex: 0 0 auto; align-items: center; }
.theme-logo { width: 100%; height: auto; }
.theme-logo-link--footer { width: 210px; }
.custom-logo-link { display: block; flex: 0 0 auto; }
.custom-logo { width: auto; max-height: 42px; }
.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 23px; margin: 0; padding: 0; list-style: none; }
.main-nav a { color: #111; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--green-deep); }
.search-form { width: 38px; height: 40px; position: relative; display: flex; align-items: center; border: 0; border-radius: 0; background: transparent; }
.search-form label { margin: 0; }
.search-form input[type="search"] { width: 0; min-height: 38px; position: absolute; right: 36px; padding: 0; border: 0; outline: 0; opacity: 0; background: var(--white); font-size: 12px; transition: width .2s ease, opacity .2s ease, padding .2s ease; }
.search-form:focus-within input[type="search"] { width: 150px; padding: 0 10px; border: 1px solid var(--line); opacity: 1; }
.search-form input[type="submit"] { width: 38px; height: 38px; padding: 0; border: 0; background: transparent; color: transparent; cursor: pointer; }
.search-form button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.search-form svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.share-trigger { width: 32px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.share-trigger svg { width: 22px; fill: var(--ink); stroke: var(--ink); stroke-width: 1.5; }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 1fr .92fr; gap: 68px; align-items: center; padding-top: 76px; padding-bottom: 76px; }
.hero-copy { padding: 10px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green-deep); font-size: 11px; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
.hero h1 { margin: 23px 0 19px; font-size: 62px; line-height: 1.04; font-weight: 600; }
.hero h1 span { color: var(--green-deep); }
.hero-copy > p { max-width: 470px; margin-bottom: 26px; color: #59655d; font-size: 17px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid var(--green-deep); color: var(--green-deep); font-size: 13px; font-weight: 700; }
.text-link span { font-size: 17px; }
.hero-note { display: flex; align-items: center; gap: 12px; max-width: 330px; margin-top: 52px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.note-rule { width: 28px; height: 2px; flex: 0 0 auto; background: var(--coral); }
.hero-visual { min-height: 390px; position: relative; isolation: isolate; background: #e4edf0; }
.hero-visual::before { position: absolute; z-index: -1; top: -19px; right: -20px; width: 72%; height: 78%; border: 1px solid #b7c5b5; content: ""; }
.hero-visual > img { width: 100%; height: 390px; object-fit: cover; }
.visual-caption { position: absolute; right: -18px; bottom: 26px; display: flex; gap: 14px; align-items: center; padding: 16px 20px; background: var(--green); font: 600 13px/1.35 var(--display); }
.caption-mark { color: #567c48; font-size: 11px; }
.visual-orbit { position: absolute; left: -23px; bottom: -24px; width: 58px; height: 58px; border: 1px solid var(--coral); border-radius: 50%; }
.topics-band { background: #e6edf2; }
.topics-row { min-height: 77px; display: flex; align-items: center; gap: 42px; }
.topics-label { margin-right: auto; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.topics-row a { font: 600 13px var(--display); }
.topics-row a span { margin-left: 6px; color: var(--coral); font-size: 12px; }
.latest-section { padding-top: 80px; padding-bottom: 85px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.section-heading h2 { margin: 8px 0 0; font-size: 34px; line-height: 1.15; }
.section-count { color: var(--muted); font-size: 12px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; }
.news-feed .post-grid, .blog-feed .post-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-inline: 8px; }
.post-card { min-width: 0; background: var(--white); border: 1px solid var(--line); }
.post-card__image { display: block; overflow: hidden; aspect-ratio: 1.5; background: #dce6d8; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.post-placeholder { display: block; width: 100%; height: 100%; min-height: 190px; background: radial-gradient(circle at 80% 20%, #f17c5b 0 7%, transparent 7.5%), linear-gradient(135deg, #dce8d5, #b9ec73); }
.post-card:hover .post-card__image img { transform: scale(1.035); }
.post-card__body { padding: 20px 21px 18px; }
.post-card h2, .post-card h3 { margin: 10px 0 8px; font-size: 21px; line-height: 1.27; }
.post-card__body > p { min-height: 70px; margin-bottom: 17px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); font-size: 11px; }
.post-meta span + span { position: relative; }
.post-meta span + span::before { position: absolute; top: 50%; left: -9px; width: 3px; height: 3px; border-radius: 50%; background: var(--coral); content: ""; transform: translateY(-50%); }
.post-categories { display: flex; flex-wrap: wrap; gap: 5px 10px; }
.post-categories a { color: var(--green-deep); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.newsletter-band { padding: 40px 0; background: #e1edf0; }
.newsletter-row { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.newsletter-row h2 { max-width: 520px; margin: 8px 0 0; font-size: 27px; line-height: 1.25; }
.button-link { display: inline-flex; align-items: center; gap: 22px; padding: 13px 17px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; }
.button-link:hover { background: var(--green-deep); color: var(--white); }
.button-link span { color: var(--green); }
.archive-intro { padding-top: 62px; padding-bottom: 20px; }
.archive-intro h1 { margin: 11px 0; font-size: 46px; line-height: 1.15; }
.archive-intro p { color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 38px; }
.pagination .page-numbers { min-width: 38px; padding: 7px 11px; border: 1px solid var(--line); background: var(--white); text-align: center; font-size: 13px; }
.pagination .current { border-color: var(--ink); background: var(--ink); color: var(--white); }
.empty-state { padding: 28px 0; color: var(--muted); }
.site-intro { padding-top: 22px; }
.site-intro h1 { margin: 0; color: var(--muted); font: 500 13px/1.4 var(--body); }
.site-intro h1 span { color: var(--coral); }
.site-intro { padding-top: 0; }
.feature-banner { width: min(960px, calc(100% - 36px)); height: 188px; position: relative; display: flex; align-items: center; overflow: hidden; margin: 16px auto 0; background: #15151c; color: #fff; }
.feature-banner::after { position: absolute; inset: 0; background: linear-gradient(90deg, #15151c 0%, #15151c 39%, rgb(21 21 28 / 85%) 53%, rgb(21 21 28 / 0%) 100%); content: ""; pointer-events: none; }
.feature-banner__image { position: absolute; inset: 0 0 0 auto; width: 62%; overflow: hidden; }
.feature-banner__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.feature-banner__content { width: 62%; position: relative; z-index: 1; padding: 20px 34px; }
.feature-banner__label { display: block; margin-bottom: 7px; color: #d9c9ff; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.feature-banner__label span { padding: 0 5px; color: var(--coral); }
.feature-banner__content h2 { max-width: 510px; margin: 0 0 12px; color: #fff; font-size: 26px; line-height: 1.12; }
.feature-banner__link { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.feature-banner__link span { color: var(--green); font-size: 16px; }
.news-feed { padding-top: 50px; }
.blog-feed { padding-top: 44px; }
.news-feed, .blog-feed { width: min(960px, calc(100% - 36px)); }
.news-feed .section-heading, .blog-feed .section-heading { margin-inline: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.news-feed .section-heading { margin-bottom: 17px; }
.news-feed .section-heading .eyebrow, .blog-feed .section-heading .eyebrow { display: none; }
.news-feed .section-heading h2 { margin: 0; font-size: 16px; text-transform: uppercase; }
.news-feed .section-heading h2::before { width: 8px; height: 8px; display: inline-block; margin-right: 8px; background: var(--accent); content: ""; }
.blog-feed .section-heading h2 { margin: 0; font-size: 22px; font-weight: 700; text-transform: none; }
.news-feed .section-count, .blog-feed .section-count { display: none; }
.news-feed .post-card, .blog-feed .post-card { border: 0; background: transparent; }
.news-feed .post-card__image, .blog-feed .post-card__image { border-radius: 7px; }
.news-feed .post-card__body, .blog-feed .post-card__body { padding: 6px 0 12px; }
.news-feed .post-card h2, .news-feed .post-card h3, .blog-feed .post-card h2, .blog-feed .post-card h3 { margin: 3px 0 8px; font-size: 16px; font-weight: 500; line-height: 1.28; }
.news-feed .post-card__body > p, .blog-feed .post-card__body > p { display: none; }
.news-feed .post-categories, .blog-feed .post-categories, .news-feed .post-card__body > p, .blog-feed .post-card__body > p { display: none; }
.news-feed .post-card__image img, .blog-feed .post-card__image img { aspect-ratio: 1.5; }
.news-feed .post-meta, .blog-feed .post-meta { gap: 12px; color: #858585; font-size: 10px; }
.news-feed .post-meta svg, .blog-feed .post-meta svg { width: 12px; height: 12px; flex: 0 0 auto; fill: #999; stroke: #999; stroke-width: 1.2; }
.news-feed .post-meta .meta-date svg { fill: none; }
.news-feed .post-meta span + span::before, .blog-feed .post-meta span + span::before { display: none; }
.bulletin-band { margin-top: 8px; padding: 34px 0; background: #f0f2f1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bulletin-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bulletin-row h2 { margin: 7px 0 0; font-size: 25px; }
.bulletin-row p { max-width: 370px; margin: 0; color: var(--muted); font-size: 13px; }
.bulletin-row .button-link { flex: 0 0 auto; }
.news-desk { padding-top: 44px; }
.news-desk-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.news-desk-heading h1 { margin: 8px 0 0; font-size: 42px; line-height: 1.1; }
.news-desk-heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 13px; text-align: right; }
.news-desk-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .9fr); gap: 32px; padding-top: 24px; }
.lead-story { min-width: 0; }
.lead-story-image { display: block; overflow: hidden; aspect-ratio: 1.72; background: #e4edf0; }
.lead-story-image img { width: 100%; height: 100%; object-fit: cover; }
.lead-story-body { padding: 18px 0 22px; }
.lead-story-body h2 { max-width: 840px; margin: 9px 0; font-size: 38px; line-height: 1.13; }
.lead-story-body > p { max-width: 760px; margin-bottom: 16px; color: var(--muted); font-size: 15px; }
.latest-rail { padding-left: 26px; border-left: 1px solid var(--line); }
.rail-heading { margin: 0 0 7px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font: 700 20px/1.2 var(--display); }
.rail-story { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rail-story-image { display: block; overflow: hidden; aspect-ratio: 1; background: #e4edf0; }
.rail-story-image img, .rail-story-image .post-placeholder { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.rail-story-date { color: var(--muted); font-size: 10px; }
.rail-story h3 { margin: 3px 0 0; font-size: 15px; line-height: 1.3; }
.front-page-content { margin-top: 32px; }
.not-found { min-height: 55vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found h1 { margin: 10px 0; font-size: 48px; }
.not-found p { color: var(--muted); }
.article { padding-top: 34px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 11px; }
.article-header { max-width: 820px; margin: 58px auto 32px; text-align: center; }
.article-header h1 { margin: 15px 0; font-size: 56px; line-height: 1.1; }
.article-deck { max-width: 680px; margin: 0 auto 20px; color: var(--muted); font-size: 17px; }
.post-meta--article { justify-content: center; }
.article-cover { width: min(100%, 1040px); max-height: 570px; margin: 0 auto; object-fit: cover; }
.article-cover img { width: 100%; max-height: 570px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 175px minmax(0, 710px); justify-content: center; gap: 55px; padding: 50px 0 70px; }
.article-aside { align-self: start; position: sticky; top: 22px; padding-top: 9px; color: var(--muted); font-size: 12px; }
.article-aside a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
.aside-label { margin-bottom: 4px; color: var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.article-content { min-width: 0; color: #35423a; font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.article-content h2 { margin: 42px 0 12px; color: var(--ink); font-size: 29px; line-height: 1.25; }
.article-content h3 { margin: 30px 0 10px; color: var(--ink); font-size: 22px; }
.article-content p, .article-content ul, .article-content ol, .article-content blockquote { margin-bottom: 21px; }
.article-content a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.article-content img { height: auto; margin: 24px auto; }
.article-content figure { max-width: 100%; margin: 26px 0; }
.article-content figcaption { color: var(--muted); font-size: 12px; }
.article-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.article-content th, .article-content td { padding: 10px; border: 1px solid var(--line); text-align: left; }
.article-content pre { max-width: 100%; overflow: auto; padding: 16px; background: #e9eee4; }
.article-content iframe { max-width: 100%; }
.related-section { padding: 0 0 72px; }
.post-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-grid--related .post-card__body > p { min-height: 0; }
.post-navigation { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.post-navigation a { max-width: 48%; }
.comments-area { max-width: 710px; margin: 0 auto 70px; }
.comments-area h2 { font-size: 26px; }
.comment-list { padding-left: 20px; }
.comment-body { padding: 15px 0; border-bottom: 1px solid var(--line); }
.comment-meta, .comment-notes, .logged-in-as { color: var(--muted); font-size: 12px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 10px; border: 1px solid var(--line); background: var(--white); }
.comment-form .submit { padding: 12px 16px; border: 0; background: var(--ink); color: var(--white); cursor: pointer; }
.site-footer { padding: 30px 0; background: var(--ink); color: #e9eee4; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.brand--footer { font-size: 17px; }
.brand--footer .brand-mark span { border-color: var(--ink); }
.brand--footer .brand-accent { color: var(--green); }
.footer-row > p { margin: 0 auto 0 0; color: #aeb9af; font-size: 12px; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; font-size: 11px; }
.footer-row small { width: 100%; padding-top: 14px; border-top: 1px solid #3a4741; color: #aeb9af; font-size: 10px; }

@media (max-width: 900px) {
    .header-row { gap: 20px; }
    .main-nav, .main-nav ul { gap: 16px; }
    .main-nav a { font-size: 9px; }
    .hero { gap: 38px; padding-top: 56px; padding-bottom: 60px; }
    .hero h1 { font-size: 49px; }
    .hero-visual, .hero-visual > img { min-height: 330px; height: 330px; }
    .topics-row { gap: 24px; }
    .post-grid { gap: 17px; }
    .post-card__body { padding: 17px 15px; }
    .news-feed .post-grid, .blog-feed .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bulletin-row { align-items: flex-start; }
    .news-desk-grid { grid-template-columns: minmax(0, 1.3fr) minmax(270px, .9fr); gap: 22px; }
    .latest-rail { padding-left: 18px; }
    .lead-story-body h2 { font-size: 32px; }
    .rail-story { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 680px) {
    body { font-size: 15px; }
    .wrap { width: min(100% - 36px, 540px); }
    .header-row { width: calc(100% - 36px); min-height: 70px; flex-wrap: wrap; gap: 0; }
    .brand { margin-right: auto; font-size: 19px; }
    .menu-toggle { width: 40px; height: 40px; display: grid; align-content: center; justify-items: center; gap: 5px; margin-left: 12px; border: 1px solid var(--line); background: transparent; }
    .menu-toggle span { width: 17px; height: 1px; background: var(--ink); }
    .main-nav { order: 3; width: 100%; display: none; align-items: stretch; gap: 0; padding: 4px 0 12px; }
    .main-nav.is-open { display: flex; flex-direction: column; }
    .main-nav ul { width: 100%; align-items: stretch; flex-direction: column; gap: 0; }
    .main-nav a { display: block; padding: 10px 0; border-top: 1px solid var(--line); }
    .share-trigger { order: 2; margin-left: 8px; }
    .search-form { width: 100%; height: 38px; order: 4; margin-bottom: 12px; border: 1px solid var(--line); background: var(--white); }
    .search-form input[type="search"], .search-form:focus-within input[type="search"] { width: calc(100% - 38px); height: 36px; position: static; padding: 0 10px; border: 0; opacity: 1; }
    .hero { grid-template-columns: 1fr; gap: 37px; padding-top: 45px; padding-bottom: 48px; }
    .hero h1 { margin-top: 17px; font-size: 43px; }
    .hero-copy > p { font-size: 15px; }
    .hero-note { margin-top: 30px; }
    .hero-visual, .hero-visual > img { min-height: 0; height: auto; aspect-ratio: 1.2; }
    .hero-visual::before { top: -11px; right: -11px; }
    .visual-caption { right: -8px; bottom: 13px; padding: 12px 14px; font-size: 11px; }
    .visual-orbit { left: -12px; bottom: -14px; width: 36px; height: 36px; }
    .topics-row { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding-top: 17px; padding-bottom: 17px; }
    .topics-label { grid-column: 1 / -1; margin: 0 0 6px; }
    .topics-row a { padding: 8px 0; font-size: 12px; }
    .latest-section { padding-top: 54px; padding-bottom: 56px; }
    .section-heading h2 { font-size: 29px; }
    .feature-banner { height: 178px; margin-top: 10px; margin-bottom: 30px; }
    .feature-banner__image { width: 72%; opacity: .78; }
    .feature-banner__content { width: 83%; padding: 17px 20px; }
    .feature-banner__content h2 { font-size: 19px; }
    .feature-banner__label { font-size: 9px; }
    .news-feed .post-grid, .blog-feed .post-grid { grid-template-columns: 1fr; }
    .bulletin-row { flex-direction: column; }
    .news-desk { padding-top: 34px; }
    .news-desk-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .news-desk-heading h1 { font-size: 34px; }
    .news-desk-heading > p { text-align: left; }
    .news-desk-grid { grid-template-columns: 1fr; gap: 12px; }
    .lead-story-image { aspect-ratio: 1.35; }
    .lead-story-body h2 { font-size: 29px; }
    .latest-rail { padding: 16px 0 0; border-top: 2px solid var(--ink); border-left: 0; }
    .rail-story { grid-template-columns: 78px minmax(0, 1fr); }
    .post-grid, .post-grid--related { grid-template-columns: 1fr; gap: 18px; }
    .post-card { display: grid; grid-template-columns: 38% 1fr; }
    .post-card__image { height: 100%; min-height: 190px; aspect-ratio: auto; }
    .post-card__body { padding: 14px 13px; }
    .post-card h2, .post-card h3 { font-size: 17px; }
    .post-card__body > p { min-height: 0; margin-bottom: 12px; font-size: 12px; }
    .post-meta { gap: 7px 12px; font-size: 10px; }
    .post-meta span + span::before { left: -7px; }
    .newsletter-row { align-items: flex-start; flex-direction: column; }
    .newsletter-row h2 { font-size: 24px; }
    .archive-intro { padding-top: 42px; }
    .archive-intro h1 { font-size: 36px; }
    .article { padding-top: 22px; }
    .article-header { margin-top: 37px; }
    .article-header h1 { font-size: 37px; }
    .article-deck { font-size: 15px; }
    .article-layout { grid-template-columns: 1fr; gap: 21px; padding-top: 30px; }
    .article-aside { position: static; display: flex; flex-wrap: wrap; gap: 0 14px; padding: 12px; border: 1px solid var(--line); }
    .article-aside .aside-label { width: 100%; }
    .article-aside a { border: 0; }
    .article-content { font-size: 16px; }
    .article-content h2 { font-size: 25px; }
    .article-content table { display: block; overflow-x: auto; }
    .related-section { padding-bottom: 55px; }
    .post-grid--related .post-card { display: grid; }
    .footer-row { align-items: flex-start; flex-direction: column; gap: 15px; }
    .footer-row > p { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}