:root {
    --brand-navy: #1a365d;
    --brand-red: #dc2626;
    --brand-gray: #f8f9fa;
}

/* FIX VOOR HORIZONTALE SCROLL & WITTE BALK OP MOBIEL */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #212529;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
.font-serif { font-family: 'Merriweather', serif; }
.text-navy { color: var(--brand-navy) !important; }
.text-red { color: var(--brand-red) !important; }
.bg-navy { background-color: var(--brand-navy) !important; }
.bg-red { background-color: var(--brand-red) !important; }

.fw-black { font-weight: 900; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

/* Helpers */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* STREAMING_CHUNK: Styling header, topbar, and navbar... -->
/* Top Bar */
.top-bar {
    background-color: #111;
    font-size: 0.8rem;
    width: 100%; /* Force full width */
}
.top-bar a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s;
}
.top-bar a:hover {
    color: #fff;
}

/* Header & Logo */
.header-logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -1px;
    color: var(--brand-navy);
    text-decoration: none;
}
.header-logo-text .dot {
    color: var(--brand-red);
}

/* Navbar */
.main-navbar {
    border-top: 1px solid #eaeaea;
    border-bottom: 2px solid var(--brand-navy);
    background-color: #fff;
    width: 100%;
}
.main-navbar .nav-link {
    color: var(--brand-navy);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 1rem 1.5rem !important;
    transition: color 0.2s;
}
.main-navbar .nav-link:hover {
    color: var(--brand-red);
}
.subscribe-btn {
    background-color: var(--brand-navy);
    color: #fff;
    font-weight: 600;
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    transition: background-color 0.2s;
}
.subscribe-btn:hover {
    background-color: #0d1e36;
    color: #fff;
}

/* STREAMING_CHUNK: Styling breaking news ticker and article cards... -->
/* Ticker */
.ticker-wrap {
    background-color: var(--brand-red);
    color: white;
    overflow: hidden; /* Crucial for preventing scroll */
    display: flex;
    align-items: center;
    height: 40px;
    width: 100%; /* Force full width edge-to-edge */
    position: relative;
}
.ticker-label {
    background-color: #991b1b;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 2;
    position: relative;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}
.ticker-content {
    white-space: nowrap;
    animation: ticker 25s linear infinite;
    font-size: 0.9rem;
    font-weight: 500;
    padding-left: 100%; /* Start off-screen */
}
.ticker-wrap:hover .ticker-content {
    animation-play-state: paused;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Cards & Articles */
.article-card {
    border: none;
    border-radius: 0;
}
.article-card img {
    border-radius: 0;
    object-fit: cover;
}
.article-card .card-title {
    transition: color 0.2s;
}
.article-card:hover .card-title {
    color: var(--brand-red);
}
.category-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-red);
    margin-bottom: 0.5rem;
    display: block;
}

/* STREAMING_CHUNK: Styling sidebar and footer... -->
/* Trending Sidebar */
.trending-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eaeaea;
    text-decoration: none;
    color: inherit;
}
.trending-item:last-child {
    border-bottom: none;
}
.trending-number {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #e0e0e0;
    line-height: 1;
    margin-top: -5px;
}
.trending-item:hover .trending-title {
    color: var(--brand-navy);
}
.trending-title {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.2s;
    margin: 0;
}

/* Footer */
.footer-brand {
    border-top: 5px solid var(--brand-red);
}
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #fff;
}

/* ==========================================================================
   ARTIKEL PAGINA SPECIFIEK
   ========================================================================== */

.article-header {
    margin-bottom: 1.5rem;
}

.article-title {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--brand-navy);
    margin-bottom: 1rem;
}

/* Subtiele lijnen boven en onder de auteur/datum info */
.article-meta {
    font-size: 0.85rem;
    color: #6c757d;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 1rem 0;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Optimale leesbaarheid voor de body tekst */
.article-body {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8; /* Ruime regelafstand geeft rust aan de ogen */
    color: #333;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h2,
.article-body h3 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--brand-navy);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Dropcap: De grote eerste letter van het artikel (Forbes/Telegraaf stijl) */
/*.article-body > p:first-of-type::first-letter {*/
/*    color: var(--brand-navy);*/
/*    float: left;*/
/*    font-family: 'Merriweather', serif;*/
/*    font-size: 4.5rem;*/
/*    line-height: 0.8;*/
/*    padding-top: 0.25rem;*/
/*    padding-right: 0.5rem;*/
/*    font-weight: 900;*/
/*}*/

/* Zakelijke opmaak voor quotes in de tekst */
.article-quote {
    border-left: 4px solid var(--brand-red);
    background-color: var(--brand-gray);
    padding: 1.5rem 2rem;
    font-style: italic;
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--brand-navy);
    margin: 2.5rem 0;
}

/* Zorg dat afbeeldingen in het artikel responsive blijven */
.article-body img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
    border-radius: 2px;
}

/* Styling voor het bijschrift onder een afbeelding */
.article-caption {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
    margin-bottom: 2rem;
}

/* Mobiele optimalisatie voor de artikeltitel */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
}


