/* Intesco Center Theme - Custom CSS (fuera del alcance de theme.json) */

/* ---- Boton flotante de WhatsApp ---- */
.ict-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  transition: transform 0.2s ease;
}
.ict-whatsapp-float:hover,
.ict-whatsapp-float:focus-visible {
  transform: scale(1.08);
}

/* ---- Hero: 5 strips verticales con video de fondo, hover-expand en desktop ---- */
.ict-hero-strips {
  display: flex;
  width: 100%;
  height: 82vh;
  min-height: 520px;
  max-height: 780px;
  overflow: hidden;
  background: #001F5C;
}
.ict-hero-strip {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transition: flex-grow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  border-right: 2px solid rgba(255, 255, 255, 0.15);
}
.ict-hero-strip:last-child { border-right: none; }
.ict-hero-strip:hover,
.ict-hero-strip:focus-within {
  flex-grow: 3;
}
.ict-hero-strip video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ict-hero-strip .ict-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 20px;
  background: linear-gradient(180deg, rgba(0, 48, 135, 0) 30%, rgba(0, 31, 92, 0.92) 100%);
  color: #fff;
}
.ict-hero-strip .ict-hero-overlay h3 {
  font-family: var(--wp--preset--font-family--headline, 'Noto Serif', serif);
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #fff;
}
.ict-hero-strip .ict-hero-overlay a {
  color: var(--wp--preset--color--accent-yellow, #FCD116);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.ict-hero-strip .ict-hero-overlay a:hover { text-decoration: underline; }

@media (max-width: 782px) {
  .ict-hero-strips {
    flex-direction: column;
    height: auto;
    max-height: none;
  }
  .ict-hero-strip {
    flex: none !important;
    height: 200px;
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  }
  .ict-hero-strip:last-child { border-bottom: none; }
}

/* ---- Tarjetas de programa (badges por categoria) ---- */
.ict-program-card { border-radius: 12px; overflow: hidden; }

/* ---- FAQ (paginas de programa) ---- */
.ict-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--wp--preset--color--primary-blue, #003087);
  padding: 14px 0;
}
.ict-faq-item { border-bottom: 1px solid #e5e7eb; }

/* Fix: el logo es una imagen vertical (819x1024), forzar altura maxima en el header */
.ict-site-header .wp-block-site-logo img {
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.ict-site-header .wp-block-site-logo {
  flex-shrink: 0;
}
.ict-site-footer .wp-block-site-logo img {
  max-height: 70px;
  width: auto;
}
