/* =============================================
   SAMNIM — Congrès Scientifique
   Fichier CSS principal
   ============================================= */

/* --- Variables & Palette de Couleurs --- */
:root {
    --primary-color: #2e7d32;
    --accent-color: #dc3545;
    --dark-color: #2c3e50;
    --light-color: #34495e;
    --text-color: #ecf0f1;
    --muted-color: #bdc3c7;
    --white-color: #ffffff;
    --hero-text-dark: #2c3e50;
    --gradient-hero: radial-gradient(1200px 600px at 10% -10%, rgba(0, 229, 255, .15) 0%, rgba(0, 229, 255, 0) 60%),
        radial-gradient(800px 400px at 90% 10%, rgba(30, 136, 229, .15) 0%, rgba(30, 136, 229, 0) 60%),
        linear-gradient(135deg, #0b1737 0%, #0d234d 50%, #0a1022 100%);
    --hero-bg: url('');
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--dark-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

h1,
h2,
h3 {
    font-weight: 700;
    color: var(--white-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--muted-color);
}

section {
    padding: 5rem 0;
}

.section-light {
    background: var(--light-color);
}

/* --- Boutons --- */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(46, 125, 50, 0.45);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

/* --- Badges Hero --- */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 3rem auto 0;
    gap: 12px;
    width: fit-content;
}

.badge-white {
    background: #ffffff;
    color: #1a1a1a;
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
    text-transform: none;
}

.badge-white.top {
    /* Centered by default via parent */
}

.badge-white.bottom {
    align-self: flex-start;
    margin-left: 3.5rem;
    margin-top: -22px;
}

.hero-cta-group .btn {
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

/* --- Cartes --- */
.card {
    background: #c0cbd7;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

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

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
#main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo {
    height: 70px;
    width: auto;
    display: block;
}

.logo-link span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
}

#navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
}

#navbar ul li a {
    padding: 0.5rem 1.2rem;
    color: var(--hero-text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

#navbar ul li a:hover {
    color: #13a498;
}

#navbar ul li a.active {
    color: #13a498;
    border-bottom: 2px solid #13a498;
}

.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .06);
    border: 1px solid rgba(0, 0, 0, .08);
    cursor: pointer;
}

.hamburger svg path {
    stroke: var(--hero-text-dark);
}

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    display: grid;
    align-items: center;
    background-image: var(--gradient-hero);
    isolation: isolate;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--hero-bg);
    background-position: center;
    background-size: cover;
    filter: brightness(.7) saturate(110%);
    opacity: .85;
}

#hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(10, 16, 34, 1) 0%, rgba(10, 16, 34, .4) 50%, rgba(10, 16, 34, 0) 100%);
}

#net-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-logo-container {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.hero-content .hero-logo {
    max-width: 280px;
}

.hero-content h1 {
    color: var(--white-color);
    font-size: 3rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: var(--muted-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-edition-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white-color);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.info-block {
    margin-top: 2rem;
}

.info-block h3 {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.info-line .icon {
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.info-line span {
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container.video-active {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

.hero-image-container img {
    width: 100%;
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);
    border: 10px solid var(--accent-color);
}

/* =============================================
   CTA BANNER / COUNTDOWN
   ============================================= */
#cta-banner {
    background: var(--light-color);
    padding: 3rem 0;
    text-align: center;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

#countdown>div {
    background: var(--dark-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    min-width: 110px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#countdown span:first-child {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white-color);
    display: block;
}

#countdown span:last-child {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--muted-color);
}

#cta-banner .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* =============================================
   SECTION ENGAGEMENTS
   ============================================= */
.engagements-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.engagements-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--muted-color);
    margin-bottom: 1rem;
}

.engagements-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
}

.engagements-image figcaption {
    font-size: 0.9rem;
    color: var(--muted-color);
    text-align: center;
    margin-top: 0.8rem;
    font-style: italic;
}

/* =============================================
   SECTION MISSIONS
   ============================================= */
#missions .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

#missions .card h3 {
    color: var(--primary-color);
}

/* =============================================
   SECTION THÉMATIQUES (2ème édition)
   ============================================= */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.theme-card {
    background: linear-gradient(135deg, #3a506b 0%, #2c3e50 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.theme-card .theme-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.theme-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.theme-card p {
    color: var(--muted-color);
    font-size: 0.95rem;
}


/* =============================================
   PROGRAMME (Timeline Accordion)
   ============================================= */
.day-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.day-btn {
    background-color: #c0cbd7;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.day-btn:hover,
.day-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.timeline-container {
    display: none;
}

.timeline-container.active {
    display: block;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    opacity: 0.2;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    color: #425568;
    margin-bottom: 1rem;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--dark-color);
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 1rem 1.5rem;
    background-color: #c0cbd7;
    position: relative;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.timeline-content .time {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content summary {
    padding: 0;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #425568;
    list-style: none;
}

.timeline-content summary::-webkit-details-marker {
    display: none;
}

.timeline-content summary::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.timeline-content details[open] summary::after {
    transform: rotate(45deg);
}

.session-details {
    padding: 1rem 0 0 0;
    margin-top: 1rem;
    color: #34495e;
    border-top: 1px solid var(--accent-color);
}

.session-entry {
    margin-bottom: 1rem;
}

.session-entry:last-child {
    margin-bottom: 0;
}

.session-entry .entry-time {
    font-weight: bold;
    font-size: 1.0rem;
    color: #11a498;
}

.session-entry .entry-title {
    color: #425568;
    font-weight: 600;
}

.session-entry .entry-speaker {
    font-size: 0.9em;
    font-style: italic;
}

/* =============================================
   PROGRAMME À VENIR (Placeholder)
   ============================================= */
.programme-placeholder {
    max-width: 700px;
    margin: 2rem auto;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #3a506b 0%, #2c3e50 100%);
    border-radius: 14px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
}

.programme-placeholder .placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.programme-placeholder h3 {
    margin-bottom: 0.5rem;
}

.programme-placeholder p {
    color: var(--muted-color);
}

/* =============================================
   SECTION COMITÉ
   ============================================= */
#comite .people {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.person {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #3a506b;
    border: 1px solid rgba(255, 255, 255, .1);
    padding: 1.5rem;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.person:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.person-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color);
    margin-bottom: 1rem;
    background-color: var(--white-color);
}

/* Placeholder avatar when no photo is available */
.person-photo .avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #546e7a, #37474f);
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.person-info h3 {
    color: var(--white-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.person .role {
    color: var(--muted-color);
    font-size: 0.9rem;
}

/* =============================================
   SPONSORS CAROUSEL
   ============================================= */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.sponsors-carousel {
    max-width: 1000px;
    margin: 3rem auto 0 auto;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
    mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.sponsors-track {
    display: flex;
    width: calc(222px * 24);
    height: 140px;
    padding: 5px;
    animation: scroll 30s linear infinite;
    gap: 2rem;
}

.sponsors-carousel:hover .sponsors-track {
    animation-play-state: paused;
}

.sponsor-card {
    background: var(--white-color);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 180px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sponsor-card--platinum {
    border: 8px solid #939191;
}

.sponsor-card--gold {
    border: 6px solid #bfa725ab;
}

.sponsor-card--silver {
    border: 4px solid #d0d0d0;
}

.sponsor-card--bronze {
    border: 3px solid #cd7f32;
}

.sponsor-card:hover {
    transform: scale(1.05);
}

.sponsor-card img {
    max-width: 90%;
    max-height: 70%;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.sponsor-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* =============================================
   INSCRIPTION (IFRAME)
   ============================================= */
#register iframe {
    display: block;
    margin: 2rem auto 0 auto;
    width: 100%;
    max-width: 800px;
    min-height: 650px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: var(--dark-color);
    transition: height 0.4s ease;
}

/* =============================================
   MAP
   ============================================= */
.map-container {
    margin-top: 2.5rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, .1);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =============================================
   ÉVÉNEMENTS PASSÉS (page dédiée)
   ============================================= */
.events-list {
    max-width: 900px;
    margin: 0 auto;
}

.event-card {
    background: linear-gradient(135deg, #3a506b 0%, #2c3e50 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.event-title-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.event-body {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.event-text {
    flex: 1;
}

.event-image {
    flex: 0 0 240px;
}

.event-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-card .event-date-badge {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.event-card h3 {
    font-size: 1.8rem;
    margin: 0;
}

.event-card .event-location {
    color: var(--muted-color);
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.event-card .event-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.event-card .stat {
    text-align: left;
}

.event-card .stat .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1.2;
}

.event-card .stat .stat-label {
    font-size: 0.85rem;
    color: var(--muted-color);
}

.event-card .event-description {
    color: var(--muted-color);
    line-height: 1.7;
}

.event-card .event-description p {
    margin-bottom: 0.8rem;
}

.event-card .btn-outline {
    margin-top: 1.5rem;
}

/* =============================================
   FOOTER
   ============================================= */
#main-footer {
    background: #1c2833;
    color: #bdc3c7;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

#main-footer p {
    font-size: 0.9rem;
}

/* =============================================
   ANIMATIONS REVEAL
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media(max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content .hero-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content h1 {
        text-align: center;
    }

    .info-line {
        justify-content: center;
    }

    .hero-image-container {
        max-width: 400px;
        margin: 2rem auto 0;
    }

    #comite .people {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    #navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    #navbar ul {
        position: fixed;
        inset: 68px 0 auto 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        flex-direction: column;
        padding: 1rem 0;
        display: none;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    #navbar ul.open {
        display: flex;
    }

    #navbar ul li {
        width: 100%;
        text-align: center;
    }

    #navbar ul li a {
        padding: 1rem;
        display: block;
    }

    .logo-link span {
        display: none;
    }

    .hamburger {
        display: grid;
        place-items: center;
    }

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

    h2 {
        font-size: 2rem;
    }

    .engagements-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .engagements-text {
        text-align: center;
    }


    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 15px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item::after {
        left: 10px;
    }

    #comite .people {
        grid-template-columns: 1fr;
    }

    #countdown {
        gap: 0.8rem;
    }

    #countdown>div {
        padding: 0.8rem 0.5rem;
        min-width: auto;
        flex: 1;
    }

    #countdown span:first-child {
        font-size: 2rem;
    }

    #countdown span:last-child {
        font-size: 0.7rem;
    }

    .event-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-body {
        flex-direction: column;
    }

    .event-image {
        width: 100%;
        margin-top: 1rem;
    }

    .event-image img {
        height: 200px;
    }

    .event-card .event-stats {
        gap: 1rem;
    }
}