/* =========================================
   REGISTER PAGE STYLES (register.css)
   ========================================= */

/* --- 1. HERO SECTION --- */
.register-hero {
    background-color: var(--brand-dark);
    /* Image with Dark Green Gradient Overlay */
    background-image: linear-gradient(rgba(20, 39, 33, 0.9), rgba(20, 39, 33, 0.7)), 
                      url('/images/runners-on-gravel-road.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Scroll is safer for mobile support */
    padding: 100px 0;
    color: var(--white);
    position: relative;
    border-bottom: 8px solid var(--brand-gold);
}

.hero-split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Left Side: Text */
.hero-left {
    flex: 1;
    text-align: left;
}

.register-hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff !important;
}

.register-hero .sub-headline {
    font-size: 1.5rem;
    color: var(--brand-gold);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.register-hero p {
    font-size: 1.2rem;
    opacity: 1;
    max-width: 500px;
    margin-bottom: 0;
    color: #f0f0f0 !important;
}

/* Right Side: The "Race Bib" Info Card */
.hero-right {
    flex: 0 0 400px; 
}

.race-info-card {
    background: #ffffff;
    color: var(--brand-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    position: relative;
    transform: rotate(2deg);
    border: 4px solid var(--brand-gold);
}

/* The "Hole" in the bib */
.race-info-card::before, .race-info-card::after {
    content: '';
    position: absolute;
    top: 15px;
    width: 15px;
    height: 15px;
    background: var(--brand-dark);
    border-radius: 50%;
}
.race-info-card::before { left: 15px; }
.race-info-card::after { right: 15px; }

.info-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ccc;
}
.info-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-row i { font-size: 1.5rem; color: var(--brand-gold); width: 30px; text-align: center; }
.info-text strong { display: block; font-size: 1.1rem; font-weight: 800; }
.info-text span { font-size: 0.95rem; color: #666; }


/* --- 2. RACE OPTIONS SECTION --- */
.race-options-section {
    padding: 80px 0;
    background-color: #f4f4f4; 
}

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

.race-option-card {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.race-option-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-gold);
}

.race-option-card h3 { font-size: 1.8rem; margin-bottom: 5px; color: var(--brand-dark); }
.race-price { font-size: 3rem; font-weight: 800; color: var(--brand-gold); display: block; margin-bottom: 20px; }

.race-details-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}
.race-details-list li { padding: 8px 0; color: #666; border-bottom: 1px solid #eee; }
.race-details-list i { color: var(--brand-dark); width: 20px; }

/* BUTTONS FIX: CENTERING & VISIBILITY */
.race-option-card .btn {
    display: block !important;
    width: 100% !important;
    max-width: 85% !important; /* Prevents button from touching card edges */
    margin: 20px auto 0 auto !important; /* CENTERED */
    padding: 15px 0 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}

/* Primary (Gold) */
.race-option-card .btn-primary {
    background-color: var(--brand-gold) !important;
    color: var(--brand-dark) !important;
    border: 2px solid var(--brand-gold) !important;
}
.race-option-card .btn-primary:hover {
    background-color: var(--brand-dark) !important;
    color: var(--brand-gold) !important;
    border-color: var(--brand-dark) !important;
}

/* Outline (Transparent/Dark) */
.race-option-card .btn-outline {
    background-color: transparent !important;
    color: var(--brand-dark) !important;
    border: 2px solid var(--brand-dark) !important;
}
.race-option-card .btn-outline:hover {
    background-color: var(--brand-dark) !important;
    color: #ffffff !important;
    border-color: var(--brand-dark) !important;
}


/* --- 3. REGISTRATION INSTRUCTIONS --- */
.how-to-register {
    background: #ffffff;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #eee;
}
.step-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fdfdfd;
    border: 2px dashed var(--brand-dark);
    padding: 30px;
    border-radius: 12px;
}


/* --- 4. EXPERIENCE GRID --- */
.experience-section {
    padding: 10px 0;
    background: #ffffff;
}
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.experience-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.experience-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}
.experience-item:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}
.experience-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--brand-gold);
    color: var(--brand-dark);
    padding: 8px 16px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


/* --- 5. PERKS SECTION --- */
.perks-section {
    padding: 40px 0; /* Updated Padding */
    /* Background Image + Dark Overlay */
    background: linear-gradient(rgba(20, 39, 33, 0.9), rgba(20, 39, 33, 0.85)), 
                url('/images/frisbee-game.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    border-top: 8px solid var(--brand-gold);
}

.perks-section h2 {
    color: #ffffff !important;
    margin-bottom: 20px;
}

.perks-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.perk-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-bottom: 5px solid var(--brand-gold);
    transition: transform 0.3s ease;
    text-align: left;
}

.perk-card:hover { transform: translateY(-10px); }

.perk-icon-box {
    width: 70px; height: 70px;
    background: #fff;
    border: 2px solid var(--brand-gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px auto;
    color: var(--brand-dark);
    font-size: 1.8rem;
}

.perk-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--brand-dark);
    font-weight: 800;
    text-align: center;
}

.perk-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}


/* --- 6. TIMELINE SCHEDULE --- */
.schedule-section { padding: 80px 0; background-color: #ffffff; }

.timeline-container {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    padding-left: 30px;
}

/* The Vertical Line */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background: #eee;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.timeline-item:last-child { margin-bottom: 0; }

/* The Gold Dot */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--brand-gold);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--brand-gold);
}

.timeline-time {
    display: inline-block;
    background: var(--brand-dark);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 1.4rem;
    color: var(--brand-dark);
    margin-bottom: 5px;
    font-weight: 800;
}

.timeline-content p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}


/* --- 7. FINAL CTA SECTION --- */
.final-cta-section {
    background-color: var(--brand-dark);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
}

.final-cta-section h2 {
    color: #ffffff !important;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.final-cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}


/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
    
    /* Hero Padding & Layout */
    .register-hero {
        padding: 40px 0 !important;
    }

    .hero-split-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-left { text-align: center; }
    
    /* Center the Official Entry Card */
    .hero-right { 
        width: 100%; 
        display: flex;
        justify-content: center;
    }
    
    .race-info-card {
        transform: rotate(0deg); 
        max-width: 100%;
        margin: 0 auto; 
        width: 100%; 
    }

    .race-grid { grid-template-columns: 1fr; }
    .experience-grid { grid-template-columns: 1fr; }
    .perks-container { grid-template-columns: 1fr; gap: 30px; }
    
    .register-hero h1 { font-size: 2.5rem; }
}
/* --- 3. MERGED REGISTRATION SECTION --- */
.registration-info-section {
    background: #ffffff;
    padding: 80px 0;
    border-top: 1px solid #eee;
}

.reg-split-container {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 0;
    align-items: stretch;
}

.reg-method-card {
    flex: 1;
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect for Cards */
.reg-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--brand-gold);
}

/* Distinct Top Borders to differentiate methods */
.method-online { border-top: 5px solid var(--brand-dark); }
.method-paper { border-top: 5px solid var(--brand-gold); }

.reg-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}
.method-online .reg-icon { color: var(--brand-dark); }
.method-paper .reg-icon { color: var(--brand-gold); }

.reg-method-card h3 {
    font-size: 1.5rem;
    color: var(--brand-dark);
    margin-bottom: 15px;
    font-weight: 800;
}

.reg-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reg-steps li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
}

.reg-steps li::before {
    content: '\f00c'; /* FontAwesome Checkmark */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-gold);
}

/* Download Buttons Styling (Clean & Modern) */
.download-group {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-file-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    color: var(--brand-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-file-download:hover {
    border-color: var(--brand-gold);
    background: var(--brand-gold);
    color: var(--brand-dark);
}

/* Mobile Responsiveness */
@media (max-width: 800px) {
    .reg-split-container {
        flex-direction: column;
        gap: 30px;
    }
}

/* --- REGISTRATION DEADLINE & SHIRT ORDER --- */
.registration-deadline-note {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    max-width: 850px;
    margin: 0 auto 35px;
    padding: 18px 22px;
    background: #fff8df;
    border: 1px solid #ead289;
    border-radius: 8px;
    color: var(--brand-dark);
    text-align: left;
}

.registration-deadline-note i {
    color: #b98916;
    font-size: 1.45rem;
    margin-top: 2px;
}

.registration-shirt-section {
    padding: 85px 0;
    background: var(--brand-light);
}

.registration-shirt-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 50px;
    align-items: center;
}

.registration-shirt-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(20,39,33,0.16);
}

.registration-shirt-content p {
    color: #596862;
    font-size: 1.03rem;
}

.registration-shirt-deadline {
    font-weight: 700;
}

.registration-shirt-deadline i {
    color: var(--brand-gold);
    margin-right: 8px;
}

@media (max-width: 850px) {
    .registration-shirt-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .registration-shirt-content {
        text-align: center;
    }

    .registration-shirt-content .divider {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* =========================================================
   2026 REGISTER PAGE COHESIVE REDESIGN
   Keeps action colors consistent and avoids gold text on white.
   ========================================================= */

:root {
    --register-surface: #f5f8f7;
    --register-surface-strong: #eaf0ed;
    --register-border: #d9e2de;
    --register-shadow: 0 12px 32px rgba(20, 39, 33, 0.08);
}

/* Reusable headings and dividers */
.registration-kicker {
    display: block;
    text-align: center;
    color: var(--brand-dark);
}

.register-section-title {
    color: var(--brand-dark);
    margin: 8px 0 12px;
}

.register-section-intro {
    max-width: 760px;
    margin: 0 auto 38px !important;
}

.registration-divider {
    width: 54px;
    height: 3px;
    margin: 16px auto 24px;
    background: var(--brand-dark);
    opacity: 1;
}

.registration-divider-light {
    background: var(--white);
    opacity: 0.72;
    margin-bottom: 46px;
}

/* Registration choices */
.race-options-section {
    background: var(--register-surface);
    padding: 82px 0 88px;
}

.registration-deadline-note {
    max-width: 900px;
    margin-bottom: 36px;
    background: var(--white);
    border: 1px solid var(--register-border);
    border-left: 5px solid var(--brand-dark);
    color: var(--text-main);
    box-shadow: 0 5px 18px rgba(20, 39, 33, 0.05);
}

.registration-deadline-note i {
    color: var(--brand-dark);
}

.race-grid {
    gap: 24px;
}

.race-option-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 38px 26px 30px;
    border: 1px solid var(--register-border);
    border-top: 5px solid var(--brand-dark);
    border-radius: 10px;
    box-shadow: var(--register-shadow);
}

.race-option-card:hover {
    border-color: var(--brand-dark);
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(20, 39, 33, 0.12);
}

.race-option-card h3 {
    font-size: 1.65rem;
}

.race-price {
    color: var(--brand-dark);
    font-size: 2.8rem;
    margin: 10px 0 22px;
}

.race-details-list {
    width: 100%;
    max-width: none;
    flex: 1;
    margin-bottom: 24px;
}

.race-details-list li {
    color: var(--text-main);
    border-color: #e8eeeb;
}

.race-details-list i {
    color: var(--brand-dark);
}

/* All primary page actions use the same dark green treatment. */
.race-option-card .btn,
.registration-shirt-section .btn,
.final-cta-section .btn,
.btn-file-download {
    background: var(--brand-dark) !important;
    border: 2px solid var(--brand-dark) !important;
    color: var(--white) !important;
    border-radius: 5px;
}

.race-option-card .btn:hover,
.registration-shirt-section .btn:hover,
.final-cta-section .btn:hover,
.btn-file-download:hover {
    background: #1f3a32 !important;
    border-color: #1f3a32 !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(20, 39, 33, 0.2);
}

/* Supporter shirt section */
.registration-shirt-section {
    padding: 84px 0;
    background: var(--white);
    border-top: 1px solid var(--register-border);
    border-bottom: 1px solid var(--register-border);
}

.registration-shirt-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
}

.registration-shirt-image img {
    border-radius: 12px;
    border: 1px solid var(--register-border);
    box-shadow: var(--register-shadow);
}

.registration-shirt-content .section-kicker {
    color: var(--brand-dark);
}

.registration-shirt-content h2 {
    margin-bottom: 18px;
}

.registration-shirt-content p {
    color: var(--text-main);
    line-height: 1.75;
}

.shirt-price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0 20px;
}

.shirt-price-card {
    padding: 18px 20px;
    background: var(--register-surface);
    border: 1px solid var(--register-border);
    border-radius: 8px;
}

.shirt-price-card span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.shirt-price-card strong {
    display: block;
    color: var(--brand-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
}

.registration-shirt-deadline {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 0 0 20px;
    color: var(--brand-dark) !important;
}

.registration-shirt-deadline i {
    color: var(--brand-dark);
}

.shirt-action-group,
.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.shirt-action-group .btn,
.final-cta-actions .btn {
    margin: 0;
}

.shirt-registration-note {
    margin: 18px 0 0;
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
}

/* Registration process cards */
.registration-info-section {
    background: var(--register-surface);
}

.reg-method-card {
    background: var(--white);
    border: 1px solid var(--register-border);
    border-top: 5px solid var(--brand-dark);
    box-shadow: var(--register-shadow);
}

.method-paper {
    border-top-color: var(--brand-dark);
}

.method-online .reg-icon,
.method-paper .reg-icon {
    color: var(--brand-dark);
}

.reg-steps li::before {
    color: var(--brand-dark);
}

/* Image strip */
.experience-section {
    padding: 36px 0;
    background: var(--white);
}

.experience-caption {
    background: var(--brand-dark);
    color: var(--white);
}

/* Race highlights retain a dark visual block but remove gold text accents. */
.perks-section {
    border-top: 0;
    padding: 74px 0;
}

.perk-card {
    border-bottom-color: var(--brand-dark);
}

.perk-icon-box {
    border-color: var(--brand-dark);
}

/* Schedule and final action */
.schedule-section {
    background: var(--register-surface);
}

.timeline-item::before {
    background: var(--brand-dark);
    box-shadow: 0 0 0 2px var(--brand-dark);
}

.final-cta-section {
    background: var(--white);
    color: var(--text-main);
    border-top: 1px solid var(--register-border);
}

.final-cta-section .section-kicker {
    color: var(--brand-dark);
}

.final-cta-section h2 {
    color: var(--brand-dark) !important;
}

.final-cta-section p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.final-cta-actions {
    justify-content: center;
}

@media (max-width: 850px) {
    .registration-shirt-grid {
        gap: 34px;
    }

    .shirt-action-group {
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .shirt-price-grid {
        grid-template-columns: 1fr;
    }

    .shirt-action-group,
    .final-cta-actions {
        flex-direction: column;
    }

    .shirt-action-group .btn,
    .final-cta-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================================
   BALANCED GOLD ACCENTS
   Keeps all primary CTAs dark green while restoring the
   warm Highway 91 gold as backgrounds, borders and markers.
   ========================================================= */
:root {
    --register-gold-soft: #fff4c9;
    --register-gold-softest: #fffaf0;
    --register-gold-border: #e2c45e;
    --register-gold-deep: #b78a16;
}

/* Gold is used as a visual accent—not as low-contrast body text. */
.registration-divider {
    background: var(--brand-gold);
}

.registration-divider-light {
    background: var(--brand-gold);
    opacity: 1;
}

/* Registration deadline: prominent warm-yellow notice. */
.registration-deadline-note {
    background: var(--register-gold-soft);
    border: 1px solid var(--register-gold-border);
    border-left: 6px solid var(--register-gold-deep);
    color: var(--brand-dark);
    box-shadow: 0 7px 20px rgba(183, 138, 22, 0.12);
}

.registration-deadline-note i {
    color: var(--register-gold-deep);
}

.registration-deadline-note strong,
.registration-deadline-note span,
.registration-deadline-note p {
    color: var(--brand-dark);
}

/* Registration cards: gold edge with dark, readable content. */
.race-option-card {
    border-top-color: var(--brand-gold);
}

.race-option-card:hover {
    border-color: var(--register-gold-border);
    border-top-color: var(--brand-gold);
}

.race-details-list i {
    color: var(--register-gold-deep);
}

/* Supporter shirt section: subtle cream backdrop and gold price cards. */
.registration-shirt-section {
    background: var(--register-gold-softest);
}

.shirt-price-card {
    background: var(--register-gold-soft);
    border-color: var(--register-gold-border);
    border-top: 4px solid var(--brand-gold);
}

.registration-shirt-deadline {
    width: fit-content;
    padding: 10px 14px;
    background: var(--register-gold-soft);
    border: 1px solid var(--register-gold-border);
    border-radius: 6px;
    color: var(--brand-dark) !important;
}

.registration-shirt-deadline i {
    color: var(--register-gold-deep);
}

/* Give the two registration methods distinct accents without changing CTAs. */
.method-online {
    border-top-color: var(--brand-dark);
}

.method-paper {
    border-top-color: var(--brand-gold);
}

.method-paper .reg-icon {
    color: var(--register-gold-deep);
}

/* Photo labels are readable dark text on a gold background. */
.experience-caption {
    background: var(--brand-gold);
    color: var(--brand-dark);
}

/* Race-day highlights use gold around the white cards. */
.perk-card {
    border-bottom-color: var(--brand-gold);
}

.perk-icon-box {
    border-color: var(--brand-gold);
    background: var(--register-gold-softest);
}

.perk-icon-box i {
    color: var(--brand-dark);
}

/* Schedule markers return to gold while keeping text dark. */
.timeline-item::before {
    background: var(--brand-gold);
    box-shadow: 0 0 0 2px var(--brand-dark);
}

.timeline-time {
    background: var(--brand-dark);
    color: var(--white);
}

/* A small gold edge lifts the final CTA without changing button colors. */
.final-cta-section {
    border-top: 6px solid var(--brand-gold);
}

@media (max-width: 620px) {
    .registration-shirt-deadline {
        width: 100%;
        align-items: flex-start;
    }
}

/* =========================================================
   SUPPORTER T-SHIRT SECTION — MOBILE + COLOR REFINEMENT
   Keeps gold as a small accent instead of a full-section color.
   ========================================================= */
.registration-shirt-section {
    background: var(--white);
    border-top: 1px solid var(--register-border);
    border-bottom: 1px solid var(--register-border);
}

.registration-shirt-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(36px, 5vw, 64px);
}

.registration-shirt-image,
.registration-shirt-content {
    min-width: 0;
}

.registration-shirt-image img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--register-border);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(20, 39, 33, 0.10);
}

.registration-shirt-content .section-kicker {
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
    color: var(--brand-dark);
}

.registration-shirt-content .section-kicker::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    background: var(--brand-gold);
    border-radius: 999px;
}

.shirt-price-card {
    background: var(--register-surface);
    border: 1px solid var(--register-border);
    border-top: 3px solid var(--brand-gold);
    padding: 16px 18px;
}

.registration-shirt-deadline {
    width: 100%;
    max-width: 100%;
    padding: 11px 14px;
    background: var(--register-surface);
    border: 1px solid var(--register-border);
    border-left: 4px solid var(--brand-gold);
    border-radius: 6px;
}

.registration-shirt-deadline i {
    flex: 0 0 auto;
    color: var(--register-gold-deep);
}

@media (max-width: 850px) {
    .registration-shirt-section {
        padding: 64px 0;
    }

    .registration-shirt-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .registration-shirt-image {
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
    }

    .registration-shirt-content {
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
        text-align: left;
    }

    .registration-shirt-content .section-kicker {
        text-align: left;
    }

    .shirt-action-group {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .registration-shirt-section {
        padding: 48px 0;
    }

    .registration-shirt-grid {
        gap: 24px;
    }

    .registration-shirt-content h2 {
        font-size: clamp(1.75rem, 8vw, 2.2rem);
        line-height: 1.14;
        margin-bottom: 14px;
    }

    .registration-shirt-content p {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .shirt-price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 20px 0 16px;
    }

    .shirt-price-card {
        padding: 14px 12px;
    }

    .shirt-price-card span {
        font-size: 0.7rem;
        letter-spacing: 0.7px;
    }

    .shirt-price-card strong {
        font-size: 1.5rem;
    }

    .registration-shirt-deadline {
        align-items: flex-start;
        margin-bottom: 16px;
    }

    .shirt-action-group {
        gap: 10px;
    }

    .shirt-action-group .btn {
        width: 100%;
        margin: 0 !important;
    }

    .shirt-registration-note {
        margin-top: 14px;
    }
}

@media (max-width: 380px) {
    .shirt-price-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   TEAM RELAY + SOLO MARATHON EXPLAINER
   ========================================= */
.registration-format-section {
    padding: 88px 0;
    background: var(--brand-light);
    border-bottom: 1px solid var(--register-border);
}

.registration-format-section .section-header {
    max-width: 820px;
}

.registration-format-section .section-header p {
    color: var(--text-muted);
}

.registration-format-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1040px;
    margin: 0 auto 26px;
}

.registration-format-card {
    background: var(--white);
    border: 1px solid var(--register-border);
    border-top: 5px solid var(--brand-dark);
    border-radius: 10px;
    padding: 34px;
    box-shadow: 0 12px 30px rgba(20,39,33,0.07);
}

.registration-format-card-solo {
    border-top-color: var(--brand-gold);
}

.registration-format-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-dark);
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.registration-format-card-solo .registration-format-icon {
    background: var(--brand-gold);
    color: var(--brand-dark);
}

.registration-format-card h3 {
    font-size: 1.55rem;
    margin-bottom: 12px;
}

.registration-format-card > p {
    color: #56635e;
    line-height: 1.7;
}

.registration-format-card ul {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.registration-format-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #46534e;
}

.registration-format-card li i {
    color: var(--register-gold-deep);
    margin-top: 5px;
}

.registration-support-note,
.registration-challenge-note {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border-radius: 8px;
}

.registration-support-note {
    padding: 26px;
    background: var(--brand-dark);
    color: var(--white);
}

.registration-support-note > i {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-gold);
    color: var(--brand-dark);
    font-size: 1.2rem;
}

.registration-support-note h3 {
    color: var(--white);
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.registration-support-note p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.registration-challenge-note {
    margin-top: 16px;
    padding: 20px 24px;
    background: #fff9e8;
    border: 1px solid #ead99d;
    border-left: 5px solid var(--brand-gold);
    color: var(--brand-dark);
}

.registration-challenge-note > i {
    color: var(--register-gold-deep);
    font-size: 1.25rem;
    margin-top: 2px;
}

.registration-challenge-note p {
    margin: 0;
    line-height: 1.65;
}

@media (max-width: 760px) {
    .registration-format-section {
        padding: 64px 0;
    }

    .registration-format-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .registration-format-card {
        padding: 28px 22px;
    }

    .registration-support-note,
    .registration-challenge-note {
        padding: 22px 20px;
    }
}

@media (max-width: 480px) {
    .registration-support-note,
    .registration-challenge-note {
        flex-direction: column;
        gap: 12px;
    }

    .registration-support-note > i {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}


/* =========================================
   REGISTRATION + ONLINE PAYMENT FLOW UPDATE
   ========================================= */
.registration-flow-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 960px;
    margin: 0 auto 20px;
    padding: 18px 20px;
    background: var(--brand-dark);
    color: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(20, 39, 33, 0.14);
    line-height: 1.65;
}
.registration-flow-note i {
    flex: 0 0 auto;
    color: var(--brand-gold);
    font-size: 1.35rem;
    margin-top: 3px;
}
.registration-flow-note strong { color: var(--white); }

.race-card-step {
    display: inline-flex;
    align-self: center;
    margin: -2px 0 14px;
    padding: 6px 11px;
    background: var(--brand-light);
    color: var(--brand-dark);
    border: 1px solid var(--register-border);
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}
.race-card-age { display: block; margin-bottom: 5px; }
.race-price-text { font-size: 2.35rem; }
.race-option-card-color-run { border-top-color: var(--brand-gold); }
.race-card-actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
}
.race-card-actions .btn {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 13px 12px !important;
    white-space: normal;
    line-height: 1.25;
}
.race-card-helper {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.registration-process-heading {
    max-width: 760px;
    margin: 0 auto;
}
.reg-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1200px;
    gap: 22px;
}
.reg-process-grid .reg-method-card {
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
}
.method-color-run { border-top: 5px solid var(--brand-gold); }
.method-color-run .reg-icon { color: #b98916; }
.numbered-reg-steps {
    margin: 0 0 18px;
    padding-left: 22px;
    color: var(--text-main);
}
.numbered-reg-steps li {
    margin-bottom: 12px;
    padding-left: 4px;
    line-height: 1.6;
}
.reg-method-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}
.reg-action-group {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}
.reg-action-group .btn {
    width: 100%;
    margin: 0 !important;
    padding: 12px 14px;
    white-space: normal;
    line-height: 1.3;
}
.alternative-payment-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 980px;
    margin: 28px auto 0;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--register-border);
    border-left: 5px solid var(--brand-gold);
    border-radius: 8px;
}
.alternative-payment-note i {
    color: #b98916;
    font-size: 1.35rem;
    margin-top: 3px;
}
.alternative-payment-note p { margin: 0; }

@media (max-width: 960px) {
    .reg-process-grid { grid-template-columns: 1fr; }
    .reg-process-grid .reg-method-card { max-width: 720px; width: 100%; margin: 0 auto; }
}

@media (max-width: 620px) {
    .registration-flow-note,
    .alternative-payment-note {
        padding: 16px;
        gap: 11px;
    }
    .registration-flow-note { font-size: 0.92rem; }
    .race-option-card { padding: 30px 18px 24px; }
    .race-card-actions .btn { font-size: 0.82rem; }
    .reg-process-grid .reg-method-card { padding: 28px 20px; }
}
