/* =====================================================
   RESET FULL WIDTH WORDPRESS / ASTRA
===================================================== */

body.single-activites,
body.single-activites #page,
body.single-activites .site,
body.single-activites .site-content,
body.single-activites .ast-container,
body.single-activites .content-area,
body.single-activites .entry-content,
body.single-activites main,
body.single-activites .container,
body.single-activites .wp-site-blocks {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.entry-content > *,
.wp-block-group,
.wp-block-columns,
.wp-block-cover {
    max-width: 100% !important;
}

.activite-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

/* =====================================================
   HERO
===================================================== */

.activite-hero {
    width: 100%;
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.activite-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
}

.activite-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 0 20px;
}

.activite-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff !important;
    letter-spacing: -1px;
    margin: 0 0 20px 0;
    text-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* =====================================================
   INTRO
===================================================== */

.activite-intro-bar {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #e2001a;
    padding: 70px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.activite-intro-inner {
    max-width: 1200px;
    text-align: center;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.8;
}

.activite-intro-inner * {
    color: #fff;
}

/* =====================================================
   BLOCS CONTENU
===================================================== */

.repeteur-titre {
    color: #e2001a !important;
}

.activite-content {
    width: 100%;
}

.activite-bloc {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 90px 5vw;
    align-items: center;
}

.activite-bloc.reverse {
    direction: rtl;
}

.activite-bloc.reverse > * {
    direction: ltr;
}

.activite-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

.activite-texte h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.activite-text-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* =====================================================
   GALERIE (SANS SWIPER)
===================================================== */

.activite-gallery {
    width: 100%;
    padding: 80px 5vw;
    background: #f8f8f8;
}

.gallery-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-slider img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px;
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

.gallery-slider img:hover {
    transform: scale(1.03);
}

/* =====================================================
   LIGHTBOX
===================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.lightbox.is-active {
    display: block;
}

.lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
}

.lightbox__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.lightbox__close {
    top: 25px;
    right: 25px;
}

.lightbox__prev {
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(0,0,0,0.9);
}

/* =====================================================
   BLOC LIEU
===================================================== */

.activite-lieu {
    padding: 100px 5vw;
    background: #f8f8f8;
}

.activite-lieu-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 50px;
    align-items: stretch;
}

.activite-lieu-info {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.activite-lieu-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.icon-location {
    font-size: 28px;
}

.activite-lieu-title h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
}

.activite-lieu-address {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.activite-lieu-map {
    border-radius: 24px;
    overflow: hidden;
    min-height: 450px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

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

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 980px) {

    .activite-bloc {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .activite-lieu-container {
        grid-template-columns: 1fr;
    }

    .activite-hero {
        height: 60vh;
    }
}