.elementor-kit-8{--e-global-color-primary:#1F1E1C;--e-global-color-secondary:#5F5B55;--e-global-color-text:#3F3D3A;--e-global-color-accent:#8C5A33;--e-global-color-frband1:#EDEBE7;--e-global-color-frcart1:#F5F4F1;--e-global-color-frfilet:#E6E2DC;--e-global-color-frfond1:#FFFFFF;--e-global-typography-primary-font-family:"Cormorant Garamond";--e-global-typography-primary-font-weight:500;--e-global-typography-secondary-font-family:"Jost";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Jost";--e-global-typography-text-font-weight:300;--e-global-typography-accent-font-family:"Jost";--e-global-typography-accent-font-weight:400;}.elementor-kit-8 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}:root { --fr-encre:#1F1E1C; --fr-texte:#3F3D3A; --fr-secondaire:#5F5B55; --fr-accent:#8C5A33; --fr-bandeau:#EDEBE7; --fr-carte:#F5F4F1; --fr-filet:#E6E2DC; --fr-fond:#FFFFFF; --fr-titres:Cormorant Garamond; --fr-texte-police:Jost; --fr-h1:clamp(44px, 5vw, 64px); --fr-h2:clamp(34px, 4vw, 52px); --fr-section-y:clamp(60px, 8vw, 112px); --fr-gouttiere:clamp(20px, 3vw, 40px); --Grami:Jost; }
/* Start custom CSS *//* Menu principal — fidèle à la maquette V1 */
.elementor-location-header .elementor-nav-menu--main .sub-arrow{display:none;}
.elementor-location-header .elementor-nav-menu--main > .elementor-nav-menu > li > a.has-submenu{padding-right:0 !important;}
.elementor-location-header .elementor-nav-menu--main ul.sub-menu{min-width:220px !important;margin-left:-18px !important;padding:7px 0 !important;border:1px solid #E6E2DC;background:#fff;}
.elementor-location-header .elementor-nav-menu--main ul.sub-menu li a{border:0 !important;}
.elementor-94 .elementor-nav-menu--main li.current-menu-ancestor > a.elementor-item:after, .elementor-94 .elementor-nav-menu--main li.current-menu-parent > a.elementor-item:after{opacity:1 !important;transform:none !important;background-color:#1F1E1C !important;}
/* Diaporamas des articles */
.elementor .fr-slide-img, .elementor-widget-theme-post-content img.fr-slide-img{height:560px !important;width:100% !important;max-width:100% !important;object-fit:contain !important;}
@media (max-width:767px){.elementor .fr-slide-img, .elementor-widget-theme-post-content img.fr-slide-img{height:360px !important;}}
/* Galeries photo (hors mode Justifie) : maconnerie CSS + titre et legende sous l'image (maquette V1) */
.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified){display:block !important;column-count:3;column-gap:28px;height:auto !important;padding-bottom:0 !important;margin-bottom:0 !important;}
.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified) .e-gallery-item{position:relative !important;display:block !important;break-inside:avoid;-webkit-column-break-inside:avoid;width:100% !important;margin:0 0 28px !important;top:auto !important;left:auto !important;right:auto !important;transform:none !important;}
.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified) .e-gallery-image{transform:none !important;}
.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified) .elementor-gallery-item__overlay{display:none !important;}
.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified) .elementor-gallery-item__content{position:static !important;display:block !important;padding:10px 0 0 !important;text-align:left !important;opacity:1 !important;transform:none !important;background:none !important;}
.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified) .elementor-gallery-item__content > div{opacity:1 !important;transform:none !important;transition:color .2s ease !important;}
.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified) .elementor-gallery-item__title{font-family:'Jost',sans-serif !important;font-weight:300 !important;font-size:15px !important;line-height:1.6 !important;color:#1F1E1C !important;letter-spacing:0 !important;text-transform:none !important;margin:0 !important;}
.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified) .elementor-gallery-item__description{font-family:'Jost',sans-serif !important;font-weight:300 !important;font-size:13px !important;line-height:1.6 !important;color:#5F5B55 !important;margin:0 !important;}
.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified) .e-gallery-item:hover .elementor-gallery-item__description{color:#1F1E1C !important;}
/* Maconnerie responsive : 2 colonnes sur tablette et mobile */
@media (max-width:1024px){.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified){column-count:2;column-gap:24px;}}
@media (max-width:767px){.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified){column-count:2;column-gap:16px;}.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified) .e-gallery-item{margin:0 0 20px !important;}.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified) .elementor-gallery-item__content{padding-top:8px !important;}.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified) .elementor-gallery-item__title{font-size:13px !important;line-height:1.4 !important;}.elementor-widget-gallery .e-gallery-container:not(.e-gallery-justified) .elementor-gallery-item__description{font-size:11px !important;line-height:1.4 !important;}}
/* Galeries en mode Justifie : ordre de lecture horizontal, titre + legende au survol */
.elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__content{justify-content:flex-end !important;align-items:flex-start !important;text-align:left !important;}
.elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__title{font-family:'Jost',sans-serif !important;font-weight:400 !important;font-size:15px !important;line-height:1.5 !important;color:#fff !important;letter-spacing:0 !important;text-transform:none !important;}
.elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__description{font-family:'Jost',sans-serif !important;font-weight:300 !important;font-size:13px !important;line-height:1.5 !important;color:rgba(255,255,255,.85) !important;}
/* Justifie responsive : grille 2 colonnes, titre + legende sous l'image */
@media (max-width:1024px){
.elementor-widget-gallery .e-gallery-justified{display:grid !important;grid-template-columns:repeat(2,1fr);column-gap:24px;row-gap:32px;height:auto !important;padding-bottom:0 !important;}
.elementor-widget-gallery .e-gallery-justified .e-gallery-item{position:relative !important;top:auto !important;left:auto !important;right:auto !important;width:auto !important;height:auto !important;margin:0 !important;transform:none !important;}
.elementor-widget-gallery .e-gallery-justified .e-gallery-image{position:relative !important;width:100% !important;height:auto !important;aspect-ratio:2 / 3;padding-bottom:0 !important;background-size:contain !important;background-position:left bottom !important;background-repeat:no-repeat !important;transform:none !important;}
.elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__overlay{display:none !important;}
.elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__content{position:static !important;display:block !important;padding:10px 0 0 !important;opacity:1 !important;transform:none !important;background:none !important;}
.elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__content > div{opacity:1 !important;transform:none !important;}
.elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__title{font-weight:300 !important;color:#1F1E1C !important;margin:0 !important;}
.elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__description{color:#5F5B55 !important;margin:0 !important;}
}
@media (max-width:767px){
.elementor-widget-gallery .e-gallery-justified{column-gap:16px;row-gap:28px;}
.elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__content{padding-top:8px !important;}
.elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__title{font-size:13px !important;line-height:1.4 !important;}
.elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__description{font-size:11px !important;line-height:1.4 !important;}
}
/* Galeries justifiées : vrai mode justifié aussi sur tablette et mobile */
@media (max-width:1024px){
  body .elementor-widget-gallery .e-gallery-justified{
    display:block !important;
    gap:0 !important;
    padding-bottom:calc(var(--container-aspect-ratio) * 100%) !important;
    height:auto !important;
  }
  body .elementor-widget-gallery .e-gallery-justified .e-gallery-item{
    position:absolute !important;
    width:calc(var(--item-width) * (100% - var(--hgap) * var(--gap-count))) !important;
    height:var(--item-height) !important;
    top:calc(var(--item-top) + (var(--row) * var(--vgap))) !important;
    left:calc(var(--item-start) * (100% - var(--hgap) * var(--gap-count)) + var(--hgap) * var(--item-row-index)) !important;
    right:auto !important;
    margin:0 !important;
  }
  body .elementor-widget-gallery .e-gallery-justified .e-gallery-image{
    aspect-ratio:auto !important;
    position:relative !important;
    width:100% !important;
    height:100% !important;
    padding-bottom:0 !important;
    background-size:cover !important;
    background-position:center center !important;
  }
  /* Pas de survol sur écran tactile : titre et légende restent visibles dans la visionneuse */
  body .elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__overlay,
  body .elementor-widget-gallery .e-gallery-justified .elementor-gallery-item__content{
    display:none !important;
  }
}

/* Hero vidéo accueil : image de secours tant que la vidéo n'affiche rien (iOS économie d'énergie, réseau lent) */
.e-background-video__media {
  background-color: #2A2826;
  background-image: linear-gradient(180deg, rgba(20,19,18,0.55) 0%, rgba(20,19,18,0.1) 22%, rgba(20,19,18,0.15) 45%, rgba(20,19,18,0.8) 100%), url("https://frison-roche.fr/wp-content/uploads/2026/11/Oiseau-1024x598.jpeg");
  background-repeat: no-repeat, no-repeat;
  background-size: auto, cover;
  background-position: 0% 0%, center 22%;
}
@media (max-width: 767px) {
  .e-background-video__media { background-position: 0% 0%, center 15%; }
}
/* Masque le bouton lecture natif d'iOS quand l'autoplay est bloqué */
.e-background-video__media::-webkit-media-controls,
.e-background-video__media::-webkit-media-controls-panel,
.e-background-video__media::-webkit-media-controls-overlay-play-button,
.e-background-video__media::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
}

/* Liens dans le contenu des articles : noir (neutralise les couleurs héritées de l'ancien site) */
.elementor-widget-theme-post-content a,
.elementor-widget-theme-post-content a mark,
.elementor-widget-theme-post-content a strong,
.elementor-widget-theme-post-content a span,
.elementor-widget-theme-post-content a [class*="-color"] {
  color: #1F1E1C !important;
}
.elementor-widget-theme-post-content a:hover,
.elementor-widget-theme-post-content a:hover mark,
.elementor-widget-theme-post-content a:hover strong,
.elementor-widget-theme-post-content a:hover span,
.elementor-widget-theme-post-content a:hover [class*="-color"] {
  color: #5F5B55 !important;
}/* End custom CSS */