/* v68 — compact language control, using the site's own typeface. */
.gp-language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: #f5f5f5;
  font-family: var(--font-sans, 'Montserrat', sans-serif);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .1em;
  white-space: nowrap;
}
.gp-language-switch a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  min-height: 34px;
  padding: 0 5px;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  opacity: .62;
  transition: opacity .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.gp-language-switch a[aria-current='page'],
.gp-language-switch a:hover { opacity: 1; }
.gp-language-switch a[aria-current='page']::after {
  content: '';
  position: absolute;
  bottom: 7px;
  left: 5px;
  right: 6px;
  height: 1px;
  background: currentColor;
  opacity: .8;
}
.gp-language-switch a:focus-visible { outline: 1px solid currentColor; outline-offset: 1px; }
.gp-language-switch__separator { opacity: .38; font-size: 10px; }
#siteHeader .gp-language-switch { margin-left: 0; }
#siteHeader .nav-left, #siteHeader .nav-right { min-width: 0; }
.gp-privacy-language { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 20px; }

/* English labels are slightly longer; keep the original navigation hierarchy. */
@media (min-width: 901px) and (max-width: 1300px) {
  #siteHeader .nav-left, #siteHeader .nav-right { gap: clamp(12px, 1.65vw, 24px); }
  #siteHeader .nav-link { font-size: 10px; letter-spacing: .15em; }
  html[lang='en-GB'] #siteHeader .nav-link { font-size: 9px; letter-spacing: .13em; }
}
@media (min-width: 901px) {
  #siteHeader[data-top-tone='split']:not(.scrolled) .gp-language-switch { color: #111; }
}
@media (max-width: 900px) {
  #siteHeader .nav-right { gap: 10px; }
  #siteHeader .gp-language-switch { margin-left: 0; font-size: 10px; }
  #siteHeader .gp-language-switch a { min-width: 25px; min-height: 40px; padding-inline: 4px; }
  #siteHeader .gp-language-switch a[aria-current='page']::after { bottom: 10px; }
  #siteHeader #headerLogo img { max-width: min(42vw, 160px); }
}
@media (max-width: 380px) {
  #siteHeader { padding-inline: 12px; }
  #siteHeader .nav-right { gap: 4px; }
  #siteHeader #headerLogo img { max-width: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .gp-language-switch a { transition: none; }
}

/* Localised labels for the existing comparison controls. */
html[lang='en-GB'] #casi-glutei .fg-case-compare.is-ready::before { content: 'Before'; }
html[lang='en-GB'] #casi-glutei .fg-case-compare.is-ready::after { content: 'After'; }
html[lang='en-GB'] .page-ialuronidasi .iy-compare.is-ready::before { content: 'Stage 02'; }
html[lang='en-GB'] .page-ialuronidasi .iy-compare.is-ready::after { content: 'Stage 03'; }

/* Long medical names remain within the existing hero and menu columns. */
html[lang='en-GB'] .fl-hero .text { right: 80px; max-width: calc(100% - 160px); }
html[lang='en-GB'] .fl-hero h1 { overflow-wrap: normal; word-break: normal; }
html[lang='en-GB'] .mega-item__link { overflow-wrap: normal; hyphens: none; }
html[lang='en-GB'] [data-en-page='rinofiller.html'] .fl-hero h1 { font-size: clamp(38px, 6.2vw, 88px); max-width: 17ch; line-height: 1.08; }
html[lang='en-GB'] [data-en-page='bioristrutturazione.html'] .fl-hero h1,
html[lang='en-GB'] [data-en-page='biorivitalizzazione.html'] .fl-hero h1 { font-size: clamp(32px, 6.5vw, 94px); letter-spacing: .025em; }
html[lang='en-GB'] .hero__wordmark__sub { letter-spacing: .18em; }
@media (max-width: 768px) {
  html[lang='en-GB'] .fl-hero .text { right: 24px; max-width: calc(100% - 48px); }
  html[lang='en-GB'] [data-en-page='bioristrutturazione.html'] .fl-hero h1,
  html[lang='en-GB'] [data-en-page='biorivitalizzazione.html'] .fl-hero h1 { font-size: clamp(24px, 6.9vw, 48px); }
  html[lang='en-GB'] .page-ialuronidasi .iy-hero h1 { font-size: clamp(26px, 7.2vw, 54px); }
  html[lang='en-GB'] [data-en-page='rinofiller.html'] .fl-hero h1 { font-size: clamp(30px, 7.4vw, 52px); }
  html[lang='en-GB'] #heroWordmark .hero__wordmark__sub { font-size: calc(var(--gp-hero-name-size) * .50); letter-spacing: .14em; }
}
@media print { .gp-language-switch { display: none; } }
