/* ==========================================================================
   REVIJA 92 - PREMIJUM NOIR DIZAJN SISTEM
   ========================================================================== */

:root {
    --bg-dark: #060608;
    --bg-surface: #0c0c0f;
    --bg-card: #121217;
    --border-color: #22222b;
    --border-focus: #333342;
    --text-white: #e3e4e8;
    --text-muted: #8b8e99;
    --accent-red: #c91818;
    --accent-red-rgb: 201, 24, 24;
    --accent-blue: #0055ff;
    --accent-blue-rgb: 0, 85, 255;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-title: 'IBM Plex Serif', 'Georgia', serif;
    --font-dossier: 'IBM Plex Mono', 'Courier New', Courier, monospace;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-dossier: 0 10px 30px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Reset & Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.font-typewriter {
    font-family: var(--font-dossier) !important;
}

.font-title {
    font-family: var(--font-title) !important;
}

a {
    color: inherit;
    text-decoration: none;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Word wrapping on all text containers to prevent mobile overflow */
p, span, a, h1, h2, h3, h4, h5, h6, li, td, th, blockquote, div {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Reading Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-red);
    box-shadow: 0 0 8px rgba(201, 24, 24, 0.7);
    transition: width 0.1s ease-out;
}

/* ==========================================================================
   POLICIJSKA PLAVA ROTACIJA (SIREN ANIMATION)
   ========================================================================== */

.site-header {
    position: relative;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
    z-index: 99;
}

.site-header::before {
    content: '';
    position: absolute;
    top: -150%;
    left: -50%;
    width: 200%;
    height: 400%;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.15) 0%, rgba(0, 85, 255, 0.05) 30%, rgba(0, 85, 255, 0) 60%);
    pointer-events: none;
    z-index: 0;
    animation: ambient-siren-rotate 8s infinite linear;
}

@keyframes ambient-siren-rotate {
    0% {
        transform: translate(-25%, -10%) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        opacity: 0.4;
    }
    50% {
        transform: translate(25%, 10%) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        opacity: 0.4;
    }
    100% {
        transform: translate(-25%, -10%) rotate(360deg);
        opacity: 0.8;
    }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

.logo-revija {
    color: var(--text-white);
}

.logo-number {
    color: var(--accent-red);
    margin-left: 2px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    font-family: var(--font-dossier);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    border-bottom: 2px solid var(--accent-blue);
    border-radius: 4px 4px 0 0;
}

.nav-link.active i {
    color: var(--accent-blue);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   DOSSIER NOIR INDEX PAGES
   ========================================================================== */

.dossier-hero {
    position: relative;
    padding: 70px 0;
    background: radial-gradient(circle at 50% 50%, rgba(201, 24, 24, 0.05) 0%, rgba(0, 0, 0, 0) 70%), var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.dossier-stamp {
    display: inline-block;
    border: 3px double var(--accent-red);
    color: var(--accent-red);
    font-family: var(--font-dossier);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 6px 16px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 25px;
    transform: rotate(-4deg);
    box-shadow: 0 0 5px rgba(201, 24, 24, 0.1);
    opacity: 0.85;
}

.dossier-hero .hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--text-white);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.dossier-hero .hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
}

.investigation-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 4px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.pulses-blue {
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
    animation: blue-pulse 2s infinite alternate;
}

@keyframes blue-pulse {
    0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 5px var(--accent-blue); }
    100% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 15px var(--accent-blue); }
}

.status-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.05em;
}

/* Corkboard Evidence Controls */
.corkboard-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: #0b0b0e;
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    margin-bottom: 40px;
    border-radius: 4px;
    gap: 15px;
}

.corkboard-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.corkboard-title i {
    color: var(--accent-red);
}

.corkboard-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-focus);
}

.filter-btn.active {
    color: var(--text-white);
    background: rgba(0, 85, 255, 0.1);
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 85, 255, 0.15);
}

/* ==========================================================================
   CLASSIFIED DOSSIER CARDS (GRID LAYOUT)
   ========================================================================== */

.archive-section {
    padding: 50px 0;
}

.dossier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 30px;
    min-width: 0;
}

.dossier-grid .card.article-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    min-width: 0;
}

.dossier-grid .card.article-card::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 40%;
    width: 80px;
    height: 18px;
    background: rgba(210, 180, 140, 0.15);
    border: 1px dashed rgba(210, 180, 140, 0.2);
    transform: rotate(-1deg);
    z-index: 10;
    pointer-events: none;
    transition: var(--transition);
}

.dossier-grid .card.article-card:hover::after {
    background: rgba(210, 180, 140, 0.25);
    transform: rotate(2deg) scale(1.05);
}

.dossier-grid .card.article-card:hover {
    transform: translateY(-5px);
    border-color: #3b3b4d;
    box-shadow: var(--shadow-dossier);
}

.card-img-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dossier-grid .card.article-card:hover .card-img {
    transform: scale(1.03);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    font-family: var(--font-dossier);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 5;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    min-width: 0;
}

.card-date {
    font-family: var(--font-dossier);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-white);
    transition: var(--transition);
    overflow-wrap: break-word;
    word-break: break-word;
}

.dossier-grid .card.article-card:hover .card-title {
    color: var(--text-white);
}

.card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    overflow-wrap: break-word;
}

.dossier-grid .card.article-card::before {
    content: 'DOSIJE';
    position: absolute;
    bottom: 50px;
    right: 20px;
    font-family: var(--font-dossier);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(201, 24, 24, 0.03);
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 0;
    transition: var(--transition);
}

.dossier-grid .card.article-card:hover::before {
    color: rgba(201, 24, 24, 0.07);
    transform: rotate(-12deg) scale(1.1);
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: auto;
}

.read-more {
    font-family: var(--font-dossier);
    font-weight: 700;
    color: var(--accent-blue) !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.dossier-grid .card.article-card:hover .read-more {
    color: #3b82f6 !important;
    gap: 10px;
}

/* ==========================================================================
   DOSSIER INDIVIDUAL ARTICLE PAGE
   ========================================================================== */

.article-section-wrapper {
    padding: 50px 0;
    background: #08080a;
}

.dossier-layout {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
    gap: 40px;
    align-items: start;
    min-width: 0;
    max-width: 100%;
}

.article-main {
    min-width: 0;
    max-width: 100%;
}

/* Open Folder Sheet Style */
.dossier-folder-open {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dossier);
    position: relative;
    padding: 4px;
    border-radius: 4px;
    min-width: 0;
    max-width: 100%;
}

.dossier-paper-sheet {
    background: #0f0f13;
    border: 1px solid #1c1c24;
    padding: 40px;
    position: relative;
    border-radius: 2px;
    min-width: 0;
    max-width: 100%;
}

/* Folder paperclip watermark */
.dossier-paper-sheet::before {
    content: '';
    position: absolute;
    top: -15px;
    right: 40px;
    width: 35px;
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transform: rotate(15deg);
    pointer-events: none;
    z-index: 10;
}

/* Header details box in the folder */
.dossier-binder-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 2px dashed var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.binder-left div, .binder-right div {
    margin-bottom: 4px;
}

/* Stamped categories inside profile */
.dossier-red-stamp {
    display: inline-block;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: rotate(-2deg);
    margin-bottom: 20px;
    box-shadow: 0 0 4px rgba(201, 24, 24, 0.15);
}

.article-title-large {
    font-family: var(--font-title);
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--text-white);
    overflow-wrap: break-word;
    word-break: break-word;
}

.article-meta-large {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-meta-large span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Cover Image */
.article-cover-img-wrapper {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 35px;
    border: 1px solid var(--border-color);
    background: #000;
    border-radius: 4px;
}

.article-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dossier Case Brief Style */
.dossier-brief {
    background: rgba(201, 24, 24, 0.03);
    border: 1px solid rgba(201, 24, 24, 0.15);
    border-left: 4px solid var(--accent-red);
    padding: 24px;
    margin-bottom: 35px;
    border-radius: 0 6px 6px 0;
}

.dossier-brief h3 {
    font-family: var(--font-dossier);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

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

.dossier-brief ul li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-white);
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    overflow-wrap: break-word;
}

.dossier-brief ul li:last-child {
    margin-bottom: 0;
}

.dossier-brief ul li::before {
    content: '[-]';
    font-family: var(--font-dossier);
    font-weight: 700;
    position: absolute;
    left: 0;
    color: var(--accent-red);
}

/* Dossier Main Text Content */
.dossier-body-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d1d5db;
    min-width: 0;
    max-width: 100%;
}

.dossier-body-text h2 {
    font-family: var(--font-title);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
    color: var(--text-white);
    overflow-wrap: break-word;
    word-break: break-word;
}

.dossier-body-text h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 30px 0 15px 0;
    color: var(--text-white);
    overflow-wrap: break-word;
    word-break: break-word;
}

.dossier-body-text p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 22px;
    color: #d1d5db;
    text-align: left;
    overflow-wrap: break-word;
    word-break: break-word;
}

.dossier-body-text blockquote {
    background: rgba(0, 85, 255, 0.03);
    border-left: 3px solid var(--accent-blue);
    padding: 18px 22px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-white);
    border-radius: 0 4px 4px 0;
}

.dossier-body-text blockquote p {
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: #e2e8f0;
}

.dossier-body-text ul, .dossier-body-text ol {
    margin: 0 0 25px 25px;
}

.dossier-body-text li {
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 8px;
    color: #d1d5db;
}

.dossier-body-text strong {
    color: var(--text-white);
}

/* Dossier Code / Pre / ASCII Blocks */
pre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: pre;
    font-family: var(--font-dossier);
    font-size: 0.82rem;
    background: var(--bg-surface, #0e1124) !important;
    border: 1px solid var(--border-color, #212952) !important;
    padding: 1.25rem !important;
    border-radius: 8px !important;
    margin: 1.75rem 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    color: var(--text-silver, #f8fafc) !important;
    line-height: 1.5 !important;
}

pre code {
    font-family: inherit;
    font-size: inherit;
    white-space: pre;
    display: block;
}

code {
    font-family: var(--font-dossier);
    font-size: 0.88em;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

/* Dossier Tables */
.table-wrapper,
.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.dossier-body-text table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 0.88rem;
    text-align: left;
}

.dossier-body-text th {
    background: rgba(255, 255, 255, 0.03);
    font-family: var(--font-dossier);
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-white);
    font-size: 0.8rem;
}

.dossier-body-text td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.dossier-body-text tr:hover td {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.015);
}

/* Editorial Recommendation Box */
.recommendation-box {
    background: rgba(0, 85, 255, 0.03);
    border: 1px solid rgba(0, 85, 255, 0.15);
    border-left: 4px solid var(--accent-blue);
    padding: 20px;
    margin: 35px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 0 6px 6px 0;
}

.rec-label {
    font-family: var(--font-dossier);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rec-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.rec-link:hover {
    color: var(--accent-blue);
}

/* FAQ Section */
.faq-section-title {
    font-family: var(--font-dossier);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 45px 0 20px 0;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-section-title i {
    color: var(--accent-red);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    min-width: 0;
    max-width: 100%;
}

.faq-item {
    border: 1px solid var(--border-color);
    background: rgba(18, 18, 23, 0.6);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: var(--accent-red);
    background: rgba(201, 24, 24, 0.02);
}

.faq-question {
    padding: 16px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question span {
    flex: 1;
    line-height: 1.45;
}

.faq-icon {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-red);
}

.faq-answer {
    padding: 0 18px 16px 18px;
    border-top: 1px dashed var(--border-color);
    padding-top: 14px;
}

.faq-answer p {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    text-align: left;
}

/* Sidebar Styling */
.dossier-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0;
    max-width: 100%;
}

.dossier-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 22px;
    border-radius: 4px;
    min-width: 0;
    overflow: hidden;
}

.widget-title {
    font-family: var(--font-dossier);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 2px solid var(--accent-blue);
    padding-left: 10px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.toc-list a {
    color: var(--text-muted);
    transition: var(--transition);
    display: block;
    overflow-wrap: break-word;
    word-break: break-word;
}

.toc-list a:hover {
    color: var(--accent-blue);
    transform: translateX(4px);
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-posts-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-posts-links li a {
    display: block;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    transition: var(--transition);
    overflow-wrap: break-word;
    word-break: break-word;
}

.recent-posts-links li a:hover {
    color: var(--accent-blue);
}

/* Read Next Section */
.read-next-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.read-next-title {
    font-family: var(--font-dossier);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-next-links-list {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 15px;
}

.read-next-links-list li {
    margin: 0 !important;
    padding: 0 !important;
}

.read-next-links-list a {
    color: var(--text-white, #ffffff) !important;
    font-weight: 600;
    text-decoration: none;
    display: block;
    padding: 14px 20px;
    background: #0c0c0f;
    border: 1px solid var(--border-color, #3b3b4d) !important;
    border-left: 3px solid var(--accent-red, #c91818) !important;
    border-radius: 4px;
    font-family: var(--font-dossier);
    font-size: 0.92rem;
    line-height: 1.4;
    transition: all 0.2s ease;
    overflow-wrap: break-word;
    word-break: break-word;
}

.read-next-links-list a:hover {
    background: rgba(201, 24, 24, 0.08) !important;
    border-color: var(--accent-red, #c91818) !important;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1fr;
    gap: 30px;
}

.footer-logo {
    margin-bottom: 15px;
    display: inline-block;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-white);
    font-weight: 800;
    font-family: var(--font-title);
}

.footer-logo span {
    color: var(--accent-red);
}

.footer-mission-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-family: var(--font-body);
}

.footer-col-links h3 {
    font-family: var(--font-dossier);
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-left: 2px solid var(--accent-red);
    padding-left: 8px;
}

.footer-col-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-dossier);
}

.footer-col-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col-links a:hover {
    color: var(--accent-red);
    padding-left: 4px;
}

.footer-col-links .icon-red {
    width: 15px;
    color: var(--accent-red);
    margin-right: 5px;
}

.footer-col-links .icon-blue {
    width: 15px;
    color: var(--accent-blue);
    margin-right: 5px;
}

.footer-col-links .icon-muted {
    width: 15px;
    color: var(--text-muted);
    margin-right: 5px;
}

.footer-col-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-dossier);
    line-height: 1.5;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-dossier);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 992px) {
    .dossier-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .site-header {
        padding: 12px 0;
    }

    .site-header::before {
        display: none;
    }

    .header-inner {
        padding: 0;
    }

    .site-logo {
        font-size: 1.4rem;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #0f0f13;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border-color);
        gap: 10px;
        z-index: 1000;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    }

    .site-nav.open {
        display: flex;
    }

    .nav-link {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .nav-link.active {
        border-bottom: none;
        border-left: 3px solid var(--accent-blue);
        border-radius: 0;
    }

    /* Index & Hero */
    .dossier-hero {
        padding: 45px 0 35px 0;
    }

    .dossier-stamp {
        font-size: 0.85rem;
        padding: 4px 12px;
        margin-bottom: 16px;
    }

    .dossier-hero .hero-title {
        font-size: 1.65rem;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .dossier-hero .hero-subtitle {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .corkboard-controls {
        padding: 12px 14px;
        gap: 12px;
    }

    .corkboard-filters {
        gap: 8px;
        width: 100%;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.78rem;
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }

    /* Cards Grid */
    .dossier-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-content {
        padding: 18px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    /* Article Inner Page */
    .article-section-wrapper {
        padding: 24px 0;
    }

    .dossier-folder-open {
        padding: 2px;
    }

    .dossier-paper-sheet {
        padding: 20px 14px;
    }

    .dossier-paper-sheet::before {
        display: none;
    }

    .dossier-binder-header {
        flex-direction: column;
        gap: 8px;
        padding-bottom: 14px;
        margin-bottom: 20px;
        font-size: 0.76rem;
    }

    .dossier-red-stamp {
        font-size: 0.75rem;
        padding: 3px 8px;
        margin-bottom: 14px;
    }

    .article-title-large {
        font-size: 1.45rem;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .article-meta-large {
        gap: 8px 12px;
        font-size: 0.76rem;
        margin-bottom: 20px;
        padding-bottom: 14px;
    }

    .article-cover-img-wrapper {
        margin-bottom: 22px;
    }

    .dossier-brief {
        padding: 16px 14px;
        margin-bottom: 24px;
    }

    .dossier-brief h3 {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .dossier-brief ul li {
        font-size: 0.88rem;
        line-height: 1.55;
        padding-left: 22px;
        margin-bottom: 8px;
    }

    .dossier-body-text {
        font-size: 0.95rem;
        line-height: 1.68;
    }

    .dossier-body-text h2 {
        font-size: 1.22rem;
        line-height: 1.35;
        margin: 28px 0 14px 0;
        padding-bottom: 8px;
    }

    .dossier-body-text h3 {
        font-size: 1.08rem;
        line-height: 1.4;
        margin: 22px 0 10px 0;
    }

    .dossier-body-text p {
        font-size: 0.95rem;
        line-height: 1.68;
        margin-bottom: 16px;
    }

    .dossier-body-text blockquote {
        padding: 14px 16px;
        margin: 20px 0;
    }

    .dossier-body-text blockquote p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .dossier-body-text ul, .dossier-body-text ol {
        margin: 0 0 18px 20px;
    }

    .dossier-body-text li {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 6px;
    }

    pre {
        padding: 0.85rem !important;
        font-size: 0.72rem !important;
        margin: 1.25rem 0 !important;
        border-radius: 6px !important;
    }

    .table-wrapper,
    .table-responsive {
        margin: 20px 0;
    }

    .dossier-body-text table {
        font-size: 0.78rem;
        min-width: 440px;
    }

    .dossier-body-text th,
    .dossier-body-text td {
        padding: 8px 10px;
    }

    .recommendation-box {
        padding: 14px 12px;
        margin: 22px 0;
    }

    .rec-link {
        font-size: 0.88rem;
    }

    .faq-section-title {
        font-size: 1.1rem;
        margin: 32px 0 15px 0;
    }

    .faq-question {
        padding: 12px 14px;
        font-size: 0.88rem;
    }

    .faq-answer {
        padding: 0 14px 12px 14px;
        padding-top: 10px;
    }

    .faq-answer p {
        font-size: 0.86rem;
    }

    .dossier-sidebar {
        gap: 20px;
    }

    .dossier-widget {
        padding: 18px 14px;
    }

    .read-next-section {
        margin-top: 35px;
        padding-top: 20px;
    }

    .read-next-title {
        font-size: 1.05rem;
    }

    .read-next-links-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .read-next-links-list a {
        padding: 12px 16px;
        font-size: 0.86rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .dossier-paper-sheet {
        padding: 16px 10px;
    }

    .article-title-large {
        font-size: 1.3rem;
    }

    .dossier-hero .hero-title {
        font-size: 1.45rem;
    }

    .dossier-body-text h2 {
        font-size: 1.15rem;
    }

    .dossier-body-text h3 {
        font-size: 1.02rem;
    }

    .dossier-body-text p {
        font-size: 0.92rem;
    }

    .corkboard-filters .filter-btn {
        flex: 1 1 100%;
    }
}
