﻿/* ===== DRUDGE-STYLE FRAME ===== */
:root {
    --page-width: 1580px; /* classic narrow page */
    --gutter: 18px;
    --font-serif: "Times New Roman", Times, serif;
    --font-sans: Arial, Helvetica, sans-serif;
    --link: #000000; /* blue */
    --visited: #0299fe; /* purple */
    --hover: #6001D3; /* red */
    --text: #000;
    --muted: #444;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 12px/1.25 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
:root {
    --text: #202020;
    --muted: #536471;
    --border: #dddddd;
    --accent: #1d9bf0;
    --gap: 24px;
}

.drudge-container {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 12px var(--gutter);
}

/* Masthead */
.drudge-masthead {
    text-align: center;
    margin: 10px 0 18px 0;
}

    .drudge-masthead .brand {
        font-size: 54px;
        letter-spacing: -0.050em;
        font-weight: 900;
        text-transform: none;
        text-decoration: none;
    }

.drudge-date {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

/* Big “screamer” */
.drudge-screamer {
    text-align: center;
    margin: 18px 0 22px 0;
}

    .drudge-screamer .hed {
        font-size: 36px;
        line-height: 1.05;
        text-transform: uppercase;
        font-weight: 800;
    }

        .drudge-screamer .hed a {
            color: var(--text);
            text-decoration: underline;
        }

    .drudge-screamer img {
        display: block;
        margin: 10px auto 12px auto;
        width: 100%;
        max-height: 70svh;
        border: 0px solid #ddd;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        aspect-ratio: 3/2;
        object-fit: cover
    }

/* Three columns */
.drudge-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* left=1, center=2, right=1 */
    gap: 18px;
}

/* Center column with borders */
.drudge-center {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 20px 20px;
}

/* Old-school link stacks */
.stack {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .stack li {
        margin: 10px 0;
        line-height: 1.15;
    }

    .stack a {
        color: var(--link);
        text-decoration: none;
        font-size: 14px;
    }

        .stack a:visited {
            color: var(--visited);
        }

        .stack a:hover {
            color: var(--hover);
        }

/* Section labels (optional) */
.section {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 16px 0 16px 0;
}

/* Utility */
.caps {
    text-transform: uppercase;
    letter-spacing: var(--caps-spacing);
    font-weight: 800;
    text-decoration: none;
    color: var(--link);
}

    .caps:hover {
        text-decoration: underline;
    }

.small {
    font-size: 14px;
}

.rule {
    border-top: 1px solid #ddd;
    margin: 28px 0 14px 0;
}

/* Responsive collapse: 2 cols → 1 col */
@media (max-width: 1024px) {
    .drudge-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .drudge-grid {
        grid-template-columns: 1fr;
    }

    .drudge-masthead .brand {
        font-size: 40px;
    }

    .drudge-screamer .hed {
        font-size: 28px;
    }
}
@media (max-width: 1024px) {
    .drudge-grid {
        grid-template-columns: 1fr 1fr;
    }

    .drudge-center {
        grid-column: span 2; /* center stretches full width */
        border-left: none;
        border-right: none;
        padding: 0;
    }
}

/* Mobile: 1 col stack, no borders */
@media (max-width: 640px) {
    .drudge-grid {
        grid-template-columns: 1fr;
    }

    .drudge-center {
        grid-column: span 1;
        border-left: none;
        border-right: none;
        padding: 0 10px;
    }
}

/* --- center column look (Yahoo-style) --- */
.drudge-center {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 0 14px;
}

/* hero card */
.hero-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
    margin-bottom: 18px;
    background: #fff;
}

    .hero-card img {
        display: block;
        width: 100%;
        height: 360px;
        object-fit: cover;
    }

.hero-badges {
    position: absolute;
    left: 14px;
    top: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.badge {
    font: 600 12px/1.2 system-ui, -apple-system, Arial, Helvetica, sans-serif;
    color: #fff;
    background: rgba(0,0,0,.6);
    padding: 6px 10px;
    border-radius: 999px;
    backdrop-filter: saturate(120%) blur(2px);
}

.hero-title {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
    font-family: system-ui, -apple-system, Arial, Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: -.015em;
    font-size: 32px;
    line-height: 1.08;
}

/* 3-up row below hero */
.center-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.news-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .news-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,.12);
    }

    .news-card img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        display: block;
    }

.news-card-body {
    padding: 12px 14px 14px 14px;
}

.news-card-title {
    font: 700 18px/1.25 system-ui, -apple-system, Arial, Helvetica, sans-serif;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #70757a;
    font: 500 12px/1 system-ui, -apple-system, Arial, Helvetica, sans-serif;
}

/* responsive + keep your earlier center borders rule */
@media (max-width: 1100px) {
    .hero-card img {
        height: 300px;
    }
}

@media (max-width: 1024px) {
    .drudge-center {
        grid-column: span 2;
        border-left: none;
        border-right: none;
        padding: 0;
    }

    .center-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-card img {
        height: 240px;
    }

    .center-cards {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 24px;
    }
    .stack li img {
        max-width: 150px;
        max-height: 140px;
        object-fit: cover;
        aspect-ratio: 4 /3;
    }
}
.stack {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .stack li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin: 12px 0;
        border-bottom: 0px solid #eee;
        padding-bottom: 12px;
    }

        .stack li img {
           /*   width: 100%;adjust size */
            height: 100px;
            object-fit: cover;
            border-radius: 4px;
            flex-shrink: 0;
            aspect-ratio: 16 /9;
        }

        .stack li .title {
            font-size: 16px;
            font-weight: 600;
            line-height: 1.3;
            color: #111;
            text-decoration: none;
        }

            .stack li .title:hover {
                color: #c00;
                text-decoration: underline;
            }
/* Media list (center column) */
.media .card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    align-items: start;
    margin: 15px 0;
}

    .media .card .thumb img {
        width: 120px;
        height: 80px;
        object-fit: cover;
        border: 1px solid var(--rule);
        display: block;
    }

    .media .card .title {
        font-weight: 700;
        text-decoration: none;
        color: var(--link);
    }

        .media .card .title:hover {
            text-decoration: underline;
        }
@media (max-width: 980px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .media .card {
        grid-template-columns: 100px 1fr;
        margin: 30px 0;
    }

    .screamer-img img {
        max-height: 50vh;
    }

    .brand {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .media .card {
        grid-template-columns: 1fr;
    }

        .media .card .thumb img {
            width: 100%;
            height: 300px;
        }

    .hed {
        font-size: 22px;
    }
}

/* Utilities for the new sections */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 16px
}

.headline {
    line-height: 1.2;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 200;
    letter-spacing: -0.075rem;
    margin: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 26px 0;
    text-align: left;
}

    .headline strong {
        font-weight: 800;
        letter-spacing: -0.095rem;
    }
    .headline a {
        font-weight: 200;
        letter-spacing: -0.095rem;
        font-size:1.0rem;
        text-decoration:none;
    }
    .headline a:hover {
       
        text-decoration: underline;
    }
.img-card {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    margin: 10px 0
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px
}

.card {
    text-decoration: none;
    color: inherit;
    display: block; 
    text-align:left;
}

    .card h4 {
        margin: 0 0 6px;
        font-size: 1.25rem;
        font-weight: 800;
        letter-spacing: -.02em
    }

    .card p {
        margin: 6px 0 0;
        font-size: 14px;
        line-height: 1.45
    }

@media(max-width:1024px) {
    .grid-3 {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:640px) {
    .grid-3 {
        grid-template-columns: 1fr
    }

    .headline {
        font-size: 1.5rem
    }
}


