.main-footer::before{
    background: url("../img/custom/footer-bg.jpg") no-repeat left center;
    opacity: 0.22;
}

.alert{
    position: relative;
    padding: 18px 24px 18px 56px;
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.alert::before{
    position: absolute;
    top: 50%;
    left: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-50%);
}

.alert-success{
    border-color: rgba(139, 171, 3, 0.4);
    background: #f5fadf;
    color: #405000;
}

.alert-success::before{
    content: "\2713";
    background: var(--accent-color);
    color: var(--primary-color);
}

.alert-danger,
.alert-warning,
.alert-info{
    color: #303030;
}

.alert-danger{
    border-color: rgba(183, 28, 28, 0.25);
    background: #fff1f1;
}

.alert-warning{
    border-color: rgba(180, 120, 0, 0.3);
    background: #fff8df;
}

.alert-info{
    border-color: rgba(0, 112, 160, 0.25);
    background: #edf8fc;
}

.alert-danger::before,
.alert-warning::before,
.alert-info::before{
    content: "!";
    color: var(--white-color);
}

.alert-danger::before{
    background: #b71c1c;
}

.alert-warning::before{
    background: #b47800;
}

.alert-info::before{
    content: "i";
    background: #0070a0;
}

@media (max-width: 575px){
    .alert{
        padding: 48px 18px 18px;
    }

    .alert::before{
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.page-header-box ol li.breadcrumb-item{
    color: #BEE903;
}

.page-header-box ol .breadcrumb-item+.breadcrumb-item::before{
    color: #BEE903;
}

.text-anime-style-3 {
    overflow: clip;
}

/* Désactive le reflet blanc hérité du thème, tout en conservant le zoom. */
.image-anime::after {
    display: none !important;
}

.post-single-meta ol li i{
    color: #BEE903;
}

ol.post-show .breadcrumb-item+.breadcrumb-item::before{
    content: none;
}

.faq-accordion .accordion-item .accordion-body{
    background: transparent;
}
img.max-h-450px{
    max-height: 450px;
    aspect-ratio: initial;
    border-radius: 12px;
}
img.focus-img{
    aspect-ratio: 1 / 1;
    max-height: 403px;
    border-radius: 12px;
}

.btns-post .btn-default::before, .post-single-back .btn-default::before{
    background-image: none;
    width: 0;
    height: 0;
}

.post-single-back .btn-default{
    border-radius: 10px;
    padding:17px 30px 17px 30px
}

.header-contact-cta{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 178.48px;
    height: 50px;
    padding: 8px 22px 12px;
    border-radius: 10px 10px 300px 300px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.header-contact-cta::before{
    display: none;
}

.header-contact-cta__arrow{
    flex: 0 0 auto;
    font-size: 26px;
    font-weight: 400;
    line-height: 0.8;
    transition: transform 0.3s ease;
}

.header-contact-cta:hover .header-contact-cta__arrow{
    transform: translateX(5px);
}

.hero.hero-video::after{
    background:
        linear-gradient(180deg, rgba(38, 38, 38, 0) 61.48%, rgba(38, 38, 38, 0.9) 100%),
        linear-gradient(270deg, rgba(38, 38, 38, 0) 33.56%, rgba(38, 38, 38, 0.9) 100%),
        linear-gradient(0deg, rgba(38, 38, 38, 0) 81.81%, rgba(38, 38, 38, 0.9) 100%);
}

.home-about-us::before{
    display: none;
}

.home-about-us .about-us-img-1,
.home-about-us .about-us-img-2{
    transform: none;
}

.home-about-us .section-title h3,
.home-our-services .section-title h3,
.home-join-us .section-title h3,
.home-why-choose-us .section-title h3,
.home-our-blog .section-title h3,
.home-hero .section-title h3{
    padding-left: 0;
    background: none;
    color: #8BAB03;
    font-family: "Rock Salt", cursive;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.6px;
    letter-spacing: 1px;
    text-transform: none;
    vertical-align: middle;
}

.home-hero .section-title h3{
    color: #BEE903;
}

.home-our-services::before,
.home-our-services::after{
    display: none;
}

.home-why-choose-us .why-choose-item .icon-box i{
    position: relative;
    z-index: 1;
    color: var(--primary-color);
    font-size: 26px;
    transition: color 0.4s ease-in-out;
}

.home-why-choose-us .why-choose-item:hover .icon-box i{
    color: var(--white-color);
}

.home-our-blog .post-item{
    display: flex;
    flex-direction: column;
    background: var(--white-color);
}

.home-our-blog{
    background: var(--white-color);
}

.home-our-blog .section-btn .btn-default{
    text-transform: none;
}

.home-our-blog .post-featured-image img{
    aspect-ratio: 340 / 216;
}

.home-our-blog .post-item-body{
    display: flex;
    flex: 1;
    flex-direction: column;
}

.home-our-blog .post-item-content{
    flex: 1;
    padding: 17px 25px 25px;
}

.home-our-blog .post-item-content h2{
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 22px;
}

.home-our-blog .post-item-content p{
    color: #555;
    font-size: 14px;
    line-height: 1.55;
}

.home-our-blog .post-item-btn a{
    min-height: 51px;
    padding: 15px 25px;
    font-size: 14px;
    font-weight: 700;
}

.home-our-blog .post-item-btn a span{
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.post-item-btn a{
    display: flex;
    align-items: center;
    min-height: 56px;
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
}

.page-blog .post-item{
    display: flex;
    flex-direction: column;
}

.page-blog .post-item-body{
    display: flex;
    flex: 1;
    flex-direction: column;
}

.page-blog .post-item-content{
    flex: 1;
}

.page-blog .post-item-btn{
    margin-top: auto;
}

.post-item-btn a::before{
    background: #BEE903;
    z-index: -1;
}

.post-item-btn a:hover{
    border-color: #BEE903;
}

.page-pagination .pagination{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
}

.page-pagination .pagination li a,
.page-pagination .pagination li span{
    margin: 0;
}

.page-pagination .pagination li.active span{
    background: var(--accent-color);
}

.page-pagination .pagination li.disabled span{
    cursor: default;
    opacity: 0.45;
}

    /* Galerie de fin d'article (blog) — grille 3 colonnes */
.post-gallery{
    row-gap: 24px;
    margin: 40px 0;
    padding-bottom: 30px;
    border-bottom: 1px solid #e7e7e7;
}
.post-gallery figure{
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
}
.post-gallery figure img{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.circle-question{
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #BEE903;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-question img{
    width: 28px;
    height: 28px;
}

.event-contact-card{
    overflow: hidden;
    padding: 0;
    border-radius: 14px;
}

.event-contact-card__body{
    padding: 28px 28px 27px;
}

.event-contact-image{
    margin-bottom: 28px;
}

.event-contact-image img{
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    aspect-ratio: 302 / 166;
    border-radius: 12px;
    object-fit: cover;
}

.event-contact-mail{
    min-width: 0;
    padding: 0;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.event-contact-mail > span:first-child{
    min-width: 0;
    overflow-wrap: anywhere;
}

.event-register-btn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 71px;
    padding: 20px 31px 20px 67px;
    border-radius: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.event-register-btn::before{
    display: none;
}

.event-register-btn__arrow{
    flex: 0 0 auto;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease;
}

.event-register-btn:hover .event-register-btn__arrow{
    transform: translateX(4px);
}

.about-us-img-2 img{
    border: 0;
}

@media (max-width: 420px){
    .event-contact-card__body{
        padding: 24px 28px 27px;
    }

    .event-register-btn{
        padding-left: 28px;
    }
}

.faq-accordion .accordion-item .accordion-button::after, .faq-accordion .accordion-item .accordion-button.collapsed::after{
    color: #0a0a0a;
}

.faq-accordion .accordion-item .accordion-body{
    padding: 25px 50px 25px 20px;
}

.page-course-single .faq-accordion .accordion-header .accordion-button:not(.collapsed){
    background: var(--accent-color);
    color: var(--white-color, #fff);
}

.page-course-single .faq-accordion .accordion-item .accordion-body{
    background: transparent;
    color: var(--primary-color);
}

.page-course-single .faq-accordion .accordion-item .accordion-body p{
    color: var(--primary-color);
}

.page-course-single .faq-accordion .accordion-item .accordion-button::after,
.page-course-single .faq-accordion .accordion-item .accordion-button.collapsed::after{
    color: var(--white-color, #fff);
}

.page-course-single .faq-accordion .accordion-item .accordion-button.collapsed::after{
    color: var(--accent-color);
}

/* ------------------------------------------------------------------ */
/*  Détail événement : sidebar 383px max / contenu 836px max          */
/*  Colonnes flex proportionnelles (ratio 383:836), plafonnées,       */
/*  comportement Bootstrap conservé sous xl (<1200px).                */
/* ------------------------------------------------------------------ */
@media (min-width: 1200px) {
    /* enfant direct uniquement : ne pas toucher les .row imbriquées (encadrés, focus) */
    .page-event-single > .container > .row {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 40px;
        --bs-gutter-x: 0; /* on gère l'espacement via gap */
    }

    .page-event-single > .container > .row > .event-sidebar-col,
    .page-event-single > .container > .row > .event-content-col {
        padding-left: 0;
        padding-right: 0;
    }

    .page-event-single > .container > .row > .event-sidebar-col {
        flex: 1 1 383px;
        max-width: 383px;
    }

    .page-event-single > .container > .row > .event-content-col {
        flex: 1 1 836px;
        max-width: 836px;
    }
}

/* ------------------------------------------------------------------ */
/*  Page discipline : carte de réservation (sidebar)                  */
/* ------------------------------------------------------------------ */
.page-course-single .course-catagery-list h3 {
    color: var(--white-color, #fff);
}

.sidebar-booking-card {
    background: var(--white-color, #fff);
    border-radius: 12px;
    padding: 20px 20px 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 60px;
    overflow: hidden;
}

.sidebar-booking-card .booking-card-image figure {
    border-radius: 10px;
    overflow: hidden;
}

.sidebar-booking-card .booking-card-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.sidebar-booking-card .booking-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 5px;
}

.sidebar-booking-card .booking-card-header h3 {
    font-size: 20px;
    margin: 0;
}

.sidebar-booking-card .booking-card-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-booking-card .booking-card-logo img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.sidebar-booking-card .booking-card-btn {
    display: flex;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    justify-content: center;
    border-radius: 0;
    color: var(--white-color, #fff);
}

.sidebar-booking-card .booking-card-btn::before {
    filter: brightness(0) invert(1);
}

/* ------------------------------------------------------------------ */
/*  Page discipline : galerie 1 grande + 2 empilées                   */
/* ------------------------------------------------------------------ */
.page-single-gallery .row {
    --bs-gutter-x: 24px;
    row-gap: 24px;
}

.page-single-gallery .gallery-image-tall,
.page-single-gallery .gallery-image-tall figure {
    height: 100%;
}

/* colonne de droite : les images se partagent la hauteur de la grande,
   avec le même écart de 24px que la gouttière horizontale */
.page-single-gallery .col-md-6:has(.page-gallery-image:not(.gallery-image-tall)) {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-single-gallery .page-gallery-image:not(.gallery-image-tall) {
    flex: 1 1 0;
    min-height: 0;
}

.page-single-gallery .page-gallery-image figure {
    height: 100%;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
}

.page-single-gallery .page-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ------------------------------------------------------------------ */
/*  Page discipline : cartes points forts                              */
/* ------------------------------------------------------------------ */
.page-single-highlights {
    margin-top: 40px;
}

.page-single-highlights .highlight-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
}

.page-single-highlights .highlight-box .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white-color, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-single-highlights .highlight-box h3 {
    font-size: 18px;
    margin: 0 0 6px;
}

.page-single-highlights .highlight-box p {
    font-size: 14px;
    margin: 0;
    color: var(--text-color);
}

.page-course-single .page-single-video {
    margin-top: 100px;
}

.page-course-single .page-single-video .video-play-button a i {
    color: var(--white-color, #fff);
}

.page-course-single .page-single-faqs {
    margin-top: 100px;
}

@media (max-width: 991px) {
    .page-course-single .page-single-video,
    .page-course-single .page-single-faqs {
        margin-top: 50px;
    }
}

/* Le menu desktop ne tient plus correctement entre 992 et 1199 px. */
@media (max-width: 1199px) {
    .main-header .main-menu {
        display: none !important;
    }

    .main-header .responsive-menu,
    .main-header .navbar-toggle {
        display: block;
    }

    .main-header .header-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    .page-events .event-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 383 / 428;
    }
}

/* ------------------------------------------------------------------ */
/*  Modale de réservation globale                                      */
/* ------------------------------------------------------------------ */
.reservation-modal-trigger {
    border: 0;
    background: transparent;
    color: var(--white-color);
    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2em;
    padding: 15px 20px !important;
    text-transform: capitalize;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.reservation-modal-trigger:hover,
.reservation-modal-trigger:focus {
    color: var(--accent-color);
}

.slicknav_nav .reservation-modal-trigger {
    display: block;
    width: 100%;
    padding: 10px 20px !important;
    text-align: left;
}

.reservation-dialog {
    width: min(520px, calc(100% - 32px));
    max-width: none;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
    opacity: 0;
    overflow: hidden;
}

.reservation-dialog::backdrop {
    background: rgba(0, 0, 0, 0.58);
}

.reservation-dialog__content {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
}

.reservation-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background-color: var(--accent-color);
    padding: 24px 30px;
}

.reservation-dialog__header h3 {
    font-size: 20px;
    margin: 0;
}

.reservation-dialog__close {
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.reservation-dialog__body {
    padding: 30px;
}

.reservation-dialog__body p:last-child {
    margin-bottom: 0;
}

.reservation-dialog__footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0 30px 30px;
}

.reservation-dialog__footer .btn-default {
    width: 100%;
    display: flex;
    justify-content: center;
}
