/* Reset & Base */
:root {
    --color-text: #1d1d1d;
    --color-bg: #ffffff;
    --color-accent: #000000;
    --color-accent-hover: #333333;
    --color-light-gray: #f5f5f5;
    --font-body: 'Google Sans Flex', sans-serif;
    --font-heading: 'Google Sans Flex', sans-serif;
    --container-width: 1200px;
    --spacing-unit: 2rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
#content {
    width: 100%;
}

.container,
.hero-body,
.grid {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Components */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.btn-primary {
    background-color: #0957d0;
    color: #fff;
}

.btn-primary:hover {
    background-color: #003c96;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 87, 208, 0.3);
}

.pricing-arrival-banner {
    background-color: #e3f2fd;
    color: #0d47a1;
    padding: 0.5rem 0.5rem;
    text-align: center;
    border-radius: 8px;
    margin: 1rem auto 0;
    max-width: 400px;
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pricing-arrival-banner::before {
    content: "ℹ️";
    font-size: 1.2rem;
}

/* Header / Nav */
/* Header / Nav */
#topnav {
    position: relative;
    width: 100%;
    z-index: 10;
    padding: 1.5rem var(--spacing-unit);
    background-color: #fff;
    /* White background for inner pages
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}

#topnav.is-home {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    box-shadow: none;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.logo {
    flex-shrink: 0;
    /* Prevent logo from shrinking */
    display: flex;
    align-items: center;
}

.logo img {
    height: auto;
    max-height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    /* Black by default */
    text-decoration: none;
}

#topnav.is-home .logo-text {
    color: #fff;
    /* White on homepage */
}

.main-nav {
    display: flex;
    gap: 2rem;
    margin-left: 2rem;
    justify-content: flex-end;
    flex: 1;
    width: auto;
    flex-wrap: wrap;
}

.main-nav a {
    color: #000;
    /* Black by default */
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: opacity 0.2s;
}

#topnav.is-home .main-nav a {
    color: #fff;
    /* White on homepage */
}

.main-nav a:hover {
    opacity: 0.8;
}

.header-cta {
    background-color: transparent;
    color: #000;
    /* Black by default */
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #000;
    /* Black border by default */
}

#topnav.is-home .header-cta {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-cta:hover {
    background-color: #000;
    color: #fff;
}

#topnav.is-home .header-cta:hover {
    background-color: #fff;
    color: #000;
}

hr {
    display: none;
}

#headline {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    padding: 0;
    text-align: center;
    background-color: #333;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    /* Ensure video doesn't overflow */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Carousel Styles */
.feature-image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    /* Ensure visibility */
    background-color: #f0f0f0;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.carousel-image.active {
    opacity: 1;
    z-index: 2;
}

/* Pill Control Styles */
.carousel-pill {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 100px;
    padding: 8px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    gap: 12px;
}

.carousel-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: opacity 0.2s;
}

.carousel-btn:hover {
    opacity: 0.7;
}

.carousel-counter {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    font-variant-numeric: tabular-nums;
    min-width: 40px;
    text-align: center;
    user-select: none;
}

/* Hide gallery section styles as it's removed */
.club-gallery-section {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 40, 66, 0.35);
    /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: #fff;
}

.hero-body {
    font-size: 1.25rem;
    color: rgba(255, 255, 255);
    margin-bottom: 2.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-link {
    color: #000;
    /* Black by default */
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

#topnav.is-home .social-link {
    color: #fff;
    /* White on homepage */
}

.social-link:hover {
    opacity: 0.8;
}


/* Admin Button */

.admin-button {
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    min-width: 145px;
    text-align: center;
    border: none;
    cursor: pointer;
}

.admin-button:hover {
    background: #0f283b;
    color: #fff;
}

/* Admin Dropdown */
.admin-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.admin-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.admin-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0957d0;
}

/* Mobile navigation */
.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 0;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: #000;
    font-weight: 600;
    border-radius: 10px;
}

#topnav.is-home .nav-toggle {
    color: #fff;
}

.nav-toggle:focus-visible {
    outline: 2px solid #0957d0;
    outline-offset: 2px;
}

.nav-toggle__text {
    font-size: 1rem;
}

.nav-toggle__icon {
    position: relative;
    width: 24px;
    height: 2px;
    background: currentColor;
    display: inline-block;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: currentColor;
}

.nav-toggle__icon::before {
    top: -7px;
}

.nav-toggle__icon::after {
    top: 7px;
}

.nav-overlay {
    display: none;
}

html.nav-open,
body.nav-open {
    overflow: hidden;
}

@media (max-width: 1200px) {
    #topnav {
        padding: 2rem 2.25rem;
    }

    .header-container {
        gap: 1rem;
    }

    .logo img {
        max-height: 100px;
    }

    .nav-toggle {
        display: inline-flex;
        z-index: 1201;
    }

    .header-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(85vw, 360px);
        background: #fff;
        box-shadow: -12px 0 30px rgba(0, 0, 0, 0.18);
        transform: translateX(100%);
        transition: transform 0.25s ease;
        padding: 5.25rem 1.25rem 1.25rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        z-index: 1200;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #topnav.nav-open .header-menu {
        transform: translateX(0);
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        border: 0;
        padding: 0;
        margin: 0;
        cursor: pointer;
        z-index: 1199;
        display: none;
    }

    #topnav.nav-open .nav-overlay {
        display: block;
    }

    .main-nav {
        margin-left: 0;
        flex: 0 0 auto;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1.25rem;
    }


    /* Override homepage white links inside the off-canvas panel */
    .header-menu .main-nav a,
    .header-menu .social-link {
        color: #000;
    }

    /* Higher specificity override for homepage (was white-on-white) */
    #topnav.is-home .header-menu .main-nav a,
    #topnav.is-home .header-menu .social-link {
        color: #000;
    }

    .main-nav a {
        padding: 0.85rem 0.75rem;
        border-radius: 12px;
        font-size: 1.05rem;
    }

    .main-nav a:hover {
        opacity: 1;
        background: #f4f5f7;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .social-link {
        justify-content: center;
        padding: 0.75rem;
        border-radius: 12px;
        background: #f4f5f7;
    }

    .admin-dropdown {
        width: 100%;
    }

    .admin-button {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 12px;
        background: #f8f9fa;
        min-width: 0;
        margin-top: 0.5rem;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .admin-dropdown:hover .dropdown-menu {
        /* Disable hover-driven dropdown on touch layouts */
        display: none;
    }

    .admin-dropdown.is-open .dropdown-menu {
        display: block;
    }
}


.button {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 0 0 6rem 0;
    /* background-color: var(--color-light-gray); */
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: -100px;
    /* Overlap hero */
    position: relative;
    z-index: 5;
}

/* Services grid: exactly 3 columns >= 900px, stacked below */
@media (min-width: 900px) {
    .services .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 899.98px) {
    .services .grid {
        grid-template-columns: 1fr;
    }
}

.service-item {
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    height: 60px;
    width: auto;
    margin: 0 auto 1.5rem;
    /* Centered horizontally */
    display: block;
}

.service-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #000;
    text-align: center;
    font-weight: 900;
}

.service-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-item p {
    color: #656D6F;
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.5rem;
    text-align: center;
}

.service-link {
    display: block;
    /* Full width */
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
}

.service-link:hover {
    background-color: #000;
    color: #fff;
}

/* Updates Section */
.updates {
    padding: 1rem 0;
    text-align: center;
}

.updates h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Events Section */
.events-section {
    background-color: #fff;
}

.events-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

.events-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 var(--spacing-unit);
}

.events-list-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #282828;
    text-align: left;
    padding-left: var(--spacing-unit);
}

/* Events Grid Container - Two Column Layout */
.events-grid-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.events-main {
    min-width: 0;
    /* Prevents grid overflow */
}

/* Events Sidebar */
/* .events-sidebar {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
} */

.sidebar-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #0957d0;
    text-align: left;
}

.events-list-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: var(--spacing-unit);
}

.event-item-compact {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;

    /* Shadow bleu clair "qui déboite" */
    box-shadow:
        0 4px 10px rgba(0, 150, 255, 0.25),
        0 8px 25px rgba(0, 150, 255, 0.20),
        0 12px 40px rgba(0, 150, 255, 0.15);
}

/* .event-item-compact:hover {
    transform: translateY(-4px);
    box-shadow:
        0 6px 14px rgba(0, 150, 255, 0.30),
        0 12px 30px rgba(0, 150, 255, 0.25),
        0 18px 45px rgba(0, 150, 255, 0.20);
} */

.event-date-compact {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0957d0;
    color: #fff;
    border-radius: 6px;
    padding: 0.5rem;
    min-width: 75px;
    min-height: 85px;
    text-align: center;
}

.event-day-compact {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month-compact {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

.event-details-compact {
    flex: 1;
    min-width: 0;
}

.event-details-compact h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.3rem 0;
    color: #1a1a1a;
    line-height: 1.3;
    text-align: left;
}

.event-location-compact {
    font-size: 1rem;
    color: #282828;
    text-align: left;
}

.event-details-compact p {
    font-size: 0.85rem;
    color: #888;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    text-align: left;
}

.event-link-compact {
    font-size: 0.85rem;
    color: #0957d0;
    text-decoration: none;
    font-weight: 600;
    display: block;
    text-align: right;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.2s ease;
}

.event-item-compact:hover .event-link-compact {
    max-height: 30px;
    opacity: 1;
}

.event-link-compact:hover {
    text-decoration: underline;
}

/* Responsive: Stack on mobile */
@media (max-width: 992px) {
    .events-grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .events-sidebar {
        order: 1;
    }

    .events-main {
        order: 2;
    }

    /* Align left/right gutters between "À la une" and "Stages" when stacked */
    .events-list-title {
        padding-left: 0;
        margin-bottom: 1rem;
    }

    .events-list {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .events-list-compact {
        padding-right: 0;
    }

    .sidebar-title {
        margin-bottom: 1rem;
    }

    /* Stages: make the subscribe button visible/clickable on touch devices (no hover) */
    .event-subscribe-btn {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(-50%) translateX(0);
    }

    .events-section h2 {
        font-size: 1.5rem;
    }

    .events-section p {
        font-size: 1rem;
    }
}

.event-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: stretch;
    transition: all 0.3s ease;
    text-align: left;
    overflow: hidden;
    min-height: 80px;
    position: relative;
}

.event-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.event-subscribe-btn {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background-color: #0957d0;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.event-item:hover .event-subscribe-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.event-subscribe-btn:hover {
    background-color: #fff;
    color: #0957d0;
}

.event-date {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: #fff;
    padding: 1.25rem 1.75rem;
    min-width: 110px;
    text-align: center;
}

.event-weekday {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 0.3rem;
}

.event-day {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.event-month {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.8;
}

.event-year {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 0.2rem;
}

.event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem 1.75rem;
    color: #fff;
}

.event-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.event-info {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

/* Homepage specific: blue event day number */
.homepage .event-day {
    color: #0957d0;
    font-size: 1.5rem;
}

/* Responsive adjustments for events */
@media (max-width: 768px) {
    .event-item {
        flex-direction: column;
        min-height: auto;
    }

    .event-date {
        width: 100%;
        min-width: auto;
        padding: 1.5rem;
        border-right: none;
        border-bottom: 3px solid rgba(255, 255, 255, 0.1);
    }

    .homepage .event-day {
        font-size: 3.5rem;
    }

    .event-weekday {
        font-size: 1rem;
    }

    .event-month {
        font-size: 1rem;
    }

    .event-details {
        padding: 1.5rem;
        text-align: center;
    }

    .event-details h3 {
        font-size: 1.4rem;
    }

    .event-info {
        font-size: 1rem;
    }

    .event-subscribe-btn {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        margin: 1rem auto;
        display: block;
        width: fit-content;
    }

    .event-item:hover .event-subscribe-btn {
        transform: none;
    }

}




/* School Gallery Styles */
.school-header {
    text-align: center;
    padding: 2rem 0 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.school-header h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.school-header .subtitle {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 2rem;
}

.school-cta {
    margin-top: 1.5rem;
}

.school-cta .btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}



.sticky-cta:hover {
    background-color: #333;
    color: #fff;
}

/* Sticky Header Bar */
.sticky-school-header {
    position: fixed;
    top: 0;
    /* Adjust if you have a global fixed nav */
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 1rem 0;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sticky-school-header.visible {
    transform: translateY(0);
}

.sticky-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sticky-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sticky-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sticky-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.sticky-pricing-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.sticky-pricing-link:hover {
    opacity: 0.8;
    color: #fff;
}

.sticky-cta {
    padding: 0.75rem 1rem;
    background-color: #fff;
    color: #0957d0;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.sticky-cta:hover {
    background-color: #0957d0;
}

@media (max-width: 768px) {
    .sticky-pricing-link {
        display: none;
    }

    .sticky-cta {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
}

.school-gallery {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit) 4rem;
}

@media (max-width: 768px) {
    .school-gallery {
        padding-right: 0;
        padding-bottom: 0;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(18, 1fr);
    /* 12 colonnes pour plus de flexibilité */
    grid-template-rows: repeat(2, 250px);
    /* 2 lignes fixes */
    gap: 0.75rem;
    grid-auto-flow: dense;
    /* Remplissage automatique des espaces */
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

/* Portrait images: 2 colonnes (1 unité) */
.gallery-item.portrait {
    grid-column: span 2;
    grid-row: span 1;
}

/* Landscape images: 3 colonnes (1.5 unités) */
.gallery-item.landscape {
    grid-column: span 3;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}


.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Responsive */
/* @media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: repeat(2, 200px);
    }
} */

@media (max-width: 1024px) {
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1rem;
        /* Space for scrollbar if visible */
        -webkit-overflow-scrolling: touch;

        /* Reset grid props */
        grid-template-columns: none;
        grid-template-rows: none;
    }

    .gallery-item {
        flex: 0 0 85%;
        /* Use % of container instead of vw */
        height: 400px;
        scroll-snap-align: start;
        /* Align to start to show next item clearly */
        border-radius: 16px;
    }

    /* Reset specific grid placements */
    .gallery-item.portrait,
    .gallery-item.landscape {
        grid-column: auto;
        grid-row: auto;
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* Features Section */
.features-section {
    /* background-color: #f9f9f9; */
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    align-items: start;
}

.features-title {
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.2;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.0rem;
}

.feature-item {
    font-size: 1.1rem;
    line-height: 1.4;
    position: relative;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img,
.icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-text {
    flex: 1;
}

/* .feature-item::before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1.6;
} */

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 0rem;
    }

    .features-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .features-section {
        padding: 3rem 0;
    }

}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background-color: #fff;
    overflow: hidden;
    /* Hide scrollbar but allow content to overflow container */
}

.team-title {
    font-size: 4.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 400;
    /* Or center? User didn't specify, defaulting to left like features */
}

@media (max-width: 768px) {
    .team-title {
        font-size: 3rem;
    }

    .team-section {
        padding-top: 1rem;
    }

}


.team-container {
    position: relative;
    width: 100%;
    /* Remove max-width and margin auto to allow full width */
}

/* Title and Nav stay in the standard container width */
.team-title,
.team-nav-controls {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-unit);
    padding-right: var(--spacing-unit);
}

.team-grid-wrapper {
    position: relative;
    width: 100%;
}

.team-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: none;

    /* Magic calculation to align first item with container but overflow right */
    /* Padding left = (Viewport Width - Container Width) / 2 + Container Padding */
    padding-left: calc((100vw - 1400px) / 2 + var(--spacing-unit));
    padding-right: var(--spacing-unit);
    /* Right padding just for safety */
}

/* Fallback for smaller screens where 1400px > 100vw */
@media (max-width: 1440px) {
    .team-grid {
        padding-left: var(--spacing-unit);
    }
}

.team-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari: hide scrollbar */
}

.team-member {
    text-align: center;
    flex: 0 0 auto;
    min-width: 200px;
    /* Don't shrink, don't grow */
}

.member-photo {
    height: 500px;
    /* Fixed height */
    width: auto;
    /* Width adjusts to aspect ratio */
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: #f0f0f0;
}

.member-photo img {
    width: auto;
    height: 100%;
    /* Fill height */
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

/* Navigation Arrows */
.team-nav-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
    /* Align left */
}

.team-nav-btn {
    position: static;
    /* Remove absolute positioning */
    transform: none;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-nav-btn:hover {
    background-color: #000;
    color: #fff;
}

/* Remove old specific positioning classes if they exist or reset them */
.team-nav-prev,
.team-nav-next {
    left: auto;
    right: auto;
}

/* Ensure visible on mobile now that they are not overlaying */
@media (max-width: 768px) {
    .team-member:hover .member-photo img {
        transform: scale(1.05);
    }

    .member-photo {
        height: 350px;
        /* Smaller height on mobile */
    }

    .team-grid {
        padding-left: var(--spacing-unit);
        /* Reset weird padding calculation */
    }
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
}

/* CKEditor Content Styles */
.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.page-body h1 {
    font-size: 2.5rem;
}

.page-body h2 {
    font-size: 2rem;
}

.page-body h3 {
    font-size: 1.75rem;
}

.page-body h4 {
    font-size: 1.5rem;
}

.page-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.page-body ul,
.page-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.page-body a {
    color: var(--color-accent);
    text-decoration: underline;
}

.page-body a:hover {
    color: var(--color-accent-hover);
}

.page-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--color-accent);
    background-color: var(--color-light-gray);
    font-style: italic;
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.page-body table th,
.page-body table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
}

.page-body table th {
    background-color: var(--color-light-gray);
    font-weight: 600;
}

.page-body strong {
    font-weight: 700;
}

.page-body em {
    font-style: italic;
}

.page-body code {
    background-color: var(--color-light-gray);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.page-body pre {
    background-color: var(--color-light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.page-body pre code {
    background: none;
    padding: 0;
}

/* Info Section */
.info-section {
    padding: 4rem 0;
}

.info-title {
    font-size: 2.5rem;
    margin-bottom: 5rem;
    text-align: center;
    font-weight: 400;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-section {
        padding-top: 1rem;
    }

}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.info-icon img,
.info-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 576px) {
    .info-text {
        font-size: 1.3rem;
    }
}

.info-footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-footer {
    margin-top: 1rem;
    text-align: right;
    /* Aligned with table */
    font-size: 0.9rem;
    color: #5870c8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
}

.larchant-pricing-section .container {
    background-color: #f8f9fa;
    padding: 4rem;
    border-radius: 3rem;
}

@media (max-width: 768px) {
    .larchant-pricing-section .container {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }
}

.pricing-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 400;
}

.pricing-subtitle {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    /* Space for scrollbar */
}

.pricing-table {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    overflow: visible;
    /* Was hidden, changed for sticky support */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.pricing-table th,
.pricing-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background-color: #0957d0;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    border-radius: 4px;
    vertical-align: middle;
}

.pricing-hours {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    text-transform: none;
    letter-spacing: 0;
}

@media (max-width: 768px) {
    .pricing-hours {
        font-size: 0.8rem;
    }
}

.pricing-table td.pricing-option {
    text-align: left;
    font-weight: 600;
    color: #000;
}

.pricing-table td.pricing-price {
    font-size: 1.2rem;
    color: #0957d0;
    font-weight: 700;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 600px) {

    .pricing-table th,
    .pricing-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }

    .pricing-table td.pricing-price {
        font-size: 1rem;
    }
}

.pricing-cta {
    text-align: center;
    margin-top: 2rem;
}

.pricing-cta .btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Calendar Section */
.calendar-section {
    padding: 4rem 0;
    background-color: #fff;
}

.calendar-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 400;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .calendar-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .calendar-month-card {
        padding: 1.5rem;
    }

    /* Make subscribe button always visible on mobile */
    .calendar-subscribe-btn {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        position: static;
        margin-top: 1.5rem;
        display: inline-block;
        margin-left: 0;
        /* Center it since static breaks left: 50% */
    }

    .calendar-month-card:hover {
        transform: none;
        padding-bottom: 1.5rem;
        /* Reset hover padding */
    }
}

.calendar-month-card {
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.calendar-month-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    padding-bottom: 7rem;
    border-color: rgba(9, 87, 208, 0.1);
}

.month-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0957d0;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.month-dates {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0;
    width: 100%;
    transition: opacity 0.3s ease;
}

.calendar-subscribe-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    padding: 0.7rem 2rem;
    background-color: #0957d0;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(9, 87, 208, 0.3);
}

.calendar-month-card:hover .calendar-subscribe-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0.05s;
    margin-bottom: 1rem;
    /* Slight delay for sequence effect */
}

.calendar-subscribe-btn:hover {
    background-color: #003c96;
    color: #fff;
    box-shadow: 0 6px 20px rgba(9, 87, 208, 0.4);
    transform: translateX(-50%) translateY(-2px);
}

.calendar-event {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.event-day {
    font-weight: 600;
    color: #333;
}

.event-info {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Homepage specific event info */
.event-info {
    color: #8e97a8;
    /* Light gray for dark background */
}

/* Trial School specific event info */
.calendar-event .event-info {
    color: #777;
    /* Darker gray for light background */
}

.calendar-empty {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 12px;
}

/* Registration Page */
.registration-page {
    padding: 0 var(--spacing-unit);
    background-color: #fff;
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #000;
}

.registration-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background: #f4f6f9;
    padding: 2rem;
    border-radius: 16px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); */
    margin-bottom: 2rem;
}

.form-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #0957d0;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    font-size: 1rem;
    color: #444;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0957d0;
    outline: none;
}

@media (max-width: 768px) {
    .registration-page {
        padding: 0 var(--spacing-unit);
    }
}

/* Radio & Checkbox */
.radio-group {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
    }
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-option input,
.checkbox-option input {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #0957d0;
}

/* Price Display */
.price-display {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: #0957d0;
    color: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.3s ease;
}

.price-display.hidden {
    display: none;
}

.price-label {
    font-size: 1.2rem;
    font-weight: 500;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
}

/* Auth Box */
.auth-box {
    /* background-color: #f9f9f9; */
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

.auth-text {
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.auth-text strong {
    color: #000;
    border-bottom: 1px solid #000;
}

.btn-large {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .school-header h1 {
        font-size: 2.2rem;
    }

    .school-header .subtitle {
        font-size: 1.1rem;
    }

    .school-header {
        padding: 2rem;
    }
}

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

/* Championnat Styles */
.championnat-container {
    max-width: var(--container-width);
    margin: 4rem auto;
    padding: 0 var(--spacing-unit);
}

.championnat-tab-content .events-list {
    max-width: 900px;
}

.championnat-logo {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.championnat-logo img {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 0 auto;
}

.championnat-logo:has(.championnat-reglement-link) {
    max-width: 100%;
    min-width: 250px;
}

.championnat-reglement-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background-color: #0957d0;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(9, 87, 208, 0.2);
    white-space: nowrap;
}

.championnat-reglement-link:hover {
    background-color: #0741a8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(9, 87, 208, 0.3);
}

.championnat-reglement-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(9, 87, 208, 0.2);
}

.championnat-container h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.results-tables h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.results-tables h2:first-of-type {
    margin-top: 0;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
}

/* .championnat-table didn't have overflow:hidden explicitly in the view above, but let's check if I missed it or if it's default. */
/* Just adding the rule to be sure */
.championnat-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 800px;
    overflow: visible;
    /* Ensure sticky works */
}

.championnat-table th,
.championnat-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.championnat-table th {
    background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 3px solid var(--color-accent);
    vertical-align: top;
    line-height: 1.3;
    min-width: 80px;
}

.championnat-table th .location {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.championnat-table th .date {
    display: block;
    font-weight: 400;
    font-size: 0.7rem;
    opacity: 0.85;
}

.championnat-table tr:last-child td {
    border-bottom: none;
}

.championnat-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.championnat-table tr:hover {
    background-color: #f0f0f0;
    transition: background-color 0.2s ease;
}

.championnat-table tr:hover td {
    color: #000;
}

/* Sticky Name Column (2nd column) */
.championnat-table th:nth-child(2),
.championnat-table td:nth-child(2) {
    position: sticky;
    left: 0;
    z-index: 2;
    /* Visual separator */
}

/* Ensure opaque backgrounds for sticky cells so content doesn't show through */
.championnat-table td:nth-child(2) {
    background-color: #fff;
}

.championnat-table tr:nth-child(even) td:nth-child(2) {
    background-color: #f8f9fa;
}

.championnat-table tr:hover td:nth-child(2) {
    background-color: #f0f0f0;
}

/* Fix header z-index to stay above body sticky cells */
.championnat-table th:nth-child(2) {
    z-index: 3;
}

.championnat-table td:first-child {
    font-weight: 700;
    color: #000;
}

/* Highlight club riders - name text only */
.championnat-table span.club-highlight {
    background-color: #e0feff;
    color: #2c3e50;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 6px;
    display: inline-block;
}

.championnat-table tr:hover span.club-highlight {
    background-color: #9dd9da;
}

/* Championnat Tabs */
.championnat-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 4rem;
    overflow-x: auto;
}

.championnat-tab {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-body);
}

.championnat-tab:hover {
    color: #000;
    background-color: #f5f5f5;
}

.championnat-tab.active {
    color: #000;
    border-bottom-color: #000;
    background-color: transparent;
}

.championnat-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

/* Règlements PDF Styles */
.reglement-pdf-container {
    width: 100%;
    margin-bottom: 3rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.reglement-pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.reglement-pdf-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.reglement-pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #0957d0;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.reglement-pdf-download-btn:hover {
    background: #0741a8;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(9, 87, 208, 0.3);
}

.reglement-pdf-viewer {
    width: 100%;
    height: 80vh;
    min-height: 500px;
    position: relative;
    background: #f5f5f5;
    border-radius: 0 0 8px 8px;
}

.reglement-pdf-viewer embed {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 768px) {
    .reglement-pdf-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .reglement-pdf-title {
        font-size: 1rem;
    }

    .reglement-pdf-download-btn {
        width: 100%;
        justify-content: center;
    }

    .reglement-pdf-viewer {
        height: 60vh;
        min-height: 400px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive tabs */
@media (max-width: 768px) {
    .championnat-tabs {
        gap: 0;
    }

    .championnat-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Event type differentiation */

.event-item.event-type-competition {
    background: #14386a;

    .event-date {
        background: #0d264c;
    }

    .event-day {
        color: #0957d0;
        font-size: 1.5rem;
    }
}

/* History PDF Styles */
.history-year-group {
    margin-bottom: 3rem;
}

.history-year-title {
    font-size: 1.5rem;
    color: var(--color-text);
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.history-pdf-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.history-pdf-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent);
}

.pdf-icon {
    width: 40px;
    height: 40px;
    background: #ffebee;
    color: #d32f2f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.pdf-icon svg {
    width: 24px;
    height: 24px;
}

.pdf-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pdf-title {
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--color-text);
}

.pdf-meta {
    font-size: 0.85rem;
    color: #666;
}

/* Partners Grid */
.partners-page {
    padding: 2rem 0;
}

.partners-page-header {
    text-align: center;
    max-width: 900px;
    margin: auto auto 4rem;
}

.partners-page h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.partners-page .intro-text {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    height: 160px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 3px 3px 10px 10px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.partner-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.partner-logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    max-width: 80%;
    max-height: 100%;
    object-fit: contain;
    /* Ensures logo fits within the box without distortion */
    /* filter: grayscale(100%); */
    /* Optional: makes logos consistent until hover */
    /* opacity: 0.8; */
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-card:hover .partner-logo {
    /* filter: grayscale(0%); */
    /* Restore color on hover */
    /* opacity: 1; */
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on mobile */
        gap: 1rem;
    }

    .partner-card {
        height: 120px;
    }
}

.pdf-download-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    margin-left: 1rem;
    color: #666;
    transition: all 0.2s ease;
}

.history-pdf-card:hover .pdf-download-icon {
    background: var(--color-accent);
    color: #fff;
}

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

/* ========================================
   Club Page Styles
   ======================================== */

/* ========================================
   Club Page Styles
   ======================================== */

.club-page {
    padding: 4rem 0 6rem;
    background-color: #fff;
}

/* Header Section */
.club-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.club-eyebrow {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444;
    margin-bottom: 1rem;
    font-weight: 600;
}

.club-headline {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
    margin: 0;
}

@media (max-width: 768px) {
    .club-headline {
        font-size: 2.5rem;
    }
}

/* Feature Card */
.club-feature-card {
    background-color: #f5f9fa;
    /* Light gray background like the model */
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
    /* Ensure some height */
}

/* Feature Text Column */
.club-feature-card .feature-text {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.feature-body {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
}

.feature-body p {
    margin-bottom: 1rem;
}

.feature-action {
    margin-top: auto;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.2s;
}

.feature-link:hover {
    opacity: 0.7;
}

.feature-link .arrow {
    margin-left: 0.5rem;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.feature-link:hover .arrow {
    transform: translateX(4px);
}

/* Feature Image Column */
.feature-image {
    position: relative;
    min-height: 300px;
    background-color: #e0e0e0;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f1f3f4 25%, #e0e0e0 25%, #e0e0e0 50%, #f1f3f4 50%, #f1f3f4 75%, #e0e0e0 75%, #e0e0e0 100%);
    background-size: 20px 20px;
    opacity: 0.5;
}


@media (min-width: 992px) {
    .club-feature-card {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 768px) {
    .club-feature-card .feature-text {
        padding: 2rem;
    }
}

/* Gallery Section (Remaining images) */
.club-gallery-section {
    margin-top: 4rem;
}

.club-gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.club-gallery-section .image-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.club-gallery-section .image-card:hover {
    transform: translateY(-4px);
}

.club-gallery-section .image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* ========================================
   Carousel Styles (Added)
   ======================================== */

.feature-image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background-color: #f0f0f0;
}

/* Reset generic img styles if needed, but specific class should win */
.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
    display: block;
}

.carousel-image.active {
    opacity: 1;
    z-index: 2;
}

/* Pill Control Styles */
.carousel-pill {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 100px;
    padding: 8px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    gap: 12px;
}

.carousel-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: opacity 0.2s;
}

.carousel-btn:hover {
    opacity: 0.7;
}

.carousel-counter {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    font-variant-numeric: tabular-nums;
    min-width: 40px;
    text-align: center;
    user-select: none;
}

/* Hide gallery section styles as it's removed */
.club-gallery-section {
    display: none;
}

/* Global CTA Refactoring */
.cta-button {
    background: #0957d0;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
}

.cta-button:hover {
    background: #003c96;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #fff;
}

/* Bottom Content Layout */
.club-bottom-content {
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .club-bottom-content {
        grid-template-columns: 2fr 1fr;
        border: 1px solid #ccc;
        padding: 4rem;
        border-radius: 12px;
    }
}

.bottom-image-col img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .bottom-image-col {
        display: none;
    }
}




/* Club Team Section */
.club-team-section {
    margin-top: 6rem;
    text-align: center;
    padding-bottom: 4rem;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
    box-sizing: border-box;
}

.club-team-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
    font-weight: 900;
    text-align: left;
    padding-left: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.club-team-section .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem auto;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
    box-sizing: border-box;
    max-width: 900px;
}


@media (max-width: 768px) {
    .club-team-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .club-team-section .section-title {
        padding-left: 0;
    }

    .club-team-section .team-grid {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 992px) {
    .club-team-section .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    overflow: visible;
}

.club-team-section .member-name {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0;
}

.member-photo-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
    border: 4px solid #fff;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.member-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.club-team-section .member-role {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* Larchant Page Styles */
.larchant-page {
    padding: 0;
}

.larchant-page .hero {
    margin: 0 4rem;
    border-radius: 20px;
}

@media (max-width: 1200px) {
    .larchant-page .hero {
        margin: 0 1rem
    }
}

.larchant-content {
    padding: 4rem 0;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .larchant-content {
        padding: 2rem 0;
    }
}

.larchant-content .page-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Intro Text */
.larchant-intro {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .larchant-intro {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
}

/* Pricing Section */
.larchant-top-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.larchant-bottom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8rem;
    margin-bottom: 4rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {

    .larchant-top-grid,
    .larchant-bottom-grid {
        gap: 3rem;
        margin-bottom: 2rem;
    }

    .larchant-bottom-grid {
        padding: 0 1rem;
    }
}

.larchant-bottom-grid .page-ckeditor-content h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .larchant-top-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 4rem;
        border-radius: 20px;
        background-color: #f4f6f9;

    }
}

.larchant-pricing-section {
    margin: 0;
}

.larchant-pricing-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.larchant-pricing-table-wrapper {
    overflow-x: auto;
}

.larchant-pricing-table {
    width: 100%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    table-layout: fixed;
}

.larchant-pricing-table th:first-child,
.larchant-pricing-table td:first-child {
    width: 50%;
}

.larchant-pricing-table th:nth-child(2),
.larchant-pricing-table td:nth-child(2),
.larchant-pricing-table th:nth-child(3),
.larchant-pricing-table td:nth-child(3) {
    width: 25%;
}

.larchant-pricing-table thead {
    background: #0957d0;
    color: #fff;
}

.larchant-pricing-table th {
    padding: 1.4rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.larchant-pricing-table td {
    padding: 1.4rem;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
}

.larchant-pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.larchant-pricing-table tbody tr:hover {
    background-color: #f8f9fa;
}

.larchant-pricing-table .group-header td {
    color: #0957d0;
    font-size: 1rem;
    border-bottom: none;
    padding-bottom: 0;
}

.larchant-pricing-table .status-cell {
    padding-left: 2rem;
    font-weight: 500;
    color: #555;
}

@media (max-width: 768px) {

    .larchant-pricing-table th,
    .larchant-pricing-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    .larchant-pricing-table .status-cell {
        padding-left: 0.75rem;
    }
}

/* Subscription Form */
.subscription-section {
    margin: 4rem auto;
    max-width: 900px;
}

.subscription-form {
    max-width: 900px;
    margin: 0 auto;
}

.subscription-title {
    text-align: center;
    font-size: 2.5rem;
    color: #000;
    font-weight: 700;
}

/* Subscription Form */
.subscription-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .subscription-form .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.subscription-form .form-group {
    display: flex;
    flex-direction: column;
}

.subscription-form label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.subscription-form input:not([type="radio"]):not([type="checkbox"]),
.subscription-form select,
.subscription-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.subscription-form input:focus,
.subscription-form select:focus,
.subscription-form textarea:focus {
    outline: none;
    border-color: #0957d0;
}

.subscription-form textarea {
    resize: vertical;
}

.subscription-form .cta-button {
    margin-top: 1rem;
    cursor: pointer;
    border: none;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #f5c6cb;
}

/* Vertical alignment for merged cells */
.larchant-pricing-table td[rowspan] {
    vertical-align: middle;
}

.larchant-pricing-table td[rowspan] {
    font-weight: 700;
}

/* Vertical Radio Options for Pricing */
.vertical-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.full-width-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.full-width-option:hover {
    border-color: #0957d0;
    background-color: #f8faff;
}

.full-width-option input[type="radio"] {
    margin-right: 1rem;
}

.full-width-option input[type="radio"]:checked+.option-content {
    color: #0957d0;
}

/* Highlight selected option wrapper */
.full-width-option:has(input:checked) {
    border-color: #0957d0;
    background-color: #f0f7ff;
}

.option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.option-name {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.option-details {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.2rem;
}

.option-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0957d0;
}



.text-muted {
    color: #666;
    font-style: italic;
}

.text-error {
    color: #d32f2f;
    font-weight: 500;
}

/* Larchant Specific Price Display */
.larchant-price-display {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #0957d0;
    color: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.3s ease;
}

.larchant-price-display.hidden {
    display: none;
}

.price-info-wrapper {
    display: flex;
    flex-direction: column;
}

.larchant-price-display .price-label {
    font-size: 1.6rem;
    font-weight: 600;
}

.larchant-price-display .price-details {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

.larchant-price-display .price-amount {
    font-size: 2rem;
    font-weight: 700;
}

/* Pricing Info Display */
.pricing-info {
    background: #f8faff;
    border: 2px solid #0957d0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-category {
    flex: 1;
}

.category-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.amount-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0957d0;
}

.amount-period {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Loading Spinner Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Site Footer */

/* Footer (if added later) */
.site-footer {
    background-color: #fff;
    color: #333;
    padding: 3rem 0;
    margin-top: auto;
    text-align: center;
}

.site-footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: #666;
}

.site-footer a {
    color: #333;
    text-decoration: none;
    text-underline-offset: 4px;
}

.site-footer a:hover {
    color: #000;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0;
    }
}

/* Event Info Hightlight (Homepage) */
.event-info-highlight {
    color: #54fff5;

}

/* Event Info Extra (Trial School Calendar) */
.event-info-extra {
    display: block;
    width: 100%;
    margin-top: -5px;
    margin-bottom: 10px;
    font-size: 0.8em;
    font-style: italic;
    color: #b254ff;
}


.calendar-event {
    flex-wrap: wrap;
    /* allow wrapping */
}

.event-info-extra {
    flex-basis: 100%;
    /* take full width on new line */
    text-align: center;
    /* center the text */
}