/*********************
* GLOBAL ********************
*********************/

/* Wordpress - se déconnecter, personnaliser, etc. */

.display-name {
    color: white;
}

.ab-item {
    color: white !important;
}

/***fin wordpress ***/

body {
    margin: 0 !important;
    font-family: 'GoogleSans';
}

.site {
    overflow: hidden;
}

/*.site-main {
    margin-top: 50px;
    margin-bottom: 50px;
} */

h1,
h2,
h3,
h4,
h5,
b,
s,
a {
    color: var(--color__1) !important;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: bold;
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin-top: 0.5em;
}

h1.entry-title,
h1.page-title {
    margin-top: 2.6em;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.3rem;
}

ul {
    margin-left: 0;
    font-size: 1.2rem;
}

a:link,
a:visited,
a:hover,
a:focus,
a:active {
    color: var(--color__1);
    outline: none;
}

.btn {
    width: 100%;
    background-color: var(--color__1);
    border-color: var(--color__1);
    color: white !important;
    font-size: 1.2rem;
}

.btn:hover {
    background-color: var(--color__2);
    border-color: var(--color__2);
}

.scale {
    transition: 0.25s;
}

.scale:hover {
    transform: scale(0.95);
}

/*********************
* HEADER ********************
*********************/

#wp-admin-bar-edit {
    display: none !important;
}

/*********************
* NAVIGATION
*********************/

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: auto;
    z-index: 999;
    padding: 1rem 0rem;
    background-color: var(--color__1);
}

/* LOGOS */
.logo-link-mobil {
    display: none;
}

.logo-link-screen {
    height: 100px;
    padding-right: 0.5rem;
}

.logo-link-screen img {
    height: 100px;
    width: auto;
}

/* NAV */
.navbar-nav {
    display: table-cell;
    height: 100px;
    margin: 0;
}

.navbar-nav li {
    vertical-align: middle;
    display: table-cell;
}

.navbar-collapse {
    background-color: var(--color__1);
    width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transition: 0.25s;
}

/* DROPDOWN FIX */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 15px;
    margin: 0;
    border: none;
    border-radius: 0;
    background-color: var(--color__1);
    width: auto;
}

/* MEGAMENU */
.megamenu {
    position: absolute;
    padding: 15px;
    width: auto;
}

.megamenu-li {
    position: relative;
}

/* LINKS */
.nav-link,
.dropdown-item {
    font-size: 1.4rem;
    color: var(--color__blanc) !important;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

/* Soulignement animé (gauche → droite) */
.nav-link::before,
.dropdown-item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: var(--color__blanc);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.35s cubic-bezier(.25, .8, .25, 1);
}

/* Pas de soulignement pour la nav-link qui ouvre le dropdown */
.nav-link.dropdown-toggle::before {
    content: none;
}

/* Hover + actif */
.nav-link:hover::before,
.dropdown-item:hover::before,
.navbar-nav .current-menu-item > .nav-link::before {
    transform: scaleX(1);
}

/* DROPDOWN ITEMS */
.dropdown-item {
    padding-left: 15px;
    padding-right: 15px;
}

.dropdown-item:hover {
    background-color: var(--color__1) !important;
}

.dropdown-item:active {
    background-color: var(--color__1);
}

/* PAGINATION */
.page-item.active .page-link {
    background-color: var(--color__1);
    border-color: var(--color__1);
}

.page-link:hover {
    color: black;
}

/*********************
 * SLIDER 1
 *********************/

.box-slider a {
    position: relative;
    display: inline-block;
}

/* Structure interne du slider */
.tab-slider {
    display: table;
    width: 100%;
    height: 100%;
    position: absolute;
}

.cell-slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* en haut: flex-start ; milieu : center ; en bas : flex-end; */
    height: 100%;
    text-align: left;
}

/* Nouveau conteneur pour gérer l'espacement du texte */
.slider-content {
    max-width: 800px;
    padding-left: 120px;
    padding-right: 50px;

    max-height: 250px;
    overflow: hidden;
    position: relative;
}

.slider-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
}

/* Titres */
.title-slider {
    font-size: 4rem;
    line-height: 1;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}

/* Contenu */
.content-slider p {
    font-size: 2rem;
    line-height: 1.5;
    color: white;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
}

/* Image du slider */
.img-slider {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 700px;
}

/* Dots Slick */
.slick-dots {
    bottom: 25px;
}

.slick-dots li button::before {
    opacity: 1;
    color: white;
}

.slick-dots li.slick-active button::before {
    opacity: 1;
    color: var(--color__1);
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}


/*********************
* Edito ********************
*********************/

.img-border img {
    border-radius: 25px;
}

/*********************
* BANDEAU ********************
*********************/

.bandeau_bottom_slider p {
    background-color: var(--color__1);
    color: var(--color__blanc);
    padding: 0.5em 1em;
    font-size: 2.5em;
    text-align: center;
    font-weight: 700;
    margin-top: -10px;
}

@media (max-width: 991px) {
    .bandeau_bottom_slider p {
        padding: 0.5em 0.5em;
        font-size: 1.5em;
    }
}

/*********************
     BOX Partenaires
*********************/

strong {
    color: var(--color__1);
}

.img-partenaires img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

body {
    overflow-x: hidden;
}

.title-partenaires {
    /* font-variant-caps: small-caps; */
    text-transform: uppercase;
    padding: 8% 0% 2% 0;
    font-weight: 300;
    font-size: 1.8rem;
    color: var(--color__1);
    text-align: center;
    width: 100%;
    text-align: center;
}

.content-partenaires p {
    width: 100%;
    color: var(--color__noir);
    font-size: 1.2em;
    text-align: justify;
    padding: 0% 5%;
}

/*********************
* GALERIE ********************
*********************/
.galerie-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.galerie-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.galerie-thumb:hover img {
    transform: scale(1.05);
}

/*********************/


/*********************
* BOX Gite page d'accueil / boutons accueil 
*********************/
/* Bloc full-screen */
.home-block {
    height: 80vh;
    display: flex;
    padding: 40px;
    color: var(--color__blanc) !important;
    background-size: cover;
    background-position: center;
    position: relative;
    text-decoration: none !important;
}

/* Titre */
h3.home-title,
.home-block h3 {
    color: var(--color__blanc) !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

/* Empêche tout underline */
.home-block:hover,
.home-block-content:hover,
.home-block-content a:hover {
    text-decoration: none !important;
}

/* Overlay sombre */
.home-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    transition: background .3s ease;
}

.home-block:hover::before {
    background: rgba(68, 121, 78, 0.55);
}

/* Contenu */
.home-block-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

/* Titre */
.home-block h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

/* Excerpt */
.home-block p {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

/* Flèche Bootstrap Icons */
.home-block .arrow {
    font-size: 1.6rem;
    display: inline-block;
    transition: transform .3s ease;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

.home-block:hover .arrow {
    transform: translateX(6px);
}

/* Mobile */
@media (max-width: 767px) {
    .home-block {
        height: 40vh;
        padding: 20px;
    }

    .home-block h3 {
        font-size: 1.6rem;
    }
}


/*********************
* BOX SUGGESTION
*********************/

/* Carte */
.box-archive {
    display: block;
    position: relative;
    height: 320px;
    border-radius: 25px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #000;
}

/* Image */
.box-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
    /* scale smooth */
}

/* Overlay color au hover */
.box-image:hover {
    content: "";
    position: absolute;
    inset: 0;
    transform: scale(1.05);
    z-index: 2;
}

/* Contenu texte + flèche */
.box-content {
    position: absolute;
    left: 1.2rem;
    bottom: 1.8rem;
    right: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

/* Titre */
.box-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 4px 12px rgba(42, 62, 89, 0.8);
}

/* Flèche dans un rond */
.box-arrow {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    /* backdrop-filter: blur(4px);*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color__blanc);
    text-shadow: 0 2px 6px rgba(42, 62, 89, 0.8);
}


/*************************
*   content-gite.php
************************/

/* Title général */
.titre-fullwidth {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    margin-top: 6.2em;
    margin-bottom: 2em;
    padding: 30px 0;

    background: var(--color__2);
    color: white !important;
    text-align: center;
}

.titre-fullwidth .entry-title {
    margin: 0;
    font-size: 3rem;
    font-weight: 600;
}

.titre-fullwidth .entry-excerpt p {
    margin: 0;
    font-family: "Brother Signature";
    font-size: 3.9rem;
    text-align: center;
}

/* fin titre */

.gite-infos-sidebar {
    height: auto !important;
    min-height: auto !important;
    border-right: solid 2px var(--color__1);
    padding-right: 20px;
}

/* Ligne inline propre */
.row-infos-gite.inline {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

/* Colonne gauche : largeur fixe */
.title-infos-gite {
    flex: 0 0 180px;
    /* Ajuste si tu veux plus large */
    font-weight: 600;
    line-height: 1.4;
    color: var(--color__1);
    font-size: 1.1rem;
    margin-top: 0.5em;
}

/* Colonne droite : prend toute la place */
.content-infos-gite {
    flex: 1;
    line-height: 1.4;
}

/* Pour les blocs */
.row-infos-gite.block {
    margin-bottom: 15px;
}

.row-infos-gite.block .title-infos-gite {
    margin-bottom: 5px;
}

.gite-map-fullscreen {
    width: 100vw;
    height: 50vh;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 0;
}

.gite-map-fullscreen-inner {
    width: 100%;
    height: 100%;
}

.gite-map-fullscreen iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/*************************
*   CAROUSSEL GITE CHAMBRE D'HOTES
************************/

/* CARROUSEL FULL WIDTH */
.gite-carousel-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    overflow: hidden;
}

.gite-carousel-hero .carousel-figure {
    margin: 0;
    width: 100%;
    height: 80vh;
    /* hauteur slider */
    position: relative;
    overflow: hidden;
}

.gite-carousel-hero .carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BULLET INACTIF */
.swiper-pagination-bullet {
    background: var(--color__1) !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
}

/* BULLET ACTIF */
.swiper-pagination-bullet-active {
    background: var(--color__3) !important;
    width: 20px !important;
    height: 20px !important;
}

/* FLÈCHES */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    background: none;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.hero-arrow-left {
    left: 150px;
}

.hero-arrow-right {
    right: 150px;
}

.hero-arrow svg {
    width: 32px;
    height: 32px;
    display: block;
}

.carousel-caption {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}


/*********************
* ACCUEIL ********************
*********************/

.link-event {
    display: block;
    position: relative;
}

.tab-event {
    display: table;
    width: 100%;
    height: 100%;
    position: absolute;
}

.cell-event {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.title-event {
    font-size: 3rem;
    line-height: 1;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
}

.bg-news {
    background-color: var(--color__1);
}

.div-cc {
    border-radius: 1rem;
    background-color: var(--color__1);
    text-align: center;
}

.div-cc h1,
.div-cc h2,
.div-cc h3,
.div-cc h4,
.div-cc h5,
.div-cc h6 {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.div-cc p {
    color: white;
    padding-bottom: 15px;
}

.icon-cc {
    font-size: 4rem;
    color: white;
}

/*********************
* CONTACT ********************
*********************/

.map-contact iframe {
    height: 635px;
}

.txt-contact {
    font-size: 1rem;
}

/*********************
* ACCESSIBILITÉ ********************
*********************/

.img-acces {
    display: inline;
    width: 100px;
    margin-right: 10px;
    float: left;
}

/*********************
* ARCHIVE / News / Actualités ********************
*********************/

/* ----------------------------------------------------
   CONTAINER GLOBAL
---------------------------------------------------- */
.box-news {
    margin-top: 2rem;
}

/* ----------------------------------------------------
   CARTE ACTUALITÉ
   (le lien = la carte)
---------------------------------------------------- */
.link-archive {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #111;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.link-archive:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    text-decoration: none;
}

/* ----------------------------------------------------
   IMAGE EN HAUT (ratio fixe)
---------------------------------------------------- */
.img-archive {

    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}

}

.link-archive:hover .img-archive {
    transform: scale(1.03);
}

/* ----------------------------------------------------
   CONTENU TEXTE
---------------------------------------------------- */
.title-archive,
.content-archive {
    padding: 0 1.1rem;
}

.title-archive {
    margin-top: 1rem;
    margin-bottom: 0.4rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
}

.content-archive {
    margin-bottom: 1.3rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #444;
}

/* ----------------------------------------------------
   RESPONSIVE
---------------------------------------------------- */
@media (max-width: 768px) {
    .link-archive {
        margin-bottom: 1.5rem;
    }
}

/*********************
* CONTENT ARCHIVE (bouton "Toutes les actualités")
*********************/

.nav-archive {
    font-size: 1.2rem;
}

.nav-archive a {
    width: auto;
    background-color: var(--color__2);
    border-color: var(--color__2);
    color: var(--color__blanc) !important;
    font-size: 1.2rem;
    display: inline-block;
    font-weight: 400;
    border-radius: 30px;
    padding: .375rem .75rem;
    line-height: 1.5;
    transition: color 0.35s ease-in-out,
        background-color 0.35s ease-in-out,
        border-color 0.35s ease-in-out,
        box-shadow 0.35s ease-in-out;
}

.nav-archive a:hover {
    background-color: var(--color__1);
    border-color: var(--color__1);
    text-decoration: none;
    color: var(--color__blanc) !important;
}

/*********************
* BOX PICTOS ********************
*********************/
/* ----------------------------------------------------
   RESET : on enlève les couleurs qui bloquent l’héritage
---------------------------------------------------- */
.bg-pictos .colonnes_icones_home i,
.bg-pictos .colonnes_icones_home h4 {
    color: inherit !important;
    font-family: "GoogleSans";
    font-weight: bold !important;
}

/* ----------------------------------------------------
   CONTENEUR PRINCIPAL
---------------------------------------------------- */
.colonnes_icones_home {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

/* ----------------------------------------------------
   COLONNES
---------------------------------------------------- */
.colonnes_icones_home .m_columns__column {
    flex: 1 1 180px;
    max-width: 220px;
}

/* ----------------------------------------------------
   LIENS (couleur normale + transition)
---------------------------------------------------- */
.bg-pictos .colonnes_icones_home a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color__blanc) !important;
    /* couleur de base */
    transition: color 0.35s ease;
}

/* ----------------------------------------------------
   ICÔNES
---------------------------------------------------- */
.bg-pictos .colonnes_icones_home a i {
    font-size: 4.5rem;
    margin-bottom: 0.2em;
    transition: transform 0.35s ease;
}

/* ----------------------------------------------------
   TITRES
---------------------------------------------------- */
.bg-pictos .colonnes_icones_home a h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 400;
}

/* ----------------------------------------------------
   HOVER : icône + texte changent ENSEMBLE
---------------------------------------------------- */
.bg-pictos .colonnes_icones_home a:hover {
    color: var(--color__2) !important;
    /* couleur au survol */
}

.bg-pictos .colonnes_icones_home a:hover i {
    transform: scale(1.18);
}

/* ----------------------------------------------------
   RESPONSIVE
---------------------------------------------------- */
@media (max-width: 768px) {
    .colonnes_icones_home {
        gap: 1.5rem;
    }

    .colonnes_icones_home .m_columns__column {
        flex: 1 1 45%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .colonnes_icones_home .m_columns__column {
        flex: 1 1 100%;
    }
}

/*********************
 * Nos amis 
 *********************/

.amis-tel {
    font-size: 1.3em;
    color: var(--color__1);
    font-weight: bold;
}

.amis-tel i {
    color: var(--color__1);
}

/*********************
 * PARTENAIRES
 *********************/
/* conteneur flex principal */
.box-partenaires .list_partenaires {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0;
}

/* chaque item : 4 par ligne */
.box-partenaires .partenaires-item {
    box-sizing: border-box;
    flex: 0 0 calc(25% - 20px);
    max-width: calc(25% - 20px);
    text-align: center;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* conteneur image — empêche tout débordement */
.box-partenaires .img-partenaires {
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 auto 12px;
    box-sizing: border-box;
}

/* image */
.box-partenaires .img-partenaires img,
.box-partenaires .img-partenaires .img-responsive {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* hover */
.box-partenaires .img-partenaires img:hover,
.box-partenaires .img-partenaires .img-responsive:hover {
    transform: scale(1.1);
}

/* titre sous l'image */
.box-partenaires .title-partenaires {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--color__1);
    margin-bottom: 8px;
}

/* contenu sous le titre */
.box-partenaires .content-partenaires {
    font-size: 0.95rem;
    color: var(--color__noir);
    padding: 0 8%;
    text-align: center;
    margin-top: auto;
}

/* responsive : 3 par ligne sur tablettes */
@media (max-width: 991px) {
    .box-partenaires .partenaires-item {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

/* responsive : 2 par ligne sur mobile */
@media (max-width: 767px) {
    .box-partenaires .partenaires-item {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .box-partenaires .img-partenaires img {
        width: 120px;
        height: 120px;
    }
}

/* sécurité anti-débordement */
.box-partenaires,
.box-partenaires * {
    box-sizing: border-box;
}

/*********************
* FOOTER ********************
*********************/

.footer-signature {
    color: white !important;
    font-family: 'Brother Signature';
    font-weight: 400;
    font-size: 3.5em;
}

.custom-logo-footer {
    margin-top: 0.9em;
    margin-left: 0.5em;
    max-height: 120px;
    width: auto;
    height: auto;
    display: inline-block;
    transition: transform 0.3s ease;
}

.custom-logo-footer:hover {
    transform: scale(1.1);
}

.bloc-footer-map {
    height: 400px;
    position: relative;
}

.bloc-footer-map iframe {
    width: 100%;
    height: 400px;
}

.footer-link {
    margin-bottom: 0.8em;
    font-size: 1.3em;
    color: white !important;
    font-weight: bold;
    display: block;
    text-decoration: none;
    transition: color 0.25s ease;
    /* transition sur l'état normal */
}

.footer-link:hover {
    color: var(--color__2) !important;
    text-decoration: none;
}

.bloc-footer-1 {
    background-color: var(--color__1);
    color: white;
}

.bloc-footer-2 {
    background-color: var(--color__1);
    font-size: 12px;
    color: white;
}

.bloc-footer-2 a {
    color: white;
}

.icon-footer {
    color: white !important;
    transition: 0.25s;
    padding-left: 0.5em;
}

.icon-footer i:hover {
    transition: 0.25s;
    color: var(--color__2) !important;
}

.icon-footer i {
    font-size: 3rem;
}

/*********************
* RESPONSIVE ********************
*********************/

@media (max-width: 575px) {
    .box-news {
        width: auto;
        margin: auto;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .box-news {
        width: 540px;
        margin: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .box-news {
        width: 720px;
        margin: auto;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .box-news {
        width: 960px;
        margin: auto;
    }
}

@media (min-width: 1200px) {
    .box-news {
        width: 1140px;
        margin: auto;
    }
}

@media (max-width: 991px) {
    .navbar {
        margin: auto;
        height: 100px;
    }

    /* .navbar-collapse{
        padding-top: 1rem;
        padding-bottom: 1rem;
        transition: 0.25s;
    } */

    .navbar-nav {
        display: inline;
    }

    .navbar-nav li {
        vertical-align: auto;
        display: inline;
    }

    .navbar-toggler {
        margin-right: 0.5rem;
    }

    .logo-link-mobil {
        display: block;
        height: calc(100px - 1rem);
        margin-left: 0.5rem;
    }

    .logo-link-mobil img {
        height: calc(100px - 1rem);
        width: auto;
    }

    .logo-link-screen {
        display: none !important;
    }

    .nav-link,
    .dropdown-item {
        font-size: 1rem;
    }

    .dropdown-menu {
        padding: 0;
    }

    .btn {
        font-size: 1rem;
    }

    .nav-archive {
        font-size: 1rem;
    }

    .nav-archive a {
        font-size: 1rem;
    }

    ul {
        font-size: 1rem;
    }

    h1,
    .titre-fullwidth {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .title-slider {
        font-size: 2rem;
        line-height: 1;
    }

    .content-slider {
        font-size: 1rem;
        line-height: 1.5;
    }

    .title-event {
        font-size: 2rem;
    }

    .title-archive {
        top: 0px;
        font-size: 1.5rem;
    }

    .content-archive {
        bottom: 0px;
        font-size: 1rem;
    }
}
