/* ==========================================================================
   VHP4Safety Brand Color System
   Source of truth synced with plots/shared.py BRAND_COLORS dict
   ========================================================================== */

:root {
    /* Brand Colors — match plots/shared.py BRAND_COLORS */
    --color-primary: #29235C;
    --color-magenta: #E6007E;
    --color-blue: #307BBF;
    --color-light-blue: #009FE3;
    --color-orange: #EB5B25;
    --color-sky-blue: #93D5F6;
    --color-deep-magenta: #9A1C57;
    --color-teal: #45A6B2;
    --color-dark-teal: #005A6C;
    --color-violet: #64358C;
    --color-warm-pink: #B81178;

    /* Semantic Aliases */
    --color-bg: #f5f5f5;
    --color-surface: #ffffff;
    --color-text: #29235C;
    --color-text-secondary: #555555;
    --color-text-muted: #888888;
    --color-border: #e0e0e0;
    --color-border-light: #f0f0f0;

    /* Navigation & Chrome */
    --color-nav-bg: #29235C;
    --color-nav-text: #ffffff;
    --color-nav-hover: #E6007E;
    --color-footer-bg: #29235C;
    --color-footer-text: #ffffff;
    --color-cta: #E6007E;

    /* Typography */
    --font-family: 'Arial', 'Helvetica Neue', sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-xs: 12px;

    /* Spacing */
    --nav-height: 64px;
    --content-max-width: 1400px;
    --section-padding: 30px;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

/* Sticky footer: push footer to bottom even on short-content pages */
body.site-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: var(--color-nav-bg);
    padding: 20px;
    text-align: center;
    color: var(--color-nav-text);
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 500px;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-container {
    max-height: 400px; 
    overflow-y: auto;
}

h1 {
    color: var(--color-primary);
}

img.logo {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: auto;
}

/* Unified Button Styles */
button, input[type=button], input[type=submit], input[type=reset] {
    background-color: var(--color-cta);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 12pt;
}

button:hover,
input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
    background-color: var(--color-dark-teal);
}

input[type="text"], input[type="file"] {
    width: 100%;  
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 5px;
}

/* Navigation and Toggle Buttons */
.nav-button {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #1a1640;
}

.toggle-button {
    background-color: var(--color-cta);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.toggle-button.active {
    background-color: var(--color-primary);
}

/* Footer */
footer {
    background-color: var(--color-footer-bg);
    padding: 10px;
    text-align: center;
    color: var(--color-footer-text);
    position: relative;
    width: 100%;
    bottom: 0;
    margin-top: auto;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer img {
    width: 40px; 
    height: auto;
    vertical-align: middle;  
}

.footer-content {
    display: inline-flex;
    align-items: center;
}

/* Model Tile */
.model-tile {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    background-color: #e9f6fd;
    position: relative;
    transition: background-color 0.3s ease;
}

.model-tile:hover, .model-tile.checked {
    background-color: #ffe6f4;  
}

.model-tile input[type="checkbox"] {
    position: absolute;
    top: 10px;
    right: 10px;
}

.model-tile label {
    display: block;
    cursor: pointer;
    margin-right: 30px;  
}

/* Dropdown */
.dropdown-container {
    margin-bottom: 20px;
}

.custom-dropdown {
    position: relative;
}

#dropdown-table {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
}

#dropdown-table table {
    width: 100%;
    border-collapse: collapse;
}

#dropdown-table th, #dropdown-table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}

#dropdown-table th {
    background-color: var(--color-blue);
    color: white;
    font-weight: bold;
}

#dropdown-table tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

/* Plot Layout */
.plot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 20px;
    justify-content: center;
}

.plot-box {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 45%;
    max-width: 50%;
    box-sizing: border-box;
    margin: 10px;
}

.plot-box > div {
    width: 100% !important;
    height: auto !important;
}

.plot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.download-button {
    background-color: var(--color-blue);
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.download-button:hover {
    background-color: #005A8C;
    color: white;
}

/* Download Dropdown Styles */
.download-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 140px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    margin-top: 4px;
    border: 1px solid #ddd;
}

.download-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    color: var(--color-primary);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--color-bg);
    color: var(--color-primary);
}

.dropdown-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.dropdown-item:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.toggle-label {
    font-size: 0.9rem;
    cursor: pointer;
}

.plot-description {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.full-width {
    flex: 1 1 100%;
    max-width: calc(100% - 20px);
}

/* Sections */
.section-block {
    width: 100%;
    margin: 40px auto;
}

.section-header {
    width: 100%;
    font-size: 1.8rem;
    color: var(--color-primary);
    text-align: center;
    margin: 20px 0;
    border-bottom: 2px solid var(--color-blue);
    padding-bottom: 10px;
}

/* Small screens */
@media (max-width: 1000px) {
    .plot-box {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Tabs */
/* Professional Tab Navigation */
.tabs {
    display: flex;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    background: transparent;
    border-bottom: 3px solid var(--color-cta);
    position: relative;
    width: 100%;
}

.tab-button {
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 16px;
    border-radius: 0;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 3px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-button:hover {
    background-color: rgba(48, 123, 191, 0.1);
    color: var(--color-blue);
}

.tab-button.active {
    background-color: white;
    color: var(--color-cta);
    border-bottom: 3px solid var(--color-cta);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.tab-button.active::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-cta);
    z-index: 1;
}

.tab-content {
    display: none;
    padding: 0;
    background: white;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    margin-top: 0;
}

.tab-content.active {
    display: block;
}

/* Tab content styling */
.tab-intro {
    background-color: white;
    margin: 20px 40px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-intro h2 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.tab-intro p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.tab-intro ul {
    line-height: 1.6;
}

.tab-intro li {
    margin-bottom: 8px;
}

/* Tab responsive design */
@media (max-width: 768px) {
    .tabs {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .tab-button {
        padding: 12px 20px;
        font-size: 14px;
        text-transform: none;
        letter-spacing: normal;
    }
    
    .tab-intro {
        margin: 20px 20px;
        padding: 20px;
    }
}

/* ==========================================================================
   Landing Page: Navigation Hub
   ========================================================================== */

.landing-hero {
    text-align: center;
    padding: 50px 20px 30px;
}

.landing-title {
    color: var(--color-primary);
    font-size: 2.4rem;
    margin: 0 0 12px;
    font-weight: 700;
}

.landing-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.landing-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.stat-badge {
    display: inline-block;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: var(--font-size-small);
    color: var(--color-text);
}

.stat-badge strong {
    color: var(--color-primary);
}

/* Landing Cards */
.landing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 20px auto 40px;
    padding: 0 20px;
}

.landing-card {
    background: var(--color-surface);
    border-radius: 10px;
    padding: 30px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: var(--color-text);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.landing-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card-icon {
    color: var(--color-blue);
    margin-bottom: 16px;
}

.landing-card h2 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin: 0 0 10px;
}

.landing-card p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-small);
    line-height: 1.6;
    margin: 0 0 16px;
    flex-grow: 1;
}

.card-action {
    color: var(--color-cta);
    font-weight: 600;
    font-size: var(--font-size-small);
}

/* Landing Info (expandable AOP-Wiki intro) */
.landing-info {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.aopwiki-intro {
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: var(--font-size-small);
}

.aopwiki-intro > summary {
    cursor: pointer;
    padding: 10px 14px;
    color: var(--color-blue);
    font-weight: 500;
    user-select: none;
}

.aopwiki-intro > summary:hover {
    background-color: #f9f9f9;
}

.intro-content {
    padding: 14px 18px;
    background-color: #fafafa;
    border-top: 1px solid var(--color-border);
    line-height: 1.6;
}

.intro-content p {
    margin: 8px 0;
}

.intro-content a {
    color: var(--color-blue);
    text-decoration: none;
}

.intro-content a:hover {
    text-decoration: underline;
}

/* Landing page responsive */
@media (max-width: 900px) {
    .landing-hero {
        padding: 30px 16px 20px;
    }

    .landing-title {
        font-size: 1.8rem;
    }

    .landing-subtitle {
        font-size: 1rem;
    }

    .landing-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px 40px;
}

.about-page h1 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 30px;
}

.about-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.about-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.about-section h2 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin: 0 0 12px;
}

.about-section p {
    line-height: 1.6;
    margin: 0 0 10px;
}

.about-section ul {
    line-height: 1.6;
    padding-left: 24px;
}

.about-section li {
    margin-bottom: 8px;
}

.about-link {
    color: var(--color-blue);
    text-decoration: none;
}

.about-link:hover {
    text-decoration: underline;
}

.about-section a:not(.about-link) {
    color: var(--color-blue);
    text-decoration: none;
}

.about-section a:not(.about-link):hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .about-page {
        padding: 20px 16px 30px;
    }

    .about-page h1 {
        font-size: 1.6rem;
    }
}

/* ============================================
   Version Selector Styles
   ============================================ */

.version-selector-container {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3d3570 100%);
    padding: 20px 40px;
    margin: 0 auto 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.version-selector-label {
    color: white;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.label-icon {
    font-size: 20px;
}

.version-selector {
    padding: 10px 20px;
    font-size: 15px;
    border: 2px solid var(--color-cta);
    border-radius: 8px;
    background: white;
    color: var(--color-primary);
    cursor: pointer;
    font-weight: 500;
    min-width: 200px;
    transition: all 0.3s ease;
}

.version-selector:hover {
    border-color: var(--color-warm-pink);
    box-shadow: 0 2px 8px rgba(230, 0, 126, 0.3);
}

.version-selector:focus {
    outline: none;
    border-color: var(--color-cta);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.2);
}

/* Version Banner (Historical Version Indicator) */
.version-banner {
    background: linear-gradient(135deg, var(--color-blue) 0%, #4a94d4 100%);
    color: white;
    padding: 15px 30px;
    margin: 0 auto 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.version-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.version-banner-icon {
    font-size: 20px;
}

.version-banner-text {
    font-size: 15px;
}

.version-banner-text strong {
    font-weight: 700;
    text-decoration: underline;
}

.version-banner-reset {
    background: white;
    color: var(--color-blue);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.version-banner-reset:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.version-banner-reset:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .version-selector-container {
        padding: 15px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .version-selector-label {
        font-size: 15px;
    }

    .version-selector {
        width: 100%;
        min-width: unset;
    }

    .version-banner {
        padding: 12px 20px;
    }

    .version-banner-content {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   Methodology Notes
   ============================================ */

.methodology-note {
    margin-top: 8px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
}

.methodology-note > summary {
    cursor: pointer;
    padding: 8px 12px;
    color: var(--color-blue);
    font-weight: 500;
    user-select: none;
}

.methodology-note > summary:hover {
    background-color: #f9f9f9;
}

.methodology-content {
    padding: 12px 16px;
    background-color: #fafafa;
    border-top: 1px solid #e0e0e0;
    line-height: 1.6;
}

.methodology-content p {
    margin: 6px 0;
}

.sparql-query > summary {
    cursor: pointer;
    color: #666;
    font-size: 12px;
    margin-top: 8px;
}

.sparql-query pre {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 11px;
    line-height: 1.4;
    max-height: 300px;
    overflow-y: auto;
}

/* ============================================
   Raw Data Table Styles
   ============================================ */

.data-table-container {
    margin-top: 10px;
}

.data-table-toggle {
    background-color: transparent;
    color: var(--color-blue);
    border: 1px solid var(--color-blue);
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.data-table-toggle:hover {
    background-color: var(--color-blue);
    color: white;
}

.data-table-wrapper {
    overflow-x: auto;
    max-height: 500px;
    overflow-y: auto;
    margin-top: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.raw-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85em;
}

.raw-data-table th {
    background-color: var(--color-primary);
    color: white;
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}

.raw-data-table td {
    border-bottom: 1px solid #ddd;
    padding: 6px 8px;
    white-space: nowrap;
}

.raw-data-table tr:hover {
    background-color: #f0f0f0;
}

.raw-data-table tr:nth-child(even) {
    background-color: #fafafa;
}

.data-table-truncated {
    font-size: 0.85em;
    color: #666;
    margin-top: 8px;
    font-style: italic;
    padding: 4px 0;
}

.data-table-loading,
.data-table-empty {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 0.9em;
}

/* ==========================================================================
   Main Navigation Bar (base.html)
   ========================================================================== */

.main-nav {
    background-color: var(--color-nav-bg);
    padding: 0;
    width: 100%;
    z-index: 100;
}

.nav-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    min-height: var(--nav-height);
    flex-wrap: wrap;
}

.nav-brand {
    color: var(--color-nav-text);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
    margin-right: auto;
    padding: 12px 0;
}

.nav-brand:hover {
    color: var(--color-nav-hover);
}

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

.main-nav .nav-links .nav-link {
    color: var(--color-nav-text);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-small);
    padding: 8px 16px;
    border-radius: 0;
    background: transparent;
    transition: color 0.2s ease, border-bottom 0.2s ease;
    border-bottom: 3px solid transparent;
    display: inline-block;
    line-height: var(--nav-height);
    box-sizing: border-box;
    transform: none;
    box-shadow: none;
}

.main-nav .nav-links .nav-link:hover {
    color: var(--color-nav-hover);
    background: transparent;
    transform: none;
    box-shadow: none;
}

.main-nav .nav-links .nav-link.active {
    color: var(--color-nav-text);
    border-bottom: 3px solid var(--color-cta);
    background: transparent;
}

/* nav-version-selector removed: version selector now lives inside page content */

/* ==========================================================================
   Main Footer (base.html)
   ========================================================================== */

.main-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 30px 20px;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

.footer-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    max-height: 40px;
    width: auto;
}

.footer-project-name {
    font-weight: 600;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--color-footer-text);
    text-decoration: none;
    font-size: var(--font-size-small);
    transition: text-decoration 0.2s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-funding {
    font-size: var(--font-size-small);
    opacity: 0.85;
}

.footer-funding a {
    color: var(--color-footer-text);
    text-decoration: underline;
}

/* ==========================================================================
   Page Content (base.html)
   ========================================================================== */

.page-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
}

/* Page header block inside base.html main area */
.page-title-section {
    text-align: center;
    padding: 30px 0 10px;
}

.page-title-section h1 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 8px;
}

.page-title-section p {
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Responsive: Navigation & Footer (tablet/mobile)
   ========================================================================== */

@media (max-width: 900px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 8px 16px;
    }

    .nav-brand {
        flex: 1 1 100%;
        text-align: center;
        padding: 8px 0;
    }

    .main-nav .nav-links {
        flex: 1 1 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2px;
        padding-bottom: 8px;
    }

    .main-nav .nav-links .nav-link {
        padding: 6px 12px;
        font-size: var(--font-size-xs);
        line-height: normal;
    }

    .page-content {
        padding: 0 10px;
    }

    .footer-container {
        gap: 10px;
    }

    .footer-links {
        gap: 16px;
    }
}
