/**
 * Theme Name: Plantilla UTP - PREGRADOS nextgen
 * Theme URI: https://educacion.utp.edu.co/
 * Author: Centro de Recusos Informáticos y Educativos
 * Author URI: https://www.utp.edu.co
 * Description: Tema desarrollado para los pregrados de la Universidad Tecnológica de Pereira desde el centro de recusos informáticos y educativos
 * Version: 3.0.0
 * License: UTP
 * License URI: https://www.utp.edu.co
 * Text Domain: utp
 * Domain Path:
 * Tags: reacreditación, Centro, Recusos, Informáticos, Educativos, facultades, institucional, industrial, mecanica, ingenierías, ingenierias, artes, musica, música, agro, agroindustria, ciencias, ambientales, ambiental, educación, empresariales, salud, facultad, facultades, básicas, basicas, tecnología, tecnologia, agrarias
 * Text Domain: Universidad Tecnológica de Pereira
*/

/* ==========================================================================
   SECCIÓN 1: BASE — BODY, ENLACES Y TIPOGRAFÍA
   ========================================================================== */

/* ==========================================================================
   SECCIÓN 2: HEADER — BOTÓN ACCESIBILIDAD
   ========================================================================== */
.accesibilidad {
  color: var(--institucional) !important;
  background-color: white !important;
  border: 1px solid var(--institucional) !important;
}
.accesibilidad:hover {
  color: var(--blanco) !important;
  background-color: var(--institucional-hover) !important;
  border-color: var(--institucional-hover) !important;
}


/* ==========================================================================
   SECCIÓN 3: HEADER — COLORES DE CABECERA
   ========================================================================== */
.logos-top {
  height: auto !important;
}

.row_cabecera.facultad-educacion,
.menu-institucional.facultad-educacion,
.menu-institucional.facultad-educacion .dropdown-menu {
  background-color: var(--educacion);
}

.offcanvas-header {
    h2 {
      font-weight: bold;
      font-size: 20pt;
    }
}

ul.menu_lateral li>a {
  font-weight: normal !important;
}

.menu-institucional div {
  max-width: 1920px;
}
/* ==========================================================================
   SECCIÓN 4: HEADER — MENÚ INSTITUCIONAL — DROPDOWN MÓVIL (HAMBURGUESA)
   ========================================================================== */
.row_cabecera .dropdown-menu {
  z-index: 1050;
  min-width: 240px;
  max-height: 70vh;
  overflow-y: auto;
  background-color: var(--institucional);
  border: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.row_cabecera .dropdown-menu .dropdown-item {
  color: var(--blanco);
  white-space: normal;
}

.row_cabecera .dropdown-menu .dropdown-item:hover,
.row_cabecera .dropdown-menu .dropdown-item:focus {
  background-color: var(--blanco);
}

/* ==========================================================================
   SECCIÓN 5: HEADER — BUSCADOR INSTITUCIONAL — ESTILO "CRISTAL"
   ========================================================================== */
/* Campo translúcido que se aclara al hacer foco/click */
.buscador-institucional .input-group {
  border-radius: 999px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: background-color var(--transicion), box-shadow var(--transicion), border-color var(--transicion);
  /* Ancho fijo e igual en todas las vistas (ver Secciones 6 y 7) */
  width: 180px;
}

.buscador-institucional .input-group:focus-within {
  background-color: var(--blanco);
  border-color: var(--blanco);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.35);
}

.buscador-institucional .form-control {
  background-color: transparent;
  color: var(--blanco);
  border: 0;
  box-shadow: none !important;
}

.buscador-institucional .form-control::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.buscador-institucional .input-group:focus-within .form-control {
  color: var(--institucional);
}

.buscador-institucional .input-group:focus-within .form-control::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.search-institucional {
  background-color: transparent !important;
  color: var(--blanco);
  border: 0;
  transition: color var(--transicion);
}

.buscador-institucional .input-group:focus-within .search-institucional {
  color: var(--institucional);
}

/* ==========================================================================
   SECCIÓN 6: HEADER — BUSCADOR + IDIOMAS — MENÚ SUPERIOR (DESKTOP)
   ========================================================================== */
/* Menú y buscador comparten el mismo flex, centrados como un bloque */
.menu-buscador-top {
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  flex-wrap: wrap;
}

.menu-buscador-top .menu-top-center {
  margin-bottom: 0;
}

.menu-buscador-top .buscador-institucional {
  flex-shrink: 0;
  border: 0 !important;
  color: var(--blanco) !important;
  font-size: 'Noto Sans', sans-serif !important;
}

.menu-buscador-top .buscador-institucional button {
  border: 0 ;
  color: var(--blanco) ;
  font-size: 'Noto Sans', sans-serif ;
}


.idiomas-institucional {
  font-size: 12pt;
  white-space: nowrap;
}

/* Enlaces ES/EN (shortcode [glt]) en blanco, igual que el resto del menú */
.idiomas-institucional a,
.idiomas-institucional a:visited {
  font-size: 12pt;
  color: var(--blanco);
  text-decoration: none;
  /* Área táctil mínima (WCAG 2.5.8 / Lighthouse "tap-targets") */
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  min-width: 24px;
  justify-content: center;
  padding: 0.25rem;
}

.idiomas-institucional a:hover,
.idiomas-institucional a:focus {
  color: var(--blanco);
  opacity: 0.8;
  font-weight: bold;
  text-decoration: underline;
}

/* ==========================================================================
   SECCIÓN 7: HEADER — BUSCADOR INSTITUCIONAL — MÓVIL/TABLET (DESDE 375PX)
   ========================================================================== */
/* Junto al botón hamburguesa; mismo ancho compacto que en escritorio
   (Sección 5), alineado al borde derecho igual que el selector ES/EN */
.buscador-movil-wrap {
  min-width: 0;
  justify-content: flex-end;
}

.buscador-movil-wrap .buscador-institucional {
  min-width: 0;
}

.buscador-movil-wrap .input-group {
  min-width: 0;
}

.buscador-movil-wrap .form-control {
  min-width: 0;
  padding-left: 0.5rem;
  padding-right: 0.25rem;
}

.buscador-movil-wrap .idiomas-institucional {
  font-size: 0.68rem;
}

/* ==========================================================================
   SECCIÓN 12: MAIN — CONTENEDOR PRINCIPAL
   ========================================================================== */
main {
  margin: 0 auto !important;
  max-width: 1920px !important;
}

/* ==========================================================================
   SECCIÓN 13: FRONT-PAGE — FRASE + FICHA — HERO DE PORTADA (frase-ficha.php)
   ========================================================================== */
.frase-ficha-hero {
    font-family: 'Noto Sans', sans-serif !important;
    background-color: var(--blanco);
    padding: 3rem 0;
}

/* Badge de acreditación */
.frase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background-color: #dbe7f7;
    color: var(--institucional);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 2rem;
    margin-bottom: 1.25rem;
}

.frase-badge--neutral {
    background-color: #E5EAF2;
    color: var(--institucional);
}

.frase-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

/* Contenido editable: título, párrafo y botones */
.frase-content h1,
.frase-content h2 {
    font-size: clamp(2.25rem, 4vw, 5.25rem);
    font-weight: 800;
    color: var(--negro);
    line-height: 1;
    margin-bottom: 1.25rem;
}

.frase-content mark {
    background: none;
    color: var(--educacion);
    padding: 0;
}

.frase-content p {
    font-size: 1.05rem;
    color: var(--negro_claro);
    line-height: 1.6;
    max-width: 52ch;
    margin-bottom: 1.5rem;
}

.frase-content .wp-block-buttons,
.frase-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.frase-content .wp-block-button__link,
.frase-cta-buttons .wp-block-button__link {
    display: inline-block;
    background-color: var(--institucional);
    color: var(--blanco);
    border: 2px solid var(--institucional);
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 0.4rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.frase-content .wp-block-button__link:hover,
.frase-cta-buttons .wp-block-button__link:hover {
    opacity: 0.9;
}

.frase-content .wp-block-button.is-style-outline .wp-block-button__link,
.frase-cta-buttons .wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: var(--institucional);
    border-color: var(--institucional);
}

.frase-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.frase-cta-buttons .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: #f2f4f7;
}

/* Placeholder editorial para cuando la página no tiene contenido aún */
.frase-content-placeholder {
    color: var(--negro_claro);
    font-style: italic;
    padding: 1rem 0;
    border-left: 3px solid #e5e7eb;
    padding-left: 1rem;
}

/* Cifras (semestres / créditos / SNIES) */
.frase-stats {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.frase-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--institucional);
    line-height: 1.1;
}

.frase-stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--negro_claro);
    margin-top: 0.2rem;
}

/* Imagen + tarjeta de modalidad */
.frase-img-wrapper {
    position: relative;
}

/* Imagen oficial del widget "Frase Hero - Imagen", o la imagen por defecto del tema */
.frase-img-widget img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
}

.frase-img-widget .widget9 {
    line-height: 0;
}

.frase-modalidad-card {
    position: absolute;
    left: 1.5rem;
    bottom: -1.5rem;
    background-color: var(--blanco);
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 1.1rem 1.4rem;
    min-width: 220px;
}

.frase-modalidad-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--negro_claro);
    margin-bottom: 0.3rem;
}

.frase-modalidad-valor {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--negro);
    margin-bottom: 0.15rem;
}

.frase-modalidad-sede {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--negro_claro);
    margin-bottom: 0;
}

/* ==========================================================================
   SECCIÓN 14: FRONT-PAGE — FICHA TÉCNICA — BANNER VERDE INSTITUCIONAL (fichaTecnica.php)
   ========================================================================== */
.ficha-tecnica {
    font-family: 'Noto Sans', sans-serif !important;
    background-color: var(--educacion);
    color: var(--blanco);
    padding: 2.50rem 0;
}

.ficha-seccion {
    padding: 0.5rem 2rem;
}

.ficha-label {
    display: block;
    font-size: 12pt;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.ficha-valor {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

.ficha-valor--secundario {
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.88;
    margin-bottom: 0;
}

/* ==========================================================================
   SECCIÓN 15: FRONT-PAGE — INICIA TU PROCESO DE INSCRIPCIÓN (inicia-proceso-inscripcion-nextgen.php)
   ========================================================================== */
.inscripcion-section {
  font-family: 'Noto Sans', sans-serif !important;
  padding: 4rem 0;
  background-color: var(--blanco);
}

/* Imagen con overlay azul */
.inscripcion-img-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  line-height: 0;
  /* elimina espacio bajo la imagen inline */
}

.inscripcion-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inscripcion-img-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 50, 120, 0.25);
  border-radius: inherit;
  pointer-events: none;
}

.inscripcion-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--negro);
  line-height: 1.2;
}

.inscripcion-lead {
  font-size: 1rem;
  color: var(--negro_claro);
  line-height: 1.6;
  max-width: 52ch;
}

/* Lista de pasos */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--negro);
  font-weight: 500;
}

.steps-list li+li {
  margin-top: 1rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border-radius: 50%;
  background-color: var(--educacion);
  color: var(--blanco);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

/* Botones */
.btn-inscripcion-primary {
  background-color: var(--institucional);
  color: var(--blanco);
  border: 2px solid var(--institucional);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 0.4rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-inscripcion-primary:hover,
.btn-inscripcion-primary:focus-visible {
  background-color: var(--institucional);
  border-color: var(--institucional);
  color: var(--blanco);
}

.btn-inscripcion-secondary {
  background-color: #edf0f4;
  color: #1e3a6e;
  border: 2px solid #edf0f4;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 0.4rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-inscripcion-secondary:hover,
.btn-inscripcion-secondary:focus-visible {
  background-color: #d1d5db;
  border-color: #d1d5db;
  color: #1e3a6e;
}

/* ==========================================================================
   SECCIÓN 16: FRONT-PAGE — PERFIL DEL ASPIRANTE — TABS (perfilAspirante.php)
   ========================================================================== */
.perfiles-section {
    font-family: 'Noto Sans', sans-serif !important;
    background-color: #edf0f4;
    padding: 64px 0;
}
.perfiles-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--institucional);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.perfiles-titulo {
    font-size: 46px;
    font-weight: 900;
    color: var(--negro);
    line-height: 1.1;
    margin-bottom: 44px;
}
.perfiles-nav-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 24px;
}
.perfiles-tab-btn {
    display: block;
    padding: 18px 22px;
    background-color: var(--blanco);
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    color: var(--negro);
    text-decoration: none !important;
    border: none;
    transition: background-color 0.2s, color 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.perfiles-tab-btn.active {
    background-color: var(--educacion);
    color: #ffffff !important;
}
.perfiles-tab-btn:hover:not(.active) {
    background-color: #f2f4f7;
    color: var(--negro);
}
.perfiles-card {
    background-color: var(--blanco);
    border-radius: 10px;
    padding: 40px 44px;
    min-height: 280px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.perfiles-card-titulo {
    font-size: 20px;
    font-weight: 800;
    color: var(--negro);
    margin-bottom: 14px;
}
.perfiles-card p {
    font-size: 15px;
    color: #3a3a4a;
    line-height: 1.6;
    margin-bottom: 20px;
}
.perfiles-card ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}
.perfiles-card ul li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 7px 0;
    font-size: 15px;
    color: #2a2a3a;
}
.perfiles-card ul li::before {
    content: '';
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background-color: #d0d5e0;
}

/* Tabs: pane oculto por defecto, visible solo con .active (antes: style="display:none" inline) */
.perfiles-pane {
    display: none;
}
.perfiles-pane.active {
    display: block;
}

/* ==========================================================================
   SECCIÓN 17: FRONT-PAGE — PLAN DE ESTUDIOS — TABLA (planEstudiosPrincipal.php)
   ========================================================================== */
.tabla-plan-estudios-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.tabla-plan-estudios {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    table-layout: fixed !important;
}
.tabla-plan-estudios .col-codigo { width: 90px !important; }
.tabla-plan-estudios .col-creditos { width: 90px !important; }
.tabla-plan-estudios .col-contenido { width: 160px !important; }
.tabla-plan-estudios .col-asignatura { width: auto !important; }

.tabla-plan-estudios thead th,
.tabla-plan-estudios tbody td {
    color: #000000 !important;
    font-weight: 400 !important;
}
.tabla-plan-estudios thead th {
    font-weight: 700 !important;
}

/* ==========================================================================
   SECCIÓN 18: FRONT-PAGE — GRUPOS Y SEMILLEROS (gruposySemilleros.php)
   ========================================================================== */
.gys-seccion { font-family: 'Noto Sans', sans-serif !important; background: #edf0f4; }

/* Caja de depuración (solo visible con ?debug=1) */
.gys-debug-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 10px;
    margin: 10px;
    font-family: monospace;
    font-size: 13px;
}
.gys-debug-clear-link {
    color: #856404;
    font-weight: bold;
}

.gys-img,
.gys-col-imagen img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 520px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.gys-etiqueta {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #1a3679;
    margin-bottom: .5rem;
}

.gys-titulo {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    color: #0d1b3e;
    line-height: 1.2;
    margin-bottom: .75rem;
}

.gys-desc {
    color: #666;
    font-size: .9rem;
    margin-bottom: 1.5rem;
    max-width: 520px;
}

/* Tarjetas de estadística */
.gys-stat {
    background: #fff;
    border-radius: 10px;
    padding: 1.1rem 1.4rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
}

.gys-numero {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    color: #1a3679;
    line-height: 1;
    margin-bottom: .3rem;
}

.gys-stat p {
    margin: 0;
    font-size: .82rem;
    color: #555;
    font-weight: 500;
}

/* Lista de grupos/semilleros */
.gys-lista { display: flex; flex-direction: column; gap: .45rem; }

.gys-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: 10px;
    padding: .75rem 1.1rem;
    box-shadow: 0 1px 5px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}

.gys-item:hover { box-shadow: 0 3px 12px rgba(0,0,0,.1); }

.gys-nombre {
    font-size: .88rem;
    font-weight: 600;
    color: #1a1a2e;
    flex: 1;
}

.gys-nombre a { color: inherit; text-decoration: none; }
.gys-nombre a:hover { color: #1a3679; text-decoration: underline; }

.gys-badge {
    flex-shrink: 0;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #1a3679;
    background: #e4eaf5;
    border-radius: 10px;
    padding: .28rem .85rem;
    white-space: nowrap;
}

/* Botones de navegación del carrusel */
.gys-nav { display: flex; gap: .4rem; margin-top: .75rem; }

.gys-btn-nav {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a3679;
    transition: background .15s;
    padding: 0;
}

.gys-btn-nav:hover { background: #e4eaf5; }

/* ==========================================================================
   SECCIÓN 19: FRONT-PAGE — TARJETAS DE NOTICIAS (noticias-news-nextgen.php /
   noticiasEntradas.php / category.php — las 3 comparten el namespace .noticias-entradas)
   ========================================================================== */
/* Encabezado "Actualidad / Ver todo" — solo lo usa la home (noticias-news-nextgen.php) */
.noticias-entradas .section-label {
  font-family: 'Noto Sans', sans-serif !important;
  color: var(--institucional, #005fab);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.noticias-entradas .ver-todo {
  font-family: 'Noto Sans', sans-serif !important;
  color: var(--institucional, #005fab);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.noticias-entradas .ver-todo:hover { text-decoration: underline; }

.noticias-entradas .card {
  border: 1px solid #e4e8ed;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.noticias-entradas .card:hover { box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1); }

.noticias-entradas .card-img-top {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.noticias-entradas .card-img-placeholder {
  /* height: 220px; */
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
}

.noticias-entradas .card-img-placeholder svg {
  width: 2.5rem;
  height: 2.5rem;
  opacity: .5;
}

.noticias-entradas .card-img-placeholder span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  /* text-transform: uppercase; */
  opacity: .6;
}

.noticias-entradas .badge-cat {
  font-family: 'Noto Sans', sans-serif !important;
  background-color: #CBD8E4;
  border-radius: .35rem;
  color: var(--institucional);
  font-size: 1rem;
  font-weight: 700;
  /* letter-spacing: .07em; */
  padding: .2rem .5rem;
  /* text-transform: uppercase; */
  white-space: nowrap;
}

.noticias-entradas .post-date {
  color: var(--negro-claro);
  font-size: 1rem;
  white-space: nowrap;
}

.noticias-entradas .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.noticias-entradas .card-excerpt {
  color: var(--texto-secundario, #333);
  font-size: .95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noticias-entradas .leer-mas {
  color: var(--institucional, #005fab);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.noticias-entradas .leer-mas:hover { text-decoration: underline; }

/* ==========================================================================
   SECCIÓN 20: FRONT-PAGE — VIDEO / CTA INSTITUCIONAL (videoNextgen.php)
   ========================================================================== */
.seccion-cta-utp {
  font-family: 'Noto Sans', sans-serif !important;
  background: #edf0f4
;
}

.seccion-cta-utp .widget2,
.seccion-cta-utp .widget2 .textwidget {
  height: 100%;
  line-height: 0;
}

.seccion-cta-utp .widget2 iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .35);
  line-height: 0;
}

.seccion-cta-utp .widget7,
.seccion-cta-utp .widget7 .textwidget {
  color: #313030;
}

.seccion-cta-utp .widget7 h2,
.seccion-cta-utp .widget7 h3 {
  font-size: 3rem;
  font-weight: 700;
  color: #313030;
}

.seccion-cta-utp .widget7 p {
  color: #313030;
  font-weight: 600;
}

/* Placeholder cuando el widget de video no está configurado */
.cta-video-placeholder {
  aspect-ratio: 16/9;
}

/* ==========================================================================
   SECCIÓN 21: RESPONSIVE — MEDIA QUERIES (MOBILE FIRST DESDE 375PX)
   Todas las media queries del archivo viven aquí, sin importar de qué
   sección sea la clase. Primero las excepciones con max-width (ajustes
   solo para pantallas angostas, sin contraparte de escritorio), luego el
   cascade del equipo en min-width ascendente:
   576 → 768 → 992 → 1200 → 1400 → 1600.
   ========================================================================== */

/* Excepción — Sección 14 (Ficha Técnica): borde solo en las primeras 2 celdas en móvil */

/* Comienza estilos ficha tecnica page*/
.articulo.borde_inferior > div:nth-child(odd), .tab-content > div > div:nth-child(odd) {
    background-color: #f9f9f9;
}

.articulo.borde_inferior > div, .tab-content > div > div {
    border-top: 1px solid #ddd;
}
/* Termina estilos ficha tecnica page*/

@media (max-width: 575px) {
  .ficha-seccion {
    padding: 0.75rem 1rem;
  }

  .ficha-seccion:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}

/* Excepción — Sección 9 (Botón offcanvas): sin contraparte de escritorio en
   este archivo (usa defaults de Bootstrap/generales.css remoto), se deja
   acotado a su rango original */
@media (max-width: 575.98px) {

  .btnMenuLateral p {
    display: none;
  }
}

/* Excepción — Sección 13 (Frase + Ficha): la tarjeta de modalidad vuelve al
   flujo normal en pantallas medianas hacia abajo */
@media (max-width: 991px) {
  .frase-modalidad-card {
    position: static;
    margin-top: 1rem;
  }
}

@media (min-width: 992px) {
  /* Sección 15 (Inicia tu proceso de inscripción) */
  .inscripcion-img-wrapper {
    height: 550px;
    /* min-height: 420px; */
  }
}
