/*
Theme Name: Kadence Child - ANEPSSA
Theme URI: https://staging.anepssaperu.com.pe
Description: Child theme de Kadence para el rediseño del sitio de ANEPSSA Perú.
Author: ANEPSSA
Template: kadence
Version: 1.0.45
Text Domain: kadence-child-anepssa
*/

/* A partir de aquí puede ir CSS personalizado adicional del sitio. */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.reveal-left  { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.reveal-zoom  { transform: scale(0.92); }
.reveal.is-visible   { opacity: 1; transform: none; }

.accesos-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 20px !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 28px rgba(15, 61, 104, 0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease;
}
.accesos-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 16px 40px rgba(15, 61, 104, 0.18) !important;
}
.accesos-icon {
  transition: transform 0.3s ease;
}
.accesos-card:hover .accesos-icon {
  transform: scale(1.12) rotate(8deg);
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-arrow {
  transition: transform 0.25s ease;
}
.btn-hero:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-hero-primary {
  background: #ffffff;
  color: #0F3D68;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.btn-hero-primary:hover {
  background: #1CA7C2;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(28,167,194,0.4);
}

.btn-hero-outline {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-hero-outline:hover {
  background: #ffffff;
  color: #0F3D68;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}
.main-navigation ul ul,
.sub-menu {
  border-radius: 14px !important;
  overflow: visible;
  background: rgba(15, 61, 104, 0.72) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 16px 40px rgba(15, 61, 104, 0.25) !important;
  border: none !important;
  padding: 8px !important;
  margin-top: 0 !important;
}
.main-navigation ul ul a,
.sub-menu a {
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  transition: background 0.2s ease, padding-left 0.2s ease;
}
.main-navigation ul ul a:hover,
.sub-menu a:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  padding-left: 20px !important;
}
.hero-slider {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slider-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 40px 20px;
}
.hero-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(15, 61, 104, 0.6) 0%, rgba(15, 61, 104, 0) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-glass-panel {
  max-width: 720px;
  text-align: center;
  padding: 48px 40px;
  border-radius: 16px;
  background: rgba(15, 61, 104, 0.50);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-title {
  color: #ffffff;
  font-size: 44px;
  margin: 0 0 16px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-subtitle {
  color: #ffffff;
  font-size: 18px;
  margin: 0 0 32px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  opacity: 0.95;
}
.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: logo-scroll 40s linear infinite;
}
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}
.logo-item {
  height: 44px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}
.logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.btn-asociados {
  display: inline-block;
  background: #0F3D68;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-asociados:hover {
  background: #1CA7C2;
  transform: translateY(-2px);
}
/* Liquid glass: el header completo cuando está sticky (pegado arriba) */
#masthead .site-header-row-container.item-is-stuck {
  background: transparent !important;
  margin: 14px auto 0 !important;
  max-width: calc(100% - 32px) !important;
  transition: all 0.3s ease;
}
#masthead .site-header-row-container.item-is-stuck .site-header-row-container-inner {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 32px rgba(15, 61, 104, 0.18) !important;
    padding: 10px 28px !important;
}

/* Liquid glass: cada botón del menú, tipo cápsula */
.main-navigation .menu > li.menu-item > a {
  padding: 10px 18px !important;
  border-radius: 999px !important;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.main-navigation .menu > li.menu-item > a:hover {
  background: rgba(28, 167, 194, 0.14) !important;
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(28, 167, 194, 0.25);
  transform: translateY(-1px);
}
.cifra-glass {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 28px rgba(15, 61, 104, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cifra-glass:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 16px 40px rgba(15, 61, 104, 0.18);
}
.noticias-grid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  text-align: left;
}
.noticia-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 28px rgba(15, 61, 104, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease;
}
.noticia-card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 16px 40px rgba(15, 61, 104, 0.18);
}
.noticias-grid .noticia-card:nth-child(2) { transition-delay: 0.15s; }
.noticias-grid .noticia-card:nth-child(3) { transition-delay: 0.3s; }

.noticia-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1CA7C2, #0F3D68);
}
.noticia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.noticia-card:hover .noticia-img img {
  transform: scale(1.06);
}
.noticia-fecha {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  color: #0F3D68;
  font-size: 12px;
  font-weight: 700;
}
.noticia-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 26px;
  flex: 1;
}
.noticia-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1CA7C2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.noticia-cat::before {
  content: "";
  width: 22px;
  height: 2px;
  background: #1CA7C2;
}
.noticia-titulo {
  margin: 0;
  color: #0F3D68;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.noticia-extracto {
  margin: 0;
  color: #4A6B85;
  font-size: 14.5px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.noticia-mas {
  margin-top: auto;
  padding-top: 8px;
  color: #1CA7C2;
  font-weight: 700;
  font-size: 14px;
}
/* Noticias: solo título + "Leer más" */
.noticia-extracto { display: none; }
.noticia-titulo {
  font-size: 20px;
  -webkit-line-clamp: 4;
}

/* Sección a todo el ancho, sin líneas laterales */
.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}
body { overflow-x: clip; }

html { scroll-behavior: smooth; }

.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 28px rgba(15, 61, 104, 0.1);
}
.glass-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.glass-hover:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 16px 40px rgba(15, 61, 104, 0.18);
}

/* Hero */
.qs-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 120px 20px 96px;
  background: linear-gradient(135deg, #0F3D68 0%, #1E5F8C 55%, #1CA7C2 100%);
}
.qs-hero-inner { position: relative; z-index: 1; }
.qs-hero-tag {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.qs-hero h1 { color: #fff; font-size: 44px; margin: 0 0 14px; text-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.qs-hero p { color: #fff; font-size: 18px; margin: 0 auto; max-width: 640px; opacity: 0.95; }

/* Página */
.qs-page {
  position: relative;
  overflow: hidden;
  padding: 70px 20px 90px;
  background: linear-gradient(180deg, #EAF1F5 0%, #DCE8EF 50%, #E6EEF3 100%);
}
.qs-blob { position: absolute; border-radius: 50%; z-index: 0; }
.qs-wrap { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; }
.qs-section { margin: 0 0 70px; scroll-margin-top: 120px; }
.qs-head { text-align: center; margin: 0 0 28px; }
.qs-eyebrow { color: #1CA7C2; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.qs-h2 { color: #0F3D68; font-size: 32px; margin: 6px 0 0; }
.qs-text { color: #4A6B85; font-size: 16px; line-height: 1.75; margin: 0; }
.qs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* Botones de navegación */
.qs-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 60px; }
.qs-pills a {
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #0F3D68;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 4px 14px rgba(15, 61, 104, 0.08);
  transition: background 0.25s ease, transform 0.25s ease;
}
.qs-pills a:hover { background: rgba(28, 167, 194, 0.18); transform: translateY(-2px); }

/* Cifras dentro de Quiénes somos */
.qs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 28px; }
.qs-stat { text-align: center; padding: 18px 12px; border-radius: 18px; background: rgba(255,255,255,0.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); }
.qs-stat .anepssa-stat { color: #0F3D68; font-size: 24px; font-weight: 800; white-space: nowrap; }
.qs-stat small { display: block; margin-top: 4px; color: #4A6B85; font-size: 13px; }

/* Íconos, tarjetas */
.qs-card { padding: 30px; }
.qs-card h3 { color: #0F3D68; font-size: 22px; margin: 0 0 10px; }
.qs-ico {
  width: 48px; height: 48px; border-radius: 50%; background: #1CA7C2; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.qs-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Línea de tiempo */
.qs-timeline { position: relative; padding-left: 34px; }
.qs-timeline::before {
  content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, #1CA7C2, #0F3D68); opacity: 0.5;
}
.qs-tl-item { position: relative; margin-bottom: 20px; padding: 22px 26px; }
.qs-tl-item::before {
  content: ""; position: absolute; left: -29px; top: 28px; width: 14px; height: 14px;
  border-radius: 50%; background: #1CA7C2; box-shadow: 0 0 0 4px rgba(28, 167, 194, 0.25);
}
.qs-tl-year { color: #1CA7C2; font-size: 14px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 6px; }

/* Valores y objetivos */
.qs-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.qs-value { display: flex; align-items: center; gap: 14px; padding: 16px 20px; color: #0F3D68; font-weight: 600; font-size: 15px; }
.qs-num {
  flex: 0 0 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #1CA7C2, #0F3D68); color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.qs-obj { display: flex; gap: 16px; padding: 24px; }
.qs-obj .qs-num { flex: 0 0 42px; height: 42px; font-size: 16px; }
.qs-cta { text-align: center; padding: 44px 30px; }
.qs-cta h3 { color: #0F3D68; font-size: 26px; margin: 0 0 22px; }
.qs-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

@media (max-width: 480px) {
  .qs-hero h1 { font-size: 30px; }
  .qs-hero p { font-size: 15px; }
  .qs-h2 { font-size: 26px; }
  .qs-hero { padding: 100px 16px 84px; }
}
/* Páginas con hero propio (clase .qs-hero): sin título de Kadence, sin caja ni márgenes */
body:has(.qs-hero) .entry-hero {
  display: none;
}
body:has(.qs-hero) .content-bg {
  background: transparent;
  box-shadow: none;
}
body:has(.qs-hero) .entry-content-wrap {
  padding: 0;
}
body:has(.qs-hero) .single-content {
  margin: 0;
}
body:has(.qs-hero) .content-area {
  margin-top: 0;
  margin-bottom: 0;
}
.qs-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.qs-split.reverse .qs-photo { order: -1; }
.qs-split .qs-h2 {
  font-size: 38px;
  line-height: 1.15;
  margin: 8px 0 18px;
}

.qs-photo {
  position: relative;
  padding: 8px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 40px rgba(15, 61, 104, 0.15);
  transition: transform 0.4s ease;
}
.qs-photo:hover { transform: translateY(-4px); }
.qs-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
}
.qs-photo-chip {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 4px 14px rgba(15, 61, 104, 0.15);
  color: #0F3D68;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 800px) {
  .qs-split { grid-template-columns: 1fr; gap: 28px; }
  .qs-split.reverse .qs-photo { order: 0; }
  .qs-split .qs-h2 { font-size: 30px; }
}
.qs-timeline {
  display: flex;
  flex-direction: column-reverse;
}
/* Ítem activo del menú: cápsula de vidrio */
.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current-menu-ancestor > a {
  background: rgba(28, 167, 194, 0.14) !important;
  box-shadow: inset 0 0 0 1px rgba(28, 167, 194, 0.25);
}

/* Sobre el hero, con el header transparente: cápsula blanca translúcida */
.transparent-header #masthead .site-header-row-container:not(.item-is-stuck) .main-navigation .menu > li.menu-item > a:hover,
.transparent-header #masthead .site-header-row-container:not(.item-is-stuck) .main-navigation .menu > li.current-menu-item > a,
.transparent-header #masthead .site-header-row-container:not(.item-is-stuck) .main-navigation .menu > li.current-menu-ancestor > a {
  background: rgba(255, 255, 255, 0.2) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 4px 14px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* Header pegado (vidrio claro): menú oscuro aunque arriba sea transparente */
.transparent-header #masthead .site-header-row-container.item-is-stuck .main-navigation .menu > li.menu-item > a {
  color: #0F3D68 !important;
}
.transparent-header #masthead .site-header-row-container.item-is-stuck .main-navigation .menu > li.menu-item > a:hover,
.transparent-header #masthead .site-header-row-container.item-is-stuck .main-navigation .menu > li.current-menu-item > a,
.transparent-header #masthead .site-header-row-container.item-is-stuck .main-navigation .menu > li.current-menu-ancestor > a {
  color: #1CA7C2 !important;
}
/* Botón de menú móvil: siempre visible, en cápsula navy */
button.menu-toggle-open,
.mobile-toggle-open-container .menu-toggle-open {
  color: #ffffff !important;
  background: rgba(15, 61, 104, 0.88) !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 4px 14px rgba(15, 61, 104, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Menú desplegable de móvil en vidrio */
#mobile-drawer .drawer-inner {
  background: rgba(15, 61, 104, 0.82) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}
#mobile-drawer #mobile-menu a {
  color: #ffffff;
  border-radius: 12px;
}
#mobile-drawer #mobile-menu li.current-menu-item > a,
#mobile-drawer #mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.14);
}
/* Hero de Quiénes somos más compacto */
.qs-hero .qs-hero-tag {
  margin-bottom: 14px;
  line-height: 1.2;
}
.qs-hero h1 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  line-height: 1.15 !important;
}
.qs-hero p {
  margin: 0 auto !important;
}
@media (min-width: 481px) {
  .qs-hero { padding: 104px 20px 96px; }
}
/* Consejo Directivo */
.cd-role { color: #1CA7C2; font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; }
.cd-name { color: #0F3D68; font-size: 20px; line-height: 1.3; margin: 6px 0 0; font-weight: 700; }

.cd-featured { padding: 28px; }
.cd-featured .cd-name { font-size: 32px; line-height: 1.2; }
.cd-featured .qs-photo img { object-position: center 25%; }

.cd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; }
.cd-card { overflow: hidden; text-align: left; }
.cd-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, #1CA7C2, #0F3D68);
}
.cd-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.5s ease;
}
.cd-card:hover .cd-photo img { transform: scale(1.05); }
.cd-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: 0.9;
}
.cd-body { padding: 20px 22px 24px; }

@media (max-width: 900px) {
  .cd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cd-grid { gap: 14px; }
  .cd-body { padding: 14px 14px 18px; }
  .cd-name { font-size: 15px; }
  .cd-role { font-size: 10.5px; }
  .cd-featured { padding: 16px; }
  .cd-featured .cd-name { font-size: 22px; }
}
/* Cuadrícula centrada: sirve para cualquier cantidad de personas */
.cd-grid.cd-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.cd-grid.cd-center .cd-card {
  flex: 0 0 300px;
  max-width: 100%;
}
@media (max-width: 480px) {
  .cd-grid.cd-center .cd-card { flex: 0 0 calc(50% - 7px); }
}

/* Enlaces dentro de tarjetas de contacto */
.qs-card a.qs-link { color: #1CA7C2; font-weight: 700; text-decoration: none; }
.qs-card a.qs-link:hover { text-decoration: underline; }

/* Directorio de empresas */
.emp-dir { position: relative; z-index: 1; }

.emp-stats { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 0 0 30px; }
.emp-stat { display: flex; align-items: baseline; gap: 10px; padding: 14px 26px; border-radius: 999px; }
.emp-stat .anepssa-stat { color: #0F3D68; font-size: 26px; font-weight: 800; white-space: nowrap; }
.emp-stat small { color: #4A6B85; font-size: 13px; font-weight: 600; }

.emp-tools { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 0 0 36px; }
.emp-search-wrap { position: relative; width: 100%; max-width: 520px; }
.emp-search-ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: #1CA7C2; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.emp-dir input.emp-search {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 4px 14px rgba(15, 61, 104, 0.08);
  color: #0F3D68;
  font-size: 15px;
  outline: none;
}
.emp-dir input.emp-search:focus { box-shadow: inset 0 0 0 2px rgba(28, 167, 194, 0.65), 0 4px 14px rgba(15, 61, 104, 0.08); }

.emp-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.emp-dir .emp-filter {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 4px 14px rgba(15, 61, 104, 0.06);
  color: #0F3D68;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.emp-dir .emp-filter b { margin-left: 4px; font-weight: 700; opacity: 0.6; }
.emp-dir .emp-filter:hover { background: rgba(28, 167, 194, 0.18); color: #0F3D68; transform: translateY(-2px); }
.emp-dir .emp-filter.is-active,
.emp-dir .emp-filter.is-active:hover { background: #0F3D68; color: #fff; }

.emp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.emp-item { margin: 0; }
.emp-dir .emp-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 22px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 28px rgba(15, 61, 104, 0.1);
  color: #0F3D68;
  font: inherit;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.emp-dir .emp-card:hover,
.emp-dir .emp-card:focus-visible {
  background: rgba(255, 255, 255, 0.75);
  color: #0F3D68;
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 1), 0 16px 40px rgba(15, 61, 104, 0.18);
}
.emp-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 61, 104, 0.06);
  overflow: hidden;
}
.emp-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.emp-name { color: #0F3D68; font-size: 16px; font-weight: 700; line-height: 1.3; }
.emp-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(28, 167, 194, 0.14);
  box-shadow: inset 0 0 0 1px rgba(28, 167, 194, 0.28);
  color: #0F7C93;
  font-size: 12px;
  font-weight: 700;
}
.emp-empty { text-align: center; color: #4A6B85; margin: 30px 0; }

/* Ventana de detalle */
.emp-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.emp-modal[hidden] { display: none; }
.emp-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 61, 104, 0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.emp-modal .emp-modal-box {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 34px;
  background: rgba(255, 255, 255, 0.86);
}
.emp-modal .emp-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 61, 104, 0.1);
  color: #0F3D68;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.emp-modal .emp-modal-close:hover { background: rgba(28, 167, 194, 0.25); color: #0F3D68; }
.emp-modal-head { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; padding-right: 40px; }
.emp-logo-lg { flex: 0 0 150px; width: 150px; }
.emp-modal-head h3 { margin: 8px 0 0; color: #0F3D68; font-size: 26px; line-height: 1.2; }
.emp-sec { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(15, 61, 104, 0.1); }
.emp-sec h4 { margin: 0 0 8px; color: #1CA7C2; font-size: 12px; font-weight: 800; letter-spacing: 0.9px; text-transform: uppercase; }
.emp-sec ul { list-style: none; margin: 0; padding: 0; }
.emp-sec li, .emp-kv { margin: 0 0 6px; color: #4A6B85; font-size: 15px; line-height: 1.55; }
.emp-lbl { color: #0F3D68; font-weight: 700; }
.emp-sec a.qs-link { color: #1CA7C2; font-weight: 700; text-decoration: none; }
.emp-sec a.qs-link:hover { text-decoration: underline; }
.emp-actions { margin-top: 22px; }
body.emp-open { overflow: hidden; }

@media (max-width: 600px) {
  .emp-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .emp-dir .emp-card { padding: 12px 12px 16px; }
  .emp-name { font-size: 14px; }
  .emp-modal-head { flex-direction: column; align-items: flex-start; }
  .emp-modal .emp-modal-box { padding: 26px 20px; }
}
/* Cómo asociarse */
.as-benefits { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.as-benefits > .qs-card { flex: 0 1 calc(33.333% - 16px); min-width: 260px; }

.as-vote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
}
.as-vote-num {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  white-space: nowrap;
  background: linear-gradient(135deg, #1CA7C2, #0F3D68);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.as-vote h3 { color: #0F3D68; font-size: 24px; margin: 0 0 8px; }

.as-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.as-check li { position: relative; padding-left: 36px; color: #4A6B85; font-size: 16px; line-height: 1.6; }
.as-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1CA7C2;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.as-contact { margin: 20px 0 0; color: #4A6B85; font-size: 14px; line-height: 1.7; }

@media (max-width: 700px) {
  .as-vote { grid-template-columns: 1fr; gap: 14px; padding: 26px 22px; }
  .as-vote-num { font-size: 40px; }
}
.as-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  margin: 0 0 70px;
  box-shadow: 0 16px 40px rgba(15, 61, 104, 0.18);
}
.as-banner img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 30%;
}
.as-banner .qs-photo-chip { left: 24px; bottom: 24px; }
@media (max-width: 700px) {
  .as-banner { border-radius: 22px; margin-bottom: 50px; }
  .as-banner img { height: 220px; }
}
/* Actualidad / biblioteca de documentos */
.doc-dir { position: relative; z-index: 1; }
.doc-tools { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 0 0 36px; }

.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.doc-item { margin: 0; }
.doc-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; height: 100%; }
.doc-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #1CA7C2, #0F3D68); display: flex; align-items: center; justify-content: center; }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-pdf-ico { width: 56px; height: 56px; fill: none; stroke: #fff; stroke-width: 1.6; opacity: 0.9; }
.doc-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.doc-title { margin: 6px 0 0; color: #0F3D68; font-size: 17px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.doc-resumen { margin: 0; color: #4A6B85; font-size: 13.5px; line-height: 1.5; }
.doc-meta { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: #6F8AA0; }
.doc-link { color: #1CA7C2; font-weight: 700; }

@media (max-width: 600px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .doc-body { padding: 14px 14px 16px; }
  .doc-title { font-size: 14px; }
}
.video-feature { display: flex; align-items: center; gap: 40px; padding: 34px 40px; margin-bottom: 34px; }
.video-feature-text h2 { color: #0F3D68; font-size: 26px; margin: 0 0 10px; }
.video-feature-frame {
  position: relative;
  flex: 0 0 160px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 61, 104, 0.2);
}
.video-feature-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 650px) {
  .video-feature { flex-direction: column; text-align: center; padding: 26px; }
  .video-feature-frame { flex: 0 0 auto; width: 140px; }
}
/* Tarjeta de video: botón de play sobre la miniatura */
.doc-card-video { border: 0; cursor: pointer; width: 100%; text-align: left; font: inherit; }
.doc-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-play svg {
  width: 56px;
  height: 56px;
  padding: 14px;
  fill: #fff;
  background: rgba(15, 61, 104, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease, background 0.25s ease;
}
.doc-card-video:hover .doc-play svg { transform: scale(1.1); background: rgba(28, 167, 194, 0.75); }

/* Reproductor emergente, en formato vertical */
.video-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 61, 104, 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.video-modal-box {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.video-modal-player { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
body.video-open { overflow: hidden; }

/* Galería: mosaico destacado */
.gal-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; grid-auto-flow: dense; gap: 14px; }
.gal-dir .gal-mos-item { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: pointer; background: #DCE8EF; box-shadow: 0 8px 24px rgba(15, 61, 104, 0.12); }
.gal-mos-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.gal-mos-item:nth-child(6n+4) { grid-column: span 2; }
.gal-mos-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gal-mos-item:hover img { transform: scale(1.06); }

/* Galería: álbumes */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.gal-item { margin: 0; }
.gal-dir .gal-card { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; text-align: left; font: inherit; color: #0F3D68; text-transform: none; letter-spacing: 0; cursor: pointer; }
.gal-dir .gal-card:hover, .gal-dir .gal-card:focus-visible { background: rgba(255, 255, 255, 0.75); color: #0F3D68; }
.gal-cover { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #1CA7C2, #0F3D68); }
.gal-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gal-card:hover .gal-cover img { transform: scale(1.06); }
.gal-count { position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #0F3D68; font-size: 12px; font-weight: 700; }
.gal-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 22px; }
.gal-fecha { color: #1CA7C2; font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; }
.gal-titulo { color: #0F3D68; font-size: 17px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Galería: visor */
.gal-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px 70px; }
.gal-lb[hidden] { display: none; }
.gal-lb-backdrop { position: absolute; inset: 0; background: rgba(10, 30, 52, 0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gal-lb-fig { position: relative; margin: 0; width: 100%; max-width: 1100px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gal-lb-img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); }
.gal-lb-cap { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; align-items: center; color: #fff; font-size: 14px; text-align: center; }
.gal-lb-title { font-weight: 700; }
.gal-lb-count { opacity: 0.75; }
.gal-lb a.gal-lb-link { color: #7FD6E8; font-weight: 700; text-decoration: none; }
.gal-lb a.gal-lb-link:hover { text-decoration: underline; }
.gal-lb .gal-lb-close, .gal-lb .gal-lb-nav { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); transition: background 0.2s ease; }
.gal-lb .gal-lb-close:hover, .gal-lb .gal-lb-nav:hover { background: rgba(28, 167, 194, 0.6); color: #fff; }
.gal-lb .gal-lb-close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 26px; line-height: 1; }
.gal-lb .gal-lb-nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 32px; line-height: 1; }
.gal-lb .gal-lb-prev { left: 14px; }
.gal-lb .gal-lb-next { right: 14px; }
.gal-lb.is-single .gal-lb-nav { display: none; }
body.gal-open { overflow: hidden; }

@media (max-width: 700px) {
  .gal-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 10px; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gal-body { padding: 12px 14px 16px; }
  .gal-titulo { font-size: 14px; }
  .gal-lb { padding: 60px 10px 80px; }
  .gal-lb .gal-lb-nav { top: auto; bottom: 16px; transform: none; }
}
.gal-desc { color: #4A6B85; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 700px) { .gal-desc { display: none; } }

/* Galería: feed de Instagram (Smash Balloon) */
.ig-section { margin-top: 70px; }
.ig-cta { text-align: center; margin-top: 28px; }
#sb_instagram .sb_instagram_header,
#sb_instagram #sbi_load { display: none !important; }
#sb_instagram .sbi_photo_wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 61, 104, 0.12);
}
#sb_instagram .sbi_photo { transition: transform 0.5s ease; }
#sb_instagram .sbi_photo_wrap:hover .sbi_photo { transform: scale(1.06); }
/* Títulos de sección: mantener el eyebrow pegado al h2 */
.qs-head .qs-h2 { margin: 6px 0 0; }
/* Repositorio de documentos */
.rep-group { padding: 26px 28px; margin: 0 0 24px; }
.rep-group-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.rep-group .rep-group-head h3 { margin: 0; color: #0F3D68; font-size: 22px; line-height: 1.25; }
.rep-list { list-style: none; margin: 0; padding: 0; }
.rep-item { margin: 0; border-top: 1px solid rgba(15, 61, 104, 0.08); }
.rep-item:first-child { border-top: 0; }
.rep-link { display: flex; align-items: center; gap: 14px; padding: 12px 8px; border-radius: 12px; text-decoration: none; transition: background 0.2s ease; }
.rep-link:hover { background: rgba(28, 167, 194, 0.1); }
.rep-ico { flex: 0 0 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #1CA7C2, #0F3D68); display: flex; align-items: center; justify-content: center; }
.rep-ico svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rep-title { flex: 1; color: #0F3D68; font-size: 15px; font-weight: 600; line-height: 1.4; }
.rep-year { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; background: rgba(15, 61, 104, 0.08); color: #4A6B85; font-size: 12px; font-weight: 700; }
.rep-ver { flex: 0 0 auto; color: #1CA7C2; font-size: 13px; font-weight: 700; white-space: nowrap; }

/* "Ver todos": ocultar extras salvo al buscar, filtrar o abrir */
.rep-dir:not(.is-searching):not(.is-filtered) .rep-group:not(.is-open) .rep-item.is-extra { display: none; }
.rep-dir.is-searching .rep-more,
.rep-dir.is-filtered .rep-more { display: none; }
.rep-dir .rep-more {
  margin-top: 12px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(28, 167, 194, 0.14);
  box-shadow: inset 0 0 0 1px rgba(28, 167, 194, 0.28);
  color: #0F7C93;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.rep-dir .rep-more:hover { background: #0F3D68; color: #fff; }

@media (max-width: 600px) {
  .rep-group { padding: 20px 16px; }
  .rep-group .rep-group-head h3 { font-size: 19px; }
  .rep-title { font-size: 14px; }
  .rep-ver { display: none; }
}
/* Contacto: tarjetas de canales */
.ct-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin: 0 0 50px; }
.ct-card { text-align: center; }
.ct-card .qs-ico { margin: 0 auto 16px; }
.ct-card h3 { font-size: 19px; }
.ct-card .qs-text { font-size: 15px; word-break: break-word; }

/* Contacto: formulario (Contact Form 7) */
.ct-form { max-width: 760px; margin: 0 auto; padding: 40px; }
.ct-form .qs-head { margin-bottom: 24px; }
.ct-form .wpcf7 p { margin: 0 0 16px; }
.ct-form .wpcf7 label { display: block; color: #0F3D68; font-size: 14px; font-weight: 600; }
.ct-form .wpcf7 input[type="text"],
.ct-form .wpcf7 input[type="email"],
.ct-form .wpcf7 input[type="tel"],
.ct-form .wpcf7 textarea {
  width: 100%;
  margin-top: 6px;
  padding: 13px 18px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(15, 61, 104, 0.12);
  color: #0F3D68;
  font-size: 15px;
  outline: none;
  transition: box-shadow 0.2s ease;
}
.ct-form .wpcf7 textarea { min-height: 150px; border-radius: 18px; resize: vertical; }
.ct-form .wpcf7 input:focus,
.ct-form .wpcf7 textarea:focus { box-shadow: inset 0 0 0 2px rgba(28, 167, 194, 0.65); }
.ct-form .wpcf7 input[type="submit"] {
  padding: 14px 32px;
  border: 0;
  border-radius: 50px;
  background: #0F3D68;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.ct-form .wpcf7 input[type="submit"]:hover { background: #1CA7C2; transform: translateY(-2px); }
.ct-form .wpcf7-not-valid-tip { margin-top: 4px; font-size: 13px; }
.ct-form .wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border-radius: 14px; font-size: 14px; }

@media (max-width: 600px) {
  .ct-form { padding: 26px 18px; }
}
/* Contacto: mapa */
.ct-map-wrap { max-width: 1000px; margin: 0 auto 60px; }
.ct-map-wrap .qs-head { margin-bottom: 24px; }
.ct-map { padding: 8px; border-radius: 26px; overflow: hidden; }
.ct-map iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: 20px; }
.ct-map-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px 14px; }
.ct-map-info .qs-text { margin: 0; }

@media (max-width: 600px) {
  .ct-map iframe { height: 280px; }
  .ct-map-info { flex-direction: column; align-items: flex-start; }
}
/* =========================================================
   Entradas individuales (eventos y noticias)
   ========================================================= */
body.single-post {
  background: linear-gradient(180deg, #EAF1F5 0%, #DCE8EF 50%, #E6EEF3 100%) fixed !important;
}

/* Tarjeta de vidrio para el artículo */
body.single-post article.entry.content-bg {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 40px rgba(15, 61, 104, 0.12);
}
body.single-post .post-thumbnail img { border-radius: 0; }

/* Categoría como cápsula y título */
body.single-post .entry-taxonomies a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(28, 167, 194, 0.14);
  box-shadow: inset 0 0 0 1px rgba(28, 167, 194, 0.28);
  color: #0F7C93 !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
body.single-post .entry-title { color: #0F3D68; line-height: 1.25; }
body.single-post .entry-meta { color: #6F8AA0; }

/* Contenido */
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
  margin: 30px 0 10px;
  padding-left: 14px;
  border-left: 4px solid #1CA7C2;
  color: #0F3D68;
  font-size: 21px;
  line-height: 1.3;
}
body.single-post .entry-content p,
body.single-post .entry-content li { color: #4A6B85; font-size: 16px; line-height: 1.75; }
body.single-post .entry-content p:empty { display: none; }
body.single-post .entry-content ul { list-style: none; margin: 0 0 16px; padding-left: 0; }
body.single-post .entry-content ul li { position: relative; margin-bottom: 8px; padding-left: 26px; }
body.single-post .entry-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1CA7C2, #0F3D68);
}
body.single-post .entry-content a { color: #1CA7C2; font-weight: 700; text-decoration: none; }
body.single-post .entry-content a:hover { text-decoration: underline; }
body.single-post .entry-content img { border-radius: 16px; }

/* Anterior / siguiente */
body.single-post .post-navigation .nav-links > div {
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 8px 24px rgba(15, 61, 104, 0.08);
}
body.single-post .post-navigation a { color: #0F3D68; text-decoration: none; }
body.single-post .post-navigation .post-navigation-sub { color: #1CA7C2; }

/* Publicaciones similares */
body.single-post .entry-related { background: transparent; }
body.single-post .entry-related .entry-related-title { color: #0F3D68; }
body.single-post .entry-related article.entry {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 8px 28px rgba(15, 61, 104, 0.1);
}
body.single-post .entry-related .entry-title { font-size: 17px; }
body.single-post .entry-related .entry-title a { color: #0F3D68; }
/* Entradas: ocultar el autor, dejar solo la fecha */
body.single-post .entry-meta .posted-by,
body.single-post .entry-related .posted-by { display: none; }

/* Carrusel de asociados: logos del mismo tamaño y más legibles */
.logo-marquee .logo-track { gap: 0; }
.logo-marquee .logo-item {
  width: 150px;
  height: 60px;
  margin-right: 50px;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.7;
}
.logo-marquee .logo-item:hover { filter: none; opacity: 1; }

@media (max-width: 600px) {
  .logo-marquee .logo-item { width: 110px; height: 46px; margin-right: 30px; }
}
/* Trabajamos junto a: logos aliados */
.aliados-row { display: flex; flex-wrap: wrap; gap: 28px 36px; justify-content: center; align-items: center; max-width: 1260px; margin: 0 auto; }
.aliado-logo {
  display: block;
  width: 120px;
  height: 52px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  mix-blend-mode: multiply;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.aliados-row a:hover .aliado-logo { filter: none; opacity: 1; transform: scale(1.05); }

@media (max-width: 600px) {
  .aliados-row { gap: 20px 26px; }
  .aliado-logo { width: 100px; height: 42px; }
}
/* Logos con fondo blanco: el blanco se funde con el fondo de la sección */
.aliado-logo,
.logo-marquee .logo-item { mix-blend-mode: multiply; }
/* =========================================================
   Pie de página ANEPSSA
   ========================================================= */
#colophon { display: none; } /* oculta el pie por defecto de Kadence */

.anp-footer { position: relative; z-index: 1; margin-top: 80px; background: #0F3D68; color: #C9D8E6; }
.anp-footer-wave { position: absolute; left: 0; top: -79px; display: block; width: 100%; height: 80px; pointer-events: none; }

.anp-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 50px 24px 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.3fr;
  gap: 44px;
}
.anp-f-logo { display: block; height: 58px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.anp-f-desc { margin: 0 0 22px; max-width: 330px; color: #B8CADB; font-size: 14px; line-height: 1.7; }

.anp-footer h4 { margin: 0 0 18px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.anp-f-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.anp-f-menu a { color: #C9D8E6; font-size: 15px; text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; }
.anp-f-menu a:hover { color: #fff; padding-left: 4px; }

.anp-f-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.anp-f-contact li { display: flex; gap: 12px; color: #C9D8E6; font-size: 14.5px; line-height: 1.55; }
.anp-f-contact svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: #1CA7C2; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.anp-f-contact a { color: #fff; text-decoration: none; transition: color 0.2s ease; }
.anp-f-contact a:hover { color: #1CA7C2; }

.anp-f-social { display: flex; gap: 10px; }
.anp-f-social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background 0.25s ease, transform 0.25s ease;
}
.anp-f-social a:hover { background: #1CA7C2; transform: translateY(-2px); }
.anp-f-social svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.anp-footer-bottom { padding: 18px 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #8FA9C0; font-size: 13px; text-align: center; }

@media (max-width: 800px) {
  .anp-footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 22px 30px; }
  .anp-footer-wave { height: 50px; top: -49px; }
  .anp-footer { margin-top: 50px; }
}
/* Pie: la ola se monta sobre la última sección (sin franja ni línea) */
.anp-footer { margin-top: 0; }
@media (max-width: 800px) { .anp-footer { margin-top: 0; } }

/* Pie con dos columnas: marca y contacto */
.anp-footer-inner { grid-template-columns: 1.2fr 1fr; max-width: 1000px; }
@media (max-width: 800px) { .anp-footer-inner { grid-template-columns: 1fr; } }

/* =========================================================
   Sección 25 años (aniversario)
   ========================================================= */
.aniv-card {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 52px;
  align-items: center;
  padding: 48px 56px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 20%, rgba(28, 167, 194, 0.45), transparent 55%),
    linear-gradient(135deg, #0F3D68 0%, #1E5F8C 60%, #1CA7C2 100%);
  box-shadow: 0 24px 60px rgba(15, 61, 104, 0.25);
  color: #fff;
}
/* anillos decorativos */
.aniv-card::before,
.aniv-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
.aniv-card::before { width: 420px; height: 420px; right: -140px; top: -180px; }
.aniv-card::after  { width: 260px; height: 260px; right: -60px; top: -100px; }

.aniv-num {
  position: relative;
  text-align: center;
  font-size: 150px;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -6px;
  background: linear-gradient(180deg, #ffffff 0%, #9FE3F0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.aniv-num span { display: block; margin-top: 10px; font-size: 22px; letter-spacing: 8px; text-transform: uppercase; }

.aniv .aniv-text h2 { margin: 14px 0 10px; color: #fff; font-size: 34px; line-height: 1.2; }
.aniv .aniv-text p { margin: 0 0 26px; color: rgba(255, 255, 255, 0.85); font-size: 16px; line-height: 1.6; }

.aniv-countdown { display: flex; flex-wrap: wrap; gap: 14px; }
.aniv-box {
  min-width: 88px;
  padding: 14px 10px;
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.aniv-box b { display: block; font-size: 34px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.aniv-box small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: 0.8; }
.aniv-fin { margin: 0; font-size: 22px; font-weight: 700; }

@media (max-width: 800px) {
  .aniv-card { grid-template-columns: 1fr; gap: 24px; padding: 36px 24px; text-align: center; }
  .aniv-num { font-size: 110px; }
  .aniv .aniv-text h2 { font-size: 26px; }
  .aniv-countdown { justify-content: center; gap: 10px; }
  .aniv-box { min-width: 68px; padding: 12px 6px; }
  .aniv-box b { font-size: 26px; }
}
/* Tarjeta 25 años dentro de la sección de cifras */
.aniv-card { margin: 0 auto 64px; text-align: left; }
@media (max-width: 800px) {
  .aniv-card { margin: 0 16px 48px; text-align: center; }
}
/* =========================================================
   Mapa de presencia nacional
   ========================================================= */
.mapa-dir { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; max-width: 1050px; margin: 0 auto 60px; padding: 0 20px; text-align: left; }
.mapa-wrap { position: relative; width: 100%; max-width: 430px; margin: 0 auto; }
.mapa-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 30px rgba(15, 61, 104, 0.15)); }
.mapa-dep { fill: #D6E2EA; stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; transition: fill 0.2s ease; }
.mapa-dep.is-activa { fill: #7CCBDB; cursor: pointer; }
.mapa-dep.is-activa:hover,
.mapa-dep.is-activa.is-hover { fill: #0F3D68; }
.mapa-dep:not(.is-activa).is-hover { fill: #BCCBD6; }

.mapa-tip {
  position: absolute;
  z-index: 5;
  max-width: 260px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 12px 30px rgba(15, 61, 104, 0.2);
  color: #0F3D68;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  pointer-events: none;
}
.mapa-tip[hidden] { display: none; }
.mapa-tip strong { display: block; font-size: 15px; }
.mapa-tip span { display: block; margin: 2px 0 6px; color: #1CA7C2; font-size: 12px; font-weight: 700; }
.mapa-tip ul { list-style: none; margin: 0; padding: 0; color: #4A6B85; }
.mapa-tip li { margin: 0 0 2px; }
.mapa-tip a { display: inline-block; margin-top: 8px; color: #1CA7C2; font-weight: 700; text-decoration: none; }
@media (hover: none) { .mapa-tip { pointer-events: auto; } }

.mapa-dir .mapa-title { margin: 6px 0 12px; color: #0F3D68; font-size: 30px; line-height: 1.2; }
.mapa-sub { margin: 0 0 22px; color: #4A6B85; font-size: 16px; line-height: 1.6; }
.mapa-sub b { color: #0F3D68; }
.mapa-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mapa-chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(15, 61, 104, 0.1);
  color: #0F3D68;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.mapa-chip b { margin-left: 4px; color: #1CA7C2; }
.mapa-chip:hover { background: #0F3D68; color: #fff; }
.mapa-chip:hover b { color: #9FE3F0; }

@media (max-width: 800px) {
  .mapa-dir { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .mapa-wrap { max-width: 330px; }
  .mapa-dir .mapa-title { font-size: 24px; }
  .mapa-chips { justify-content: center; }
}
/* Mapa sobre fondo oscuro (sección "Representamos al sector") */
.mapa-dark .mapa-svg { filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.25)); }
.mapa-dark .mapa-dep { fill: rgba(255, 255, 255, 0.10); stroke: rgba(255, 255, 255, 0.35); }
.mapa-dark .mapa-dep.is-activa { fill: #5FC3D8; }
.mapa-dark .mapa-dep.is-activa:hover,
.mapa-dark .mapa-dep.is-activa.is-hover { fill: #ffffff; }
.mapa-dark .mapa-dep:not(.is-activa).is-hover { fill: rgba(255, 255, 255, 0.2); }

.mapa-dark .qs-eyebrow { color: #9FE3F0; }
.mapa-dark .mapa-title { color: #fff; }
.mapa-dark .mapa-sub { color: rgba(255, 255, 255, 0.8); }
.mapa-dark .mapa-sub b { color: #fff; }
.mapa-dark .mapa-chip { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); color: #fff; }
.mapa-dark .mapa-chip b { color: #9FE3F0; }
.mapa-dark .mapa-chip:hover { background: #fff; color: #0F3D68; }
.mapa-dark .mapa-chip:hover b { color: #1CA7C2; }