/* Identité Leonida : les en-têtes de pages reprennent l'esprit de l'accueil.
   Photo du jeu en fond qui se fond dans la page, étiquette orange, titre blanc centré, d'une seule couleur.
   Plus de filigranes géants, de titres en contour ou de deuxième ligne en couleur. La mise en page en dessous ne change pas. */

/* 1. En-têtes « titre seul » → bandeau photo */
html[data-theme] body :is(.iv-hero,.pv-top,.tpv-head,.lv-top,.gs-top,.v2-head){
  --ph:url(/assets/img/v2/home-hero-m.jpg);
  position:relative!important;isolation:isolate;overflow:hidden;
  margin:-1rem -1rem .6rem!important;padding:3.4rem 1.2rem 4.2rem!important;
  text-align:center;color:#fff!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html[data-theme] body :is(.iv-hero,.pv-top,.tpv-head,.lv-top,.gs-top,.v2-head)::before{content:""!important;position:absolute!important;inset:0!important;z-index:-2!important;display:block!important;background:var(--ph) center 40%/cover!important;opacity:1!important;transform:none!important;width:auto!important;height:auto!important;border:0!important}
html[data-theme] body :is(.iv-hero,.pv-top,.tpv-head,.lv-top,.gs-top,.v2-head)::after{content:""!important;position:absolute!important;inset:0!important;z-index:-1!important;display:block!important;background:linear-gradient(180deg,rgba(0,0,0,.42) 0%,rgba(0,0,0,.62) calc(100% - 4.4rem),var(--bg) 100%)!important;opacity:1!important;transform:none!important;width:auto!important;height:auto!important;border:0!important}
html[data-theme] body :is(.iv-hero,.pv-top,.tpv-head,.lv-top,.gs-top,.v2-head) .v2-lbl{justify-content:center;color:#fff!important}
html[data-theme] body :is(.iv-hero,.pv-top,.tpv-head,.lv-top,.gs-top,.v2-head) :is(p,.tp-intro,small){color:rgba(255,255,255,.82)!important;margin-left:auto;margin-right:auto}
html[data-theme] body :is(.iv-hero,.pv-top,.tpv-head,.lv-top,.gs-top,.v2-head) :is(p,.tp-intro) :is(b,strong){color:#fff!important}
html[data-theme] body :is(.iv-hero,.pv-top,.tpv-head,.lv-top,.gs-top,.v2-head) .iv-meta{justify-content:center}
html[data-theme] body .v2-head{display:flex;flex-direction:column;align-items:center}
html[data-theme] body .v2-head .ph-t{display:flex;flex-direction:column;align-items:center}
html[data-theme] body .v2-head .ph-act{position:absolute!important;right:1rem;top:1rem}
/* une photo différente selon la page */
html[data-theme] body .gs-top{--ph:url(/assets/img/home/g-vicerun-bg.jpg)}
html[data-theme] body :is(.pv-top,.tpv-head){--ph:url(/assets/img/home/tile-sortie.jpg)}
html[data-theme] body .lv-top{--ph:url(/assets/img/home/vice-city.jpg)}
html[data-theme] body .v2-head{--ph:url(/assets/img/home/hero-m.jpg)}
html[data-theme] body .iv-hero{--ph:url(/assets/img/home/vice-city.jpg)}

/* 2. Tous les grands titres de page : une seule couleur, sans contour ni dégradé, taille de l'accueil */
html[data-theme] body :is(.iv-hero,.pv-top,.tpv-head,.lv-top,.gs-top,.v2-head) h1{
  color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:clamp(2.5rem,11.5vw,3.6rem)!important;line-height:.92!important;letter-spacing:.005em;text-align:center;margin-left:auto;margin-right:auto}
html[data-theme] body :is(h1,.s3-t,.mq-title):not(.lx-title) :is(span,em,b,i,strong):not(.v2-lbl):not(.sr-only):not(.cert){
  color:inherit!important;-webkit-text-stroke:0!important;background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;text-shadow:none!important}
html[data-theme] body :is(.glv-hero,.rv-hero,.emp-top,.vr-hud,.lf-hud,.mq-hud,.ai-hero) h1{-webkit-text-stroke:0!important}

/* 3. Plus de filigranes géants derrière les titres */
.iv-wm,.wk-wm{display:none!important}

/* 4. Pied de page : plus de grand « LEONIDA » en contour, phrase d'accroche en texte normal */
.fx-word{display:none!important}
html[data-theme] body .fx-say{font-family:inherit!important;font-weight:600!important;font-size:1.05rem!important;line-height:1.45!important;text-transform:none!important;letter-spacing:0!important;color:var(--soft)!important}

/* 5. Derniers textes en contour : pleins, couleur du texte */
html[data-theme] body :is(.eq .eq-gh h2,.gx3 .glv-hero h1 span,.rvx .rv-hero h1 span,.aip-hero h1 b,.gx-t span,.nw-title span,.gn-h h1 span){color:inherit!important;-webkit-text-fill-color:currentColor!important;-webkit-text-stroke:0!important}
html[data-theme] body .eq .eq-gh h2{color:var(--text)!important;font-size:clamp(1.9rem,8vw,2.8rem)!important}
html[data-theme] body .s3-date i{color:#fff!important;-webkit-text-stroke:0!important}
.gs-n{display:none!important}
/* les grands titres en photo (galerie, avis, jeux) : un cran plus petits, comme sur l'accueil */
html[data-theme] body :is(.glv-hero,.rv-hero,.gx-hero) h1,html[data-theme] body .gx-t{font-size:clamp(2.5rem,11.5vw,3.6rem)!important;line-height:.92!important}
html[data-theme] body :is(.iv-hero,.pv-top,.tpv-head,.lv-top,.gs-top,.v2-head) :is(p,.tp-intro,small,.v2-lbl){-webkit-text-fill-color:currentColor!important}

/* 6. Même écriture partout : plus aucun texte en contour (numéros, positions, rubriques) — plein, couleur d'accent ou du texte */
html[data-theme] body :is(.tpx .tp-pos,.iv-more em,.lv-page .lv-body .lv-ch>h2 em,.lgv h2.hv-h em,.rv-job em,.rv .ra-f legend span,.gx-steps em,.nw-side em,.gn .gn-name em,.gn-step em,.rvx .rv-guides a::before){
  -webkit-text-stroke:0!important;-webkit-text-fill-color:var(--acc)!important;color:var(--acc)!important}
html[data-theme] body .tpx .tp-row.me .tp-pos{-webkit-text-stroke:0!important;-webkit-text-fill-color:currentColor!important}
html[data-theme] body .nw-title,html[data-theme] body .nw-title *{letter-spacing:.005em!important}

/* 7. En-têtes Messages / Notifications / Pronostics : bloc titre sur toute la largeur, bien centré */
html[data-theme] body .v2-head .ph-t{align-self:stretch!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;text-align:center!important}
html[data-theme] body .v2-head .ph-t>*{margin-left:auto!important;margin-right:auto!important}
html[data-theme] body .v2-head{margin-left:-1rem!important;margin-right:-1rem!important}
