:root {
    --sp-primary: #174c3c;
    --sp-accent: #b94b36;
    --sp-support: #f2bd3f;
    --sp-ink: #13231c;
    --sp-muted: #626e68;
    --sp-muted-readable: #4f5d56;
    --sp-paper: #f4f0e7;
    --sp-surface: #fffdf8;
    --sp-white: #fff;
    --sp-line: rgba(19, 35, 28, .15);
    --sp-shadow: 0 24px 70px rgba(26, 45, 37, .12);
    --sp-font-body: "SP Montserrat", Arial, sans-serif;
    --sp-font-display: Georgia, "Times New Roman", serif;
    --sp-wrap: min(1320px, calc(100vw - 72px));
    --sp-reading: 760px;
    --sp-radius-media: 34px;
    --sp-radius-panel: 22px;
    --sp-radius-control: 999px;
    --sp-sticky-header-offset: 140px;
    --sp-space: clamp(72px, 8vw, 132px);
    --sp-footer-space: clamp(44.3077px, calc(13.8462vw), 54px);
    --sp-topbar-gap: clamp(9.8462px, calc(3.0769vw), 12px);
    --sp-template-hero-space: clamp(32.8205px, calc(10.2564vw), 40px);
    --sp-template-section-space: clamp(39.3846px, calc(12.3077vw), 48px);
    --sp-article-title: clamp(34.4615px, calc(10.7692vw), 42px);
    --sp-archive-title: clamp(36.1026px, calc(11.2821vw), 44px);
    --sp-type-h1: clamp(29.7674px, calc(9.3023vw), 40px);
    --sp-type-h2: clamp(23.814px, calc(7.4419vw), 32px);
    --sp-type-h3: clamp(17.8605px, calc(5.5814vw), 24px);
    --sp-type-feature: clamp(23.0698px, calc(7.2093vw), 31px);
    --sp-type-article: clamp(28.2791px, calc(8.8372vw), 38px);
    --sp-type-entry-h2: clamp(20.8372px, calc(6.5116vw), 28px);
    --sp-type-entry-h3: clamp(17.1163px, calc(5.3488vw), 23px);
}

@media (min-width: 390px) {
    :root {
        --sp-template-hero-space: clamp(40px, calc(31.8431px + 2.0915vw), 72px);
        --sp-template-section-space: clamp(48px, calc(38.8235px + 2.3529vw), 84px);
        --sp-article-title: clamp(42px, calc(35.3725px + 1.6993vw), 68px);
        --sp-archive-title: clamp(44px, calc(37.8824px + 1.5686vw), 68px);
    }
}

@media (min-width: 430px) {
    :root {
        --sp-type-h1: clamp(40px, calc(30.7651px + 2.1477vw), 72px);
        --sp-type-h2: clamp(32px, calc(25.651px + 1.4765vw), 54px);
        --sp-type-h3: clamp(24px, calc(21.1141px + .6711vw), 34px);
        --sp-type-feature: clamp(31px, calc(25.5168px + 1.2752vw), 50px);
        --sp-type-article: clamp(38px, calc(29.9195px + 1.8792vw), 66px);
        --sp-type-entry-h2: clamp(28px, calc(24.5369px + .8054vw), 40px);
        --sp-type-entry-h3: clamp(23px, calc(20.6913px + .5369vw), 31px);
    }
}

@media (min-width: 1920px) {
    :root {
        --sp-template-hero-space: 72px;
        --sp-template-section-space: 84px;
        --sp-article-title: 68px;
        --sp-archive-title: 68px;
        --sp-type-h1: 72px;
        --sp-type-h2: 54px;
        --sp-type-h3: 34px;
        --sp-type-feature: 50px;
        --sp-type-article: 66px;
        --sp-type-entry-h2: 40px;
        --sp-type-entry-h3: 31px;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--sp-sticky-header-offset) + 20px);
}

body {
    margin: 0;
    color: var(--sp-ink);
    background: var(--sp-surface);
    font-family: var(--sp-font-body);
    font-size: 17px;
    line-height: 1.68;
    text-rendering: optimizeLegibility;
}

body.sp-colors-two {
    --sp-support: var(--sp-accent);
}

body.sp-radius-zero {
    --sp-radius-media: 0px;
    --sp-radius-panel: 0px;
    --sp-radius-control: 0px;
}

body.sp-radius-medium {
    --sp-radius-media: 25px;
    --sp-radius-panel: 25px;
    --sp-radius-control: 25px;
}

body.sp-radius-large {
    --sp-radius-media: 50px;
    --sp-radius-panel: 50px;
    --sp-radius-control: 50px;
}

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

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

a:hover {
    color: var(--sp-accent);
}

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

button,
.button {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--sp-font-display);
    line-height: 1.06;
    letter-spacing: -.035em;
    text-wrap: balance;
}

h1 {
    font-size: var(--sp-type-h1);
}

h2 {
    font-size: var(--sp-type-h2);
}

h3 {
    font-size: var(--sp-type-h3);
}

p {
    margin: 0 0 1.25em;
    text-wrap: pretty;
}

li {
    text-wrap: pretty;
}

.wrap {
    width: var(--sp-wrap);
    margin-inline: auto;
}

.screen-reader-text,
.skip-link:not(:focus) {
    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: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    color: var(--sp-white);
    background: var(--sp-ink);
    border-radius: var(--sp-radius-control);
}

:focus-visible {
    outline: 3px solid var(--sp-support);
    outline-offset: 4px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 24px;
    border: 0;
    border-radius: var(--sp-radius-control);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s ease, color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.button:hover {
    color: var(--sp-white);
}

body.sp-hover-lift .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 28px rgba(19, 35, 28, .18);
}

body.sp-hover-zoom .button:hover {
    transform: scale(1.035);
}

body.sp-hover-tone .button:hover {
    background: var(--sp-accent);
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--sp-white) 34%, transparent);
}

.button--primary {
    color: var(--sp-white);
    background: var(--sp-primary);
}

.button--primary:hover,
.button--accent {
    color: var(--sp-white);
    background: #c13f34;
    background: color-mix(in srgb, var(--sp-accent) 86%, #2d0c08);
}

.button--accent:hover {
    color: var(--sp-ink);
    background: var(--sp-support);
}

.text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.text-link span {
    font-size: 22px;
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

/* Header */
.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: var(--sp-surface);
    border-bottom: 1px solid var(--sp-line);
}

body.admin-bar .site-header {
    top: var(--wp-admin--admin-bar--height, 32px);
}

.site-header__utility {
    color: rgba(255, 255, 255, .82);
    background: var(--sp-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.site-header__utility .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
}

.site-topbar--date .wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: var(--sp-topbar-gap);
}

.site-topbar__message {
    overflow: hidden;
    justify-self: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-topbar--quick .wrap {
    gap: 24px;
}

.site-topbar__title {
    color: var(--sp-white);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-topbar__actions a {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 2px 10px;
    color: var(--sp-ink);
    background: var(--sp-support);
    border-radius: var(--sp-radius-control);
}

.site-topbar__actions a:hover {
    color: var(--sp-ink);
    background: var(--sp-white);
}

.site-header__utility p {
    margin: 0;
}

.site-header__utility nav {
    display: flex;
    gap: 22px;
}

.site-header__utility a {
    color: inherit;
    text-decoration: none;
}

.site-header__utility a:hover {
    color: var(--sp-white);
}

.site-header__main {
    display: grid;
    grid-template-columns: minmax(220px, .72fr) auto 44px;
    gap: 28px;
    align-items: center;
    min-height: 106px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    width: max-content;
    min-width: 0;
    max-width: 100%;
    text-decoration: none;
}

.site-brand__custom {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.site-brand:hover {
    color: inherit;
}

.site-brand__mark {
    width: 52px;
    flex: 0 0 52px;
}

.site-brand__mark circle:first-child {
    fill: var(--sp-primary);
}

.site-brand__mark path {
    fill: none;
    stroke: var(--sp-white);
    stroke-width: 4;
    stroke-linecap: round;
}

.site-brand__mark circle:not(:first-child) {
    fill: var(--sp-support);
}

.site-brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-brand strong {
    font-family: var(--sp-font-display);
    font-size: 26px;
    letter-spacing: -.035em;
}

.site-brand small {
    max-width: 240px;
    margin-top: 5px;
    color: var(--sp-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.site-nav__list {
    display: flex;
    gap: clamp(16px, 2.2vw, 34px);
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list > .menu-item {
    position: relative;
}

.site-nav__list > .menu-item-has-children > a {
    padding-right: 18px;
}

.submenu-toggle {
    position: absolute;
    top: 50%;
    right: -5px;
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    color: currentColor;
    background: transparent;
    border: 0;
    border-radius: var(--sp-radius-control);
    place-items: center;
    transform: translateY(-50%);
    cursor: pointer;
}

.submenu-toggle__icon {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
}

.menu-item-has-children.is-submenu-open > .submenu-toggle .submenu-toggle__icon {
    transform: translateY(2px) rotate(225deg);
}

.site-nav .sub-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% - 4px);
    left: 0;
    display: grid;
    min-width: 250px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: var(--sp-surface);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius-panel);
    box-shadow: var(--sp-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.site-nav .sub-menu a {
    display: block;
    padding: 11px 13px;
    color: var(--sp-ink);
    border-radius: var(--sp-radius-control);
    line-height: 1.25;
}

.site-nav .sub-menu a:hover,
.site-nav .sub-menu a:focus-visible {
    color: var(--sp-primary);
    background: var(--sp-paper);
}

.site-header--guide .site-nav .sub-menu a {
    color: var(--sp-ink);
}

.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu,
.site-nav .menu-item-has-children.is-submenu-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav a {
    position: relative;
    padding-block: 18px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.site-nav .current-menu-item > a,
.site-nav a:hover {
    color: var(--sp-accent);
}

.site-nav .current-menu-item > a::after {
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    height: 3px;
    content: "";
    background: var(--sp-accent);
    border-radius: 2px;
}

.search-toggle,
.menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--sp-ink);
    background: transparent;
    border: 1px solid var(--sp-line);
    border-radius: 50%;
    cursor: pointer;
}

.search-toggle svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.menu-toggle {
    display: none;
}

@media (max-width: 1180px) {
    .menu-toggle {
        display: grid;
    }
}

.header-search {
    padding: 20px 0;
    background: var(--sp-paper);
    border-top: 1px solid var(--sp-line);
}

.search-form {
    display: flex;
    gap: 10px;
    width: min(100%, 760px);
}

.search-form label {
    flex: 1;
}

.search-form input[type="search"] {
    width: 100%;
    min-height: 50px;
    padding: 10px 20px;
    background: var(--sp-white);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius-control);
}

.search-form input[type="submit"] {
    padding: 10px 22px;
    color: var(--sp-white);
    background: var(--sp-ink);
    border: 0;
    border-radius: var(--sp-radius-control);
    font-weight: 800;
    cursor: pointer;
}

/* Shared headings and breadcrumbs */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    padding-block: 26px;
    color: var(--sp-muted);
    font-size: 12px;
    font-weight: 700;
}

.breadcrumbs a {
    text-decoration: none;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px 36px;
    align-items: end;
    margin-bottom: clamp(30px, 3vw, 48px);
}

.section-heading h2 {
    max-width: 880px;
}

.sp-home-profile .section-heading {
    margin-bottom: clamp(18px, 2vw, 28px);
}

.sp-home-profile .section-heading h2,
.sp-category-matrix__heading h2 {
    position: relative;
    z-index: 0;
    width: fit-content;
}

.sp-home-profile .section-heading h2 {
    font-size: var(--sp-composer-section-title);
    line-height: 1.02;
}

body:is(.sp-heading-marker-square, .sp-heading-marker-round) :is(.sp-home-profile .section-heading h2, .sp-category-matrix__heading h2)::after {
    position: absolute;
    z-index: -1;
    right: -.04em;
    bottom: .06em;
    width: clamp(52px, 42%, 118px);
    height: .18em;
    content: "";
    background: var(--sp-accent);
    opacity: .9;
}

body.sp-heading-marker-round :is(.sp-home-profile .section-heading h2, .sp-category-matrix__heading h2)::after {
    border-radius: 999px;
}

body.sp-heading-marker-square :is(.sp-home-profile .section-heading h2, .sp-category-matrix__heading h2)::after {
    border-radius: 0;
}

.section-heading > a {
    padding-bottom: 8px;
    color: var(--sp-ink);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

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

.section-heading--compact h2 {
    font-size: var(--sp-type-h2);
}

.home-section {
    padding-block: var(--sp-space);
}

/* Homepage hero */
.home-hero {
    padding-top: clamp(52px, 6vw, 92px);
}

.home-hero__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .7fr);
    gap: 28px 72px;
    align-items: end;
    margin-bottom: clamp(40px, 5vw, 70px);
}

.home-hero__intro h1 {
    max-width: 950px;
}

.home-hero__intro > p:last-child {
    margin: 0;
    color: var(--sp-muted);
    font-size: clamp(17px, 1.4vw, 21px);
}

.feature-slider {
    position: relative;
}

.feature-slide {
    display: none;
    grid-template-columns: minmax(0, 1.25fr) minmax(380px, .75fr);
    min-height: clamp(500px, 42vw, 620px);
}

.feature-slide.is-active {
    display: grid;
}

.feature-slide__media {
    position: relative;
    z-index: 1;
    min-height: 100%;
    overflow: hidden;
    border-radius: var(--sp-radius-media) 0 0 var(--sp-radius-media);
    transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}

.feature-slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

body.sp-hover-zoom .feature-slide__media:hover .feature-slide__image {
    transform: scale(1.025);
}

.feature-slide__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(38px, 4vw, 58px);
    color: var(--sp-white);
    background: var(--sp-primary);
    border-radius: 0 var(--sp-radius-media) var(--sp-radius-media) 0;
}

.feature-slide__content h2 {
    margin: 16px 0 20px;
    font-size: var(--sp-type-feature);
}

.feature-slide__content h2 a {
    text-decoration: none;
}

.feature-slide__content h2 a:hover,
.feature-slide__content .text-link:hover {
    color: var(--sp-support);
}

.feature-slide__content > p {
    max-width: 540px;
    color: color-mix(in srgb, var(--sp-white) 80%, transparent);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    color: var(--sp-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.feature-slide__content .post-meta {
    color: color-mix(in srgb, var(--sp-white) 78%, transparent);
}

.post-meta__category {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: var(--sp-ink);
    text-decoration: none;
}

.feature-slide__content .post-meta__category {
    color: var(--sp-support);
}

.feature-slider__controls {
    display: flex;
    justify-content: flex-end;
    gap: 2px;
    margin-top: 12px;
}

.feature-slider__dot {
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.feature-slider__dot::before {
    width: 10px;
    height: 10px;
    content: "";
    background: color-mix(in srgb, var(--sp-primary) 32%, transparent);
    border: 2px solid var(--sp-primary);
    border-radius: 50%;
}

.feature-slider__dot.is-active::before {
    background: var(--sp-support);
    border-color: var(--sp-support);
}

/* Latest */
.home-latest {
    padding-top: var(--sp-space);
}

.latest-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: start;
}

.latest-lead__media {
    display: block;
    overflow: hidden;
    border-radius: var(--sp-radius-media);
}

.latest-lead__media img {
    width: 100%;
    aspect-ratio: 1.33;
    object-fit: cover;
}

.latest-lead__content {
    padding: 26px 8px 0;
}

.latest-lead h3 {
    margin: 15px 0;
    font-size: var(--sp-type-h2);
}

.latest-lead h3 a,
.post-row h3 a {
    text-decoration: none;
}

.latest-lead p {
    color: var(--sp-muted);
}

.latest-list {
    border-top: 1px solid var(--sp-line);
}

.post-row {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding-block: 22px;
    border-bottom: 1px solid var(--sp-line);
}

.post-row__media {
    overflow: hidden;
    border-radius: var(--sp-radius-panel);
}

.post-row__media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.post-row h3 {
    margin: 8px 0;
    font-size: clamp(21px, 1.7vw, 27px);
    line-height: 1.15;
}

.post-row p {
    margin: 0;
    color: var(--sp-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* Story wall: tabloid homepage section family */
.home-story-wall {
    padding-top: var(--sp-space);
}

.story-wall {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    gap: clamp(24px, 3vw, 44px);
    align-items: start;
}

.story-wall__lead {
    grid-row: span 2;
}

.story-wall__media,
.story-card__media {
    display: block;
    overflow: hidden;
    border-radius: var(--sp-radius-media);
}

.story-wall__media img {
    width: 100%;
    aspect-ratio: 1.42;
    object-fit: cover;
}

.story-wall__lead-content {
    padding: 25px 8px 0;
}

.story-wall__lead h3 {
    max-width: 900px;
    margin: 13px 0 16px;
    font-size: var(--sp-type-h2);
}

.story-wall__lead h3 a,
.story-card h3 a,
.story-headline h3 a {
    text-decoration: none;
}

.story-wall__lead p {
    max-width: 820px;
    color: var(--sp-muted);
}

.story-wall__secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.story-card__media img {
    width: 100%;
    aspect-ratio: 1.18;
    object-fit: cover;
}

.story-card__content {
    padding-top: 16px;
}

.story-card h3 {
    margin-top: 9px;
    font-size: clamp(21px, 1.6vw, 28px);
    line-height: 1.12;
}

.story-wall__headlines {
    border-top: 3px solid var(--sp-primary);
}

.story-headline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 16px;
    align-items: center;
    padding-block: 18px;
    border-bottom: 1px solid var(--sp-line);
}

.story-headline h3 {
    margin-top: 7px;
    font-size: clamp(19px, 1.35vw, 24px);
    line-height: 1.15;
}

.story-headline__arrow {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--sp-white);
    background: var(--sp-primary);
    border-radius: var(--sp-radius-control);
    text-decoration: none;
}

/* Global interaction presets for linked media. */
.feature-slide__media,
.latest-lead__media,
.post-row__media,
.story-wall__media,
.story-card__media,
.gallery-teaser a,
.gallery-card a,
.directory-card__media,
.sp-composer-hero__media,
.sp-composer-hero__rail-media,
.sp-composer-category__lead > a,
.sp-composer-category__item-media,
.sp-composer-feed__media,
.sp-category-matrix__media,
.sp-category-matrix__item-media {
    transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}

.feature-slide__media img,
.latest-lead__media img,
.post-row__media img,
.story-wall__media img,
.story-card__media img,
.gallery-teaser img,
.gallery-card img,
.directory-card__media img,
.sp-composer-hero__media img,
.sp-composer-hero__rail-media img,
.sp-composer-category__lead img,
.sp-composer-category__item-media img,
.sp-composer-feed__media img,
.sp-category-matrix__media img,
.sp-category-matrix__item-media img {
    transition: transform .55s ease, filter .35s ease;
}

body.sp-hover-lift :is(.feature-slide__media, .latest-lead__media, .post-row__media, .story-wall__media, .story-card__media, .gallery-teaser a, .gallery-card a, .directory-card__media, .sp-composer-hero__media, .sp-composer-hero__rail-media, .sp-composer-category__lead > a, .sp-composer-category__item-media, .sp-composer-feed__media, .sp-category-matrix__media, .sp-category-matrix__item-media):hover {
    transform: translateY(-5px);
    box-shadow: var(--sp-shadow);
}

body.sp-hover-zoom :is(.feature-slide__media, .latest-lead__media, .post-row__media, .story-wall__media, .story-card__media, .gallery-teaser a, .gallery-card a, .directory-card__media, .sp-composer-hero__media, .sp-composer-hero__rail-media, .sp-composer-category__lead > a, .sp-composer-category__item-media, .sp-composer-feed__media, .sp-category-matrix__media, .sp-category-matrix__item-media):hover img {
    transform: scale(1.045);
}

body.sp-hover-tone :is(.feature-slide__media, .latest-lead__media, .post-row__media, .story-wall__media, .story-card__media, .gallery-teaser a, .gallery-card a, .directory-card__media, .sp-composer-hero__media, .sp-composer-hero__rail-media, .sp-composer-category__lead > a, .sp-composer-category__item-media, .sp-composer-feed__media, .sp-category-matrix__media, .sp-category-matrix__item-media):hover img {
    filter: saturate(1.28) contrast(1.07);
}

/* Topic route section */
.home-topics {
    color: var(--sp-white);
    background: var(--sp-primary);
}

.section-heading--light h2 {
    max-width: 980px;
}

.topic-routes {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, .25);
}

.topic-routes li {
    display: grid;
    grid-template-columns: minmax(250px, .85fr) minmax(280px, 1.15fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
    min-height: 132px;
    padding-block: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.topic-routes h3 {
    font-size: var(--sp-type-h2);
}

.topic-routes h3 a,
.topic-routes__story {
    text-decoration: none;
}

.topic-routes h3 a:hover,
.topic-routes__story:hover {
    color: var(--sp-support);
}

.topic-routes p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
}

.topic-routes__story {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    font-weight: 800;
}

.topic-routes__story span {
    font-size: 26px;
}

/* Gallery */
.gallery-river {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    grid-template-rows: repeat(2, minmax(250px, 1fr));
    gap: 18px;
}

.gallery-teaser:first-child {
    grid-row: 1 / 3;
}

.gallery-teaser:nth-child(4) {
    grid-column: 2 / 4;
}

.gallery-teaser a,
.gallery-card a {
    position: relative;
    display: block;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    color: var(--sp-white);
    border-radius: var(--sp-radius-media);
}

.gallery-teaser img,
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.gallery-teaser a::after,
.gallery-card a::after {
    position: absolute;
    inset: 36% 0 0;
    content: "";
    background: linear-gradient(to bottom, transparent, rgba(7, 20, 14, .84));
}

.gallery-teaser span,
.gallery-card span {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gallery-card .gallery-card__meta {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .76);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
}

.gallery-teaser strong,
.gallery-card strong {
    font-family: var(--sp-font-display);
    font-size: clamp(22px, 2.2vw, 36px);
    line-height: 1.06;
}

.gallery-teaser small,
.gallery-card small {
    color: rgba(255, 255, 255, .75);
    line-height: 1.4;
}

/* Company teaser */
.home-companies {
    background: color-mix(in srgb, var(--sp-support) 22%, var(--sp-paper));
}

.home-companies__inner {
    display: grid;
    grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
    gap: clamp(50px, 8vw, 130px);
    align-items: start;
}

.company-intro h2 {
    margin-bottom: 24px;
    font-size: var(--sp-type-h2);
}

.company-intro > p {
    color: var(--sp-muted-readable);
}

.company-list {
    border-top: 1px solid var(--sp-line);
}

.company-row {
    display: grid;
    grid-template-columns: 1fr 54px;
    gap: 20px;
    align-items: center;
    min-height: 128px;
    border-bottom: 1px solid var(--sp-line);
}

.company-row p,
.directory-card__content > p:first-child {
    margin: 0 0 6px;
    color: var(--sp-ink);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.company-row h3 {
    font-size: clamp(26px, 2.6vw, 40px);
}

.company-row h3 a {
    text-decoration: none;
}

.company-row__arrow,
.directory-card__arrow {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: var(--sp-white);
    background: var(--sp-primary);
    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;
}

.company-row__arrow:hover,
.directory-card__arrow:hover {
    color: var(--sp-white);
    background: var(--sp-accent);
}

/* Canonical two-column SEO copy section, variants: intro and bottom. */
.home-seo-copy {
    background: var(--sp-paper);
}

.home-seo-copy--bottom {
    color: var(--sp-white);
    background: var(--sp-primary);
}

.home-seo-copy h2 {
    max-width: 980px;
    margin-bottom: clamp(28px, 4vw, 50px);
}

.home-seo-copy__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(30px, 6vw, 96px);
    max-width: 1120px;
}

.home-seo-copy__columns--single {
    grid-template-columns: minmax(0, 760px);
}

.home-seo-copy__columns p {
    margin: 0;
    color: var(--sp-muted-readable);
    font-size: clamp(16px, 1.25vw, 19px);
}

.home-seo-copy--bottom .home-seo-copy__columns p {
    color: color-mix(in srgb, var(--sp-white) 78%, transparent);
}

.home-seo-copy__links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(38px, 5vw, 70px);
    border-top: 1px solid rgba(255, 255, 255, .28);
}

.home-seo-copy__links a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 18px 16px 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.home-seo-copy__links a:hover {
    color: var(--sp-support);
}

/* Homepage composition variants. */
.sp-layout-tabloid .home-hero__intro {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    margin-bottom: clamp(30px, 4vw, 52px);
}

.sp-layout-tabloid .home-hero__intro h1 {
    max-width: 820px;
}

.sp-layout-tabloid .feature-slide {
    grid-template-columns: minmax(0, 1.45fr) minmax(350px, .55fr);
    min-height: clamp(450px, 36vw, 560px);
}

.sp-layout-explorer .feature-slide {
    grid-template-columns: minmax(340px, .72fr) minmax(0, 1.28fr);
}

.sp-layout-explorer .feature-slide__content {
    order: -1;
    border-radius: var(--sp-radius-media) 0 0 var(--sp-radius-media);
}

.sp-layout-explorer .feature-slide__media {
    border-radius: 0 var(--sp-radius-media) var(--sp-radius-media) 0;
}

/* Archives and categories */
.archive-page,
.gallery-archive,
.content-page,
.not-found {
    padding-bottom: var(--sp-space);
}

.archive-hero {
    padding: var(--sp-template-hero-space) 0 var(--sp-template-section-space);
}

.archive-hero h1,
.category-hero h1,
.gallery-single__header h1,
.directory-hero h1,
.company-single__header h1,
.not-found h1 {
    font-size: var(--sp-archive-title);
}

.archive-hero--plain {
    max-width: 980px;
}

.archive-hero--plain p:last-child,
.archive-hero--gallery p:last-child {
    max-width: 740px;
    margin-top: 24px;
    color: var(--sp-muted);
    font-size: 20px;
}

.archive-page > .post-stream {
    max-width: 980px;
}

.archive-page .post-row {
    grid-template-columns: 250px minmax(0, 1fr);
    padding-block: 28px;
}

.archive-page .post-row__media img {
    aspect-ratio: 1.42;
}

.archive-page .post-row h3 {
    font-size: clamp(27px, 2.7vw, 42px);
}

.category-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr);
    gap: clamp(50px, 8vw, 140px);
    align-items: end;
    padding: var(--sp-template-hero-space) 0 var(--sp-template-section-space);
}

.category-hero > p {
    margin: 0;
    color: var(--sp-muted);
    font-size: clamp(18px, 1.7vw, 23px);
}

.category-branch {
    display: grid;
    grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 42px);
    align-items: center;
    margin-bottom: var(--sp-template-section-space);
    padding-block: 18px;
    border-block: 1px solid var(--sp-line);
}

.category-branch__intro {
    display: grid;
    gap: 5px;
}

.category-branch__intro p {
    margin: 0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.category-branch__parent {
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.category-branch__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.category-branch__item {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    color: var(--sp-ink);
    background: var(--sp-paper);
    border-radius: var(--sp-radius-control);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.category-branch__item:hover,
.category-branch__item:focus-visible,
.category-branch__item.is-current {
    color: var(--sp-white);
    background: var(--sp-primary);
}

.category-branch__item small {
    display: grid;
    min-width: 20px;
    height: 20px;
    padding-inline: 5px;
    color: inherit;
    background: color-mix(in srgb, currentColor 12%, transparent);
    border-radius: 999px;
    place-items: center;
    font-size: 9px;
}

.category-branch--home,
.category-branch--matrix {
    grid-template-columns: auto minmax(0, 1fr);
    margin: -5px 0 20px;
    padding-block: 10px;
    border-top: 0;
}

.category-branch--home .category-branch__items,
.category-branch--matrix .category-branch__items {
    justify-content: flex-start;
}

.category-branch--matrix {
    display: block;
    margin: 0 0 14px;
    border: 0;
}

.category-branch--matrix .category-branch__intro {
    display: none;
}

.category-branch--matrix .category-branch__item {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 10px;
}

.category-branch--sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
    padding: 24px;
    background: var(--sp-paper);
    border: 0;
    border-radius: var(--sp-radius-panel);
}

.category-branch--sidebar .category-branch__items {
    display: grid;
    justify-content: stretch;
}

.category-branch--sidebar .category-branch__item {
    justify-content: space-between;
    background: var(--sp-surface);
}

.category-branch--sidebar .category-branch__item:hover,
.category-branch--sidebar .category-branch__item:focus-visible,
.category-branch--sidebar .category-branch__item.is-current {
    color: var(--sp-white);
    background: var(--sp-primary);
}

.category-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: clamp(55px, 8vw, 120px);
    align-items: start;
    padding-bottom: var(--sp-space);
}

.category-posts .post-row {
    grid-template-columns: 220px minmax(0, 1fr);
}

.category-posts .post-row__media img {
    aspect-ratio: 1.35;
}

.category-aside,
.article-sidebar {
    display: grid;
    gap: 26px;
}

.aside-module {
    padding: 26px;
    background: var(--sp-paper);
    border-radius: var(--sp-radius-panel);
}

.aside-module > p:first-child,
.company-contact > p:first-child {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.aside-module > a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sp-line);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.aside-module > a:last-child {
    border-bottom: 0;
}

.aside-module--ad {
    color: var(--sp-white);
    background: var(--sp-primary);
}

.aside-module--ad small {
    display: block;
    margin-bottom: 48px;
    color: var(--sp-support);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.aside-module--ad strong {
    display: block;
    font-family: var(--sp-font-display);
    font-size: 28px;
    line-height: 1.05;
}

.aside-module--ad p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.story-links {
    padding: 24px;
    background: var(--sp-paper);
    border-radius: var(--sp-radius-panel);
}

.story-links > h2 {
    margin-bottom: 16px;
    font-family: var(--sp-font-body);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.story-links__items {
    display: grid;
    gap: 14px;
}

.story-links__item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--sp-line);
}

.story-links__media {
    overflow: hidden;
    border-radius: var(--sp-radius-control);
}

.story-links__media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.story-links time {
    display: block;
    margin-bottom: 4px;
    color: var(--sp-muted-readable);
    font-size: 10px;
    font-weight: 800;
}

.story-links h3 {
    font-family: var(--sp-font-body);
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.story-links h3 a {
    text-decoration: none;
}

.empty-state {
    padding: 32px;
    background: var(--sp-paper);
    border-radius: var(--sp-radius-panel);
}

.category-editorial {
    padding-block: var(--sp-space);
    background: var(--sp-paper);
}

.category-editorial__inner {
    display: grid;
    gap: clamp(26px, 4vw, 54px);
}

.category-editorial__inner h2 {
    max-width: 24ch;
    font-size: var(--sp-type-h2);
}

.category-editorial__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.category-editorial--single .category-editorial__columns {
    grid-template-columns: minmax(0, 760px);
}

.category-editorial__inner > p,
.category-editorial__content {
    margin: 0;
    color: var(--sp-muted);
    font-size: 19px;
}

.category-editorial__content > :first-child {
    margin-top: 0;
}

.category-editorial__content > :last-child {
    margin-bottom: 0;
}

.nav-links {
    display: flex;
    gap: 8px;
    margin-top: 44px;
}

.page-numbers {
    display: grid;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    place-items: center;
    background: var(--sp-paper);
    border-radius: var(--sp-radius-control);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.page-numbers.current {
    color: var(--sp-white);
    background: var(--sp-accent);
}

/* Single article */
.article-page {
    padding: 30px 0 var(--sp-space);
}

.article-header {
    margin-bottom: clamp(28px, 3vw, 44px);
}

.article-header h1 {
    max-width: 1180px;
    margin-bottom: clamp(26px, 3vw, 42px);
    font-size: var(--sp-article-title);
}

.article-lead {
    max-width: 860px;
    margin: 0 auto clamp(32px, 4vw, 52px);
    color: var(--sp-muted);
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.55;
}

.article-byline {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 2.2fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
    padding: clamp(22px, 3vw, 34px);
    background: var(--sp-paper);
    border-radius: var(--sp-radius-panel);
    color: var(--sp-muted);
    font-size: 12px;
}

.article-byline img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.article-byline__author {
    display: flex;
    gap: 16px;
    align-items: center;
}

.article-byline__author > div {
    display: flex;
    flex-direction: column;
}

.article-byline__author span,
.article-byline dt {
    color: var(--sp-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.article-byline__author a {
    color: var(--sp-ink);
    font-weight: 900;
    text-decoration: none;
}

.article-byline__details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
}

.article-byline__details > div {
    min-width: 0;
    padding-left: 18px;
    border-left: 1px solid var(--sp-line);
}

.article-byline dd {
    margin: 5px 0 0;
    color: var(--sp-ink);
    font-weight: 800;
    line-height: 1.35;
}

.article-byline dd a {
    text-decoration: none;
}

.article-featured {
    margin: 0 0 clamp(38px, 5vw, 70px);
}

.article-featured img {
    width: 100%;
    aspect-ratio: 16 / 8.5;
    object-fit: cover;
    border-radius: var(--sp-radius-media);
}

.article-featured figcaption,
.gallery-single__lead figcaption {
    padding: 10px 12px 0;
    color: var(--sp-muted);
    font-size: 11px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(210px, 1fr);
    gap: clamp(28px, 3vw, 48px);
    align-items: start;
}

/* Article composition variants. The default sidebar contract stays 4/5 + 1/5. */
.sp-article-newsroom .article-byline {
    color: rgba(255, 255, 255, .76);
    background: var(--sp-primary);
}

.sp-article-newsroom .article-byline__author a,
.sp-article-newsroom .article-byline dd {
    color: var(--sp-white);
}

.sp-article-newsroom .article-byline__author span,
.sp-article-newsroom .article-byline dt {
    color: var(--sp-support);
}

.sp-article-newsroom .article-byline__details > div {
    border-left-color: rgba(255, 255, 255, .28);
}

.sp-article-newsroom .article-featured img {
    aspect-ratio: 16 / 7;
}

.sp-article-newsroom .article-layout {
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
    gap: clamp(36px, 5vw, 72px);
}

.sp-article-newsroom .article-content,
.sp-article-newsroom .article-footer {
    max-width: 900px;
    margin-left: 0;
}

.sp-article-newsroom .article-lead {
    margin-left: 0;
}

.sp-article-newsroom .related-posts__grid {
    grid-template-columns: repeat(2, 1fr);
}

.sp-article-reader .article-header {
    max-width: 1040px;
    margin-inline: auto;
}

.sp-article-reader .article-header h1 {
    max-width: 980px;
}

.sp-article-reader .article-featured {
    max-width: 1180px;
    margin-inline: auto;
    margin-bottom: clamp(38px, 5vw, 70px);
}

.sp-article-reader .article-layout {
    grid-template-columns: 1fr;
}

.sp-article-reader .article-body {
    width: min(100%, 920px);
    margin-inline: auto;
}

.sp-article-reader .article-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.sp-article-reader .article-sidebar .article-toc {
    position: static;
}

.article-body {
    min-width: 0;
}

.article-content {
    max-width: 820px;
    margin-inline: auto;
    font-size: clamp(17px, 1.25vw, 19px);
}

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

.entry-content h2 {
    margin: 2.1em 0 .7em;
    font-size: var(--sp-type-entry-h2);
    scroll-margin-top: 120px;
}

.entry-content h3 {
    margin: 1.8em 0 .6em;
    font-size: var(--sp-type-entry-h3);
    scroll-margin-top: 120px;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content figure,
.entry-content blockquote {
    margin: 0 0 1.5em;
}

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

.entry-content li + li {
    margin-top: .55em;
}

.entry-content blockquote {
    padding: 26px 32px;
    background: var(--sp-paper);
    border-radius: var(--sp-radius-panel);
    border-left: 6px solid var(--sp-support);
}

.article-sidebar {
    display: grid;
    gap: 18px;
}

.article-toc--sticky {
    position: static;
}

.article-toc {
    padding: 26px;
    background: color-mix(in srgb, var(--sp-support) 18%, var(--sp-paper));
    border-radius: var(--sp-radius-panel);
}

.article-toc__title {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.article-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-toc li {
    border-top: 1px solid var(--sp-line);
}

.article-toc a {
    display: block;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.article-toc__item--3 a {
    padding-left: 14px;
    color: var(--sp-muted);
}

.article-mobile-toc {
    display: none;
}

.article-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    max-width: 820px;
    margin: 56px auto;
    padding-top: 26px;
    border-top: 1px solid var(--sp-line);
}

.back-link {
    display: inline-flex;
    margin-block: 20px;
    color: #98352a;
    color: color-mix(in srgb, var(--sp-accent) 62%, #2d0c08);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tags a {
    padding: 7px 12px;
    background: var(--sp-paper);
    border-radius: var(--sp-radius-control);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.author-box {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 24px;
    max-width: var(--sp-reading);
    margin: 0 auto 70px;
    padding: 32px;
    background: var(--sp-paper);
    border-radius: var(--sp-radius-panel);
}

.author-box img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

.author-box div > p:first-child {
    margin: 0;
    color: var(--sp-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.author-box h2 {
    margin: 5px 0 10px;
    font-size: 30px;
}

.author-box p {
    color: var(--sp-muted);
    font-size: 13px;
}

.author-box a {
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.related-posts {
    margin-top: 70px;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.related-posts .post-row {
    display: block;
    padding: 0;
    border: 0;
}

.related-posts .post-row__media {
    display: block;
    margin-bottom: 18px;
}

.related-posts .post-row p {
    display: none;
}

.related-posts .post-row h3 {
    font-size: 22px;
}

/* Gallery archive and single */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 330px;
    gap: 18px;
}

.gallery-card:nth-child(5n + 1) {
    grid-row: span 2;
}

.gallery-card:nth-child(5n + 4) {
    grid-column: span 2;
}

.gallery-single {
    padding: var(--sp-template-hero-space) 0 var(--sp-space);
}

.gallery-single__header {
    max-width: 980px;
    margin-bottom: 46px;
}

.gallery-single__header > p:last-child {
    max-width: 780px;
    margin-top: 24px;
    color: var(--sp-muted);
    font-size: 21px;
}

.gallery-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 22px;
    color: var(--sp-muted-readable);
    font-size: 11px;
    font-weight: 800;
}

.gallery-single__meta > * + * {
    position: relative;
}

.gallery-single__meta > * + *::before {
    position: absolute;
    left: -12px;
    content: "·";
}

.gallery-single__lead {
    margin: 0 0 50px;
}

.gallery-single__lead > a,
.company-single__header figure > a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--sp-radius-media);
}

.gallery-single__lead img {
    display: block;
    width: 100%;
    max-height: 840px;
    object-fit: cover;
    border-radius: var(--sp-radius-media);
}

.gallery-single__content {
    max-width: var(--sp-reading);
    margin-inline: auto;
}

.media-gallery {
    margin: clamp(64px, 8vw, 110px) 0;
}

.media-gallery__heading {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--sp-line);
}

.media-gallery__heading h2 {
    font-size: clamp(34px, 4vw, 58px);
}

.media-gallery__heading p {
    flex: 0 0 auto;
    margin: 0;
    color: var(--sp-muted);
    font-size: 12px;
    font-weight: 800;
}

.media-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
}

.media-gallery--company .media-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-gallery__item {
    min-width: 0;
    margin: 0;
}

.media-gallery__item > a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--sp-radius-media);
}

.media-gallery__item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}

.media-gallery__item figcaption,
.gallery-single__lead figcaption {
    padding: 10px 10px 0;
    color: var(--sp-muted);
    font-size: 12px;
    line-height: 1.5;
}

.media-gallery__zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    width: 44px;
    height: 44px;
    color: var(--sp-white);
    background: var(--sp-primary);
    border: 2px solid color-mix(in srgb, var(--sp-white) 60%, transparent);
    border-radius: 50%;
    place-items: center;
    font-family: Arial, sans-serif;
    font-size: 25px;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
}

[data-sp-lightbox]:hover .media-gallery__zoom,
[data-sp-lightbox]:focus-visible .media-gallery__zoom {
    background: var(--sp-accent);
    transform: rotate(90deg);
}

.sp-lightbox {
    width: min(1180px, calc(100vw - 48px));
    max-width: none;
    height: min(860px, calc(100vh - 48px));
    max-height: none;
    padding: 54px 76px 34px;
    color: var(--sp-white);
    background: #0b1713;
    border: 0;
    border-radius: var(--sp-radius-panel);
}

.sp-lightbox::backdrop {
    background: rgb(4 12 9 / 88%);
}

.sp-lightbox figure {
    display: grid;
    height: 100%;
    margin: 0;
    grid-template-rows: minmax(0, 1fr) auto;
}

.sp-lightbox img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.sp-lightbox figcaption {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding-top: 18px;
    color: rgb(255 255 255 / 78%);
    font-size: 14px;
}

.sp-lightbox figcaption small {
    flex: 0 0 auto;
    color: rgb(255 255 255 / 58%);
}

.sp-lightbox__close,
.sp-lightbox__control {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--sp-white);
    background: rgb(255 255 255 / 12%);
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 50%;
    cursor: pointer;
    place-items: center;
    font-size: 24px;
}

.sp-lightbox__close {
    top: 14px;
    right: 14px;
}

.sp-lightbox__control {
    top: 50%;
    transform: translateY(-50%);
}

.sp-lightbox__control--prev {
    left: 14px;
}

.sp-lightbox__control--next {
    right: 14px;
}

.sp-lightbox__close:hover,
.sp-lightbox__close:focus-visible,
.sp-lightbox__control:hover,
.sp-lightbox__control:focus-visible {
    color: var(--sp-ink);
    background: var(--sp-support);
}

/* Directory */
.directory-page {
    padding-bottom: var(--sp-space);
}

.directory-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 60px;
    align-items: end;
    padding: clamp(60px, 8vw, 116px) 0 70px;
}

.directory-hero h1 {
    max-width: 900px;
}

.directory-hero p {
    max-width: 700px;
    margin-top: 24px;
    color: var(--sp-muted);
    font-size: 20px;
}

.directory-filters {
    display: flex;
    gap: 10px;
    padding-bottom: 42px;
    overflow-x: auto;
}

.directory-filters a {
    flex: 0 0 auto;
    padding: 10px 16px;
    background: var(--sp-paper);
    border-radius: var(--sp-radius-control);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.directory-filters span {
    margin-left: 5px;
    color: var(--sp-muted);
}

.directory-list {
    border-top: 1px solid var(--sp-line);
}

.directory-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 60px;
    gap: 26px;
    align-items: center;
    min-height: 220px;
    padding-block: 26px;
    border-bottom: 1px solid var(--sp-line);
}

.directory-card__media {
    overflow: hidden;
    border-radius: var(--sp-radius-panel);
}

.directory-card__media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.directory-card__content h2 {
    margin-bottom: 12px;
    font-size: clamp(30px, 3.3vw, 48px);
}

.directory-card__content h2 a {
    text-decoration: none;
}

.directory-card__content > p:last-child {
    max-width: 720px;
    margin: 0;
    color: var(--sp-muted);
}

.directory-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
    margin-top: 14px;
    color: var(--sp-muted-readable);
    font-size: 12px;
    font-weight: 700;
}

.directory-card__details a {
    color: color-mix(in srgb, var(--sp-accent) 70%, var(--sp-ink));
}

.company-single {
    padding: var(--sp-template-hero-space) 0 var(--sp-space);
}

.company-single__header {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
    gap: clamp(48px, 7vw, 110px);
    align-items: center;
    margin-bottom: 70px;
}

.company-single__header > div > p:last-child {
    margin-top: 24px;
    color: var(--sp-muted);
    font-size: 20px;
}

.company-single__meta {
    margin: 18px 0 -10px;
    color: #98352a;
    color: color-mix(in srgb, var(--sp-accent) 62%, #2d0c08);
    font-size: 12px;
    font-weight: 800;
}

.company-single__header figure {
    margin: 0;
}

.company-single__header img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: var(--sp-radius-media);
}

.company-single__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(50px, 8vw, 120px);
    align-items: start;
    margin-bottom: clamp(64px, 8vw, 110px);
}

.company-contact {
    display: grid;
    gap: 22px;
    padding: 30px;
    background: color-mix(in srgb, var(--sp-support) 22%, var(--sp-paper));
    border: 1px solid color-mix(in srgb, var(--sp-primary) 16%, transparent);
    border-radius: var(--sp-radius-panel);
}

.company-contact h2 {
    font-size: 30px;
}

.company-contact dl {
    display: grid;
    gap: 18px;
    margin: 0;
}

.company-contact dl > div {
    padding-top: 16px;
    border-top: 1px solid color-mix(in srgb, var(--sp-primary) 18%, transparent);
}

.company-contact dt {
    margin-bottom: 5px;
    color: var(--sp-muted-readable);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.company-contact dd {
    margin: 0;
}

.company-contact address {
    font-style: normal;
    line-height: 1.55;
}

.company-contact a:not(.button) {
    font-weight: 800;
    text-decoration: none;
}

.company-contact small {
    color: var(--sp-muted-readable);
    line-height: 1.45;
}

.company-single > .media-gallery {
    margin-top: 0;
}

.company-map {
    display: grid;
    grid-template-columns: minmax(220px, .35fr) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 90px);
    align-items: start;
    margin: clamp(70px, 9vw, 130px) 0;
    padding-top: clamp(42px, 6vw, 78px);
    border-top: 1px solid var(--sp-line);
}

.company-map__heading h2 {
    font-size: clamp(36px, 4vw, 56px);
}

.company-map__heading p {
    margin-top: 18px;
    color: var(--sp-muted);
}

.company-map__stage {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: color-mix(in srgb, var(--sp-primary) 10%, var(--sp-paper));
    border-radius: var(--sp-radius-media);
}

.company-map__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 22px;
    align-content: center;
    justify-items: center;
    padding: 30px;
    text-align: center;
}

.company-map__placeholder[hidden] {
    display: none;
}

.company-map__placeholder p {
    margin: 0;
    color: var(--sp-muted-readable);
}

.company-map iframe {
    width: 100%;
    height: 430px;
    border: 0;
}

/* Forms and simple pages */
.content-page {
    padding-top: 40px;
}

.content-page > article {
    max-width: 900px;
}

.content-page header {
    margin-bottom: 42px;
}

.submit-company {
    max-width: 1000px;
}

.company-form {
    margin-top: 44px;
    padding: clamp(28px, 5vw, 58px);
    background: var(--sp-paper);
    border-radius: var(--sp-radius-media);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.form-grid p {
    margin: 0;
}

.form-grid__wide {
    grid-column: 1 / -1;
}

.company-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
}

.company-form input:not([type="checkbox"]),
.company-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--sp-white);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius-control);
}

.company-form textarea {
    resize: vertical;
}

.form-consent label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 600;
}

.company-form .button {
    margin-top: 28px;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
}

.form-notice {
    margin: 24px 0;
    padding: 18px 22px;
    border-radius: var(--sp-radius-panel);
    font-weight: 700;
}

.form-notice--success {
    color: var(--sp-white);
    background: var(--sp-primary);
}

.form-notice--error {
    color: var(--sp-white);
    background: var(--sp-accent);
}

.archive-hero--search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .65fr);
    gap: clamp(34px, 7vw, 110px);
    align-items: end;
    max-width: none;
    border-bottom: 1px solid var(--sp-line);
}

.archive-hero--search h1 span {
    color: var(--sp-accent);
}

.archive-hero--search p {
    margin: 16px 0 0;
    color: var(--sp-muted-readable);
    font-size: 13px;
    font-weight: 800;
}

.archive-hero--search .search-form,
.not-found .search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.archive-hero--search input[type="search"],
.not-found input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding-inline: 16px;
    background: var(--sp-white);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius-control);
}

.archive-hero--search input[type="submit"],
.not-found input[type="submit"] {
    min-width: 94px;
    min-height: 48px;
    color: var(--sp-white);
    background: var(--sp-ink);
    border: 0;
    border-radius: var(--sp-radius-control);
    cursor: pointer;
    font-weight: 900;
}

.archive-page--search > .post-stream {
    padding-top: var(--sp-template-section-space);
}

.search-empty {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: clamp(32px, 7vw, 110px);
    padding-block: var(--sp-template-section-space);
}

.search-empty h2 {
    font-size: clamp(30px, 4vw, 52px);
}

.search-empty > p {
    margin: 0;
    color: var(--sp-muted-readable);
}

.search-empty nav {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
}

.search-empty nav a {
    display: flex;
    justify-content: space-between;
    padding-block: 12px;
    border-bottom: 1px solid var(--sp-line);
    font-weight: 800;
    text-decoration: none;
}

.search-empty nav span {
    color: var(--sp-muted-readable);
}

.not-found {
    padding-block: var(--sp-template-hero-space) var(--sp-space);
}

.not-found__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: clamp(42px, 8vw, 130px);
    align-items: end;
    padding-bottom: var(--sp-template-section-space);
    border-bottom: 1px solid var(--sp-line);
}

.not-found__code {
    margin: 0 0 12px;
    color: var(--sp-accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
}

.not-found__intro > div:first-child > p:last-child {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--sp-muted-readable);
    font-size: clamp(17px, 1.4vw, 20px);
}

.not-found__actions {
    display: grid;
    gap: 14px;
}

.not-found__actions .button {
    width: max-content;
}

.not-found__stories {
    padding-top: var(--sp-template-section-space);
}

.not-found__stories .story-links {
    padding: 0;
    background: transparent;
}

.not-found__stories .story-links > h2 {
    margin-bottom: 24px;
    font-family: var(--sp-font-display);
    font-size: clamp(28px, 3vw, 44px);
    letter-spacing: -.03em;
}

.not-found__stories .story-links__items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 34px);
}

.not-found__stories .story-links__item {
    display: block;
    padding: 0;
    border: 0;
}

.not-found__stories .story-links__media {
    display: block;
    margin-bottom: 12px;
    border-radius: var(--sp-radius-media);
}

.not-found__stories .story-links h3 {
    font-family: var(--sp-font-display);
    font-size: clamp(18px, 1.7vw, 25px);
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    color: var(--sp-white);
    background: var(--sp-ink);
}

.site-footer__route {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    height: 8px;
}

.site-footer__route span:nth-child(1) {
    background: var(--sp-primary);
}

.site-footer__route span:nth-child(2) {
    background: var(--sp-accent);
}

.site-footer__route span:nth-child(3) {
    background: var(--sp-support);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr .7fr 1fr;
    gap: 54px;
    padding-block: var(--sp-footer-space);
}

.site-footer__name {
    margin: 0 0 20px;
    font-family: var(--sp-font-display);
    font-size: clamp(36px, 3.6vw, 54px);
    line-height: 1;
}

.site-footer__brand > p:last-child {
    max-width: 430px;
    color: rgba(255, 255, 255, .62);
}

.site-footer nav {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.site-footer nav p,
.site-footer__search > p {
    margin: 0 0 12px;
    color: var(--sp-support);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-footer nav a {
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.site-footer nav a:hover {
    color: var(--sp-white);
}

.site-footer .search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: min(100%, 460px);
}

.site-footer .search-form input[type="search"] {
    min-height: 44px;
    padding-inline: 15px;
    color: var(--sp-white);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .15);
}

.site-footer .search-form input[type="submit"] {
    min-width: 92px;
    min-height: 44px;
    padding-inline: 18px;
    color: var(--sp-ink);
    background: var(--sp-support);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-block: 20px;
    color: rgba(255, 255, 255, .48);
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 11px;
}

.site-footer__bottom p {
    margin: 0;
}

/* Shell variants are structural presets, independent from the Home recipe. */
.site-header--magazine .site-header__main {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-areas: "menu brand search" "nav nav nav";
    padding-block: 18px 0;
}

.site-header--magazine .site-brand {
    grid-area: brand;
    justify-self: center;
    text-align: center;
}

.site-header--magazine .menu-toggle {
    grid-area: menu;
}

.site-header--magazine .search-toggle {
    grid-area: search;
}

.site-header--magazine .site-nav {
    grid-area: nav;
    justify-self: center;
}

.site-header--magazine .site-nav__list {
    justify-content: center;
}

.site-header--guide {
    background: var(--sp-primary);
}

.site-header--guide .site-header__main {
    grid-template-columns: minmax(220px, 1fr) 44px 44px;
    grid-template-areas: "brand menu search" "nav nav nav";
    gap: 0 18px;
    padding-block: 18px 0;
}

.site-header--guide .site-brand {
    grid-area: brand;
}

.site-header--guide .menu-toggle {
    grid-area: menu;
}

.site-header--guide .search-toggle {
    grid-area: search;
}

.site-header--guide .site-nav {
    grid-area: nav;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.site-header--guide .site-nav__list {
    justify-content: flex-start;
}

.site-header--guide .site-header__utility {
    color: rgba(255, 255, 255, .72);
    background: rgba(0, 0, 0, .12);
}

.site-header--guide .site-header__utility a,
.site-header--guide .site-header__main,
.site-header--guide .site-nav a,
.site-header--guide .search-toggle,
.site-header--guide .menu-toggle {
    color: var(--sp-white);
}

.site-header--guide .site-brand__mark circle {
    fill: var(--sp-support);
}

.site-header--guide .site-brand__mark path,
.site-header--guide .site-brand__mark circle:last-child {
    stroke: var(--sp-primary);
}

.site-header--guide .search-toggle,
.site-header--guide .menu-toggle {
    border-color: rgba(255, 255, 255, .32);
}

.site-header--guide .site-nav .current-menu-item > a,
.site-header--guide .site-nav a:hover {
    color: var(--sp-support);
}

.site-header--guide .header-search {
    background: var(--sp-primary);
    border-color: rgba(255, 255, 255, .18);
}

.site-footer--magazine .site-footer__route {
    display: none;
}

.site-footer--magazine {
    color: var(--sp-ink);
    background: var(--sp-paper);
}

.site-footer--magazine .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px clamp(30px, 6vw, 90px);
}

.site-footer--magazine .site-footer__brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
    gap: 40px;
    align-items: end;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--sp-line);
}

.site-footer--magazine .site-footer__name {
    margin: 0;
    font-size: clamp(42px, 5vw, 72px);
}

.site-footer--magazine .site-footer__brand > p:last-child {
    margin: 0;
}

.site-footer--magazine .site-footer__search {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
}

.site-footer--magazine .site-footer__brand > p:last-child,
.site-footer--magazine nav a,
.site-footer--magazine .site-footer__bottom {
    color: var(--sp-ink);
}

.site-footer--magazine nav p,
.site-footer--magazine .site-footer__search > p {
    color: var(--sp-primary);
}

.site-footer--magazine .search-form input[type="search"] {
    color: var(--sp-ink);
    background: var(--sp-white);
    border-color: var(--sp-line);
}

.site-footer--magazine .search-form input[type="search"]::placeholder {
    color: var(--sp-muted);
}

.site-footer--magazine .search-form input[type="submit"] {
    color: var(--sp-white);
    background: var(--sp-ink);
}

.site-footer--magazine .site-footer__bottom {
    border-color: var(--sp-line);
}

.site-footer--guide {
    background: var(--sp-primary);
}

.site-footer--guide .site-footer__grid {
    grid-template-columns: 1.25fr 1.15fr .75fr 1fr;
}

.site-footer--guide .site-footer__brand {
    padding-right: clamp(24px, 3vw, 60px);
    border-right: 1px solid rgba(255, 255, 255, .16);
}

.site-footer--guide .site-footer__route span:nth-child(1) {
    background: var(--sp-support);
}

.site-footer--guide .site-footer__route span:nth-child(2) {
    background: var(--sp-accent);
}

.site-footer--guide .site-footer__links--primary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.site-footer--guide .site-footer__links--primary p {
    grid-column: 1 / -1;
}

.site-footer--guide .site-footer__links--primary a {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 8px 12px;
    color: var(--sp-white);
    background: rgba(255, 255, 255, .1);
    border-radius: var(--sp-radius-panel);
}

.sp-portal-banner {
    margin-block: var(--sp-composer-section-space);
}

.sp-portal-banner a,
.sp-portal-banner img {
    display: block;
    width: 100%;
}

.sp-portal-banner a {
    overflow: hidden;
    background: var(--sp-paper);
    border-radius: var(--sp-radius-media);
}

.sp-portal-banner img {
    height: clamp(110px, 15vw, 250px);
    object-fit: cover;
}

.sp-portal-banner--sidebar {
    margin: 0;
}

.sp-portal-banner--sidebar img {
    height: auto;
    min-height: 0;
    aspect-ratio: .8;
}

.category-page--magazine .category-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: clamp(22px, 5vw, 86px);
    align-items: end;
    padding-block: var(--sp-template-hero-space) var(--sp-template-section-space);
    border-bottom: 1px solid var(--sp-line);
}

.category-page--magazine .category-hero h1 {
    max-width: 12ch;
    font-size: var(--sp-archive-title);
    line-height: 1;
}

.category-page--magazine .category-body {
    display: block;
}

.category-page--magazine .category-posts .post-stream {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 46px);
}

.category-page--magazine .category-posts .post-row {
    display: block;
    padding: 0;
    border: 0;
}

.category-page--magazine .category-posts .post-row:first-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: clamp(20px, 4vw, 64px);
    align-items: end;
}

.category-page--magazine .category-posts .post-row__media img {
    width: 100%;
    aspect-ratio: 1.4;
    object-fit: cover;
}

.category-page--magazine .category-posts .post-row:first-child .post-row__media img {
    aspect-ratio: 1.65;
}

.category-page--magazine .category-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: clamp(44px, 7vw, 100px);
}

.category-page--topic .category-hero {
    max-width: 940px;
    padding-block: var(--sp-template-hero-space) var(--sp-template-section-space);
}

.category-page--topic .category-hero h1 {
    max-width: 13ch;
    font-size: var(--sp-archive-title);
}

.category-page--topic .category-body {
    grid-template-columns: minmax(0, .75fr) minmax(300px, 1.25fr);
}

.category-page--topic .category-aside {
    grid-column: 1;
    grid-row: 1;
}

.category-page--topic .category-posts {
    grid-column: 2;
}

.category-page--topic .category-editorial {
    background: var(--sp-paper);
}

/* Homepage composer: one semantic family + named variant, never page CSS. */
:root {
    --sp-composer-hero-media: clamp(246.1538px, calc(76.9231vw), 300px);
    --sp-composer-section-space: clamp(22.9744px, calc(7.1795vw), 28px);
    --sp-composer-home-h1: clamp(27.8974px, calc(8.7179vw), 34px);
    --sp-composer-lead-title: clamp(22.9744px, calc(7.1795vw), 28px);
    --sp-composer-section-title: clamp(22.1538px, calc(6.9231vw), 27px);
    --sp-composer-card-title: clamp(14.7692px, calc(4.6154vw), 18px);
}

.sp-composer-hero,
.sp-composer-category,
.sp-composer-feed,
.sp-composer-copy {
    margin-block: 0;
    padding-block: var(--sp-composer-section-space);
}

.sp-home-profile .home-gallery,
.sp-home-profile .home-companies {
    padding-block: var(--sp-composer-section-space);
}

.sp-home-profile .gallery-river {
    grid-template-rows: repeat(2, clamp(190px, 16vw, 230px));
}

.sp-home-profile .company-row {
    min-height: clamp(86px, 7vw, 104px);
}

.sp-home-profile .company-row h3,
.sp-home-profile .gallery-teaser strong {
    font-size: var(--sp-composer-card-title);
    line-height: 1.12;
}

.sp-home-profile .company-intro h2,
.sp-home-profile .sp-composer-copy > .wrap > h2 {
    margin-bottom: clamp(18px, 2vw, 28px);
    font-size: var(--sp-composer-section-title);
}

.sp-home-profile .home-seo-copy__columns {
    gap: clamp(24px, 4vw, 64px);
}

.sp-home-profile .home-seo-copy__columns p {
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.65;
}

.sp-home-profile .home-seo-copy__links {
    margin-top: clamp(22px, 3vw, 40px);
}

.sp-composer-hero {
    padding-block: var(--sp-composer-section-space);
}

.sp-composer-hero__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
    gap: clamp(24px, 4vw, 78px);
    align-items: end;
    margin-bottom: clamp(18px, 2vw, 30px);
}

.sp-composer-hero__intro :is(h1, h2) {
    max-width: 13ch;
    margin: 0;
    font-size: var(--sp-composer-home-h1);
    line-height: .98;
}

.sp-composer-hero__intro p {
    max-width: 36ch;
    margin: 0 0 4px;
    color: var(--sp-muted);
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.48;
}

.sp-composer-hero__stories {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
    gap: clamp(16px, 2vw, 28px);
}

.sp-composer-hero__lead {
    position: relative;
    display: grid;
    min-height: var(--sp-composer-hero-media);
    overflow: hidden;
    color: var(--sp-white);
    background: var(--sp-ink);
    border-radius: var(--sp-radius-surface);
}

.sp-composer-hero__media,
.sp-composer-hero__media img {
    width: 100%;
    height: 100%;
}

.sp-composer-hero__media {
    position: absolute;
    inset: 0;
}

.sp-composer-hero__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(5, 24, 18, .88), rgba(5, 24, 18, .08) 75%);
}

.sp-composer-hero__image {
    object-fit: cover;
}

.sp-composer-hero__lead-copy {
    position: relative;
    z-index: 1;
    align-self: end;
    max-width: 50rem;
    padding: clamp(20px, 2.4vw, 36px);
}

.sp-composer-hero__lead-copy .post-meta {
    color: var(--sp-support);
}

.sp-composer-hero__rail .post-meta {
    color: var(--sp-muted);
}

.sp-composer-hero__lead-copy h2,
.sp-composer-category h3,
.sp-composer-feed h3 {
    margin: 8px 0 0;
    line-height: 1.03;
}

.sp-composer-hero__lead-copy h2 {
    max-width: 17ch;
    font-size: var(--sp-composer-lead-title);
}

.sp-composer-hero__lead-copy p {
    max-width: 55ch;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .82);
}

.sp-composer-hero__rail {
    display: grid;
    gap: 0;
    align-content: start;
    border-top: 1px solid var(--sp-line);
}

.sp-composer-hero__rail article {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 15px;
    padding-block: 15px;
    border-bottom: 1px solid var(--sp-line);
}

.sp-composer-hero__rail-media,
.sp-composer-hero__rail-media img {
    display: block;
    width: 100%;
    height: 82px;
}

.sp-composer-hero__rail-media img,
.sp-composer-category__lead img,
.sp-composer-feed__media img {
    object-fit: cover;
    border-radius: var(--sp-radius-media);
}

.sp-composer-hero__rail h3 {
    margin: 5px 0 0;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.16;
}

.sp-composer-hero__empty {
    padding: 36px;
    color: var(--sp-muted);
    background: var(--sp-paper);
    border-radius: var(--sp-radius-surface);
}

.sp-composer-category__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: clamp(18px, 2.5vw, 36px);
}

.sp-composer-category__lead > a,
.sp-composer-category__lead img {
    display: block;
    width: 100%;
}

.sp-composer-category__lead img {
    max-height: 360px;
    aspect-ratio: 1.85;
    object-fit: cover;
}

.sp-composer-category__lead > div {
    max-width: 48rem;
    padding-top: 13px;
}

.sp-composer-category__lead h3 {
    font-size: var(--sp-composer-lead-title);
    line-height: 1.08;
}

.sp-composer-category__lead p {
    margin: 13px 0 0;
    color: var(--sp-muted);
}

.sp-composer-category__list {
    border-top: 1px solid var(--sp-line);
}

.sp-composer-category__list article {
    padding-block: clamp(13px, 1.4vw, 19px);
    border-bottom: 1px solid var(--sp-line);
}

.sp-composer-category__list h3 {
    font-size: var(--sp-composer-card-title);
    line-height: 1.16;
}

.sp-composer-category--lead_list .sp-composer-category__list article {
    display: grid;
    grid-template-columns: clamp(82px, 8vw, 112px) minmax(0, 1fr);
    gap: clamp(12px, 1.4vw, 18px);
    align-items: center;
}

.sp-composer-category--lead_list .sp-composer-category__item-media img {
    aspect-ratio: 1;
}

/* Multi-category portal matrix: one canonical DOM, three editorial variants. */
.sp-category-matrix {
    padding-block: clamp(48px, 5vw, 72px);
}

.sp-category-matrix__grid {
    display: grid;
    gap: clamp(18px, 2vw, 30px);
    align-items: start;
}

.sp-category-matrix--four_columns_four .sp-category-matrix__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sp-category-matrix--three_columns_four .sp-category-matrix__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sp-category-matrix--three_columns_featured .sp-category-matrix__grid {
    grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, .91fr));
}

.sp-category-matrix--three_columns_featured {
    padding-block: clamp(38px, 3.5vw, 52px);
}

.sp-category-matrix__group {
    min-width: 0;
}

.sp-category-matrix__heading {
    display: flex;
    gap: 14px;
    align-items: start;
    justify-content: space-between;
    min-height: 76px;
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sp-ink);
}

.sp-category-matrix__heading h2 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sp-category-matrix__heading h2 a,
.sp-category-matrix__heading > a {
    text-decoration: none;
}

.sp-category-matrix__heading > a {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    margin-top: 7px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.sp-category-matrix__branch-slot {
    display: flex;
    min-width: 0;
    height: 54px;
    align-items: flex-start;
    padding-top: 12px;
    overflow: hidden;
}

.sp-category-matrix__branch-slot .category-branch--matrix {
    width: 100%;
    margin: 0;
    padding: 0;
}

.sp-category-matrix__branch-slot .category-branch__items {
    flex-wrap: nowrap;
    max-width: 100%;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.sp-category-matrix__branch-slot .category-branch__item {
    flex: 0 0 auto;
}

.sp-category-matrix__media,
.sp-category-matrix__media img,
.sp-category-matrix__item-media,
.sp-category-matrix__item-media img {
    display: block;
    width: 100%;
}

.sp-category-matrix__media,
.sp-category-matrix__item-media {
    overflow: hidden;
    border-radius: var(--sp-radius-media);
}

.sp-category-matrix__media img {
    aspect-ratio: 1.55;
    object-fit: cover;
}

.sp-category-matrix__lead > div {
    padding-top: 10px;
}

.sp-category-matrix time {
    display: block;
    color: var(--sp-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.sp-category-matrix h3 {
    margin: 5px 0 0;
    line-height: 1.13;
}

.sp-category-matrix h3 a {
    display: -webkit-box;
    overflow: hidden;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.sp-category-matrix__lead h3 {
    font-size: clamp(19px, 1.45vw, 24px);
}

.sp-category-matrix__list {
    margin-top: 12px;
    border-top: 1px solid var(--sp-line);
}

.sp-category-matrix__list article {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 72px;
    padding-block: 10px;
    border-bottom: 1px solid var(--sp-line);
}

.sp-category-matrix__item-media img {
    aspect-ratio: 1;
    object-fit: cover;
}

.sp-category-matrix__list h3 {
    font-size: clamp(15px, 1.05vw, 18px);
}

.sp-category-matrix--four_columns_four .sp-category-matrix__list article,
.sp-category-matrix--three_columns_featured .sp-category-matrix__list article {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 0;
}

.sp-category-matrix--four_columns_four .sp-category-matrix__item-media,
.sp-category-matrix--three_columns_featured .sp-category-matrix__item-media {
    display: block;
}

.sp-category-matrix--four_columns_four .sp-category-matrix__item-media img,
.sp-category-matrix--three_columns_featured .sp-category-matrix__item-media img {
    aspect-ratio: 4 / 3;
}

.sp-category-matrix--three_columns_featured .sp-category-matrix__group:first-child .sp-category-matrix__media img {
    aspect-ratio: 1.72;
}

.sp-category-matrix--three_columns_featured .sp-category-matrix__group:not(:first-child) .sp-category-matrix__media img {
    aspect-ratio: 1.72;
}

.sp-category-matrix.sp-composer-density--compact .sp-category-matrix__grid {
    gap: clamp(14px, 1.5vw, 22px);
}

.sp-category-matrix.sp-composer-density--compact .sp-category-matrix__list article {
    padding-block: 8px;
}

.sp-composer-tone--primary .sp-category-matrix__heading {
    border-color: rgba(255, 255, 255, .56);
}

.sp-composer-tone--primary .sp-category-matrix__heading a,
.sp-composer-tone--primary .sp-category-matrix h3 a {
    color: var(--sp-white);
}

.sp-composer-tone--primary .sp-category-matrix time {
    color: rgba(255, 255, 255, .74);
}

.sp-composer-feed__items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 24px);
}

.sp-composer-feed--post_stream .sp-composer-feed__items,
.sp-composer-feed--headline_list .sp-composer-feed__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sp-composer-feed__media,
.sp-composer-feed__media img {
    display: block;
    width: 100%;
}

.sp-composer-feed__media img {
    aspect-ratio: 1.45;
    object-fit: cover;
}

.sp-composer-feed__item > div {
    padding-top: 13px;
}

.sp-composer-feed h3 {
    font-size: var(--sp-composer-card-title);
    line-height: 1.16;
}

.sp-composer-hero__rail h3 a,
.sp-composer-hero__slider-rail h3 a,
.sp-composer-category__list h3 a,
.sp-composer-feed h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.sp-composer-feed--post_stream .sp-composer-feed__item {
    display: grid;
    grid-template-columns: minmax(180px, .62fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--sp-line);
}

.sp-composer-feed--post_stream .sp-composer-feed__item > div {
    padding-top: 0;
}

.sp-composer-tone--paper {
    padding-block: var(--sp-composer-section-space);
    background: var(--sp-paper);
}

.sp-composer-tone--primary {
    padding-block: var(--sp-composer-section-space);
    color: var(--sp-white);
    background: var(--sp-primary);
}

.sp-composer-tone--primary .post-meta,
.sp-composer-tone--primary p {
    color: rgba(255, 255, 255, .76);
}

/* Named visual variants: shared data contracts, deliberately different rhythm. */
.sp-composer-hero--split_slider .sp-composer-hero__stories {
    grid-template-columns: minmax(0, 1fr);
}

.sp-composer-hero__slider-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .55fr);
    gap: clamp(16px, 2vw, 28px);
    align-items: stretch;
}

.sp-composer-hero__slider {
    position: relative;
}

.sp-composer-hero__slides {
    position: relative;
    min-height: var(--sp-composer-hero-media);
}

.sp-composer-hero__slide {
    position: absolute;
    inset: 0;
    display: grid;
    min-height: var(--sp-composer-hero-media);
    overflow: hidden;
    color: var(--sp-white);
    background: var(--sp-ink);
    border-radius: var(--sp-radius-surface);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.sp-composer-hero__slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.sp-composer-hero__slider-controls {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 20px;
    display: inline-flex;
    gap: 12px;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    color: var(--sp-white);
    background: rgba(9, 25, 20, .82);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--sp-radius-control);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .24);
    backdrop-filter: blur(7px);
}

.sp-composer-hero__slider-count {
    min-width: 38px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
}

.sp-composer-hero__slider-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}

.sp-composer-hero__slider-controls button {
    width: 30px;
    height: 7px;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, .6);
    border: 0;
    border-radius: 0;
}

.sp-composer-hero__slider-controls button.is-active {
    background: var(--sp-support);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
}

.sp-composer-hero--split_slider .sp-composer-hero__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    border-top: 0;
}

.sp-composer-hero--split_slider .sp-composer-hero__rail article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
    border-bottom: 0;
}

.sp-composer-hero--split_slider .sp-composer-hero__rail-media,
.sp-composer-hero--split_slider .sp-composer-hero__rail-media img {
    height: 132px;
}

.sp-composer-hero__slider-rail {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    min-width: 0;
    border-top: 1px solid var(--sp-line);
}

.sp-composer-hero__slider-rail .post-meta {
    color: var(--sp-muted);
}

.sp-composer-hero__slider-rail article {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 0;
    padding-block: 12px;
    border-bottom: 1px solid var(--sp-line);
}

.sp-composer-hero__slider-rail .sp-composer-hero__rail-media,
.sp-composer-hero__slider-rail .sp-composer-hero__rail-media img {
    height: 78px;
}

.sp-composer-hero__slider-rail h3 {
    margin: 5px 0 0;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.16;
}

.sp-composer-hero--lead_rail .sp-composer-hero__stories {
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .3fr);
}

.sp-composer-hero--lead_rail .sp-composer-hero__rail article {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
    min-height: 25%;
    align-content: center;
}

.sp-composer-hero--lead_rail .sp-composer-hero__rail-media,
.sp-composer-hero--lead_rail .sp-composer-hero__rail-media img {
    height: 68px;
    min-height: 0;
}

.sp-composer-hero--dual_lead .sp-composer-hero__stories {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr);
}

.sp-composer-hero--dual_lead .sp-composer-hero__rail {
    display: contents;
}

.sp-composer-hero--dual_lead .sp-composer-hero__rail article {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding-block: 12px;
    color: var(--sp-ink);
    background: transparent;
    border-bottom: 1px solid var(--sp-line);
    border-radius: 0;
}

.sp-composer-hero--dual_lead .sp-composer-hero__rail-media,
.sp-composer-hero--dual_lead .sp-composer-hero__rail-media img {
    height: 78px;
    min-height: 0;
}

.sp-composer-hero--dual_lead .sp-composer-hero__rail article > div {
    padding: 0;
}

.sp-composer-category--lead_four .sp-composer-category__layout,
.sp-composer-category--lead_three .sp-composer-category__layout,
.sp-composer-category--lead_grid .sp-composer-category__layout {
    grid-template-columns: 1fr;
}

.sp-composer-category--lead_four .sp-composer-category__list,
.sp-composer-category--lead_three .sp-composer-category__list,
.sp-composer-category--lead_grid .sp-composer-category__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
    border: 0;
}

.sp-composer-category--lead_four .sp-composer-category__list article,
.sp-composer-category--lead_three .sp-composer-category__list article,
.sp-composer-category--lead_grid .sp-composer-category__list article {
    padding: 0;
    border: 0;
}

.sp-composer-category__item-media,
.sp-composer-category__item-media img {
    display: block;
    width: 100%;
}

.sp-composer-category__item-media img {
    aspect-ratio: 1.72;
    object-fit: cover;
}

.sp-composer-category--lead_four .sp-composer-category__lead,
.sp-composer-category--lead_three .sp-composer-category__lead {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: clamp(18px, 2.5vw, 38px);
    align-items: end;
}

.sp-composer-category--lead_four .sp-composer-category__lead > div,
.sp-composer-category--lead_three .sp-composer-category__lead > div {
    padding: 0 0 18px;
}

.sp-composer-category--lead_grid .sp-composer-category__lead {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
    gap: clamp(18px, 2.5vw, 38px);
    align-items: center;
}

.sp-composer-category--lead_grid .sp-composer-category__lead img {
    max-height: 280px;
}

.sp-composer-category--lead_grid .sp-composer-category__item-media img {
    aspect-ratio: 2;
}

.sp-composer-category--lead_grid .sp-composer-category__lead > div {
    padding: 0;
}

.sp-composer-feed--four_equal .sp-composer-feed__items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sp-composer-feed--three_editorial .sp-composer-feed__items {
    grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
    align-items: start;
}

.sp-composer-feed--three_editorial .sp-composer-feed__item:first-child {
    grid-column: auto;
    grid-row: auto;
}

.sp-composer-feed--three_editorial .sp-composer-feed__item:first-child .sp-composer-feed__media img {
    aspect-ratio: 1.3;
}

.sp-composer-feed--image_mosaic .sp-composer-feed__items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
}

.sp-composer-feed--image_mosaic .sp-composer-feed__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.sp-composer-feed--image_mosaic .sp-composer-feed__item:first-child .sp-composer-feed__media img {
    aspect-ratio: 1.05;
}

.sp-composer-feed--two_categories .sp-composer-feed__items,
.sp-composer-feed--mixed_columns .sp-composer-feed__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sp-composer-feed--thumbnail_list .sp-composer-feed__items,
.sp-composer-feed--latest_more .sp-composer-feed__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sp-composer-feed--thumbnail_list .sp-composer-feed__item,
.sp-composer-feed--latest_more .sp-composer-feed__item {
    display: grid;
    grid-template-columns: clamp(92px, 7.5vw, 112px) minmax(0, 1fr);
    gap: clamp(12px, 1.25vw, 18px);
    align-items: center;
    padding-block: 14px;
    border-bottom: 1px solid var(--sp-line);
}

.sp-composer-feed--thumbnail_list .sp-composer-feed__item > div,
.sp-composer-feed--latest_more .sp-composer-feed__item > div {
    padding-top: 0;
}

.sp-composer-feed--headline_list .sp-composer-feed__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(18px, 2vw, 30px);
    border-top: 1px solid var(--sp-line);
}

.sp-composer-feed--headline_list .sp-composer-feed__item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding-block: 14px;
    border-bottom: 1px solid var(--sp-line);
}

.sp-composer-feed--headline_list .sp-composer-feed__media {
    display: block;
}

.sp-composer-feed--headline_list .sp-composer-feed__media img {
    aspect-ratio: 4 / 3;
}

.sp-composer-feed--post_carousel .sp-composer-feed__items {
    display: flex;
    gap: 22px;
    padding-bottom: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--sp-primary) transparent;
}

.sp-composer-feed--post_carousel .sp-composer-feed__item {
    flex: 0 0 min(360px, 82vw);
    scroll-snap-align: start;
}

.sp-composer-copy--text_links .home-seo-copy__columns {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
}

.sp-composer-copy--topic_hub .home-seo-copy__columns {
    grid-template-columns: minmax(0, .75fr) minmax(280px, 1.25fr);
}

.sp-composer-copy--topic_hub .home-seo-copy__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Three named Home profiles. They deliberately alter hierarchy and rhythm,
   while every underlying section keeps its canonical data/DOM contract. */
.sp-home-profile--newsroom {
    --sp-composer-section-space: clamp(24px, 3vw, 48px);
}

.sp-home-profile--newsroom .sp-composer-hero__intro {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
    gap: clamp(22px, 3vw, 52px);
    padding-bottom: clamp(20px, 2vw, 34px);
    border-bottom: 2px solid var(--sp-ink);
}

.sp-home-profile--newsroom .sp-composer-hero__intro :is(h1, h2) {
    max-width: 16ch;
    font-size: var(--sp-composer-home-h1);
    line-height: .96;
}

.sp-home-profile--newsroom .sp-composer-hero__stories {
    grid-template-columns: minmax(0, 1.72fr) minmax(245px, .48fr);
    gap: clamp(18px, 2.6vw, 42px);
}

.sp-home-profile--newsroom .sp-composer-hero--opening_mosaic .sp-composer-hero__lead {
    min-height: var(--sp-composer-hero-media);
    border-radius: min(10px, var(--sp-radius-media));
}

.sp-home-profile--newsroom .sp-composer-hero__rail {
    border-top: 2px solid var(--sp-ink);
}

.sp-home-profile--newsroom .sp-composer-hero__rail article {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
    padding-block: 14px;
}

.sp-home-profile--newsroom .sp-composer-hero__rail-media,
.sp-home-profile--newsroom .sp-composer-hero__rail-media img {
    height: 68px;
}

.sp-home-profile--newsroom .sp-composer-category--lead_four .sp-composer-category__lead {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr);
}

.sp-home-profile--newsroom .sp-composer-feed--headline_list .sp-composer-feed__item {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
    padding-block: 14px;
}

.sp-home-profile--newsroom .sp-composer-copy {
    border-top: 1px solid var(--sp-line);
}

.sp-home-profile--guide {
    --sp-composer-section-space: clamp(30px, 3.6vw, 62px);
}

.sp-home-profile--guide .sp-composer-hero {
    padding-top: var(--sp-composer-section-space);
}

.sp-home-profile--guide .sp-composer-hero__intro {
    grid-template-columns: minmax(0, .98fr) minmax(300px, .72fr);
    align-items: center;
    padding: clamp(20px, 2.6vw, 40px);
    background: var(--sp-paper);
    border-radius: var(--sp-radius-panel);
}

.sp-home-profile--guide .sp-composer-hero__intro :is(h1, h2) {
    max-width: 12ch;
    font-size: var(--sp-composer-home-h1);
}

.sp-home-profile--guide .sp-composer-hero__intro p {
    max-width: 31ch;
    color: var(--sp-ink);
}

.sp-home-profile--guide .sp-composer-hero--dual_lead .sp-composer-hero__stories {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    gap: clamp(16px, 2vw, 30px);
}

.sp-home-profile--guide .sp-composer-hero--dual_lead .sp-composer-hero__lead {
    min-height: var(--sp-composer-hero-media);
}

.sp-home-profile--guide .sp-composer-hero--dual_lead .sp-composer-hero__lead-copy {
    padding: clamp(20px, 2.7vw, 40px);
}

.sp-home-profile--guide .sp-composer-category--lead_grid .sp-composer-category__lead {
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: clamp(24px, 5vw, 86px);
}

.sp-home-profile--guide .sp-composer-category--lead_grid .sp-composer-category__lead img {
    aspect-ratio: 1.85;
}

.sp-home-profile--guide .sp-composer-feed--image_mosaic .sp-composer-feed__item:first-child .sp-composer-feed__media img {
    aspect-ratio: .82;
}

.sp-home-profile--guide .home-companies {
    margin-top: calc(var(--sp-composer-section-space) * .4);
}

@media (max-width: 800px) {
    .sp-home-profile--newsroom .sp-composer-hero__intro,
    .sp-home-profile--newsroom .sp-composer-hero__stories,
    .sp-home-profile--guide .sp-composer-hero__intro,
    .sp-home-profile--guide .sp-composer-hero--dual_lead .sp-composer-hero__stories,
    .sp-home-profile--guide .sp-composer-category--lead_grid .sp-composer-category__lead,
    .sp-composer-hero__slider-layout {
        grid-template-columns: 1fr;
    }

    .sp-home-profile--guide .sp-composer-hero__intro {
        padding: 26px;
    }

    .sp-home-profile--newsroom .sp-composer-hero--opening_mosaic .sp-composer-hero__lead,
    .sp-home-profile--guide .sp-composer-hero--dual_lead .sp-composer-hero__lead {
        min-height: var(--sp-composer-hero-media);
    }

    .sp-composer-hero__slider-rail {
        display: flex;
        gap: 14px;
        padding-bottom: 8px;
        overflow-x: auto;
        border-top: 0;
        scroll-snap-type: x mandatory;
    }

    .sp-composer-hero__slider-rail article {
        grid-template-columns: 112px minmax(0, 1fr);
        flex: 0 0 min(360px, 84vw);
        padding: 12px 0;
        scroll-snap-align: start;
    }
}

@media (min-width: 390px) {
    :root {
        --sp-footer-space: clamp(54px, calc(46.3529px + 1.9608vw), 84px);
        --sp-topbar-gap: clamp(12px, calc(3.3333px + 2.2222vw), 46px);
        --sp-composer-hero-media: clamp(300px, calc(259.2157px + 10.4575vw), 460px);
        --sp-composer-section-space: clamp(28px, calc(19.8431px + 2.0915vw), 60px);
        --sp-composer-home-h1: clamp(34px, calc(27.8824px + 1.5686vw), 58px);
        --sp-composer-lead-title: clamp(28px, calc(23.9216px + 1.0458vw), 44px);
        --sp-composer-section-title: clamp(27px, calc(23.1765px + .9804vw), 42px);
        --sp-composer-card-title: clamp(18px, calc(16.4706px + .3922vw), 24px);
    }
}

@media (min-width: 1920px) {
    :root {
        --sp-footer-space: 84px;
        --sp-topbar-gap: 46px;
        --sp-composer-hero-media: 460px;
        --sp-composer-section-space: 60px;
        --sp-composer-home-h1: 58px;
        --sp-composer-lead-title: 44px;
        --sp-composer-section-title: 42px;
        --sp-composer-card-title: 24px;
    }
}

@media (max-width: 1180px) {
    :root {
        --sp-wrap: min(100% - 44px, 1120px);
    }

    .site-header__main {
        grid-template-columns: 1fr 44px 44px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: center;
        justify-content: center;
    }

    .menu-toggle span:not(.screen-reader-text) {
        width: 18px;
        height: 2px;
        background: currentColor;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 20px 22px 30px;
        background: var(--sp-surface);
        border-top: 1px solid var(--sp-line);
        box-shadow: var(--sp-shadow);
    }

    .site-header--guide .site-nav {
        background: var(--sp-primary);
    }

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

    .site-nav__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: stretch;
        width: var(--sp-wrap);
        margin-inline: auto;
    }

    .site-nav a {
        display: block;
        padding: 12px 0;
    }

    .site-nav__list > .menu-item-has-children {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        align-items: start;
    }

    .site-nav__list > .menu-item-has-children > a {
        padding-right: 8px;
    }

    .submenu-toggle {
        position: static;
        width: 44px;
        height: 44px;
        justify-self: end;
        transform: none;
    }

    .site-nav .sub-menu {
        position: static;
        display: none;
        grid-column: 1 / -1;
        min-width: 0;
        padding: 2px 0 12px 16px;
        background: transparent;
        border: 0;
        border-left: 2px solid var(--sp-line);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav .menu-item-has-children:hover > .sub-menu,
    .site-nav .menu-item-has-children:focus-within > .sub-menu {
        display: none;
    }

    .site-nav .menu-item-has-children.is-submenu-open > .sub-menu {
        display: grid;
    }

    .site-nav .sub-menu a {
        padding: 10px 12px;
    }

    .site-header--guide .site-nav .sub-menu a {
        color: var(--sp-white);
    }

    .feature-slide {
        grid-template-columns: 1.25fr .75fr;
    }

    .feature-slide__content {
        padding: 42px;
    }

    .article-layout {
        grid-template-columns: minmax(0, 4fr) minmax(220px, 1fr);
        gap: 32px;
    }

    .site-footer__grid {
        grid-template-columns: 1.2fr repeat(2, .7fr);
    }

    .site-footer__search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    :root {
        --sp-radius-media: 26px;
        --sp-space: 84px;
    }

    .site-topbar__message {
        display: none;
    }

    .site-topbar--date .wrap {
        display: flex;
        justify-content: center;
    }

    .site-topbar--date nav {
        display: none;
    }

    .site-topbar--quick .wrap {
        justify-content: center;
    }

    .home-hero__intro,
    .sp-layout-tabloid .home-hero__intro,
    .category-hero,
    .category-editorial__inner,
    .company-single__header {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .feature-slide,
    .sp-layout-tabloid .feature-slide,
    .sp-layout-explorer .feature-slide {
        grid-template-columns: 1fr;
    }

    .feature-slide__content,
    .sp-layout-explorer .feature-slide__content {
        order: -1;
        min-height: 0;
        border-radius: var(--sp-radius-media) var(--sp-radius-media) 0 0;
    }

    .feature-slide__media,
    .sp-layout-explorer .feature-slide__media {
        min-height: 420px;
        border-radius: 0 0 var(--sp-radius-media) var(--sp-radius-media);
    }

    .feature-slider__controls {
        right: 24px;
        bottom: 24px;
        transform: none;
    }

    .home-latest {
        padding-top: var(--sp-space);
    }

    .latest-layout,
    .story-wall,
    .home-companies__inner,
    .home-seo-copy__columns,
    .category-body,
    .article-layout,
    .sp-article-newsroom .article-layout,
    .company-single__body {
        grid-template-columns: 1fr;
    }

    .story-wall__lead {
        grid-row: auto;
    }

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

    .gallery-river {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 280px);
    }

    .sp-home-profile .gallery-river {
        grid-template-rows: repeat(3, 220px);
    }

    .gallery-teaser:first-child {
        grid-row: 1 / 3;
    }

    .gallery-teaser:nth-child(4) {
        grid-column: 1 / 3;
    }

    .home-companies__inner {
        gap: 40px;
    }

    .category-aside {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-article-reader .article-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-sidebar .article-toc {
        display: none;
    }

    .article-mobile-toc {
        display: block;
        max-width: var(--sp-reading);
        margin: 0 auto 40px;
    }

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

    .directory-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .media-gallery--company .media-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-map {
        grid-template-columns: 1fr;
    }

    .directory-hero .button {
        width: max-content;
    }

    .directory-card {
        grid-template-columns: 150px minmax(0, 1fr) 54px;
    }

    .site-footer__grid {
        grid-template-columns: 1.2fr .8fr .8fr;
    }
}

@media (max-width: 680px) {
    :root {
        --sp-wrap: calc(100vw - 30px);
        --sp-radius-media: 21px;
        --sp-radius-panel: 17px;
        --sp-space: 68px;
    }

    body {
        font-size: 16px;
    }

    .site-header__utility nav {
        gap: 14px;
        width: 100%;
        justify-content: space-between;
    }

    .site-header__main {
        grid-template-columns: minmax(0, 1fr) 42px 42px;
        gap: 8px;
        min-height: 86px;
    }

    .site-brand__mark {
        width: 44px;
        flex-basis: 44px;
    }

    .site-brand strong {
        font-size: 20px;
    }

    .site-brand small {
        display: none;
    }

    .site-nav__list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .category-branch,
    .category-branch--home {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .category-branch__items,
    .category-branch--home .category-branch__items {
        flex-wrap: nowrap;
        justify-content: flex-start;
        max-width: 100%;
        padding-bottom: 4px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }

    .category-branch__item {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .home-hero {
        padding-top: 42px;
    }

    .home-hero__intro {
        margin-bottom: 34px;
    }

    .home-hero__intro > p:last-child {
        font-size: 16px;
    }

    .feature-slide__content {
        min-height: 0;
        padding: 32px 28px 54px;
    }

    .feature-slide__media {
        min-height: 300px;
    }

    .feature-slider__dot {
        width: 28px;
        height: 28px;
    }

    .section-heading {
        grid-template-columns: 1fr;
    }

    .section-heading > a {
        width: max-content;
    }

    .latest-lead__media img {
        aspect-ratio: 1.18;
    }

    .post-row,
    .category-posts .post-row,
    .archive-page .post-row {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 16px;
    }

    .post-row .post-meta > span,
    .post-row p {
        display: none;
    }

    .post-row h3,
    .archive-page .post-row h3 {
        font-size: 21px;
    }

    .story-wall__secondary,
    .home-seo-copy__columns,
    .home-seo-copy__links {
        grid-template-columns: 1fr;
    }

    .story-wall__lead h3 {
        font-size: var(--sp-type-h2);
    }

    .story-card__media img {
        aspect-ratio: 1.45;
    }

    .topic-routes li {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-block: 26px;
    }

    .topic-routes__story {
        display: none;
    }

    .gallery-river {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .gallery-teaser {
        min-width: 82vw;
        height: 480px;
        scroll-snap-align: start;
    }

    .sp-home-profile .gallery-teaser {
        height: 320px;
    }

    .company-row {
        min-height: 112px;
    }

    .company-row h3 {
        font-size: 27px;
    }

    .category-hero {
        padding-top: 44px;
    }

    .category-aside,
    .article-sidebar,
    .sp-article-reader .article-sidebar {
        grid-template-columns: 1fr;
    }

    .article-page {
        padding-top: 16px;
    }

    .article-byline {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .article-byline__details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

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

    .article-featured {
        margin-inline: 0;
    }

    .article-featured img {
        aspect-ratio: 4 / 3;
    }

    .author-box {
        grid-template-columns: 60px 1fr;
        padding: 24px;
    }

    .author-box img {
        width: 60px;
        height: 60px;
    }

    .related-posts__grid,
    .sp-article-newsroom .related-posts__grid {
        grid-template-columns: 1fr;
    }

    .related-posts .post-row {
        display: grid;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: 420px;
    }

    .gallery-card:nth-child(n) {
        grid-row: auto;
        grid-column: auto;
    }

    .directory-card {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
        min-height: 170px;
    }

    .directory-card__arrow {
        display: none;
    }

    .directory-card__content h2 {
        font-size: 25px;
    }

    .directory-card__content > p:last-child {
        display: none;
    }

    .company-single__header {
        margin-bottom: 44px;
    }

    .media-gallery__heading {
        align-items: start;
    }

    .media-gallery__grid,
    .media-gallery--company .media-gallery__grid {
        grid-template-columns: 1fr;
    }

    .media-gallery__zoom {
        right: 12px;
        bottom: 12px;
    }

    .sp-lightbox {
        width: calc(100vw - 20px);
        height: calc(100vh - 20px);
        padding: 56px 16px 24px;
    }

    .sp-lightbox__control {
        top: auto;
        bottom: 18px;
        transform: none;
    }

    .sp-lightbox__control--prev {
        left: 16px;
    }

    .sp-lightbox__control--next {
        right: 16px;
    }

    .sp-lightbox figcaption {
        min-height: 64px;
        padding: 14px 58px 0;
        text-align: center;
    }

    .sp-lightbox figcaption span {
        display: none;
    }

    .company-map__stage,
    .company-map iframe {
        min-height: 360px;
        height: 360px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid__wide {
        grid-column: auto;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 42px 24px;
    }

    .site-footer__brand,
    .site-footer__search {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        display: grid;
        gap: 6px;
    }
}

@media (max-width: 800px) {
    .site-header--magazine .site-header__main {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        grid-template-areas: "menu brand search";
        padding-block: 12px;
    }

    .site-header--magazine .site-nav {
        grid-area: auto;
        justify-self: auto;
    }

    .site-footer--magazine .site-footer__grid,
    .site-footer--guide .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer--guide .site-footer__brand {
        padding-right: 0;
        border-right: 0;
    }

    .category-page--magazine .category-hero,
    .category-page--magazine .category-posts .post-row:first-child {
        grid-template-columns: 1fr;
    }

    .category-page--magazine .category-posts .post-stream {
        grid-template-columns: 1fr 1fr;
    }

    .category-page--topic .category-body {
        grid-template-columns: 1fr;
    }

    .category-page--topic .category-aside,
    .category-page--topic .category-posts {
        grid-column: auto;
        grid-row: auto;
    }

    .sp-composer-hero__intro,
    .sp-composer-hero__stories,
    .sp-composer-category__layout,
    .sp-composer-feed--post_stream .sp-composer-feed__items {
        grid-template-columns: 1fr;
    }

    .sp-composer-hero__intro {
        gap: 14px;
    }

    .sp-composer-hero__lead-copy h2 {
        max-width: 14ch;
    }

    .sp-composer-hero__rail {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        border-top: 0;
    }

    .sp-composer-hero__rail article {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0;
        border-bottom: 0;
    }

    .sp-composer-hero__rail-media,
    .sp-composer-hero__rail-media img {
        height: 120px;
    }

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

    .sp-category-matrix__grid,
    .sp-category-matrix--four_columns_four .sp-category-matrix__grid,
    .sp-category-matrix--three_columns_four .sp-category-matrix__grid,
    .sp-category-matrix--three_columns_featured .sp-category-matrix__grid {
        display: flex;
        gap: 16px;
        padding: 0 0 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-color: var(--sp-primary) transparent;
    }

    .sp-category-matrix__group {
        display: block;
        flex: 0 0 min(82vw, 370px);
        scroll-snap-align: start;
    }

    .sp-composer-hero--split_slider .sp-composer-hero__rail,
    .sp-composer-category--lead_four .sp-composer-category__list,
    .sp-composer-category--lead_three .sp-composer-category__list,
    .sp-composer-category--lead_grid .sp-composer-category__list,
    .sp-composer-feed--four_equal .sp-composer-feed__items,
    .sp-composer-feed--three_editorial .sp-composer-feed__items,
    .sp-composer-feed--image_mosaic .sp-composer-feed__items,
    .sp-composer-feed--two_categories .sp-composer-feed__items,
    .sp-composer-feed--mixed_columns .sp-composer-feed__items,
    .sp-composer-feed--thumbnail_list .sp-composer-feed__items,
    .sp-composer-feed--headline_list .sp-composer-feed__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-composer-hero--dual_lead .sp-composer-hero__stories,
    .sp-composer-category--lead_four .sp-composer-category__lead,
    .sp-composer-category--lead_three .sp-composer-category__lead,
    .sp-composer-category--lead_grid .sp-composer-category__lead {
        grid-template-columns: 1fr;
    }

    .sp-composer-feed--thumbnail_list .sp-composer-feed__item,
    .sp-composer-feed--latest_more .sp-composer-feed__item {
        grid-template-columns: 150px minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .site-footer--magazine .site-footer__grid,
    .site-footer--guide .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer--magazine .site-footer__brand {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .site-footer .search-form {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .category-page--magazine .category-posts .post-stream,
    .category-page--magazine .category-aside {
        grid-template-columns: 1fr;
    }
    .sp-composer-hero__rail,
    .sp-composer-feed__items {
        grid-template-columns: 1fr;
    }

    .sp-composer-feed--post_stream .sp-composer-feed__item {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 13px;
    }

    .sp-composer-feed--post_stream .sp-composer-feed__media img {
        aspect-ratio: 1;
    }

    .sp-composer-category .section-heading,
    .sp-composer-feed .section-heading {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
    }

    .sp-composer-category .section-heading > a,
    .sp-composer-feed .section-heading > a {
        width: max-content;
        padding-bottom: 0;
        white-space: nowrap;
    }

    .sp-composer-category .post-meta > span {
        display: none;
    }

    .sp-composer-category__lead > div {
        padding-top: 10px;
    }

    .sp-composer-category__lead h3 {
        font-size: 26px;
    }

    .sp-composer-category__lead p {
        display: none;
    }

    .sp-composer-category__list h3 a {
        -webkit-line-clamp: 2;
    }

    .sp-category-matrix__group {
        flex-basis: 84vw;
    }

    .sp-category-matrix__heading {
        min-height: 42px;
    }

    .sp-category-matrix__heading h2 {
        font-size: 25px;
    }

    .sp-category-matrix__media img,
    .sp-category-matrix--three_columns_featured .sp-category-matrix__group:first-child .sp-category-matrix__media img,
    .sp-category-matrix--three_columns_featured .sp-category-matrix__group:not(:first-child) .sp-category-matrix__media img {
        aspect-ratio: 1.72;
    }

    .sp-category-matrix__list article,
    .sp-category-matrix--four_columns_four .sp-category-matrix__list article,
    .sp-category-matrix--three_columns_featured .sp-category-matrix__list article {
        grid-template-columns: 64px minmax(0, 1fr);
        min-height: 0;
    }

    .sp-category-matrix__item-media {
        display: block;
    }

    .sp-category-matrix__item-media img {
        aspect-ratio: 4 / 3;
    }

    .sp-composer-hero--split_slider .sp-composer-hero__rail,
    .sp-composer-category--lead_four .sp-composer-category__list,
    .sp-composer-category--lead_three .sp-composer-category__list,
    .sp-composer-category--lead_grid .sp-composer-category__list,
    .sp-composer-feed--four_equal .sp-composer-feed__items,
    .sp-composer-feed--three_editorial .sp-composer-feed__items,
    .sp-composer-feed--image_mosaic .sp-composer-feed__items,
    .sp-composer-feed--two_categories .sp-composer-feed__items,
    .sp-composer-feed--mixed_columns .sp-composer-feed__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-composer-feed--thumbnail_list .sp-composer-feed__items,
    .sp-composer-feed--headline_list .sp-composer-feed__items {
        grid-template-columns: 1fr;
    }

    .sp-composer-feed--three_editorial .sp-composer-feed__item:first-child,
    .sp-composer-feed--image_mosaic .sp-composer-feed__item:first-child {
        grid-column: auto;
        grid-row: auto;
    }

    .sp-composer-feed--thumbnail_list .sp-composer-feed__item,
    .sp-composer-feed--latest_more .sp-composer-feed__item {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .sp-composer-copy--text_links .home-seo-copy__columns,
    .sp-composer-copy--topic_hub .home-seo-copy__columns,
    .sp-composer-copy--topic_hub .home-seo-copy__links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .archive-hero--search,
    .search-empty,
    .not-found__intro {
        grid-template-columns: 1fr;
    }

    .search-empty nav {
        grid-column: auto;
    }

    .not-found__stories .story-links__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .archive-hero--search .search-form,
    .not-found .search-form {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .archive-hero--search input[type="submit"],
    .not-found input[type="submit"] {
        min-width: 82px;
        padding-inline: 14px;
    }

    .search-empty nav {
        grid-template-columns: 1fr;
    }

    .not-found__stories .story-links__items {
        gap: 24px 14px;
    }

    .not-found__stories .story-links h3 {
        font-size: 18px;
    }

    .directory-card__details span {
        display: none;
    }

    .gallery-single__meta span:last-child {
        flex-basis: 100%;
    }

    .gallery-single__meta span:last-child::before {
        display: none;
    }
}

/* Guide keeps its photographic density without turning one tablet section
   into a page of its own. This remains a named component variant. */
@media (max-width: 800px) {
    .sp-home-profile--guide .sp-composer-feed--image_mosaic .sp-composer-feed__items {
        display: flex;
        gap: clamp(14px, 3vw, 22px);
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-color: var(--sp-primary) transparent;
    }

    .sp-home-profile--guide .sp-composer-feed--image_mosaic .sp-composer-feed__item,
    .sp-home-profile--guide .sp-composer-feed--image_mosaic .sp-composer-feed__item:first-child {
        flex: 0 0 min(46vw, 340px);
        grid-column: auto;
        grid-row: auto;
        scroll-snap-align: start;
    }

    .sp-home-profile--guide .sp-composer-feed--image_mosaic .sp-composer-feed__media img,
    .sp-home-profile--guide .sp-composer-feed--image_mosaic .sp-composer-feed__item:first-child .sp-composer-feed__media img {
        aspect-ratio: 4 / 3;
    }
}

@media (min-width: 621px) and (max-width: 800px) {
    .sp-home-profile--guide .sp-composer-category--lead_grid .sp-composer-category__lead {
        grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
    }
}

@media (max-width: 520px) {
    .sp-home-profile--guide .sp-composer-feed--image_mosaic .sp-composer-feed__item,
    .sp-home-profile--guide .sp-composer-feed--image_mosaic .sp-composer-feed__item:first-child {
        flex-basis: min(82vw, 330px);
    }

    .sp-composer-category--lead_list .sp-composer-category__list article {
        grid-template-columns: 76px minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Visual review 0.12.0: canonical editorial refinements shared by all
   presets. These rules intentionally target components and hierarchy roles,
   never individual pages or seeded content. */
:root {
    --sp-line: color-mix(in srgb, var(--sp-ink) 15%, transparent);
    --sp-article-title: clamp(34px, 4vw, 58px);
}

.site-header {
    border-bottom: 0;
}

.search-toggle,
.menu-toggle {
    display: grid;
    place-items: center;
}

.menu-toggle {
    display: none;
}

@media (max-width: 1180px) {
    .menu-toggle {
        display: grid;
    }
}

.search-toggle svg {
    display: block;
    margin: 0;
}

body:is(.sp-heading-marker-square, .sp-heading-marker-round) :is(.sp-home-profile .section-heading h2, .sp-category-matrix__heading h2)::after {
    display: none;
}

:is(h1, h2, h3, h4) a {
    text-decoration: none;
}

:is(h1, h2, h3, h4) a:hover,
:is(h1, h2, h3, h4) a:focus-visible {
    color: inherit;
}

.sp-composer-hero__intro,
.sp-home-profile--newsroom .sp-composer-hero__intro {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .62fr);
    gap: clamp(36px, 7vw, 116px);
    align-items: end;
}

.sp-composer-hero__intro :is(h1, h2),
.sp-home-profile--newsroom .sp-composer-hero__intro :is(h1, h2) {
    max-width: 22ch;
    font-size: clamp(32px, 3.35vw, 50px);
    line-height: 1.02;
}

.sp-composer-hero__intro p {
    max-width: 44ch;
    justify-self: end;
}

.sp-composer-hero__slider-controls button {
    background: color-mix(in srgb, var(--sp-ink) 42%, transparent);
}

.sp-composer-hero__slider-controls button.is-active {
    background: var(--sp-support);
}

.sp-composer-hero__slider-rail .post-meta {
    display: grid;
    gap: 2px;
    justify-items: start;
}

.sp-category-matrix__heading > a span,
.section-heading > a span {
    margin-left: 8px;
}

.sp-category-matrix__media img {
    aspect-ratio: 16 / 10;
}

.sp-category-matrix__item-media img {
    aspect-ratio: 4 / 3;
}

.sp-composer-carousel {
    position: relative;
    padding-inline: 30px;
}

.sp-composer-feed--post_carousel .sp-composer-feed__items {
    scrollbar-width: none;
}

.sp-composer-feed--post_carousel .sp-composer-feed__items::-webkit-scrollbar {
    display: none;
}

.sp-composer-carousel__control {
    position: absolute;
    z-index: 2;
    top: 42%;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    color: var(--sp-white);
    background: var(--sp-primary);
    border: 0;
    border-radius: var(--sp-radius-control);
    box-shadow: 0 12px 30px color-mix(in srgb, var(--sp-ink) 18%, transparent);
    cursor: pointer;
    transform: translateY(-50%);
}

.sp-composer-carousel__control--prev {
    left: 0;
}

.sp-composer-carousel__control--next {
    right: 0;
}

.sp-composer-carousel__control:hover,
.sp-composer-carousel__control:focus-visible {
    color: var(--sp-ink);
    background: var(--sp-support);
}

/* Category variants remain distinct, while the default stream becomes the
   compact four-column editorial grid requested for larger archives. */
.category-page--stream .category-body {
    display: block;
}

.category-page--stream .category-posts .post-stream {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 42px) clamp(16px, 2vw, 28px);
}

.category-page--stream .category-posts .post-row {
    display: block;
    padding: 0;
    border: 0;
}

.category-page--stream .category-posts .post-row__media {
    display: block;
    margin-bottom: 14px;
}

.category-page--stream .category-posts .post-row__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.category-page--stream .category-posts .post-row h3 {
    font-size: clamp(19px, 1.55vw, 25px);
    line-height: 1.12;
}

.category-page--stream .category-posts .post-row p {
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.55;
}

.category-page--stream .category-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(48px, 6vw, 86px);
}

.category-page--magazine .category-posts .post-stream {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-page--magazine .category-posts .post-row:first-child {
    grid-column: span 2;
    display: block;
}

.category-page--magazine .category-posts .post-row:first-child .post-row__media img {
    aspect-ratio: 16 / 9;
}

.category-page--magazine .category-posts .post-row h3 {
    font-size: clamp(19px, 1.55vw, 25px);
}

.category-page--magazine .category-posts .post-row:first-child h3 {
    font-size: clamp(24px, 2.2vw, 34px);
}

.category-page--topic .category-hero {
    max-width: var(--sp-wrap);
}

.category-page--topic .category-hero h1 {
    max-width: 18ch;
}

.category-page--leaf .category-hero,
.category-page--branch .category-hero {
    padding-block: clamp(42px, 5vw, 76px);
}

.category-page--leaf .category-body {
    padding-top: clamp(38px, 5vw, 70px);
}

.category-posts .section-heading--compact h2 {
    font-size: clamp(30px, 3vw, 42px);
}

.category-page--leaf.category-page--magazine .category-posts .post-row:first-child {
    grid-column: auto;
}

.category-page--leaf.category-page--magazine .category-posts .post-row:first-child .post-row__media img {
    aspect-ratio: 4 / 3;
}

.category-page--leaf.category-page--magazine .category-posts .post-row:first-child h3 {
    font-size: clamp(19px, 1.55vw, 25px);
}

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

.article-reading-layout {
    display: grid;
    grid-template-columns: minmax(170px, .72fr) minmax(0, 3.28fr);
    gap: clamp(24px, 3vw, 46px);
    align-items: start;
}

.article-reading-column {
    min-width: 0;
}

.article-content,
.article-footer {
    max-width: 820px;
    margin-inline: 0;
}

.article-reading-toc .article-toc {
    padding: 22px;
}

.entry-content h2 {
    margin: 1.65em 0 .65em;
}

.entry-content h3 {
    margin: 1.45em 0 .55em;
}

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

.entry-content blockquote {
    position: relative;
    padding: 28px 32px 28px 38px;
    background: color-mix(in srgb, var(--sp-support) 18%, var(--sp-paper));
    border-left-color: var(--sp-accent);
}

.entry-content blockquote::before {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--sp-accent);
    content: "“";
    font-family: var(--sp-font-display);
    font-size: 42px;
    line-height: 1;
}

@media (max-width: 1000px) {
    .category-page--stream .category-posts .post-stream,
    .category-page--magazine .category-posts .post-stream {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .article-reading-toc .article-toc {
        position: static;
    }
}

@media (max-width: 800px) {
    .menu-toggle {
        display: grid;
    }

    .sp-composer-hero__intro,
    .sp-home-profile--newsroom .sp-composer-hero__intro {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sp-composer-hero__intro :is(h1, h2),
    .sp-home-profile--newsroom .sp-composer-hero__intro :is(h1, h2) {
        max-width: 18ch;
        font-size: clamp(32px, 9vw, 44px);
    }

    .sp-composer-hero__intro p {
        justify-self: start;
    }
}

@media (max-width: 600px) {
    .category-page--stream .category-posts .post-stream,
    .category-page--magazine .category-posts .post-stream {
        grid-template-columns: 1fr;
    }

    .category-page--magazine .category-posts .post-row:first-child {
        grid-column: auto;
    }

    .category-page--stream .category-aside,
    .category-page--magazine .category-aside {
        grid-template-columns: 1fr;
    }

    .sp-composer-carousel {
        padding-inline: 0;
    }

    .sp-composer-carousel__control {
        top: auto;
        bottom: 12px;
        width: 44px;
        height: 44px;
    }

    .article-byline__details {
        grid-template-columns: 1fr;
    }
}

/* Release 0.14.0: internal showroom for the canonical section library. */
.sp-section-library {
    background: var(--sp-bg);
}

.sp-section-library__intro {
    padding-block: clamp(46px, 6vw, 88px);
    color: var(--sp-white);
    background: var(--sp-ink);
}

.sp-section-library__intro h1 {
    max-width: 17ch;
    margin: 0;
    font-size: clamp(38px, 5vw, 74px);
    line-height: .98;
}

.sp-section-library__lead {
    max-width: 72ch;
    margin: clamp(20px, 2vw, 30px) 0 0;
    color: color-mix(in srgb, var(--sp-white) 82%, transparent);
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.55;
}

.sp-section-library__status {
    margin: 14px 0 0;
    color: var(--sp-support);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sp-section-library__nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: clamp(32px, 4vw, 58px);
    overflow: hidden;
    background: color-mix(in srgb, var(--sp-white) 24%, transparent);
    border: 1px solid color-mix(in srgb, var(--sp-white) 24%, transparent);
    border-radius: var(--sp-radius-surface);
}

.sp-section-library__nav a {
    display: flex;
    min-height: 76px;
    padding: 16px 18px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--sp-white);
    background: var(--sp-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.sp-section-library__nav a:hover,
.sp-section-library__nav a:focus-visible {
    color: var(--sp-ink);
    background: var(--sp-support);
}

.sp-section-library__nav span {
    display: grid;
    min-width: 32px;
    height: 32px;
    place-items: center;
    color: var(--sp-ink);
    background: var(--sp-support);
    border-radius: var(--sp-radius-control);
}

.sp-section-library__nav a:hover span,
.sp-section-library__nav a:focus-visible span {
    background: var(--sp-white);
}

.sp-section-library__family {
    scroll-margin-top: calc(var(--sp-sticky-header-offset) + 18px);
}

.sp-section-library__family-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    padding-top: clamp(58px, 7vw, 104px);
    padding-bottom: 22px;
    border-bottom: 2px solid var(--sp-ink);
}

.sp-section-library__family-header h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.02;
}

.sp-section-library__family-header p {
    max-width: 66ch;
    margin: 10px 0 0;
    color: var(--sp-muted);
}

.sp-section-library__family-header > a {
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.sp-section-library__preview {
    scroll-margin-top: calc(var(--sp-sticky-header-offset) + 18px);
    border-bottom: 1px solid var(--sp-line);
}

.sp-section-library__preview-meta {
    display: grid;
    grid-template-columns: minmax(240px, .68fr) minmax(0, 1.32fr);
    gap: clamp(24px, 5vw, 88px);
    align-items: end;
    padding-top: clamp(34px, 4vw, 54px);
    padding-bottom: 18px;
}

.sp-section-library__preview-name {
    margin: 0 0 7px;
    color: var(--sp-ink);
    font-family: var(--sp-font-heading);
    font-size: clamp(22px, 2vw, 32px);
    font-weight: 800;
    line-height: 1.08;
}

.sp-section-library__preview-meta code {
    color: var(--sp-primary);
    font-size: 12px;
    font-weight: 800;
}

.sp-section-library__preview-meta > p {
    max-width: 64ch;
    margin: 0;
    color: var(--sp-muted);
    line-height: 1.55;
}

.sp-section-library__canvas {
    overflow: clip;
    background: var(--sp-bg);
}

.sp-section-library__missing {
    padding-block: 80px;
}

@media (max-width: 900px) {
    .sp-section-library__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-section-library__preview-meta {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 560px) {
    .sp-section-library__nav {
        grid-template-columns: 1fr;
    }

    .sp-section-library__nav a {
        min-height: 60px;
    }

    .sp-section-library__family-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .sp-section-library__family-header > a {
        justify-self: start;
    }
}

/* Release 0.13.0: shared alignment, sticky navigation and readable controls. */
.site-header {
    box-shadow: 0 1px 0 var(--sp-line);
}

body :is(h1, h2, h3, h4) a,
body :is(h1, h2, h3, h4) a:hover,
body :is(h1, h2, h3, h4) a:focus-visible {
    color: inherit;
    text-decoration: none !important;
}

.article-reading-toc {
    position: sticky;
    top: calc(var(--sp-sticky-header-offset) + 18px);
    align-self: start;
}

body.admin-bar .article-reading-toc {
    top: calc(var(--sp-sticky-header-offset) + var(--wp-admin--admin-bar--height, 32px) + 18px);
}

.article-reading-toc .article-toc {
    position: static;
}

@media (max-width: 1000px) {
    .article-reading-toc {
        position: static;
    }

    .category-editorial__columns {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .sp-portal-banner img {
        height: clamp(150px, 42vw, 210px);
    }

    .sp-portal-banner--sidebar img {
        height: auto;
    }

    .sp-composer-hero__slider-controls {
        right: 12px;
        bottom: 12px;
        gap: 9px;
        padding: 7px 9px;
    }

    .sp-composer-hero__slider-controls button {
        width: 24px;
    }
}
