:root {
    --red: #b00000;
    --text: #111111;
    --muted: #5e5e5e;
    --line: #c8c8c8;
    --line-strong: #222222;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.page-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 12px 20px;
}

.utility-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0 8px;
    color: var(--muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
}

.utility-bar a {
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
}

.masthead {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0 10px;
    border-bottom: 3px solid var(--line-strong);
}

.masthead-copy {
    text-align: center;
}

.tagline,
.eyebrow,
.label,
.section-heading p {
    margin: 0;
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.masthead-title {
    display: inline-block;
    margin: 6px 0 4px;
    text-decoration: none;
}

.masthead-title img {
    display: block;
    width: min(460px, 82vw);
    height: auto;
}

.intro-line {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.content {
    display: grid;
    gap: 10px;
    padding-top: 8px;
}

.promo-strip,
.promo-banner,
.newsletter-box {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}

.promo-strip,
.promo-banner {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: center;
}

.promo-label {
    display: inline-block;
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.promo-copy a,
.affiliate-card a {
    color: var(--text);
    font-family: "Avenir Next", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.promo-copy p,
.affiliate-card p,
.newsletter-box p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: center;
    justify-items: center;
    padding: 12px 0 12px;
    border-bottom: 1px solid var(--line-strong);
}

.hero-copy {
    text-align: center;
    max-width: 760px;
}

.hero h1 {
    margin: 4px 0 6px;
    font-family: "Avenir Next", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
    font-size: var(--hero-headline-size, 46px);
    line-height: 0.98;
    text-transform: uppercase;
}

.hero-title-link {
    text-decoration: none;
}

.hero-title-link:hover,
.headline-link:hover,
.promo-copy a:hover,
.affiliate-card a:hover,
.sponsored-links a:hover {
    color: var(--red);
    text-decoration: underline;
}

.story-meta {
    color: var(--red);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-context {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.front-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.sponsored-row {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.sponsored-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 4px;
}

.sponsored-links a {
    display: grid;
    gap: 2px;
    color: var(--text);
    font-family: "Avenir Next", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
}

.sponsored-links small {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.story-column {
    min-width: 0;
    padding-right: 12px;
    border-right: 1px solid var(--line);
}

.story-column:last-child {
    border-right: 0;
    padding-right: 0;
}

.section-heading {
    margin-bottom: 8px;
}

.section-heading h2 {
    margin: 2px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    line-height: 1.05;
}

.link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.link-list li {
    padding: 7px 0;
    border-top: 1px dotted var(--line);
}

.link-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.headline-link {
    color: var(--text);
    font-family: "Avenir Next", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
    font-size: var(--headline-size, 18px);
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
}

.story-thumb-link {
    display: block;
    margin: 0 0 6px;
}

.story-thumb {
    display: block;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    border: 1px solid var(--line);
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 4px 0;
}

.affiliate-card {
    border: 1px solid var(--line);
    padding: 12px;
}

.affiliate-card h2,
.newsletter-box h2 {
    margin: 6px 0 0;
    font-family: "Avenir Next", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.08rem;
    line-height: 1.15;
}

.newsletter-box {
    display: grid;
    gap: 10px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1 1 260px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    font: inherit;
}

.newsletter-form button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    background: var(--text);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.newsletter-message {
    margin-top: 6px;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 700;
}

.newsletter-disclaimer {
    font-size: 0.76rem;
}

.source-strip {
    padding-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.source-strip p {
    margin: 3px 0 0;
}

.site-footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.74rem;
    text-align: center;
}

.site-footer p {
    margin: 3px 0;
}

@media (max-width: 980px) {
    .front-grid {
        grid-template-columns: 1fr 1fr;
    }

    .affiliate-grid {
        grid-template-columns: 1fr;
    }

    .story-column:nth-child(2) {
        border-right: 0;
        padding-right: 0;
    }

    .story-column:nth-child(3) {
        grid-column: 1 / -1;
        border-top: 1px solid var(--line);
        padding-top: 8px;
        padding-right: 0;
        border-right: 0;
    }
}

@media (max-width: 760px) {
    .utility-bar,
    .masthead,
    .hero,
    .front-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .promo-strip,
    .promo-banner {
        grid-template-columns: 1fr;
    }

    .utility-bar {
        text-align: center;
    }

    .masthead {
        justify-items: center;
    }

    .hero {
        gap: 6px;
    }

    .hero h1 {
        font-size: var(--hero-headline-mobile-size, 32px);
    }

    .story-column {
        border-right: 0;
        padding-right: 0;
        border-bottom: 1px solid var(--line);
        padding-bottom: 8px;
        padding-top: 0;
    }

    .story-column:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
}
