/* ============================================================
   COLUMBIA COLLEGE - MODULO VIDA ESCOLAR
   Hero + Actividades + Galeria con animaciones sutiles
   ============================================================ */

:root {
    /* Turquesa */
    --teal: #4BA1A9;
    --teal-deep: #36858E;
    --teal-dark: #245F68;

    /* Naranja */
    --orange: #F59E0B;
    --orange-hover: #D97706;

    /* Azul marino */
    --navy: #173B4D;

    /* Color intermedio de fondo */
    --eg_mitad: #E8F1F2;
}

.wp-block-paragraph{
  margin: 0px!important;
}

/* ELIMINAR ESPACIOS DEL CONTENEDOR PADRE */
#main,
#content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ---------- HERO ---------- */
#vida_hero {
  position: relative;
  /* OCUPAR TODO EL ANCHO DE LA PANTALLA */
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* OCUPAR TODA LA ALTURA DE LA PANTALLA */
  min-height: calc(100vh - 68px);
  padding: 85px 0 90px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 75%, var(--teal-dark) 100%);
  overflow: hidden;
  box-sizing: border-box;
}

#vida_hero::before,
#vida_hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

#vida_hero::before {
  top: -60px;
  right: -40px;
  width: 320px;
  height: 320px;
  animation: vidaFloat 8s ease-in-out infinite;
}

#vida_hero::after {
  bottom: -90px;
  left: -50px;
  width: 260px;
  height: 260px;
  animation: vidaFloat 10s ease-in-out infinite reverse;
}

.vida_hero_content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.vida_hero_tag {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: vidaUp 0.7s ease-out both;
}

.vida_hero_title {
  font-size: 50px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.2);
  animation: vidaUp 0.8s ease-out 0.1s both;
}

.vida_hero_text {
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  text-align: justify;
  animation: vidaUp 0.8s ease-out 0.2s both;
}

.vida_hero_btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding: 13px 30px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(255, 70, 0, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  animation: vidaUp 0.8s ease-out 0.3s both;
}

.vida_hero_btn:hover {
  background: var(--orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 9px 24px rgba(255, 70, 0, 0.45);
}

/* ==========================================
   ACTIVIDADES
========================================== */

#vida_actividades {
  padding: 65px 0;
  background: #fff;
}

.vida_actividades_grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}


/* Título principal */
#vida_actividades .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;

    color: #ff4b0b;
    font-size: 34px;
    font-weight: 800;
    text-align: center;
    line-height: 1.3;

    margin: 0 auto;
    padding-bottom: 18px;
}

/* Icono junto al título */
#vida_actividades .section-title i {
    display: inline-block;
    font-size: 30px;
    margin-right: 12px;
}

/* Línea decorativa inferior */
#vida_actividades .section-title::after {
    content: "";
    display: block;

    width: 80px;
    height: 5px;

    margin-top: 14px;
    border-radius: 10px;

    background: linear-gradient(
        to right,
        #55a6a7,
        #ff4b0b
    );
}

.vida_actividad {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 28px 16px 24px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}


/* Float alterno suave */
.vida_actividad:nth-child(odd)  { animation: vidaFloatY 3.6s ease-in-out infinite; }
.vida_actividad:nth-child(even) { animation: vidaFloatY 3.6s ease-in-out 0.7s infinite; }

/* Hover con ZOOM + naranja */
.vida_actividad:hover {
  transform: translateY(-10px) scale(1.06);
  border-color: var(--orange);
  box-shadow: 0 16px 38px rgba(255, 70, 0, 0.3);
  animation-play-state: paused;
}

.vida_actividad_icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(75, 161, 169, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease;
}

.vida_actividad_icon img {
  width: auto;
  height: auto;
  max-width: 46px;
  max-height: 46px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vida_actividad:hover .vida_actividad_icon {
  background: var(--orange);
  transform: rotate(-12deg) scale(1.2);
}

.vida_actividad:hover .vida_actividad_icon img {
  transform: scale(1.22);
  filter: brightness(0) invert(1);
}

.vida_actividad_titulo {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 7px;
  transition: color 0.3s ease;
}

.vida_actividad:hover .vida_actividad_titulo { color: var(--orange); }

.vida_actividad_desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: #6b7c85;
}

/* ---------- GALERIA con ZOOM y acentos NARANJA ---------- */
#vida_galeria {
  padding: 65px 0 75px;
  background: #f4f8f9;
}

.vida_galeria_intro {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.75;
  color: #5a6b73;
}

.vida_galeria_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vida_galeria_item {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  background: #fff;
  border: 3px solid transparent;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.vida_galeria_item.vida_galeria_vertical {
  aspect-ratio: 3 / 4;
}

.vida_galeria_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1), filter 0.35s ease;
}

/* Hover: ZOOM pronounced + borde naranja */
.vida_galeria_item:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--orange);
  box-shadow: 0 16px 38px rgba(255, 70, 0, 0.32);
}

.vida_galeria_item:hover img {
  transform: scale(1.22);
  filter: saturate(1.15) contrast(1.06);
}

.vida_galeria_item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(to top, rgba(255, 70, 0, 0.92) 0%, rgba(255, 70, 0, 0.55) 45%, rgba(255, 70, 0, 0) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.vida_galeria_item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Icono de zoom circular */
.vida_zoom_icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transform: scale(0.5);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.32s ease;
}

.vida_galeria_item:hover .vida_zoom_icon {
  transform: scale(1);
  opacity: 1;
}

/* ---------- LIGHTBOX ---------- */
.vida_lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(9, 42, 64, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.vida_lightbox.open {
  opacity: 1;
  visibility: visible;
}

.vida_lb_figure {
  margin: 0;
  max-width: 1050px;
  width: 100%;
  text-align: center;
  animation: lbZoom 0.42s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.vida_lb_figure img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  border: 3px solid var(--orange);
}

.vida_lb_figure figcaption {
  margin-top: 18px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Botones del lightbox */
.vida_lb_close,
.vida_lb_prev,
.vida_lb_next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  border: none;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.22s ease, background 0.22s ease;
}

.vida_lb_close:hover,
.vida_lb_prev:hover,
.vida_lb_next:hover {
  background: var(--orange-hover);
  transform: scale(1.12);
}

.vida_lb_close { top: 22px; right: 22px; font-size: 22px; }
.vida_lb_prev  { left: 24px; top: 50%; transform: translateY(-50%); font-size: 30px; }
.vida_lb_next  { right: 24px; top: 50%; transform: translateY(-50%); font-size: 30px; }

.vida_lb_prev:hover  { transform: translateY(-50%) scale(1.12); }
.vida_lb_next:hover  { transform: translateY(-50%) scale(1.12); }

@keyframes lbZoom {
  from { opacity: 0; transform: scale(0.86) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- CTA galeria ---------- */
.vida_galeria_cta { text-align: center; margin-top: 32px; }

.vida_galeria_cta a {
  background: var(--orange);
  color: #fff;
  border-radius: 8px;
  display: inline-block;
  padding: 11px 30px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.vida_galeria_cta a:hover {
  background: var(--orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 70, 0, 0.35);
}

/* ---------- KEYFRAMES ---------- */
@keyframes vidaUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes vidaFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-22px, 20px) scale(1.06); }
}

@keyframes vidaFloatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/*=========================================
          LOGROS Y CIFRAS 
===========================================*/

#vida_logros {
  padding: 10px 0 45px;
}

/* Título principal */
#vida_logros .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;

    color: #ff4b0b;
    font-size: 34px;
    font-weight: 800;
    text-align: center;
    line-height: 1.3;

    margin: 0 auto;
    padding-bottom: 18px;
}

/* Icono junto al título */
#vida_logros .section-title i {
    display: inline-block;
    font-size: 30px;
    margin-right: 12px;
}

/* Línea decorativa inferior */
#vida_logros .section-title::after {
    content: "";
    display: block;

    width: 80px;
    height: 5px;

    margin-top: 14px;
    border-radius: 10px;

    background: linear-gradient(
        to right,
        #55a6a7,
        #ff4b0b
    );
}


.vida_stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 10px 0 36px;
}

.vida_stat {
  padding: 24px 16px;
  text-align: center;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  box-shadow: 0 8px 22px rgba(5, 139, 147, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vida_stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(5, 139, 147, 0.26);
}

.vida_stat strong {
  display: block;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}

.vida_stat span {
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0.92;
}

.vida_logros_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vida_logro {
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vida_logro:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.13);
}

.vida_logro img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.vida_logro:hover img {
  transform: scale(1.05);
}

.vida_logro_body {
  padding: 20px 22px 24px;
}

.vida_logro_body h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 900;
  color: var(--navy, #092a40);
}

.vida_logro_body p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.vida_logros_cta {
  margin-top: 32px;
  text-align: center;
}

.vida_logros_cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: var(--orange, #ff4600);
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(255, 70, 0, 0.3);
  transition: transform 0.22s ease, background 0.22s ease;
}

.vida_logros_cta a:hover {
  background: var(--orange-hover, #e03e00);
  transform: translateY(-3px);
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .vida_actividades_grid { grid-template-columns: repeat(3, 1fr); }
  .vida_galeria_grid { grid-template-columns: repeat(2, 1fr); }
  .vida_hero_title { font-size: 38px; }
  .vida_stats { grid-template-columns: repeat(2, 1fr); }
  .vida_logros_grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .vida_actividades_grid { grid-template-columns: repeat(2, 1fr); }
  .vida_galeria_grid { grid-template-columns: 1fr; }
  .vida_hero { padding: 55px 0 60px; }
  .vida_hero_title { font-size: 30px; }
  .vida_hero_text { font-size: 14.5px; text-align: left; }
  .vida_stats { grid-template-columns: 1fr; }
  .vida_logros_grid { grid-template-columns: 1fr; }
  .vida_logro img { height: 190px; }
}

/* ---------- ACCESIBILIDAD ---------- */
@media (prefers-reduced-motion: reduce) {
  #vida_hero::before,
  #vida_hero::after,
  .vida_hero_tag,
  .vida_hero_title,
  .vida_hero_text,
  .vida_hero_btn,
  .vida_actividad,
  .vida_lb_figure {
    animation: none;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .vida_galeria_item img,
  .vida_galeria_item,
  .vida_actividad,
  .vida_actividad_icon,
  .vida_actividad_icon img,
  .vida_zoom_icon,
  .vida_lb_close,
  .vida_lb_prev,
  .vida_lb_next {
    transition: none;
  }
  .vida_galeria_item:hover img,
  .vida_galeria_item:hover,
  .vida_actividad:hover,
  .vida_actividad:hover .vida_actividad_icon,
  .vida_actividad:hover .vida_actividad_icon img {
    transform: none;
  }
}


/* ============================================================
   VIDA ESCOLAR - CARRUSEL GLAMUROSO DE EGRESADOS (Cachimbo 2026)
   Escenario nocturno con focos de luz + marcos dorados + brillo
============================================================ */

.eg_stage {
  position: relative;
  overflow: hidden;
  margin: 60px 0 10px;
  padding: 62px 20px 56px;
  background: linear-gradient(165deg, #04222b 0%, #073240 48%, #041d26 100%);
  color: #ffffff;
  text-align: center;
}

/* Focos de luz dorados / blancos sobre el escenario */
.eg_stage::before {
  content: "";
  position: absolute;
  inset: -14%;
  pointer-events: none;
  background:
    radial-gradient(42% 55% at 22% 6%, rgba(255, 216, 138, 0.20), transparent 70%),
    radial-gradient(38% 52% at 80% 4%, rgba(255, 255, 255, 0.09), transparent 70%),
    radial-gradient(60% 40% at 50% 108%, rgba(11, 138, 138, 0.22), transparent 72%);
  animation: eg_foco 7s ease-in-out infinite;
}

@keyframes eg_foco {
  50% { opacity: 0.72; transform: translateX(2.5%); }
}

.eg_cuerpo {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  margin: 0 auto;
}

.eg_stage .section-title {
  color: #ffce7a;
  text-shadow: 0 2px 20px rgba(255, 150, 60, 0.35);
}

.eg_intro {
  max-width: 720px;
  margin: 0 auto 30px;
  color: #cfe4e8;
  line-height: 1.65;
  font-size: 15.5px;
}

/* ---------- CARRUSEL ---------- */
.eg_carrusel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.eg_ventana {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.eg_ventana::-webkit-scrollbar { display: none; }

.eg_pista {
  --eg_mitad: calc(50% - 170px); /* espacio para centrar una tarjeta de 340px */
  display: flex;
  gap: 26px;
  padding: 34px 0 44px;
}

/* Espaciadores reales (no padding): garantizan que la primera y la ultima
   tarjeta siempre puedan centrarse por completo, en cualquier ancho */
.eg_pista::before,
.eg_pista::after {
  content: "";
  flex: 0 0 auto;
  width: var(--eg_mitad);
}

/* ---------- TARJETA ---------- */
.eg_tarjeta {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: 340px;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 14px 14px 18px;
  background:
    linear-gradient(180deg, rgba(10, 48, 58, 0.94), rgba(6, 34, 42, 0.97)) padding-box,
    linear-gradient(140deg, #f6ddaa, #c89a4a 45%, #96712f 70%, #f6ddaa) border-box;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  opacity: 0.5;
  transform: scale(0.94);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

.eg_tarjeta.activa {
  opacity: 1;
  transform: scale(1);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.55),
    0 0 34px rgba(255, 196, 110, 0.28);
}

.eg_tarjeta.eg_oro.activa {
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.6),
    0 0 46px rgba(255, 196, 110, 0.45);
}

.eg_marco {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #062229;
}

.eg_marco img {
  display: block;
  width: 100%;
  aspect-ratio: 105 / 149;
  object-fit: cover;
}

.eg_marco::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 225, 160, 0.35);
  pointer-events: none;
}

/* Destello que barre la foto */
.eg_chispa {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-130%);
  transition: transform 0.85s ease;
  pointer-events: none;
}

.eg_tarjeta.activa:hover .eg_chispa { transform: translateX(130%); }

/* ---------- DATOS ---------- */
.eg_datos {
  padding: 14px 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.eg_chip {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 14px;
  border-radius: 20px;
}

.eg_oro_chip {
  color: #3a2a05;
  background: linear-gradient(135deg, #ffe9b0, #ffc86e 60%, #e2a94e);
  box-shadow: 0 3px 10px rgba(255, 190, 100, 0.4);
}

.eg_plata_chip {
  color: #22303a;
  background: linear-gradient(135deg, #f1f5f9, #c6d0da 60%, #9fb0bf);
  box-shadow: 0 3px 10px rgba(200, 220, 235, 0.3);
}

.eg_teal_chip {
  color: #ffffff;
  background: linear-gradient(135deg, #0b8b93, #056a71);
  box-shadow: 0 3px 10px rgba(11, 139, 147, 0.4);
}

.eg_nombre {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.eg_carrera {
  font-size: 13.5px;
  color: #ffd98a;
  font-weight: 600;
}

.eg_univ {
  font-size: 12.5px;
  color: #b9d4da;
  display: flex;
  align-items: center;
  gap: 6px;
}

.eg_univ i { color: #ffce7a; }

/* ---------- FLECHAS ---------- */
.eg_flecha {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 206, 122, 0.55);
  background: rgba(6, 34, 42, 0.75);
  color: #ffce7a;
  font-size: 19px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.eg_flecha.eg_p { left: 12px; }
.eg_flecha.eg_n { right: 12px; }

.eg_flecha:hover {
  background: #ffce7a;
  border-color: #ffce7a;
  color: #072b34;
}

/* ---------- PUNTOS ---------- */
.eg_puntos {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.eg_punto {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.eg_punto.cur {
  width: 26px;
  background: linear-gradient(90deg, #f6ddaa, #ffc86e);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .eg_tarjeta { width: 300px; }
  .eg_pista { --eg_mitad: calc(50% - 150px); }
}

@media (max-width: 640px) {
  .eg_stage { padding: 50px 14px 46px; }
  .eg_tarjeta { width: 72vw; }
  .eg_pista { --eg_mitad: calc(50% - 36vw); padding: 26px 0 38px; gap: 18px; }
  .eg_flecha { display: none; }
  .eg_intro { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .eg_stage::before,
  .eg_chispa { animation: none; transition: none; }
  .eg_tarjeta { transition: none; }
}


/* ===========================================================
  VIDA EGRESADOS
============================================================= */

/* ==========================================
   SECCIÓN: EGRESADOS DESTACADOS
========================================== */

.eg_stage {
    --eg-teal: #00b5aa;
    --eg-teal-dark: #06343d;
    --eg-gold: #ffc76b;
    --eg-orange: #ff7043;
    --eg-text: #e7f1f2;

    position: relative;
    width: 100%;
    padding: 10px 20px 35px;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 55%,
            rgba(0, 181, 170, 0.13) 0%,
            transparent 48%
        ),
        linear-gradient(
            120deg,
            #193b3b 0%,
            #082e38 45%,
            #032633 100%
        );

    color: var(--eg-text);
}

.eg_cuerpo {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* ==========================================
   TÍTULO
========================================== */

.eg_stage .section-title {
    position: relative;
    display: inline-block;

    margin-bottom: 18px;

    color: var(--eg-gold);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
}

.eg_stage .section-title i {
    margin-right: 7px;
    font-size: 22px;
}

.eg_stage .section-title::after {
    content: "";
    position: absolute;

    width: 52px;
    height: 4px;

    bottom: -13px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        var(--eg-teal),
        var(--eg-orange)
    );
}

/* ==========================================
   DESCRIPCIÓN
========================================== */

.eg_intro {
    max-width: 620px;
    margin: 18px auto 55px;

    color: #c4d8df;
    font-size: 13px;
    line-height: 1.65;
    font-weight: 500;
}

/* ==========================================
   CONTENEDOR DEL CARRUSEL
========================================== */

.eg_carrusel {
    position: relative;
    width: 100%;
    max-width: 1050px;

    margin: 0 auto;
    padding: 0 52px;
}

/* Ventana que oculta las tarjetas exteriores */

.eg_ventana {
    position: relative;
    width: 100%;

    overflow-x: hidden;
    overflow-y: visible;
    padding: 12px 0 15px;
}

/* Pista horizontal */

.eg_pista {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 30px;

    width: max-content;

    transition: transform 0.7s cubic-bezier(
        0.22, 1, 0.36, 1
    );

    will-change: transform;
}

/* ==========================================
   TARJETAS
========================================== */

.eg_tarjeta {
    position: relative;

    flex: 0 0 266px;
    width: 266px;
    min-height: 480px;

    padding: 12px;

    display: flex;
    flex-direction: column;
    align-items: center;

    border: 1px solid rgba(255, 199, 107, 0.30);
    border-radius: 17px;

    background: linear-gradient(
        160deg,
        rgba(15, 57, 65, 0.96),
        rgba(5, 36, 45, 0.98)
    );

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.20),
        inset 0 0 15px rgba(0, 181, 170, 0.04);

    opacity: 0.62;

    transform: scale(0.94);

    filter: brightness(0.72);

    transition:
        transform 0.7s ease,
        opacity 0.7s ease,
        filter 0.7s ease,
        border-color 0.7s ease,
        box-shadow 0.7s ease;

    overflow: hidden;
}

/* Tarjeta central */

.eg_tarjeta.is-active {
    opacity: 1;

    transform: scale(1.04);

    filter: brightness(1);

    border-color: var(--eg-gold);

    box-shadow:
        0 0 25px rgba(255, 199, 107, 0.13),
        0 12px 35px rgba(0, 0, 0, 0.30),
        inset 0 0 20px rgba(255, 199, 107, 0.04);

    z-index: 2;
}

/* ==========================================
   IMAGEN DEL EGRESADO
========================================== */

.eg_marco {
    position: relative;

    width: 100%;
    aspect-ratio: 2 / 3;

    overflow: hidden;

    border-radius: 11px;

    background: #07505a;
}

.eg_marco img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: inherit;

    transition: transform 0.7s ease;
}

.eg_tarjeta.is-active .eg_marco img {
    transform: scale(1.015);
}

/* Efecto luminoso sobre imagen */

.eg_chispa {
    position: absolute;
    inset: 0;

    pointer-events: none;

    background: linear-gradient(
        135deg,
        rgba(0, 229, 204, 0.10),
        transparent 45%,
        rgba(255, 199, 107, 0.10)
    );

    opacity: 0.5;
}

.eg_tarjeta.is-active .eg_chispa {
    opacity: 0.15;
}

/* ==========================================
   INFORMACIÓN
========================================== */

.eg_datos {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 10px 2px 5px;

    text-align: center;
}

.eg_nombre {
    display: block;

    margin: 0 0 7px;

    color: #f2f6f7;

    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;

    transition: color 0.5s ease;
}

.eg_tarjeta.is-active .eg_nombre {
    color: #ffffff;
}

.eg_carrera {
    display: block;

    margin-bottom: 8px;

    color: var(--eg-gold);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.eg_univ {
    display: block;

    color: #b9cbd0;

    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
}

.eg_univ i {
    margin-right: 5px;
    color: var(--eg-gold);
}

/* ==========================================
   ETIQUETAS DE MÉRITO
========================================== */

.eg_chip {
    display: inline-block;

    padding: 4px 10px;
    margin-bottom: 8px;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 800;
}

.eg_oro_chip {
    color: #33200a;
    background: linear-gradient(
        135deg,
        #ffe5a0,
        #e9a93c
    );
}

.eg_plata_chip {
    color: #26333a;
    background: linear-gradient(
        135deg,
        #f0f4f5,
        #aabac2
    );
}

.eg_teal_chip {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #00b5aa,
        #087c83
    );
}

/* ==========================================
   FLECHAS
========================================== */

.eg_flecha {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 199, 107, 0.65);
    border-radius: 50%;

    background: rgba(4, 38, 47, 0.85);

    color: var(--eg-gold);

    font-size: 18px;

    cursor: pointer;
    z-index: 5;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.eg_flecha:hover {
    background: var(--eg-gold);
    color: #082e38;

    transform: translateY(-50%) scale(1.10);
}

.eg_p {
    left: 9px;
}

.eg_n {
    right: 9px;
}

/* ==========================================
   INDICADORES INFERIORES
========================================== */

.eg_puntos {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 8px;

    margin-top: 20px;
}

.eg_puntos button {
    width: 7px;
    height: 7px;

    padding: 0;

    border: none;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.30);

    cursor: pointer;

    transition: all 0.3s ease;
}

.eg_puntos button.is-active {
    width: 25px;

    background: var(--eg-gold);
}

/* ==========================================
   RESPONSIVE - TABLETS
========================================== */

@media (max-width: 768px) {

    .eg_stage {
        padding: 40px 10px 30px;
    }

    .eg_intro {
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .eg_carrusel {
        padding: 0 38px;
    }

    .eg_pista {
        gap: 18px;
    }

    .eg_tarjeta {
        flex-basis: 235px;
        width: 235px;
        min-height: 430px;
    }

    .eg_flecha {
        width: 34px;
        height: 34px;
    }

    .eg_p {
        left: 1px;
    }

    .eg_n {
        right: 1px;
    }
}

/* ==========================================
   RESPONSIVE - CELULARES
========================================== */

@media (max-width: 480px) {

    .eg_stage {
        padding: 35px 5px 25px;
    }

    .eg_stage .section-title {
        font-size: 19px;
    }

    .eg_intro {
        font-size: 12px;
        margin-bottom: 25px;
    }

    .eg_carrusel {
        padding: 0 30px;
    }

    .eg_pista {
        gap: 12px;
    }

    .eg_tarjeta {
        flex-basis: 220px;
        width: 220px;
        min-height: 405px;

        padding: 10px;
    }

    .eg_nombre {
        font-size: 14px;
    }

    .eg_carrera {
        font-size: 10px;
    }

    .eg_univ {
        font-size: 9px;
    }

    .eg_flecha {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Accesibilidad: reducir movimiento */

@media (prefers-reduced-motion: reduce) {

    .eg_pista,
    .eg_tarjeta,
    .eg_marco img,
    .eg_flecha {
        transition: none !important;
    }
}


/* ==========================================
   CORRECCIÓN GENERAL DEL CARRUSEL
========================================== */

/* Romper el ancho limitado del contenedor WordPress */

#seccion_vida_egresados.eg_stage {
    position: relative;

    width: 100vw !important;
    max-width: none !important;

    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;

    box-sizing: border-box;
}

/* Contenedor principal */

#seccion_vida_egresados .eg_cuerpo {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

/* Carrusel */

#seccion_vida_egresados .eg_carrusel {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
}

/* Ventana */

#seccion_vida_egresados .eg_ventana {
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 12px 0 18px;
}

/* Pista */

#seccion_vida_egresados .eg_pista {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;

    width: max-content;
    gap: 30px;

    transform: translate3d(0, 0, 0);

    transition: transform 0.7s cubic-bezier(
        0.22, 1, 0.36, 1
    );
}

/* Tarjetas */

#seccion_vida_egresados .eg_tarjeta {
    flex: 0 0 266px;
    width: 266px;
    min-width: 266px;

    box-sizing: border-box;
    margin: 0;

    min-height: 480px;
}

/* Imagen */

#seccion_vida_egresados .eg_marco {
    width: 100%;
    aspect-ratio: 2 / 3;
    flex-shrink: 0;
}

#seccion_vida_egresados .eg_marco img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tarjeta activa */

#seccion_vida_egresados .eg_tarjeta.is-active {
    transform: scale(1.04);
    opacity: 1;
    filter: brightness(1);
    z-index: 3;
}

/* Flechas */

#seccion_vida_egresados .eg_flecha {
    z-index: 10;
}

/* TABLET */

@media (max-width: 768px) {

    #seccion_vida_egresados .eg_carrusel {
        max-width: 620px;
        padding: 0 40px;
    }

    #seccion_vida_egresados .eg_tarjeta {
        flex-basis: 235px;
        width: 235px;
        min-width: 235px;
    }

}

/* CELULAR */

@media (max-width: 480px) {

    #seccion_vida_egresados .eg_carrusel {
        max-width: 100%;
        padding: 0 32px;
    }

    #seccion_vida_egresados .eg_tarjeta {
        flex-basis: 220px;
        width: 220px;
        min-width: 220px;
    }

}


/* ==========================================================
   AJUSTE FINAL DEL CARRUSEL DE EGRESADOS
   Tarjetas uniformes + pista animada por transform
========================================================== */
#seccion_vida_egresados .eg_carrusel {
    overflow: visible;
}

#seccion_vida_egresados .eg_ventana {
    width: 100%;
    overflow: hidden;
    padding: 22px 0 30px;
    box-sizing: border-box;
}

#seccion_vida_egresados .eg_pista {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    width: max-content;
    padding: 0;
    margin: 0;
    transform: translate3d(0, 0, 0);
    transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

#seccion_vida_egresados .eg_pista::before,
#seccion_vida_egresados .eg_pista::after {
    content: none !important;
    display: none !important;
}

#seccion_vida_egresados .eg_tarjeta {
    flex: 0 0 266px;
    width: 266px;
    min-width: 266px;
    height: 480px;
    min-height: 480px;
    max-height: 480px;
    box-sizing: border-box;
    padding: 11px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    opacity: .48;
    filter: brightness(.76) saturate(.82);
    transform: scale(.94);
    transform-origin: center center;
    transition:
        transform 700ms cubic-bezier(.22, 1, .36, 1),
        opacity 700ms ease,
        filter 700ms ease,
        border-color 700ms ease,
        box-shadow 700ms ease;
}

#seccion_vida_egresados .eg_tarjeta.is-active {
    opacity: 1;
    filter: brightness(1) saturate(1);
    transform: scale(1.04);
    z-index: 4;
    border-color: #f5c66e;
    box-shadow: 0 0 25px rgba(255,199,107,.18), 0 15px 36px rgba(0,0,0,.34);
}

#seccion_vida_egresados .eg_marco {
    width: 100%;
    height: 360px;
    min-height: 360px;
    max-height: 360px;
    flex: 0 0 360px;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 12px;
}

#seccion_vida_egresados .eg_marco img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#seccion_vida_egresados .eg_datos {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    padding: 10px 3px 2px;
    box-sizing: border-box;
    text-align: center;
}

#seccion_vida_egresados .eg_nombre {
    margin: 0 0 3px;
    line-height: 1.25;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#seccion_vida_egresados .eg_carrera {
    margin: 0 0 3px;
    min-height: 16px;
}

#seccion_vida_egresados .eg_univ {
    margin-top: auto;
    line-height: 1.35;
    min-height: 28px;
}

#seccion_vida_egresados .eg_puntos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
}

#seccion_vida_egresados .eg_puntos button {
    width: 8px;
    height: 8px;
    min-width: 8px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: rgba(190,214,219,.38);
    transition: width 250ms ease, background 250ms ease;
}

#seccion_vida_egresados .eg_puntos button.is-active {
    width: 22px;
    background: #ffd27b;
}

@media (max-width: 768px) {
    #seccion_vida_egresados .eg_pista { gap: 20px; }
    #seccion_vida_egresados .eg_tarjeta {
        flex-basis: 235px;
        width: 235px;
        min-width: 235px;
        height: 440px;
        min-height: 440px;
        max-height: 440px;
    }
    #seccion_vida_egresados .eg_marco {
        height: 330px;
        min-height: 330px;
        max-height: 330px;
        flex-basis: 330px;
    }
}

@media (max-width: 480px) {
    #seccion_vida_egresados .eg_carrusel { padding: 0 12px; }
    #seccion_vida_egresados .eg_pista { gap: 16px; }
    #seccion_vida_egresados .eg_tarjeta {
        flex-basis: min(78vw, 220px);
        width: min(78vw, 220px);
        min-width: min(78vw, 220px);
        height: 420px;
        min-height: 420px;
        max-height: 420px;
        padding: 9px;
    }
    #seccion_vida_egresados .eg_marco {
        height: 310px;
        min-height: 310px;
        max-height: 310px;
        flex-basis: 310px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #seccion_vida_egresados .eg_pista,
    #seccion_vida_egresados .eg_tarjeta {
        transition-duration: 0.01ms !important;
    }
}
