/*
Theme Name: Cogiweb
Description: Theme personnalisé développé par la Cogiweb (modèle de page en PHP).
Version: 1.0
*/

/* FONTS */
@font-face {
    font-family: 'Ilisarniq';
    src: url('fonts/Ilisarniq-Regular.otf') format('opentype');
    font-weight: normal; /* 400 */
    font-style: normal;
}

@font-face {
    font-family: 'Ilisarniq';
    src: url('fonts/Ilisarniq-Italic.otf') format('opentype');
    font-weight: normal; /* 400 */
    font-style: italic;
}

@font-face {
    font-family: 'Ilisarniq';
    src: url('fonts/Ilisarniq-Demi.otf') format('opentype');
    font-weight: 500; /* Demi-bold */
    font-style: normal;
}

@font-face {
    font-family: 'Ilisarniq';
    src: url('fonts/Ilisarniq-Bold.otf') format('opentype');
    font-weight: bold; /* 700 */
    font-style: normal;
}

@font-face {
    font-family: 'Ilisarniq';
    src: url('fonts/Ilisarniq-BoldItalic.otf') format('opentype');
    font-weight: bold; /* 700 */
    font-style: italic;
}

@font-face {
    font-family: 'Ilisarniq';
    src: url('fonts/Ilisarniq-Black.otf') format('opentype');
    font-weight: 900; /* Black */
    font-style: normal;
}
/* FONTS - (FIN) */

/* GLOBALE */
.wp-block-image img {
    border-radius: 0 !important;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Ilisarniq', sans-serif;
    font-weight: normal;
    font-size: 17px;
    font-style: normal;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

pre {
    font-size: 16px;
}

h4 {
    font-size: 22px;
    margin-bottom: 10px;
    text-decoration: underline;
}

ol, ul {
    margin-top: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

.li-padding-left-20 { 
    padding-left: 20px;
}

.no-wrap {
    white-space: nowrap !important;
}

.sub-header-title {
    display: none;
}

#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.max-width-1280px {
    max-width: 1280px;
    margin: 0 auto; 
    padding: 0 20px; 
    margin-bottom: 30px;
}

.content {
    max-width: 1480px;
    margin: 0 auto; 
    padding: 0 20px; 
}

.content-area {
    flex: 1;
}

footer {
    width: 100%;
    height: 300px;
    background-color: #1D3E39;
    margin-top: auto;
}

.tableaux-customs-bleus th { 
    background-color: #3192D0;
}

.tableaux-customs-rouges th { 
    background-color: #C42C27;
}

.tableaux-customs thead {
    border-bottom: none;
}

.tableaux-customs table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.tableaux-customs th {
    border: 1px solid black;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.tableaux-customs tr:nth-child(odd) {
    background-color: #FFFFFF;
}

.tableaux-customs td {
    border: 1px solid black;
    padding: 10px;
    padding-left: 20px;
    text-align: left;
    color: #1D3E39;
}

@media only screen and (max-width: 600px) {
    .tableaux-customs th,
    .tableaux-customs td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}

.gap0 {
    gap: 0;
}

@media only screen and (max-width: 500px) {
    .mobileFlexColumn {
        display: flex;
        flex-direction: column;
    }
}
/* GLOBALE - (FIN) */

/* PAGES SECONDAIRES GLOBALES */
.contenu-page-1280px {
    max-width: 1280px;
    padding: 40px 20px;
}

.gp-titres-custom {
    gap: 0;
    margin-bottom: 40px;
}

.titres-custom-orange {
    text-align: center;
    color: white;
    background-color: #EF7D00;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    min-width: 180px;
    margin: 0;
}

.titres-custom-bleu {
    text-align: center;
    color: white;
    background-color: #3192D0;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    min-width: 180px;
    margin: 0;
}

.titres-custom-rouge {
    text-align: center;
    color: white;
    background-color: #C42C27;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    min-width: 180px;
    margin: 0;
}

.titres-custom-vert {
    text-align: center;
    color: white;
    background-color: #1D3E39;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    min-width: 180px;
    margin: 0;
}

.titres-lignes-custom-orange {
    height: 2px;
    background-color: #EF7D00;
    /*width: 100%;*/
    flex-grow: 1;
}

.titres-lignes-custom-bleu {
    height: 2px;
    background-color: #3192D0;
    /*width: 100%;*/
    flex-grow: 1;
}

.titres-lignes-custom-rouge {
    height: 2px;
    background-color: #C42C27;
    /*width: 100%;*/
    flex-grow: 1;
}

.titres-lignes-custom-vert {
    height: 2px;
    background-color: #1D3E39;
    /*width: 100%;*/
    flex-grow: 1;
}

.encadre-section-orange {
    color: white;
    margin: 40px 0;
    width: 100%;
    background: #EF7D00;
    padding: 20px;
}

.encadre-section-bleu {
    color: white;
    margin: 40px 0;
    width: 100%;
    background: #3192D0;
    padding: 20px;
}

.encadre-section-rouge {
    color: white;
    margin: 40px 0;
    width: 100%;
    background: #C42C27;
    padding: 20px;
}

.encadre-section-vert {
    color: white;
    margin: 40px 0;
    width: 100%;
    background: #1D3E39;
    padding: 20px;
}
/* PAGES SECONDAIRES GLOBALES  - (FIN) */


/* MENU SECONDAIRE */
.menu-secondaire {
    background-color: #1D3E39;
    width: 100%;
    height: 54px; 
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar-menu-secondaire {
    display: flex;
    padding-right: 80px;
    align-items: center;
}

.subscribe-top-section,
.language-section,
.social-icons-top-section {
    margin-left: 20px; 
    color: white;
}

.subscribe-top-section {
    background: white;
    padding: 5px 15px;
    color: #1D3E39;
    border-radius: 15px;
    cursor: pointer;
}

.subscribe-popup-container {
    display: none;
    position: fixed;
    /*width: 800px;*/
    max-width: 620px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    /*padding: 20px;*/
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    max-height: 80vh;
    overflow-y: auto;
}

.close-subscribe-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    font-size: 30px;
    color: #333;
}

.close-subscribe-popup:hover {
    color: #000;
}

.formulaire-subscribe {
    margin: 20px;
}

@media screen and (max-width: 980px) {
    .subscribe-popup-container {
        width:90%;
        margin-top: 60px;
    }
}

.language-section {
    display: flex;
    align-items: center;
}

.language-section a {
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    text-decoration: none;
}

.language-section a:hover {
    color: #EF7D00;
}

.social-icons-top-section {
    display: flex;
}

.social-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    background-color: white;
    border-radius: 50%; 
    width: 34px;
    height: 34px;
}

.social-icon-wrapper:hover {
    background-color: #3192D0;
}

.icone-facebook, .icone-instagram, .icone-linkedin {
    width: 20px;
    height: 20px;
}
/* MENU SECONDAIRE - (FIN) */

/* MENU TOP */
.groupe-logo-meteo-menu {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.groupe-meteo-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.bloc-nav-top-bar {
    display: flex;
    align-items: center;
    padding-left: 20px;
    padding-right: 60px;
}

.bloc-meteo-cogiweb {
    padding-left: 20px;
    padding-right: 60px;
}

.previsions-meteo {
    display: flex;
    padding-left: 20px;
    padding-right: 20px;
    height: 40px;
    background: #3192D0;
    border-radius: 20px;
}

.meteo-ville, .meteo-temperature, .meteo-vitesse-vent {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
}

@media only screen and (max-width: 430px) {
    .meteo-vitesse-vent {
        display: none;
    }
}

.meteo-bouton-plus {
    display: flex;
    justify-content: center;
    align-items: center;
}

.meteo-bouton-plus img {
    height: 26px;
}

.logo-OHN-menu {
    height: 140px;
    margin-left: 60px;
}

.nav-top-bar {
    list-style-type: none;
    margin: 0;
    margin-top: 5px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.nav-top-bar li a {
    font-family: 'Ilisarniq', sans-serif;
    font-weight: 600; /* Applique Ilisarniq Black */
    font-size: 18px;
    margin: 20px; 
    padding-bottom: 4px; /* Empêche le faire monter descendre le contenu dessous au hover */
    text-decoration: none;
    color: #1D3E39;
    display: block;
    transition: background-color 0.3s, color 0.3s;
    box-sizing: border-box; 
}


/* Style du sous menu */
/* Cache le sous-menu */
.nav-top-bar .sub-menu {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding-left: 0;
    list-style-type: none; 
    display: none;
    background-color: #fff; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    z-index: 999;
    position: absolute;
}

/* Ajout sous menu prenne largeur texte */
.nav-top-bar .sub-menu li a {
    display: inline-block;
    margin: 10px 20px 6px 20px;
    padding-bottom: 4px;
}

/* Affiche le sous-menu au survol des listes de menu */
.nav-top-bar li:hover > .sub-menu {
    display: block;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

/* Style au hover */
.nav-top-bar li a:hover {
    padding-bottom: 2px; /* Empêche le contenu dessous de bouger au hover */
    color: #EF7D00; 
    border-bottom: 2px solid #EF7D00;
}

/* Style au hover pour les éléments courants */
.nav-top-bar li.current-menu-item > a:hover,
.nav-top-bar li.current_page_item > a:hover,
.nav-top-bar li.current_page_ancestor > a:hover {
    color: #3192D0; /* Couleur rouge au survol des éléments courants */
    border-bottom: 2px solid #3192D0;
}

/* Style des éléments courants et leurs ancêtres */
.nav-top-bar li.current-menu-item > a,
.nav-top-bar li.current_page_item > a,
.nav-top-bar li.current_page_ancestor > a {
    padding-bottom: 2px; /* Empêche le contenu dessous de bouger */
    color: #EF7D00; 
    border-bottom: 2px solid #EF7D00;
}

/* Désactive le style pour les liens d'ancrage dans le sous-menu */
.nav-top-bar .sub-menu li.current-menu-item > a[href^="#"],
.nav-top-bar .sub-menu li.current_page_item > a[href^="#"] {
    color: inherit; /* Réinitialise la couleur */
    border-bottom: none; /* Supprime la bordure */
}

/* Ajout d'une flèche pour les onglets principaux avec sous-menu */
.nav-top-bar li.sub-menu-item > a {
    position: relative;
}

.nav-top-bar li.sub-menu-item > a::after {
    content: '\25BC'; 
    margin-left: 10px;
    font-size: 14px;
}
/* Ajout d'une flèche pour les onglets principaux avec sous-menu - (FIN) */

.cogiweb-search-field {
    background-image: url('/wp-content/uploads/2024/04/icone-loupe-fonce.svg');
    background-repeat: no-repeat;
    background-position: 10px center;
    padding-right: 20px; 
    padding-left: 30px; 
    border: 2px solid #1D3E39;
    border-radius: 20px;
    width: 160px;
    height: 30px;
    margin-top: -10px;
}

/* Masquer le texte "Search..." */
.cogiweb-search-field::placeholder {
    color: transparent;
}
/* MENU TOP - FIN */


/*      MENU MOBILE      */
/* Cache le menu mobile avec transform*/
.mobile-menu {
    display: none;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
}

/* Affiche le menu mobile */
.mobile-menu.open {
    display: block;
    transform: translateX(0);
}

.mobile-navbar {
    background-color: #1D3E39;
    width: 100%;
    height: 74px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-navbar .hamburger-icon {
    font-size: 34px;
    color: white;
    cursor: pointer;
    padding-left: 20px;
    padding-right: 20px;
}

.mobile-navbar .search-icon {
    cursor: pointer;
    padding-left: 20px;
    padding-right: 20px;
}

.mobile-search {
    display: flex;
}

/* Cache le formulaire de recherche par défaut sur mobile */
.mobile-search-form {
    display: none;
}

/* Affiche le formulaire de recherche lorsque la classe "active" est ajoutée */
.mobile-search-form.active {
    display: block;
    padding-right: 10px;
}

.mobile-navbar .search-icon .search-icon-open {
    height: 28px;
    width: 28px;
}

.mobile-navbar .search-icon .search-icon-close {
    height: 28px;
    width: 28px;
}

/* Style pour changer l'icône de la loupe en X */
.search-icon img.search-icon-open {
    display: block;
}

.search-icon img.search-icon-close {
    display: none;
}

.search-icon.active img.search-icon-open {
    display: none;
}

.search-icon.active img.search-icon-close {
    display: block;
}

.mobile-navigation {
    margin: 0;
    padding: 0;
}

.mobile-navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.mobile-navigation li {
    margin: 0;
    padding: 0;
}

.mobile-navigation li a {
    font-size: 18px;
    font-weight: bold;
    padding: 20px 20px 20px 30px;
    text-decoration: none;
    background: white;
    color: #1D3E39;
    display: block;
    transition: background-color 0.3s, color 0.3s;
    box-sizing: border-box; 
}

/* Cache le sous menu */
/* Style du sous menu */
.mobile-navigation .sub-menu {
    margin-left: 0;
    padding-left: 0;
    list-style-type: none; 
    display: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    z-index: 999;
}

/* Style au hover, onglet courant et onglets courants parentes */
.mobile-navigation li a:hover,
.mobile-navigation li.current-menu-item > a,
.mobile-navigation li.current_page_item > a,
.mobile-navigation li.current_page_ancestor > a {
    background-color: #EF7D00; 
    color: #1D3E39; 
    font-weight: bold;
}

.mobile-navigation .menu-item-has-children a {
   /* background: #3192D0;*/
    display: flex;
    justify-content: space-between;
}

.mobile-navigation .menu-item-has-children a .sub-menu {
    background: #5ab5ef;
}

.mobile-arrow {
    height: 100%;
    width: 20px;
    display: inline-block;
    margin-left: 5px; 
    font-size: 18px; 
    color: #1D3E39; 
    cursor: pointer; 
}

.mobile-navigation .open > .mobile-navigation .sub-menu {
    display: block; 
}

.bloc-meteo-cogiweb-mobile {
    display: none;
}

@media screen and (max-width: 1000px) {
    .menu-secondaire {
        height: 240px;
        justify-content: center;
    }
    
    .top-bar-menu-secondaire {
        flex-direction: column;
        align-items: center;
    }
    
    .bloc-meteo-cogiweb-mobile {
        display: flex;
        padding: 20px;
    }
    
    .subscribe-top-section,
    .language-section,
    .social-icons-top-section {
        margin-left: 0px; 
        margin-right: 0px;
    }
}

@media screen and (max-width: 680px) {
    .subscribe-top-section {
        /*display: none;*/
    }
}

@media screen and (max-width: 1000px) {
    .desktop-menu {
        display: none;
    }

    .mobile-navbar {
        display: flex;
    }
    
    .top-bar-menu-secondaire {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (min-width: 1001px) {
    .mobile-navbar {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .desktop-menu {
        display: block;
    }
}

@media screen and (max-width: 1240px) {
    .logo-OHN-menu {
        margin-left: 20px;
    }
    .bloc-nav-top-bar {
        flex-direction: column;
        align-items: flex-end;
        margin-bottom: 20px;
    }
}

/* HEADER ET HERO ACCUEIL*/
.header-mobile {
    display: none;
}

.hero-accueil-mobile {
    display: none;
}

@media screen and (max-width: 1000px) {
    .header-mobile {
        display: block; 
        text-align: center; 
        padding: 10px 0; 
    }

    .header-mobile img {
        max-width: 260px;
    }

    .hero-accueil-mobile {
        display: block; 
        text-align: center; 
        margin-top: 20px; 
        display: flex;
    }

    .hero-accueil-mobile img {
        width: 100%; 
    }
}

/* SECTION CARROUSEL ACCUEIL */
@media screen and (max-width: 1000px) {
    .carrousel-accueil-conteneur {
        display: none;
    }
}
.carrousel-accueil-conteneur {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

/* The dots/bullets/indicators */
.carrousel-accueil-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.carrousel-accueil-active, .carrousel-accueil-dot:hover {
    background-color: #EF7D00 !important; /* Ajout de !important pour garantir que la couleur orange est prioritaire */
}

/* Fading animation */
.carrousel-accueil-fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

/* Centered text */
.carrousel-dots-centered {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}


/* SECTION ACCORDEON LOCATAIRES ET LOGEMENT */
.section-locataires-et-logement { 
    display: flex;
}   

.section-locataires-et-accordeon, .section-logement-et-accordeon {
    width: 50%;
}

.section-locataires-et-accordeon {
    background:#3192D0;
}

.section-logement-et-accordeon {
    background: #EF7D00;
}

.section-locataires-titre, .section-locataires-image, .section-locataires-accordeon, .section-logement-titre, .section-logement-image, .section-logement-accordeon {
    display: flex;
    justify-content: center;
}

.section-locataires-titre h2, .section-locataires-accordeon .locataires-accordeon,  .section-logement-titre h2, .section-logement-accordeon .logement-accordeon {
    width: 60%;
}

.section-locataires-titre h2,  .section-logement-titre h2 {
    font-size: 34px;
    color: white;
    font-weight: 500;
    margin-bottom: 60px;
}

.section-locataires-image, .section-logement-image {
    margin-bottom: 50px;
}

.img-locataires-autochtones, .img-cherche-logement {
    width: 80%;
}

.section-locataires-accordeon, .section-logement-accordeon {
    margin-bottom: 100px;
}


.accordeon-accueil-item {
    color: white;
    cursor: pointer;
    padding: 10px 0;
    border-bottom: 1px solid white;
    text-align: left;
    outline: none;
    font-size: 20px;
    transition: 0.4s;
    display: flex;
    justify-content: space-between;
    text-decoration: none;
}
    
.accordeon-accueil-arrow img {
    height: 24px;
}

.locataires-et-cherche-accordeon_active, .accordeon-accueil-item:hover {
    color: #1D3E39; 
}

.accordeon-accueil-panel {
    padding: 10px 0;
    flex-direction: column;
    overflow: hidden;
}
    
.accordeon-accueil-panel a {
    color: white;
    padding: 5px 0;
}
    
.accordeon-accueil-panel a:hover {
    color: #1D3E39;
}

@media screen and (max-width: 1020px) {
    .section-locataires-et-logement {
        display: flex;
        flex-direction: column;
    }
    
    .section-locataires-et-accordeon, .section-logement-et-accordeon {
        width: 100%;
    }
    
    .locataires-accordeon, .logement-accordeon {
        width: 80% !important;
    }
}

/* SECTION DERNIÈRES NOUVELLES */
.bloc-dernieres-nouvelles-accueil {
    max-width: 100%;
    background: #1D3E39;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.dernieres-nouvelles-accueil {
    width: 100%;
    max-width: 1480px;
    display: flex;
    flex-direction: column;
    padding: 20px 40px 60px;
}

.dernieres-nouvelles-titre {
    color: white;
    margin-bottom: 40px;
}

.dernieres-nouvelles-articles {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.accueil-articles-card {
    flex: 1 1 30%;
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
}

.accueil-articles-container-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.accueil-articles-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.accueil-articles-image-personnalisee {
    margin-top: 11%;
    object-fit: cover;
}

.accueil-articles-title {
    color: white;
    font-size: 1.3em;
    margin: 10px 0;
}

.accueil-articles-title a {
    color: white;
    text-decoration: none;
}

.accueil-articles-text {
    color: white;
    font-size: 0.9em;
    margin: 10px 0 20px;
}

.accueil-articles-lien {
    display: flex;
    align-items: center;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.accueil-articles-lien:hover {
    color: #EF7D00;
}

.icone-fleche-droite-nouvelles img {
    margin-left: 10px;
    height: 22px;
}

/* Responsive */
@media (max-width: 820px) {
    .dernieres-nouvelles-articles {
        flex-direction: column;
        align-items: center;
    }

    .accueil-articles-card {
        max-width: 100%;
    }
}

/* FOOTER ACCUEIL */
.section-image-pre-footer-accueil {
    display: flex;
}

.image-pre-footer-accueil {
    width: 100%;
}

/* PAGE CONTACT */
.titre-info-contact {
    padding: 60px 20px 30px 20px;
}

.gp-rangee-info-contact {
    padding-bottom: 50px;
}

.info-contact-col-1, .info-contact-col-2 {
    padding: 20px;
    width: 30%;
}

.info-contact-items {
    border-bottom: 1px solid white;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.texte-info-contact {
    font-size: 18px;
    color: white;
    margin-bottom: 5px;
    font-weight: 400;
}

.texte-info-contact a {
    text-decoration: none;
}

.texte-info-contact a:hover {
    text-decoration: none;
    color: #1d3e39;
}

.gp-rangee-villages {
    padding-top: 60px;
    border-bottom: 1px solid white;
    padding-bottom: 40px;
    width: 80%;
    font-size: 18px;
}
    
.gp-villages-img, .gp-villages-textes {
    padding: 20px;
}

@media screen and (max-width: 1320px) {
    .info-contact-col-1, .info-contact-col-2 {
        width: 40%;
    }
}

@media screen and (max-width: 768px) {
    .gp-rangee-info-contact {
        flex-direction: column;
        align-items: center !important;
    }
    .info-contact-col-1, .info-contact-col-2 {
        width: 80%;
    }
    .gp-rangee-villages {
        display: flex;
        flex-direction: column;
    }
}
   
   
/* FOOTER */
.footer-menu-container {
    background-color: #1D3E39;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    color: white;
    padding: 40px 20px; 
    box-sizing: border-box;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

.footer-menu .menu-item {
    list-style-type: none;
    padding-right: 20px;
}

.footer-menu .menu-item a {
    color: white;
    text-decoration: none;
    font-family: 'Ilisarniq', sans-serif;
    font-weight: 600;
}

.footer-menu .menu-item a:hover {
    color: #EF7D00;
}

.footer-titre-infolettre {
    font-weight: 500;
}

.footer-titre-infolettre, .footer-bouton-infolettre, .footer-icones-sociales, .footer-menus, .footer-logo-et-info, .footer-copyright {
    margin: 20px;
}

.footer-bouton-infolettre {
    background: white;
    height: 26px;
    width: 200px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.bouton-infolettre-fleche {
    color: orange;
    margin-right: 10px;
}

.icone-infolettre-fleche {
    height: 18px;
}

.footer-icones-sociales {
    display: flex;
}

.social-icon-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    background-color: white;
    border-radius: 50%; 
    width: 34px;
    height: 34px;
}

.social-icon-footer:hover {
    background-color: #3192D0;
}

.footer-logo-et-info {
    display: flex;
}

.logo-nunavik-footer {
    height: 110px;
}

.footer-nom-et-adresse {
    margin-left: 40px;
}

.footer-copyright {
    font-size: 12px;
}

@media screen and (max-width: 820px) {
    .footer-menu-container {
        flex-direction: column;
    }
    .footer-logo-et-info {
        flex-direction: column;
    }
    .footer-nom-et-adresse {
        margin-left: 0px;
    }
    /*.footer-icones-sociales {
        justify-content: center;
    }*/
}


/* PAGES SECONDAIRES HERO */
.hero-pages-secondaires-img {
    margin: 0 !important;
    position: relative;
}

.hero-pages-secondaires-img {
    display: block;
    width: 100%;
    height: auto; 
}

.hero-pages-secondaires-title {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    text-align: center; 
    color: white; 
    padding: 0 20px; 
}

.hero-pages-secondaires-title {
    font-size: 3.5rem; 
    margin: 0;
}

@media screen and (max-width: 1340px) {
    .hero-pages-secondaires-title {
        font-size: 3rem; 
    }
}

@media screen and (max-width: 1140px) {
    .hero-pages-secondaires-title {
        font-size: 2.5rem; 
    }
}

@media screen and (max-width: 980px) {
    .hero-pages-secondaires-title {
        font-size: 2rem; 
    }
}

@media screen and (max-width: 800px) {
    .hero-pages-secondaires-img {
        display: none;
        width: 100%;
        height: auto;
    }
    .hero-pages-secondaires-title {
        font-size: 2.5rem;
        position: inherit;
        top: inherit;
        left: inherit;
        transform: none;
        text-align: center;
        color: white;
        padding: 60px 20px;
        background: #3192D0;
    }
}

/* PAGES SECONDAIRES PASTILLES */
.conteneur-pastilles-pSecondaires {
    transition: padding 0.1s ease;
}

.gp-pastilles-pSecondaires {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    max-width: 1280px;
    transition: padding 0.1s ease; 
}

.cols-pastilles-pSecondaires {
    margin: 0 !important;
    max-width: 1280px;
    width: 100%;
}

.cols-pastilles-pSecondaires a {
    text-decoration: none;
}

.img-pastilles-pSecondaires {
    height: 120px;
    width: 120px;
    transition: height 0.1s ease, width 0.1s ease;
}

/* flèches pastilles */
/*.texte-pastilles-pSecondaires a {
  position: relative;
}

.texte-pastilles-pSecondaires a::after {
  content: '→';
  font-size: 1em;
  color: inherit;
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  margin-left: 0.5em;
}*/

.texte-pastilles-pSecondaires a:hover { 
    color: #551a8b;
}

@media (min-width: 1200px) {
    .conteneur-pastilles-pSecondaires {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .conteneur-pastilles-pSecondaires.sticky .gp-pastilles-pSecondaires {
        padding-top: 40px;
        padding-bottom: 0;
    }

    .conteneur-pastilles-pSecondaires.sticky .img-pastilles-pSecondaires,  .conteneur-pastilles-pSecondaires.sticky .img-pastilles-pSecondaires img {
        height: 80px !important;
        width: 80px !important;
    }
}

@media screen and (max-width: 1200px) {
    .img-pastilles-pSecondaires {
        height: 110px;
        width: 110px;
    }
    .gp-pastilles-pSecondaires {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
}

/* PAGES SECONDAIRES PASTILLES - ABOUT - À PROPOS */
.conteneur-pastilles-about {
    transition: padding 0.1s ease;
}

.gp-pastilles-pSecondaires-about {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    max-width: 1280px;
    transition: padding 0.1s ease; 
}

.cols-pastilles-pSecondaires-about {
    margin: 0 !important;
    max-width: 1280px;
    width: 100%;
}

.cols-pastilles-pSecondaires-about a {
    text-decoration: none;
}

.img-pastilles-pSecondaires-about {
    height: 120px;
    width: 120px;
    transition: height 0.1s ease, width 0.1s ease;
}

@media (min-width: 1200px) {
    .conteneur-pastilles-about {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .conteneur-pastilles-about.sticky .gp-pastilles-pSecondaires-about {
        padding-top: 40px;
        padding-bottom: 0px;
    }

    .img-pastilles-pSecondaires-about.sticky,
    .img-pastilles-pSecondaires-about.sticky img {
        height: 80px !important;
        width: 80px !important;
    }
}

@media screen and (max-width: 1200px) {
    .img-pastilles-pSecondaires-about {
        height: 110px;
        width: 110px;
    }
    .gp-pastilles-pSecondaires-about {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
}

@media screen and (max-width: 510px) {
    .gp-pastilles-pSecondaires-about {
        display: flex;
        justify-content: center;
        flex-direction: row;
    }
    
    .cols-pastilles-pSecondaires-about {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
}

/* PAGE JOBS - CAREER */
.contenu-workWithUs-top {
    height: 400px;
}

.workWithUs-col1, .workWithUs-col2 {
    padding-left: 40px;
    padding-right: 40px;
}

.workWithUs-col1 .workWithUs-col1_titre {
    margin-top: 30px;
}

.workWithUs-col2 {
    position: relative;
}

.workWithUs-col_image {
    position: absolute;
    z-index: 10;
    top: 30px;
}

.workWithUs-bottom-cols {
    padding-top: 90px;
    padding-bottom: 50px;
}

.workWithUs-bottom-col1, .workWithUs-bottom-col2 {
    padding-left: 40px;
    padding-right: 40px;
}

.workWithUs-bottom-col2 {
    padding-top: 60px;
}

.workWithUs-triangle {
    padding-right: 10px;
}

.workWithUs-texte-triangle {
    padding-top: 10px;
}

.section-encadres-applicationProcess {
    margin-top: 120px;
    margin-bottom: 80px;
}

.gp-encadres-bottom-applicationProcess {
    margin-top: 80px;
}

.applicationProcess-encadre {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.5);
}

.applicationProcess-encadre {
    width: 80%;
}

.applicationProcess-encadre1::before, .applicationProcess-encadre2::before {
    position: absolute;
    top: 130px;
    content: '';
    display: block;
    right: -82px;
    transform: translateY(-50%);
    width: 81.33px;
    height: 29.33px;
    background: url(/wp-content/uploads/2024/07/longue-fleche-droite.svg) no-repeat;
    background-size: cover;
    text-align: right;
}

.applicationProcess-encadre4::before, .applicationProcess-encadre5::before {
    position: absolute;
    top: 130px;
    content: '';
    display: block;
    left: -82px;
    transform: translateY(-50%);
    width: 81.33px;
    height: 29.33px;
    background: url(/wp-content/uploads/2024/07/longue-fleche-gauche.svg) no-repeat;
    background-size: cover;
    text-align: left;
}

@media screen and (max-width: 1026px) {
    .applicationProcess-encadre1::before, .applicationProcess-encadre2::before, .applicationProcess-encadre4::before, .applicationProcess-encadre5::before, .applicationProcess-flecheBas {
        display: none;
    }
    
    .applicationProcess-cols1, .applicationProcess-cols2 {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
     
     .applicationProcess-encadre-textes {
         display: block !important;
         text-align: center;
     }
     
    .applicationProcess-encadre-textes h3 {
         display: flex;
         justify-content: center;
         text-align: center;
     }
     
     .applicationProcess-encadre {
        margin-bottom: 60px !important;
     }
     
    .gp-encadres-bottom-applicationProcess {
        margin-top: 0px;
    }
}  

@media screen and (max-width: 490px) {
    .applicationProcess-encadre {
        width: 90%;
    }
}

.application-process-encadre-img {
    margin-top: -60px;
}

.applicationProcess-col-row {
    gap: 0;
    display: flex;
    align-items: flex-start;
}

@media screen and (max-width: 800px) {
    .contenu-workWithUs-top {
        height: auto;
    }
    .workWithUs-col2 {
        position: static;
    }
    
    .workWithUs-col_image {
        position: static;
    }
}

.gp-thrivingCommunity-top {
    padding-top: 10px;
    padding-bottom: 30px;
}

.thrivingCommunity-title {
    margin-top: -110px;
    margin-bottom: 80px;
}

/* PAGE JOBS - Section Jobs Opportunities */
.job-opportunities-wrapper {
    background-color: #1D3E39;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.job-opportunities-container {
    max-width: 1280px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.job-opportunities__title {
    color: white;
    margin-bottom: 40px;
    font-weight: normal;
}

.job-filter {
    display: flex;
    gap: 20px;
    align-items: center;
}

.job-filter-form {
    display: flex;
}

.job-filter-select-wrapper {
    position: relative;
    cursor: pointer;
    margin-right: 30px;
    display: inline-block;
}

.job-filter-select {
    padding: 10px 40px 10px 10px;
    border-radius: 25px;
    font-weight: bold;
    color: #1D3E39;
    font-size: 16px;
    appearance: none;
    background-color: white;
    border: 1px solid #ccc;
    width: 200px;
}

.job-filter-select option {
    padding: 10px;
    font-size: 16px; 
}

.job-filter-select-wrapper::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(/wp-content/uploads/2024/07/fleche-ronde-verte.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.job-filter-select-wrapper.open::after {
    transform: translateY(-50%) rotate(90deg);
}

.job-filter__selected-filters-wrapper {
    width: 100%;
    background: #E4F7F4;
    padding: 40px 0;
    display: flex;
    justify-content: center; 
}

.job-filter__selected-filters {
    width: 1280px;
    padding: 20px; 
}

.job-opportunities-image {
    height: 300px;
}

@media screen and (max-width: 500px) {
    .job-filter-form {
        display: flex;
        flex-direction: column;
    }
    
    .job-filter-select-wrapper {
        margin-top: 20px;
    }
}

@media screen and (max-width: 940px) {
    .job-opportunities-container-image {
        display: none;
    }
}

.job-opportunities-no-match-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.job-opportunities-no-match {
    max-width: 1280px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1D3E39;
    font-weight: 600;
}

/* PAGE JOBS - Section Jobs listing */
.job-listing-wrapper {
    width: 100%;
    padding-bottom: 80px;
    display: flex;
    justify-content: center;
}

.job-listing {
    width: 100%;
}

.job-listing__item-wrapper {
    width: 100%;
}

.job-listing__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.job-listing__item-wrapper:nth-child(even) {
    background-color: #E4F7F4;
}

.job-view-details {
    margin-left: auto;
    text-decoration: none;
    color: #1D3E39;
    background: #E4F7F4;
    padding: 10px 20px;
    border-radius: 20px;
}

.job-listing__item-wrapper:nth-child(even) .job-view-details {
    background: white;
}

.job-view-details:hover {
    color: white;
    background: #1D3E39;
}

.job-listing__item-wrapper:nth-child(even) .job-view-details:hover {
    color: white;
    background: #1D3E39;
}

.job-title-function {
    font-weight: bold;
    font-size: 18px;
    color: #1D3E39;
}

.job-title-function::before {
    content: '>'; 
    font-size: 18px; 
    color: #1D3E39;
    margin-right: 8px; 
}

.job-title-function-link {
    text-decoration: none;
    color: #1D3E39;
}

.job-title-function-link:hover {
    text-decoration: none;
    color: #EF7D00;
}

.job-community {
    margin-top: 5px;
    margin-left: 18px;
}

.no-jobs-found-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.no-jobs-found {
    max-width: 1280px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 500px) {
    .job-listing__item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

.job-loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed; /* Fixé au centre de l'écran */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.7); /* Fond semi-transparent */
    width: 100vw;
    height: 100vh;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.2);
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* PAGE SINGLE JOBS */
.job-detail-header-wrapper {
    background-color: #E0F3FF;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
    color: #3192D0;
}

.job-detail-header {
    max-width: 1280px;
    width: 100%;
    padding: 0 20px;
}

.job-detail-header-title {
    margin-bottom: 5px;
}

.job-detail__meta-bold {
    font-weight: bold;
    font-size: 18px;
}

.job-detail-contain-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.job-detail-contain {
    max-width: 1280px;
    width: 100%;
    padding: 0 20px;
}

.job-detail-header-link {
    text-decoration: none;
    color: #1D3E39;
}

.job-detail-header-link:hover {
    color: #EF7D00;
}

.job-detail-header-link-arrow {
    text-decoration: none;
    margin-right: 5px;
}

.job-detail-header-link-texte {
    text-decoration: underline;
}

.job-detail-header__apply {
    width: 100%;
    display: flex;
    align-items: center;
}

.job-detail-contain__apply {
    width: 100%;
    display: flex;
    align-items: center;
}

.job-detail__apply-line {
    height: 3px;
    width: 100%;
    background-color: #3192D0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-detail__apply-button {
    min-width: 160px;
    background-color: #3192D0;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    margin-left: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-detail__apply-button:hover {
    background-color: #1D3E39;
}

.apply-now-icon {
    width: 24px;
    padding-left: 10px;
}

@media screen and (max-width: 500px) {
    .job-detail-header-title {
        margin-bottom: 20px;
    }
}

/* PAGE JOBS - APPLY */
.apply-page-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

.apply-page {
    max-width: 1280px;
    width: 100%;
    padding: 0 20px;
}

/* PAGE Vérifier son rang - RANK  */
.rank-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 80px 0;
    background: #EF7D00;
    min-height: 300px;
}

.rank-container {
    max-width: 1280px;
    width: 100%;
    padding: 0 40px;
}

.rank-title {
    color: white;
}

.form-rank__input-texte {
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #ffffff;
    border-radius: 5px;
    font-size: 16px;
}

.form-rank__input-submit {
    padding: 10px;
    background-color: #3192D0;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-rank__input-submit:hover {
    background-color: white; 
    color: #3192D0;
    border: 1px solid #3192D0;
}

/* PAGES PARC IMMOBILIER */
.gp-hero-parc-imm {
    padding: 20px;
}

@media screen and (max-width: 500px) {
    .gp-hero-parc-imm .rangee-hero {
        display: flex;
        flex-direction: column;
    }
}

.hero-parc-imm-titre {
    margin-top: 60px !important;
    margin-bottom: 20px !important;
}

.gp-communautes {
    padding-top: 30px;
    padding-bottom: 50px;
}

.communautes-col-1, .communautes-col-2 {
    padding: 20px;
    width: 30%;
}

.communautes-items {
    border-bottom: 1px solid #EF7D00;
    padding-bottom: 10px;
    padding-top: 10px;
}

.texte-communautes {
    font-size: 18px;
    color: #EF7D00;
    margin-bottom: 5px;
    font-weight: 400;
}

.texte-communautes a {
    text-decoration: none;
    color: #EF7D00;
}

.texte-communautes a:hover {
    text-decoration: none;
    color: #1d3e39;
}

@media screen and (max-width: 1320px) {
    .communautes-col-1, .communautes-col-2 {
        width: 40%;
    }
}

@media screen and (max-width: 768px) {
    .gp-communautes {
        flex-direction: column;
        align-items: center !important;
    }
    .communautes-col-1, .communautes-col-2 {
        width: 80%;
    }
}

.section-parc-imm-apercu {
    position: relative;  
}

.section-parc-imm-apercu .parc-imm-apercu-titre {
    margin: 0;
    padding: 60px 20px 30px;  
}

.parc-imm-apercu-texte {
    max-width: 900px;
}

.section-parc-imm-chiffres {
    position: static;
}

.gp-pimm-apercu-textes {
    position: relative;
    max-width: 1080px;
    padding: 20px;
    z-index: 2;
}

.pimm-apercu-img-cote {
    position: absolute;
    top: 160px;
    left: 20px;
    z-index: 1;
}

@media screen and (max-width: 1240px) {
    .pimm-apercu-img-cote {
        top: 200px;
    }
}

.pimm-apercu-chiffre-img {
    margin: 0;
    padding-top: 20px;
    padding-bottom: 60px;
}

.pimm-apercu-chiffre-img img {
    margin-bottom: -140px;
    padding-left: 30px;
    padding-right: 30px;
}

@media screen and (max-width: 1340px) {
    .gp-pimm-apercu-textes {
        max-width: 800px;
    }
}

@media screen and (max-width: 1000px) {
    .pimm-apercu-img-cote {
        display: none;
    }
}

.gp-pimm-chiffres-textes {
    max-width: 1200px;
    padding-bottom: 80px;
}

.parc-imm-chiffres-titre {
    margin: 0;
    padding: 120px 20px 30px; 
}

.cols-pimm-chiffres {
    margin-bottom: 0;
    padding: 20px;
}

.rg-pimm-bouton-orange {
    background: #EF7D00;
    width: 400px;
    border-radius: 60px;
    color: white;
    margin-bottom: 20px;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    padding: 10px;
}

.rg-pimm-bouton-rouge {
    background: #C42C27;
    width: 340px;
    border-radius: 50px;
    color: white;
    margin-bottom: 20px;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    padding: 10px;
}

.rg-pimm-bouton-vert {
    background: #1D3E39;
    width: 290px;
    border-radius: 50px;
    color: white;
    margin-bottom: 20px;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    padding: 10px;
}

.pimm-bouton-orange-chiffre {
    font-size: 90px;
    margin-right: 10px !important;
}

.pimm-bouton-rouge-chiffre {
    font-size: 66px;
    margin-right: 10px !important;
}

.pimm-bouton-vert-chiffre {
    font-size: 44px;
    margin-right: 10px !important;
}

@media screen and (max-width: 500px) {
    .rg-pimm-bouton-orange {
        width: 280px;
        font-size: 18px;
    }
    
    .pimm-bouton-orange-chiffre {
        font-size: 50px;
    }

    .rg-pimm-bouton-rouge {
        width: 260px;
        font-size: 16px;
    }
    
    .pimm-bouton-rouge-chiffre {
        font-size: 40px;
    }

    .rg-pimm-bouton-vert {
        width: 220px;
        font-size: 16px;
    }
    
    .pimm-bouton-vert-chiffre {
        font-size: 30px;
    }
}

.tableau-pimm-chiffres table {
  border-collapse: collapse;
  height: 420px;
  width: 100%;
}

.tableau-pimm-chiffres td {
  border: 2px solid #62BFFA;
}

.tableau-pimm-chiffres td:first-child {
  border-left: none; 
}

.tableau-pimm-chiffres td:last-child {
  border-right: none; 
}

.tableau-pimm-chiffres tr:first-child td {
  border-top: none; 
}

.tableau-pimm-chiffres tr:last-child td {
  border-bottom: none; 
}

.pimm-tableau-pieces-orange {
    background: #EF7D00;
    border-radius: 20px;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 20px;
    padding: 8px;
}

.pimm-tableau-pieces-rouge {
    background: #C42C27;
    border-radius: 20px;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 20px;
    padding: 8px;
}

.pimm-tableau-chiffre {
    color: white;
    font-size: 64px;
    font-weight: bold;
}

.pimm-tableau-unites {
    color: white;
    font-size: 20px;
}

@media screen and (max-width: 500px) {
    .pimm-tableau-chiffre {
        font-size: 40px;
    }
    
    .pimm-tableau-pieces-orange, .pimm-tableau-pieces-rouge {
        font-size: 16px;
        white-space: nowrap;
    }
}

.container-search-page {
    max-width: 1280px;
    margin: 40px 40px 80px;
}

/* SECTION TOUS LES ARTICLES */
.bloc-tous-articles {
    max-width: 100%;
    background: #1D3E39;
    display: flex;
    justify-content: center;
}

.tous-articles {
    padding: 20px 40px 60px 40px;
    display: flex;
    flex-direction: column;
    width: 100%; 
    max-width: 1280px;
}

.tous-articles-titre {
    color: white;
}

.tous-articles-liste {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    row-gap: 20px;
}

.article-card {
    flex: 1 1 30%;
    box-sizing: border-box;
    width: 100%;
    max-width: calc(33.333% - 40px); 
    margin-bottom: 40px; 
}

.article-container-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.article-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.article-image-personnalisee {
    margin-top: 11%;
    object-fit: cover;
}

.article-title {
    color: white;
    font-size: 1.4em;
    margin: 10px 0;
}

.article-title a {
    color: white;
    text-decoration: none;
}

.article-text {
    color: white;
    font-size: 0.9em;
}

.article-lien {
    display: flex;
    font-weight: bold;
    margin-top: 10px;
    color: #fff;
    text-decoration: none;
}

.article-lien:hover {
    color: #EF7D00;
}

.icone-fleche-droite img {
    margin-left: 10px;
    height: 22px;
}

@media (max-width: 1080px) {
    .article-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 820px) {
    .tous-articles-liste {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    
    .tous-articles {
        padding: 20px 20px 60px 20px;
    }
    
    .article-card {
        max-width: calc(100% - 10px);
        margin-bottom: 40px;
    }
}

/* STYLES POUR LA PAGE D'ARTICLE UNIQUE - SINGLE */
.zone-contenu-article {
    max-width: 100%;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.main-site-article {
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.article-contenu {
    margin-bottom: 40px;
}

.entete-article {
    margin-bottom: 20px;
    border-bottom: 2px solid #1D3E39;
    padding-bottom: 10px;
}

.titre-article {
    color: #1D3E39;
    font-size: 2.5em;
    margin: 0;
    text-align: center;
}

.meta-article {
    color: #666;
    font-size: 0.9em;
    text-align: center;
}

.date-publication {
    display: block;
    margin-bottom: 20px;
}

.contenu-article {
    margin-top: 20px;
}

.contenu-article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.liens-pages {
    margin-top: 20px;
    text-align: center;
}

.navigation-article {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

.precedent-article, .suivant-article {
    font-size: 1em;
}

.precedent-article a, .suivant-article a {
    color: #1D3E39;
    text-decoration: none;
    font-weight: bold;
}

.precedent-article a:hover, .suivant-article a:hover {
    color: #EF7D00;
}

@media (max-width: 768px) {
    .navigation-article {
        flex-direction: column;
        align-items: center;
    }

    .precedent-article, .suivant-article {
        margin-bottom: 10px;
    }
}

/* PAGE CONTACT */
.section-pastilles-double {

}

.section-pastilles-double__cols {
    margin-bottom: 0px;
    gap: 0;
}

.section-pastilles-double__col {
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
    padding-left: 80px;
    padding-right: 80px;
}

.section-pastilles-double__titres {
    margin-top: 40px; 
    margin-bottom: 30px; 
    color: #1D3E39;
    min-height: 70px;
}

@media (max-width: 1240px) {
    .section-pastilles-double__col {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .section-pastilles-double__items {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .section-pastilles-double__items-fleche {
        display: none;
    }
}

.boutons-consulter {
    margin-top: 40px;
    margin-bottom: 20px;
}

.boutons-consulter a {
    text-decoration: none;
    background: white;
    padding: 10px 20px;
    border-radius: 20px;
    position: relative;
    display: inline-block;
    padding-right: 40px;
}

.boutons-consulter a::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/uploads/2024/08/fleche-orange-droite.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/*.section-pastilles-double__titre2 {
    margin-left: -90px; 
}*/

.section-pastilles-double__items {
    padding-top: 10px;
    padding-bottom: 10px;
}

.section-pastilles-double__items-img, .section-pastilles-double__items-texte {
    padding-right: 20px;
}

.section-pastilles-double__items-texte a {
    text-decoration: none;
}

.section-pastilles-double__items-texte a:hover {
    color: #EF7D00;
}

/* PAGE 404 */
.page-404-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 80px 0;
    background: #EF7D00;
    min-height: 300px;
}

.page-404 {
    max-width: 1280px;
    width: 100%;
    padding: 0 40px;
}

/* PAGE FORMS AND DOCUMENTS */
.page-template-page-forms-documents html, 
.page-template-page-forms-documents body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

.page-template-page-forms-documents .wrapper-formsDocuments {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    background: #1D3E39;
    color: white;
    padding: 50px 20px;
}

.page-template-page-forms-documents .container-formsDocuments {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
}

.page-template-page-forms-documents .formsDocuments-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #FFF;
}

.page-template-page-forms-documents .documents-title {
    color: #3192D0;
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.page-template-page-forms-documents .forms-title {
    color: #EF7D00;
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.page-template-page-forms-documents .documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.page-template-page-forms-documents .document-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.page-template-page-forms-documents .document-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FFF;
}

.page-template-page-forms-documents .document-link {
    display: inline-block;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    color: #FFF;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    width: 80%;
    margin-top: 5px;
}

.page-template-page-forms-documents .document-link:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #FFF;
}

.page-template-page-forms-documents footer {
    margin-top: 0;
    height: 200px;
    background: #1D3E39;
}





