@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --text: #0f0f0f;
    --text-secondary: #666;
    --text-muted: #999;
    --border: #e8e8e8;
    --bg: #fff;
    --bg-subtle: #fafafa;
    --bg-hover: #f5f5f5;
    --accent: #c0392b;
    --accent-hover: #a93226;
    --accent-bg: #fdf2f2;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

[data-theme="dark"] {
    --text: #e5e5e5;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --border: #262626;
    --bg: #0a0a0a;
    --bg-subtle: #141414;
    --bg-hover: #1a1a1a;
    --accent: #ef4444;
    --accent-hover: #dc2626;
    --accent-bg: #1c1010;
}

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

html { transition: background-color 0.5s, color 0.5s; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.5s, color 0.5s;
}

::selection { background: #fce4e4; }

/* ── Navbar ─────────────────────────── */

.navbar-top {
    border-bottom: 1px solid var(--border);
    padding: 0 0;
    transition: border-color 0.5s;
}

.navbar-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}

.navbar-brand-custom {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text) !important;
    text-decoration: none;
    letter-spacing: -0.03em;
}

.navbar-brand-custom span {
    color: var(--accent);
}

.nav-link-custom {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 0.375rem 0.625rem !important;
    border-radius: 6px;
    transition: color 0.15s;
    text-decoration: none;
}

.nav-link-custom:hover {
    color: var(--text) !important;
    background: none;
}

.nav-link-custom.active {
    color: var(--text) !important;
    background: none;
    font-weight: 600;
}

/* ── Hero ───────────────────────────── */

.hero {
    padding: 2rem 0 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin-bottom: 0.375rem;
}

.hero p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ── Cards ──────────────────────────── */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.card-custom {
    background: var(--bg);
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: background-color 0.5s, box-shadow 0.5s, border-color 0.5s;
}

[data-theme="dark"] .card-custom {
    box-shadow: 0 1px 3px rgba(255,255,255,0.06);
    border: 1px solid var(--border);
}

.card-image {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    background: var(--bg-subtle);
}

.card-image.default-cover {
    background: var(--bg-subtle);
}

[data-theme="light"] .card-image.default-cover {
    filter: invert(1);
}

[data-theme="light"] .default-cover-article {
    filter: invert(1);
}

.card-custom .card-body {
    padding: 1.25rem;
}

.card-custom .card-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
    margin-bottom: 0.25rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.card-custom .card-title a {
    color: inherit;
    text-decoration: none;
}

.card-custom .card-title a:hover {
    color: var(--accent);
}

.card-custom .card-text {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Article Page ───────────────────── */

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

.article-header h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
    flex-wrap: wrap;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 680px;
}

.article-content p { margin-bottom: 1.25rem; }

.article-content img {
    max-width: 100%;
    margin: 1.5rem 0;
}

/* ── Byline ─────────────────────────── */

.byline {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.byline svg { display: none; }

/* ── Badge ──────────────────────────── */

.badge-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.badge-draft { color: #b45309; }
.badge-pending { color: #d97706; }
.badge-published { color: #059669; }
.badge-admin { color: #7c3aed; }
.badge-writer { color: #2563eb; }
.badge-editor { color: #d97706; }
.badge-reader { color: var(--text-muted); }

.stat-card-link:hover { text-decoration: none; }

/* ── Filter Pills ───────────────────── */

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.category-pill {
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: none;
    border: none;
    text-decoration: none;
    transition: color 0.15s;
}

.category-pill:hover {
    color: var(--text);
    background: var(--bg-hover);
    text-decoration: none;
}

.category-pill.active {
    color: var(--text);
    background: var(--bg-hover);
    font-weight: 600;
    text-decoration: none;
}

/* ── Related Section ────────────────── */

.related-section {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.related-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* ── Meta Info ──────────────────────── */

.meta-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.8;
    padding: 0.75rem;
    background: var(--bg-subtle);
    border-radius: 4px;
}

.meta-info strong { color: var(--text-secondary); }

.form-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ── Footer ─────────────────────────── */

.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: 4rem;
    font-size: 0.8125rem;
    transition: border-color 0.5s;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer a:hover { color: var(--text); }

/* ── Flash Messages ─────────────────── */

.alert-custom {
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 0.625rem 1rem;
}

/* ── Admin Sidebar ──────────────────── */

.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 240px;
    background: var(--text);
    color: #fff;
    padding: 1.25rem 0;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-brand {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    padding: 0 1.25rem 1rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
    display: block;
    letter-spacing: -0.03em;
}

.sidebar-brand span { color: var(--accent); }

.sidebar-section {
    padding: 0 0.625rem;
    margin-bottom: 0.25rem;
}

.sidebar-section-title {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    padding: 0 0.625rem;
    margin-bottom: 0.375rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.625rem;
    color: #999;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color 0.15s;
}

.sidebar-link:hover { color: #fff; background: none; }

.sidebar-link.active {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.sidebar-link svg {
    width: 16px; height: 16px;
    flex-shrink: 0;
    opacity: 0.5;
}

.sidebar-link.active svg { opacity: 1; }

.sidebar-badge {
    margin-left: auto;
    background: var(--accent);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    min-width: 18px;
    text-align: center;
}

.admin-content {
    flex: 1;
    margin-left: 240px;
    padding: 1.5rem 2rem;
    background: var(--bg);
    transition: background-color 0.5s;
}

.admin-menu-toggle {
    display: none;
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 200;
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.admin-menu-toggle svg {
    width: 18px;
    height: 18px;
}

.admin-sidebar-backdrop {
    display: none;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.03em;
}

/* ── Stat Cards ─────────────────────── */

.stat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    transition: background-color 0.5s, border-color 0.5s;
}

.stat-card .stat-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.125rem;
    letter-spacing: -0.03em;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Table ──────────────────────────── */

.table-custom {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: background-color 0.5s, border-color 0.5s;
}

.table-custom table { margin: 0; }

.table-custom thead th {
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding: 0.625rem 0.75rem;
}

.table-custom tbody td {
    padding: 0.625rem 0.75rem;
    vertical-align: middle;
    border-color: var(--border);
    font-size: 0.8125rem;
}

.table-custom tbody tr:not(:last-child) td {
    border-bottom: 1px solid var(--border);
}

.table-custom tbody tr:hover { background: var(--bg-subtle); }

/* ── Forms ──────────────────────────── */

.form-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: background-color 0.5s, border-color 0.5s;
}

.form-label {
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.form-control, .form-select {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-family: var(--font);
    transition: border-color 0.15s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--text);
    box-shadow: none;
}

textarea.form-control {
    min-height: 300px;
    font-family: var(--font);
    line-height: 1.7;
}

/* ── Buttons ────────────────────────── */

.btn-primary-custom {
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.8125rem;
    font-family: var(--font);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
    transition: opacity 0.15s;
}

.btn-primary-custom:hover { opacity: 0.85; color: var(--bg); }

.btn-outline-custom {
    background: none;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.8125rem;
    font-family: var(--font);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
    transition: border-color 0.15s;
}

.btn-outline-custom:hover {
    border-color: var(--text-muted);
    color: var(--text);
    text-decoration: none;
}

.btn-danger-custom {
    background: none;
    color: var(--accent);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.8125rem;
    font-family: var(--font);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-danger-custom:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ── Approve / Reject ───────────────── */

.btn-approve {
    background: #059669;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.8125rem;
    font-family: var(--font);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background 0.15s;
}

.btn-approve:hover { background: #047857; color: #fff; text-decoration: none; }

.btn-reject {
    background: none;
    color: var(--accent);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.8125rem;
    font-family: var(--font);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.15s;
}

.btn-reject:hover { background: var(--accent-bg); color: var(--accent); text-decoration: none; }

/* ── Pending Banner ─────────────────── */

.pending-banner {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: var(--accent-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8125rem;
}

.pending-banner:hover {
    background: var(--bg-hover);
    color: var(--text-secondary);
    text-decoration: none;
}

.pending-banner strong { font-weight: 700; }

/* ── Login Page ─────────────────────── */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
}

.login-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    transition: background-color 0.5s, border-color 0.5s;
}

.login-card h1 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.03em;
}

.login-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

/* ── Empty State ────────────────────── */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-state svg { opacity: 0.3; }

.empty-state h3 {
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 0.75rem;
    font-size: 1rem;
}

.empty-state p { font-size: 0.875rem; }

/* ── Pagination ─────────────────────── */

.pagination-custom .page-link {
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 4px;
    margin: 0 0.125rem;
}

.pagination-custom .page-link:hover {
    background: var(--bg-hover);
    color: var(--text);
}

.pagination-custom .page-item.active .page-link {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
}

/* ── Terms Content ──────────────────── */

.terms-content h4 {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.terms-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.terms-content ul {
    color: var(--text-secondary);
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.terms-content li {
    margin-bottom: 0.25rem;
    line-height: 1.6;
}

.terms-warning {
    border-left: 3px solid var(--accent);
    background: var(--accent-bg);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.terms-warning strong {
    color: var(--text);
}

.terms-notice {
    border-left: 3px solid #d97706;
    background: var(--accent-bg);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.terms-notice strong {
    color: var(--text);
}

/* ── Video ──────────────────────────── */

.article-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.article-video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.video-thumb-wrapper {
    position: relative;
    overflow: hidden;
}

.video-thumb-wrapper .card-image {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    display: block;
}

.video-play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    background: rgba(0,0,0,0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-check-input:checked {
    background-color: var(--text);
    border-color: var(--text);
}

/* ── Theme Toggle ───────────────────── */

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.375rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
}

.theme-toggle:hover {
    color: var(--text);
    background: var(--bg-hover);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
}

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }

[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ── Responsive ─────────────────────── */

@media (max-width: 768px) {
    .hero h1 { font-size: 1.5rem; }
    .article-header h1 { font-size: 1.5rem; }

    .admin-sidebar {
        display: block;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99;
    }

    .admin-sidebar-backdrop.open {
        display: block;
    }

    .admin-content { margin-left: 0; padding: 1rem; }

    .admin-menu-toggle {
        display: flex;
    }
}

/* ── Skip to Content ────────────────── */

.skip-to-content {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--text);
    color: var(--bg);
    padding: 0.5rem 1rem;
    z-index: 9999;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0 0 6px 0;
}

.skip-to-content:focus {
    top: 0;
}

/* ── Focus Indicators ───────────────── */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── Reduced Motion ─────────────────── */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── Article Disclaimer ─────────────── */

.article-disclaimer {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Content Warning Modal ──────────── */

.content-warning-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.content-warning-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.content-warning-box {
    position: relative;
    background: var(--bg);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 2rem 2rem 1.5rem;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.content-warning-icon {
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.content-warning-box h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.content-warning-lead {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.content-warning-box > p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-warning-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    text-align: left;
}

.content-warning-box li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.375rem;
    background: var(--bg-subtle);
    border-radius: 6px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.content-warning-box li strong {
    color: var(--text);
}

.veracity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-fake { background: #dc2626; }
.dot-satire { background: #d97706; }
.dot-real { background: #16a34a; }
.dot-unverified { background: #9ca3af; }

.content-warning-bottom {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.25rem !important;
}

.content-warning-footer-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    margin-bottom: 0 !important;
}

.content-warning-footer-text a {
    color: var(--accent);
    text-decoration: none;
}

.content-warning-cookies {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.625rem 0.75rem;
    margin-bottom: 1rem;
    text-align: left;
}

.content-warning-cookies p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.content-warning-cookies strong {
    color: var(--text-secondary);
}

.btn-disagree {
    background: none;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-disagree:hover {
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
}

/* ── Veracity Badge ─────────────────── */

.badge-veracity {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    line-height: 1;
}

.badge-veracity::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.veracity-fake {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.veracity-fake::before {
    background: #dc2626;
}

[data-theme="dark"] .veracity-fake {
    color: #fca5a5;
    background: #450a0a;
    border-color: #7f1d1d;
}

.veracity-real {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.veracity-real::before {
    background: #16a34a;
}

[data-theme="dark"] .veracity-real {
    color: #86efac;
    background: #052e16;
    border-color: #14532d;
}

.veracity-satire {
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.veracity-satire::before {
    background: #d97706;
}

[data-theme="dark"] .veracity-satire {
    color: #fcd34d;
    background: #451a03;
    border-color: #78350f;
}

.veracity-unverified {
    color: #6b7280;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.veracity-unverified::before {
    background: #9ca3af;
}

[data-theme="dark"] .veracity-unverified {
    color: #d1d5db;
    background: #1f2937;
    border-color: #374151;
}

/* ── Article Veracity Banner ────────── */

.article-veracity-banner {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-veracity-banner.veracity-fake {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

[data-theme="dark"] .article-veracity-banner.veracity-fake {
    background: #450a0a;
    border-color: #7f1d1d;
    color: #fca5a5;
}

.article-veracity-banner.veracity-real {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

[data-theme="dark"] .article-veracity-banner.veracity-real {
    background: #052e16;
    border-color: #14532d;
    color: #86efac;
}

.article-veracity-banner.veracity-satire {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

[data-theme="dark"] .article-veracity-banner.veracity-satire {
    background: #451a03;
    border-color: #78350f;
    color: #fcd34d;
}

.article-veracity-banner.veracity-unverified {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #6b7280;
}

[data-theme="dark"] .article-veracity-banner.veracity-unverified {
    background: #1f2937;
    border-color: #374151;
    color: #d1d5db;
}

/* ── Card Veracity Badge ────────────── */

.card-veracity {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2;
}
