/* The Wake — Briefing Pages */

/* Nav Bar */
.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #1a1a2e;
    margin-bottom: 8px;
}

.nav-logo {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
}

.nav-logo:hover { color: #8b93a8; }

.nav-links { display: flex; gap: 24px; }

.nav-links a {
    font-size: 14px;
    color: #8b93a8;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover { color: #ffffff; }

/* Briefing Article */
.briefing { padding: 24px 0 32px; }

.briefing-header {
    text-align: center;
    padding: 32px 0 24px;
}

.briefing-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 8px;
}

.briefing-date {
    font-size: 14px;
    color: #8b93a8;
    letter-spacing: 1px;
}

/* Dark-theme overrides for inline-styled briefing content */

/* The container wrapper from Claude */
.briefing-content > div[style*="max-width"] {
    max-width: none !important;
    padding: 0 !important;
}

/* Story cards: light bg → dark */
.briefing-content div[style*="background:#fafafa"] {
    background: #12121f !important;
}

/* The Lead highlight box */
.briefing-content div[style*="background:#f0f4ff"] {
    background: #0f1a2e !important;
}

/* Main body text */
.briefing-content p[style*="color:#2d2d2d"] {
    color: #d0d0d0 !important;
}

/* Muted text ("why it matters", "framing") */
.briefing-content p[style*="color:#666"] {
    color: #8b93a8 !important;
}

.briefing-content p[style*="color:#555"] {
    color: #999 !important;
}

.briefing-content p[style*="color:#444"] {
    color: #b0b0b0 !important;
}

/* Heading strong text */
.briefing-content strong[style*="color:#1a1a2e"] {
    color: #ffffff !important;
}

/* Section headers (h2) */
.briefing-content h2[style*="color:#1a1a2e"] {
    color: #ffffff !important;
    border-bottom-color: #2a2a3e !important;
}

/* Sub-headers (h3) */
.briefing-content h3[style*="color:#1a1a2e"] {
    color: #ffffff !important;
}

/* The Wake header box — already dark, keep it */

/* Borders and dividers */
.briefing-content hr[style*="border-top"] {
    border-top-color: #1a1a2e !important;
}

.briefing-content div[style*="border-bottom:2px solid #e0e0e0"] {
    border-bottom-color: #2a2a3e !important;
}

/* Story card left borders → accent blue */
.briefing-content div[style*="border-left:3px solid #d0d5dd"] {
    border-left-color: #3366cc !important;
}

/* Watchlist items (red borders) keep their color */

/* Tag badges */
.briefing-content span[style*="background:#e8f4fd"] {
    background: #0f1a2e !important;
    color: #6ca6e0 !important;
}

.briefing-content span[style*="background:#fce4e4"] {
    background: #2e0f0f !important;
    color: #e08b8b !important;
}

.briefing-content span[style*="background:#e8fce4"] {
    background: #0f2e10 !important;
    color: #8be08b !important;
}

/* The Clearing section */
.briefing-content div[style*="background:#f8f9ff"] {
    background: #0f1428 !important;
}

/* Notably Absent text */
.briefing-content p[style*="font-size:13px"] {
    color: #999 !important;
}

/* Links within briefing content */
.briefing-content a {
    color: #6ca6e0;
}

/* Prev/Next Navigation */
.briefing-nav {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid #1a1a2e;
    margin-top: 32px;
}

.briefing-nav a {
    color: #3366cc;
    text-decoration: none;
    font-size: 14px;
}

.briefing-nav a:hover {
    color: #6ca6e0;
    text-decoration: underline;
}

/* Briefings Index */
.briefings-list { padding: 16px 0 32px; }

.briefings-list h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    color: #ffffff;
    text-align: center;
    margin: 32px 0;
}

.briefing-entry {
    display: block;
    padding: 20px;
    margin: 12px 0;
    background: #12121f;
    border-radius: 8px;
    border-left: 3px solid #3366cc;
    text-decoration: none;
    transition: background 0.2s;
}

.briefing-entry:hover {
    background: #1a1a2e;
}

.briefing-entry-date {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 6px;
}

.briefing-entry-preview {
    font-size: 14px;
    color: #8b93a8;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 600px) {
    .site-nav { padding: 12px 0; }
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 13px; }
    .briefing-title { font-size: 22px; }
    .briefing-nav { flex-direction: column; gap: 12px; text-align: center; }
}
