:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #475569;
    --accent: #ef4444; /* Laser Red */
    --bg-light: #f8fafc;
    --surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
}

.brand-logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-btn {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: var(--primary-dark);
}

/* Hero / Event Header */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 30px 30px;
}

.event-badge {
    background: var(--accent);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 2rem;
    z-index: 1;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.2);
}

/* Main Content */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2rem;
    }
}

/* Section Styles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

/* Updates Feed */
.updates-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.update-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.update-card:hover {
    box-shadow: var(--shadow);
}

.update-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.update-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
}

.update-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.update-content {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* Console Cards (Sidebar) */
.console-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.console-card {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.console-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.console-header {
    padding: 1.5rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.console-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.console-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.console-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.console-body {
    padding: 1.5rem;
}

.console-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.console-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary);
}

.console-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* Footer */
.footer {
    margin-top: auto;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background-color: #ffffff;
    min-width: 280px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 16px;
    z-index: 100;
    color: var(--text-main);
    border: 1px solid var(--border);
    animation: fadeIn 0.2s ease;
}

.dropdown-content.show {
    display: block;
}

.form-group {
    margin-bottom: 12px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Featured Section */
.featured-section {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featured-card {
    background: #1e293b; /* Slate 800 */
    border: 1px solid #334155; /* Slate 700 */
    border-left: 4px solid var(--accent); /* Red Accent like Racing America */
    border-radius: 0.5rem;
    padding: 0;
    color: white;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    align-items: stretch;
    min-height: 120px;
}

.featured-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #25354c;
}

/* Date Box (Left) */
.featured-date-box {
    background: rgba(0,0,0,0.2);
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    flex-shrink: 0;
}

.fd-month {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.fd-day {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: white;
}

/* Content (Middle) */
.featured-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative; /* For logo positioning */
}

.featured-logo {
    position: absolute;
    top: 50%;
    right: 1rem;
    left: auto;
    transform: translateY(-50%);
    height: 90%;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.featured-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.featured-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.featured-org {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-tag {
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: white;
}

.featured-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.featured-info .sep {
    color: #475569;
}

/* Action (Right) */
.featured-action {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-left: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
}

.btn-view {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.2s;
    white-space: nowrap;
}

.featured-card:hover .btn-view {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(239, 68, 68, 0.1);
}

@media (max-width: 768px) {
    .featured-card {
        flex-direction: column;
    }
    .featured-date-box {
        width: 100%;
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.5rem;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .fd-day { font-size: 1.5rem; }
    .featured-action {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.05);
        padding: 1rem;
    }
    .btn-view { width: 100%; text-align: center; }
}

/* Feed Toggle */
.feed-toggle {
    display: flex;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.25rem;
    gap: 0.25rem;
}

.toggle-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn:hover {
    color: var(--primary);
    background: var(--bg-light);
}

.toggle-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}



/* Event Feed */
.events-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary); /* Blue for standard events */
    border-radius: 0.5rem;
    padding: 0;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: stretch;
    min-height: 100px;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary); /* Highlight border on hover */
    border-left-color: var(--primary-dark);
}

/* Date Box (Left) - Smaller than featured */
.event-date-box {
    background: var(--bg-light);
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    padding: 0.75rem;
    flex-shrink: 0;
}

.ed-month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary); /* Blue accent */
    letter-spacing: 0.05em;
}

.ed-day {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-main);
}

/* Content (Middle) */
.event-content {
    flex: 1;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.event-org {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.event-meta .sep {
    color: var(--border);
}

/* Action (Right) */
.event-action {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-left: 1px solid var(--border);
    background: var(--bg-light);
    min-width: 140px;
}

.btn-event-view {
    background: white;
    border: 1px solid var(--border);
    color: var(--secondary);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.2s;
    white-space: nowrap;
}

.event-card:hover .btn-event-view {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
    }
    .event-date-box {
        width: 100%;
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.5rem;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .ed-day { font-size: 1.25rem; }
    .event-action {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.05);
        padding: 0.75rem;
        min-width: auto;
    }
    .btn-event-view { width: 100%; text-align: center; }
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-detail-item .icon {
    font-size: 1rem;
    opacity: 0.7;
}

.event-card-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

.view-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s;
}

.event-card:hover .view-link {
    gap: 0.5rem;
}

/* Pagination */
.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-icon {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.2s;
}

.btn-icon:hover:not(:disabled) {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-icon:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Score Strip */
.score-strip-container {
    background: #0f172a; /* Dark NFL-like background */
    border-bottom: 1px solid #334155;
    padding: 0.5rem 0;
    overflow: hidden;
    position: relative;
}

.score-strip-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 1.5rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    /* scroll-behavior: smooth; Removed to prevent conflict with JS animation */
}

.score-strip-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.score-card {
    flex: 0 0 160px; /* Much smaller base width */
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 4px;
    padding: 0.5rem;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    transition: background 0.2s;
    font-size: 0.75rem; /* Smaller base font */
}

.score-card.result-card {
    flex: 0 0 220px; /* Compact result card */
}

.score-card:hover {
    background: #334155;
}

.score-divider {
    width: 2px;
    background: #94a3b8; /* Lighter slate for better visibility */
    margin: 0 0.5rem;
    height: 60%;
    align-self: center;
    flex-shrink: 0;
    opacity: 0.5;
}

/* Mobile Adjustments for Score Strip */
@media (max-width: 768px) {
    .score-card {
        flex: 0 0 100px;
        font-size: 0.58rem;
        padding: 0.25rem;
    }
    
    .score-card.result-card {
        flex: 0 0 140px;
    }

    .sc-place-badge {
        width: 0.95rem;
        height: 0.95rem;
        font-size: 0.52rem;
    }
    
    .sc-winner-row {
        gap: 0.2rem;
        padding: 0.12rem;
    }

    .sc-org {
        font-size: 0.52rem;
    }
    
    .sc-event-name {
        font-size: 0.62rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .sc-vehicle {
        font-size: 0.62rem;
    }
    
    .sc-driver {
        font-size: 0.58rem;
    }
    
    .sc-dist {
        font-size: 0.62rem;
    }
}

/* Header Row (Org + Date/Status) */
.sc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.2rem;
}

.sc-org {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
}

.sc-date {
    font-size: 0.65rem;
    color: #64748b;
}

.sc-status {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.status-upcoming { color: #60a5fa; }

/* Event Name */
.sc-event-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Class Name (Results only) */
.sc-class {
    font-size: 0.65rem;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

/* Winner Row (Results only) */
.sc-winner-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.03);
    padding: 0.25rem;
    border-radius: 3px;
    margin-top: auto;
}

.sc-place-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
    background: #334155;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    flex-shrink: 0;
}

.place-1 { background: #fbbf24; color: #000; } /* Gold */
.place-2 { background: #94a3b8; color: #000; } /* Silver */
.place-3 { background: #b45309; color: #fff; } /* Bronze */

.sc-driver-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    line-height: 1.1;
}

.sc-vehicle {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sc-driver {
    font-size: 0.65rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sc-dist {
    font-size: 0.75rem;
    font-weight: 700;
    color: #60a5fa; /* Blueish for distance */
    white-space: nowrap;
}

/* Meta (Future events) */
.sc-meta {
    margin-top: auto;
    padding-top: 0.25rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #94a3b8;
}


/* Feed Navigation */
.feed-wrapper {
    position: relative;
}

.feed-nav-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
}

.feed-wrapper:hover .feed-nav-overlay:not(.disabled) {
    opacity: 0.6;
}

.feed-nav-overlay:hover:not(.disabled) {
    opacity: 1 !important;
}

.nav-prev {
    left: -60px;
}

.nav-next {
    right: -60px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.feed-nav-overlay:hover .nav-arrow {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.feed-nav-overlay.disabled {
    display: none;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .nav-prev { left: -20px; }
    .nav-next { right: -20px; }
}

@media (max-width: 768px) {
    .feed-nav-overlay { display: none !important; }
}

