/*
Pitch & Ledger v0.1
Reading-first palette:
- ink #202327
- brand navy #011127
- paper #FCFBF8
- surface #F4F1EB
- accent #FFA203 (micro-accent only)
*/

:root {
    --pl-ink: #202327;
    --pl-brand: #011127;
    --pl-paper: #fcfbf8;
    --pl-surface: #f4f1eb;
    --pl-muted: #686d73;
    --pl-rule: #dfddd7;
    --pl-accent: #ffa203;
    --pl-max: 1280px;
    --pl-reading: 740px;
}

* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--pl-ink);
    background: var(--pl-paper);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: rgba(255,162,3,.28); }

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

/* Header */
.pl-header {
    background: var(--pl-paper);
    border-bottom: 1px solid var(--pl-rule);
}
.pl-header-top {
    min-height: 82px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.pl-search {
    width: max-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pl-ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}
.pl-search svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}
.pl-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}
.pl-brand img {
    width: auto;
    max-width: 280px;
    height: 28px;
    object-fit: contain;
}
.pl-wordmark {
    color: var(--pl-brand);
    font-size: 28px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -.025em;
}
.pl-tagline {
    margin-top: 6px;
    color: var(--pl-muted);
    font-size: 9px;
    line-height: 1;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.pl-subscribe-button {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 2px;
    background: #242629;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: background .18s ease, color .18s ease;
}
.pl-subscribe-button:hover {
    background: var(--pl-accent);
    color: var(--pl-ink);
}
.pl-nav-border { border-top: 1px solid var(--pl-rule); }
.pl-nav-scroll {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
}
.pl-nav-scroll::-webkit-scrollbar { display: none; }
.pl-nav-scroll .nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}
.pl-nav-scroll .nav a {
    position: relative;
    font-size: 13px;
    font-weight: 700;
}
.pl-nav-scroll .nav a:hover { color: var(--pl-muted); }

/* Shared */
.pl-main { padding: 30px 0 76px; }
.pl-kicker,
.pl-mini-kicker {
    color: #6e6a63;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.pl-mini-kicker { font-size: 10px; }
.pl-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pl-muted);
    font-size: 12px;
}
.pl-section-rule,
.pl-section-heading {
    border-top: 3px solid var(--pl-ink);
}
.pl-section-rule h2,
.pl-section-heading h2 {
    margin: 0;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.pl-section-rule { padding-top: 11px; }
.pl-section-heading {
    padding-top: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}
.pl-section-heading a {
    color: var(--pl-muted);
    font-size: 12px;
}

/* Home */
.pl-home-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(290px, .72fr);
    gap: 34px;
    align-items: start;
}
.pl-hero-image {
    display: block;
    overflow: hidden;
    background: #e7e3dc;
    aspect-ratio: 16 / 9;
}
.pl-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pl-hero-copy {
    max-width: 900px;
    padding-top: 17px;
}
.pl-hero h1 {
    margin: 8px 0 0;
    max-width: 940px;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(32px, 3.25vw, 44px);
    line-height: 1.055;
    font-weight: 600;
    letter-spacing: -.035em;
}
.pl-hero-dek {
    max-width: 800px;
    margin: 13px 0 15px;
    color: #44484d;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 19px;
    line-height: 1.5;
}
.pl-latest { min-width: 0; }
.pl-latest-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    padding: 18px 0;
    border-bottom: 1px solid var(--pl-rule);
}
.pl-latest-number {
    color: #9a968f;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 14px;
}
.pl-latest-item h3 {
    margin: 6px 0 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 19px;
    line-height: 1.22;
    font-weight: 600;
    letter-spacing: -.018em;
}

.pl-analysis { margin-top: 56px; }
.pl-analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}
.pl-card {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pl-rule);
}
.pl-card-image {
    background: #e7e3dc;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.pl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pl-card h3 {
    margin: 7px 0 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 21px;
    line-height: 1.18;
    font-weight: 600;
    letter-spacing: -.018em;
}
.pl-card p {
    margin: 9px 0 12px;
    color: #51555b;
    font-size: 13.5px;
    line-height: 1.5;
}

.pl-newsletter {
    margin-top: 58px;
    border-top: 3px solid var(--pl-accent);
    border-bottom: 1px solid var(--pl-rule);
    background: var(--pl-surface);
}
.pl-newsletter-inner {
    min-height: 160px;
    padding-block: 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
}
.pl-newsletter h2 {
    max-width: 720px;
    margin: 8px 0 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(26px, 2.7vw, 34px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -.025em;
}
.pl-newsletter p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--pl-muted);
    font-size: 14px;
    line-height: 1.55;
}
.pl-newsletter-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    background: #242629;
    color: #fff;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 750;
}
.pl-newsletter-button:hover {
    background: var(--pl-accent);
    color: var(--pl-ink);
}

/* Archive / feeds */
.pl-archive { max-width: 1100px; }
.pl-archive-header {
    max-width: 760px;
    padding: 16px 0 32px;
    border-bottom: 1px solid var(--pl-rule);
}
.pl-archive-header h1,
.pl-page-header h1 {
    margin: 8px 0 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.04;
    font-weight: 600;
    letter-spacing: -.035em;
}
.pl-archive-header p,
.pl-page-header p {
    color: var(--pl-muted);
    font-size: 17px;
    line-height: 1.55;
}
.pl-feed { margin-top: 12px; }
.pl-feed-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    padding: 24px 0;
    border-bottom: 1px solid var(--pl-rule);
}
.pl-feed-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e7e3dc;
}
.pl-feed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pl-feed-card h2 {
    margin: 6px 0 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 24px;
    line-height: 1.16;
    font-weight: 600;
    letter-spacing: -.02em;
}
.pl-feed-card p {
    max-width: 680px;
    margin: 8px 0 12px;
    color: var(--pl-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* Article */
.pl-article-header {
    max-width: 1024px;
    padding-top: 12px;
}
.pl-article-header > .pl-kicker {
    display: block;
    width: min(100%, 1024px);
    margin: 0 auto 12px;
}
.pl-article-header > h1,
.pl-article-header > .pl-article-dek,
.pl-article-header > .pl-article-meta {
    width: min(100%, 1024px);
    margin-left: auto;
    margin-right: auto;
}
.pl-article-header h1 {
    max-width: 1020px;
    margin: 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(37px, 4.25vw, 50px);
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: -.04em;
}
.pl-article-dek {
    max-width: 850px;
    margin: 14px 0 0;
    color: #44484d;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(18px, 1.8vw, 21px);
    line-height: 1.48;
}
.pl-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
    color: var(--pl-muted);
    font-size: 12.5px;
}
.pl-feature-figure {
    width: min(100%, 1024px);
    margin: 28px auto 0;
}
.pl-feature-figure img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.pl-feature-figure figcaption {
    max-width: 900px;
    margin: 7px auto 0;
    color: #85817a;
    font-size: 10.5px;
    line-height: 1.45;
}
.pl-content {
    width: min(calc(100% - 48px), var(--pl-reading));
    margin: 38px auto 0;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 18.5px;
    line-height: 1.68;
}
.pl-content > * { margin-top: 0; margin-bottom: 1.25em; }
.pl-content h2,
.pl-content h3,
.pl-content h4 {
    color: var(--pl-ink);
    font-family: "Source Serif 4", Georgia, serif;
    line-height: 1.16;
    letter-spacing: -.02em;
}
.pl-content h2 {
    margin-top: 2em;
    font-size: 30px;
    font-weight: 600;
}
.pl-content h3 {
    margin-top: 1.7em;
    font-size: 24px;
    font-weight: 600;
}
.pl-content a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.pl-content blockquote {
    margin-inline: 0;
    padding-left: 22px;
    border-left: 3px solid var(--pl-accent);
    color: #44484d;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 22px;
    line-height: 1.5;
}
.pl-content img { height: auto; }
.pl-content figcaption {
    color: #85817a;
    font-size: 10.5px;
    line-height: 1.45;
}

/* Ghost editor cards */
.pl-content .kg-width-wide {
    width: min(100vw - 48px, 1200px);
    margin-left: 50%;
    transform: translateX(-50%);
}
.pl-content .kg-width-full {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}
.pl-content .kg-callout-card {
    border-radius: 2px;
}

/* Saved HTML snippet styling: Key Numbers */
.pl-key-numbers {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 2px solid var(--pl-ink);
    border-bottom: 1px solid var(--pl-rule);
}
.pl-key-numbers-title {
    margin-bottom: 14px;
    color: var(--pl-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.pl-key-numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.pl-key-number strong {
    display: block;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 600;
}
.pl-key-number span {
    display: block;
    margin-top: 6px;
    color: var(--pl-muted);
    font-size: 12px;
    line-height: 1.4;
}

/* Sources */
.pl-content .pl-sources {
    margin-top: 42px;
    padding-top: 18px;
    border-top: 2px solid var(--pl-ink);
}
.pl-content .pl-sources h2 {
    margin-top: 0;
    font-size: 22px;
}
.pl-content .pl-sources ol,
.pl-content .pl-sources ul {
    padding-left: 20px;
    color: var(--pl-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* Article CTA + related */
.pl-article-end {
    width: min(calc(100% - 48px), var(--pl-reading));
    margin: 48px auto 0;
    padding: 28px;
    border-top: 3px solid var(--pl-accent);
    background: var(--pl-surface);
}
.pl-end-label {
    margin: 0;
    color: var(--pl-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.pl-article-end h2 {
    margin: 8px 0 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
}
.pl-article-end p { color: var(--pl-muted); }
.pl-related { margin-top: 64px; }
.pl-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pl-related-grid .pl-feed-card {
    display: block;
    padding: 0;
}
.pl-related-grid .pl-feed-image { margin-bottom: 14px; }
.pl-related-grid .pl-feed-card h2 { font-size: 20px; }
.pl-related-grid .pl-feed-card p { display: none; }

/* Pages / topics */
.pl-page,
.pl-topics-page {
    max-width: 900px;
}
.pl-page-header { margin-bottom: 36px; }
.pl-topic-group {
    padding: 26px 0;
    border-top: 1px solid var(--pl-rule);
}
.pl-topic-group h2 {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.pl-topic-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}
.pl-topic-links a {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 22px;
    font-weight: 500;
}
.pl-topics-note {
    margin-top: 20px;
    color: var(--pl-muted);
    font-size: 13px;
}

/* Footer */
.pl-footer {
    background: #f1f2f3;
    border-top: 0;
}
.pl-footer-main {
    padding: 46px 0 38px;
    display: grid;
    grid-template-columns: minmax(280px, 1.25fr) minmax(0, 2fr);
    gap: 78px;
    align-items: start;
}
.pl-footer-identity {
    max-width: 390px;
}
.pl-footer-brand {
    display: inline-block;
    color: var(--pl-brand);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.015em;
}
.pl-footer-identity p {
    margin: 12px 0 0;
    max-width: 330px;
    color: #4f555b;
    font-size: 14px;
    line-height: 1.55;
}
.pl-footer-nav {
    display: grid;
    grid-template-columns: minmax(110px, .7fr) minmax(140px, .85fr) minmax(300px, 1.7fr);
    gap: 48px;
}
.pl-footer-section h2 {
    margin: 0 0 14px;
    color: var(--pl-brand);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.005em;
    line-height: 1.2;
    text-transform: none;
}
.pl-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.pl-footer-business-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 10px;
}
.pl-footer-links a {
    color: #22272b;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    transition: color .15s ease;
}
.pl-footer-links a:hover {
    color: var(--pl-muted);
}
.pl-footer-utility {
    padding: 18px 0;
    border-top: 1px solid #d7dadd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.pl-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 24px;
}
.pl-footer-legal a {
    color: #353b40;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.3;
}
.pl-footer-legal a:hover {
    color: var(--pl-muted);
}
.pl-footer-social {
    display: flex;
    align-items: center;
    gap: 18px;
}
.pl-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #23282d;
    transition: color .15s ease, opacity .15s ease;
}
.pl-footer-social a:hover {
    color: var(--pl-muted);
}
.pl-footer-social svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pl-footer-bottom {
    padding: 12px 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #6c7176;
    font-size: 10.5px;
    line-height: 1.4;
}

/* Error */
.pl-error {
    min-height: 50vh;
    padding-top: 80px;
    text-align: center;
}
.pl-error h1 {
    margin: 8px auto;
    max-width: 720px;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 48px;
    font-weight: 600;
}
.pl-error p { color: var(--pl-muted); }

/* Ghost pagination */
.pagination {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--pl-muted);
    font-size: 12px;
}

@media (max-width: 980px) {
    .pl-header-top {
        min-height: 70px;
        grid-template-columns: 1fr auto;
    }
    .pl-search { display: none; }
    .pl-brand {
        align-items: flex-start;
        grid-column: 1;
    }
    .pl-brand img { height: 24px; max-width: 230px; }
    .pl-wordmark { font-size: 25px; }
    .pl-tagline { display: none; }
    .pl-subscribe-button { grid-column: 2; grid-row: 1; }
    .pl-nav-scroll { justify-content: flex-start; }
    .pl-nav-scroll .nav { gap: 24px; }

    .pl-home-lead { grid-template-columns: 1fr; }
    .pl-latest { margin-top: 6px; }
    .pl-analysis-grid { grid-template-columns: 1fr; }
    .pl-newsletter-inner { grid-template-columns: 1fr; }
    .pl-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .pl-shell { width: min(calc(100% - 26px), var(--pl-max)); }
    .pl-main { padding-top: 20px; }
    .pl-header-top { min-height: 64px; }
    .pl-brand img { height: 22px; max-width: 195px; }
    .pl-wordmark { font-size: 22px; }
    .pl-subscribe-button {
        min-height: 34px;
        padding-inline: 12px;
        font-size: 12px;
    }
    .pl-nav-scroll .nav { gap: 21px; }
    .pl-nav-scroll .nav a { font-size: 12px; }

    .pl-hero h1 { font-size: 36px; }
    .pl-hero-dek { font-size: 18px; }
    .pl-card {
        grid-template-columns: 126px minmax(0, 1fr);
        gap: 13px;
    }
    .pl-card h3 { font-size: 19px; }
    .pl-card p { display: none; }

    .pl-feed-card {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
    }
    .pl-feed-card h2 { font-size: 19px; }
    .pl-feed-card p { display: none; }

    .pl-article-header h1 { font-size: 36px; }
    .pl-content {
        width: min(calc(100% - 30px), var(--pl-reading));
        font-size: 18px;
        line-height: 1.68;
    }
    .pl-content h2 { font-size: 27px; }
    .pl-content h3 { font-size: 22px; }

    .pl-key-numbers-grid { grid-template-columns: 1fr; }
    .pl-article-end { width: min(calc(100% - 30px), var(--pl-reading)); }

    .pl-footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .pl-footer-nav {
        grid-template-columns: .7fr .9fr 1.6fr;
        gap: 34px;
    }
    .pl-footer-utility {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }
    .pl-footer-bottom { flex-direction: column; gap: 5px; }
}


/* Launch-state logic
   The site must look intentional with only 1–4 published stories.
   Modern browsers support :has(); it allows us to suppress empty modules
   without adding fragile template logic. */
.pl-latest:not(:has(.pl-latest-item)) {
    display: none;
}
.pl-home-lead:not(:has(.pl-latest-item)) {
    grid-template-columns: 1fr;
    max-width: 1120px;
}
.pl-home-lead:not(:has(.pl-latest-item)) .pl-hero-copy {
    max-width: 820px;
}
.pl-analysis:not(:has(.pl-card)) {
    display: none;
}

@media (max-width: 980px) {
    .pl-article-header > h1,
    .pl-article-header > .pl-article-dek,
    .pl-article-header > .pl-article-meta,
    .pl-article-header > .pl-kicker,
    .pl-feature-figure {
        width: 100%;
    }
}

/* Horizontal-overflow guard */
html,
body,
.pl-site {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}
.pl-site img,
.pl-site video,
.pl-site iframe,
.pl-site svg {
    max-width: 100%;
}
.pl-content pre,
.pl-content table {
    max-width: 100%;
    overflow-x: auto;
}

/* v0.1.6 — FOS-like mobile article geometry */
@media (max-width: 680px) {
    :root {
        --pl-reading: 100%;
    }

    .pl-shell {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        padding-inline: 18px;
    }

    /* Header: one stable row, no clipping */
    .pl-header-top {
        min-height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .pl-brand {
        display: flex;
        min-width: 0;
        max-width: calc(100% - 108px);
        align-items: flex-start;
        overflow: hidden;
    }

    .pl-wordmark {
        display: block;
        max-width: 100%;
        font-size: 21px;
        line-height: 1;
        font-weight: 600;
        letter-spacing: -.025em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
    }

    .pl-subscribe-button {
        flex: 0 0 auto;
        min-height: 34px;
        padding-inline: 11px;
        font-size: 12px;
    }

    .pl-nav-border {
        overflow: hidden;
    }

    .pl-nav-scroll {
        width: 100%;
        max-width: 100%;
        padding-inline: 18px;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .pl-nav-scroll .nav {
        width: max-content;
        min-width: max-content;
        gap: 22px;
    }

    /* Article: same column for title, meta, image and body */
    .pl-article-header {
        width: 100%;
        max-width: 100%;
        padding: 28px 18px 0;
        margin: 0;
    }

    .pl-article-header > .pl-kicker,
    .pl-article-header > h1,
    .pl-article-header > .pl-article-dek,
    .pl-article-header > .pl-article-meta,
    .pl-feature-figure {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .pl-article-header h1 {
        font-size: clamp(34px, 9.3vw, 40px);
        line-height: 1.03;
        letter-spacing: -.035em;
    }

    .pl-article-dek {
        font-size: 18px;
        line-height: 1.45;
    }

    .pl-article-meta {
        gap: 6px;
        font-size: 12px;
        line-height: 1.45;
    }

    .pl-feature-figure {
        margin-top: 24px;
    }

    .pl-feature-figure img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .pl-feature-figure figcaption {
        margin-left: 0;
        margin-right: 0;
    }

    .pl-content {
        width: 100%;
        max-width: 100%;
        margin: 34px 0 0;
        padding-inline: 18px;
        font-size: 18px;
        line-height: 1.64;
    }

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

    /* On phones, "wide" and "full" must never create horizontal scrolling */
    .pl-content .kg-width-wide,
    .pl-content .kg-width-full {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        transform: none;
    }

    .pl-content .kg-image-card img,
    .pl-content figure,
    .pl-content video,
    .pl-content iframe {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .pl-article-end {
        width: auto;
        max-width: none;
        margin: 42px 18px 0;
        padding: 24px 20px;
    }

    .pl-related {
        padding-inline: 18px;
    }

    .pl-footer-main,
    .pl-footer-utility,
    .pl-footer-bottom {
        padding-left: 18px;
        padding-right: 18px;
    }
    .pl-footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 28px 34px;
    }
    .pl-footer-business {
        grid-column: 1 / -1;
    }
    .pl-footer-business-links {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 560px) {
    .pl-footer-main {
        padding-top: 34px;
        padding-bottom: 30px;
    }
    .pl-footer-identity p {
        max-width: 300px;
    }
    .pl-footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 26px 28px;
    }
    .pl-footer-business {
        grid-column: 1 / -1;
    }
    .pl-footer-business-links {
        grid-template-columns: 1fr;
    }

    .pl-footer-utility {
        padding-top: 16px;
        padding-bottom: 16px;
    }
    .pl-footer-legal {
        gap: 9px 18px;
    }
    .pl-footer-social {
        gap: 14px;
    }
}


/* v0.1.7 — Typography system
   Headings: Source Serif 4
   Body/UI: Source Sans 3
   Data: IBM Plex Mono
*/
.pl-article-header h1,
.pl-hero h1,
.pl-card h3,
.pl-feed-card h2,
.pl-archive-header h1,
.pl-page-header h1,
.pl-content h2,
.pl-content h3,
.pl-content h4,
.pl-article-end h2,
.pl-topic-links a,
.pl-error h1 {
    font-family: "Source Serif 4", Georgia, serif;
}

body,
.pl-content,
.pl-nav-scroll .nav a,
.pl-meta,
.pl-article-meta,
.pl-kicker,
.pl-mini-kicker,
.pl-subscribe-button,
.pl-newsletter-button,
.pl-footer,
.pl-search {
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

/* Source Serif 4 benefits from slightly looser tracking than IBM Plex Serif */
.pl-article-header h1 {
    letter-spacing: -0.025em;
}
.pl-hero h1,
.pl-feed-card h2,
.pl-card h3,
.pl-content h2,
.pl-content h3 {
    letter-spacing: -0.015em;
}


/* v0.1.8 — Unified article image widths
   Standard images fill the article column.
   Wide cards may intentionally exceed it on desktop.
*/
.pl-content .kg-image-card:not(.kg-width-wide):not(.kg-width-full),
.pl-content .kg-image-card:not(.kg-width-wide):not(.kg-width-full) > a,
.pl-content .kg-image-card:not(.kg-width-wide):not(.kg-width-full) img,
.pl-content > figure:not(.kg-width-wide):not(.kg-width-full),
.pl-content > figure:not(.kg-width-wide):not(.kg-width-full) img {
    width: 100%;
    max-width: 100%;
}

.pl-content .kg-image-card:not(.kg-width-wide):not(.kg-width-full) img,
.pl-content > figure:not(.kg-width-wide):not(.kg-width-full) img {
    height: auto;
    object-fit: contain;
}

/* Keep captions aligned with the image edges */
.pl-content .kg-image-card figcaption,
.pl-content > figure figcaption {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Desktop wide image treatment remains deliberate, not accidental */
@media (min-width: 681px) {
    .pl-content .kg-width-wide {
        width: min(100vw - 48px, 1200px);
        max-width: 1200px;
        margin-left: 50%;
        transform: translateX(-50%);
    }
}

/* Mobile: every image mode collapses safely to the viewport */
@media (max-width: 680px) {
    .pl-content .kg-image-card,
    .pl-content .kg-width-wide,
    .pl-content .kg-width-full,
    .pl-content .kg-image-card img,
    .pl-content .kg-width-wide img,
    .pl-content .kg-width-full img {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        transform: none;
    }
}


/* =========================================================
   Pitch & Ledger v0.2 — Canonical Article System
   Research-informed geometry:
   - editorial lead / hero: 850px
   - prose / normal media: 850px
   - wide media: 850px
   - exceptional full media: 1100px
   - mobile gutter: 16px
   - article prose: Source Serif 4
   ========================================================= */

:root {
    --pl-page-max-v2: 1280px;
    --pl-lead-max: 850px;
    --pl-dek-max: 760px;
    --pl-body-max: 850px;
    --pl-wide-max: 850px;
    --pl-full-max: 1100px;
    --pl-mobile-gutter: 16px;
}

/* Lead: headline, dek/meta and feature image are related but not forced
   to the same internal text measure. */
.pl-article-header {
    width: min(calc(100% - 48px), var(--pl-lead-max));
    max-width: var(--pl-lead-max);
    margin-inline: auto;
    padding-top: 28px;
}

.pl-article-header > .pl-kicker,
.pl-article-header > h1,
.pl-article-header > .pl-article-dek,
.pl-article-header > .pl-article-meta,
.pl-feature-figure {
    margin-left: 0;
    margin-right: 0;
}

.pl-article-header > .pl-kicker,
.pl-article-header > h1,
.pl-feature-figure {
    width: 100%;
    max-width: var(--pl-lead-max);
}

.pl-article-header > .pl-article-dek,
.pl-article-header > .pl-article-meta {
    width: 100%;
    max-width: var(--pl-dek-max);
}

.pl-article-header h1 {
    margin: 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.pl-article-dek {
    margin-top: 16px;
    color: #44484d;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 400;
}

.pl-article-meta {
    margin-top: 18px;
    gap: 7px;
    color: var(--pl-muted);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 12.5px;
    line-height: 1.45;
}

.pl-feature-figure {
    margin-top: 28px;
}

.pl-feature-figure img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
}

.pl-feature-figure figcaption {
    width: 100%;
    max-width: 100%;
    margin: 7px 0 0;
    color: #85817a;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.4;
}

/* Reading layer */
.pl-content {
    width: min(calc(100% - 48px), var(--pl-body-max));
    max-width: var(--pl-body-max);
    margin: 38px auto 0;
    padding: 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 18.5px;
    line-height: 1.65;
    letter-spacing: -0.012em;
}

.pl-content > * {
    margin-top: 0;
    margin-bottom: 20px;
}

.pl-content p {
    margin-top: 0;
    margin-bottom: 20px;
}

.pl-content h2,
.pl-content h3,
.pl-content h4 {
    font-family: "Source Serif 4", Georgia, serif;
    color: var(--pl-ink);
}

.pl-content h2 {
    margin-top: 36px;
    margin-bottom: 14px;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pl-content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.015em;
}

/* Standard inline media stays body-bound and keeps its natural ratio. */
.pl-content .kg-image-card:not(.kg-width-wide):not(.kg-width-full),
.pl-content .kg-image-card:not(.kg-width-wide):not(.kg-width-full) > a,
.pl-content .kg-image-card:not(.kg-width-wide):not(.kg-width-full) img,
.pl-content > figure:not(.kg-width-wide):not(.kg-width-full),
.pl-content > figure:not(.kg-width-wide):not(.kg-width-full) img {
    width: 100%;
    max-width: 100%;
}

.pl-content .kg-image-card:not(.kg-width-wide):not(.kg-width-full) img,
.pl-content > figure:not(.kg-width-wide):not(.kg-width-full) img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

.pl-content figure,
.pl-content .kg-image-card {
    margin-top: 36px;
    margin-bottom: 36px;
}

.pl-content figcaption,
.pl-content .kg-image-card figcaption,
.pl-content > figure figcaption {
    width: 100%;
    max-width: 100%;
    margin: 7px 0 0;
    color: #85817a;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0;
}

/* Wide = same editorial layer as the lead/hero. */
.pl-content .kg-width-wide {
    width: min(calc(100vw - 48px), var(--pl-wide-max));
    max-width: var(--pl-wide-max);
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
}

/* Full = exceptional data board / immersive module, not ordinary photography. */
.pl-content .kg-width-full {
    width: min(calc(100vw - 48px), var(--pl-full-max));
    max-width: var(--pl-full-max);
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
}

.pl-content .kg-width-wide img,
.pl-content .kg-width-full img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Embedded editorial video follows the wide layer unless Ghost/editor markup
   explicitly gives it another width. */
.pl-content .kg-embed-card,
.pl-content .kg-video-card {
    width: min(calc(100vw - 48px), var(--pl-wide-max));
    max-width: var(--pl-wide-max);
    margin-left: 50%;
    transform: translateX(-50%);
}

.pl-content .kg-embed-card iframe,
.pl-content .kg-video-card video,
.pl-content iframe,
.pl-content video {
    max-width: 100%;
}

/* Utility blocks stay visually separate from the serif reading voice. */
.pl-key-numbers-title,
.pl-key-number span,
.pl-content .pl-sources,
.pl-content figcaption {
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0;
}

.pl-key-number strong {
    font-family: "IBM Plex Mono", Menlo, monospace;
}

.pl-article-end {
    width: min(calc(100% - 48px), var(--pl-body-max));
    max-width: var(--pl-body-max);
    margin: 48px auto 0;
}

/* Tablet: the desktop hierarchy collapses naturally as space tightens. */
@media (max-width: 900px) and (min-width: 681px) {
    .pl-article-header {
        width: calc(100% - 32px);
        max-width: var(--pl-lead-max);
    }

    .pl-content,
    .pl-article-end {
        width: min(calc(100% - 32px), var(--pl-body-max));
    }

    .pl-content .kg-width-wide,
    .pl-content .kg-width-full,
    .pl-content .kg-embed-card,
    .pl-content .kg-video-card {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
    }
}

/* Mobile: FOS-like single guttered column. */
@media (max-width: 680px) {
    .pl-article-header {
        width: auto;
        max-width: none;
        margin: 0 var(--pl-mobile-gutter);
        padding: 28px 0 0;
    }

    .pl-article-header > .pl-kicker,
    .pl-article-header > h1,
    .pl-article-header > .pl-article-dek,
    .pl-article-header > .pl-article-meta,
    .pl-feature-figure {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .pl-article-header h1 {
        font-size: 28px;
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    .pl-article-dek {
        margin-top: 14px;
        font-size: 18px;
        line-height: 1.42;
    }

    .pl-article-meta {
        margin-top: 16px;
        gap: 6px;
        font-size: 12px;
    }

    .pl-feature-figure {
        margin-top: 24px;
    }

    .pl-feature-figure img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .pl-content {
        width: auto;
        max-width: none;
        margin: 32px var(--pl-mobile-gutter) 0;
        padding: 0;
        font-family: "Source Serif 4", Georgia, serif;
        font-size: 17px;
        line-height: 1.65;
        letter-spacing: -0.01em;
    }

    .pl-content p {
        margin-bottom: 20px;
    }

    .pl-content h2 {
        margin-top: 34px;
        font-size: 27px;
        line-height: 1.16;
    }

    .pl-content h3 {
        margin-top: 30px;
        font-size: 22px;
        line-height: 1.18;
    }

    .pl-content figure,
    .pl-content .kg-image-card {
        margin-top: 32px;
        margin-bottom: 32px;
    }

    .pl-content .kg-image-card,
    .pl-content .kg-width-wide,
    .pl-content .kg-image-card img,
    .pl-content .kg-width-wide img,
    .pl-content .kg-embed-card,
    .pl-content .kg-video-card {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        transform: none;
    }

    /* Full is the only explicit edge-to-edge media mode. */
    .pl-content .kg-width-full {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: 0;
        transform: none;
    }

    .pl-content .kg-width-full img {
        width: 100%;
        max-width: 100%;
    }

    .pl-article-end {
        width: auto;
        max-width: none;
        margin: 42px var(--pl-mobile-gutter) 0;
    }
}


/* v0.2.1 — Align normal inline media with the 740px reading column.
   Browsers apply a default 40px horizontal margin to <figure>; reset it.
   Wide/full cards keep their deliberate positioning rules. */
.pl-content figure:not(.kg-width-wide):not(.kg-width-full),
.pl-content .kg-image-card:not(.kg-width-wide):not(.kg-width-full) {
    margin-left: 0;
    margin-right: 0;
}


/* ============================================================
   v0.2.2 — Article utility blocks
   Key Numbers / Sources / Newsletter CTA
   ============================================================ */

/* KEY NUMBERS
   Quiet data strip: no card chrome, no heavy brand color. */
.pl-key-numbers {
    margin: 34px 0 38px;
    padding: 15px 0 17px;
    border-top: 1.5px solid var(--pl-ink);
    border-bottom: 1px solid var(--pl-rule);
    background: transparent;
}

.pl-key-numbers-title {
    margin: 0 0 15px;
    color: var(--pl-muted);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.pl-key-numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.pl-key-number {
    min-width: 0;
    padding-right: 18px;
}

.pl-key-number + .pl-key-number {
    padding-left: 18px;
    border-left: 1px solid var(--pl-rule);
}

.pl-key-number strong {
    display: block;
    color: var(--pl-ink);
    font-family: "IBM Plex Mono", Menlo, monospace;
    font-size: 27px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.pl-key-number span {
    display: block;
    margin-top: 7px;
    color: var(--pl-muted);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0;
}


/* SOURCES
   Source names are the visible text; raw URLs should not be displayed. */
.pl-content .pl-sources {
    margin: 46px 0 0;
    padding: 18px 0 0;
    border-top: 1.5px solid var(--pl-ink);
    color: var(--pl-ink);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0;
}

.pl-content .pl-sources h2 {
    margin: 0 0 14px;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.pl-content .pl-sources ol,
.pl-content .pl-sources ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pl-content .pl-sources li {
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid var(--pl-rule);
    color: var(--pl-muted);
    font-size: 13px;
    line-height: 1.45;
}

.pl-content .pl-sources li:first-child {
    border-top: 0;
    padding-top: 0;
}

.pl-content .pl-sources a {
    color: var(--pl-ink);
    font-weight: 600;
    text-decoration: none;
}

.pl-content .pl-sources a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.pl-content .pl-source-note {
    display: block;
    margin-top: 2px;
    color: var(--pl-muted);
    font-size: 12px;
    font-weight: 400;
}


/* ARTICLE CTA
   Compact utility strip, not a second hero. */
.pl-article-end {
    width: min(calc(100% - 48px), var(--pl-body-max));
    max-width: var(--pl-body-max);
    margin: 44px auto 0;
    padding: 22px 0;
    border-top: 1px solid var(--pl-ink);
    border-bottom: 1px solid var(--pl-rule);
    background: transparent;
}

.pl-article-end-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.pl-article-end-copy {
    min-width: 0;
}

.pl-end-label {
    margin: 0 0 5px;
    color: var(--pl-muted);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pl-article-end h2 {
    margin: 0;
    color: var(--pl-ink);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: -0.018em;
}

.pl-article-end p {
    margin: 5px 0 0;
    color: var(--pl-muted);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.45;
}

.pl-article-end .pl-subscribe-button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 10px 15px;
    border: 1px solid var(--pl-ink);
    border-radius: 2px;
    background: var(--pl-ink);
    color: #fff;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.pl-article-end .pl-subscribe-button:hover {
    opacity: .88;
}


/* Utility blocks on mobile */
@media (max-width: 680px) {
    .pl-key-numbers {
        margin: 30px 0 34px;
        padding: 14px 0 15px;
    }

    .pl-key-numbers-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pl-key-number {
        padding: 11px 0;
    }

    .pl-key-number:first-child {
        padding-top: 0;
    }

    .pl-key-number:last-child {
        padding-bottom: 0;
    }

    .pl-key-number + .pl-key-number {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--pl-rule);
    }

    .pl-key-number strong {
        font-size: 25px;
    }

    .pl-content .pl-sources {
        margin-top: 40px;
    }

    .pl-article-end {
        width: auto;
        max-width: none;
        margin: 40px var(--pl-mobile-gutter) 0;
        padding: 20px 0;
    }

    .pl-article-end-inner {
        display: block;
    }

    .pl-article-end h2 {
        font-size: 21px;
    }

    .pl-article-end .pl-subscribe-button {
        display: inline-flex;
        margin-top: 15px;
    }
}


/* ============================================================
   v0.2.3 — CTA distinction restored
   Cool neutral surface; no amber; restrained editorial presence.
   ============================================================ */
.pl-article-end {
    width: min(calc(100% - 48px), var(--pl-body-max));
    max-width: var(--pl-body-max);
    margin: 46px auto 0;
    padding: 26px 28px;
    border: 1px solid #D9DEE3;
    background: #EEF1F3;
}

.pl-article-end-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.pl-article-end h2 {
    font-size: 22px;
    line-height: 1.18;
}

.pl-article-end p {
    color: #68707A;
}

.pl-article-end .pl-subscribe-button {
    background: #1F2328;
    border-color: #1F2328;
    color: #FFFFFF;
}

@media (max-width: 680px) {
    .pl-article-end {
        width: auto;
        max-width: none;
        margin: 42px var(--pl-mobile-gutter) 0;
        padding: 22px 20px;
    }

    .pl-article-end-inner {
        display: block;
    }
}

/* v0.2.5 — dynamic editorial navigation + More taxonomy menu */
.pl-nav-border {
    position: relative;
    overflow: visible;
}

.pl-nav-row {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.pl-nav-scroll {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    min-width: 0;
}

.pl-primary-list {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.pl-primary-list a,
.pl-more-toggle {
    position: relative;
    color: var(--pl-ink);
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
}

.pl-primary-list a:hover,
.pl-more-toggle:hover {
    color: var(--pl-muted);
}

.pl-more {
    position: static;
    flex: 0 0 auto;
}

.pl-more > summary {
    list-style: none;
}

.pl-more > summary::-webkit-details-marker {
    display: none;
}

.pl-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 45px;
    cursor: pointer;
    user-select: none;
}

.pl-more-toggle svg {
    width: 10px;
    height: 7px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform .16s ease;
}

.pl-more[open] .pl-more-toggle svg {
    transform: rotate(180deg);
}

.pl-more-panel {
    position: absolute;
    z-index: 80;
    left: 50%;
    top: 100%;
    width: min(calc(100% - 48px), 1120px);
    transform: translateX(-50%);
    padding: 30px 32px 34px;
    background: var(--pl-paper);
    border: 1px solid var(--pl-rule);
    border-top: 3px solid var(--pl-ink);
}

.pl-more-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 38px;
}

.pl-more-section:not(:has(.pl-more-link)) {
    display: none;
}

.pl-more-section h2 {
    margin: 0 0 16px;
    color: var(--pl-muted);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.pl-more-links {
    display: grid;
    gap: 11px;
}

.pl-more-link {
    width: fit-content;
    color: var(--pl-ink);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
}

.pl-more-link:hover {
    color: var(--pl-muted);
}

/* v0.2.7 — More menu links use the same typographic scale as primary navigation. */

.pl-more-explore {
    padding-left: 28px;
    border-left: 1px solid var(--pl-rule);
}

@media (max-width: 980px) {
    .pl-nav-row {
        justify-content: flex-start;
        gap: 22px;
    }

    .pl-primary-list {
        gap: 24px;
    }

    .pl-more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 36px;
    }

    .pl-more-explore {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 680px) {
    .pl-nav-row {
        width: 100%;
        max-width: 100%;
        padding-inline: 18px;
        gap: 18px;
    }

    .pl-nav-scroll {
        flex: 1 1 auto;
        width: auto;
        padding-inline: 0;
        overflow-x: auto;
        overflow-y: visible;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .pl-primary-list {
        width: max-content;
        min-width: max-content;
        gap: 22px;
    }

    .pl-primary-list a,
    .pl-more-toggle {
        font-size: 12px;
    }

    .pl-more-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 110px;
        width: auto;
        max-height: calc(100vh - 126px);
        transform: none;
        padding: 24px 22px 28px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .pl-more-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .pl-more-link {
        font-size: 12px;
    }
}


/* v0.2.8 — compact sticky header on scroll */
.pl-header {
    position: sticky;
    top: 0;
    z-index: 200;
    isolation: isolate;
    transition: box-shadow .18s ease;
}

.pl-header-top,
.pl-brand img,
.pl-wordmark,
.pl-tagline,
.pl-subscribe-button,
.pl-nav-row,
.pl-more-toggle,
.pl-search span {
    transition: min-height .18s ease, height .18s ease, max-width .18s ease,
                font-size .18s ease, margin .18s ease, padding .18s ease,
                opacity .14s ease, gap .18s ease;
}

.pl-header.is-compact {
    box-shadow: 0 1px 0 var(--pl-rule);
}

.pl-header.is-compact .pl-header-top {
    min-height: 50px;
}

.pl-header.is-compact .pl-brand img {
    height: 22px;
    max-width: 220px;
}

.pl-header.is-compact .pl-wordmark {
    font-size: 23px;
}

.pl-header.is-compact .pl-tagline {
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.pl-header.is-compact .pl-search {
    gap: 0;
}

.pl-header.is-compact .pl-search span {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
}

.pl-header.is-compact .pl-subscribe-button {
    min-height: 34px;
    padding-inline: 13px;
    font-size: 12px;
}

.pl-header.is-compact .pl-nav-row,
.pl-header.is-compact .pl-nav-scroll,
.pl-header.is-compact .pl-more-toggle {
    min-height: 39px;
}

@media (max-width: 980px) {
    .pl-header.is-compact .pl-header-top {
        min-height: 54px;
    }

    .pl-header.is-compact .pl-brand img {
        height: 21px;
        max-width: 205px;
    }

    .pl-header.is-compact .pl-wordmark {
        font-size: 22px;
    }
}

@media (max-width: 680px) {
    .pl-header.is-compact .pl-header-top {
        min-height: 50px;
    }

    .pl-header.is-compact .pl-brand img {
        height: 19px;
        max-width: 175px;
    }

    .pl-header.is-compact .pl-wordmark {
        font-size: 19px;
    }

    .pl-header.is-compact .pl-subscribe-button {
        min-height: 31px;
        padding-inline: 10px;
        font-size: 11px;
    }

    .pl-header.is-compact .pl-nav-row,
    .pl-header.is-compact .pl-nav-scroll,
    .pl-header.is-compact .pl-more-toggle {
        min-height: 38px;
    }

    .pl-header.is-compact .pl-more-panel {
        top: 94px;
        max-height: calc(100vh - 106px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pl-header,
    .pl-header-top,
    .pl-brand img,
    .pl-wordmark,
    .pl-tagline,
    .pl-subscribe-button,
    .pl-nav-row,
    .pl-more-toggle,
    .pl-search span {
        transition: none;
    }
}

/* =========================================================
   v0.2.15 — Newsletter conversion system
   FOS-inspired structure, Pitch & Ledger visual language.
   ========================================================= */

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

/* Homepage newsletter */
.pl-newsletter {
    margin-top: 58px;
    border-top: 2px solid var(--pl-accent);
    border-bottom: 0;
    background: #011127;
    color: #F5F7FA;
}

.pl-newsletter-inner {
    min-height: 250px;
    padding-block: 52px;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: clamp(54px, 7vw, 110px);
}

.pl-newsletter-copy {
    max-width: 560px;
}

.pl-newsletter-label {
    display: block;
    margin: 0 0 12px;
    color: rgba(245, 247, 250, .66);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.pl-newsletter h2 {
    max-width: 580px;
    margin: 0;
    color: #F5F7FA;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(34px, 3.2vw, 48px);
    line-height: 1.04;
    font-weight: 600;
    letter-spacing: -.03em;
}

.pl-newsletter p {
    max-width: 560px;
    margin: 14px 0 0;
    color: rgba(245, 247, 250, .72);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

/* Shared inline Ghost signup form */
.pl-signup-form {
    min-width: 0;
    color: inherit;
}

.pl-signup-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    border-bottom: 1px solid rgba(245, 247, 250, .58);
}

.pl-signup-input {
    min-width: 0;
    height: 52px;
    padding: 0 14px 0 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: #F5F7FA;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1;
}

.pl-signup-input::placeholder {
    color: rgba(245, 247, 250, .48);
    opacity: 1;
}

.pl-signup-input:focus {
    box-shadow: inset 0 -2px 0 #F5F7FA;
}

.pl-signup-button {
    min-width: 132px;
    height: 42px;
    align-self: center;
    padding: 0 18px;
    border: 1px solid rgba(245, 247, 250, .68);
    border-radius: 0;
    background: transparent;
    color: #F5F7FA;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.pl-signup-button:hover,
.pl-signup-button:focus-visible {
    border-color: #F5F7FA;
    background: #F5F7FA;
    color: #011127;
}

.pl-signup-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 7px 18px;
    color: rgba(245, 247, 250, .5);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.45;
}

.pl-signup-meta a {
    color: rgba(245, 247, 250, .82);
    font-weight: 650;
    text-decoration: none;
}

.pl-signup-meta a:hover {
    color: #F5F7FA;
}

.pl-signup-state {
    display: none;
    margin: 0;
    color: #F5F7FA;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.pl-signup-form.loading .pl-signup-default {
    opacity: .45;
    pointer-events: none;
}

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

.pl-signup-form.success .pl-signup-default {
    display: none;
}

.pl-signup-form.error .pl-signup-error {
    margin-top: 9px;
    color: #F5F7FA;
}

/* Article-end version: same product, smaller footprint */
.pl-article-end {
    width: min(calc(100% - 48px), var(--pl-body-max));
    max-width: var(--pl-body-max);
    margin: 48px auto 0;
    padding: 30px;
    border: 0;
    background: #011127;
    color: #F5F7FA;
}

.pl-article-end-inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
    align-items: center;
    gap: 34px;
}

.pl-article-end-copy {
    min-width: 0;
}

.pl-end-label {
    margin: 0 0 8px;
    color: rgba(245, 247, 250, .58);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pl-article-end h2 {
    margin: 0;
    color: #F5F7FA;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 24px;
    line-height: 1.14;
    font-weight: 600;
    letter-spacing: -.02em;
}

.pl-article-end p {
    margin: 8px 0 0;
    color: rgba(245, 247, 250, .68);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 12.5px;
    line-height: 1.45;
}

.pl-signup-form--article .pl-signup-row {
    border-bottom-color: rgba(245, 247, 250, .46);
}

.pl-signup-form--article .pl-signup-input {
    height: 46px;
    font-size: 14px;
}

.pl-signup-form--article .pl-signup-button {
    min-width: 116px;
    height: 36px;
    padding-inline: 14px;
    font-size: 11.5px;
}

.pl-signup-form--article .pl-signup-meta {
    margin-top: 8px;
    font-size: 10px;
}

@media (max-width: 900px) {
    .pl-signup-form--article .pl-signup-input {
        font-size: 16px;
    }

    .pl-newsletter-inner {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-block: 42px;
    }

    .pl-newsletter-copy {
        max-width: 680px;
    }

    .pl-article-end-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 680px) {
    .pl-newsletter {
        margin-top: 44px;
    }

    .pl-newsletter-inner {
        min-height: 0;
        padding-block: 34px 38px;
        gap: 28px;
    }

    .pl-newsletter h2 {
        font-size: clamp(30px, 9.5vw, 38px);
    }

    .pl-newsletter p {
        font-size: 14px;
    }

    .pl-signup-row {
        grid-template-columns: 1fr;
        border-bottom: 0;
        gap: 10px;
    }

    .pl-signup-input {
        height: 46px;
        padding: 0 12px;
        border: 1px solid rgba(245, 247, 250, .5);
    }

    .pl-signup-input:focus {
        border-color: #F5F7FA;
        box-shadow: none;
    }

    .pl-signup-button {
        width: 100%;
        height: 44px;
        background: #F5F7FA;
        color: #011127;
        border-color: #F5F7FA;
    }

    .pl-signup-meta {
        margin-top: 11px;
        flex-direction: column;
        align-items: flex-start;
    }

    .pl-article-end {
        width: min(calc(100% - 32px), var(--pl-body-max));
        margin-top: 38px;
        padding: 24px 20px;
    }

    .pl-article-end h2 {
        font-size: 22px;
    }

    .pl-signup-form--article .pl-signup-input {
        height: 44px;
        font-size: 16px;
    }

    .pl-signup-form--article .pl-signup-button {
        width: 100%;
        height: 42px;
    }
}

/* =========================================================
   v0.2.16 — Homepage newsletter refinement
   Contained editorial block; no amber rule; footer-scale brand.
   ========================================================= */
.pl-newsletter {
    width: min(calc(100% - 48px), var(--pl-max));
    margin: 58px auto 0;
    border-top: 0;
}

.pl-newsletter-inner {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 42px 46px;
}

.pl-newsletter-copy {
    max-width: 560px;
}

.pl-newsletter h2 {
    max-width: none;
    margin: 0;
    color: #F5F7FA;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.015em;
}

.pl-newsletter-promise {
    max-width: 560px;
    margin: 15px 0 0 !important;
    color: #F5F7FA !important;
    font-family: "Source Serif 4", Georgia, serif !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 600;
    letter-spacing: -.015em;
}

.pl-newsletter-description {
    max-width: 560px;
    margin: 8px 0 0 !important;
    color: rgba(245, 247, 250, .68) !important;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

@media (max-width: 900px) {
    .pl-newsletter {
        width: min(calc(100% - 36px), var(--pl-max));
    }

    .pl-newsletter-inner {
        padding: 36px 32px;
    }
}

@media (max-width: 680px) {
    .pl-newsletter {
        width: calc(100% - 36px);
        margin: 44px auto 0;
    }

    .pl-newsletter-inner {
        padding: 30px 22px 32px;
        gap: 26px;
    }

    .pl-newsletter h2 {
        font-size: 19px;
    }

    .pl-newsletter-promise {
        font-size: 20px !important;
    }

    .pl-newsletter-description {
        font-size: 13.5px !important;
    }
}

/* =========================================================
   v0.2.17 — Homepage editorial hierarchy
   Reduce repetition, improve discovery, add dynamic sport/video modules.
   ========================================================= */

.pl-latest-all {
    display: inline-flex;
    margin-top: 14px;
    color: var(--pl-muted);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.pl-latest-all:hover {
    color: var(--pl-ink);
}

.pl-home-sports,
.pl-home-video {
    margin-top: 58px;
}

.pl-home-sports-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--pl-rule);
    border-left: 1px solid var(--pl-rule);
}

.pl-home-sport-link {
    min-height: 92px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    border-right: 1px solid var(--pl-rule);
    border-bottom: 1px solid var(--pl-rule);
    background: var(--pl-bg);
    text-decoration: none;
    transition: background-color .16s ease;
}

.pl-home-sport-link:hover {
    background: var(--pl-surface);
}

.pl-home-sport-link > span {
    color: var(--pl-ink);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 21px;
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -.018em;
}

.pl-home-sport-link small {
    color: var(--pl-muted);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.2;
}

.pl-home-sports:not(:has(.pl-home-sport-link)),
.pl-home-video:not(:has(.pl-video-card)) {
    display: none;
}

.pl-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.pl-video-card {
    min-width: 0;
}

.pl-video-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e7e3dc;
    aspect-ratio: 16 / 9;
}

.pl-video-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-video-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 8px;
    background: #011127;
    color: #F5F7FA;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pl-video-copy {
    padding-top: 13px;
}

.pl-video-card h3 {
    margin: 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 22px;
    line-height: 1.16;
    font-weight: 600;
    letter-spacing: -.02em;
}

.pl-video-card p {
    margin: 8px 0 11px;
    color: var(--pl-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .pl-home-sports-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 680px) {
    .pl-analysis,
    .pl-home-sports,
    .pl-home-video {
        margin-top: 44px;
    }

    .pl-home-sports-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pl-home-sport-link {
        min-height: 82px;
        padding: 16px;
    }

    .pl-home-sport-link > span {
        font-size: 18px;
    }

    .pl-video-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pl-video-card h3 {
        font-size: 20px;
    }
}


/* =========================================================
   v0.2.18 — Homepage vertical sections
   Women’s Sports → College Sports → Newsletter → Video.
   Topic sections hide automatically until they contain posts.
   ========================================================= */

.pl-home-sports {
    display: none !important;
}

.pl-home-topic {
    margin-top: 58px;
}

.pl-home-topic:not(:has(.pl-home-topic-card)) {
    display: none;
}

.pl-home-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.pl-home-topic-card {
    min-width: 0;
}

.pl-home-topic-image {
    display: block;
    overflow: hidden;
    background: #e7e3dc;
    aspect-ratio: 16 / 9;
}

.pl-home-topic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-home-topic-copy {
    padding-top: 13px;
}

.pl-home-topic-card h3 {
    margin: 6px 0 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 22px;
    line-height: 1.16;
    font-weight: 600;
    letter-spacing: -.02em;
}

.pl-home-topic-card p {
    margin: 8px 0 11px;
    color: var(--pl-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

/* A single story becomes a calm editorial feature rather than a lonely card. */
.pl-home-topic-card:only-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: center;
}

.pl-home-topic-card:only-child .pl-home-topic-copy {
    padding-top: 0;
    max-width: 620px;
}

.pl-home-topic-card:only-child h3 {
    font-size: 29px;
    line-height: 1.12;
}

.pl-home-video {
    margin-top: 58px;
}

@media (max-width: 980px) {
    .pl-home-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pl-home-topic-card:only-child {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 26px;
    }
}

@media (max-width: 680px) {
    .pl-home-topic,
    .pl-home-video {
        margin-top: 44px;
    }

    .pl-home-topic-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pl-home-topic-card:only-child {
        display: block;
    }

    .pl-home-topic-card:only-child .pl-home-topic-copy {
        padding-top: 13px;
    }

    .pl-home-topic-card:only-child h3,
    .pl-home-topic-card h3 {
        font-size: 20px;
    }
}

/* =========================================================
   v0.2.19 — Homepage section bands
   Calm alternating editorial backgrounds for clearer section separation.
   ========================================================= */

.pl-home-band {
    width: 100%;
    margin-top: 0;
    padding-block: 56px;
}

.pl-home-band--white {
    background: #FFFFFF;
}

.pl-home-band--soft {
    background: #F5F7FA;
}

/* Keep the first editorial band comfortably separated from the lead module. */
.pl-home-band--analysis {
    margin-top: 56px;
}

/* Spacing belongs to the band, not to the inner content shell. */
.pl-home-band .pl-analysis,
.pl-home-band .pl-home-topic,
.pl-home-band .pl-home-video {
    margin-top: 0;
}

/* Empty dynamic sections disappear with their background band as well. */
.pl-home-band--topic:not(:has(.pl-home-topic-card)),
.pl-home-band--video:not(:has(.pl-video-card)) {
    display: none;
}

/* The newsletter remains the distinct navy conversion block. */
.pl-newsletter {
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 680px) {
    .pl-home-band {
        padding-block: 44px;
    }

    .pl-home-band--analysis {
        margin-top: 44px;
    }

    .pl-home-band .pl-analysis,
    .pl-home-band .pl-home-topic,
    .pl-home-band .pl-home-video {
        margin-top: 0;
    }
}


/* =========================================================
   v0.2.20 — Homepage band rhythm and visible alternation
   Reduce dead vertical space and ensure adjacent visible sections
   do not collapse into the same white surface when optional sections
   are empty.
   ========================================================= */

.home-template .pl-main {
    padding-bottom: 0;
}

.pl-home-band {
    padding-block: 30px;
}

.pl-home-band--soft {
    background: #EEF3F7;
}

.pl-home-band--analysis {
    margin-top: 28px;
}

/* Keep topic sections compact: the content, not empty padding,
   should determine their visual height. */
.pl-home-band .pl-section-heading {
    margin-bottom: 18px;
}

@media (max-width: 680px) {
    .pl-home-band {
        padding-block: 26px;
    }

    .pl-home-band--analysis {
        margin-top: 24px;
    }
}

/* =========================================================
   v0.2.21 — Contained homepage section backgrounds
   Keep editorial bands inside the same content bounds as the
   newsletter block instead of running full-bleed across the viewport.
   ========================================================= */

.home-template .pl-home-band {
    width: min(calc(100% - 48px), var(--pl-max));
    margin-inline: auto;
}

/* The outer band now provides the contained surface. Keep the inner
   shell at full band width and give it the same editorial inset logic
   as the newsletter block. */
.home-template .pl-home-band > .pl-shell {
    width: 100%;
    margin-inline: 0;
    padding-inline: 46px;
}

/* Preserve the compact rhythm introduced in v0.2.20. */
.home-template .pl-home-band + .pl-home-band {
    margin-top: 24px;
}

@media (max-width: 900px) {
    .home-template .pl-home-band {
        width: min(calc(100% - 36px), var(--pl-max));
    }

    .home-template .pl-home-band > .pl-shell {
        padding-inline: 32px;
    }
}

@media (max-width: 680px) {
    .home-template .pl-home-band {
        width: calc(100% - 36px);
    }

    .home-template .pl-home-band > .pl-shell {
        padding-inline: 22px;
    }

    .home-template .pl-home-band + .pl-home-band {
        margin-top: 18px;
    }
}


/* =========================================================
   v0.2.22 — Unified homepage module geometry
   Give Latest Analysis, topic sections, Video and Newsletter
   the exact same contained width and horizontal inset.
   ========================================================= */
:root {
    --pl-home-module-width: min(calc(100% - 48px), var(--pl-max));
    --pl-home-module-pad-x: 46px;
}

.home-template .pl-home-band,
.home-template .pl-newsletter {
    width: var(--pl-home-module-width);
    max-width: none;
    margin-inline: auto;
    box-sizing: border-box;
}

.home-template .pl-home-band > .pl-shell,
.home-template .pl-newsletter-inner {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-left: var(--pl-home-module-pad-x);
    padding-right: var(--pl-home-module-pad-x);
    box-sizing: border-box;
}

/* Ensure section rules and content grids use the same full inner measure. */
.home-template .pl-home-band .pl-section-heading,
.home-template .pl-home-band .pl-analysis-grid,
.home-template .pl-home-band .pl-home-topic-grid,
.home-template .pl-home-band .pl-video-grid {
    width: 100%;
    max-width: none;
}

@media (max-width: 900px) {
    :root {
        --pl-home-module-width: min(calc(100% - 36px), var(--pl-max));
        --pl-home-module-pad-x: 32px;
    }
}

@media (max-width: 680px) {
    :root {
        --pl-home-module-width: calc(100% - 36px);
        --pl-home-module-pad-x: 22px;
    }
}

/* =========================================================
   v0.2.23 — Homepage section scale + heading typography
   Match secondary editorial sections to the Latest Analysis module
   and use the newsletter/footer brand scale for section titles.
   ========================================================= */

/* One shared desktop module height keeps the homepage rhythm even.
   Content may grow only when genuinely necessary. */
:root {
    --pl-home-editorial-min-height: 356px;
}

.home-template .pl-home-band--analysis,
.home-template .pl-home-band--topic,
.home-template .pl-home-band--video {
    min-height: var(--pl-home-editorial-min-height);
    box-sizing: border-box;
}

/* Section titles now follow the exact typography scale used by
   "Pitch & Ledger" in the newsletter/footer brand treatment. */
.home-template .pl-home-band .pl-section-heading h2 {
    margin: 0;
    color: var(--pl-ink);
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.015em;
    text-transform: none;
}

/* Keep single-story sport modules within the same editorial height
   as Latest Analysis instead of allowing the image to dominate. */
@media (min-width: 981px) {
    .home-template .pl-home-topic-card:only-child {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 34px;
        align-items: center;
    }

    .home-template .pl-home-topic-card:only-child .pl-home-topic-image {
        height: 220px;
        aspect-ratio: auto;
    }

    .home-template .pl-home-topic-card:only-child .pl-home-topic-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 980px) {
    :root {
        --pl-home-editorial-min-height: 0px;
    }

    .home-template .pl-home-band--analysis,
    .home-template .pl-home-band--topic,
    .home-template .pl-home-band--video {
        min-height: 0;
    }

    .home-template .pl-home-band .pl-section-heading h2 {
        font-size: 18px;
    }
}

@media (max-width: 680px) {
    .home-template .pl-home-band .pl-section-heading h2 {
        font-size: 17px;
    }
}


/* =========================================================
   v0.2.24 — Match editorial section span to lead module
   The lead module already uses the full pl-shell measure.
   Remove the extra inner horizontal inset from secondary homepage
   editorial bands so their top rules, headings and content grids
   align to the exact same left/right edges as the lead module.
   ========================================================= */

.home-template .pl-home-band > .pl-shell {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 900px) {
    .home-template .pl-home-band > .pl-shell {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 680px) {
    .home-template .pl-home-band > .pl-shell {
        padding-left: 0;
        padding-right: 0;
    }
}


/* =========================================================
   v0.2.25 — Homepage section rule cleanup
   Put section rules at the top edge of contained bands and remove
   the redundant lower rule from Latest Analysis cards.
   ========================================================= */

/* The contained background should begin at the section rule, not above it. */
.home-template .pl-home-band {
    padding-top: 0;
}

/* Keep the existing compact bottom breathing room. */
.home-template .pl-home-band {
    padding-bottom: 30px;
}

/* Latest Analysis already has a strong section rule at the top; card rules
   at the bottom read as a second section divider, so remove them here only. */
.home-template .pl-home-band--analysis .pl-card {
    border-bottom: 0;
}

@media (max-width: 680px) {
    .home-template .pl-home-band {
        padding-top: 0;
        padding-bottom: 26px;
    }
}


/* =========================================================
   v0.2.26 — Clear contained homepage modules
   Keep every homepage section on the exact same outer measure and add
   a very small neutral gap between modules so adjacent surfaces never
   visually merge into one another.
   ========================================================= */

:root {
    --pl-home-module-gap: 12px;
}

/* One exact outer width for every contained homepage module. */
.home-template .pl-home-band,
.home-template .pl-newsletter {
    width: var(--pl-home-module-width) !important;
    max-width: var(--pl-home-module-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
    background-clip: padding-box;
}

/* Latest Analysis keeps its deliberate separation from the lead. */
.home-template .pl-home-band--analysis {
    margin-top: 28px !important;
}

/* Every module after Latest Analysis receives the same small gap.
   Hidden dynamic modules use display:none, so they do not create space. */
.home-template .pl-home-band--topic,
.home-template .pl-newsletter,
.home-template .pl-home-band--video {
    margin-top: var(--pl-home-module-gap) !important;
}

/* Remove legacy adjacent-band spacing so there is only one gap system. */
.home-template .pl-home-band + .pl-home-band {
    margin-top: var(--pl-home-module-gap) !important;
}

@media (max-width: 900px) {
    :root {
        --pl-home-module-gap: 10px;
    }
}

@media (max-width: 680px) {
    :root {
        --pl-home-module-gap: 8px;
    }

    .home-template .pl-home-band--analysis {
        margin-top: 24px !important;
    }
}


/* =========================================================
   v0.2.27 — Footer separation on homepage
   Give the footer the same small visual gap used between homepage modules.
   ========================================================= */
.home-template .pl-footer {
    margin-top: var(--pl-home-module-gap);
}

/* =========================================================
   v0.2.28 — Article share row
   Quiet, utility-first sharing after the newsletter block.
   ========================================================= */
.pl-share {
    width: min(calc(100% - 48px), var(--pl-body-max));
    max-width: var(--pl-body-max);
    margin: 12px auto 0;
    padding: 16px 0 17px;
    border-bottom: 1px solid #D9DEE3;
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--pl-ink);
}

.pl-share-label {
    flex: 0 0 auto;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pl-share-links {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
}

.pl-share-link {
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pl-ink);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.pl-share-link:hover,
.pl-share-link:focus-visible {
    color: var(--pl-muted);
}

.pl-share-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.pl-share-link svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: currentColor;
}

.pl-share-copy.is-copied {
    color: var(--pl-muted);
}

@media (max-width: 680px) {
    .pl-share {
        width: min(calc(100% - 32px), var(--pl-body-max));
        margin-top: 8px;
        padding: 15px 0 16px;
        align-items: flex-start;
        gap: 13px;
    }

    .pl-share-label {
        padding-top: 2px;
        font-size: 11px;
    }

    .pl-share-links {
        gap: 11px 18px;
    }

    .pl-share-link {
        font-size: 12px;
    }

    .pl-share-link svg {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }
}


/* v0.2.29 — launch QA refinements
   Keep iOS/mobile signup fields at 16px to prevent Safari focus zoom,
   and hide Business Sectors until a sector has at least 3 published posts. */
.pl-more-section--sectors:not(:has(.pl-more-link)) {
    display: none;
}


/* =========================================================
   v0.2.30 — Unified article reading geometry
   Align prose, article newsletter CTA and share row with the
   850px editorial image/lead measure on desktop. Mobile gutters
   remain unchanged through the existing responsive rules.
   ========================================================= */
:root {
    --pl-body-max: 850px;
}


/* ================================================================
   v0.2.32 — Pre-launch technical hardening
   - Institutional email addresses become real mailto links.
   - Empty More groups stay hidden even when dynamic sector thresholds
     produce no visible links.
   ================================================================ */
.pl-email-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.pl-email-link:hover {
    color: var(--pl-muted);
}

.pl-more-section:not(:has(.pl-more-link)) {
    display: none;
}
