/* political.day -- Daily Political Brief
   Palette: #ffffff #1a1a1a #cc0000 #f5f5f5 #666666 #e8e8e8 #0055cc #333333
   Typography: Merriweather (display), Open Sans (body & metadata)
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    background: #ffffff;
    color: #333333;
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
}

a {
    color: #0055cc;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 85, 204, 0.25);
    transition: border-color 160ms ease, color 160ms ease;
}

a:hover {
    color: #003e99;
    border-bottom-color: #0055cc;
}

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3 {
    margin: 0;
    color: #1a1a1a;
    font-family: "Merriweather", Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.25;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---------- Layout container ---------- */
.brief {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* ---------- Hero ---------- */
.hero {
    text-align: center;
    padding: 80px 0 64px;
    border-bottom: 1px solid #e8e8e8;
}

.hero__masthead {
    margin: 0 0 28px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #666666;
}

.hero__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: "Merriweather", Georgia, serif;
    color: #1a1a1a;
}

.hero__weekday {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #666666;
    font-family: "Open Sans", sans-serif;
}

.hero__numerals {
    font-size: clamp(2.25rem, 6vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.accent-line {
    display: block;
    width: 80px;
    height: 2px;
    background: #cc0000;
    margin: 18px auto 22px;
}

.accent-line--small {
    width: 48px;
    height: 2px;
    margin: 12px 0 24px;
}

.hero__subtitle {
    margin: 0 0 12px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    color: #1a1a1a;
}

.hero__edition {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #666666;
}

/* ---------- Time blocks ---------- */
.time-block {
    padding: 60px 0 8px;
    border-bottom: 1px solid #e8e8e8;
}

.time-block__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.time-block__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #666666;
}

.time-block__hint {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #666666;
}

.time-block__heading {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.time-block__lede {
    margin: 14px 0 28px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1a1a1a;
}

/* ---------- Headlines ---------- */
.headlines {
    margin-top: 8px;
}

.headline {
    border-bottom: 1px solid #e8e8e8;
    padding: 16px 0;
    transition: background-color 200ms ease;
}

.headline:last-child {
    border-bottom: none;
}

.headline:hover {
    background-color: rgba(245, 245, 245, 0.55);
}

.headline__title {
    position: relative;
    margin: 0 0 6px;
    padding-left: 18px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
}

.headline__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cc0000;
}

.headline__summary {
    margin: 0 0 10px;
    padding-left: 18px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #333333;
}

.headline__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 18px;
}

.source-tag {
    display: inline-block;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666666;
    background: #ffffff;
}

.headline__time {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666666;
}

/* ---------- Overnight summary ---------- */
.overnight {
    margin: 60px -20px 0;
    padding: 48px 28px 40px;
    background: #f5f5f5;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.overnight__header {
    margin-bottom: 8px;
}

.overnight__label {
    margin: 0 0 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #666666;
}

.overnight__heading {
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.overnight__list {
    margin-top: 8px;
}

.overnight__item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e8e8e8;
}

.overnight__item:last-child {
    border-bottom: none;
}

.overnight__time {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666666;
    padding-top: 0.25rem;
}

.overnight__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
}

/* ---------- Footer ---------- */
.brief-footer {
    margin-top: 48px;
    text-align: center;
}

.brief-footer__line {
    margin: 0 0 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #666666;
}

.brief-footer__meta {
    color: #1a1a1a;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    font-size: 0.85rem;
    font-family: "Merriweather", Georgia, serif;
    font-style: italic;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .brief {
        padding: 24px 18px 64px;
    }

    .hero {
        padding: 56px 0 48px;
    }

    .time-block {
        padding: 44px 0 4px;
    }

    .time-block__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .overnight {
        margin: 44px -18px 0;
        padding: 36px 22px 32px;
    }

    .overnight__item {
        grid-template-columns: 64px 1fr;
        gap: 12px;
    }
}
