/* ledendemila (site 17) — le logo du pied de page natif (composeur footer) n'a pas de largeur bornée par
   défaut et s'affiche à sa taille intrinsèque (~316px, bien plus grand que l'ancien site à 175px). */
.footer-composed .footer-logo {
    max-width: 175px;
}

.footer-composed .footer-logo img,
.footer-composed .footer-logo svg {
    width: 175px;
    max-width: 100%;
}

/* respiration verticale entre sections : chaque section de page est un BlockElement empilé sans
   marge propre (pas de bandeau SectionElement avec son propre espacement, contrairement à l'ancien
   site — voir pieges.md). Un simple `margin-top` sur le titre (1er essai) ne suffit pas : quand la
   section est une grille image|texte, seul le texte de sa colonne descend, pas l'image ni la ligne,
   donc le bloc reste visuellement collé au précédent. Il faut espacer le BLOC lui-même, comme
   l'ancien site qui enveloppait chaque section dans `.pt-4.pt-md-5` (Bootstrap) — mêmes valeurs ici.
   Un sélecteur CSS à profondeur fixe depuis `.pages-detail__content` ne marche pas : la profondeur
   du DOM rendu varie d'une page à l'autre (un conteneur intermédiaire en plus ou en moins selon le
   contenu). La classe `.ledm-sb` est donc posée directement dans le contenu en base, sur les vrais
   blocs de premier niveau (enfants du PageElement, repéré via `builder-element` dans le contenu
   STOCKÉ, jamais dans le rendu public) — voir ledm:sectionspacing-oneoff. */
.ledm-sb {
    padding-top: 1.5rem;
}

@media (min-width: 768px) {
    .ledm-sb {
        padding-top: 3rem;
    }
}

/* monogramme décoratif au-dessus du H1 du héros d'accueil, repris de l'ancien site. */
.eden-logo {
    width: 220px;
}

@media (max-width: 1199px) {
    .eden-logo {
        width: 200px;
    }
}

@media (max-width: 991px) {
    .eden-logo {
        width: 155px;
    }
}

@media (max-width: 767px) {
    .eden-logo {
        width: 170px;
    }
}

/* rameau décoratif en coin de pied de page, repris de l'ancien site (image seule,
   pas une règle de thème : le composeur footer natif n'a pas d'équivalent). */
.site-footer {
    position: relative;
    overflow: hidden;
}

.site-footer::after {
    content: "";
    position: absolute;
    bottom: 20px;
    right: 3%;
    width: 200px;
    height: 263px;
    background: url("/sites/17/branche.svg") no-repeat center / contain;
/*     opacity: 0.6; */
    pointer-events: none;
}

@media (max-width: 1500px) {
    .site-footer::after {
        width: 110px;
        height: 140px;
        right: 1%;
    }
}

/* grille d'icônes de fonctionnalités (confort, connexion, piscine…) : les classes
   .feature/.feature-img/.features-stacked-* viennent du style.css de l'ANCIEN thème (CI3), absentes du
   cœur actuel (même famille de piège que .page-header/.title-decor) — sans elles, l'icône s'affiche à sa
   taille de police par défaut (16px) au lieu de 50px, sans la mise en page centrée/empilée. */
.feature {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.feature .feature-img {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature .feature-img i {
    font-size: 50px;
}

.feature h3 {
    font-size: 20px;
    font-weight: 500;
    font-family: var(--text-font);
}

.feature p {
    margin-bottom: 0;
}

.features-stacked .feature {
    text-align: left;
    flex-direction: row;
}

.features-stacked .feature-img {
    padding-right: 1.5rem;
}

@media (max-width: 991px) {
    .features-stacked-lg .feature {
        text-align: left;
        flex-direction: row;
    }

    .features-stacked-lg .feature-img {
        padding-right: 1.5rem;
    }
}

@media (max-width: 1199px) {
    .features-stacked-xl .feature {
        text-align: left;
        flex-direction: row;
    }

    .features-stacked-xl .feature-img {
        padding-right: 1.5rem;
    }
}

@media (max-width: 1399px) {
    .features-stacked-xxl .feature {
        text-align: left;
        flex-direction: row;
    }

    .features-stacked-xxl .feature-img {
        padding-right: 1.5rem;
    }
}

@media (max-width: 767px) {
    .features-stacked-md .feature {
        text-align: left;
        flex-direction: row;
    }

    .features-stacked-md .feature-img {
        padding-right: 1rem;
    }
}

@media (max-width: 575px) {
    .features-stacked-sm .feature {
        text-align: left;
        flex-direction: row;
    }

    .features-stacked-sm .feature-img {
        padding-right: 1.5rem;
    }

    .feature .feature-img i {
        font-size: 35px;
    }

    .feature h3 {
        font-size: 18px;
    }
}

/* lettrine décorative derrière les titres de section ($heading avec une lettre),
   reprise telle quelle du custom.css de l'ancien site : absente du cœur (même constat que .page-header
   et .hero.hero-filter), donc tous les h2.title-decor du site s'affichaient sans leur grande lettre en
   fond — police "signature" (TheWeddingSignature) déposée dans public/sites/17/. */
@font-face {
    font-family: signature;
    src: url("/sites/17/TheWeddingSignature-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.title-decor {
    position: relative;
    z-index: 1;
}

.title-decor::before {
    content: attr(data-letter);
    position: absolute;
    top: -30px;
    left: 0;
    font-size: 8rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.08);
    z-index: -1;
    pointer-events: none;
    font-family: signature;
}

.title-decor.centre::before {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

/* images avec width/height figés par site:imgdims-oneoff : évite l'étirement si le CSS du
   gabarit impose une hauteur de bloc différente (galerie du gîte, colonnes côte à côte). */
:where(img[width][height]) {
    height: auto;
}

/* Texte « L'Eden de Mila » des articles de blog : contraste insuffisant (gris clair sur fond gris très clair). */
.module-detail__author {
    color: #5b5b5b;
}

/* Texte des fiches du jeu de données « activites » : le cœur applique `opacity:.85` sur `.ds-card__text`, ce qui
   ramène un texte par ailleurs correct (#64707f) sous le seuil WCAG une fois mélangé au fond blanc (~3.7:1, relevé
   par axe-core en rendu réel — invisible dans un simple getComputedStyle qui ignore l'opacité). On neutralise
   l'opacité et on fixe une couleur qui reste conforme même mélangée. Sélecteur plus spécifique que celui du cœur
   (.ds-card__text) pour l'emporter sans !important. */
.ds-card .ds-card__text {
    opacity: 1;
    color: #425063;
}

/* ===== Repasse du 27/11 — pages reconstruites depuis l'ancien rendu (structure + classes d'origine). ===== */

/* Héros d'accueil (carrousel de 3 photos) : hauteurs, voile et textes de l'ancien widget « advertisings ». */
.ledm-hero {
    position: relative;
    overflow: hidden;
    background-color: #3f4f41;
    height: 650px;
}

.ledm-hero>.hero-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
}

.ledm-hero>.hero-img aw-carousel,
.ledm-hero>.hero-img .awc-wrapper,
.ledm-hero>.hero-img aw-slide,
.ledm-hero>.hero-img img {
    height: 100%;
    width: 100%;
}

.ledm-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, 0));
}

.ledm-hero>.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.ledm-hero .content-inner {
    width: 950px;
    max-width: 100%;
}

#contenu .ledm-hero h1 {
    color: #fff;
}

#contenu .ledm-hero .desc p {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
}

/* Pagination numérotée « 01 02 03 » à gauche, trait sous la diapositive active (ancien swiper). */
.ledm-hero .awc-pagination {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    counter-reset: slide;
}

.ledm-hero .awc-bullet {
    counter-increment: slide;
    position: relative;
    width: 80px;
    height: auto;
    border-radius: 0;
    background: none;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: right;
    padding-right: 10px;
    opacity: 1;
    transform: none;
}

.ledm-hero .awc-bullet::before {
    content: "0" counter(slide);
}

.ledm-hero .awc-bullet-active {
    font-weight: 600;
    background: none;
    transform: none;
}

.ledm-hero .awc-bullet::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100px;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.ledm-hero .awc-bullet-active::after {
    transform: scaleX(1);
}

.ledm-hero .awc-autoplay-toggle {
    z-index: 3;
}

@media (max-width: 1399px) {
    .ledm-hero {
        height: 550px;
    }
}

@media (max-width: 1199px) {
    .ledm-hero {
        height: 450px;
    }

    .ledm-hero .content-inner {
        width: 600px;
    }
}

@media (max-width: 991px) {
    .ledm-hero .awc-pagination {
        top: auto;
        bottom: 20px;
        left: 0;
        transform: none;
    }
}

@media (max-width: 767px) {
    .ledm-hero .content-inner {
        width: 530px;
    }

    #contenu .ledm-hero .desc p {
        font-size: 16px;
    }

    .ledm-hero>.hero-content {
        padding: 1rem 0;
    }

    .ledm-hero .awc-pagination {
        top: auto;
        bottom: 20px;
        left: 0;
        transform: none;
    }

    .ledm-hero .awc-bullet {
        width: 40px;
    }

    .ledm-hero .awc-bullet::after {
        width: 40px;
    }

    .ledm-hero .awc-bullet-active::after {
        width: 50px;
    }
}

@media (max-width: 575px) {
    .ledm-hero .content-inner {
        width: 350px;
    }
}

/* Vidéo de l'accueil : demi-largeur centrée, ratio 15:7, coins droits (comme l'ancien site). */

/* Bouton « Itinéraire google map » : pictogramme de l'ancien thème (le libellé reste dans la page). */
#contenu .googleAdresse::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 20px;
    margin-right: .5rem;
    vertical-align: -4px;
    background: url("/sites/17/google-marker.svg") no-repeat center / contain;
}

#contenu .googleAdresse,
#contenu .wazeAdresse {
    display: inline-flex;
    align-items: center;
}

/* Avis : cartes du gabarit du jeu « temoignages » (étoiles, accroche, texte, date, auteur), comme l'ancien widget. */
.ledm-temoignages .ds-grid {
    --ds-gap: 1.5rem;
}

.ledm-temoignages .ds-tpl {
    height: 100%;
}

.ledm-avis {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 1rem;
}

.ledm-avis .star {
    width: 170px;
    margin: 0 auto 1rem;
}

#contenu .ledm-avis .ledm-avis__accroche {
    font-size: 25px;
    font-weight: 500;
    font-style: italic;
    font-family: var(--text-font);
    color: #000;
    line-height: 1.1;
    margin-bottom: 1rem;
}

#contenu .ledm-avis .ledm-avis__texte p,
#contenu .ledm-avis .ledm-avis__texte {
    font-style: italic;
    line-height: 1.2;
    color: #767676;
}

#contenu .ledm-avis .ledm-avis__auteur {
    font-size: 16px;
    font-weight: 600;
    font-family: var(--text-font);
    color: #212529;
}

#contenu .temoignages-widgets .widget-header p,
#contenu .widget-header p {
    font-size: 20px;
    font-weight: 300;
}

@media (max-width: 575px) {
    #contenu .ledm-avis .ledm-avis__accroche {
        font-size: 22px;
    }
}

/* Décors de page de l'ancien thème : pissenlit à droite (60 % de la hauteur), rameau d'olivier à gauche (20 % du bas). */
#contenu {
    position: relative;
}

#contenu::before,
#contenu::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#contenu::before {
    top: 60%;
    right: 0;
    width: 150px;
    aspect-ratio: 204 / 401;
    background-image: url("/sites/17/pissenlit.svg");
}

#contenu::after {
    bottom: 20%;
    left: 0;
    width: 150px;
    aspect-ratio: 164 / 429;
    background-image: url("/sites/17/olivier.svg");
}

@media (max-width: 1499px) {
    #contenu::after {
        bottom: 24%;
        width: 54px;
    }

    #contenu::before {
        width: 90px;
        top: 54%;
    }
}

@media (max-width: 1399px) {
    #contenu::before {
        top: 65%;
        width: 101px;
    }

    #contenu::after {
        width: 75px;
    }
}

@media (max-width: 1199px) {
    #contenu::after {
        width: 47px;
    }
}

@media (max-width: 767px) {
    #contenu::before {
        top: 53%;
        width: 70px;
    }

    #contenu::after {
        width: 50px;
        bottom: 26%;
    }
}

@media (max-width: 575px) {

    #contenu::before,
    #contenu::after {
        display: none;
    }
}

/* ===== Partie 2 — règles reprises de l'ancien thème (style.css + custom.css de ledendemila.com), limitées à la zone de contenu (#contenu).
   Triées : variables de couleurs / cartes / listes de l'ancien thème NON reprises (elles écraseraient la charte Arkana), règles body/swiper/picture retirées. */
#contenu {
    --text-color: #212529;
    --text-muted: #797979;
    --dark: #212529;
    --color-1-alt: #415943;
    --bg-light: #F3F0EC;
    --link-color: black;
    --link-color-hover: #566557;
    --page-header-min-height: 396px;
    --list-item-bg: white;
    --list-item-radius: 0;
    --list-mini-item-border: none;
    --list-content-padding: 16px;
    --list-content-gap: 6px;
    --text-font: "Montserrat", sans-serif;
    --title-font: "Crimson Text", serif;
    --deco-font: signature;
    --btn-padding-x: 1rem;
    --btn-padding-y: 0.3rem;
    --btn-1-bg: #566557;
    --btn-1-bg-hover: #415943;
    --btn-1-color: white;
    --btn-1-border-color: white;
    --btn-1-border-width: 1px;
    --btn-1-radius: 0;
    --btn-2-bg: white;
    --btn-2-bg-hover: #566557;
    --btn-2-color: #566557;
    --btn-2-color-hover: white;
    --btn-2-border-color: #566557;
    --btn-2-border-width: 1px;
    --btn-2-radius: 0;
    color: var(--text-color);
    font-family: var(--text-font);
}

#contenu .btn {
    text-transform: uppercase;
}

#contenu .btn-1 {
    background-color: var(--btn-1-bg);
    color: var(--btn-1-color);
    border: var(--btn-1-border-width) var(--btn-1-border-color) solid;
    border-radius: var(--btn-1-radius);
}

#contenu .btn-1:hover {
    background-color: var(--btn-1-bg-hover);
    color: var(--btn-1-color);
    border: var(--btn-1-border-width) var(--btn-1-border-color) solid;
}

#contenu .btn-2 {
    background-color: var(--btn-2-bg);
    color: var(--btn-2-color);
    border: var(--btn-2-border-width) var(--btn-2-border-color) solid;
    border-radius: var(--btn-2-radius);
}

#contenu .btn-2:hover {
    background-color: var(--btn-2-bg-hover);
    color: var(--btn-2-color-hover);
    border: var(--btn-2-border-width) var(--btn-2-border-color) solid;
}

#contenu h1,
#contenu h2 {
    font-family: var(--title-font);
}

/* L'ancien thème laissait h3-h6 en police de texte (Montserrat) ; le thème Arkana leur donne la police des titres. */
#contenu h3,
#contenu h4,
#contenu h5,
#contenu h6,
#contenu .h3,
#contenu .h4,
#contenu .h5,
#contenu .h6 {
    font-family: var(--text-font);
}

#contenu a:not(.btn),
#contenu a:not(.btn):active,
#contenu a:not(.btn):link,
#contenu a:not(.btn):visited {
    text-decoration: none;
    color: var(--link-color);
}

#contenu a:not(.btn):hover {
    text-decoration: none;
    color: var(--link-color-hover);
}

#contenu .img-fit {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#contenu .bg-light {
    background-color: var(--bg-light) !important;
}

#contenu .feature {
    text-align: center;
    display: flex;
    flex-direction: column;
}

#contenu .feature .feature-img {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

#contenu .feature .feature-img i {
    font-size: 50px;
}

@media (max-width: 767px) {
    #contenu .features-stacked-md .feature {
        text-align: left;
        flex-direction: row;
    }

    #contenu .features-stacked-md .feature-img {
        padding-right: 1rem;
    }
}

#contenu .page-header {
    position: relative;
    height: var(--page-header-min-height);
    background: #3f4f41;
}

#contenu .page-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(0 0 0 / 54%) 0%, rgb(0 0 0 / 41%) 40%, rgb(0 0 0 / 16%) 70%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

#contenu .page-header .container {
    z-index: 2;
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#contenu .page-header .content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

#contenu .page-header img {
    width: 100%;
    height: 100%;
    min-height: var(--page-header-min-height);
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

#contenu .card-title {
    font-size: 20px;
    color: var(--text-color) !important;
}

#contenu .modules-list-item {
    position: relative;
    background: var(--list-item-bg);
    border-radius: var(--list-item-radius);
    overflow: hidden;
    border: var(--list-mini-item-border);
    height: 100%;
}

#contenu .modules-list-item>.row {
    gap: 0;
}

#contenu .modules-list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: var(--list-content-padding);
    gap: var(--list-content-gap);
}

#contenu h1 {
    font-size: 78px;
    font-family: var(--title-font);
}

#contenu h2 {
    font-size: 50px;
    font-family: var(--title-font);
    line-height: 1;
    margin-bottom: 1rem;
}

#contenu .title-decor {
    position: relative;
    z-index: 1;
}

#contenu .title-decor::before {
    content: attr(data-letter);
    position: absolute;
    top: -30px;
    left: 0;
    font-size: 8rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.08);
    z-index: -1;
    pointer-events: none;
    font-family: var(--deco-font);
}

/* #777 de l'ancien site = 4,48:1 sur blanc, sous le seuil AA : #767676 (4,54:1), écart invisible. */
#contenu p {
    color: #767676;
    line-height: 1.2;
}

#contenu .title-decor.centre::before {
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

#contenu .sub {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
    color: black;
}

#contenu .centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contenu .gap-6 {
    --bs-gutter-x: 6rem;
}

#contenu .legal h2,
#contenu .legal h3 {
    font-size: 25px;
    font-weight: 500;
    font-family: var(--text-font);
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
    line-height: 1.2;
}

#contenu .legal strong {
    font-weight: 500;
}

#contenu .feature h3 {
    font-size: 20px;
    font-weight: 500;
    font-family: var(--text-font);
}

#contenu .feature p {
    margin-bottom: 0;
}

#contenu .data-item__title {
    font-weight: 600;
    font-family: var(--title-font);
    font-size: 33px;
    line-height: 1;
}

#contenu .star {
    width: 170px;
    margin: 0 auto 1rem;
}

#contenu .page-header h1,
#contenu .page-header p {
    color: white;
}

#contenu .page-header h1 {
    font-size: 71px;
    margin-bottom: 1.5rem;
}

#contenu .page-header p {
    font-size: 20px;
    line-height: 1.2;
}

#contenu .page-header .content {
    width: 600px;
    max-width: 100%;
}

#contenu .citation {
    font-size: 30px;
    font-weight: 300;
    font-style: italic;
}

#contenu .medium {
    font-weight: 500;
}

@media (max-width: 1199px) {
    #contenu .eden-logo {
        width: 200px;
    }

    #contenu h1 {
        font-size: 52px;
    }

    #contenu h2 {
        font-size: 40px;
    }

    #contenu .sub {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    #contenu .eden-logo {
        width: 155px;
    }

    #contenu h2 {
        font-size: 37px;
    }

    #contenu .data-item__title {
        font-size: 24px;
        line-height: 1;
    }

    #contenu .title-decor.centre::before,
    #contenu .title-decor::before {
        top: -20px;
        font-size: 5rem;
    }

    #contenu .title-decor {
        margin-top: 3rem;
    }
}

@media (max-width: 767px) {
    #contenu .title-decor.centre::before {
        top: -27px;
        font-size: 5rem;
    }

    #contenu h1 {
        font-size: 48px;
        line-height: 1;
    }

    #contenu h2 {
        font-size: 35px;
    }

    #contenu .eden-logo {
        width: 170px;
    }
}

@media (max-width: 575px) {
    #contenu .page-header p {
        font-size: 18px;
        text-align: center;
    }

    #contenu .page-header:before {
        background: rgb(0 0 0 / 34%);
    }

    #contenu .page-header h1 {
        font-size: 50px;
        text-align: center;
    }

    #contenu .gap-6 {
        --bs-gutter-x: 0;
    }

    #contenu .feature .feature-img i {
        font-size: 35px;
    }

    #contenu .feature h3 {
        font-size: 18px;
    }

    #contenu .citation {
        font-size: 25px;
    }

    #contenu .page-header {
        height: 330px;
    }

    #contenu .page-header img {
        min-height: 330px;
    }
}

/* Activités : cartes sans cadre de l'ancien site (gabarit du jeu « activites »). */
.ledm-activites .ds-grid {
    --ds-gap: 1.5rem;
}

.ledm-activite {
    background: none;
    border: 0;
    border-radius: 0;
}

.ledm-activite__img img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}

#contenu .ledm-activite .data-item__title {
    margin: 0 0 .5rem;
    color: #212529 !important;
}

#contenu .ledm-activite .data-item__content_short,
#contenu .ledm-activite .data-item__content_short p {
    color: #767676;
    line-height: 1.2;
}

#contenu .page-header .page-sub-title {
    font-size: 20px;
    line-height: 1.2;
}

/* Services (grilles .gap-6) : photo en hauteur naturelle. Avec width/height posés, `.img-fit { height:100% }` prenait la hauteur
   de la colonne flex étirée (644 px au lieu de ~365 sur mobile) et le bloc suivant recouvrait le texte de la fiche. */
#contenu .gap-6 img.img-fit {
    height: auto;
}

/* Pied de page : disposition de l'ancien site (logo à gauche, accroche, phrase en italique, titres Montserrat gras, liens noirs soulignés). */
.footer-composed .ledm-fcol-brand .footer-brand {
    text-align: left;
    align-items: flex-start;
}

.footer-composed .ledm-fcol-brand .footer-logo {
    max-width: 265px;
}

.footer-composed .ledm-fcol-brand .footer-logo img,
.footer-composed .ledm-fcol-brand .footer-logo svg {
    width: 265px;
    max-width: 100%;
}

.footer-composed .footer-brand-text {
    color: #767676;
    font-size: 16px;
    margin: 2rem 0 1rem;
    text-align: left;
}

.footer-composed .ledm-fcol-brand .footer-text {
    color: #767676;
    font-style: italic;
    line-height: 1.2;
    text-align: left;
}

.footer-composed .footer-col-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #000;
    margin-top: 2.4rem;
}

.footer-composed .footer-menu a,
.footer-composed .footer-contact a,
.footer-composed .footer-cookies a {
    color: #000;
    text-decoration: underline;
}

.footer-composed .footer-menu a:hover,
.footer-composed .footer-contact a:hover {
    text-decoration: none;
}

.footer-composed .ledm-fcol-social {
    padding-top: 2.2rem;
}

@media (max-width: 1199px) {

    .footer-composed .ledm-fcol-brand .footer-logo img,
    .footer-composed .ledm-fcol-brand .footer-logo svg {
        width: 175px;
    }
}

/* Texte gris sur fond beige (.bg-light, badge « Meublé de tourisme ») : #767676 ne fait que 4,0:1 sur #F3F0EC. */
#contenu .bg-light p,
#contenu .bg-light .card-text {
    color: #616161;
}

/* Le thème Arkana pose `height:100%` sur tout bloc de colonne contenant une img.img-fit (:where(.col, [class*=col-]) div:has(img.img-fit)) :
   dans les grilles du gîte et des services, la colonne s'étire à la hauteur de sa voisine et le bloc photo aussi, ce qui repousse
   le titre et fait chevaucher la ligne suivante. L'ancien thème n'avait pas cette règle. */
#contenu .gap-6 div:has(> img.img-fit) {
    height: auto;
}

/* Actualités (gabarits liste #199 / carte #206 propres au site) : filtres « # catégorie » et cartes de l'ancien site. */
.ledm-blogcats .module-cat-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: flex-start;
}

.ledm-blogcats .module-cat-menu__item {
    margin: 0;
}

#contenu .ledm-blogcats a.module-cat-menu__link,
#contenu .ledm-blogcats a.module-cat-menu__link:link,
#contenu .ledm-blogcats a.module-cat-menu__link:visited {
    display: inline-block;
    padding: 4px 8px;
    border: 0;
    border-radius: 0;
    background: #F3F0EC;
    color: #212529;
    font-size: 16px;
    text-decoration: none;
}

.ledm-blogcats .module-cat-menu__link::before {
    content: "# ";
}

#contenu .ledm-blogcats .module-cat-menu__item.is-active a.module-cat-menu__link,
#contenu .ledm-blogcats .module-cat-menu__item.is-active a.module-cat-menu__link:link,
#contenu .ledm-blogcats a.module-cat-menu__link:hover {
    background: #212529;
    color: #fff;
}

#contenu .ledm-blogcard {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
}

#contenu .ledm-blogcard .module-card__body {
    padding: 16px;
}

#contenu .ledm-blogcard .data-item__title {
    font-family: var(--title-font);
    font-size: 33px;
    font-weight: 600;
    line-height: 1;
    margin: 0 0 .5rem;
}

#contenu .ledm-blogcard .data-item__title a {
    color: #000;
    text-decoration: none;
}

#contenu .ledm-blogcard .module-cat,
#contenu .ledm-blogcard .data-item__category {
    font-size: 16px;
    color: #212529;
    margin: 0;
}

#contenu .ledm-blogcard .aw-composant--category .module-cat::before {
    content: "#";
}

#contenu .ledm-blogcard .module-cat {
    background: none;
    padding: 0;
    border: 0;
}

#contenu .ledm-blogcard .data-item__content_short {
    margin: 0;
}

#contenu .ledm-blogcard a.ledm-blogcard__more,
#contenu .ledm-blogcard a.ledm-blogcard__more:link,
#contenu .ledm-blogcard a.ledm-blogcard__more:visited {
    font-weight: 400;
    font-size: 16px;
    display: inline-block;
    margin-top: .7rem;
    padding: 0;
    color: #212529;
    text-decoration: underline;
    text-transform: none;
    background: none;
    border: 0;
}

#contenu .ledm-blogcard a.ledm-blogcard__more:hover {
    text-decoration: none;
}

#contenu .blogs-header .page-sub-title {
    font-size: 20px;
    line-height: 1.2;
    color: #fff;
}

@media (max-width: 991px) {
    #contenu .ledm-blogcard .data-item__title {
        font-size: 24px;
    }
}

#contenu .ledm-blogcard .aw-card-actions {
    display: none;
}

#contenu .ledm-blogcard .module-cat::before {
    margin: 0;
    padding: 0;
}

/* Liens dans le texte courant (articles, paragraphes) : soulignés, sinon distingués par la seule couleur (axe link-in-text-block). */
#contenu .data-item__description a:not(.btn),
#contenu p a:not(.btn):not(.module-card__title-link) {
    text-decoration: underline;
}

/* Fiche article : images du texte alignées à gauche et photo principale à coins droits, comme l'ancien site. */
#contenu .data-item__description img {
    margin-left: 0;
    margin-right: auto;
}

#contenu .module-detail__gallery-wrap img,
#contenu .module-detail__gallery-wrap .awc-wrapper,
#contenu .module-detail__gallery-wrap aw-carousel {
    border-radius: 0;
}

/* Héros : le bloc de texte couvre toute la largeur au-dessus du carrousel et captait les clics sur la pagination 01-02-03. */
.ledm-hero>.hero-content {
    pointer-events: none;
}

.ledm-hero>.hero-content .content-inner>* {
    pointer-events: auto;
}

/* Pied de page (capture de l'ancien site) : logo seul en haut à gauche, puis accroche / Informations / Nous contacter / réseaux alignés
   sur une même ligne ; pas de pictogramme devant le téléphone ; adresse sur deux lignes. */
@media (min-width: 768px) {
    .footer-composed .footer-col--titled {
        padding-top: 165px;
    }

    .footer-composed .ledm-fcol-social {
        padding-top: 150px;
    }

    .footer-composed .footer-col-title {
        margin-top: 0;
    }
}

.site-footer.footer-composed .footer-contact a[href^="tel"]::before {
    content: none;
    display: none;
}

.footer-composed .footer-contact li:first-child a {
    display: inline-block;
    max-width: 12.5em;
}

/* Pied de page sur tablette (768-991) : accroche | Informations | Nous contacter | réseaux sur une ligne, comme l'ancien site. */
@media (min-width: 768px) and (max-width: 991.98px) {
    .site-footer.footer-composed .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr auto;
    }

    .site-footer.footer-composed .footer-col {
        grid-column: auto;
    }

    .footer-composed .ledm-fcol-brand .footer-logo img,
    .footer-composed .ledm-fcol-brand .footer-logo svg {
        width: 140px;
    }

    .footer-composed .footer-col--titled {
        padding-top: 120px;
    }

    .footer-composed .ledm-fcol-social {
        padding-top: 110px;
    }
}

/* Pied de page mobile : blocs resserrés comme l'ancien site. */
@media (max-width: 767.98px) {
    .site-footer.footer-composed .footer-grid {
        row-gap: 1.25rem;
    }

    .footer-composed .footer-col-title {
        margin-top: 0;
        margin-bottom: .75rem;
    }

    .footer-composed .ledm-fcol-social {
        padding-top: 0;
    }

    .footer-composed .footer-brand-text {
        margin: 1.25rem 0 .75rem;
    }
}

.branche {
    position: absolute;
    bottom: 20px;
    right: 3%;
    max-width: 200px;
    width: 100%;
    height: auto;
}

@media (max-width: 1499px) {
    .branche {
        right: 1%;
        width: 118px;
    }
}

.menu-level-0 > li.is-current-section > a{
    height:100%;
    border-bottom:4px solid var(--color-1);
    background:transparent;
}
.menu-level-0 > li > a:hover, .menu-level-0 > li > .menu-item-container > a:hover {
    height: 100%;
}

.footer-composed.footer-contained .footer-inner {
    max-width:  var(--content-width, 1320px);
}