/*
Theme Name: Aether Child
Template: aether-wpcom
Author: Patrick Lainesse
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aether-child
*/

:root {
    --wp--preset--color--theme-1: #FFFFFF;
    --wp--preset--color--theme-5: #164477;
    --wp--preset--color--theme-3: #A1B5D8;
    --wp--preset--color--theme-4: #FDB816;
    --wp--preset--color--theme-6: #FED984;
    --wp--preset--color--theme-7: #527498;
    --wp--preset--color--theme-noir: #000000;
    --wp--preset--gradient--gradient-3-4: linear-gradient(90deg, var(--wp--preset--color--theme-3) 0%, var(--wp--preset--color--theme-4) 100%);
    --wp--preset--gradient--gradient-1-3: linear-gradient(180deg, var(--wp--preset--color--theme-1) 0%, var(--wp--preset--color--theme-3) 100%);
    --wp--preset--gradient--gradient-4-3-1: linear-gradient(282.11deg, var(--wp--preset--color--theme-4) -3.15%, var(--wp--preset--color--theme-3) 46.88%, var(--wp--preset--color--theme-1) 83.9%);
}

html {
    scroll-padding-top: 400px;
}

@media only screen and (max-width: 781px) {
    .wp-block-columns.switch-mobile :nth-child(1) {
        order: 2;
    }

    .wp-block-columns.switch-mobile :nth-child(2) {
        order: 1;
    }
}

.entry-content h2 {
    margin-top: 50px;
}

@media screen and (max-width:781px) {
    .centre-mobile {
        text-align: center;
    }

    .largeur-30 {
        max-width: 30%;
    }
}

h1.wp-block-heading,
h2.wp-block-heading {
    color: var(--wp--preset--color--theme-3);
}

h2.has-hand-font-family,
h3.has-hand-font-family {
    font-size: clamp(42.068px, 2.629rem + ((1vw - 3.2px) * 4.31), 65px);
    color: var(--wp--preset--color--theme-5);
}

.entry-content h4 {
    font-weight: 700;
}

p.has-hand-font-family {
    margin-block-start: 0;
    font-size: 30px;
    line-height: 1.2;
}

@media screen and (min-width: 1025px) {
    .cache-tablette {
        display: none !important;
    }
}

@media screen and (max-width: 781px) {
    .cache-mobile {
        display: none !important;
    }

    .no-margin-top-mobile h2 {
        margin-top: 0 !important;
    }
}


.wp-block-group {
    margin-block-start: 0;
}

/* Actualités */
body.single-post .wp-site-blocks .wp-block-post-date time {
    background-color: var(--wp--preset--color--theme-3);
    color: var(--wp--preset--color--theme-1);
    border-radius: 12px;
    padding: 10px 20px;
    font-style: normal;
    font-weight: 600;
}

li.post .wp-block-post-date time {
    color: var(--wp--preset--color--theme-7);
    font-style: normal;
    font-weight: 600;
}

li.post h2.wp-block-post-title {
    color: var(--wp--preset--color--theme-5);
    margin-bottom: 10px;
}

body.single-post .wp-site-blocks .wp-block-post-date {
    margin-bottom: 30px;
}

body.single-post .wp-site-blocks main>.wp-block-post-title {
    color: var(--wp--preset--color--theme-5);
}

body.single-post .wp-site-blocks main h2.wp-block-heading {
    font-size: var(--wp--preset--font-size--x-large);
}

/* Galeries d'images */
.spectra-image-gallery__control-lightbox--main img {
    border-radius: 40px;
}

/* Pop-up liés à des boutons */

/* Pop-up Loto-voyage */
.uagb-block-a057eed0 button.uagb-popup-builder__close {
    right: 10px;
    top: 10px;
}

/* Navigation / Menu */
.is-responsive.wp-block-navigation {
    justify-content: end;
}

header .wp-block-site-logo img {
    min-width: 120px;
}

.wp-site-blocks>main {
    margin-top: 130px;
}

.wp-block-navigation .current-menu-item .wp-block-navigation-item__content.wp-block-navigation-item__content {
    font-weight: bold;
}

.wp-block-navigation__responsive-container-content ul {
    background-color: var(--wp--preset--color--theme-1);
    border-radius: 12px;
    padding: 0 20px 10px 20px;
}

.wp-block-navigation__responsive-close {
    width: fit-content;
    margin: auto;
}

.wp-block-navigation__container.items-justified-center {
    justify-content: center;
}

.wp-block-navigation ul li {
    padding: 20px 0 10px 0;
}

.wp-block-navigation ul.wp-block-navigation__submenu-container li .wp-block-navigation-item__label {
    font-size: 17px;
}

.wp-block-navigation ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu,
.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container {
    min-width: max-content;
}

.wp-block-navigation ul li .wp-block-navigation-item__label:hover,
.wp-block-navigation-item.current-menu-item .wp-block-navigation-item__label {
    border-bottom: 3px solid var(--wp--preset--color--theme-4);
}

.wp-block-navigation-link:hover {
    font-weight: bold;
}

.home .wp-block-navigation__container>li.wp-block-navigation-item:first-child {
    font-weight: bold;
}

.wp-block-navigation .wp-block-navigation-submenu li {
    padding: 0;
}

.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation__submenu-container {
    padding: 0 7px 10px 7px;
}

@media screen and (max-width: 1500px) {
    .wp-block-navigation__responsive-close .wp-block-navigation__container {
        line-height: 1;
        padding: 10px;
    }

    .wp-block-navigation__responsive-close .wp-block-navigation__container li {
        padding: 0;
    }

}

/* menu mobile */
@media screen and (max-width: 781px) {
    .wp-block-navigation-item {
        font-weight: bold;
        line-height: 22px;
        font-size: 20px !important;
        margin: 0;
        padding: 0;
        text-align: center;
        margin-top: 10px;
    }

    .wp-block-navigation .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
        padding: 5px;
    }

    .wp-block-navigation__responsive-dialog {
        margin-top: 5px !important;
    }
}

/* Pied de page / Footer */
footer {
    margin-block-start: 0;
}

footer a {
    text-decoration: none;
}

.reseaux {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
}

@media screen and (max-width: 1000px) {
    .reseaux {
        display: flex;
        align-items: center;
    }

    .reseaux ul {
        margin: auto;
    }
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    color: var(--wp--preset--color--theme-5) !important;
    font-size: 30px;
    line-height: 32px;
}

/* Correction du thème pour le bold */
body p strong {
    font-weight: 600;
}

/* Boutons et lien En savoir plus après les articles d'actualité */
.wp-block-post-excerpt .wp-block-post-excerpt__more-link {
    text-decoration: none;
    border: 1px solid;
    border-radius: 12px;
}

.wp-block-button.is-style-outline a.wp-element-button::after,
.wp-block-post-excerpt .wp-block-post-excerpt__more-link::after {
    content: "→";
    margin-left: 10px;
}

:root :where(.wp-block-button.is-style-outline--2 .wp-block-button__link),
.wp-block-post-excerpt .wp-block-post-excerpt__more-link {
    padding: 12px 18px;
}

.wp-block-button.is-style-outline a.wp-element-button:hover:after,
.wp-block-post-excerpt .wp-block-post-excerpt__more-link:hover:after {
    content: "⟶";
}

/* Variation de style fond bleu pour les titres */
.is-style-fond-bleu {
    background-color: var(--wp--preset--color--theme-3);
    color: var(--wp--preset--color--theme-1);
    display: inline;
    padding: 5px 10px;
    border-radius: 6px;
}

/* Colonnes avec fond de couleur  */
.wp-block-columns.is-style-section-2 {
    background-color: unset;
}

.wp-block-columns.is-style-section-2 .wp-block-heading {
    color: var(--wp--preset--color--theme-5);
}

.wp-block-columns.is-style-section-2 .wp-block-column:nth-child(odd) {
    background-color: var(--wp--preset--color--theme-3);
}

.wp-block-columns.is-style-section-2 .wp-block-column:nth-child(even) {
    background-color: var(--wp--preset--color--theme-6);
}

.wp-block-columns.is-style-section-2 .wp-block-column {
    padding: 24px;
    border-radius: 12px;
}

/*** ACCUEIL ***/
@media screen and (max-width: 1000px) {
    .colonne-accueil {
        padding-left: 35px;
        padding-right: 35px;
    }

    .colonne-accueil>* {
        padding: 10px;
    }

    .colonne-accueil img {
        max-width: 320px;
    }
}

.slide-accueil {
    margin-top: 0;
    padding: 0;
}

.slide-accueil .spectra-image-gallery__layout--carousel.spectra-image-gallery {
    margin-bottom: 0 !important;
    transform: translateY(9px);
}

.slide-accueil .spectra-image-gallery__media-thumbnail-caption-wrapper.spectra-image-gallery__media-thumbnail-caption-wrapper--overlay {
    height: 900px;
}

.vgo {
    background-image: url('https://pilier.fureter.life/wp-content/uploads/initial/Vincent-Guillaume-Otis-2.png'), var(--wp--preset--gradient--gradient-1-3);
    background-position: 15% 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-attachment: fixed;
}

/*** À PROPOS / NOS RESSOURCES ***/
/* Carousel ligne du temps / Historique / Carousel d'images Spectra */
.uagb-slick-carousel ul.slick-dots li button::before {
    content: "|";
    opacity: .65;
}

.a_cote-hors .spectra-image-gallery__media {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.uagb-slick-carousel ul.slick-dots li.slick-active button::before {
    font-size: 45px;
}

.uagb-slick-carousel ul.slick-dots li {
    height: 45px;
}

.a_cote-hors .spectra-image-gallery__media-thumbnail-caption {
    padding-top: 18px;
    padding-bottom: 18px;
    line-height: 21px;
}

.a_cote-hors .spectra-image-gallery__control-arrows--carousel {
    background: var(--wp--preset--color--theme-7);
}

.a_cote-hors .spectra-image-gallery__control-arrows svg {
    fill: var(--wp--preset--color--theme-1);
}

@media screen and (min-width: 1000px) {
    .a_cote-hors .spectra-image-gallery__media-wrapper {
        width: 600px !important;
    }

    .a_cote-hors .slick-slide>div {
        text-align: center;
    }

    .a_cote-hors .spectra-image-gallery__control-arrows--carousel.slick-prev {
        left: 100px;
    }

    .a_cote-hors .spectra-image-gallery__control-arrows--carousel.slick-next {
        right: 100px;
    }
}

@media screen and (max-width: 800px) {
    .a_cote-hors .spectra-image-gallery__control-arrows {
        display: none !important;
    }

    .fleche-propos img {
        max-height: 6rem;
        width: auto;
    }
}

/* La fondation en chiffres */
@media screen and (min-width: 782px) {
    .has-xxx-large-font-size.en-chiffres_sans-marge {
        line-height: 1;
    }

    .en-chiffres_mobile p {
        margin-top: 0;
    }
/* 
    p.en-chiffres_sans-marge {
        margin-top: 0;
    } */
}

@media screen and (max-width: 781px) {
    .en-chiffres_mobile .wp-block-spacer {
        display: none;
    }

    .en-chiffres_mobile .has-xxx-large-font-size {
        margin-top: 25px;
    }
}

/*** CONSEIL D'ADMINISTRATION ***/

/*** CÉLÉBREZ AVEC NOUS - Section Événements ***/
.wp-block-columns-is-layout-flex {
    gap: 30px;
}

.page-id-209 .spectra-image-gallery__media-wrapper--isotope {
    width: 100%;
}

.page-id-209 .spectra-image-gallery__media {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}


/*** DEVENEZ UN PILIER ***/
.mains-coeur {
    position: relative;
}

.icone-coeur {
    position: absolute;
    top: 0;
    width: 100%;
    transform: translate(0, -63%)
}

.icone-coeur.merci {
    position: relative;
}

@media screen and (min-width: 1700px) {
    .icone-coeur {
        transform: translate(150px, -63%)
    }
}

@media screen and (max-width: 1275px) {
    .icone-coeur {
        display: none;
    }
}

.maisons>.wp-block-column {
    position: relative;
}

.maisons>.wp-block-column figure {
    position: absolute;
    top: 0;
    width: 100%;
    transform: translate(-22px, -99%);
}

.maisons>.wp-block-column figure img {
    width: 100%;
}

.is-layout-constrained>.alignright.document {
    margin-inline-start: 0;
}

@media screen and (max-width: 781px) {
    .maisons>.wp-block-column figure {
        display: none;
    }
}

@media screen and (min-width: 781px) {
    .contenu {
        max-width: 660px;
    }
}

@media screen and (max-width: 600px) {
    .document {
        display: none !important;
    }
}

@media screen and (min-width: 1460px) {
    .is-layout-constrained>.alignright.document {
        transform: translate(-150%, 0);
    }
}

/*** Pour donner de son temps ***/
@media screen and (max-width: 781px) {
    .page-id-1498 main .entry-content img {
        display: none;
    }
}

/*** NOUS JOINDRE / contact ***/
.page-id-213 main a {
    text-decoration: none;
}

.page-id-213 {
    background-image: url('../../uploads/2025/12/logo-pilier-geant-gris.png');
    background-position: 100% 50%;
    background-repeat: no-repeat;
    background-size: 35%;
    background-attachment: fixed;

}

.wpcf7-form-control:not(.wpcf7-submit) {
    width: 30rem;
    font-size: 1em;
    font-family: inherit;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--wp--preset--color--theme-5);
    color: var(--wp--preset--color--theme-5);
    max-width: 90%;
}

.wpcf7-form-control.wpcf7-submit {
    width: auto;
    background-color: var(--wp--preset--color--theme-4);
    margin-top: 10px;
}

.wpcf7-form-control.wpcf7-submit:hover {
    background-color: var(--wp--preset--color--theme-5);
}

label {
    font-weight: 700;
}

/*** CONSENTEMENT COOKIES ***/
#hu-revoke.hu-position-bottom-left {
    bottom: var(--hu-revokeMarginY);
    left: auto !important;
    right: var(--hu-revokeMarginX) !important;
}