:root {
    --surface: #f6f9ff;
    --surface-lowest: #ffffff;
    --surface-low: #eff4fb;
    --surface-container: #e9eef5;
    --surface-high: #e4e9f0;
    --surface-highest: #dee3ea;
    --text: #171c21;
    --text-muted: #454652;
    --outline: #757683;
    --outline-soft: #c5c5d4;
    --primary: #4457b4;
    --primary-container: #8a9cfe;
    --primary-soft: #dee1ff;
    --primary-ink: #192e8c;
    --secondary-soft: #dfccfe;
    --secondary-ink: #63547e;
    --tertiary-soft: #ffe07f;
    --tertiary-ink: #453700;
    --danger: #ba1a1a;
    --shadow-dark: rgba(117, 118, 131, 0.18);
    --shadow-deep: rgba(117, 118, 131, 0.28);
    --shadow-light: rgba(255, 255, 255, 0.96);
    --glass: rgba(255, 255, 255, 0.68);
    --glass-strong: rgba(246, 249, 255, 0.78);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --radius-pill: 9999px;
    --pad-mobile: 20px;
    --pad-desktop: 40px;
    --stack-sm: 12px;
    --stack-md: 24px;
    --stack-lg: 48px;
    --content-width: 760px;
    --ease-soft: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    background: var(--surface);
    color: var(--text);
    font-family: var(--gh-font-body, Inter), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    letter-spacing: 0;
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100dvh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.72), transparent 32rem),
        linear-gradient(180deg, #f9fbff 0%, var(--surface) 18rem, #f1f5fc 100%);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid rgba(68, 87, 180, 0.35);
    outline-offset: 4px;
}

.material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    max-width: 1em;
    overflow: hidden;
    font-family: "Material Symbols Outlined";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    vertical-align: middle;
    white-space: nowrap;
    font-variation-settings: "FILL" 0, "wght" 430, "GRAD" 0, "opsz" 24;
}

.icon-filled {
    font-variation-settings: "FILL" 1, "wght" 430, "GRAD" 0, "opsz" 24;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;
    height: 80px;
    padding: 0 var(--pad-mobile);
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 16px rgba(23, 28, 33, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.site-header--search {
    grid-template-columns: 52px 1fr 52px;
    height: 116px;
}

.brand {
    justify-self: center;
    color: var(--primary);
    font-family: var(--gh-font-heading, Montserrat), Inter, sans-serif;
    font-size: clamp(28px, 8vw, 48px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.site-header:not(.site-header--search) .brand {
    font-size: 28px;
}

.header-icon,
.glass-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--primary);
    background: transparent;
    border: 0;
    border-radius: var(--radius-pill);
    transition: transform 180ms var(--ease-soft), background-color 180ms var(--ease-soft), box-shadow 180ms var(--ease-soft);
}

.header-icon:hover,
.glass-icon-button:hover {
    background: rgba(255, 255, 255, 0.62);
}

.header-icon:active,
.glass-icon-button:active {
    transform: scale(0.94);
    box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

.desktop-nav {
    display: none;
}

.site-nav-link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    transition: color 180ms var(--ease-soft);
}

.site-nav-link:hover,
.site-nav-link.is-current {
    color: var(--primary);
}

.mobile-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: var(--pad-mobile);
    right: var(--pad-mobile);
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--glass-strong);
    box-shadow: 8px 8px 18px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu a {
    padding: 10px 12px;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.mobile-menu a:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.5);
}

.site-main,
.post-main {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding: 104px var(--pad-mobile) 128px;
}

.feed-main {
    display: grid;
    gap: 36px;
}

.post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.post-card,
.list-card,
.newsletter-card,
.neumorphic-card,
.tag-hero {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: 8px 8px 18px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
}

.post-card {
    position: relative;
    overflow: hidden;
    transition: transform 240ms var(--ease-soft), box-shadow 240ms var(--ease-soft);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 12px 16px 28px var(--shadow-deep), -10px -10px 22px var(--shadow-light);
}

.post-card-link {
    display: grid;
    height: 100%;
}

.post-card-media {
    width: 100%;
    height: 240px;
    min-height: 210px;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: var(--surface-container);
}

.post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-media--placeholder,
.list-card-image--placeholder,
.post-hero--empty {
    background:
        radial-gradient(circle at 18% 24%, rgba(138, 156, 254, 0.34), transparent 11rem),
        radial-gradient(circle at 82% 72%, rgba(223, 204, 254, 0.42), transparent 12rem),
        linear-gradient(135deg, #eff4fb 0%, #dee7f4 100%);
}

.post-card-content {
    display: grid;
    gap: 10px;
    padding: 22px;
}

.post-card--featured {
    min-height: 246px;
}

.post-card--featured .post-card-link {
    min-height: 246px;
}

.post-card--featured .post-card-media {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 100%;
    border-radius: inherit;
    filter: saturate(0.78) brightness(1.06);
}

.post-card--featured .post-card-media img {
    min-height: 100%;
}

.post-card--featured .post-card-content {
    position: relative;
    align-self: end;
    min-height: 164px;
    padding: 24px;
}

.glass-overlay,
.glass-panel {
    background: rgba(255, 255, 255, 0.58);
    border-top: 1px solid rgba(255, 255, 255, 0.72);
    border-left: 1px solid rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.post-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tag-pill,
.soft-chip,
.glass-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
}

.tag-pill {
    color: var(--primary-ink);
    background: rgba(222, 225, 255, 0.82);
}

.post-card:nth-child(2n) .tag-pill {
    color: var(--secondary-ink);
    background: rgba(223, 204, 254, 0.55);
}

.post-card:nth-child(3n) .tag-pill {
    color: var(--tertiary-ink);
    background: rgba(255, 224, 127, 0.52);
}

.reading-time {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.post-card-title {
    margin: 0;
    color: var(--text);
    font-family: var(--gh-font-heading, Montserrat), Inter, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: 0;
}

.post-card:not(.post-card--featured) .post-card-title {
    font-size: 25px;
}

.post-card-excerpt {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 20px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.post-card:not(.post-card--featured) .post-card-excerpt {
    font-size: 17px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.pagination a {
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    box-shadow: 5px 5px 11px var(--shadow-dark), -5px -5px 11px var(--shadow-light);
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 58;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(440px, calc(100vw - 40px));
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 34px rgba(117, 118, 131, 0.17);
    transform: translateX(-50%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.bottom-nav-item {
    display: grid;
    justify-items: center;
    gap: 3px;
    min-width: 64px;
    padding: 8px 5px;
    border-radius: var(--radius-pill);
    color: rgba(69, 70, 82, 0.68);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    transition: color 180ms var(--ease-soft), transform 180ms var(--ease-soft), background-color 180ms var(--ease-soft);
}

.bottom-nav-item:hover {
    background: rgba(222, 225, 255, 0.32);
    color: var(--primary);
}

.bottom-nav-item:active {
    transform: scale(0.93);
}

.bottom-nav-item.is-active {
    color: var(--primary);
    font-weight: 600;
}

.post-main {
    max-width: 800px;
    padding-top: 0;
    overflow-x: hidden;
}

.post-hero {
    position: relative;
    width: calc(100% + (2 * var(--pad-mobile)));
    height: min(56vh, 530px);
    min-height: 286px;
    margin-left: calc(-1 * var(--pad-mobile));
    overflow: hidden;
    background: var(--surface-container);
    box-shadow: 0 14px 28px rgba(23, 28, 33, 0.12);
}

.post-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-back {
    position: absolute;
    top: 14px;
    left: 14px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.post-hero-chip {
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.76);
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.article-shell {
    width: 100%;
    max-width: calc(100vw - 40px);
    padding: 26px 0 0;
}

.article-header {
    display: grid;
    gap: 14px;
    margin-bottom: 32px;
}

.article-title {
    margin: 0;
    color: var(--primary);
    font-family: var(--gh-font-heading, Montserrat), Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.article-byline {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
    border-radius: var(--radius-pill);
    background: var(--surface);
    box-shadow: 7px 7px 16px var(--shadow-dark), -7px -7px 16px var(--shadow-light);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 6px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.author-avatar--sm {
    width: 42px;
    height: 42px;
}

.author-avatar--lg {
    width: 136px;
    height: 136px;
    padding: 8px;
}

.byline-name {
    display: block;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.byline-meta {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.35;
}

.content-body {
    color: var(--text);
    font-size: 16px;
    line-height: 1.62;
}

.content-body > * {
    margin-top: 0;
    margin-bottom: 24px;
}

.content-body > p:first-child {
    color: var(--text-muted);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.65;
}

.content-body h2,
.content-body h3 {
    margin-top: 38px;
    color: var(--primary);
    font-family: var(--gh-font-heading, Montserrat), Inter, sans-serif;
    line-height: 1.25;
    letter-spacing: 0;
}

.content-body h2 {
    width: fit-content;
    max-width: 100%;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: inset 6px 6px 13px var(--shadow-dark), inset -6px -6px 13px var(--shadow-light);
    font-size: 20px;
}

.content-body h3 {
    font-size: 18px;
}

.content-body a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.content-body blockquote {
    margin: 34px 0;
    padding: 0 0 0 18px;
    border-left: 4px solid var(--primary);
    color: var(--text-muted);
    font-style: italic;
}

.content-body img,
.content-body .kg-image {
    border-radius: var(--radius-lg);
    box-shadow: 8px 8px 18px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
}

.content-body pre,
.content-body code {
    border-radius: var(--radius-sm);
    background: var(--surface-high);
}

.content-body pre {
    overflow-x: auto;
    padding: 18px;
}

.content-body code {
    padding: 2px 6px;
}

.newsletter-card {
    width: min(100%, 640px);
    max-width: calc(100vw - 40px);
    margin: 48px auto 0;
    padding: 28px;
    border-radius: var(--radius-lg);
}

.newsletter-card--search {
    width: 100%;
    margin-top: 0;
    padding: 34px;
    background: rgba(246, 249, 255, 0.76);
}

.newsletter-inner {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.newsletter-inner > .material-symbols-outlined {
    color: var(--primary);
    font-size: 42px;
}

.newsletter-inner h2 {
    margin: 0;
    color: var(--text);
    font-family: var(--gh-font-heading, Montserrat), Inter, sans-serif;
    font-size: 28px;
    line-height: 1.22;
}

.newsletter-inner p {
    max-width: 520px;
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.5;
}

.subscribe-form {
    display: grid;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
}

.subscribe-form input,
.search-input-shell {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: inset 5px 5px 11px var(--shadow-dark), inset -5px -5px 11px var(--shadow-light);
    color: var(--text);
}

.subscribe-form input {
    padding: 0 18px;
}

.subscribe-form input::placeholder {
    color: rgba(117, 118, 131, 0.44);
}

.subscribe-form button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--primary-container);
    box-shadow: 8px 8px 16px rgba(117, 118, 131, 0.2), -8px -8px 16px var(--shadow-light);
    color: var(--primary-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    transition: transform 180ms var(--ease-soft), box-shadow 180ms var(--ease-soft), background-color 180ms var(--ease-soft);
}

.subscribe-form button {
    width: 100%;
    border-radius: var(--radius-md);
}

.subscribe-form button:hover,
.primary-button:hover {
    background: var(--primary-soft);
}

.subscribe-form button:active,
.primary-button:active {
    transform: scale(0.98);
    box-shadow: inset 5px 5px 11px rgba(117, 118, 131, 0.2), inset -5px -5px 11px var(--shadow-light);
}

.form-message {
    display: none;
    font-size: 13px;
}

.success .form-success,
.error .form-error {
    display: block;
}

.form-error {
    color: var(--danger);
}

.newsletter-note {
    margin-top: 8px;
    color: var(--outline);
    font-size: 14px;
}

.archive-main {
    padding-top: 116px;
}

.profile-hero {
    display: grid;
    justify-items: center;
    gap: 14px;
    margin-bottom: 44px;
    text-align: center;
}

.profile-name {
    margin: 0;
    color: var(--text);
    font-family: var(--gh-font-heading, Montserrat), Inter, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.profile-role {
    max-width: 620px;
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
}

.profile-bio {
    display: grid;
    gap: 22px;
    width: 100%;
    margin-top: 14px;
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: 8px 8px 18px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
}

.profile-bio p {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.soft-chip {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.64);
    box-shadow: 4px 6px 12px rgba(117, 118, 131, 0.12);
}

.latest-section {
    display: grid;
    gap: 24px;
}

.section-title {
    margin: 0;
    padding-left: 8px;
    color: var(--text);
    font-family: var(--gh-font-heading, Montserrat), Inter, sans-serif;
    font-size: 20px;
    line-height: 1.3;
}

.archive-list {
    display: grid;
    gap: 20px;
}

.list-card {
    overflow: hidden;
    transition: transform 220ms var(--ease-soft);
}

.list-card:hover {
    transform: translateY(-3px);
}

.list-card-link {
    display: grid;
    gap: 16px;
    padding: 12px;
}

.list-card-image {
    width: 100%;
    height: 108px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.list-card-body {
    padding: 0 6px 8px;
}

.list-card-tag {
    margin: 0 0 4px;
    color: var(--primary);
    font-size: 14px;
    line-height: 1.4;
}

.list-card h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-family: var(--gh-font-heading, Montserrat), Inter, sans-serif;
    font-size: 21px;
    line-height: 1.18;
}

.list-card p:last-child {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.45;
}

.list-card-arrow {
    display: none;
}

.tag-hero {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-bottom: 36px;
    padding: 28px;
    text-align: center;
}

.tag-hero-image {
    width: 100%;
    max-height: 240px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.archive-kicker {
    margin: 0;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.search-page {
    position: relative;
    min-height: 100dvh;
    padding: 168px var(--pad-mobile) 64px;
    overflow: hidden;
    background:
        linear-gradient(rgba(246, 249, 255, 0.82), rgba(246, 249, 255, 0.9)),
        radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.82), transparent 24rem),
        var(--surface);
}

.search-page::before {
    content: "";
    position: absolute;
    inset: 96px 20px auto;
    height: 220px;
    opacity: 0.38;
    filter: blur(2px);
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0 4%, var(--surface-high) 4% 30%, transparent 30% 36%, var(--surface-high) 36% 62%, transparent 62% 68%, var(--surface-high) 68% 96%, transparent 96%),
        linear-gradient(180deg, transparent 0 16px, rgba(117, 118, 131, 0.18) 16px 18px, transparent 18px 100%);
    border-radius: var(--radius-lg);
}

.search-stage {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 44px;
    width: min(100%, 632px);
    margin: 0 auto;
}

.search-panel {
    display: grid;
    justify-items: center;
    gap: 28px;
    width: 100%;
    text-align: center;
}

.search-heading {
    margin: 0;
    color: var(--primary);
    font-family: var(--gh-font-heading, Montserrat), Inter, sans-serif;
    font-size: clamp(34px, 8vw, 48px);
    line-height: 1.12;
    letter-spacing: 0;
}

.search-input-shell {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 88px;
    padding: 0 30px;
    color: rgba(117, 118, 131, 0.64);
    text-align: left;
}

.search-input-shell .material-symbols-outlined {
    color: var(--outline);
    font-size: 42px;
}

.search-input-shell span:not(.material-symbols-outlined) {
    overflow: hidden;
    font-size: clamp(22px, 5vw, 36px);
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.chip-row--large {
    gap: 28px;
}

.chip-row--large .soft-chip {
    min-width: 126px;
    min-height: 50px;
    font-size: 22px;
    font-weight: 500;
}

.soft-divider {
    width: 176px;
    height: 1px;
    background: rgba(197, 197, 212, 0.48);
}

.empty-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 36px;
    text-align: center;
}

.empty-state h1 {
    margin: 0;
    color: var(--primary);
    font-family: var(--gh-font-heading, Montserrat), Inter, sans-serif;
    font-size: 30px;
    line-height: 1.2;
}

.empty-state p {
    max-width: 460px;
    margin: 0;
    color: var(--text-muted);
}

.error-main {
    display: grid;
    min-height: 80dvh;
    place-items: center;
}

.kg-width-wide,
.kg-width-full {
    width: 100%;
}

.kg-card figcaption {
    margin-top: 10px;
    color: var(--outline);
    font-size: 13px;
    text-align: center;
}

.comments-shell {
    margin-top: 42px;
}

@media (min-width: 720px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
        padding: 0 var(--pad-desktop);
    }

    .site-header:not(.site-header--search) .brand {
        justify-self: start;
        font-size: 32px;
    }

    .site-header:not(.site-header--search) .header-icon:first-child {
        display: none;
    }

    .desktop-nav {
        display: flex;
        justify-self: center;
        gap: 28px;
    }

    .site-main {
        padding-right: var(--pad-desktop);
        padding-left: var(--pad-desktop);
    }

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

    .post-card:not(.post-card--featured) .post-card-media {
        height: 220px;
    }

    .bottom-nav {
        display: none;
    }

    .post-main {
        padding-right: var(--pad-desktop);
        padding-left: var(--pad-desktop);
        overflow-x: visible;
    }

    .article-shell,
    .newsletter-card {
        max-width: 100%;
    }

    .post-hero {
        width: 100%;
        margin: 24px 0 0;
        border-radius: var(--radius-lg);
        box-shadow: 8px 8px 18px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
    }

    .article-title {
        font-size: 38px;
    }

    .content-body {
        font-size: 18px;
        line-height: 1.72;
    }

    .content-body > p:first-child {
        font-size: 20px;
    }

    .content-body h2 {
        font-size: 24px;
    }

    .content-body h3 {
        font-size: 21px;
    }

    .newsletter-card--compact .subscribe-form {
        grid-template-columns: 1fr auto;
    }

    .newsletter-card--compact .subscribe-form button {
        width: auto;
        min-width: 142px;
    }

    .list-card-link {
        grid-template-columns: 144px 1fr 44px;
        align-items: center;
    }

    .list-card-image {
        width: 144px;
        height: 104px;
    }

    .list-card-arrow {
        display: inline-flex;
        justify-content: center;
        color: var(--text-muted);
    }

    .search-page {
        padding-top: 220px;
    }
}

@media (max-width: 420px) {
    .post-card-title {
        font-size: 26px;
    }

    .post-card:not(.post-card--featured) .post-card-title {
        font-size: 22px;
    }

    .post-card-excerpt {
        font-size: 18px;
    }

    .chip-row--large {
        gap: 16px;
    }

    .chip-row--large .soft-chip {
        min-width: 0;
        min-height: 44px;
        font-size: 18px;
    }

    .newsletter-card--search {
        padding: 28px 18px;
    }
}

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