/* CSS variables for premium Gold & Black theme */
:root {
    --bg-dark: #08070A;        /* Velvet Black */
    --bg-surface: #121017;     /* Deep Charcoal Velvet */
    --bg-card: #121017;        /* Deep Charcoal Velvet */
    --border-color: rgba(201, 162, 39, 0.14); /* Divider / Border Gold */
    --border-glow: rgba(201, 162, 39, 0.18);
    
    --accent-gold: #C9A227;    /* Antique Gold */
    --accent-gold-rgb: 201, 162, 39;
    --accent-gold-dark: #9E7C18;
    --accent-gold-light: #E5C76B; /* Champagne Gold */
    
    --accent-color: #C9A227;
    --accent-color-light: #E5C76B;
    
    --text-primary: #F3EBDD;   /* Silk Ivory */
    --text-secondary: #B8B3C2; /* Warm Silver Gray */
    --text-muted: #8e8e9f;
    
    --font-serif: 'Gloock', Georgia, 'Times New Roman', serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --shadow-card: 0 4px 20px -5px rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background:
        radial-gradient(circle at 75% 30%, rgba(201, 162, 39, 0.16), transparent 34%),
        radial-gradient(circle at 20% 75%, rgba(74, 15, 31, 0.28), transparent 38%),
        #08070A;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-gold-light);
}

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

/* Header & Masthead */
.site-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-masthead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.masthead-side {
    flex: 1;
    display: flex;
}

.masthead-left {
    justify-content: flex-start;
}

.masthead-right {
    justify-content: flex-end;
}

.masthead-info-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.masthead-info-link:hover {
    color: var(--accent-gold);
}

.info-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.info-subtitle {
    font-size: 0.75rem;
}

.masthead-center {
    text-align: center;
    flex: 2;
}

.site-logo {
    font-size: 2.2rem;
    font-family: var(--font-serif);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.site-logo span {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.site-tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-top: 4px;
}

.nav-bar {
    background-color: rgba(22, 22, 28, 0.95);
    backdrop-filter: blur(10px);
}

.nav-bar-inner {
    display: flex;
    justify-content: center;
    position: relative;
}

.site-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    padding: 15px 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold-light);
    border-bottom-color: var(--accent-gold);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 15px 20px;
    cursor: pointer;
}

/* News Ticker */
.news-ticker-container {
    background-color: #000;
    border-bottom: 1px solid var(--border-color);
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    overflow: hidden;
}

.ticker-label {
    background-color: var(--accent-gold);
    color: #000;
    padding: 10px 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    z-index: 10;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    position: absolute;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 40s linear infinite;
}

.ticker-item {
    padding: 0 30px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.ticker-item:hover {
    color: var(--accent-gold);
}

.ticker-item::after {
    content: "✦";
    margin-left: 30px;
    color: var(--accent-gold);
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Search and Filters Bar */
.inner-search-section {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

.search-box-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.search-box {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 15px 20px 15px 50px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.search-box:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.categories-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cat-btn {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.cat-btn:hover, .cat-btn.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000;
}

/* Centered Stage Hero Section */
.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 40px;
    background:
        radial-gradient(circle at 50% 15%, rgba(229, 199, 107, 0.22), transparent 55%),
        radial-gradient(circle at 50% 85%, rgba(74, 15, 31, 0.4), transparent 65%),
        #08070A;
    border: 1px solid rgba(201, 162, 39, 0.18);
    border-radius: 24px;
    margin-top: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-premium), inset 0 0 80px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.hero-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(229, 199, 107, 0.07) 0%, rgba(229, 199, 107, 0) 80%);
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-left {
    width: 100%;
}

.hero-meta {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: inline-block;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-cta, .button-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #E5C76B 0%, #C9A227 45%, #9E7C18 100%);
    color: #08070A;
    border: 1px solid rgba(229, 199, 107, 0.55);
    border-radius: 12px;
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 14px 34px rgba(201, 162, 39, 0.18);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.hero-cta:hover, .button-primary:hover {
    background: linear-gradient(135deg, #F0D987 0%, #D6B13D 48%, #AE891F 100%);
    box-shadow: 0 18px 44px rgba(201, 162, 39, 0.26);
    transform: translateY(-2px);
}

.hero-right {
    flex: 0.8;
}

.hero-img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
}

/* Editorial & Zine Grid Section */
.editorial-section {
    padding: 60px 20px;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.zine-sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.zine-box {
    background: linear-gradient(180deg, #15121B 0%, #0E0C12 100%);
    border: 1px solid rgba(201, 162, 39, 0.28);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    text-decoration: none !important;
}

.zine-box:hover {
    border-color: rgba(229, 199, 107, 0.65);
    box-shadow: 0 22px 70px rgba(201, 162, 39, 0.12);
    transform: translateY(-2px);
}

.zine-box h3 {
    transition: var(--transition-smooth);
}

.zine-box:hover h3 {
    color: var(--accent-gold-light) !important;
}

.zine-badge {
    background: rgba(201, 162, 39, 0.10);
    color: var(--accent-gold-light);
    border: 1px solid rgba(201, 162, 39, 0.18);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    margin-bottom: 15px;
}

.zine-box h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.zine-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.zine-link {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
}

/* Article List Grid Layout */
.homepage-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* Dossier style grid for biographies */
.dossier-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

.card {
    background: linear-gradient(180deg, #15121B 0%, #0E0C12 100%);
    border: 1px solid rgba(201, 162, 39, 0.28);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.card:hover {
    border-color: rgba(229, 199, 107, 0.65);
    box-shadow: 0 22px 70px rgba(201, 162, 39, 0.12);
    transform: translateY(-4px);
}

.card-img-placeholder {
    transition: var(--transition-smooth);
}

.card:hover .card-img-placeholder {
    opacity: 0.4;
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-dark);
}

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

.card:hover .card-img {
    transform: scale(1.05);
}

.article-cover-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    background-color: var(--bg-dark);
    box-shadow: var(--shadow-premium);
}

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

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-badge {
    background: rgba(201, 162, 39, 0.10);
    color: var(--accent-gold-light);
    border: 1px solid rgba(201, 162, 39, 0.18);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 999px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Sidebar Widgets */
.homepage-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i {
    color: var(--accent-gold);
}

/* Timeline List widget */
.widget-timeline-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.widget-timeline-list li {
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.widget-timeline-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* Info Widgets (011info references) */
.info-widget-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-widget-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-dark);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.info-widget-item:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px var(--border-glow);
}

.info-widget-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.info-widget-text {
    display: flex;
    flex-direction: column;
}

.info-widget-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.info-widget-value {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Dynamic Zanimljivosti (Fact Widget) */
.fact-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 80px;
    color: var(--text-secondary);
}

.widget-btn {
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 10px 20px;
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.widget-btn:hover {
    background-color: var(--accent-gold);
    color: #000;
}

/* Article Template Styles */
.article-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
    text-align: center;
}

.article-category {
    color: var(--accent-gold);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    display: inline-block;
}

.article-title {
    font-size: 2.8rem;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.article-meta i {
    color: var(--accent-gold);
}

.article-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
    padding: 60px 0;
}

.article-body-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-body-content p {
    margin-bottom: 25px;
}

.article-body-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.article-body-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
}

.article-body-content blockquote {
    border-left: 4px solid var(--accent-gold);
    background-color: var(--bg-surface);
    padding: 20px 30px;
    font-style: italic;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.article-body-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.95rem;
}

.article-body-content th {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    padding: 12px 15px;
}

.article-body-content td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.article-body-content tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Alert/Info Blocks */
.alert-block {
    border-left: 4px solid;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    background-color: var(--bg-surface);
}

.alert-block-note { border-left-color: var(--accent-gold); }
.alert-block-important { border-left-color: #ef4444; }
.alert-block-warning { border-left-color: #f59e0b; }
.alert-block-tip { border-left-color: #10b981; }

.alert-title {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* Table of Contents */
.toc-widget {
    margin-bottom: 30px;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toc-link {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.toc-link:hover {
    color: var(--accent-gold);
}

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

.progress-bar {
    height: 100%;
    background-color: var(--accent-gold);
    width: 0%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Related articles section below main layout */
.related-articles-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* Footnotes styling */
.footnote-ref a {
    text-decoration: none;
    font-weight: 700;
}

.footnotes-list {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footnotes-list ol {
    padding-left: 20px;
}

.footnotes-list li {
    margin-bottom: 10px;
}

/* Partner sections and footers */
.support-partners-section {
    background-color: #000;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.support-partners-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.support-partners-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.support-link {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.support-link:hover {
    color: var(--accent-gold);
}

.support-separator {
    color: var(--border-color);
    font-size: 0.8rem;
}

.site-footer {
    background-color: var(--bg-surface);
    padding: 60px 0 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-brand h2 span {
    color: var(--accent-gold);
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    color: var(--text-muted);
}

.footer-links-list a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Category header section */
.hero-section {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.articles-section {
    padding: 60px 0;
}

/* Table Responsive wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mobile Responsiveness Styles */
@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .zine-sections-grid {
        grid-template-columns: 1fr;
    }
    
    .homepage-layout {
        grid-template-columns: 1fr;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-masthead {
        flex-direction: column;
        gap: 8px;
        padding: 12px 0;
    }
    
    .masthead-side {
        display: none; /* Hide side links on small screens */
    }
    
    .site-logo {
        font-size: 1.8rem;
    }
    
    .site-tagline {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
        margin-top: 4px;
        line-height: 1.4;
        padding: 0 15px;
    }
    
    .nav-bar-inner {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-toggle {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
        background: rgba(255, 255, 255, 0.02);
    }
    
    .site-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        border-top: none;
        background-color: #121017;
    }
    
    .site-nav.active {
        display: flex;
    }
    
    .nav-link {
        padding: 12px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        border-left: none;
    }
    
    .nav-link:hover, .nav-link.active {
        background: rgba(201, 162, 39, 0.05);
        color: var(--accent-gold-light);
        border-left: none;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .dossier-grid {
        grid-template-columns: 1fr !important;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .article-header {
        padding: 35px 0;
    }
    
    .article-title {
        font-size: 1.8rem;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 10px 15px;
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 30px 0;
    }
    
    .article-sidebar {
        position: static !important;
        margin-top: 30px;
        width: 100%;
    }
    
    /* Responsive table cards on mobile viewports */
    .article-body-content table, 
    .article-body-content tbody, 
    .article-body-content th, 
    .article-body-content td, 
    .article-body-content tr { 
        display: block; 
        width: 100% !important;
    }
    
    .article-body-content thead { 
        display: none;
    }
    
    .article-body-content tr { 
        border: 1px solid rgba(201, 162, 39, 0.2);
        border-radius: 12px;
        margin-bottom: 20px;
        background: rgba(18, 16, 23, 0.6);
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    }
    
    .article-body-content td { 
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
        position: relative;
        padding: 12px 10px 12px 48% !important; 
        text-align: right;
        font-size: 0.9rem;
        word-break: break-word;
    }
    
    .article-body-content td:last-child {
        border-bottom: none;
    }
    
    .article-body-content td::before { 
        content: attr(data-label);
        position: absolute;
        top: 12px;
        left: 10px;
        width: 42%; 
        padding-right: 10px; 
        text-align: left;
        font-weight: 700;
        color: var(--accent-gold);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
}
