/* ==========================================================================
   ADAMAL — styles complémentaires
   (fichier dédié : les feuilles du thème ne sont pas modifiées)
   Palette : bleu #21409a / #001c44 — orange #ffac1c
   ========================================================================== */

/* --------------------------------------------------------------------------
   En-tête : logo + accès "Donateur & Mécénat"
   -------------------------------------------------------------------------- */
.header .logo-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header .logo-bar .logo {
    flex: 0 1 auto;
}

.header .don-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 2px solid #ffac1c;
    border-radius: 30px;
    color: #21409a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.header .don-link i {
    color: #ffac1c;
    font-size: 16px;
    transition: color 0.3s ease;
}

.header .don-link:hover,
.header .don-link:focus {
    background: #ffac1c;
    color: #fff;
    text-decoration: none;
}

.header .don-link:hover i,
.header .don-link:focus i {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Réseaux sociaux
   -------------------------------------------------------------------------- */
.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-links li {
    margin: 0;
}

.social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #21409a;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-links .social-link:hover,
.social-links .social-link:focus {
    background: #ffac1c;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Les icônes forment une 2e ligne dans le bloc coordonnées (qui est flotté à
   droite) : width 100% les fait passer à la ligne et flex-start les cale sous
   le premier widget, "Téléphone". */
.social-links--header {
    width: 100%;
    justify-content: flex-start;
    margin-top: 18px;
}

/* --------------------------------------------------------------------------
   Vidéos de la page d'accueil (1 à 3)
   -------------------------------------------------------------------------- */
.home-videos .home-video-embed {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 6px;
}

.home-videos .home-video-embed iframe,
.home-videos .home-video-embed video,
.home-videos .home-video-embed embed,
.home-videos .home-video-embed object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --------------------------------------------------------------------------
   Blocs "Donateurs et Mécènes" / HelloAsso
   -------------------------------------------------------------------------- */
.blocs-dons {
    padding-top: 0;
}

.bloc-don {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
    min-height: 110px;
    padding: 22px 26px;
    border-radius: 8px;
    background: #21409a;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bloc-don:hover,
.bloc-don:focus {
    background: #001c44;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 28, 68, 0.25);
}

.bloc-don--helloasso {
    background: #ffac1c;
    color: #001c44;
}

.bloc-don--helloasso:hover,
.bloc-don--helloasso:focus {
    background: #e8980d;
    color: #001c44;
}

.bloc-don__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 26px;
}

.bloc-don--helloasso .bloc-don__icon {
    background: rgba(0, 28, 68, 0.12);
}

.bloc-don__text {
    display: flex;
    flex-direction: column;
}

.bloc-don__title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.25;
}

.bloc-don__subtitle {
    font-size: 14px;
    opacity: 0.85;
}

/* Quand une vraie image est déposée dans webroot/images/ */
.bloc-don--image {
    padding: 0;
    background: none;
    min-height: 0;
}

.bloc-don--image img {
    width: 100%;
    border-radius: 8px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .social-links--header {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .header .logo-bar {
        justify-content: center;
        text-align: center;
    }

    /* Le thème masque le bloc coordonnées sous 768px : on le réaffiche pour
       garder les réseaux sociaux visibles, sans les widgets tel/mail/adresse. */
    .header .header-widget {
        display: block !important;
        float: none;
        padding: 0 0 20px;
    }

    .header .header-widget .single-widget {
        display: none !important;
    }

    .social-links--header {
        margin-top: 0;
        justify-content: center;
    }

    .bloc-don {
        padding: 18px;
    }

    .bloc-don__title {
        font-size: 17px;
    }
}

/* --------------------------------------------------------------------------
   Module de don HelloAsso (page Mécènes et Donateurs)
   -------------------------------------------------------------------------- */
.helloasso-widget {
    margin: 25px 0 35px;
}

.helloasso-widget iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 750px;
    border: 0;
}

.helloasso-widget--btn {
    text-align: center;
}

.helloasso-widget--btn .btn {
    display: inline-block;
    padding: 14px 34px;
    background: #ffac1c;
    border-radius: 30px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.helloasso-widget--btn .btn:hover,
.helloasso-widget--btn .btn:focus {
    background: #21409a;
    color: #fff;
    text-decoration: none;
}
