/* ============================================================
   VerzekerExpert.nl — Shared editorial blog stylesheet
   ============================================================ */

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

:root {
    --navy: #1a2744;
    --navy-deep: #0f1a2e;
    --navy-mid: #253555;
    --navy-light: #34476b;
    --gold: #d4a855;
    --gold-light: #e8c882;
    --gold-pale: #f5e6c4;
    --gold-dim: #b08a3e;
    --cream: #faf8f4;
    --cream-dark: #f0ece4;
    --white: #ffffff;
    --slate: #64748b;
    --slate-light: #94a3b8;
    --text: #2d3748;
    --text-muted: #5a6577;
    --border: rgba(26, 39, 68, 0.08);
    --ff-display: 'Playfair Display', Georgia, serif;
    --ff-body: 'Source Sans 3', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--ff-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-dim); }
img { max-width: 100%; height: auto; display: block; }

/* ===== ADVERTORIAL DISCLOSURE BAR (top) ===== */
.disclosure-bar {
    background: var(--cream-dark);
    border-bottom: 1px solid var(--border);
    padding: 0.55rem 1.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.02em;
}
.disclosure-bar strong { color: var(--navy); font-weight: 600; }
.disclosure-bar a { color: var(--gold-dim); text-decoration: underline; }

/* ===== NAV ===== */
nav.site-nav {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 0 2.5rem;
    height: 68px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(26, 39, 68, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 168, 85, 0.15);
}
.nav-logo {
    font-family: var(--ff-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.78);
    font-size: 0.87rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a.current { color: var(--gold); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.mobile-toggle span { display: block; width: 100%; height: 2px; background: #fff; position: absolute; left: 0; transition: all 0.3s; }
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { top: 18px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.6rem 2rem 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--gold-dim); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span.sep { margin: 0 0.45rem; color: var(--slate-light); }

/* ===== PAGE HEADER ===== */
.page-header {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem;
}
.page-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-dim);
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.page-header h1 {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}
.page-header .lede {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.6;
    font-weight: 300;
}
.page-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}
.page-meta strong { color: var(--navy); font-weight: 600; }

/* ===== PROSE (articles + policy pages) ===== */
.prose {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}
.prose h2 {
    font-family: var(--ff-display);
    font-size: 1.7rem;
    color: var(--navy);
    margin: 2.6rem 0 1rem;
    letter-spacing: -0.01em;
    font-weight: 600;
}
.prose h3 {
    font-family: var(--ff-display);
    font-size: 1.25rem;
    color: var(--navy);
    margin: 1.8rem 0 0.7rem;
    font-weight: 600;
}
.prose p {
    margin-bottom: 1.3rem;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.85;
}
.prose ul, .prose ol {
    margin: 0 0 1.6rem 1.4rem;
    font-size: 1.04rem;
    line-height: 1.8;
}
.prose li { margin-bottom: 0.55rem; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose a { color: var(--gold-dim); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose blockquote {
    border-left: 3px solid var(--gold);
    padding: 0.6rem 1.5rem;
    margin: 2rem 0;
    background: rgba(212, 168, 85, 0.07);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: var(--text-muted);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .small { font-size: 0.9rem; color: var(--text-muted); }

/* Inline article figure (image + caption) */
.article-fig {
    margin: 2rem 0;
}
.article-fig img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(15, 26, 46, 0.08);
    display: block;
}
.article-fig figcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.7rem;
    line-height: 1.55;
    font-style: italic;
}

/* AFFILIATE link callout */
.aff-link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
}
.aff-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(212, 168, 85, 0.18);
    color: var(--gold-dim);
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    font-weight: 600;
}

/* Box callout for affiliate disclosure within article */
.aff-disclosure-box {
    background: var(--cream-dark);
    border-left: 4px solid var(--gold);
    padding: 1rem 1.3rem;
    margin: 1.8rem 0;
    border-radius: 0 6px 6px 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.aff-disclosure-box strong { color: var(--navy); }

/* CTA box for vattenfall offer */
.offer-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
}
.offer-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold);
}
.offer-cta h3 {
    font-family: var(--ff-display);
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}
.offer-cta p { color: rgba(255,255,255,0.78); font-size: 0.98rem; margin-bottom: 1.2rem; }
.offer-cta .btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--navy-deep);
    padding: 0.7rem 1.4rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.3s;
}
.offer-cta .btn-gold:hover { background: var(--gold-light); }
.offer-cta .aff-tag-light {
    display: inline-block;
    background: rgba(212, 168, 85, 0.18);
    color: var(--gold-light);
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-left: 0.6rem;
}

/* AUTHOR BIO (article footer) */
.author-bio {
    display: flex;
    gap: 1.3rem;
    align-items: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin: 3rem 0 1rem;
}
.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-display);
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}
.author-info { flex: 1; }
.author-info h4 { font-family: var(--ff-display); font-size: 1.05rem; color: var(--navy); margin-bottom: 0.25rem; font-weight: 600; }
.author-info p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; margin: 0; }
.author-info a { color: var(--gold-dim); text-decoration: none; }
.author-info a:hover { text-decoration: underline; }

/* RELATED ARTICLES */
.related {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem 4rem;
}
.related h3 {
    font-family: var(--ff-display);
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 1.2rem;
    font-weight: 600;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.related-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.3rem;
    text-decoration: none;
    transition: all 0.3s;
}
.related-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26, 39, 68, 0.06); }
.related-card .cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dim);
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.related-card h4 {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    color: var(--navy);
    line-height: 1.35;
    font-weight: 600;
}

/* ===== FOOTER ===== */
footer.site-footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.7);
    padding: 3.5rem 2rem 2rem;
    margin-top: 3rem;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-brand p {
    font-size: 0.88rem;
    margin: 0.8rem 0;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    max-width: 320px;
}
.footer-disclosure {
    margin-top: 1rem;
    font-size: 0.78rem;
    background: rgba(212, 168, 85, 0.08);
    border: 1px solid rgba(212, 168, 85, 0.18);
    padding: 0.75rem 0.95rem;
    border-radius: 4px;
    color: rgba(255,255,255,0.7);
    max-width: 320px;
    line-height: 1.55;
}
.footer-disclosure strong { color: var(--gold-light); }
.footer-col h4 {
    color: #fff;
    font-family: var(--ff-display);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.87rem;
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-divider { border: 0; border-top: 1px solid rgba(255,255,255,0.08); margin: 0 0 1.5rem; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-legal a:hover { color: #fff; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--navy-deep);
    color: rgba(255,255,255,0.85);
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.86rem;
    border-top: 1px solid rgba(212, 168, 85, 0.2);
}
.cookie-banner.hidden { transform: translateY(100%); }
.cookie-banner p { max-width: 580px; line-height: 1.5; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 3px;
    font-family: var(--ff-body);
    font-size: 0.83rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
}
.cookie-btn.accept { background: var(--gold); color: var(--navy-deep); }
.cookie-btn.accept:hover { background: var(--gold-light); }
.cookie-btn.decline { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); }
.cookie-btn.decline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    nav.site-nav { padding: 0 1.2rem; }
    .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy-deep); flex-direction: column; padding: 1.5rem; gap: 1rem; border-top: 1px solid rgba(212,168,85,0.15); }
    .nav-links.open { display: flex; }
    .mobile-toggle { display: block; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .related-grid { grid-template-columns: 1fr; }
    .cookie-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
    .breadcrumb, .page-header, .prose { padding-left: 1.3rem; padding-right: 1.3rem; }
    .footer-top { grid-template-columns: 1fr; }
    .author-bio { flex-direction: column; text-align: center; }
}
