/* Keep the same typography as the original TheEvent template. */
body { font-family: var(--default-font); }
.index-page .main { display: flex; flex-direction: column; }
.index-page .main > section { order: 10; }
.index-page .main > #hero { order: 0; }
.index-page .main > #visuals { order: 1; }
.index-page .main > #speakers { order: 2; }
.index-page .main > #schedule { order: 3; }
.index-page .main > #prestataires { order: 4; }
.index-page .main > #partners { order: 5; }
.index-page .main > #coups-coeur { order: 6; }
.index-page .main > #team { order: 7; }
.index-page .main > #badge { order: 8; }
.index-page .main > #about { order: 9; }
.index-page .main > #contact { order: 10; }
.navmenu, .navmenu a, .section-title h2, .hero h2, .hero h3, .hero-title,
.event-fact strong, .speakers .member-info-content h4, .schedule .nav-tabs a {
  font-family: var(--heading-font);
}
.sitename { max-width: 460px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero > img { object-fit: cover; }
.hero .hero-title { max-width: 980px; font-weight: 900; letter-spacing: -.04em; }
.hero .hero-subtitle { font-size: clamp(1rem, 2.2vw, 1.35rem); }
.hero-video-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 10px 18px; color: var(--contrast-color); border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 35%); border-radius: 999px; background: color-mix(in srgb, var(--accent-color), transparent 18%); font-family: var(--heading-font); font-weight: 800; }
.hero-video-link:hover { color: var(--contrast-color); background: var(--accent-color); transform: translateY(-2px); }
.hero-video-link i { font-size: 1.35rem; color: var(--contrast-color); }
.event-facts { margin-top: 24px; }
.event-fact { height: 100%; padding: 22px; background: var(--surface-color); border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%); border-radius: 18px; text-align: center; }
.event-fact i { display: block; margin-bottom: 7px; color: var(--accent-color); font-size: 1.7rem; }
.event-fact strong { display: block; color: var(--heading-color); font-size: 1.15rem; }
.event-visuals { background: var(--surface-color); }
.event-visual-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; align-items: stretch; }
.event-visual-card { min-height: 260px; margin: 0; overflow: hidden; background: var(--surface-color); border: 0; border-radius: 0; box-shadow: none; }
.event-visual-card img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.event-map-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 0; }
.event-map-label { display: flex; gap: 8px; align-items: center; padding: 14px 16px; color: var(--heading-color); font-weight: 800; }
.event-map-label i { color: var(--accent-color); font-size: 1.2rem; }
.event-map { flex: 1; min-height: 260px; overflow: hidden; border-radius: 0; }
.event-visual-feature { position: relative; }
.event-visual-feature img { min-height: 260px; }
.event-visual-overlay { position: absolute; inset: auto 0 0; padding: 28px 22px 20px; color: #fff; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.18) 25%, rgba(0,0,0,.82) 100%); }
.event-visual-overlay h3 { margin: 0 0 5px; color: #fff; font-family: var(--heading-font); font-size: clamp(1.1rem, 2vw, 1.55rem); }
.event-visual-overlay p { margin: 0; color: #fff; font-size: .95rem; line-height: 1.45; }
.event-contact-map { min-height: 480px; margin-bottom: 24px; border-color: color-mix(in srgb, var(--accent-color), transparent 72%); }
.event-contact-map .event-map { min-height: 480px; }
.contact .contact-details .info-item { padding: 24px; background: var(--surface-color); border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%); border-radius: 18px; }
.contact .contact-details .info-item i { color: var(--accent-color); font-size: 1.7rem; }
.contact .contact-details .info-item h3 { color: var(--heading-color); }
.contact .contact-details .info-item p { color: var(--default-color); }
.services .service-card, .sponsors .service-card { height: 100%; padding: 22px; background: var(--surface-color); border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%); border-radius: 18px; }
.services .service-card i { color: var(--accent-color); font-size: 1.55rem; }
.services .service-card h3 { margin: 10px 0 5px; font-size: 1rem; }
.services .service-card p { margin: 0; font-size: .84rem; line-height: 1.5; opacity: .76; }
.services .service-card-link { display: block; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.services .service-card-link:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,35,55,.12); }
.speaker-swiper { padding: 6px 4px 45px; }
.speaker-swiper .swiper-slide { height: auto; }
.speakers .member img { display: block; width: 100%; height: 230px; object-fit: cover; }
.speaker-swiper .member { min-height: 100%; }
.speakers .member { background: var(--surface-color); }
.speakers .member-info { min-height: 74px; }
.speakers .member { height: 100%; }
.programme-pdf { display: flex; justify-content: center; margin: 0 0 30px; }
.programme-pdf a { display: inline-flex; gap: 10px; align-items: center; padding: 12px 20px; color: var(--heading-color); background: var(--surface-color); border: 1px solid color-mix(in srgb, var(--accent-color), transparent 65%); border-radius: 999px; font-weight: 800; box-shadow: 0 8px 24px rgba(20,35,55,.08); }
.programme-pdf i { color: var(--accent-color); font-size: 1.35rem; }
.schedule .schedule-item .speaker img { width: 100%; height: 100%; object-fit: cover; transform: none; margin: 0; }
.schedule .schedule-item h4 { font-family: var(--heading-font); }
.schedule .schedule-item p, .schedule .schedule-item time { font-family: var(--default-font); }
.partners-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; background: color-mix(in srgb, var(--default-color), transparent 86%); }
.partner-logo { display: grid; min-height: 150px; padding: 24px; place-items: center; background: var(--surface-color); }
.partner-logo { overflow: hidden; }
.partner-logo img { display: block; width: 100%; max-width: 180px; max-height: 80px; object-fit: contain; }
.prestataires-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.presta-card { position: relative; overflow: hidden; min-height: 100%; background: var(--surface-color); border: 1px solid color-mix(in srgb, var(--default-color), transparent 86%); border-radius: 0; box-shadow: none; }
.presta-card > img { display: block; width: 100%; height: 130px; object-fit: cover; background: color-mix(in srgb, var(--default-color), transparent 94%); }
.presta-card-body { position: relative; padding: 14px; }
.presta-card h3 { margin: 0 0 4px; color: var(--heading-color); font-size: .95rem; }
.presta-card p { margin: 0 0 8px; line-height: 1.5; }
.presta-card .presta-type { color: var(--accent-color); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.presta-card .presta-address { color: color-mix(in srgb, var(--default-color), transparent 22%); font-size: .82rem; }
.presta-card .presta-address i { color: var(--accent-color); }
.presta-card .stretched-link { color: var(--accent-color); font-weight: 800; }
.team-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }
.team-card { padding: 14px 9px; text-align: center; background: var(--surface-color); border-radius: 16px; }
.team-card img { width: 78px; height: 78px; object-fit: cover; border-radius: 50%; }
.team-card h3 { margin: 8px 0 2px; font-size: .88rem; }
.team-card p { margin: 0; font-size: .7rem; opacity: .7; }
.favourites-grid, .badge-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 22px; align-items: stretch; width: 100%; }
.favourite-card, .badge-card { display: block; min-width: 0; width: auto; height: 100%; background: var(--surface-color); border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%); border-radius: 4px; overflow: hidden; text-align: center; box-shadow: 0 8px 24px rgba(14,27,77,.06); transition: transform .25s ease, box-shadow .25s ease; }
.favourite-card:hover, .badge-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14,27,77,.12); }
.favourite-card > a { display: block; overflow: hidden; }
.favourite-card img { display: block; width: 100% !important; max-width: 100% !important; height: clamp(145px, 16vw, 190px) !important; max-height: 190px !important; object-fit: cover !important; object-position: center; transition: transform .35s ease; }
.favourite-placeholder { width: 100%; height: clamp(145px, 16vw, 190px); display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent-color), transparent 90%); }
.favourite-card:hover img { transform: scale(1.04); }
.favourite-placeholder { font-size: 2.2rem; color: var(--accent-color); }
.favourite-card-body { padding: 16px 14px 18px; }
.favourite-card h3, .badge-card h3 { margin: 9px 0 5px; color: var(--heading-color); font-family: var(--heading-font); font-size: 1rem; font-weight: 800; }
.favourite-card h3 a { color: inherit; }
.favourite-card p, .badge-card p { margin: 0; color: color-mix(in srgb, var(--default-color), transparent 20%); font-size: .8rem; line-height: 1.45; }
.favourite-award { display: inline-flex; gap: 5px; align-items: center; color: var(--accent-color); font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.badge-card { padding: 14px; }
.badge-card img { display: block; width: 100% !important; max-width: 100% !important; height: clamp(145px, 16vw, 190px) !important; max-height: 190px !important; object-fit: contain !important; padding: 12px; background: color-mix(in srgb, var(--default-color), transparent 96%); border-radius: 4px; }
.badge-card h3 { margin-top: 14px; }
.contact .info-item { height: 100%; }
.footer { font-size: .78rem; }
.footer .footer-top { padding: 32px 0 20px; }
.footer h4 { font-size: .9rem; }
.footer > .social-links { padding: 12px 0 4px; text-align: center; }
@media (max-width: 1199px) { .prestataires-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 991px) { .partners-grid { grid-template-columns: repeat(3,1fr); } .prestataires-grid { grid-template-columns: repeat(2,1fr); } .team-grid { grid-template-columns: repeat(4,1fr); } .favourites-grid, .badge-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .event-visual-grid, .prestataires-grid { grid-template-columns: 1fr; } .partners-grid { grid-template-columns: repeat(2,1fr); } .team-grid { grid-template-columns: repeat(2,1fr); } .favourites-grid, .badge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; } .favourite-card-body { padding: 12px 9px 14px; } .hero .about-info { padding-bottom: 24px; } }
@media (max-width: 420px) { .favourites-grid, .badge-grid { grid-template-columns: 1fr !important; } }
