/* Shared visual treatment; all labels and routes are CMS data. */
.top-bar .top-bar-right .huna-access-header{display:inline-flex!important;flex-direction:row;vertical-align:middle;align-items:stretch;justify-content:flex-end;gap:10px;margin:0;padding:0}
.huna-access-header .huna-access-button{display:flex;align-items:center;gap:11px;min-height:54px;padding:10px 15px;border:1px solid #c28b30;border-radius:12px;text-decoration:none;text-align:left;line-height:1.25;transition:background-color .18s,box-shadow .18s;box-sizing:border-box}
.huna-access-header .huna-access-employee{background:#fff9ee;color:#332817}
.huna-access-header .huna-access-member{background:#25231f;color:#fff;border-color:#25231f}
.huna-access-button>i:first-child{font-size:20px;flex:none;color:#a76b14}
.huna-access-member>i:first-child{color:#efc379}
.huna-access-button strong{display:block;font-size:14px;font-weight:600;letter-spacing:0;white-space:nowrap}
.huna-access-button small{display:block;font-size:11px;margin-top:3px;font-weight:400;white-space:nowrap;opacity:.9}
.huna-access-button .huna-access-arrow{font-size:11px;margin-left:4px;flex:none}
.huna-access-employee:hover{background:#f7e8cc!important;color:#332817!important;box-shadow:0 3px 12px #00000010}
.huna-access-member:hover{background:#40382b!important;color:#fff!important;box-shadow:0 3px 12px #00000018}
.huna-access-header a:focus-visible,.huna-access-account:focus-visible{outline:3px solid #98600b;outline-offset:3px}
.top_connexion .huna-access-account{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:10px 16px!important;border-radius:11px;background:#25231f!important;color:#fff!important}
.huna-access-account .huna-account-label{font-size:14px;font-weight:600;white-space:nowrap}
.huna-access-account .connect{display:none!important}
.huna-access-intro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:26px 0}
.huna-access-intro>section{padding:24px;border:1px solid #e8decd;border-radius:16px;background:#fcf9f4}
.huna-access-intro h2{font-size:20px!important;line-height:1.35!important;margin:0 0 12px!important}
.huna-access-intro p{font-size:14px;line-height:1.7}
.huna-access-intro .bouton{margin:6px 10px 8px 0;font-size:13px;white-space:normal}
#inscription,#connexion{scroll-margin-top:120px}

/* Menu principal : une seule ligne sur ordinateur, sans modifier les libellés CMS. */
@media(min-width:992px){
 #menuLogo #menu_principale_2 .menu_page ul.lv0{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap}
 #menuLogo #menu_principale_2 .menu_page ul.lv0>li{flex:0 0 auto;margin-left:6px;margin-right:6px}
 #menuLogo #menu_principale_2 .menu_page ul.lv0>li>a{white-space:nowrap}
}
@media(min-width:992px) and (max-width:1399px){
 #menuLogo #menu_principale_2 .menu_page ul.lv0>li{margin-left:4px;margin-right:4px}
 #menuLogo #menu_principale_2 .menu_page ul.lv0>li>a{font-size:14px}
}

@media(max-width:767px){
 .huna-access-header{gap:8px;width:100%}
 .huna-access-header .huna-access-button{flex:1;justify-content:center;min-height:46px;padding:9px 11px;gap:8px;border-radius:9px}
 .huna-access-button strong{font-size:12px}
 .huna-access-button small,.huna-access-button .huna-access-arrow{display:none}
 .huna-access-button>i:first-child{font-size:16px}
 .top-bar-right:has(.huna-access-header){flex-wrap:wrap;gap:10px}
 .huna-access-intro{grid-template-columns:1fr;gap:14px;margin:18px 0}
 .huna-access-intro>section{padding:18px}
}
@media(prefers-reduced-motion:reduce){.huna-access-button{transition:none}}

/* Modèle administrable « Retour en images ».
   La classe .huna-event-report est placée dans le premier contenu de l'article.
   Les textes, images, liens et légendes restent issus des champs Kocka CMS. */
.mise_en_page:has(.huna-event-report){--event-gap:clamp(24px,3vw,38px);--event-radius:12px}
.mise_en_page:has(.huna-event-report)>h1,
.mise_en_page:has(.huna-event-report) h1{margin-bottom:12px}
.mise_en_page:has(.huna-event-report)>.row{margin-bottom:var(--event-gap)}
.mise_en_page:has(.huna-event-report)>.row:nth-of-type(2){margin-bottom:28px}
.mise_en_page:has(.huna-event-report) .contenu_texte>h2:first-child{margin-top:0}
.mise_en_page:has(.huna-event-report) .contenu_texte>p:last-child,
.mise_en_page:has(.huna-event-report) .contenu_texte>blockquote:last-child{margin-bottom:0}
.mise_en_page:has(.huna-event-report) .texteHabGauche,
.mise_en_page:has(.huna-event-report) .texteHabDroite{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start;overflow:visible}
.mise_en_page:has(.huna-event-report) .texteHabGauche>.imageHab2,
.mise_en_page:has(.huna-event-report) .texteHabDroite>.imageHab2,
.mise_en_page:has(.huna-event-report) .texteHabGauche>.bloc_texte,
.mise_en_page:has(.huna-event-report) .texteHabDroite>.bloc_texte{float:none!important;width:auto!important;max-width:none!important;margin:0!important;clear:none!important}
.mise_en_page:has(.huna-event-report) .texteHabDroite>.imageHab2{grid-column:2;grid-row:1}
.mise_en_page:has(.huna-event-report) .texteHabDroite>.bloc_texte{grid-column:1;grid-row:1}
.mise_en_page:has(.huna-event-report) .imageHab2 .zone_img,
.mise_en_page:has(.huna-event-report) .imageHab2 figure{margin:0}
/* Le thème limite .blocImageVideo à 360px : remplir la colonne existante. */
.mise_en_page:has(.huna-event-report) .imageHab2{min-width:0}
.mise_en_page:has(.huna-event-report) .imageHab2 .blocImageVideo,
.mise_en_page:has(.huna-event-report) .imageHab2 .zone_img,
.mise_en_page:has(.huna-event-report) .imageHab2 figure{float:none!important;width:100%!important;max-width:none!important;margin:0!important}
.mise_en_page:has(.huna-event-report) .imageHab2 figure>a{display:block;width:100%}
.mise_en_page:has(.huna-event-report) .imageHab2 img{display:block;width:100%!important;max-width:none!important;height:auto!important;border-radius:var(--event-radius) var(--event-radius) 0 0}
.mise_en_page:has(.huna-event-report) .huna-event-platform{padding:clamp(20px,3vw,30px);background:#f7f3ed;border-radius:var(--event-radius)}
.mise_en_page:has(.huna-event-report) .huna-event-platform .bouton{display:inline-block;margin:5px 8px 3px 0}
.mise_en_page:has(.huna-event-report) .huna-event-thanks{padding-top:2px}
.mise_en_page:has(.huna-event-report) .huna-event-thanks blockquote{margin-top:16px}
.mise_en_page:has(.huna-event-report) .huna-event-gallery-intro{margin-top:-4px;margin-bottom:18px}
.mise_en_page:has(.huna-event-report) .huna-event-gallery-intro h2{margin-bottom:10px}
.mise_en_page:has(.huna-event-report)>.mt-2,
.mise_en_page:has(.huna-event-report)>.h2.text-center{display:none!important}
.mise_en_page:has(.huna-event-report)>.galerie.Collage{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;height:auto!important;margin:0 0 34px!important}
.mise_en_page:has(.huna-event-report)>.galerie.Collage>a{position:relative!important;display:block!important;inset:auto!important;float:none!important;width:auto!important;height:auto!important;margin:0!important;overflow:hidden;border-radius:10px;background:#25231f;aspect-ratio:4/3}
.mise_en_page:has(.huna-event-report)>.galerie.Collage>a>img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;opacity:1!important;transform:none!important}
.mise_en_page:has(.huna-event-report)>.galerie.Collage>a>div{position:absolute;inset:auto 0 0;padding:28px 10px 9px;background:linear-gradient(transparent,rgba(0,0,0,.82));color:#fff;font-size:12px;line-height:1.3}
.mise_en_page:has(.huna-event-report)>.galerie.Collage>a>div span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}

@media(max-width:991px){
 .mise_en_page:has(.huna-event-report)>.galerie.Collage{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
 .mise_en_page:has(.huna-event-report){--event-gap:24px}
 .mise_en_page:has(.huna-event-report) .texteHabGauche,
 .mise_en_page:has(.huna-event-report) .texteHabDroite{grid-template-columns:1fr;gap:16px;align-items:start}
 .mise_en_page:has(.huna-event-report) .texteHabDroite>.imageHab2,
 .mise_en_page:has(.huna-event-report) .texteHabDroite>.bloc_texte{grid-column:1;grid-row:auto}
 .mise_en_page:has(.huna-event-report) .texteHabDroite>.imageHab2{order:0}
 .mise_en_page:has(.huna-event-report) .texteHabDroite>.bloc_texte{order:1}
 .mise_en_page:has(.huna-event-report) .bloc_texte.mini{height:auto!important;max-height:none!important;overflow:visible!important}
 .mise_en_page:has(.huna-event-report) .btn_text_mini{display:none!important}
 .mise_en_page:has(.huna-event-report) .huna-event-platform{padding:18px}
 .mise_en_page:has(.huna-event-report)>.galerie.Collage{gap:8px}
}
@media(max-width:480px){
 .mise_en_page:has(.huna-event-report)>.galerie.Collage{grid-template-columns:1fr}
}
