/* ==========================================================================
   PAGE D'ACCUEIL — Goulaine Country
   Feuille de style dédiée aux modules et à la grille de la page d'accueil
   Géré par le plugin gc-gestion-site
   ========================================================================== */

/* ==========================================================================
   NOUVEAUX SHORTCODES DE LA PAGE D'ACCUEIL (MODULAIRES & RESPONSIVE)
   ========================================================================== */

/* --- 1. Carte ACTU Dédiée (Fond Sombre Direct + Prochain Bal Goulaine) --- */
.gc-titre-star {
    font-family: var(--gc-font-western) !important;
    color: var(--gc-orange) !important;
    font-size: 20px !important;
    margin: 0 5px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    line-height: 1 !important;
    position: relative !important;
    top: -2.5px !important;
}

.gcs-home-card-actu {
    background-color: var(--gc-bleu-nuit) !important;
    border-radius: 8px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 52, 72, 0.2) !important;
    border: 1px solid rgba(186, 116, 64, 0.2) !important;
    border-left: 4px solid var(--gc-orange) !important;
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.gcs-home-card-actu:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(0, 52, 72, 0.25) !important;
}

.gcs-home-actu-inner {
    flex: 1 1 auto;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

/* Zone texte Actu fluide (ne pousse pas le bal vers le bas) */
.gcs-home-actu-top {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 10px 18px 4px 18px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.gcs-home-card-actu .gcs-vc-actu-top-header {
    text-align: center;
    margin-bottom: 0px !important;
    flex-shrink: 0;
}

.gcs-home-card-actu .gcs-vc-actu-title {
    font-family: var(--gc-font-western) !important;
    font-size: var(--gc-titre-font-size) !important;
    color: var(--gc-blanc) !important;
    margin: 0 !important;
    margin-bottom: 0px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: center !important;
}

.gcs-home-card-actu .gcs-vc-actu-title .gc-titre-star {
    color: #ffffff !important;
}

.gcs-home-card-actu .gcs-vc-actu-subtitle,
.gcs-vc-card-actu .gcs-vc-actu-subtitle {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-family: var(--gc-font-script) !important;
    font-size: 24px !important;
    color: var(--gc-orange) !important;
    line-height: 1.25 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

/* Texte d'actu directement sur fond sombre */
.gcs-home-actu-text-wrap {
    color: var(--gc-blanc) !important;
    font-family: var(--gc-font-body) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
}

.gcs-home-actu-text-wrap p {
    margin: 0 !important;
    line-height: 1.4 !important;
    color: var(--gc-blanc) !important;
}

.gcs-home-actu-text-wrap strong {
    color: var(--gc-blanc) !important;
    font-weight: 700 !important;
}

.gcs-home-actu-text-wrap span {
    color: var(--gc-blanc) !important;
}

.gcs-home-actu-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.gcs-home-actu-item .dashicons {
    color: var(--gc-orange) !important;
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.gcs-home-actu-item-text {
    color: var(--gc-blanc) !important;
}

.gcs-home-actu-item-text strong {
    color: var(--gc-blanc) !important;
    font-size: 14px;
}

/* Encart : Prochain Bal de Goulaine — Ancré sous l'actu, titre stable */
.gcs-home-actu-bal-section {
    padding: 6px 16px 4px 16px !important;
    box-sizing: border-box !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end !important;
}

.gc-titre-bal-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
    gap: 7px !important;
    width: 100% !important;
}

.gc-titre-bal-container .gc-titre-ligne {
    flex: 0 1 25px !important;
    width: auto !important;
    max-width: 35px !important;
    min-width: 12px !important;
    height: 2px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
    opacity: 1 !important;
    position: relative !important;
    top: -2px !important;
}

.gc-titre-bal-container .gc-titre-etoile {
    font-family: var(--gc-font-western) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    position: relative !important;
    top: -2px !important;
}

.gcs-home-actu-bal-heading,
.gcs-home-actu-bal-heading.gc-titre-texte {
    font-family: var(--gc-font-western) !important;
    font-size: clamp(17px, 1.3vw, 20px) !important;
    color: #ffffff !important;
    text-align: center;
    letter-spacing: 0.8px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
}

.gcs-home-actu-bal-heading .gc-titre-star,
.actu-bal-star {
    font-family: var(--gc-font-western) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    margin: 0 4px !important;
    vertical-align: middle;
}

.gcs-home-actu-bal-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(212, 163, 115, 0.35) !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    margin-top: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gcs-home-actu-bal-card:hover {
    background: rgba(255, 255, 255, 0.12);
}

.gcs-home-actu-bal-main-link {
    display: flex;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    color: inherit !important;
}

.gcs-home-actu-bal-main-link:hover .gcs-home-actu-bal-title {
    color: var(--gc-orange);
}

.gcs-home-actu-bal-badge {
    background-color: var(--gc-orange);
    color: #ffffff !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.bal-badge-dayname {
    font-size: 8px !important;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 600;
    line-height: 1;
    color: #ffffff !important;
}

.bal-badge-day {
    font-family: var(--gc-font-western) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1;
    margin: 0 !important;
    color: #ffffff !important;
}

.bal-badge-month {
    font-size: 8px !important;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    color: #ffffff !important;
}

.gcs-home-actu-bal-info {
    flex: 1;
    min-width: 0;
}

.gcs-home-actu-bal-title {
    font-family: var(--gc-font-western);
    font-size: 14px;
    font-weight: 700;
    color: var(--gc-blanc);
    margin: 0 0 1px 0;
    letter-spacing: 0.5px;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.15 !important;
    transition: color 0.2s ease;
}

.gcs-home-actu-bal-date {
    display: none !important;
}

.gcs-home-actu-bal-lieu {
    font-size: 11.5px !important;
    color: #ffffff !important;
    margin-bottom: 0 !important;
    line-height: 1.25;
}

.gcs-home-actu-bal-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.35;
    margin: 0;
}

/* Petits boutons d'action du bal (Affiche, Playlist, Réserver) - Dimensions compactes */
.gcs-home-actu-bal-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 4px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gcs-bal-mini-btn {
    flex: 1 1 0;
    min-width: 0;
    max-width: 125px;
    height: 22px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff !important;
    font-family: var(--gc-font-western) !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0 6px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    line-height: 22px !important;
    white-space: nowrap;
    transition: all 0.2s ease !important;
    cursor: pointer;
    box-sizing: border-box !important;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
}

/* Bouton 1 : Affiche (Bordure & Texte Camel / Cuivre) */
.gcs-bal-btn-affiche {
    background-color: #ffffff !important;
    color: var(--gc-orange) !important;
    border: 1.5px solid var(--gc-orange) !important;
}

.gcs-bal-btn-affiche:hover {
    background-color: var(--gc-orange) !important;
    border-color: var(--gc-orange) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25) !important;
}

/* Bouton 2 : Playlist (Bordure & Texte Bleu Canard / Sarcelle) */
.gcs-bal-btn-playlist {
    background-color: #ffffff !important;
    color: var(--gc-bleu) !important;
    border: 1.5px solid var(--gc-bleu) !important;
}

.gcs-bal-btn-playlist:hover {
    background-color: var(--gc-bleu) !important;
    border-color: var(--gc-bleu) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25) !important;
}

/* Bouton 3 : Réserver (Bordure & Texte Bleu Nuit / Azur) */
.gcs-bal-btn-resa {
    background-color: #ffffff !important;
    color: var(--gc-bleu-nuit) !important;
    border: 1.5px solid var(--gc-bleu-nuit) !important;
}

.gcs-bal-btn-resa:hover {
    background-color: var(--gc-bleu-nuit) !important;
    border-color: var(--gc-bleu-nuit) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25) !important;
}

.gcs-bal-mini-btn:active {
    transform: scale(0.97) !important;
}

@media (max-width: 480px) {
    .gcs-home-actu-bal-actions {
        gap: 5px;
    }

    .gcs-bal-mini-btn {
        font-size: 10px !important;
        padding: 0 4px !important;
        height: 28px !important;
        min-width: 65px;
        letter-spacing: 0.3px !important;
    }
}

.gcs-home-card-actu .gcs-vc-footer {
    padding: 8px 16px 16px 16px !important;
    background: transparent;
    text-align: center;
    margin-top: 0 !important;
}

.gcs-home-actu-btn {
    width: 100% !important;
}

/* --- 2. Cartes COURS & ESPRIT GOULAINE --- */
.gcs-home-card-cours,
.gcs-home-card-esprit,
.gcs-vc-card-cours,
.gcs-vc-card-galerie {
    background-color: var(--gc-beige) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(186, 116, 64, 0.2) !important;
    border-left: 4px solid var(--gc-orange) !important;
    height: 100%;
    min-height: 420px;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-sizing: border-box;
    position: relative;
}

.gcs-home-card-cours:hover,
.gcs-home-card-esprit:hover,
.gcs-vc-card-cours:hover,
.gcs-vc-card-galerie:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10) !important;
}

/* En-têtes uniformes au sommet des 3 cartes */
.gcs-vc-top-header {
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 12px 12px 12px !important;
    text-align: center !important;
}

@media (min-width: 981px) {
    .gcs-vc-top-header {
        min-height: 76px !important;
        height: 76px !important;
    }

    .gcs-home-card-actu .gcs-vc-top-header,
    .gcs-home-card-cours .gcs-vc-top-header,
    .gcs-home-card-esprit .gcs-vc-top-header,
    .gcs-vc-card-actu .gcs-vc-top-header,
    .gcs-vc-card-cours .gcs-vc-top-header,
    .gcs-vc-card-galerie .gcs-vc-top-header {
        min-height: 76px !important;
        height: 76px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 16px 10px 14px 10px !important;
        box-sizing: border-box !important;
    }

    /* Override pour l'Actu : On laisse la hauteur s'adapter naturellement pour rapprocher le sous-titre */
    .gcs-home-card-actu .gcs-vc-top-header,
    .gcs-vc-card-actu .gcs-vc-top-header {
        height: auto !important;
        min-height: auto !important;
        padding-bottom: 5px !important;
    }
}


/* --- Titres avec tirets et étoiles (Charte Graphique GC) --- */
.gcs-vc-card .gc-titre-container,
.gcs-home-card-actu .gc-titre-container,
.gcs-vc-top-header .gc-titre-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 4px !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Tirets latéraux charte : var(--gc-orange), épaisseur 2px, alignés sur les majuscules */
.gcs-vc-card .gc-titre-ligne,
.gcs-home-card-actu .gc-titre-ligne,
.gcs-vc-top-header .gc-titre-ligne {
    flex: 0 1 40px !important;
    width: auto !important;
    max-width: 50px !important;
    min-width: 15px !important;
    height: 2px !important;
    background-color: var(--gc-orange) !important;
    border-radius: 2px !important;
    opacity: 0.85 !important;
    position: relative !important;
    top: -2.5px !important;
    margin: 0 !important;
    display: inline-block !important;
}

/* Étoiles charte : Go2OldWestern-Bold, couleur orange */
.gcs-vc-card .gc-titre-etoile,
.gcs-home-card-actu .gc-titre-etoile,
.gcs-vc-top-header .gc-titre-etoile {
    font-family: var(--gc-font-western) !important;
    color: var(--gc-orange) !important;
    font-size: 20px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    position: relative !important;
    top: -2.5px !important;
}

/* Titre ACTU et Bals sur fond sombre/orange : Tirets et Étoiles en blanc */
.gcs-home-card-actu .gcs-vc-top-header .gc-titre-ligne,
.gcs-vc-card-actu .gcs-vc-top-header .gc-titre-ligne,
.gcs-vc-actu-top-header .gc-titre-ligne {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

.gcs-home-card-actu .gcs-vc-top-header .gc-titre-etoile,
.gcs-vc-card-actu .gcs-vc-top-header .gc-titre-etoile,
.gcs-vc-actu-top-header .gc-titre-etoile,
.gc-home-bals-block .gc-titre-etoile {
    font-family: var(--gc-font-western) !important;
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    position: relative !important;
    top: -2.5px !important;
}

/* Textes des titres dans les cartes à fond clair */
.gcs-vc-card:not(.gcs-home-card-actu):not(.gcs-vc-card-actu) .gc-titre-texte,
.gcs-vc-top-header:not(.gcs-vc-actu-top-header) .gc-titre-texte,
.gcs-home-card-cours .gcs-vc-title,
.gcs-home-card-esprit .gcs-vc-title,
.gcs-vc-card-cours .gcs-vc-title,
.gcs-vc-card-galerie .gcs-vc-title {
    font-family: var(--gc-font-western) !important;
    font-size: var(--gc-titre-font-size) !important;
    color: var(--gc-bleu-nuit) !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    padding: 0 4px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-align: center !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
}

/* Titres de la carte ACTU sur fond sombre : texte obligatoirement en blanc */
.gcs-home-card-actu .gc-titre-texte,
.gcs-home-card-actu .gcs-vc-actu-title,
.gcs-home-card-actu .gcs-home-actu-bal-heading,
.gcs-vc-card-actu .gc-titre-texte,
.gcs-vc-card-actu .gcs-vc-actu-title,
.gcs-vc-card-actu .gcs-home-actu-bal-heading {
    font-family: var(--gc-font-western) !important;
    color: #ffffff !important;
}

.gcs-home-card-cours .gcs-vc-img-wrap,
.gcs-home-card-esprit .gcs-vc-img-wrap,
.gcs-vc-card-cours .gcs-vc-img-wrap,
.gcs-vc-card-galerie .gcs-vc-img-wrap {
    width: calc(100% + 2px) !important;
    margin-left: -1px !important;
    margin-top: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: var(--gc-orange) !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(186, 116, 64, 0.18) !important;
    border-bottom: 1px solid rgba(186, 116, 64, 0.18) !important;
}


@media (min-width: 981px) {

    .gcs-home-card-cours .gcs-vc-img-wrap,
    .gcs-home-card-esprit .gcs-vc-img-wrap,
    .gcs-vc-card-cours .gcs-vc-img-wrap,
    .gcs-vc-card-galerie .gcs-vc-img-wrap {
        height: 170px !important;
        min-height: 170px !important;
        max-height: 170px !important;
    }
}

.gcs-home-card-cours .gcs-vc-img-wrap img,
.gcs-home-card-esprit .gcs-vc-img-wrap img,
.gcs-vc-card-cours .gcs-vc-img-wrap img,
.gcs-vc-card-galerie .gcs-vc-img-wrap img,
.gcs-home-card-cours .gcs-vc-img-cours,
.gcs-home-card-esprit .gcs-vc-img-galerie {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    border: none !important;
    transition: transform 0.4s ease;
}

.gcs-home-card-cours:hover .gcs-vc-img-wrap img,
.gcs-home-card-esprit:hover .gcs-vc-img-wrap img,
.gcs-vc-card-cours:hover .gcs-vc-img-wrap img,
.gcs-vc-card-galerie:hover .gcs-vc-img-wrap img {
    transform: scale(1.03);
}

.gcs-home-card-cours .gcs-vc-content,
.gcs-home-card-esprit .gcs-vc-content,
.gcs-vc-card-cours .gcs-vc-content,
.gcs-vc-card-galerie .gcs-vc-content {
    padding: 15px 18px !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}


.gcs-home-card-cours .gcs-vc-text,
.gcs-home-card-esprit .gcs-vc-text,
.gcs-vc-card-cours .gcs-vc-text,
.gcs-vc-card-galerie .gcs-vc-text {
    width: 100% !important;
    font-family: var(--gc-font-body) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: var(--gc-texte) !important;
    margin: 0 auto !important;
    padding: 2px 8px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.gcs-home-card-cours .gcs-vc-text p,
.gcs-home-card-esprit .gcs-vc-text p,
.gcs-vc-card-cours .gcs-vc-text p,
.gcs-vc-card-galerie .gcs-vc-text p {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.gcs-home-card-cours .gcs-vc-footer,
.gcs-home-card-esprit .gcs-vc-footer {
    padding: 10px 18px 16px 18px !important;
    text-align: center;
    margin-top: auto !important;
}

.gcs-home-card-cours .gcs-vc-btn,
.gcs-home-card-esprit .gcs-vc-btn {
    width: 100% !important;
}

/* --- 3. Bloc L'ÉQUIPE (Hauteur Compacte & 2 Boutons Répartis) --- */
.gc-home-equipe-block {
    background-color: var(--gc-beige) !important;
    border: 1px solid rgba(186, 116, 64, 0.2) !important;
    border-left: 4px solid var(--gc-orange) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    padding: 18px 20px !important;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.gc-home-equipe-block:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10) !important;
}

.gc-home-equipe-block .gc-titre-wrapper {
    margin-bottom: 12px !important;
}

.gc-home-equipe-block .gc-titre-etoile,
.gc-home-equipe-block .gc-titre-ligne {
    position: relative !important;
    top: -2.5px !important;
}

.gc-home-equipe-block .gc-titre-texte {
    font-size: var(--gc-titre-font-size) !important;
}

.gc-home-equipe-block .gc-equipe-content {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 24px !important;
    align-items: stretch !important;
    flex: 1 !important;
}

.gc-home-equipe-block .gc-equipe-col-gauche {
    flex: 1 1 46% !important;
    max-width: 46% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.gc-home-equipe-block .gc-equipe-col-droite {
    flex: 1 1 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: stretch !important;
    position: relative !important;
}

.gc-home-equipe-block .gc-equipe-phrase-script {
    font-family: var(--gc-font-script) !important;
    font-size: 24px !important;
    color: var(--gc-orange) !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
}

.gc-home-equipe-block .gc-equipe-intro {
    font-family: var(--gc-font-body) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: var(--gc-texte) !important;
    margin-bottom: 12px !important;
}

.gc-home-equipe-block .gc-equipe-sous-titre {
    font-family: var(--gc-font-western) !important;
    color: var(--gc-bleu-nuit) !important;
    font-size: clamp(14px, 1.3vw, 16px) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin: 12px 0 10px 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    letter-spacing: 0.8px !important;
}

.gc-home-equipe-block .gc-equipe-valeurs {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
    margin-top: 4px !important;
    text-align: center !important;
}

.gc-home-equipe-block .gc-equipe-valeur-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 1px !important;
}

.gc-home-equipe-block .gc-equipe-valeur-icon {
    height: 44px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin-bottom: 6px !important;
}

.gc-home-equipe-block .gc-equipe-valeur-titre {
    font-family: var(--gc-font-western) !important;
    color: var(--gc-bleu-nuit) !important;
    font-size: 13.5px !important;
    margin: 0 0 2px 0 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
}

.gc-home-equipe-block .gc-equipe-valeur-desc {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    color: #555555 !important;
    margin: 0 !important;
}

.gc-home-equipe-block .gc-equipe-sep {
    width: 1px !important;
    background-color: #E0E0E0 !important;
    margin: 0 2px !important;
}

.gc-home-equipe-block .gc-equipe-action-gauche {
    margin-top: auto !important;
    padding-top: 14px !important;
    display: flex !important;
    align-items: flex-end !important;
}

.gc-home-equipe-block .gc-equipe-action-droite {
    margin-top: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.gc-btn-equipe {
    width: 100% !important;
}

.gc-btn-cours {
    display: none !important;
}

.gc-home-equipe-block .gc-equipe-photo-container {
    margin-bottom: 15px !important;
    position: relative !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    border: 1px solid rgba(0, 52, 72, 0.08) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
    background-color: transparent !important;
}

.gc-home-equipe-block .gc-equipe-photo {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    border-radius: 6px !important;
    transition: transform 0.3s ease !important;
}

.gc-home-equipe-block .gc-equipe-photo-container:hover .gc-equipe-photo {
    transform: scale(1.02);
}

/* Tampon 100% Bénévoles Réduit & Discret */
.gc-home-equipe-block .gc-equipe-tampon {
    position: absolute !important;
    top: -10px !important;
    right: -6px !important;
    z-index: 10 !important;
    transform: rotate(8deg) !important;
    border: 2px double var(--gc-orange) !important;
    border-radius: 4px !important;
    padding: 3px 8px !important;
    color: var(--gc-orange) !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    line-height: 1 !important;
    font-family: var(--gc-font-western) !important;
    pointer-events: none !important;
}

.gc-home-equipe-block .gc-equipe-tampon::before,
.gc-home-equipe-block .gc-equipe-tampon::after {
    display: none !important;
}

.gc-home-equipe-block .gc-equipe-tampon .tampon-100 {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 2px !important;
}

.gc-home-equipe-block .gc-equipe-tampon .tampon-texte {
    font-size: 9.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* --- 4. Bloc BALS DES ENVIRONS (Hauteur Égalisée avec Équipe) --- */
.gc-home-bals-block {
    background-color: var(--gc-orange) !important;
    border-radius: 8px !important;
    padding: 18px 20px !important;
    box-shadow: 0 8px 25px rgba(186, 116, 64, 0.25) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.gc-home-bals-block:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(186, 116, 64, 0.28) !important;
}

.gc-home-bals-header {
    text-align: center;
    margin-bottom: 8px !important;
}

.gc-home-bals-block .gc-titre-ligne {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

.gc-home-bals-title {
    font-family: var(--gc-font-western) !important;
    font-size: var(--gc-titre-font-size) !important;
    color: #ffffff !important;
    margin: 0 0 4px 0 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.gc-home-bals-subtitle {
    font-family: var(--gc-font-body) !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.55 !important;
}

.gc-home-bals-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px !important;
    flex: 1;
}

.gc-home-bal-item {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 1 1 0px !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
}

.gc-home-bal-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.gc-home-bal-badge {
    background-color: var(--gc-bleu-nuit) !important;
    color: #ffffff !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.gc-home-bal-dayname {
    font-size: 9.5px !important;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 600;
}

.gc-home-bal-daynum {
    font-family: var(--gc-font-western) !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    margin: 1px 0;
    line-height: 1;
}

.gc-home-bal-month {
    font-size: 9.5px !important;
    text-transform: uppercase;
    font-weight: 700;
}

.gc-home-bal-info {
    flex: 1;
    min-width: 0;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.gc-home-bal-name {
    font-family: var(--gc-font-western) !important;
    font-size: 20px !important;
    color: var(--gc-bleu-nuit) !important;
    margin: 0 0 -3px 0 !important;
    font-weight: 700 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: 0.5px !important;
    line-height: 1.05 !important;
}

.gc-home-bal-city {
    font-size: 13px !important;
    color: #555555 !important;
    margin: 0 !important;
    margin-top: -2px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1 !important;
}

.gc-home-bal-arrow {
    font-size: 22px !important;
    font-weight: bold;
    color: var(--gc-orange);
    margin-left: auto;
    padding-left: 6px;
    flex-shrink: 0;
}

.gc-home-bals-empty {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    color: #ffffff;
    margin: 10px 0;
}

.gc-home-bals-footer {
    text-align: center;
    margin-top: auto !important;
    padding-top: 10px !important;
    display: flex !important;
    align-items: flex-end !important;
}

.gc-home-bals-btn {
    width: 100% !important;
}

/* --- 5. Bandeau CTA "Envie d'essayer ?" (Fidèle à la Maquette) --- */
.gc-home-cta-banner {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.gc-home-cta-left {
    background-color: var(--gc-bleu-nuit);
    flex: 1 1 35%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.gc-home-cta-title {
    font-family: var(--gc-font-western) !important;
    font-size: var(--gc-titre-font-size) !important;
    color: var(--gc-blanc) !important;
    margin: 0 0 5px 0 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gc-home-cta-subtitle {
    font-family: var(--gc-font-script) !important;
    font-size: 24px !important;
    color: var(--gc-blanc) !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.25 !important;
}

.gc-home-cta-text {
    font-family: var(--gc-font-body) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: var(--gc-blanc) !important;
    margin: 0 0 20px 0 !important;
    opacity: 0.9;
}

.gc-home-cta-action {
    display: flex;
}

.gc-home-cta-center {
    flex: 0 0 30%;
    position: relative;
    overflow: hidden;
    min-width: 240px;
    background-color: var(--gc-beige);
}

.gc-home-cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 72%, rgba(0, 0, 0, 0.7) 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 72%, rgba(0, 0, 0, 0.7) 88%, transparent 100%);
}

.gc-home-cta-banner.gc-cta-cours .gc-home-cta-img {
    object-position: center center !important;
}

.gc-home-cta-right {
    background-color: var(--gc-beige);
    flex: 1 1 35%;
    padding: 30px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.gc-home-cta-info-title {
    font-family: var(--gc-font-western) !important;
    font-size: 20px !important;
    color: var(--gc-bleu-nuit) !important;
    margin: 0 0 6px 0 !important;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 0.5px;
}

.gc-home-cta-info-divider {
    width: 45px;
    height: 3px;
    background-color: var(--gc-orange);
    margin-bottom: 16px;
    border-radius: 2px;
}

.gc-home-cta-info-list,
.gc-home-cta-info-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.gc-home-cta-info-col-left,
.gc-home-cta-info-col-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.gc-home-cta-info-box {
    background-color: var(--gc-blanc);
    border-radius: 8px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(186, 116, 64, 0.12);
    width: 100%;
    box-sizing: border-box;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gc-home-cta-info-box-link:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.gc-home-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: rgba(186, 116, 64, 0.12);
    color: var(--gc-camel);
    flex-shrink: 0;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.gc-home-cta-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.gc-home-cta-info-box-link:hover .gc-home-cta-icon {
    background-color: var(--gc-camel);
    color: var(--gc-blanc);
    transform: scale(1.06);
}

.gc-home-cta-info-text {
    font-family: var(--gc-font-body) !important;
    font-size: 14px;
    line-height: 1.35;
    color: var(--gc-texte);
    font-weight: 500;
}

.gc-home-cta-conclusion {
    font-family: var(--gc-font-script) !important;
    font-size: 20px !important;
    color: var(--gc-orange) !important;
    text-align: right;
    margin-top: 10px;
    padding-right: 6px;
    transform: rotate(-2deg);
}



/* --- 6. Grille Maître & Ordonnancement Mobile Automatique [gcs_home_layout] --- */
.gc-home-master-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 30px 0 !important;
    box-sizing: border-box !important;
}

.gc-home-vieduclub-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.gc-home-vieduclub-header .gc-titre-subtitle {
    margin-top: -2px !important;
    margin-bottom: 0 !important;
}

@media (min-width: 981px) {
    .gc-home-unified-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
        align-items: stretch !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .gc-home-unified-grid>.gc-home-grid-item {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .gc-item-actu {
        grid-column: 1 / 2;
    }

    .gc-item-cours {
        grid-column: 2 / 3;
    }

    .gc-item-esprit {
        grid-column: 3 / 4;
    }

    .gc-item-equipe {
        grid-column: 1 / 3;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    .gc-item-bals {
        grid-column: 3 / 4;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    .gc-item-equipe>.gc-home-equipe-block,
    .gc-item-bals>.gc-home-bals-block {
        flex: 1 1 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .gc-item-cta {
        grid-column: 1 / -1;
    }
}

/* Égalisation automatique des hauteurs et largeurs pour les lignes Divi natives */
@media (min-width: 981px) {

    /* Cas spécifique du Hub Global [gcs_home_layout] : La ligne Divi et sa colonne unique doivent rester à 100% et centrées */
    .et_pb_row:has(.gc-home-master-container) {
        display: block !important;
        width: 100% !important;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .et_pb_row:has(.gc-home-master-container)>.et_pb_column {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: block !important;
        flex: 0 0 100% !important;
    }

    .et_pb_row:has(.gc-home-master-container) .et_pb_module,
    .et_pb_row:has(.gc-home-master-container) .et_pb_code,
    .et_pb_row:has(.gc-home-master-container) .et_pb_code_inner {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }

    /* Unification des largeurs et centrage de toutes les lignes Divi de la page d'accueil (hors shortcode global) */
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-actu),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-cours),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-esprit),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-actu),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-cours),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-galerie),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-equipe-block),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-bals-block),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-section-equipe),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-cta-banner) {
        width: 100% !important;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    /* Synchronisation mathématique stricte des colonnes Ligne 1 (3 colonnes : Actu, Cours, Esprit) */
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-actu),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-actu) {
        display: flex !important;
        gap: 30px !important;
        justify-content: space-between !important;
    }

    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-actu)>.et_pb_column,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-actu)>.et_pb_column {
        width: calc((100% - 60px) / 3) !important;
        margin-right: 0 !important;
    }

    /* Synchronisation mathématique stricte des colonnes Ligne 2 (2 colonnes : Équipe 2/3 et Bals 1/3) */
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-equipe-block),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-bals-block),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-section-equipe) {
        display: flex !important;
        gap: 30px !important;
        justify-content: space-between !important;
        align-items: stretch !important;
        flex-wrap: wrap !important;
    }

    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-equipe-block)>.et_pb_column:first-child,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-section-equipe)>.et_pb_column:first-child {
        width: calc(((100% - 60px) / 3) * 2 + 30px) !important;
        margin-right: 0 !important;
    }

    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-equipe-block)>.et_pb_column:last-child,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-section-equipe)>.et_pb_column:last-child {
        width: calc((100% - 60px) / 3) !important;
        margin-right: 0 !important;
    }

    .gc-home-equipe-block,
    .gc-home-bals-block {
        height: 100% !important;
        min-height: 385px !important;
    }

    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-equipe-block)>.et_pb_column,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-bals-block)>.et_pb_column,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-section-equipe)>.et_pb_column {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-equipe-block) .et_pb_module,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-bals-block) .et_pb_module,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-section-equipe) .et_pb_module,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-equipe-block) .et_pb_code_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-bals-block) .et_pb_code_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-section-equipe) .et_pb_code_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-equipe-block) .et_pb_module_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-bals-block) .et_pb_module_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-section-equipe) .et_pb_module_inner {
        height: 100% !important;
        flex: 1 1 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-equipe-block) .gc-home-equipe-block,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-home-bals-block) .gc-home-bals-block,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gc-section-equipe) .gc-section-equipe {
        height: 100% !important;
        flex: 1 1 100% !important;
    }

    /* Égalisation automatique pour la ligne 1 Divi : Actu, Cours, Esprit */
    .gcs-home-card-actu,
    .gcs-home-card-cours,
    .gcs-home-card-esprit {
        height: 100% !important;
        box-sizing: border-box !important;
    }

    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-actu),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-cours),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-esprit),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-actu),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-cours),
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-galerie) {
        align-items: stretch !important;
        flex-wrap: wrap !important;
    }

    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-actu)>.et_pb_column,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-cours)>.et_pb_column,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-esprit)>.et_pb_column,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-actu)>.et_pb_column,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-cours)>.et_pb_column,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-galerie)>.et_pb_column {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-actu) .et_pb_module,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-cours) .et_pb_module,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-esprit) .et_pb_module,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-actu) .et_pb_module,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-cours) .et_pb_module,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-galerie) .et_pb_module,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-actu) .et_pb_code_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-cours) .et_pb_code_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-esprit) .et_pb_code_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-actu) .et_pb_code_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-cours) .et_pb_code_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-galerie) .et_pb_code_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-actu) .et_pb_module_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-cours) .et_pb_module_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-esprit) .et_pb_module_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-actu) .et_pb_module_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-cours) .et_pb_module_inner,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-galerie) .et_pb_module_inner {
        height: 100% !important;
        flex: 1 1 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-actu) .gcs-vc-card,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-cours) .gcs-vc-card,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-home-card-esprit) .gcs-vc-card,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-actu) .gcs-vc-card,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-cours) .gcs-vc-card,
    .et_pb_row:not(:has(.gc-home-master-container)):has(.gcs-vc-card-galerie) .gcs-vc-card {
        height: 100% !important;
        flex: 1 1 100% !important;
    }
}

/* Hero Banner Description */
.gc-home-hero-desc {
    font-family: var(--gc-font-body) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

/* ==========================================================================
   RESPONSIVE TABLETTE & MOBILE (ORDONNANCEMENT SPÉCIFIQUE)
   ========================================================================== */
@media (max-width: 980px) {
    .gc-home-master-container {
        padding: 10px 10px 15px 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .gc-home-vieduclub-header {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
        width: 100% !important;
    }

    .gc-home-vieduclub-header .gc-titre-subtitle {
        margin-top: -2px !important;
        margin-bottom: 0 !important;
    }

    /* Homogénéisation des titres sur mobile (22px par défaut ou réglage admin) */
    .gc-titre-texte,
    .gcs-home-card-actu .gcs-vc-actu-title,
    .gc-home-equipe-block .gc-titre-texte,
    .gc-home-bals-block .gc-titre-texte,
    .gcs-home-card-cours .gcs-vc-title,
    .gcs-home-card-esprit .gcs-vc-title,
    .gc-home-cta-title {
        font-size: var(--gc-titre-font-size-mobile) !important;
    }

    .gcs-home-card-actu .gcs-vc-actu-subtitle,
    .gcs-vc-card-actu .gcs-vc-actu-subtitle {
        font-size: var(--gc-subtitle-font-size-mobile) !important;
        margin: 0 0 8px 0 !important;
    }

    .gcs-home-actu-bal-heading,
    .gcs-home-actu-bal-heading.gc-titre-texte {
        font-size: 19px !important;
    }

    /* Forcer le flux vertical strict à 1 seule colonne pleine largeur */
    .gc-home-unified-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .gc-home-unified-grid>.gc-home-grid-item {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        grid-column: auto !important;
        box-sizing: border-box !important;
    }

    /* Réinitialisation stricte des colonnes de grille */
    .gc-item-actu,
    .gc-item-equipe,
    .gc-item-bals,
    .gc-item-cours,
    .gc-item-esprit,
    .gc-item-cta {
        grid-column: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Ordre vertical exact demandé : 1. Actu, 2. Équipe, 3. Bals, 4. Cours, 5. Esprit, 6. CTA */
    .gc-item-actu {
        order: 1 !important;
    }

    .gc-item-equipe {
        order: 2 !important;
    }

    .gc-item-bals {
        order: 3 !important;
    }

    .gc-item-cours {
        order: 4 !important;
    }

    .gc-item-esprit {
        order: 5 !important;
    }

    .gc-item-cta {
        order: 6 !important;
    }

    /* Supprime définitivement toute flèche Dashicons résiduelle sur les cartes modernes */
    .gcs-home-card-actu::after,
    .gcs-home-card-cours::after,
    .gcs-home-card-esprit::after,
    .gc-home-equipe-block::after,
    .gc-home-bals-block::after,
    .gc-home-cta-banner::after {
        display: none !important;
        content: none !important;
    }

    /* 1. Carte ACTU Mobile : Conserve rigoureusement son fond Bleu Nuit et son ergonomie */
    .gcs-home-card-actu {
        background-color: var(--gc-bleu-nuit) !important;
        border-radius: 8px !important;
        border: 1px solid rgba(186, 116, 64, 0.3) !important;
        border-left: 4px solid var(--gc-orange) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .gcs-home-card-actu .gcs-home-actu-top {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 14px 16px 10px 16px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .gcs-home-card-actu .gcs-home-actu-top-header {
        text-align: center !important;
    }

    .gcs-home-card-actu .gcs-home-actu-text-wrap {
        font-size: 13px !important;
        line-height: 1.45 !important;
        flex: 0 0 auto !important;
        padding: 2px 0 0 0 !important;
    }

    .gcs-home-card-actu .gcs-home-actu-bal-wrap {
        padding: 12px 14px 8px 14px !important;
    }

    .gcs-home-card-actu .gcs-vc-footer {
        display: block !important;
        margin-top: auto !important;
        padding: 10px 14px 14px 14px !important;
    }

    /* 2. Bloc ÉQUIPE Mobile : Colonne unique propre, photo visible et centrée */
    .gc-home-equipe-block {
        padding: 18px 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        box-sizing: border-box !important;
    }

    .gc-home-equipe-block .gc-equipe-content {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        width: 100% !important;
    }

    /* Permet de réordonner les enfants de la colonne gauche autour de la photo */
    .gc-home-equipe-block .gc-equipe-col-gauche {
        display: contents !important;
    }

    .gc-home-equipe-block .gc-equipe-col-droite {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        order: 2 !important;
        margin-bottom: 2px !important;
    }

    .gc-home-equipe-block .gc-equipe-phrase-script {
        white-space: normal !important;
        text-align: center !important;
        font-size: 20px !important;
        order: 1 !important;
        margin-bottom: 2px !important;
    }

    .gc-home-equipe-block .gc-equipe-intro {
        text-align: center !important;
        font-size: 13px !important;
        margin-bottom: 0px !important;
        order: 3 !important;
    }

    .gc-home-equipe-block .gc-equipe-sous-titre {
        text-align: center !important;
        font-size: 13px !important;
        margin: 2px 0 2px 0 !important;
        padding: 0 !important;
        order: 4 !important;
    }

    .gc-home-equipe-block .gc-equipe-valeurs {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        gap: 6px !important;
        margin: 2px 0 10px 0 !important;
        padding: 0 !important;
        order: 5 !important;
    }

    .gc-home-equipe-block .gc-equipe-action-gauche {
        order: 6 !important;
        width: 100% !important;
    }

    .gc-home-equipe-block .gc-equipe-valeur-item {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .gc-home-equipe-block .gc-equipe-valeur-icon {
        height: 42px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        margin-bottom: 5px !important;
    }

    .gc-home-equipe-block .gc-equipe-valeur-titre {
        font-size: 12.5px !important;
    }

    .gc-home-equipe-block .gc-equipe-valeur-desc {
        font-size: 10.5px !important;
    }

    .gc-home-equipe-block .gc-equipe-tampon {
        top: -8px !important;
        right: 0px !important;
    }

    .gc-home-equipe-block .gc-equipe-photo-container {
        width: 100% !important;
        height: 220px !important;
        min-height: 180px !important;
        max-height: 250px !important;
        border-radius: 6px !important;
    }

    .gc-home-equipe-block .gc-equipe-photo {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 25% !important;
    }

    .gc-btn-equipe {
        font-size: var(--gc-btn-font-size-mobile) !important;
        padding: var(--gc-btn-padding-mobile) !important;
        height: var(--gc-btn-mobile-height) !important;
        min-height: var(--gc-btn-mobile-height) !important;
        width: 100% !important;
    }

    /* 3. Bloc BALS DES ENVIRONS Mobile */
    .gc-home-bals-block {
        padding: 18px 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        box-sizing: border-box !important;
    }

    .gc-home-bals-subtitle {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }

    .gc-home-bals-list {
        gap: 8px !important;
        flex: 1 !important;
        justify-content: flex-start !important;
    }

    .gc-home-bal-item {
        padding: 10px 12px !important;
        gap: 10px !important;
        flex: 0 0 auto !important;
        min-height: 56px !important;
        height: auto !important;
    }

    .gc-home-bal-badge {
        width: 44px !important;
        height: 44px !important;
    }

    .gc-home-bal-badge .bal-badge-day {
        font-size: 19px !important;
    }

    .gc-home-bal-name {
        font-size: 17px !important;
    }

    .gc-home-bal-city {
        font-size: 12px !important;
    }

    .gc-home-bals-btn {
        font-size: var(--gc-btn-font-size-mobile) !important;
        padding: var(--gc-btn-padding-mobile) !important;
        height: var(--gc-btn-mobile-height) !important;
        min-height: var(--gc-btn-mobile-height) !important;
        width: 100% !important;
    }

    /* 4. Cartes COURS & ESPRIT GOULAINE Mobile */
    .gcs-home-card-cours,
    .gcs-home-card-esprit {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .gcs-home-card-cours .gcs-vc-img-wrap,
    .gcs-home-card-esprit .gcs-vc-img-wrap {
        width: 100% !important;
        height: 180px !important;
        min-height: 180px !important;
        max-height: 200px !important;
        display: block !important;
    }

    .gcs-home-card-cours .gcs-vc-img-cours,
    .gcs-home-card-esprit .gcs-vc-img-galerie {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .gcs-home-card-cours .gcs-vc-content,
    .gcs-home-card-esprit .gcs-vc-content {
        padding: 14px 16px 6px 16px !important;
        text-align: center !important;
    }

    .gcs-home-card-cours .gcs-vc-footer,
    .gcs-home-card-esprit .gcs-vc-footer {
        display: block !important;
        padding: 8px 16px 14px 16px !important;
        margin-top: auto !important;
        text-align: center !important;
    }

    .gcs-home-card-cours .gcs-vc-btn,
    .gcs-home-card-esprit .gcs-vc-btn {
        width: 100% !important;
        font-size: var(--gc-btn-font-size-mobile) !important;
        padding: var(--gc-btn-padding-mobile) !important;
        height: var(--gc-btn-mobile-height) !important;
        min-height: var(--gc-btn-mobile-height) !important;
    }

    /* 5. Bandeau CTA "Envie d'essayer ?" Mobile */
    .gc-home-cta-banner {
        flex-direction: column !important;
    }

    .gc-home-cta-left,
    .gc-home-cta-right {
        flex: 1 1 100% !important;
        padding: 30px 20px !important;
        text-align: center !important;
    }

    .gc-home-cta-center {
        flex: 1 1 100% !important;
        width: 100% !important;
        min-height: auto !important;
        height: auto !important;
        position: relative !important;
    }

    .gc-home-cta-img {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        object-fit: contain !important;
        left: auto !important;
        top: auto !important;
        object-position: center !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    .gc-home-cta-banner.gc-cta-cours .gc-home-cta-img {
        object-position: center center !important;
    }

    .gc-home-cta-title {
        line-height: 1.2 !important;
    }

    .gc-home-cta-subtitle {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }

    .gc-home-cta-text {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .gc-home-cta-action {
        justify-content: center !important;
        width: 100% !important;
    }

    .gc-home-cta-btn {
        width: 100% !important;
        text-align: center !important;
        font-size: var(--gc-btn-font-size-mobile) !important;
        padding: var(--gc-btn-padding-mobile) !important;
        height: var(--gc-btn-mobile-height) !important;
        min-height: var(--gc-btn-mobile-height) !important;
    }

    .gc-home-cta-info-title {
        text-align: center !important;
    }

    .gc-home-cta-info-divider {
        margin: 0 auto 20px auto !important;
    }

    .gc-home-cta-info-list,
    .gc-home-cta-info-grid {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .gc-home-cta-info-box {
        text-align: left !important;
    }

    .gc-home-cta-conclusion {
        font-size: 17px !important;
        text-align: center !important;
        margin-top: 14px !important;
        padding-right: 0 !important;
    }

    .gc-home-cta-info-text {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    .gcs-home-card-cours .gcs-vc-text,
    .gcs-home-card-esprit .gcs-vc-text,
    .gcs-vc-card-cours .gcs-vc-text,
    .gcs-vc-card-galerie .gcs-vc-text {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .gc-home-hero-desc {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }
}