/* Afecta únicamente la página mientras su calculadora tiene alto contraste activado. */
html body.fundacion-luz-contraste,
html body.fundacion-luz-contraste *:not(iframe):not(img):not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon) {
  background-color:#000 !important;
  background-image:none !important;
  color:#fff !important;
  border-color:#fff !important;
  text-shadow:none !important;
}
html body.fundacion-luz-contraste a,
html body.fundacion-luz-contraste a *:not(img):not(svg):not(path),
html body.fundacion-luz-contraste button,
html body.fundacion-luz-contraste input[type=button],
html body.fundacion-luz-contraste input[type=submit] {color:#ffed00 !important;}
html body.fundacion-luz-contraste a {text-decoration:underline !important;}
html body.fundacion-luz-contraste :focus-visible {outline:4px solid #ffed00 !important;outline-offset:3px !important;box-shadow:0 0 0 7px #000 !important;}


/* La calculadora sale de la columna del tema y ocupa el ancho disponible. */
.fundacion-luz-calculadora-contenedor {
  box-sizing:border-box;
  position:relative;
  left:50%;
  transform:translateX(-50%);
  width:100vw;
  max-width:none;
  padding:0;
  margin:0;
}
.fundacion-luz-calculadora-contenedor iframe.fundacion-luz-calculadora {
  display:block;
  width:100%;
  max-width:100%;
  border:0;
}

/* Logo en blanco y negro del encabezado durante el alto contraste. */
html body.fundacion-luz-contraste header .raven-site-logo,
html body.fundacion-luz-contraste header .raven-site-logo-link,
html body.fundacion-luz-contraste header .raven-site-logo-link picture {
  background:#000 !important;
}
html body.fundacion-luz-contraste header .raven-site-logo-link {
  display:inline-flex !important;
  align-items:center !important;
  width:132px !important;
  max-width:100% !important;
  height:48px !important;
  min-height:48px !important;
  position:relative !important;
  z-index:2 !important;
  line-height:0 !important;
}
html body.fundacion-luz-contraste header .raven-site-logo-link img {
  opacity:0 !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
}
html body.fundacion-luz-contraste header .raven-site-logo-link::after {
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  background:#000 url("assets/logo-alto-contraste.png") 41% 67% / 145% auto no-repeat !important;
  pointer-events:none !important;
  box-shadow:none !important;
}
html body.fundacion-luz-contraste header .raven-site-logo-link::before {
  background:transparent !important;
  box-shadow:none !important;
}

/* El logo negativo del pie debe mantenerse sobre negro; las imágenes no reciben fondos forzados. */
html body.fundacion-luz-contraste footer .raven-site-logo,
html body.fundacion-luz-contraste footer .raven-site-logo-link,
html body.fundacion-luz-contraste footer .raven-site-logo-link picture,
html body.fundacion-luz-contraste footer .raven-site-logo-link img {
  background:transparent !important;
  background-image:none !important;
  opacity:1 !important;
  filter:none !important;
}
