/* Cybertel footer: Cookie Preferences must be indistinguishable from
   adjacent Privacy Policy and Terms & Conditions links until activated. */
html body :is(#ct575Lower,.ct575-footer-unified) .ct575-legal-links > button.cyb1022-cookie-open{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  margin:0!important;
  padding:5px 0!important;
  color:#d7e5f4!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  text-transform:none!important;
  text-decoration:none!important;
  opacity:1!important;
  cursor:pointer!important;
  vertical-align:baseline!important;
}
html body .page:not(#page-home) :is(#ct575Lower,.ct575-footer-unified) .ct575-legal-links > button.cyb1022-cookie-open{
  font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif!important;
}
html body :is(#ct575Lower,.ct575-footer-unified) .ct575-legal-links > .cyb1022-cookie-divider{
  display:inline-block!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:inherit!important;
  opacity:1!important;
}
html body :is(#ct575Lower,.ct575-footer-unified) .ct575-legal-links > button.cyb1022-cookie-open:hover{
  text-decoration:underline!important;
  text-underline-offset:2px!important;
}
html body :is(.footer-bottom,.v20-footer-bottom) > button.cyb1022-cookie-open{
  appearance:none!important;
  display:inline!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  font-family:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  text-decoration:none!important;
  opacity:1!important;
  cursor:pointer!important;
}
html body :is(.footer-bottom,.v20-footer-bottom) > button.cyb1022-cookie-open:hover{
  text-decoration:underline!important;
}
html body .cyb1022-cookie-open:focus-visible{
  outline:2px solid #66b7ff!important;
  outline-offset:4px!important;
  border-radius:2px!important;
}
@media(max-width:760px){
  html body :is(#ct575Lower,.ct575-footer-unified) .ct575-legal-links{
    flex-wrap:wrap!important;
    column-gap:12px!important;
    row-gap:5px!important;
  }
}

/* When the real footer controls are on-screen, the duplicate floating
   button must not cover them—even if it retained focus from a previous page.
   The footer's own keyboard-accessible Cookie Preferences remains available. */
#cybCookieChoices.cyb-cookie-footer-visible {
  visibility:hidden!important;
  pointer-events:none!important;
}

/* CYB-COOLING-CAPTION-CLEAR-R14
   The global floating cookie shortcut covers the first photo caption on
   the Home guide. The already-working Cookie Preferences button remains
   in the footer; hide only the duplicate while Home is the active route.
   Preserve the actual consent dialog and controls without modification. */
@supports selector(body:has(#page-home.active)){
 html body:has(#page-home.active) #cybCookieChoices{
   display:none!important;
 }
}

/* 2026-11-24: consent focus must follow real interaction, not auto-display.
   Do not allow the legacy global blue outer ring on pointer focus or the
   dialog's programmatic focus. Keyboard controls keep a clear focus indicator. */
html body #cookieBanner.cookie-banner:focus,
html body #cookieBanner.cookie-banner:focus-visible {
  outline:none!important;
}
html body #cookieBanner.cookie-banner :is(.cookie-btn,.cookie-banner-close):focus {
  outline:none!important;
  box-shadow:none!important;
}
html body #cookieBanner.cookie-banner :is(.cookie-btn,.cookie-banner-close):focus-visible {
  outline:2px solid #294a64!important;
  outline-offset:2px!important;
  box-shadow:none!important;
}
@media(forced-colors:active){
  html body #cookieBanner.cookie-banner :is(.cookie-btn,.cookie-banner-close):focus-visible {
    outline:2px solid Highlight!important;
    outline-offset:2px!important;
  }
}
