/* Adaptateur WordPress : le reste du rendu provient des feuilles HTML validées. */
.reference-home{max-width:none;width:100%;margin:0;padding:0}
.reference-home .bdt-slideshow-items{height:clamp(400px,34vw,480px)!important;min-height:400px!important}
.reference-home .bdt-slideshow-items>li{position:absolute;inset:0;opacity:1!important;visibility:visible!important}
.reference-home .bdt-slideshow-items>li[hidden]{display:none!important}
.reference-home [data-reveal]{opacity:1!important;visibility:visible!important;transform:none!important}
.reference-home .reference-hero-controls{position:absolute;right:5%;bottom:32px;display:flex;align-items:center;gap:14px;z-index:5;color:white}
.reference-hero-controls button{border:1px solid #ffffff80;background:#ffffff16;color:white;border-radius:50%;width:44px;height:44px;padding:0;cursor:pointer}
.reference-hero-controls button:hover{background:var(--senat-primary,#095aab)}
.reference-home .capture-note{display:none}
.reference-home .elementor-invisible{visibility:visible!important}
@media(max-width:767px){.reference-home .bdt-slideshow-items{height:520px!important}.reference-home .reference-hero-controls{bottom:18px}}
.reference-home .elementor-element-f4833d0{background-image:url('presidente.png')!important}
.reference-home .bdt-ps-category{display:flex!important;gap:6px;align-items:center;color:#10263f!important;background:#f6f9fc;border-radius:4px;padding:6px 10px;width:max-content;font-size:13px!important}
.reference-home .reference-hero-next{position:absolute;right:5%;top:34%;z-index:5;display:flex;flex-direction:column;gap:8px;padding:0;border:0;background:transparent;color:white;text-align:left;cursor:pointer;width:16%}
.reference-hero-counter{font:400 22px/1.3 'Public Sans',sans-serif}
.reference-hero-thumbnail{display:block;width:100%;aspect-ratio:3/2;background-size:cover;background-position:center}

@media(max-width:767px){.reference-home .reference-hero-next{display:none}.reference-home .bdt-prime-slider-content{max-width:100%}}
.reference-home .bdt-ps-category{background:transparent;padding:0;flex-wrap:wrap;width:auto}
.reference-home .bdt-ps-category>a{background:#f6f9fc;color:#10263f;border-radius:4px;padding:6px 10px;font-size:13px;font-weight:600}
.reference-home .bdt-blog-text p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.no-js .reference-home .bdt-slideshow-items>li:not(:first-child){display:none}

@layer senat-system {
 body.home .reference-home button.news-control{border-radius:50%!important;width:44px!important;height:44px!important}
 body.home .reference-home .elementor-element-8f5736b a.elementskit-btn.accueil-action,
 body.home .reference-home .elementor-element-8f5736b a.elementskit-btn.accueil-action:is(:hover,:focus){background:#FFFFFF!important}
}

/* Décors animés indépendants du texte et des liens. */
@layer senat-system {
 body.home .reference-home .elementor-element-8f5736b a.elementskit-btn.accueil-action{min-height:40px!important;padding:7px 12px!important;gap:12px!important;font-size:13px!important;line-height:1.3!important}
 body.home .reference-home .elementor-element-8f5736b .button-arrow-circle{width:24px;height:24px;background:transparent}
 body.home .reference-home .elementor-element-f4833d0.has-parallax{background-image:none!important;position:relative;overflow:hidden!important;isolation:isolate}
 body.home .reference-home .president-background{position:absolute;inset:-40px 0;z-index:0;pointer-events:none;background:url('presidente.png') center right/cover no-repeat;will-change:transform}
 body.home .reference-home .elementor-element-f4833d0::before{z-index:1;pointer-events:none}
 body.home .reference-home .elementor-element-f4833d0 > .elementor-element{z-index:2}
 body.home .reference-home .agenda-background{inset:-50px 0;background:linear-gradient(180deg,rgba(4,28,52,.86),rgba(4,28,52,.72) 55%,rgba(4,28,52,.36)),url('../reference/assets/palais-senat.jpg') center 56%/cover no-repeat}
 @media(prefers-reduced-motion:reduce){body.home .reference-home :is(.president-background,.agenda-background){will-change:auto;transform:none!important}}
}
@layer senat-system {body.home .reference-home .news-autoplay{right:112px}}
