/*
Theme Name: Alumni Neuilly - Anciens Sainte-Croix
Theme URI: https://www.anciens-sainte-croix.com
Description: Thème  pour le site des anciens élèves de Sainte-Croix de Neuilly
Author: tarabusk.net
Author URI: https://tarabusk.net
Template: salient
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alumni-neuilly
*/

/* 
====================================
CHARTE GRAPHIQUE SAINTE-CROIX
====================================
Harmonisation avec le site officiel : https://saintecroix-de-neuilly.com
Couleurs principales : Bleu (identité institutionnelle), Jaune (accent)
*/

:root {
    --sc-blue-primary: #172257;
    --sc-blue-secundary: #26428B;
    --sc-blue-tertiary: #516AC7;
    --sc-yellow: #e3af64;
    --sc-pink-light: #FBECD7;
    --sc-gray-light: #F5F5F5;
    --sc-font-color: #172257;
}

/* 
====================================
TYPOGRAPHIE
====================================
*/

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: none;
}

/* 
====================================
EN-TÊTE ET NAVIGATION
====================================
*/



#header-outer[data-lhe="animated_underline"] #top nav>ul>li>a .menu-title-text:after {
    border-width: 4px;
    width: 30px;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -10px;
}

.sf-menu li {
    /* text-align: center; */
}

li.back a {
    color: transparent !important;
}

li.back a::before {
    color: #fff;
    content: "←";
    font-size: 36px !important;
    /* ou la taille souhaitée */
}

/* 
====================================
BOUTONS ET APPELS À L'ACTION
====================================
*/


.btn-creer-compte {
    border: 3px solid var(--sc-yellow);
    border-radius: 25px;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 25px;

}

.asc-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 25px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}


.nectar-button,
.button,
.asc-btn-primary {
    background-color: var(--sc-blue-primary);
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.asc-btn-white {
    background: #fff;
    border: 1px solid #E5E5E5;
    color: #737373;
    padding: 3px 11px;
    text-align: center;
    margin-top: 6px;
}

.asc-btn-white:hover {
    background: #737373;

    color: #fff;
}

.nectar-button:hover,
.button:hover,
.asc-btn-primary:hover {
    background-color: var(--sc-blue-secundary);
    transform: translateY(-2px);
    color: #fff;
}

.nectar-button.accent-color {
    background-color: var(--sc-yellow);
    color: var(--sc-font-color);
}

.asc-btn-danger {
    background-color: #dc3545;
    color: white;
    border: none;
}

.asc-btn-danger:hover {
    background-color: #c82333;
}

.asc-btn-secondary {
    background-color: #6c757d;
    color: white;
}

.asc-btn-secondary:hover {
    background-color: #5a6268;
}

.asc-form-actions button {
    background-color: var(--sc-blue-secundary) !important;
}

.asc-form-actions {
    /* display: flex;
    gap: 10px;
    flex-wrap: wrap; */
}

.asc-btn-block {
    width: 100%;
}

.asc-btn-loader {
    font-size: 20px;
}

/* 
====================================
SECTIONS ET CONTENEURS
====================================
*/



/* 
====================================
PAGE D'ACCUEIL
====================================
*/

body.home .container-wrap {
    background-color: #fff;
}

.home_chiffres {
    border-radius: 20px;
}

.home_chiffres p {
    padding-bottom: 0;
}

.home_chiffres p strong {
    font-size: 48px;
}

.home_blason_back:after {
    background-image: url(/wp-content/uploads/2026/02/Calque_1-3.png);
    content: '' !important;
    display: block;
    position: absolute;
    width: 280px;
    height: 280px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    margin-right: -80px;
    bottom: 100px;
    right: -80px;
    z-index: 2;
}

.fond_blur .wpb_wrapper {
    backdrop-filter: blur(10px);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 0 0 20px 80px;
}

.fond_blur .vc_column-inner {
    border-radius: 5px 5px 20px 80px;
    overflow: hidden;
}

.flickity-viewport p {
    margin: 0;
    padding: 0;
    line-height: 1.2em;
    font-size: .9em;

}

.flickity-viewport .text {
    padding-top: 15px;
}

/* 
====================================
BLOG
====================================
*/

.single.single-post .container-wrap {
    padding-bottom: 0;
}

.nectar-post-grid .nectar-post-grid-item-bg-wrap-inner {
    background-color: #f9f9f9;
}

.single-post #ajax-content-wrap .main-content {
    background-color: #F2EAE0;
}

.single-post #ajax-content-wrap article:after {
    position: absolute;
    content: '';
    display: block;
    width: 250px;
    height: 250px;
    margin-top: -300px;
    left: -200px;
    background-image: url(/wp-content/uploads/2026/02/Calque_1-3.png);
    background-size: contain;
    background-repeat: no-repeat;
}



.single-post .featured-media-under-header {
    background: linear-gradient(to top, transparent 50%, var(--sc-yellow) 50%);
    padding-bottom: 0 !important;
    margin-bottom: 60px;
    padding-top: 40px !important;
    margin-left: -50px !important;
    margin-right: -50px !important;
}


.single-post .featured-media-under-header__content {
    width: 100% !important;
    max-width: 100% !important;
}

.single-post .featured-media-under-header h1 {
    color: #fff !important;
}

.single-post .featured-media-under-header__featured-media {
    margin-top: 40px !important;
    max-width: 900px;
    MARGIN: AUTO;

}



.single-post .featured-media-under-header .meta-category a {
    background-color: transparent !important;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    text-transform: uppercase;
    letter-spacing: 18px;
}



@media (max-width: 650px) {
    .single-post .featured-media-under-header {
        margin-left: -33px !important;
        margin-right: -33px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        background-color: var(--sc-yellow) !important;
        padding-bottom: 20px !important;
    }

    .single-post .container-wrap {
        background-color: #f2eae0 !important;
        /* margin-left: 0; */
    }
}

.nectar-post-grid .nectar-post-grid-item {
    background-color: #fff !important;
}

.related-post-wrap .row-bg-wrap {
    background: #fff;
}

.related-post-wrap h3.related-title {
    display: none;
}

.blog-recent.related-posts {
    padding: 4% 0 !important;
}

.nectar-post-grid .content {
    background: #fff;

    padding-bottom: 10px !important;
}

/* page actu et espace membre */
.page-id-9 .nectar-post-grid .content,
.page-id-32 .nectar-post-grid .content {
    padding-left: 25px !important;
    padding-right: 10px !important;
}

.featured-media-under-header__meta-wrap .meta-author img {
    display: none;
}

.nectar-post-grid .content:before,
.related-posts .article-content-wrap:before {
    content: '';
    background-image: url('img/arrow_forward.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    width: 48px;
    height: 30px;
    background-color: #E3AF64;
    border-radius: 80px;
    position: absolute;
    margin-top: -40px;
    right: 20px;
    z-index: 2;
}

.related-posts .article-content-wrap:before {
    margin-top: -30px;
}


.nectar-post-grid[data-text-color=dark] .nectar-post-grid-item .content * {

    color: var(--sc-blue-secundary) !important;
}

.nectar-post-grid[data-text-color=dark] .nectar-post-grid-item .content .link_text {
    color: var(--sc-yellow) !important;
}




.nectar-post-grid .content {}


.related-post-wrap .grav-wrap,
.related-post-wrap .meta-category {
    display: none !important;
}

body .related-posts[data-style=material] .inner-wrap {
    box-shadow: none !important;
}

.related-posts {
    max-width: 1000px;
    margin: auto !important;
}

.related-posts .article-content-wrap .post-header {
    /* margin-left: -30px !important;
    margin-right: -30px !important; */
    color: var(--sc-blue-secundary) !important;
}


.related-posts .inner-wrap {
    background: #fff;
}

/* Wrapper de l'image */
.related-posts .inner-wrap .post-featured-img {
    display: block;
    aspect-ratio: 3 / 2;
    /* ou 16/9, 4/3… à toi de choisir */
    overflow: hidden;
}

/* L'image elle-même */
.related-posts .inner-wrap .post-featured-img img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.related-posts .post-header h3 {
    /* font-size: 22px; */
    color: var(--sc-blue-secundary) !important;
    padding: 5px 0;
}

.related-posts .excerpt {
    font-size: 16px;
    line-height: 1.1em;
    font-size: normal;
}


/* 
====================================
HEADER PAGES
====================================
*/

.titre_fin {
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: 18px;
}

@media (max-width: 650px) {

    .titre_fin,
    .single-post .featured-media-under-header .meta-category a {
        font-size: 14px !important;
        letter-spacing: 8px;
    }



}

.header_titre_fin h5 {
    text-align: center;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 130% !important;
    /* 23.4px */
    letter-spacing: 18px !important;
}


/* 
====================================
ANNUAIRE
====================================
*/


/* 
====================================
FORMULAIRE CF7
====================================
*/

.cf7-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cf7-grid input,
.cf7-grid textarea {
    margin-bottom: 20px;
}

/* Wrapper icône + input */
.cf7-input-icon {
    position: relative;
    height: 0;
}

.cf7-input-icon i {
    position: absolute !important;
    left: 12px;
    /* top: 50% !important; */
    /* transform: translateY(-50%) !important; */
    color: #999;
    pointer-events: none;
    z-index: 1;
    margin-top: 22px !important;
}

/* Décale le texte saisi pour ne pas chevaucher l'icône */
.cf7-input-icon input,

.cf7-input-icon .wpcf7-form-control {
    padding-left: 36px !important;
}

.cf7-input-icon span.select2-selection {
    padding-left: 25px !important;
}

/* Responsive mobile */
@media (max-width: 600px) {
    .cf7-grid {
        grid-template-columns: 1fr;
    }
}

/* Espacement entre chaque bloc label + champ */
.wpcf7-form label {
    display: block;
    margin-bottom: 4px;
}

.wpcf7-form .cf7-input-icon,
.wpcf7-form input[type=text],
.wpcf7-form textarea,
.wpcf7-form select {
    margin-bottom: 50px;
}

/* Les colonnes de la grille */
.cf7-grid {
    margin-bottom: 20px;
}

/* 
====================================
PETITES ANNONCES
====================================
*/

.asc-classified-item {
    border-left: 4px solid var(--sc-yellow);
    transition: all 0.3s ease;
}

.asc-classified-item:hover {
    border-left-color: var(--sc-blue-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.asc-classified-type {
    display: inline-block;
    padding: 4px 12px;
    background: var(--sc-blue-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
}

/* 
====================================
ÉVÉNEMENTS
====================================
*/

.asc-event-item {
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}



/* .asc-event-date {
    background: var(--sc-blue-primary);
    color: #fff;

    font-size: 30px;
    border-radius: 0 0 30px 0;
    display: inline-block;
    padding: 20px 10px;
    width: 100px;
    margin-bottom: 10px;
    text-align: center;

} */


.asc-event-date {
    background: var(--sc-blue-primary);
    color: #fff;
    border-radius: 0 0 30px 0;
    width: 100px;
    height: 120px;
    flex-shrink: 0;
    /* empêche la compression */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin-bottom: 10px;
    font-size: 27px;
}




.asc-event-thumbnail {
    flex-shrink: 0;
}

.asc-event-thumbnail img {
    width: 200px;
    height: auto;
    border-radius: 4px;
}

.asc-event-content {
    flex: 1;
}


/* 
====================================
FORMULAIRES
====================================
*/

.asc-form,
.asc-form-section {
    max-width: 800px;
    margin: 0 auto;
}

.asc-form-section {

    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    /* border: 1px solid #e0e0e0; */
    border-radius: 20px;

}

.asc-form-section h3 {
    border-bottom-color: var(--sc-yellow);
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.asc-form-field input:focus,
.asc-form-field select:focus,
.asc-form-field textarea:focus {
    border-color: var(--sc-blue-secundary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.home_chiffres {
    box-shadow: 0 8px 20px rgba(196, 168, 130, 0.45), 0 2px 12px rgba(196, 168, 130, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}


.home_chiffres .vc_col-sm-3 {
    padding-top: 30px;
    padding-bottom: 20px;

}

.bleu_biseau {
    background-color: #26428B;

    /* ton bleu marine */
    clip-path: polygon(30px 0%,
            /* coin haut-gauche biseauté */
            100% 0%,
            /* coin haut-droit normal */
            calc(100% - 30px) 100%,
            /* coin bas-droit biseauté */
            0% 100%
            /* coin bas-gauche normal */
        );
}


@media (max-width: 690px) {
    .home_chiffres .vc_col-sm-3 {
        padding: 10px !important;
        margin-bottom: 5px !important;
    }
}

/* 
====================================
ELEMENTS SUR MESURE
====================================
*/
.header_blend_bottom .row-bg-wrap {
    position: relative;
}

.header_blend_bottom .row-bg-wrap:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 80px;
    background: red;
    z-index: 2;
    background: linear-gradient(to bottom, transparent, #172257);
}

.bloc_temoignage {
    background: #101a46;

    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    border-left: 10px solid var(--sc-yellow);
    padding: 25px;
    line-height: 1.2em;
}

.bloc_decale {
    background-color: var(--sc-yellow);
}

.nos-valeurs img {
    max-height: 90px;
    width: auto !important;
}

.nos-valeurs-2 img {
    max-width: 120px !important;
    height: auto !important;

}

.nos-valeurs-2 .row-bg.using-image {
    background-size: 60px;
    background-position-y: 99% !important;
}

.nos-valeurs-2 h4 {
    font-size: 25px !important;
}

@media (min-width: 1000px) {
    .nos-valeurs-2 img {
        margin: auto;
    }

    .border_blocs .span_12 div:nth-child(2),
    .border_blocs .span_12 div:nth-child(3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        padding-bottom: 20px;
    }

    .nos-valeurs-2 .row-bg.using-image {
        background-size: 130px;
        background-position-y: 90% !important;
    }
}

.nos-valeurs-2 .wpb_wrapper p {
    color: rgba(255, 255, 255, 0.5) !important;
}



.home .nectar_single_testimonial {
    /* border-left: 4px solid var(--sc-yellow) !important; */
    /* padding-left: 12px !important; */
    font-weight: 800;
    margin-top: 30px;
}

.open-quote {
    color: var(--sc-yellow) !important;
    font-size: 100px !important;
    line-height: 20px !important;
    margin-bottom: -10px !important;
}

.border_dys .column-bg-overlay {
    border-radius: 10px 10px 50px 10px;
}

.cols_icones .nectar-responsive-text {
    margin-bottom: 5px;
}

.popmake em,
.popmake-content em {
    font-size: initial;
    font-style: normal;
    color: gray !important;
    margin-top: -5px;
    display: block;
}

.popmake-title {
    color: var(--sc-yellow) !important;
    font-size: 46px;
}





/* 
====================================
PIED DE PAGE
====================================
*/

.nectar_hook_global_section_footer {
    border-top: 5px solid var(--sc-yellow) !important;

}

#footer_top h2.widgettitle {
    font-size: 17px;
    color: var(--sc-yellow);
    line-height: 1em;
    /* padding-bottom: 20px; */
}

#footer_top .footer_titre_ste {
    margin-bottom: 0px;
    margin-top: -2px;
}

#menu-menu-footer-3 {
    margin-top: -6px;
}




#footer_top ul {
    margin-left: 0;
}

#footer_top ul li {
    list-style: none;
}

#footer_top a {
    color: #fff;
}

#footer_top a:hover {
    color: var(--sc-yellow);
}

/* 
====================================
RESPONSIVE
====================================
*/
@media (max-width: 1355px) {
    #header-outer[data-lhe="animated_underline"] #top nav>ul>li>a {
        margin-left: 9px !important;
        margin-right: 9px !important;
        font-weight: 600;
        font-size: 15px;
    }
}



@media (max-width: 1000px) {}

@media (max-width: 768px) {}

/* 
====================================
PERSONNALISATIONS SALIENT
====================================
*/