/* ===== Variables base ===== */
:root { --bg:#fff; --fg:#111; }
body { background:var(--bg); color:var(--fg); }

/* ===== Toggle HC en el menú ===== */
#menu-oben .hc-menu-toggle > a {
  cursor: pointer;
  font-weight: 600;
}
html.hc #menu-oben .hc-menu-toggle > a {
  text-decoration: underline;
}

/* Ya no usamos el switch flotante */
.hc-switch,
.hc-switch-wrapper,
.hc-toggle-wrapper {
  display: none !important;
}

/* ===== Modo Alto Contraste ===== */
html.hc body {
  --bg: #000;
  --fg: #fff;
  background: var(--bg) !important;
  color: var(--fg) !important;
}

html.hc h1,
html.hc .event-untertitel,
html.hc span,
html.hc .widgettitle,
html.hc a {
  color: #ffffff;
}

html.hc #footer a {
  color: #000000;
}

/* Menú: color por defecto (no sticky activo) */
html.hc #menu-oben a .link {
  color: #fff !important;
}

/* Menú sticky: texto negro por defecto */
html.hc .site-header--sticky-active-style #menu-oben a .link,
html.hc .site-header--sticky-active-padding #menu-oben a .link {
  color: #000 !important;
}

/* Menú sticky + hover/focus: fondo negro, texto blanco */
html.hc .site-header--sticky-active-style #menu-oben li > a:hover,
html.hc .site-header--sticky-active-style #menu-oben li > a:focus,
html.hc .site-header--sticky-active-padding #menu-oben li > a:hover,
html.hc .site-header--sticky-active-padding #menu-oben li > a:focus {
  background: #000 !important;
  border-radius: 4px;
}
html.hc .site-header--sticky-active-style #menu-oben li > a:hover .link,
html.hc .site-header--sticky-active-style #menu-oben li > a:focus .link,
html.hc .site-header--sticky-active-padding #menu-oben li > a:hover .link,
html.hc .site-header--sticky-active-padding #menu-oben li > a:focus .link {
  color: #fff !important;
}

/* Separadores */
html.hc hr,
html.hc .wp-block-separator {
  border-color: #fff !important;
  background: #fff !important;
}

/* Formularios */
html.hc button,
html.hc input,
html.hc select,
html.hc textarea {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}

/* Tablas */
html.hc table { color: #fff !important; }
html.hc th, html.hc td { border-color: #fff !important; }

/* Imágenes y vídeos en blanco y negro */
html.hc img,
html.hc picture img,
html.hc video {
  filter: grayscale(100%) contrast(110%) !important;
}

/* Admin bar */
#wpadminbar { position: fixed; }

/* Iconos dentro de los eventos */
html.hc .event-info-item i {
  color: #fff !important;
}

/* Texto fecha (si realmente es <p class="vk-datum">...) */
html.hc p.vk-datum {
  color: #000000 !important;
}

/* Enlaces del contenido subrayados */
html.hc .entry-content a,
html.hc .post-content a,
html.hc p a,
html.hc li a {
  text-decoration: underline !important;
  text-underline-offset: 2px;
  text-decoration-thickness: 2px;
}

/* No dejar que el estilo animado de links del header interfiera */
html.hc header .link-style a,
html.hc header .link-style a .link {
  text-decoration: none !important;
  background: transparent !important;
}

/* Títulos de portfolio en negro (solo esos) */
html.hc .portfolio-item__details > h3.portfolio-item__title.link-plain > a {
  color: #000 !important;
  text-decoration: none;
}

