:root {
    --primary: #003893;
    --primary-dark: #002466;
    --primary-light: #e8f0fe;
    --accent: #fcd116;
    --accent-soft: #fef9c3;
    --nacional: #ce1126;
    --nacional-bg: #fef2f2;
    --facultativo: #d97706;
    --facultativo-bg: #fffbeb;
    --estadual: #0284c7;
    --estadual-bg: #f0f9ff;
    --comemorativa: #059669;
    --comemorativa-bg: #ecfdf5;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
}

body.theme-tricolor-co {
    --primary: #003893;
    --primary-dark: #002466;
    --primary-light: #e8f0fe;
}

body.theme-emerald-co {
    --primary: #047857;
    --primary-dark: #065f46;
    --primary-light: #ecfdf5;
}

body.theme-indigo-modern {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #eef2ff;
}

body.theme-crimson {
    --primary: #ce1126;
    --primary-dark: #9f1239;
    --primary-light: #fff1f2;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.18s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

/* Top Bar */
.topbar {
    background: #0b1936;
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid #fcd116;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-today {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.topbar-today a {
    color: #fcd116;
    font-weight: 700;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-links a {
    color: #cbd5e1;
    font-size: 12.5px;
}

.topbar-links a:hover {
    color: #ffffff;
}

/* Main Header */
.site-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 21px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fcd116 0%, #fcd116 48%, #003893 48%, #003893 75%, #ce1126 75%, #ce1126 100%);
    color: #0b1936;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 3px 8px rgba(0, 56, 147, 0.25);
}

.brand-sub {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0;
    margin-top: -2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 8px 13px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-nav a:hover, .main-nav a.active {
    background: var(--primary-light);
    color: var(--primary);
}

/* Quick Date Jumper Bar */
.quick-jumper-bar {
    background: var(--primary);
    color: #ffffff;
    padding: 10px 0;
}

.jumper-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.year-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.year-pills span {
    font-size: 12.5px;
    font-weight: 600;
    opacity: 0.9;
    margin-right: 4px;
    white-space: nowrap;
}

.year-pill {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.year-pill:hover, .year-pill.active {
    background: #fcd116;
    color: #0f172a;
}

.date-jump-form {
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-jump-form select, .date-jump-form input {
    padding: 5px 10px;
    border-radius: 6px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    background: #ffffff;
}

.btn-jump {
    background: #fcd116;
    color: #0f172a;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-jump:hover {
    background: #eab308;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 24px;
    margin: 24px auto 48px auto;
    align-items: start;
}

.content-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.card-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 9px;
}

/* Hero Today Spotlight */
.hero-today-banner {
    background: linear-gradient(135deg, #002466 0%, #003893 65%, #1e40af 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    align-items: center;
    border-top: 4px solid #fcd116;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(252, 209, 22, 0.2);
    color: #fcd116;
    border: 1px solid rgba(252, 209, 22, 0.45);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
}

.hero-subtitle {
    color: #dbeafe;
    font-size: 14.5px;
    margin-bottom: 16px;
}

.hero-today-box {
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-md);
    padding: 18px;
}

.hero-today-date {
    font-size: 18px;
    font-weight: 800;
    color: #fcd116;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-today-events {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.hero-today-events li {
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f8fafc;
}

.hero-today-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: #fcd116;
    color: #0f172a;
    font-weight: 700;
    font-size: 13.5px;
    padding: 9px 14px;
    border-radius: 8px;
}

.hero-today-btn:hover {
    background: #eab308;
    color: #0f172a;
}

/* Legend Bar */
.cal-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.swatch-nacional { background: var(--nacional); }
.swatch-facultativo { background: var(--facultativo); }
.swatch-estadual { background: var(--estadual); }
.swatch-today { background: var(--primary); }
.swatch-comm { background: #10b981; border-radius: 50%; width: 8px; height: 8px; }

/* 12-Month Calendar Grid */
.months-grid-12 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cal-month-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cal-month-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.cal-month-header {
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
}

.cal-month-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.cal-month-title small {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 13px;
}

.cal-month-link-icon {
    font-size: 12px;
    color: var(--primary);
    opacity: 0.75;
}

.cal-month-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.meta-holiday-pill {
    color: var(--nacional);
    font-weight: 700;
}

.cal-grid-mini {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px 10px 6px 10px;
    gap: 3px;
    text-align: center;
}

.cal-weekday {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-bottom: 6px;
}

.cal-weekday.sun { color: var(--nacional); }
.cal-weekday.sat { color: #0284c7; }

.cal-day {
    position: relative;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
}

.cal-day.empty {
    pointer-events: none;
}

.cal-day:not(.empty):hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    transform: scale(1.08);
    z-index: 2;
}

.cal-day.is-sunday {
    color: var(--nacional);
}

.cal-day.is-saturday {
    color: #0369a1;
}

.cal-day.is-nacional {
    background: var(--nacional-bg);
    color: var(--nacional);
    font-weight: 800;
    border: 1px solid rgba(206, 17, 38, 0.25);
}

.cal-day.is-facultativo {
    background: var(--facultativo-bg);
    color: var(--facultativo);
    font-weight: 700;
    border: 1px solid rgba(217, 119, 6, 0.25);
}

.cal-day.is-estadual {
    background: var(--estadual-bg);
    color: var(--estadual);
    font-weight: 700;
}

.cal-day.is-today {
    background: var(--primary) !important;
    color: #ffffff !important;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(0, 56, 147, 0.35);
}

.day-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    position: absolute;
    bottom: 3px;
}

.dot-nacional { background: var(--nacional); }
.dot-facultativo { background: var(--facultativo); }
.dot-comm { background: #10b981; opacity: 0.7; }
.cal-day.is-today .day-dot { background: #fcd116; }

.cal-month-footer {
    margin-top: auto;
    padding: 8px 12px 10px 12px;
    border-top: 1px dashed var(--border-color);
    background: #fcfcfd;
    min-height: 62px;
}

.mini-holiday-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-holiday-list li a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.3;
}

.mini-holiday-list li a:hover {
    color: var(--primary);
}

.mini-h-date {
    font-size: 10.5px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    flex-shrink: 0;
}

.bg-nacional {
    background: var(--nacional-bg);
    color: var(--nacional);
}

.bg-facultativo {
    background: var(--facultativo-bg);
    color: var(--facultativo);
}

.mini-h-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.mini-no-holiday {
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Large Single-Month Calendar */
.large-cal-wrapper {
    overflow-x: auto;
}

.large-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(95px, 1fr));
    gap: 6px;
}

.large-cal-weekday {
    background: #f1f5f9;
    padding: 10px 8px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    color: var(--text-secondary);
}

.large-cal-weekday.sun { color: var(--nacional); background: #fef2f2; }
.large-cal-weekday.sat { color: #0369a1; background: #f0f9ff; }

.large-cal-cell {
    min-height: 98px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.15s ease;
}

.large-cal-cell.empty {
    background: #f8fafc;
    border-style: dashed;
    pointer-events: none;
}

.large-cal-cell:not(.empty):hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.large-cal-cell.cell-nacional {
    background: #fff5f5;
    border-color: #fecaca;
}

.large-cal-cell.cell-facultativo {
    background: #fffbeb;
    border-color: #fde68a;
}

.large-cal-cell.is-today {
    border: 2px solid var(--primary);
    background: var(--primary-light);
}

.large-cal-cell.is-selected-day {
    border: 2px solid #0f172a;
    box-shadow: 0 0 0 3px rgba(0, 56, 147, 0.2);
}

.cell-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.cell-num {
    font-size: 16px;
    font-weight: 800;
}

.large-cal-cell.is-sunday .cell-num { color: var(--nacional); }
.large-cal-cell.is-saturday .cell-num { color: #0369a1; }

.cell-moon {
    font-size: 13px;
}

.cell-events {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cell-event-pill {
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.pill-nacional { background: #fee2e2; color: #b91c1c; }
.pill-facultativo { background: #fef3c7; color: #b45309; }
.pill-estadual { background: #dbeafe; color: #1d4ed8; }
.pill-comemorativa { background: #f1f5f9; color: #334155; }

.cell-more {
    font-size: 10px;
    color: var(--primary);
    font-weight: 700;
    padding-left: 2px;
}

/* Badges & Tables */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.badge-nacional { background: var(--nacional-bg); color: var(--nacional); border: 1px solid #fecaca; }
.badge-facultativo { background: var(--facultativo-bg); color: var(--facultativo); border: 1px solid #fde68a; }
.badge-estadual { background: var(--estadual-bg); color: var(--estadual); border: 1px solid #bfdbfe; }
.badge-comemorativa { background: var(--comemorativa-bg); color: var(--comemorativa); border: 1px solid #a7f3d0; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th, .data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.data-table th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 12.5px;
    text-transform: uppercase;
}

.data-table tr:hover {
    background: #f8fafc;
}

/* Day Detail Ficha Tecnica Grid */
.day-ficha-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 18px 0;
}

.ficha-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ficha-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.ficha-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.ficha-sub {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Event Cards on Day Page */
.day-event-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.day-event-card {
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    background: #ffffff;
}

.day-event-card.type-nacional { border-left-color: var(--nacional); background: #fffcfc; }
.day-event-card.type-facultativo { border-left-color: var(--facultativo); }
.day-event-card.type-estadual { border-left-color: var(--estadual); }

.day-event-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.day-event-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
}

/* Prev / Next Navigation */
.day-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-nav-day {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-main);
    font-weight: 700;
    font-size: 13.5px;
}

.btn-nav-day:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* States Grid */
.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 10px;
}

.state-card-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
}

.state-card-link:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.state-uf-badge {
    width: 36px;
    height: 32px;
    border-radius: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
    font-size: 11.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* SEO Content Block */
.seo-content-block h2, .seo-content-block h3 {
    margin-top: 18px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.seo-content-block p {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.seo-content-block ul {
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.breadcrumbs a {
    color: var(--text-secondary);
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

/* Footer */
.site-footer {
    background: #0b1936;
    color: #94a3b8;
    padding: 48px 0 28px 0;
    margin-top: 40px;
    border-top: 3px solid #fcd116;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 32px;
}

.footer-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: #fcd116;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
    .months-grid-12 {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-layout {
        grid-template-columns: 1fr;
    }
    .day-ficha-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-today-banner {
        grid-template-columns: 1fr;
    }
    .months-grid-12 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .header-inner {
        flex-direction: column;
        padding: 12px 0;
        align-items: flex-start;
    }
    .main-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .main-nav a {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .day-ficha-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    .topbar, .site-header, .quick-jumper-bar, .sidebar-column, .site-footer, .no-print {
        display: none !important;
    }
    .main-layout {
        grid-template-columns: 1fr !important;
    }
}
