/* ==========================================================================
   THEME: 2026 BALLON D'OR GUIDE - WHITE & YELLOW EDITORIAL LIQUID GLOSS
   BRAND: Signalpathfindrhq (signalpathfindrhq.yachts)
   PRIMARY COLOR PALETTE:
   - Background: Pure Crisp White (#FFFFFF) & Soft Cream Tint (#FFFDF5)
   - Primary Text: Deep Charcoal Navy (#111827 / #1F2937)
   - Accent Yellow/Gold: Golden Yellow (#EAB308), Rich Gold (#D4AF37), Warm Amber (#CA8A04)
   - Soft Gold Wash: Warm Golden Cream (#FEF9C3 / #FEF3C7)
   - Borders: Subtle Amber Gray (#E5E7EB / #FDE68A)
   ========================================================================== */

:root {
    --color-bg: #FFFFFF;
    --color-bg-alt: #FAFAF9;
    --color-card-bg: #FFFFFF;
    --color-text-dark: #0F172A;
    --color-text-body: #334155;
    --color-text-muted: #64748B;
    
    --color-yellow-primary: #CA8A04;
    --color-yellow-bright: #EAB308;
    --color-yellow-gold: #D4AF37;
    --color-yellow-hover: #A16207;
    --color-yellow-light: #FEF9C3;
    --color-yellow-badge: #FEF08A;
    --color-yellow-border: #FDE047;

    --color-green-accent: #0D9488;
    --color-green-light: #CCFBF1;
    --color-red-accent: #E11D48;
    --color-red-light: #FFE4E6;

    --border-light: #E2E8F0;
    --border-yellow: #FCD34D;

    --shadow-sm: 0 2px 8px rgba(202, 138, 4, 0.06);
    --shadow-card: 0 10px 30px -5px rgba(202, 138, 4, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 35px -8px rgba(202, 138, 4, 0.18), 0 8px 16px -4px rgba(0, 0, 0, 0.06);

    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE STYLES */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    background-image: 
        radial-gradient(circle at 5% 10%, rgba(254, 240, 138, 0.35) 0%, transparent 35%),
        radial-gradient(circle at 95% 90%, rgba(253, 224, 71, 0.25) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--color-text-body);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: var(--color-yellow-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover, a:focus {
    color: var(--color-yellow-hover);
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: 2.6rem;
    letter-spacing: -0.02em;
    color: var(--color-text-dark);
}

h2 {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-body);
}

.text-link {
    text-decoration: underline;
    color: var(--color-yellow-primary);
    font-weight: 600;
}

.text-link:hover {
    color: var(--color-yellow-hover);
}

/* ELEVATED WHITE & YELLOW GLASS CARDS */
.glass-card {
    background: var(--color-card-bg);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--color-yellow-bright);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--color-yellow-border);
    box-shadow: var(--shadow-hover);
}

/* IMAGE DISPLAY & FEATURE DESCRIPTIVE CLASSES */
.hero-banner-image {
    width: 100%;
    height: auto;
    max-height: 280px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(202, 138, 4, 0.15);
    border: 2px solid var(--color-yellow-border);
    transition: transform var(--transition-smooth);
}

.hero-banner-image:hover {
    transform: scale(1.02);
}

.note-feature-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 1px solid var(--color-yellow-border);
    box-shadow: var(--shadow-sm);
}

.methodology-feature-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-yellow-border);
    box-shadow: var(--shadow-sm);
}

.editorial-header-image {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-top: 1.25rem;
    border: 2px solid var(--color-yellow-border);
    box-shadow: var(--shadow-card);
}

/* SLIM NON-STICKY HEADER */
.gloss-header {
    position: relative;
    top: auto;
    z-index: 100;
    background: #FFFFFF;
    border-bottom: 2px solid var(--color-yellow-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--color-text-dark);
}

.logo-badge {
    background: linear-gradient(135deg, var(--color-yellow-bright) 0%, var(--color-yellow-primary) 100%);
    color: #000000;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.brand-name {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    letter-spacing: -0.01em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.75rem;
}

.main-nav a {
    color: var(--color-text-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--color-text-dark);
    background: var(--color-yellow-light);
    border: 1px solid var(--color-yellow-border);
}

/* MOBILE NAV TOGGLE */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.hamburger-bar {
    width: 22px;
    height: 2px;
    background: var(--color-text-dark);
    transition: var(--transition-fast);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-yellow-bright) 0%, var(--color-yellow-primary) 100%);
    color: #0F172A;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FACC15 0%, #CA8A04 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(234, 179, 8, 0.45);
    color: #000000;
}

.btn-secondary {
    background: var(--color-yellow-light);
    color: var(--color-text-dark);
    border: 1px solid var(--color-yellow-border);
}

.btn-secondary:hover {
    background: var(--color-yellow-badge);
    transform: translateY(-2px);
}

.btn-outline {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--color-text-body);
}

.btn-outline:hover {
    border-color: var(--color-yellow-primary);
    color: var(--color-yellow-primary);
    background: var(--color-yellow-light);
}

.btn-text {
    background: transparent;
    color: var(--color-yellow-primary);
    padding: 0.4rem 0;
    font-weight: 700;
}

.btn-text:hover {
    color: var(--color-yellow-hover);
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
}

/* SECTION CONTAINERS */
.section-container {
    max-width: 1280px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

.section-header {
    margin-bottom: 1.75rem;
}

.section-sub {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* MASTHEAD HERO */
.hero-masthead {
    max-width: 1280px;
    margin: 1.5rem auto;
    padding: 0 1.5rem;
}

.hero-card {
    padding: 3.5rem 2.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FEFCE8 100%);
    border: 1px solid var(--color-yellow-border);
    border-top: 5px solid var(--color-yellow-bright);
}

.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-graphic-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-yellow-light);
    border: 2px dashed var(--color-yellow-border);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.editorial-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--color-yellow-light);
    border: 1px solid var(--color-yellow-border);
    color: var(--color-yellow-primary);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.hero-title {
    margin-bottom: 0.85rem;
    font-size: 2.8rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    color: var(--color-text-body);
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* RANKING RAIL */
.ranking-rail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 0.85rem;
}

.rail-item {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--color-yellow-bright);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.rail-item:hover {
    border-color: var(--color-yellow-primary);
    background: var(--color-yellow-light);
    transform: translateX(3px);
}

.rail-pos {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-yellow-primary);
    font-size: 1.1rem;
}

.rail-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

/* STATUS BADGES */
.status-badge, .rail-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-badge.frontrunner, .rail-badge.frontrunner {
    background: #FEF08A;
    color: #854D0E;
    border: 1px solid #FACC15;
}

.status-badge.challenger, .rail-badge.challenger {
    background: var(--color-green-light);
    color: #0F766E;
    border: 1px solid #5EEAD4;
}

.status-badge.outside, .rail-badge.outside {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

/* CONTENDERS GRID */
.contenders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.75rem;
}

.contender-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.player-card-image-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-yellow-light);
    border: 2px solid var(--color-yellow-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.player-card-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-yellow-primary);
    line-height: 1;
}

.player-title h3 {
    font-size: 1.3rem;
    color: var(--color-text-dark);
}

.club-label {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.editorial-excerpt {
    font-size: 0.92rem;
    margin-bottom: 1rem;
    color: var(--color-text-body);
}

.stats-mini-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    background: var(--color-yellow-light);
    border: 1px solid var(--color-yellow-border);
    border-radius: var(--radius-sm);
    padding: 0.6rem;
    text-align: center;
    margin-bottom: 1rem;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-yellow-primary);
}

.stat-key {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.card-content-block h4 {
    font-size: 0.9rem;
    color: var(--color-text-dark);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-content-block ul {
    list-style-type: square;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    color: var(--color-text-body);
    margin-bottom: 1.25rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 0.85rem;
    margin-top: auto;
}

/* DATA TABLES */
.full-width-card {
    width: 100%;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    text-align: left;
    font-size: 0.9rem;
}

.data-table th, .data-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-light);
}

.data-table th {
    background: var(--color-yellow-light);
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    border-bottom: 2px solid var(--color-yellow-border);
}

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

.highlight-green {
    color: var(--color-green-accent);
    font-weight: 700;
}

.highlight-gold {
    color: var(--color-yellow-primary);
    font-weight: 800;
}

.table-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

/* FACTS GRID */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.fact-card {
    padding: 1.5rem;
    background: #FFFFFF;
}

.fact-tag {
    font-size: 0.72rem;
    color: var(--color-yellow-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.4rem;
}

/* RACE NOTES & FEED */
.notes-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.note-item {
    border-left: 4px solid var(--color-yellow-bright);
    padding-left: 1.25rem;
    background: #FFFDF5;
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.note-date {
    font-size: 0.75rem;
    color: var(--color-yellow-primary);
    font-weight: 700;
}

.note-card {
    margin-bottom: 1.5rem;
    background: #FFFFFF;
}

.note-meta {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 0.6rem;
}

.note-badge {
    background: var(--color-yellow-light);
    color: var(--color-yellow-primary);
    border: 1px solid var(--color-yellow-border);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
}

/* METHODOLOGY STRIP */
.methodology-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, #FEFCE8 0%, #FFFFFF 100%);
    border: 1px solid var(--color-yellow-border);
    border-left: 5px solid var(--color-yellow-bright);
}

.margin-top-md { margin-top: 1.25rem; }
.margin-top-lg { margin-top: 2rem; }
.text-center { text-align: center; }

/* CONTENDER INDEX DETAIL PAGE */
.index-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    background: #FFFFFF;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.filter-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--color-text-body);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--color-yellow-bright);
    border-color: var(--color-yellow-border);
    color: #000000;
    font-weight: 700;
}

.index-detail-card {
    margin-bottom: 2rem;
    background: #FFFFFF;
    border-top: 4px solid var(--color-yellow-bright);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.detail-player-avatar-large {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-yellow-light);
    border: 2px solid var(--color-yellow-border);
    overflow: hidden;
    flex-shrink: 0;
}

.detail-player-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-rank {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-yellow-primary);
    font-weight: 800;
}

.club-info {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.detail-col h4 {
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    border-bottom: 2px solid var(--color-yellow-light);
    padding-bottom: 0.25rem;
}

.detail-col ul {
    list-style-type: square;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.92rem;
}

.editorial-deep-analysis {
    background: #FFFDF5;
    border: 1px solid var(--color-yellow-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-top: 1.25rem;
}

.editorial-deep-analysis h4 {
    color: var(--color-yellow-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* ACCORDIONS */
.gloss-accordion {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.gloss-accordion summary {
    padding: 0.85rem 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text-dark);
    cursor: pointer;
    user-select: none;
    background: #FFFDF8;
}

.gloss-accordion summary:hover {
    background: var(--color-yellow-light);
}

.accordion-body {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-light);
    background: #FFFFFF;
}

/* LAYOUT GRIDS */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

/* FORMS */
.gloss-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.88rem;
    color: var(--color-text-dark);
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem;
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: 0.92rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-yellow-primary);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

/* LEGAL PAGES TABLE & LIST STYLES */
.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.88rem;
}

.policy-table th, .policy-table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    text-align: left;
}

.policy-table th {
    background: var(--color-yellow-light);
    color: var(--color-text-dark);
    font-family: var(--font-heading);
}

.content-card ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.content-card li {
    margin-bottom: 0.4rem;
}

/* FOOTER */
.gloss-footer {
    background: #1E293B;
    color: #F8FAFC;
    border-top: 4px solid var(--color-yellow-bright);
    padding: 3.5rem 1.5rem 2rem 1.5rem;
    margin-top: 4rem;
}

.gloss-footer p, .gloss-footer h4, .gloss-footer a {
    color: #E2E8F0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand .brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-yellow-bright);
    display: block;
    margin-bottom: 0.6rem;
}

.footer-desc {
    font-size: 0.88rem;
    color: #94A3B8;
}

.footer-links-col h4 {
    font-size: 0.95rem;
    color: #FFFFFF;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-links-col a {
    color: #CBD5E1;
    font-size: 0.85rem;
}

.footer-links-col a:hover {
    color: var(--color-yellow-bright);
}

.footer-disclaimer-box {
    border-top: 1px solid #334155;
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.8rem;
    color: #94A3B8;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* COOKIE POPUP MODAL */
.cookie-modal-overlay {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 460px;
    width: calc(100% - 40px);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.cookie-modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.cookie-modal-card {
    background: #FFFFFF;
    border: 2px solid var(--color-yellow-border);
    border-top: 4px solid var(--color-yellow-bright);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.cookie-modal-card h3 {
    color: var(--color-text-dark);
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.cookie-modal-card p {
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
    color: var(--color-text-body);
}

.cookie-options-panel {
    background: var(--color-yellow-light);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
    border: 1px solid var(--color-yellow-border);
}

.cookie-option {
    margin-bottom: 0.4rem;
    color: var(--color-text-dark);
}

.cookie-btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* UTILITY CLASSES */
.hidden { display: none !important; }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
    .contenders-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .hero-grid-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-graphic-box {
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .mobile-nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        border-bottom: 2px solid var(--color-yellow-border);
        padding: 1.25rem;
        display: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.75rem;
    }

    .contenders-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid, .grid-2col, .footer-grid {
        grid-template-columns: 1fr;
    }

    .methodology-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-card {
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .ranking-rail-grid {
        grid-template-columns: 1fr;
    }

    .cookie-btn-group {
        flex-direction: column;
    }

    .cookie-btn-group button {
        width: 100%;
    }
}