/* ============================================================================
   INDEX ITESHU - ESTILOS PERSONALIZADOS
   Mantiene Bootstrap / Font Awesome existentes y solo controla el contenido
   del nuevo index.
   ============================================================================ */
:root {
  --iteshu-blue: #1B396A;
  --iteshu-wine: #611232;
  --iteshu-gray: #D6D3D3;
  --iteshu-green: #476E52;
  --iteshu-white: #FFFFFF;

  --primary-color: var(--iteshu-blue);
  --primary-hover: #142b50;
  --secondary-color: var(--iteshu-green);
  --accent-color: var(--iteshu-wine);
  --bg-light: #f6f6f6;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-muted: #666666;
  --border-color: var(--iteshu-gray);

  --shadow-sm: 0 2px 8px rgba(27, 57, 106, 0.08);
  --shadow-md: 0 5px 16px rgba(27, 57, 106, 0.12);
  --shadow-lg: 0 10px 28px rgba(27, 57, 106, 0.15);
  --radius: 6px;
}

.main-new-wrapper {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.5;
  padding-top: 3em;
}

.main-new-wrapper * {
  box-sizing: border-box;
}

/* Títulos de sección */
.section-title-custom {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  color: var(--iteshu-blue);
  text-transform: uppercase;
  margin: 0 0 28px;
  padding: 0 0 11px;
  border-bottom: 2px solid var(--iteshu-gray);
  text-align: left;
  letter-spacing: .2px;
}

.section-title-custom:after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  background: var(--iteshu-wine);
  position: absolute;
  left: 0;
  bottom: -2px;
}

/* ============================================================================
   HERO SLIDER
   ============================================================================ */
.hero-section {
  position: relative;
  margin: 0 0 28px;
  background: var(--iteshu-white);
  
}

.hero-slider-container {
  position: relative;
  min-height: 600px;
  width: 100%;
  /* max-width: 1600px;*/
  overflow: hidden;
  margin: 0 auto;
  background: var(--iteshu-white);
}

.mySlides {
  display: none;
  width: 100%;
  margin: 0;
}

.mySlides:first-child {
  display: block;
}

.hero-slide-btn {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: block;
  width: 100%;
}

.hero-slide-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0 auto;
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27, 57, 106, .88);
  color: #fff;
  border: 0;
  padding: 11px 16px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  z-index: 10;
}

.hero-nav-btn:hover,
.hero-nav-btn:focus {
  background: var(--iteshu-blue);
  color: #fff;
  outline: none;
}

.hero-nav-prev { left: 12px; border-radius: 3px; }
.hero-nav-next { right: 12px; border-radius: 3px; }

/* ============================================================================
   NOTICIAS Y CONVOCATORIAS
   ============================================================================ */
.news-events-section {
	margin-top: 4em;
  padding: 15px 0 42px;
  background: #fff !important;
}

.custom-news-item {
  background: var(--bg-white);
  border: 1px solid var(--iteshu-gray);
  border-left: 3px solid var(--iteshu-blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  padding: 15px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.custom-news-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--iteshu-blue);
}

.custom-news-img {
  display: block;
  width: 100%;
  max-height: 145px;
  object-fit: cover;
  border-radius: 4px;
}

.custom-news-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--iteshu-blue);
  margin: 0 0 7px;
}

.custom-news-text {
  font-size: 13px;
  color: var(--text-muted);
  max-height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.btn-custom-more {
  background: var(--iteshu-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 3px;
  border: 0;
  transition: background .25s ease;
}

.btn-custom-more:hover,
.btn-custom-more:focus {
  background: var(--iteshu-blue);
  color: #fff;
}

.btn-custom-link {
  color: var(--iteshu-blue);
  font-weight: 600;
}

.btn-custom-link:hover {
  color: var(--iteshu-gray);
  font-weight: 600;
}

.custom-notice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-notice-card {
  display: block;
  background: #fff;
  border: 1px solid var(--iteshu-gray);
  border-left: 3px solid var(--iteshu-green);
  border-radius: var(--radius) !important;
  padding: 13px 15px;
  color: var(--text-dark);
  text-decoration: none !important;
  transition: all .25s ease;
  box-shadow: var(--shadow-sm);
}

.custom-notice-card:hover {
  border-left-color: var(--iteshu-blue);
  background: #fff;
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
}

.notice-card-heading {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  color: var(--iteshu-blue);
  line-height: 1.45;
}

.notice-card-heading .fa {
  color: var(--iteshu-blue);
  margin-right: 5px;
}

/* ============================================================================
   ESTUDIANTES
   ============================================================================ */
.students-section {
  padding: 42px 0;
  background: #f8f8f8;
  border-top: 1px solid var(--iteshu-gray);
  border-bottom: 1px solid var(--iteshu-gray);
}

.student-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--iteshu-gray);
  margin-bottom: 20px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.student-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.student-card-img {
  padding: 15px;
  background: #fff;
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.student-card-img img {
  max-height: 112px;
  width: auto;
  max-width: 100%;
}

.student-card-body {
  background: var(--iteshu-blue);
  padding: 10px;
  min-height: 43px;
}

.student-card-body a {
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.student-card:hover .student-card-body {
  background: var(--iteshu-blue);
}

/* ============================================================================
   ACREDITACIONES / CERTIFICACIONES / INCORPORACIONES
   ============================================================================ */
.carousel-section {
  padding: 48px 0 50px;
  background: #fff !important;
  border-top: 1px solid #eee;
}

.carousel-section > .container > .section-title-custom {
  text-align: center;
  margin-bottom: 28px;
}

.carousel-section > .container > .section-title-custom:after {
  left: 50%;
  transform: translateX(-50%);
}

/* =========================================================
   RECONOCIMIENTOS - FUNCIONA CON O SIN JAVASCRIPT
   ========================================================= */
.iteshu-reconocimientos {
  width: 100%;
  margin: 0;
  padding: 10px 35px 20px;
  background: #fff;
  overflow: hidden;
}

.iteshu-reconocimientos-carousel {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}

/* MODO SIN JAVASCRIPT */
.iteshu-reconocimientos-carousel:not(.owl-loaded) {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  visibility: visible !important;
  opacity: 1 !important;
  scrollbar-width: thin;
}

.iteshu-reconocimientos-carousel:not(.owl-loaded) .iteshu-reconocimiento-item {
  flex: 0 0 150px;
  width: 150px;
  min-width: 150px;
  height: 150px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  opacity: 1 !important;
}

.iteshu-reconocimiento-logo {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.iteshu-reconocimiento-logo img {
  display: block;
  width: 128px !important;
  height: 128px !important;
  max-width: 128px !important;
  max-height: 128px !important;
  object-fit: contain;
  margin: 0 auto !important;
  opacity: 1 !important;
  filter: none !important;
  transition: transform .25s ease;
}

.iteshu-reconocimiento-logo img:hover {
  transform: scale(1.06);
}

/* CUANDO OWL CAROUSEL SÍ ESTÁ DISPONIBLE */
.iteshu-reconocimientos-carousel.owl-loaded {
  display: block !important;
  width: 100%;
}

.iteshu-reconocimientos-carousel.owl-loaded .owl-stage {
  display: flex;
  align-items: center;
}

.iteshu-reconocimientos-carousel.owl-loaded .owl-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.iteshu-reconocimientos-carousel.owl-loaded .iteshu-reconocimiento-item {
  width: 100%;
  height: 150px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.iteshu-reconocimientos-carousel.owl-loaded .iteshu-reconocimiento-logo {
  width: 140px;
  height: 140px;
}

.iteshu-reconocimientos-carousel.owl-loaded .iteshu-reconocimiento-logo img {
  width: 128px !important;
  height: 128px !important;
  max-width: 128px !important;
  max-height: 128px !important;
}


/* PUNTOS */
.iteshu-reconocimientos-carousel .owl-dots {
  margin-top: 12px;
  text-align: center;
}

.iteshu-reconocimientos-carousel .owl-dot span {
  width: 8px !important;
  height: 8px !important;
  margin: 4px !important;
}

.iteshu-reconocimientos-carousel .owl-dot.active span {
  background: #476E52 !important;
}

@media (max-width: 767px) {
  .iteshu-reconocimientos {
    padding-left: 15px;
    padding-right: 15px;
  }

  .iteshu-reconocimientos-carousel:not(.owl-loaded) {
    justify-content: flex-start;
    gap: 12px;
  }

  .iteshu-reconocimientos-carousel:not(.owl-loaded) .iteshu-reconocimiento-item {
    flex: 0 0 140px;
    width: 140px;
    min-width: 140px;
    height: 140px;
  }

  .iteshu-reconocimiento-logo {
    width: 128px;
    height: 128px;
  }

  .iteshu-reconocimiento-logo img {
    width: 128px !important;
    height: 128px !important;
  }
}

/* ============================================================================
   SEGUNDO CARRUSEL - ENLACES INSTITUCIONALES
   ============================================================================ */
.iteshu-enlaces {
  width: 100%;
  margin: 0;
  padding: 8px 38px;
  background: var(--iteshu-blue);
  overflow: hidden;
}

.iteshu-enlaces-carousel {
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.iteshu-enlaces-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.iteshu-enlaces-carousel .owl-item {
  display: flex;
  align-items: stretch;
}

.iteshu-enlace-item {
  width: 100%;
  min-height: 120px;
  padding: 8px 12px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.iteshu-enlace-logo {
  width: 100%;
  height: 105px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent;
  text-decoration: none !important;
}

.iteshu-enlace-logo img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 205px !important;
  max-height: 82px !important;
  object-fit: contain;
  margin: 0 auto !important;
  opacity: 1;
  filter: none !important;
  transition: transform .25s ease;
}

.iteshu-enlace-logo:hover img {
  transform: scale(1.04);
}

/* PUNTOS - ENLACES INSTITUCIONALES */
.iteshu-enlaces-carousel .owl-dots {
  margin-top: 4px !important;
  text-align: center;
}

.iteshu-enlaces-carousel .owl-dot span {
  width: 7px !important;
  height: 7px !important;
  margin: 4px !important;
  background: var(--iteshu-gray) !important;
}

.iteshu-enlaces-carousel .owl-dot.active span {
  background: var(--iteshu-green) !important;
}

.iteshu-enlaces-carousel:not(.owl-loaded) {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 8px;
  scrollbar-width: thin;
}

.iteshu-enlaces-carousel:not(.owl-loaded) .iteshu-enlace-item {
  flex: 0 0 19%;
}

/* RESPONSIVE - ENLACES INSTITUCIONALES */
@media (max-width: 991px) {
  .iteshu-enlaces {
    padding-left: 30px;
    padding-right: 30px;
  }

  .iteshu-enlace-item {
    min-height: 112px;
  }

  .iteshu-enlace-logo {
    height: 96px;
  }

  .iteshu-enlace-logo img {
    max-width: 175px !important;
    max-height: 72px !important;
  }
}

@media (max-width: 767px) {
  .iteshu-enlaces {
    padding-left: 25px;
    padding-right: 25px;
  }

  .iteshu-enlace-item {
    min-height: 105px;
    padding: 6px 10px;
  }

  .iteshu-enlace-logo {
    height: 90px;
  }

  .iteshu-enlace-logo img {
    max-width: 150px !important;
    max-height: 65px !important;
  }
}

@media (max-width: 480px) {
  .iteshu-enlace-logo img {
    max-width: 135px !important;
    max-height: 60px !important;
  }
}

/* ============================================================================
   SERVICIOS RÁPIDOS
   ============================================================================ */
.services-grid-section {
  background: #f7f7f7;
  padding: 34px 0 30px;
  color: var(--text-dark);
  border-top: 1px solid var(--iteshu-gray);
  border-bottom: 1px solid var(--iteshu-gray);
}

.service-icon-box {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--iteshu-blue) !important;
  text-decoration: none !important;
  padding: 12px 5px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .25s ease;
}

.service-icon-box:hover {
  background: #fff;
  border-color: var(--iteshu-gray);
  box-shadow: var(--shadow-sm);
  color: var(--iteshu-blue) !important;
}

.service-icon {
  font-size: 26px;
  color: var(--iteshu-blue);
  background: #fff;
  border: 1px solid var(--iteshu-gray);
  width: 56px;
  height: 56px;
  line-height: 54px;
  border-radius: 50%;
  margin-bottom: 9px;
  transition: all .25s ease;
}

.service-icon-box:hover .service-icon {
  transform: scale(1.05);
}

.service-icon-box span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

/* ============================================================================
   CONTACTO
   ============================================================================ */
.contact-section {
  padding: 52px 0 58px;
  background: #f7f7f7 !important;
  border-top: 1px solid var(--iteshu-gray);
}

.contact-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}

.contact-section-heading .section-title-custom {
  margin-bottom: 0;
  min-width: 220px;
}

.contact-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--iteshu-wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.contact-intro {
  max-width: 350px;
  margin: 0 0 8px;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.contact-layout {
  display: flex;
  align-items: stretch;
  min-height: 390px;
  background: #fff;
  border: 1px solid var(--iteshu-gray);
  box-shadow: 0 7px 22px rgba(27,57,106,.08);
}

.contact-map-area {
  position: relative;
  flex: 1 1 60%;
  min-width: 0;
  overflow: hidden;
  background: #e9e9e9;
}

.contact-map-area iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}

.contact-map-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 15px;
  background: rgba(255,255,255,.96);
  border-left: 3px solid var(--iteshu-wine);
  box-shadow: 0 4px 13px rgba(0,0,0,.12);
}

.contact-map-label .fa-solid {
  color: var(--iteshu-wine);
  font-size: 19px;
}

.contact-map-label strong,
.contact-map-label span {
  display: block;
}

.contact-map-label strong {
  color: var(--iteshu-blue);
  font-size: 12px;
}

.contact-map-label span {
  color: #666;
  font-size: 11px;
  margin-top: 2px;
}

.contact-info-panel {
  position: relative;
  flex: 0 0 40%;
  padding: 34px 34px 30px;
  background: #fff;
  border-left: 4px solid var(--iteshu-blue);
}

.contact-brand-row {
  margin-bottom: 12px;
}

.contact-logo {
  display: block;
  max-width: 205px;
  max-height: 70px;
  width: auto;
  margin: 0;
}

.contact-institution {
  max-width: 320px;
  margin: 0 0 24px;
  color: var(--iteshu-blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-data-list {
  border-top: 1px solid #e7e7e7;
}

.contact-data-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #e7e7e7;
  color: var(--text-dark) !important;
  text-decoration: none !important;
  line-height: 1.45;
  font-size: 12px;
}

.contact-data-item:hover {
  color: var(--iteshu-blue) !important;
}

.contact-data-item small {
  display: block;
  margin-bottom: 2px;
  color: #888;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.contact-data-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--iteshu-blue);
  border: 1px solid var(--iteshu-gray);
  background: #fafafa;
  border-radius: 50%;
}

.contact-social-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}

.contact-social-title {
  color: var(--iteshu-blue);
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-linksindex {
  display: flex;
  gap: 7px;
  margin: 0;
}

.social-btnindex {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--iteshu-gray);
  color: var(--iteshu-blue) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all .2s ease;
}

.social-btnindex:hover {
  background: var(--iteshu-blue);
  border-color: var(--iteshu-blue);
  color: #fff !important;
  transform: translateY(-2px);
}

/* ============================================================================
   ENLACES DE INTERÉS
   ============================================================================ */
.links-footer-section {
  background: #f4f4f4;
  color: var(--text-dark);
  padding: 38px 0 32px;
  border-top: 4px solid var(--iteshu-blue);
}

.link-column-title {
  color: var(--iteshu-blue);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 15px;
  border-bottom: 2px solid var(--iteshu-wine);
  padding-bottom: 6px;
  display: inline-block;
}

.custom-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-links-list li {
  margin-bottom: 7px;
}

.custom-links-list a {
  color: #555;
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease;
}

.custom-links-list a:hover {
  color: var(--iteshu-blue);
}

/* ============================================================================
   MODALES
   ============================================================================ */
.custom-modal-content {
  border-radius: var(--radius);
  border: 1px solid var(--iteshu-gray);
  overflow: hidden;
}

.custom-modal-header {
  background: var(--iteshu-blue);
  color: #fff;
  border-bottom: 0;
}

.custom-modal-header .close {
  color: #fff;
  opacity: .9;
}

.custom-modal-body {
  background: #fff;
  color: #333 !important;
  font-size: 14px;
  line-height: 1.65;
}

.custom-modal-body p,
.custom-modal-body label,
.custom-modal-body strong,
.custom-modal-body span,
.custom-modal-body li {
  color: #333;
}

.custom-modal-footer {
  background: #f5f5f5;
  border-top: 1px solid var(--iteshu-gray);
}

.btn-custom-close {
  background: var(--iteshu-gray);
  border: 1px solid #c5c2c2;
  color: var(--text-dark);
}

.btn-custom-close:hover,
.btn-custom-close:focus {
  background: var(--iteshu-blue);
  border-color: var(--iteshu-blue);
  color: #fff;
}

.btn-custom-submit {
  background: var(--iteshu-blue);
  color: #fff;
  border: 0;
  padding: 8px 20px;
}

.btn-custom-submit:hover,
.btn-custom-submit:focus {
  background: var(--iteshu-blue);
  color: #fff;
}

/* ============================================================================
   RESPONSIVE GENERAL
   ============================================================================ */
@media (max-width: 991px) {
  .hero-slide-img {
    max-height: 420px;
  }

  .section-title-custom {
    font-size: 20px;
  }

  .carousel-group {
    padding: 15px 12px 18px;
  }

  .recognition-card,
  .institutional-link-card {
    min-height: 105px;
  }

  .recognition-card img,
  .institutional-link-card img {
    max-height: 68px;
  }
	.hero-slider-container {
    min-height: 0 !important;
    height: auto !important;
  }

  .hero-slide-img {
    max-height: 420px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    margin-bottom: 18px;
	  margin-top: 4rem;
  }

  .hero-slide-img {
    max-height: 300px;
  }

  .hero-nav-btn {
    padding: 9px 12px;
    font-size: 17px;
  }

  .hero-nav-prev { left: 6px; }
  .hero-nav-next { right: 6px; }

  .news-events-section,
  .students-section,
  .carousel-section,
  .contact-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .section-title-custom {
    font-size: 18px;
    margin-bottom: 22px;
  }

  .service-icon-box {
    min-height: 108px;
    margin-bottom: 5px;
  }

  .contact-info-card {
    margin-bottom: 20px;
  }

  .links-footer-section .col-sm-4 {
    margin-bottom: 25px;
  }

  /* Contacto Responsive */
  .contact-section-heading {
    display: block;
  }

  .contact-intro {
    margin-top: 10px;
    text-align: left;
  }

  .contact-layout {
    display: block;
  }

  .contact-map-area,
  .contact-info-panel {
    width: 100%;
  }

  .contact-map-area iframe {
    min-height: 280px;
    height: 280px;
  }

  .contact-info-panel {
    border-left: 0;
    border-top: 5px solid var(--iteshu-blue);
    padding: 26px 22px 24px;
  }

  .contact-social-block {
    align-items: flex-start;
  }
	
  .custom-news-item {
	margin-inline: 3px;
  }
}

/* =========================================================
   NOTICIAS EN MÓVIL - IMAGEN + INFORMACIÓN EN UNA SOLA FILA
   ========================================================= */
@media (max-width: 767px) {

  .custom-news-item {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    margin-left: 3px;
    margin-right: 3px;
    padding: 10px;
  }

  .custom-news-img-col {
    width: 38% !important;
    flex: 0 0 38% !important;
    padding-left: 5px !important;
    padding-right: 8px !important;
  }

  .custom-news-content {
    width: 62% !important;
    flex: 0 0 62% !important;
    padding-left: 8px !important;
    padding-right: 5px !important;
  }

  .custom-news-title {
    font-size: 14px;
    line-height: 1.3;
    margin: 0 0 6px;
  }

  .custom-news-text {
    font-size: 12px;
    line-height: 1.4;
    max-height: 50px;
    margin-bottom: 8px;
  }

  .custom-news-img {
    width: 100%;
    height: 110px;
    max-height: 110px;
    object-fit: cover;
    margin: 0;
  }

  .btn-custom-more {
    font-size: 11px;
	  width:100%;
    padding: 5px 10px;
  }

}

@media (max-width: 480px) {
  .hero-slide-img {
    max-height: 230px;
  }

  .student-card-img {
    height: 125px;
  }

  .student-card-img img {
    max-height: 95px;
  }
}


/* ==========================================================================
   WIDGET DE CONVOCATORIAS FLOTANTE EN ESQUINA INFERIOR DERECHA
   ========================================================================== */

/* Tarjeta Flotante Fija en Esquina Derecha */
.convocatoria-floating-card {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 380px;
    max-width: calc(100vw - 30px);
    background-color: #F8F9FA;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 99990 !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.convocatoria-floating-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Encabezado Azul */
.convocatoria-card-header {
    background-color: #1B396A;
    color: #FFFFFF;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-title-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: Arial, sans-serif;
    color: #FFFFFF;
}

.dot-gold {
    color: #E6A100;
    font-size: 12px;
}

/* Controles de Navegación */
.header-nav-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-nav-arrow {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s ease;
}

.btn-nav-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.btn-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Animación de Pulso para llamar la atención en "Siguiente" */
@keyframes pulse-gold {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 161, 0, 0.8);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(230, 161, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 161, 0, 0);
    }
}

.btn-nav-arrow.pulse-anim {
    animation: pulse-gold 1.6s infinite;
    background-color: #E6A100 !important;
    color: #1B396A !important;
    border-color: #E6A100 !important;
}

/* Botón 'X' Cierre */
.btn-close-widget {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    margin-left: 4px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.btn-close-widget:hover {
    opacity: 1;
}

/* Cuerpo del Widget */
.convocatoria-card-body {
    padding: 14px;
}

.convocatoria-slide {
    display: none;
}

.convocatoria-slide.active {
    display: block;
    animation: fadeInSlide 0.3s ease;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.convocatoria-img-box {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.convocatoria-img-box img {
    width: 100%;
    height: auto;
    display: block;
}

.convocatoria-title {
    color: #1B396A;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    font-family: Arial, sans-serif;
}

.convocatoria-desc {
    color: #555555;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 14px;
    font-family: Arial, sans-serif;
}

/* Botones de Acción */
.convocatoria-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.btn-obtener-ficha {
    background-color: #1B396A;
    color: #FFFFFF !important;
    padding: 8px 16px;
    width: 100%;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center; 
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-obtener-ficha:hover {
    background-color: #152d54;
    transform: translateY(-1px);
}

.btn-text-cerrar {
    background: transparent;
    border: none;
    color: #6C757D;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 8px;
}

.btn-text-cerrar:hover {
    color: #1B396A;
}

/* Registro de variable para suavizar el zoom mediante CSS */
@property --pill-scale {
    syntax: '<number>';
    inherits: true;
    initial-value: 1;
}

/* Animación de flotado combinada con el factor de escala */
@keyframes pillFloat {
    0% {
        transform: translateY(0) scale(var(--pill-scale, 1));
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: translateY(-4px) scale(var(--pill-scale, 1));
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    }
    100% {
        transform: translateY(0px) scale(var(--pill-scale, 1));
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

/* Botón Píldora Reabrir (Esquina Inferior Derecha) */
.convocatoria-pill-btn {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 99989 !important;
    background-color: #1B396A;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 8px 28px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 550;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
	
	--pill-scale: 1;
	will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
	
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease, border-color 0.2s ease, --pill-scale 0.25s ease;
    outline: none !important;
}

/* Estado visible: animación activa de forma continua */
.convocatoria-pill-btn.visible {
    opacity: 1;
    visibility: visible;
    animation: pillFloat 3s ease-in-out infinite;
}

/* Hover: Leve zoom (+6%) sin detener el flotado */
.convocatoria-pill-btn:hover {
    background-color: #152d54;
    --pill-scale: 1.06;
}


/* ==========================================================================
   PAGINACIÓN DE CONVOCATORIAS (BOOTSTRAP)
   ========================================================================== */
.iteshu-pagination {
  margin: 0 0 10px 0;
}

.iteshu-pagination > li > a,
.iteshu-pagination > li > span {
  color: var(--iteshu-blue);
  border-color: var(--iteshu-gray);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 13px;
  transition: all 0.2s ease;
}

.iteshu-pagination > li > a:hover,
.iteshu-pagination > li > a:focus {
  color: var(--iteshu-blue);
  background-color: #eef3f8;
  border-color: var(--iteshu-blue);
}

.iteshu-pagination > .active > a,
.iteshu-pagination > .active > a:hover,
.iteshu-pagination > .active > a:focus {
  background-color: var(--iteshu-blue);
  border-color: var(--iteshu-blue);
  color: #ffffff;
}

.iteshu-pagination > .disabled > a,
.iteshu-pagination > .disabled > a:hover,
.iteshu-pagination > .disabled > a:focus {
  color: #999999;
  background-color: #f8f9fa;
  border-color: var(--iteshu-gray);
  cursor: not-allowed;
}



/* Cintillo de Día de Muertos fijo al borde inferior */
.cintillo-footer {
    position: fixed;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 32px;

    background-image: url('/iteshu/images/cintilloNavidad.png');
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: auto 100%;

    z-index: 1040;
    pointer-events: none;
}

/* Ajustes para celulares */
@media (max-width: 767px) {
    .cintillo-footer {
        height: 50px;
        background-size: auto 100%;
    }
}

