/* DVSTUDIO V126 — five-language UI + client icon hardening */

/* Language visibility is explicit so no untranslated layer can sit above another one. */
html [data-en],html [data-fr],html [data-it],html [data-es],html [data-pt]{display:none!important}
html[data-lang="en"] [data-en],
html[data-lang="fr"] [data-fr],
html[data-lang="it"] [data-it],
html[data-lang="es"] [data-es],
html[data-lang="pt"] [data-pt]{display:revert!important}

/* Five entries still fit the existing popover on desktop and mobile. */
.language-popover{max-height:min(360px,70dvh);overflow:auto;overscroll-behavior:contain}
.language-popover button{min-width:150px}
@media(max-width:720px){
  .language-popover{max-height:min(390px,62dvh)}
}

/* Safari/mobile hardening for the Services pictograms. Inline SVG must always remain visible. */
.client-theme .capability-icon{
  display:grid!important;
  place-items:center!important;
  opacity:1!important;
  visibility:visible!important;
  overflow:hidden;
  -webkit-transform:translateZ(0);
  transform:translateZ(0);
}
.client-theme .capability-icon svg{
  display:block!important;
  width:21px!important;
  height:21px!important;
  opacity:1!important;
  visibility:visible!important;
  fill:none!important;
  stroke:currentColor!important;
  vector-effect:non-scaling-stroke;
}
.client-theme .capability-icon svg *{
  fill:none!important;
  stroke:currentColor!important;
  vector-effect:non-scaling-stroke;
}
.client-theme-1150 .capability-icon{background:#003f33!important;color:#f3f0e9!important}
.client-theme-1370 .capability-icon{background:#0e3827!important;color:#f3f0e9!important}
.client-theme-dai .capability-icon{background:#b43330!important;color:#fff!important}

/* The cookie UI may contain longer IT/ES/PT labels. Keep it stable on narrow screens. */
.dv-consent-button{white-space:normal;text-align:center;line-height:1.18;padding-block:10px}
.dv-consent-option{min-width:0}
.dv-consent-option>div{min-width:0}

@media(max-width:520px){
  .dv-consent-banner h2,.dv-consent-panel h2{font-size:23px}
  .dv-consent-banner p,.dv-consent-panel p{font-size:14px}
}
