:root {
    --default-font: "Roboto", system-ui, sans-serif;
}
:root {
    --red: #b70101;
    --ink: #272329;
    --muted: #746e74;
    --line: #e4dfda;
    --cream: #f8f5f0;
    --header: 78px;
    color-scheme: light;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font: 400 16px/1.65 var(--default-font);
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
    object-fit: cover;
}
button,
input {
    font: inherit;
}
button,
a,
summary {
    cursor: default;
}
button {
    color: inherit;
}
button:disabled {
    opacity: 0.5;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
    outline: 3px solid #b7010170;
    outline-offset: 5px;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1,
h2,
h3 {
    line-height: 1.2;
    letter-spacing: -0.035em;
}
h2 {
    font-size: 32px;
    font-weight: 600;
}
h3 {
    font-size: 21px;
    font-weight: 600;
}
p {
    color: var(--muted);
}
svg {
    flex-shrink: 0;
}
.container {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}
.utility {
    background: #f7f4ef;
    font-size: 11px;
    color: #776e68;
}
.utility > .container {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.utility a {
    display: flex;
    gap: 9px;
    align-items: center;
}
.utility svg {
    width: 14px;
    height: 14px;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fffffff5;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.brand {
    display: flex;
    gap: 15px;
    align-items: center;
}
.brand img {
    object-fit: contain;
}
.brand > span {
    font-family: var(--default-font);
    font-size: 21px;
    padding-left: 15px;
    border-left: 1px solid #dcd5ce;
}
.desktop-nav,
.header-actions {
    display: flex;
    align-items: center;
    gap: 26px;
}
.desktop-nav {
    font-size: 13px;
    font-weight: 500;
}
.desktop-nav a[aria-current] {
    color: var(--red);
}
.button {
    background: var(--red);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--red);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.icon-button {
    display: grid;
    place-items: center;
    background: none;
    border: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
}
.header-actions {
    gap: 12px;
}
.topics-menu {
    position: relative;
}
.topics-menu summary {
    list-style: none;
    display: flex;
    gap: 8px;
}
.topics-menu summary::-webkit-details-marker {
    display: none;
}
.topics-menu > div {
    position: absolute;
    top: 35px;
    left: -20px;
    min-width: 235px;
    padding: 10px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 10px 25px #342c3012;
    border-radius: 8px;
}
.topics-menu a {
    display: block;
    padding: 10px;
    border-radius: 5px;
}
.mobile-toggle {
    display: none;
}
.mobile-nav {
    padding-block: 12px 20px;
}
.mobile-nav a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.preview-note {
    font-size: 10px;
    color: #978b83;
    padding-top: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.preview-dot {
    width: 5px;
    height: 5px;
    background: #b7997e;
    border-radius: 50%;
}
.masthead {
    position: relative;
    padding-top: 28px;
    padding-bottom: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    align-items: end;
}
.eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: #8a6c5e;
    margin-bottom: 13px;
}
.masthead > .eyebrow {
    grid-column: 1/-1;
}
.masthead h1 {
    font-family: var(--default-font);
    font-size: 48px;
    font-weight: 400;
    line-height: 1.07;
    margin: 0;
}
.masthead h1 span {
    color: #927564;
}
.masthead > p:last-child {
    font-size: 14px;
    margin: 0;
    padding-bottom: 5px;
    justify-self: end;
}
.lead-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 38px;
}
.lead-story {
    background: var(--cream);
}
.lead-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.9;
}
.lead-image img {
    width: 100%;
    height: 100%;
    object-position: center 42%;
}
.lead-copy {
    padding: 25px 28px;
}
.category-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    color: #956b55;
}
.lead-copy h2 {
    font-size: 29px;
    margin: 10px 0 14px;
    letter-spacing: -0.03em;
}
.lead-copy > p {
    font-size: 14px;
    margin-bottom: 26px;
}
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 11px;
    color: #8a8080;
}
.featured-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--red);
    padding: 0 0 13px;
}
.featured-heading h2 {
    font-size: 21px;
    margin: 0;
}
.featured-heading > span {
    font-size: 9px;
    letter-spacing: 0.12em;
    color: #9b8981;
}
.featured article {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}
.feature-number {
    font: italic 25px var(--default-font);
    color: #c9b7a7;
    margin-top: 3px;
}
.featured h3 {
    font-size: 18px;
    line-height: 1.35;
    margin: 7px 0 9px;
}
.read-time {
    font-size: 11px;
    color: #9a9090;
}
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
}
.arrow-link svg {
    width: 18px;
}
.featured-link {
    padding-top: 18px;
}
.section {
    padding-block: 58px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
}
.section-heading h2 {
    margin: 0;
}
.section-heading p:last-child {
    font-size: 14px;
    margin: 10px 0 0;
}
.muted {
    color: var(--muted);
    font-size: 13px;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.cards-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.post-card {
    min-width: 0;
}
.card-image {
    display: block;
    aspect-ratio: 1.6;
    overflow: hidden;
    background: #f5eee8;
}
.card-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s;
}
.card-body {
    padding-top: 17px;
}
.post-card h3 {
    font-size: 20px;
    line-height: 1.35;
    margin: 8px 0 18px;
}
.four .post-card h3 {
    font-size: 17px;
}
.card-body > p {
    font-size: 14px;
}
.category-section {
    padding: 52px 0;
}
.category-section .post-card {
    background: white;
}
.category-section .card-body {
    padding: 20px;
}
.lilac {
    background: #f3f0f6;
}
.peach {
    background: #fcf3eb;
}
.sage {
    background: #eef3ed;
}
.rose {
    background: #faf0ef;
}
.watch-section {
    background: #2e222d;
    color: white;
    padding: 50px 0;
}
.watch-section .eyebrow {
    color: #ceb3bb;
}
.watch-section .section-heading > span {
    font-size: 12px;
    color: #c7b9c6;
}
.video-cover {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    aspect-ratio: 1.6;
    overflow: hidden;
    background: #50414f;
}
.video-cover img {
    width: 100%;
    height: 100%;
}
.play-button {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: white;
    color: var(--red);
    border-radius: 50%;
}
.video-badge {
    position: absolute;
    right: 12px;
    bottom: 20px;
    font-size: 9px;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    background: #2c2230cc;
    color: white;
}
.video-card > .category-label {
    display: block;
    color: #cdb4be;
    margin-top: 20px;
}
.video-card h3 {
    font-size: 21px;
    margin: 9px 0 0;
}
.text-button {
    background: none;
    padding: 0;
    border: 0;
    text-align: left;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
}
.developer-callout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding-block: 60px;
}
.developer-callout h2 {
    font: 400 39px/1.12 var(--default-font);
}
.developer-callout p {
    font-size: 14px;
    max-width: 360px;
}
.code-art {
    background: #292633;
    color: #f5ecf7;
    overflow: hidden;
    border-radius: 8px;
    padding: 26px;
}
.code-art > span {
    font-size: 9px;
    letter-spacing: 0.14em;
    color: #b8a9c1;
}
.code-art pre {
    font: 13px/2 monospace;
    overflow: auto;
    padding: 16px 0;
}
.code-art pre span {
    color: #c7b0e7;
}
.code-art em {
    color: #c3d8af;
    font-style: normal;
}
.code-art > div {
    font-size: 11px;
    color: #bcafc5;
    border-top: 1px solid #514452;
    padding-top: 16px;
}
.site-footer {
    background: #f8f5f0;
    margin-top: 0;
    padding: 48px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}
.footer-brand {
    font-size: 24px;
    font-weight: 600;
    color: var(--red);
}
.footer-brand span {
    font: 22px var(--default-font);
    color: #46383c;
    margin-left: 10px;
}
.footer-grid p {
    font-size: 13px;
    margin-top: 15px;
}
.footer-grid h2 {
    font-size: 13px;
    letter-spacing: 0;
    margin-bottom: 15px;
}
.footer-grid > div > a:not(.footer-brand) {
    display: block;
    font-size: 12px;
    color: #776c72;
    margin: 7px 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-top: 1px solid #e5dcd5;
    font-size: 11px;
    color: #8c7e80;
}
.footer-bottom > div {
    display: flex;
    gap: 25px;
}
dialog {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 30px;
    width: min(620px, calc(100% - 32px));
    max-height: 90svh;
    overflow: auto;
    color: var(--ink);
    box-shadow: 0 20px 80px #22112230;
}
dialog::backdrop {
    background: #251e2d77;
    backdrop-filter: blur(5px);
}
.dialog-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}
.dialog-top h2 {
    font-size: 26px;
    margin: 0;
}
dialog label {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
}
.search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    padding: 8px;
    border-radius: 6px;
}
.search-field input {
    min-width: 0;
    flex: 1;
    width: 100%;
    border: 0;
    background: white;
    padding: 8px;
}
.search-field svg {
    margin-left: 5px;
}
dialog .muted {
    margin: 25px 0 12px;
}
.topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.topic-chips a {
    font-size: 12px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: white;
}
.topic-chips a[aria-current] {
    background: var(--ink);
    color: white;
}
.video-placeholder {
    text-align: center;
    padding: 40px 20px;
    background: #f5f0f7;
    border-radius: 8px;
}
.video-placeholder > svg {
    width: 50px;
    height: 50px;
    color: var(--red);
}
.video-placeholder p {
    font-size: 18px;
    font-weight: 600;
    margin: 16px 0 8px;
}
.video-placeholder span {
    font-size: 13px;
    color: var(--muted);
}
.skip {
    position: fixed;
    left: 12px;
    top: -100px;
    z-index: 100;
    background: white;
    padding: 12px;
}
.skip:focus {
    top: 12px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
[hidden] {
    display: none !important;
}
.listing-hero {
    padding: 35px 0 45px;
    margin-top: 16px;
}
.back-link {
    display: inline-block;
    font-size: 11px;
    color: #8d7a75;
    margin-bottom: 28px;
}
.listing-hero h1 {
    font: 44px/1.1 var(--default-font);
    margin-bottom: 20px;
}
.listing-hero p {
    max-width: 580px;
}
.listing-search {
    display: flex;
    gap: 10px;
    max-width: 620px;
}
.listing-search input {
    min-width: 0;
    flex: 1;
    padding: 12px;
    border: 1px solid #d8cec6;
    border-radius: 5px;
}
.listing-hero + .section > .topic-chips {
    margin-bottom: 35px;
}
.empty-state {
    text-align: center;
    min-height: 40vh;
    padding: 65px 20px;
}
.empty-state > svg {
    width: 45px;
    height: 45px;
    margin-bottom: 20px;
}
.empty-state h1 {
    font: 48px/1.2 var(--default-font);
}
.article-hero {
    padding: 26px 0 44px;
    margin-top: 14px;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: #8d7c7a;
    margin-bottom: 32px;
}
.article-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 55px;
    align-items: center;
}
.article-hero h1 {
    font: 42px/1.12 var(--default-font);
    margin-bottom: 22px;
}
.article-deck {
    font-size: 16px;
    color: #71636c;
}
.article-hero figure {
    margin: 0;
}
.article-hero figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5;
}
.article-hero figcaption {
    font-size: 10px;
    color: #9a8891;
    margin-top: 10px;
    text-align: right;
}
.byline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}
.author-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eedbd3;
    color: #b70101;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}
.byline strong {
    display: block;
    font-size: 12px;
}
.byline div > span {
    display: block;
    font-size: 10px;
    color: #8a7883;
    margin-top: 4px;
}
.reading-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 710px);
    gap: 70px;
    padding-top: 55px;
    justify-content: center;
}
.contents {
    position: sticky;
    top: 110px;
    align-self: start;
}
.contents nav {
    display: grid;
    gap: 2px;
    border-left: 1px solid #e4dcd6;
}
.contents nav a {
    font-size: 12px;
    line-height: 1.5;
    padding: 9px 12px;
    color: #82737c;
    border-left: 2px solid transparent;
    margin-left: -1px;
}
.contents nav a[aria-current] {
    color: #b70101;
    border-color: #b70101;
    background: #fbf5f1;
}
.share-button {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 11px;
    margin-top: 24px;
}
.share-button svg {
    width: 15px;
    height: 15px;
}
.share-status {
    font-size: 11px;
    color: #79717e;
    display: block;
    margin-top: 8px;
}
.article-body {
    min-width: 0;
}
.article-body p {
    font-size: 17px;
    line-height: 1.9;
    color: #514b54;
}
.sample-callout {
    padding: 15px 20px;
    background: #faf6ef;
    border-left: 3px solid #cbb39b;
    margin-bottom: 26px;
}
.sample-callout strong {
    font-size: 12px;
}
.sample-callout p {
    font-size: 12px;
    margin: 4px 0 0;
    line-height: 1.6;
}
.article-body .intro-paragraph {
    font-size: 20px;
    color: #342e37;
}
.article-body section {
    scroll-margin-top: 105px;
    padding-top: 22px;
}
.article-body h2 {
    font-size: 29px;
    margin-bottom: 18px;
}
.article-body blockquote {
    font: italic 27px/1.4 var(--default-font);
    margin: 35px 0;
    padding: 22px 28px;
    border-left: 3px solid #b70101;
    background: #fbf5f1;
    color: #745548;
}
.inline-figure {
    margin: 28px 0 38px;
}
.inline-figure img {
    width: 100%;
    height: auto;
    max-height: 390px;
}
.inline-figure figcaption {
    font-size: 11px;
    color: #9b8d93;
    margin-top: 9px;
}
.article-takeaway {
    padding: 28px;
    background: #edf1e8;
    border-radius: 8px;
    margin-top: 35px;
}
.article-takeaway p {
    font-size: 15px;
}
.article-takeaway .eyebrow {
    font-size: 10px;
}
.author-card {
    display: flex;
    gap: 18px;
    margin-top: 40px;
    padding: 24px 0;
    border-block: 1px solid var(--line);
}
.author-card h3 {
    font-size: 16px;
    margin: 0 0 8px;
}
.author-card p {
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}
.reading-progress {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 21;
    pointer-events: none;
}
.reading-progress span {
    display: block;
    height: 100%;
    background: #b70101;
    width: 0;
}
.related {
    padding-top: 65px;
}
@media (hover: hover) and (pointer: fine) {
    a,
    button,
    summary {
        cursor: pointer;
    }
    .button:hover {
        background: #920101;
    }
    .post-card h3 a:hover,
    .featured h3 a:hover,
    .lead-copy h2 a:hover {
        color: var(--red);
    }
    .card-image:hover img {
        transform: scale(1.025);
    }
    .topics-menu a:hover {
        background: #faf5f1;
    }
    .arrow-link:hover {
        color: #b70101;
    }
    .topic-chips a:hover {
        border-color: #b70101;
    }
    .icon-button:hover {
        background: #f8f3ed;
        border-radius: 50%;
    }
}
@media (max-width: 1000px) {
    .desktop-nav {
        gap: 15px;
    }
    .header-inner {
        gap: 16px;
    }
    .brand > span {
        display: none;
    }
    .lead-grid {
        gap: 25px;
        grid-template-columns: 1.25fr 1fr;
    }
    .featured article {
        padding: 14px 0;
    }
    .featured h3 {
        font-size: 16px;
    }
    .lead-copy h2 {
        font-size: 25px;
    }
    .reading-layout {
        gap: 35px;
        grid-template-columns: 180px minmax(0, 1fr);
    }
    .article-hero h1 {
        font-size: 35px;
    }
    .article-hero-grid {
        gap: 30px;
    }
    .developer-callout {
        gap: 35px;
    }
}
@media (max-width: 760px) {
    :root {
        --header: 64px;
    }
    .container {
        width: calc(100% - 40px);
    }
    .utility {
        display: none;
    }
    .header-inner {
        height: 64px;
    }
    .brand img {
        width: 116px;
        height: auto;
    }
    .brand > span {
        display: block;
        font-size: 18px;
        padding-left: 10px;
    }
    .brand {
        gap: 10px;
    }
    .desktop-nav,
    .header-cta {
        display: none;
    }
    .mobile-toggle {
        display: grid;
    }
    .header-actions {
        gap: 3px;
    }
    .preview-note {
        font-size: 9px;
        gap: 5px;
    }
    .masthead {
        display: block;
        padding-block: 25px;
    }
    .masthead h1 {
        font-size: 40px;
        margin-bottom: 18px;
    }
    .masthead > p:last-child {
        font-size: 13px;
    }
    .masthead br {
        display: none;
    }
    .masthead h1 br {
        display: block;
    }
    .lead-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .lead-image {
        aspect-ratio: 1.5;
    }
    .lead-copy {
        padding: 23px;
    }
    .lead-copy h2 {
        font-size: 26px;
    }
    .lead-copy > p {
        font-size: 14px;
    }
    .featured article {
        padding: 18px 0;
    }
    .featured h3 {
        font-size: 18px;
    }
    .featured-heading h2 {
        font-size: 22px;
    }
    .cards-grid,
    .cards-grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }
    .post-card h3,
    .four .post-card h3 {
        font-size: 17px;
    }
    .card-body {
        padding-top: 12px;
    }
    .post-meta {
        font-size: 10px;
        gap: 4px 12px;
    }
    .category-label {
        font-size: 9px;
    }
    .section {
        padding-block: 38px;
    }
    .section-heading {
        align-items: start;
        gap: 18px;
        margin-bottom: 24px;
    }
    .section-heading h2 {
        font-size: 26px;
    }
    .section-heading > .muted {
        display: none;
    }
    .section-heading .arrow-link {
        font-size: 11px;
    }
    .section-heading .arrow-link svg {
        width: 15px;
    }
    .category-section {
        padding: 36px 0;
    }
    .category-section .card-body {
        padding: 16px;
    }
    .category-section .section-heading {
        display: block;
    }
    .category-section .arrow-link {
        margin-top: 18px;
    }
    .category-section .cards-grid {
        grid-template-columns: 1fr;
    }
    .category-section .post-card {
        display: grid;
        grid-template-columns: 130px 1fr;
        align-items: stretch;
    }
    .category-section .card-image {
        height: 100%;
        aspect-ratio: auto;
        min-height: 155px;
    }
    .category-section .post-meta {
        font-size: 9px;
    }
    .category-section h3 {
        margin-bottom: 12px;
    }
    .watch-section {
        padding: 36px 0;
    }
    .watch-section .section-heading {
        display: block;
    }
    .watch-section .section-heading > span {
        display: block;
        margin-top: 12px;
    }
    .watch-section .cards-grid {
        grid-template-columns: 1fr;
    }
    .video-card h3 {
        font-size: 21px;
    }
    .video-card > .category-label {
        margin-top: 14px;
    }
    .developer-callout {
        grid-template-columns: 1fr;
        padding-block: 38px;
        gap: 25px;
    }
    .developer-callout h2 {
        font-size: 34px;
    }
    .code-art {
        padding: 20px;
    }
    .code-art pre {
        font-size: 11px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .footer-grid > div:first-child {
        grid-column: 1/-1;
    }
    .footer-grid p br {
        display: none;
    }
    .site-footer {
        padding-top: 32px;
    }
    .footer-brand {
        font-size: 22px;
    }
    .footer-bottom {
        gap: 15px;
        font-size: 10px;
    }
    .article-hero {
        padding: 20px 0 28px;
    }
    .article-hero-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .article-hero h1 {
        font-size: 35px;
    }
    .article-deck {
        font-size: 15px;
    }
    .breadcrumbs {
        margin-bottom: 22px;
    }
    .byline {
        margin-top: 22px;
    }
    .article-hero figcaption {
        text-align: left;
    }
    .reading-layout {
        display: block;
        padding-top: 26px;
    }
    .contents {
        position: static;
        border-bottom: 1px solid var(--line);
        padding-bottom: 22px;
        margin-bottom: 28px;
    }
    .contents nav {
        grid-template-columns: 1fr 1fr;
    }
    .contents nav a {
        font-size: 11px;
    }
    .share-button {
        margin-top: 16px;
    }
    .article-body p {
        font-size: 16px;
        line-height: 1.85;
    }
    .article-body .intro-paragraph {
        font-size: 19px;
    }
    .article-body h2 {
        font-size: 26px;
    }
    .article-body blockquote {
        font-size: 24px;
        padding: 20px;
    }
    .reading-progress {
        top: 64px;
    }
    .listing-hero h1 {
        font-size: 36px;
    }
    .listing-search {
        gap: 8px;
    }
    .listing-search input {
        width: 100px;
    }
    .listing-hero {
        padding-block: 25px 32px;
    }
    .listing-hero + .section .cards-grid {
        grid-template-columns: 1fr;
    }
    .dialog-top h2 {
        font-size: 23px;
    }
    dialog {
        padding: 22px;
    }
    .search-field {
        gap: 5px;
    }
    .search-field > svg {
        display: none;
    }
    .search-field input {
        font-size: 16px;
    }
    .search-field .button {
        padding: 10px;
    }
    .article-takeaway {
        padding: 24px;
    }
    .related .section-heading {
        flex-wrap: wrap;
    }
}
@media (max-width: 360px) {
    .brand > span {
        font-size: 16px;
    }
    .brand img {
        width: 103px;
    }
    .preview-note > span:last-child {
        font-size: 8px;
    }
    .category-section .post-card {
        grid-template-columns: 105px 1fr;
    }
    .category-section .card-body {
        padding: 13px;
    }
    .category-section h3 {
        font-size: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .card-image img {
        transition: none;
    }
}

/* Strongmb Blog navigation and brand footer. */
.brand > span {
    font-family: var(--default-font);
    font-weight: 600;
    font-size: 20px;
    color: #39343c;
}
.category-bar {
    border-top: 1px solid #f0eae5;
    background: #fff;
}
.category-bar > .container {
    display: flex;
    gap: 32px;
    align-items: center;
    min-height: 42px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.category-bar a {
    font-size: 12px;
    white-space: nowrap;
    padding: 11px 0;
    border-bottom: 2px solid transparent;
}
.category-bar a[aria-current] {
    color: #b70101;
    border-bottom-color: #b70101;
    font-weight: 600;
}
.masthead h1,
.article-hero h1,
.listing-hero h1,
.developer-callout h2 {
    font-family: var(--default-font);
    font-weight: 650;
    letter-spacing: -0.045em;
}
.masthead h1 {
    font-size: 46px;
    line-height: 1.12;
}
.site-footer {
    background: #28212b;
    color: #fff;
    padding: 48px 0 0;
}
.footer-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid #ffffff20;
    padding-bottom: 30px;
}
.footer-brand {
    color: white;
    font-size: 27px;
    font-weight: 650;
}
.footer-brand span {
    font: 500 20px var(--default-font);
    color: #d8c9d3;
}
.footer-intro p {
    color: #bfb0be;
    font-size: 13px;
    margin: 10px 0 0;
}
.footer-account {
    display: inline-flex;
    border: 1px solid #7e6878;
    padding: 11px 18px;
    border-radius: 6px;
    color: #f7ecf3;
    font-size: 13px;
}
.footer-links {
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 1fr 1fr 1fr;
    gap: 32px;
    padding-block: 35px 42px;
}
.footer-links h2 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 18px;
    color: #fff;
}
.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.footer-links a {
    font-size: 12px;
    color: #cbbdca;
    line-height: 1.6;
}
.footer-bottom {
    border-top: 1px solid #ffffff20;
    color: #a998aa;
    font-size: 11px;
    padding-block: 22px;
}
.pagination {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    text-align: center;
}
.pagination > p {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
}
.pagination > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.pagination a {
    min-width: 42px;
    padding: 9px 13px;
    border: 1px solid #e6ded8;
    border-radius: 5px;
    font-size: 13px;
}
.pagination a[aria-current] {
    background: #b70101;
    color: white;
    border-color: #b70101;
}
.reading-progress {
    top: 120px;
}
.contents {
    top: 145px;
}
html {
    scroll-padding-top: 145px;
}
.article-body section {
    scroll-margin-top: 145px;
}
@media (hover: hover) and (pointer: fine) {
    .footer-links a:hover {
        color: white;
        text-decoration: underline;
    }
    .footer-account:hover {
        background: #493640;
    }
    .category-bar a:hover {
        color: #b70101;
    }
    .pagination a:not([aria-current]):hover {
        border-color: #b70101;
    }
}
@media (max-width: 900px) {
    .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
    }
    .category-bar > .container {
        gap: 22px;
    }
}
@media (max-width: 760px) {
    .brand > span {
        display: block;
        font-size: 18px;
    }
    .masthead h1 {
        font-size: 38px;
    }
    .category-bar > .container {
        min-height: 40px;
        gap: 22px;
    }
    .category-bar a {
        font-size: 11px;
        padding: 10px 0;
    }
    .footer-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }
    .footer-links h2 {
        font-size: 14px;
        margin-bottom: 14px;
    }
    .footer-links a {
        font-size: 13px;
    }
    .footer-links ul {
        gap: 11px;
    }
    .footer-bottom {
        align-items: flex-start;
        gap: 16px;
    }
    .reading-progress {
        top: 104px;
    }
    .contents {
        position: static;
    }
    html {
        scroll-padding-top: 125px;
    }
    .article-body section {
        scroll-margin-top: 125px;
    }
}

/* Categories belong to the menus, keeping the header to one row. */
.reading-progress {
    top: var(--header);
}
.contents {
    top: calc(var(--header) + 24px);
}
.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 19;
    border: 0;
    background: #17131b66;
    backdrop-filter: blur(3px);
}
@media (max-width: 760px) {
    body.menu-open {
        overflow: hidden;
    }
    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100dvh - 64px);
        overflow-y: auto;
        padding: 16px 20px 24px;
        background: white;
        border-top: 1px solid var(--line);
        box-shadow: 0 16px 30px #231b2514;
    }
    .mobile-nav a {
        padding: 13px 8px;
        font-size: 15px;
        font-weight: 600;
        border-bottom: 0;
    }
    .mobile-nav a[aria-current] {
        color: var(--red);
        background: #fff3f3;
        border-radius: 6px;
    }
    .mobile-menu-label {
        margin: 15px 8px 5px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--muted);
    }
    .mobile-menu-search {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
        border: 1px solid var(--line);
        border-radius: 6px;
        margin-bottom: 14px;
    }
    .mobile-menu-search svg {
        width: 18px;
        flex-shrink: 0;
    }
    .mobile-menu-search input {
        min-width: 0;
        width: 100%;
        border: 0;
        background: transparent;
        font: inherit;
        font-size: 14px;
    }
    .mobile-menu-search button {
        padding: 8px;
        background: transparent;
        border: 0;
        color: var(--red);
        font-weight: 600;
    }
    .mobile-menu-account {
        display: grid;
        gap: 10px;
        margin-top: 16px;
        padding-top: 20px;
        border-top: 1px solid var(--line);
    }
    .mobile-menu-account a {
        text-align: center;
    }
    .mobile-login {
        background: #28212b;
        color: white;
        border-radius: 5px;
    }
    .mobile-toggle[aria-expanded="true"] svg {
        display: none;
    }
    .mobile-toggle[aria-expanded="true"]::after {
        content: "×";
        font-size: 32px;
        font-weight: 400;
        line-height: 1;
    }
    .reading-progress {
        top: 64px;
    }
    .contents {
        position: static;
    }
}

/* Keep the topic control aligned with the other navigation links. */
.desktop-nav {
    font-size: 14px;
    gap: 28px;
}
.topics-menu summary {
    align-items: center;
    gap: 8px;
    min-height: 44px;
    cursor: pointer;
    border-radius: 6px;
}
.topics-menu summary svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}
.topics-menu[open] summary {
    color: var(--red);
}
.topics-menu[open] summary svg {
    transform: rotate(180deg);
}
.topics-menu > div {
    top: calc(100% + 8px);
    min-width: 255px;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 12px 36px #28212b18;
}
.topics-menu a {
    padding: 13px 14px;
    font-size: 14px;
    font-weight: 500;
}
.topics-menu a[aria-current] {
    background: #fff3f3;
}
.topics-menu summary:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
    .topics-menu summary svg {
        transition: none;
    }
}

/* Article navigation: readable labels and generous touch targets. */
.contents {
    background: #faf9f8;
    border: 1px solid #e8e2df;
    border-radius: 12px;
    padding: 20px 16px;
}
.contents-title {
    font-size: 17px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: #28212b;
}
.contents nav {
    grid-template-columns: 1fr;
    gap: 4px;
    border-left: 0;
}
.contents nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: #57515b;
    border-left: 3px solid transparent;
    border-radius: 0 6px 6px 0;
}
.contents nav a[aria-current] {
    background: #f9eaea;
    border-left-color: var(--red);
    color: #a30000;
    font-weight: 600;
}
.contents nav a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}
.contents .share-button {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    margin-top: 18px;
    font-size: 13px;
    border-radius: 6px;
}
.contents .share-status:empty {
    display: none;
}
@media (hover: hover) {
    .contents nav a:hover {
        background: #f1eeeb;
        color: #28212b;
    }
}
@media (max-width: 760px) {
    .contents {
        margin-bottom: 28px;
        padding: 20px 16px;
    }
    .contents-title {
        font-size: 18px;
    }
    .contents nav {
        grid-template-columns: 1fr;
    }
    .contents nav a {
        font-size: 15px;
        min-height: 46px;
    }
}

/* A compact, labelled sharing panel in Strongmb's palette. */
.article-share {
    padding: 28px;
    margin-top: 36px;
    text-align: left;
    background: #fcf5f3;
    border: 1px solid #efddd8;
    border-radius: 14px;
}
.share-heading {
    border-left: 3px solid var(--red);
    padding-left: 16px;
    margin-bottom: 22px;
}
.article-share h2 {
    font-size: 23px;
    line-height: 1.3;
    margin: 0 0 7px;
}
.article-share p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.share-actions button {
    min-height: 46px;
    padding: 10px 15px;
    border-radius: 8px;
    background: white;
    color: #332c32;
    border: 1px solid #e4d7d2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
}
.share-actions button strong {
    width: 20px;
    font-size: 18px;
    text-align: center;
}
.share-actions button svg {
    width: 20px;
    height: 20px;
}
.share-actions button:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}
@media (hover: hover) {
    .share-actions button:hover {
        color: var(--red);
        border-color: var(--red);
        background: #fffafa;
    }
}
@media (max-width: 760px) {
    .article-share {
        padding: 22px 18px;
    }
    .article-share h2 {
        font-size: 22px;
    }
    .share-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .share-actions button {
        padding: 11px 8px;
    }
    .share-actions button:last-child {
        grid-column: 1 / -1;
    }
}

.article-body video,
.article-body iframe {
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 12px;
    margin: 24px 0;
}
.article-video {
    aspect-ratio: 16/9;
}
.article-body pre {
    overflow: auto;
    padding: 24px;
    background: #171d24;
    color: #e8edf2;
    border-radius: 12px;
}
.article-body .hljs-keyword {
    color: #d6b3ff;
}
.article-body .hljs-string {
    color: #a8d7a0;
}
.article-body .hljs-number {
    color: #efb680;
}
.article-body .hljs-comment {
    color: #b0bbc7;
}

.reading-layout.without-contents {
    grid-template-columns: minmax(0, 710px);
    justify-content: center;
}

body,
button,
input,
textarea,
select,
summary {
    font-family: var(--default-font);
}
button,
a,
summary {
    cursor: pointer;
}
/* Main sections stay consistent on listing and article pages. */
.smb-nav-group {
    position: relative;
}
.smb-nav-group summary {
    display: flex;
    align-items: center;
    gap: 7px;
    list-style: none;
    padding: 14px 0;
    font-weight: 500;
}
.smb-nav-group summary::-webkit-details-marker,
.smb-mobile-category summary::-webkit-details-marker {
    display: none;
}
.smb-nav-group summary svg,
.smb-mobile-category summary svg {
    width: 15px;
    height: 15px;
    transition: transform 0.15s;
}
.smb-nav-group[open] summary svg,
.smb-mobile-category[open] summary svg {
    transform: rotate(180deg);
}
.smb-nav-panel {
    position: absolute;
    top: 100%;
    left: -24px;
    width: 350px;
    max-height: 65vh;
    overflow: auto;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 50px #27232918;
    z-index: 40;
}
.smb-nav-panel a {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
}
.smb-nav-panel a:hover,
.smb-nav-panel a:focus-visible {
    background: var(--cream);
}
.smb-nav-overview {
    font-weight: 600;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px;
}
.smb-nav-overview span {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.5;
}
.smb-nav-topics {
    display: grid;
    gap: 2px;
}
.smb-article-language {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 3px;
}
.smb-mobile-category summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    list-style: none;
    font-weight: 500;
}
.smb-mobile-category > div {
    padding: 0 12px 12px;
    border-left: 2px solid var(--line);
    margin: 0 0 10px 4px;
}
.smb-mobile-category a {
    display: block;
    padding: 10px 12px;
    font-size: 15px;
}
.desktop-nav {
    gap: 24px;
    white-space: nowrap;
}
@media (min-width: 801px) and (max-width: 1100px) {
    .desktop-nav {
        gap: 14px;
        font-size: 13px;
    }
    .header-cta {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .smb-nav-group summary svg,
    .smb-mobile-category summary svg {
        transition: none;
    }
}

.smb-advert {
    margin: 40px 0;
    padding: 32px;
    border: 1px solid #eed8d6;
    border-radius: 18px;
    background: #fff4ee;
    display: grid;
    gap: 24px;
}
.smb-advert .eyebrow {
    font-size: 10px;
    color: #9c2925;
}
.smb-advert h2 {
    margin: 12px 0;
    font-size: 28px;
}
.smb-advert p {
    margin: 0 0 22px;
}
.smb-advert .button {
    color: #fff;
    text-decoration: none;
}
.smb-advert-media img,
.smb-advert-media video {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border-radius: 12px;
}
.smb-advert:has(.smb-advert-media) {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
}
@media (max-width: 650px) {
    .smb-advert:has(.smb-advert-media) {
        grid-template-columns: 1fr;
    }
    .smb-advert {
        padding: 24px;
    }
    .smb-advert h2 {
        font-size: 24px;
    }
}

/* Promotion treatments remain distinct from editorial cards. */
.smb-advert {
    background: #f1f5fb;
    border-color: #d9e2ef;
    color: #18263a;
}
.smb-ad-label {
    display: inline-block;
    font-size: 11px;
    line-height: 1;
    padding: 5px 8px;
    border: 1px solid #bccadd;
    border-radius: 4px;
    color: #526277;
}
.smb-advert .button {
    background: #175cce;
    border-color: #175cce;
    color: white;
}
.smb-advert .button:hover {
    background: #104ba9;
    color: white;
    text-decoration: none;
}
.smb-advert-media {
    position: relative;
}
.smb-advert--spotlight {
    background: #eaf2ee;
    border-color: #cee0d6;
}
.smb-advert--banner {
    background: #edf1f7;
    border-left: 5px solid #175cce;
    border-radius: 8px;
}
.smb-advert--banner:has(.smb-advert-media) {
    grid-template-columns: 1.5fr 1fr;
}
.smb-advert--card {
    background: #f6f5ef;
    border-color: #e3e0d3;
}
.smb-advert--card:has(.smb-advert-media) {
    grid-template-columns: 1fr;
}
.smb-advert--card .smb-advert-media {
    grid-row: 1;
}
.smb-advert-feed {
    grid-column: 1/-1;
}
.smb-advert-feed .smb-advert {
    margin: 12px 0 24px;
}
.smb-ad-sound {
    position: absolute;
    right: 12px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff70;
    background: #14253bd9;
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.smb-ad-sound svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.smb-ad-sound [hidden] {
    display: none;
}
@media (max-width: 650px) {
    .smb-advert--banner:has(.smb-advert-media) {
        grid-template-columns: 1fr;
    }
}

/* Image and text adverts prioritize readable copy and uncropped creative. */
.smb-advert {
    padding: clamp(22px, 3vw, 36px);
    gap: 28px;
    overflow: hidden;
}
.smb-advert-copy {
    min-width: 0;
}
.smb-advert h2 {
    font-size: clamp(23px, 2.3vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.025em;
    max-width: 25ch;
    overflow-wrap: anywhere;
}
.smb-advert p {
    font-size: 16px;
    line-height: 1.65;
    max-width: 58ch;
    overflow-wrap: anywhere;
}
.smb-advert .button {
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
}
.smb-advert-media {
    min-width: 0;
    line-height: 0;
    border-radius: 12px;
    overflow: hidden;
    align-self: center;
}
.smb-advert-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    margin: 0;
    background: #ffffff70;
}
.smb-advert-media video {
    display: block;
    margin: 0;
}
.smb-advert-text .smb-advert-copy {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 32px;
    align-items: center;
}
.smb-advert-text .smb-ad-label {
    justify-self: start;
}
.smb-advert-text h2,
.smb-advert-text p {
    grid-column: 1;
}
.smb-advert-text .button {
    grid-column: 2;
    grid-row: 2/4;
}
.smb-advert-text p {
    margin-bottom: 0;
}
.smb-ad-sound {
    width: 32px;
    height: 32px;
    right: 10px;
    bottom: 10px;
}
.smb-ad-sound svg {
    width: 16px;
    height: 16px;
}
.smb-ad-sound:before {
    content: "";
    position: absolute;
    inset: -6px;
}
.smb-advert--card:has(.smb-advert-media) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.smb-advert--card .smb-advert-media {
    grid-column: 1;
    grid-row: 1;
}
.smb-advert--card .smb-advert-copy {
    grid-column: 2;
    grid-row: 1;
}
@media (max-width: 700px) {
    .smb-advert:has(.smb-advert-media),
    .smb-advert--banner:has(.smb-advert-media),
    .smb-advert--card:has(.smb-advert-media) {
        grid-template-columns: minmax(0, 1fr);
    }
    .smb-advert-with-media .smb-advert-media {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
    }
    .smb-advert-with-media .smb-advert-copy {
        grid-column: 1;
        grid-row: 2;
    }
    .smb-advert-media img {
        max-height: 300px;
    }
    .smb-advert-text .smb-advert-copy {
        display: block;
    }
    .smb-advert-text .button {
        margin-top: 20px;
    }
    .smb-advert h2 {
        max-width: none;
    }
}

.article-hero {
    margin-top: 0;
}
.smb-writer {
    gap: 14px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #262e3b18;
}
.smb-writer-avatar {
    width: 48px;
    height: 48px;
    background: #ffffffa6;
    border: 1px solid #262e3b18;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.smb-writer-avatar svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #555b67;
    stroke-width: 1.6;
    stroke-linecap: round;
}
.smb-writer .smb-writer-label {
    font-size: 11px;
    color: #716d75;
    margin: 0 0 2px;
}
.smb-writer strong {
    font-size: 15px;
    line-height: 1.5;
}
.smb-writer-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 5px;
    color: #68636d;
    font-size: 12px;
}
.byline .smb-writer-meta > span {
    display: inline-block;
    font-size: 12px;
    color: inherit;
    margin: 0;
}
.smb-writer-language {
    padding: 2px 8px;
    background: #ffffff90;
    border: 1px solid #262e3b15;
    border-radius: 5px;
}
.masthead {
    grid-template-columns: 1fr;
}
