@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
:root {
  --azul-principal: #004171;
  --azul-secundario1: #0d5575;
  --azul-secundario2: #297ba2;
  --azul-secundario3: #389eb0;
  --color-destacado: #FF9154;
  --gris-fondo: #f9f9f9;
}
/* HOME */
/*--------------------------------------------
     SECCIÓN ORIENTACIÓN AL ESTUDIANTE 
---------------------------------------------*/
.orientacion-estudiante {
    background-color: var(--azul-principal);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom:0;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 0;
    opacity: 0;
    transform: translateX(-150px);
    filter: blur(8px);
    transition:
        opacity .8s ease-out,
        transform .8s cubic-bezier(0.16, 1, 0.3, 1),
        filter .8s ease-out;
}

.orientacion-estudiante.animar {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

.orientacion-estudiante h2 {
    font-size: 1.8rem;
    color: #00FCDF;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
}

.contacto-estudiante {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--gris-fondo);
}

.contacto-item i {
    font-size: 1.3rem;
    color: var(--gris-fondo);
}

.contacto-item a {
    color: var(--gris-fondo);
    text-decoration: none;
    transition: color 0.2s;
}

.contacto-item a:hover {
    color: var(--color-destacado);
}
.grupo-inferior {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

/* ==========================
   SECCIÓN BANNER BIENESTAR
========================== */
.ingresantes {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    min-height: 450px;
    background: #587D35;
    overflow: hidden;
    align-items: stretch;
}

.ingresantes-contenido {
    flex: 1.6;
    padding: 4rem 5rem;;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ingresantes-titulo {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: block;  
    width: 100%;
}

.ingresantes-titulo::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 120px;  
    height: 4px;
    background: #fff;
    border-radius: 999px;
}

.ingresantes-descripcion {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
}

.ingresantes-descripcion p {
    margin-bottom: 1rem;
}

.ingresantes-imagen {
    flex: 1.4;
    min-width: 500px;
}

.ingresantes-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boton-ingresantes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 1.5rem;
    padding: 12px 24px;
    background: #fff;
    color: var(--azul-principal);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.boton-ingresantes:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

.ingresantes-descripcion a {
    display: inline-block;
    margin-top: .5rem;
    padding: 10px 20px;
    background: #fff;
    color: var(--azul-principal);
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: .3s;
}

.ingresantes-descripcion a:hover {
    transform: translateY(-2px);
}

/* ==========================
   SECCIÓN UNIDADES ACADÉMICAS
============================== */
.carrusel-unidades {
    padding: 30px 0 50px;
}

.unidades-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.unidad-card {
    position: relative;
    height: 220px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    transition: all .3s ease;
}

.unidad-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.unidad-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.unidad-card img {
    width: 80%;
    height: 140px;
    object-fit: contain;
    transition: all .4s ease;
}

.unidad-card:hover img {
    transform: scale(.92);
    opacity: .15;
}

.unidad-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 59, 112, .92);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    text-align: center;
    opacity: 0;
    transition: all .35s ease;
}

.unidad-card:hover .unidad-overlay {
    opacity: 1;
}

.unidad-overlay h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
}

.unidad-overlay span {
    display: inline-block;
    color: #fff;
    font-size: .9rem;
    font-weight: 400;
    padding: 10px 18px;
    border: 2px solid var(--azul-secundario3);
    border-radius: 30px;
    transition: all .3s ease;
}

.unidad-card:hover .unidad-overlay span {
    background: var(--gris-fondo);
    color: var(--azul-principal);

}

/* ==========================
   SECCIÓN BANNER BRUJULA
========================== */
.orientacion-destacada {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0 40px;
}

.orientacion-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 1300px;
    margin: 0 auto;
    background: var(--gris-fondo);
    border-radius: 20px;
    overflow: hidden;
    min-height: 320px;
}

.orientacion-media {
    flex: 0 0 280px;
    width: 280px;
    aspect-ratio: auto;
    border-radius: 0;
    flex-shrink: 0;
    overflow: hidden;
}

.orientacion-media img,
.orientacion-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.orientacion-contenido {
    flex: 1;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.orientacion-titulo {
    position: relative;
    font-size: 2.3rem;
    margin-bottom: 30px;
    color: var(--azul-principal) ;
}

.orientacion-titulo::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 120px;
    height: 4px;
    background: var(--azul-principal);
    border-radius: 10px;
}

.orientacion-descripcion {
    max-width: 700px;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--azul-principal);
}

.boton-principal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(
    135deg,
    var(--azul-principal),
    var(--azul-secundario3)
  );
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all .3s ease;
  align-self: flex-start
}

.boton-principal:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

/*-----------------------------------
     SECCIÓN NOTICIAS HOME
-------------------------------------*/
.novedades {
  padding: 1rem 1rem;
  background-color: #f5f8fa;
}

.novedades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.novedades-descripcion {
  text-align:left;
  margin: 0 auto 2rem auto; 
  font-size: 1.1rem; 
  line-height: 1.6; 
}

.novedades-descripcion p {
  margin: 0; 
}

.novedad-card {
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 91, 150, 0.1);
  transition: transform 0.3s ease;
}

.novedad-card:hover {
  transform: translateY(-4px);
}

.novedad-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.novedad-thumb {
  width: 100%;               
  height: 250px;
  overflow: hidden;
  border-radius: 8px 8px 0 0; 
  margin: 0;                  
}

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

.novedad-contenido {
  padding: 1rem;
  flex-grow: 1;
}

.novedad-contenido h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: black;
}

.novedades h2, 
.seccion-novedades h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  text-align: left;     
  position: relative;
  color: black;
}

.novedades h2::after, 
.seccion-novedades h2::after {
  content: "";
  display: block;
  width: 120px;             
  height: 3px;             
  background-color: black; 
  border-radius: 2px;      
}

.novedad-contenido .fecha {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.novedad-contenido p {
  font-size: 0.8rem;
  color: #444;
  line-height: 1.5;
}
.leer-mas {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: .9rem;
  color: #00ACEE;
  transition: .3s;
  text-decoration:underline;
}

.novedad-card:hover .leer-mas {
  transform: translateX(4px);
}

.resumen {
  flex-grow: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge-sede {
  display: inline-block;
  background-color: var(--gris-fondo);
  color: var(--azul-principal);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  border: solid 2px var(--azul-principal);
}

.novedades-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.novedades-header h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  text-align: left;     
  position: relative;
  color: black;
}

.novedades-header h2::after {
  content: "";
  display: block;
  width: 120px;             
  height: 3px;             
  background-color: black; 
  border-radius: 2px;
}

.resumen {
  flex-grow: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.boton-link {
  font-weight: 600;
  color: #003349;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.boton-link .flecha {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.boton-link:hover {
  color: #005b96;
}

.boton-link:hover .flecha {
  transform: translateX(4px);
}

.boton-ver-todas {
  text-align: center;
  margin-top: 2rem;
}

.boton-ver-todas .boton {
  background-color: #005b96;
  color: #ffffff;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.boton-ver-todas .boton:hover {
  background-color: #003349;
}

.seccion-novedades {
    max-width: 90%; 
    margin: 0 auto;
    padding: 3rem 1rem;
    background: #f8f9fb;
    box-sizing: border-box;
}

/* GRID */
.grid-novedades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
    justify-items: center; 
}

/* TARJETAS */
.card-novedad {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    max-width: 280px; 
}
/*
.card-novedad:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
*/
.card-novedad .imagen img {
    width: 100%;
    height: 160px; 
    object-fit: contain;
}

.card-novedad .contenido {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-novedad h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: #003680;
}

.card-novedad .fecha {
    color: #777;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.card-novedad .texto {
    flex-grow: 1;
    color: #444;
    font-size: 0.9rem;
    line-height: 1.4;
    max-height: 3.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 1rem;
}

.card-novedad .btn {
    margin-top: auto; 
    padding: 0.5rem 1rem;
    background: var(--azul-principal);
    color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.85rem;
    align-self: flex-start;
    transition: background 0.2s;
}

.card-novedad .btn:hover {
    background: var(--azul-secundario1);
}

/*------------------------------
     SECCIÓN NOTICIA DESTACADA
--------------------------------*/
.noticia-destacada {
    margin-bottom: 3rem;
}

.noticia-destacada-link {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 51, 73, 0.1);
    transition: .3s;
}

.noticia-destacada-link:hover {
    transform: translateY(-4px);
}

.noticia-destacada-imagen img {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
}

.noticia-destacada-contenido {
    padding: 2rem;
    flex-direction: column;
    justify-content: center;
}

.noticia-destacada h3 {
    font-size: 2.3rem;
    line-height: 1.15;
    margin: 1rem 0;
    color: #111;
}

.noticia-destacada .resumen {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

/*----------------------------
     SECCIÓN GESTIÓN HOME
------------------------------*/
.gestion-home {
  padding: 40px 20px;
}

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

.gestion-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}

.gestion-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gestion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.gestion-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.gestion-card:hover img {
  transform: scale(1.05);
}

.gestion-titulo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.4), transparent);
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
}

.gestion-titulo::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--azul-principal);
  margin-bottom: 8px;
  border-radius: 2px;
}

.gestion-titulo {
  backdrop-filter: blur(3px);
}

/*-----------------------
     SECCIÓN EVENTOS
-------------------------*/
.eventos-portada-listado {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.eventos-portada-listado .evento-item {
  width: 100%;
  max-width: 380px;
  height: 360px;
  perspective: 1000px;
  position: relative;
}

.eventos-portada-listado .flip-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
  transform-style: preserve-3d;
  position: relative;
}

.eventos-portada-listado .flip-front,
.eventos-portada-listado .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 51, 73, 0.15);
  border: 2px solid #005b96;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  box-sizing: border-box;
}

.eventos-portada-listado .flip-front {
  background-color: #ffffff;
  z-index: 2;
  transform: rotateY(0deg);
}

.eventos-portada-listado .flip-back {
  background-color: #003349;
  color: #ffffff;
  transform: rotateY(180deg);
  z-index: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.eventos-portada-listado .evento-item:hover .flip-inner {
  transform: rotateY(180deg);
}

.eventos-portada-listado .flip-front,
.eventos-portada-listado .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-color: #ffffff;
  border: 2px solid #005b96;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 51, 73, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem;
  box-sizing: border-box;
  line-height: 1.2;
}

.eventos-portada-listado .flip-front {
  z-index: 2;
}

.eventos-portada-listado .flip-front .evento-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.eventos-portada-listado .flip-front h3 {
  font-size: 1.3rem;
  color: #003349;
  margin-bottom: 0.5rem;
}

.eventos-portada-listado .flip-front .evento-fecha {
  text-align: left;
  font-size: 0.95rem;
  color: #005b96;
}

.eventos-portada-listado .flip-back {
  background-color: #003349;          
  color: #ffffff;                     
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;            
  align-items: center;                
  text-align: center;
  padding: 2rem 1.5rem;
}

.eventos-portada-listado .flip-back .evento-extracto {
  color: #ffffff;                     
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.eventos-portada-listado .flip-back a {
  background-color: #f5f8fa;        
  color: #003349;
  border-radius: 20px;
  padding: 0.6rem 1.4rem;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.eventos-portada-listado .flip-back a:hover {
  background-color: #ffffff;
  transform: scale(1.05);
}

.eventos-portada-listado .evento-item:hover .flip-front {
  filter: brightness(0.6);
}

/*-----------------------
     SECCIÓN CINE
-------------------------*/
.home-cine-portada-listado {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.home-cine-portada-item {
    background-color: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: #333;
    width: 100%;
    max-width: 300px; 
    flex: 1 1 280px;
}

.home-cine-portada-listado:has(.home-cine-portada-item:nth-child(1):last-child) {
    justify-content: center;
}

.home-cine-portada-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.home-cine-thumb {
    width: 100%;
    height: 200px; 
    overflow: hidden;
    border-radius: 10px; 
    background: #f3f3f3;
    position: relative;
    display: flex;
    align-items:baseline;
    justify-content: center;
}

.home-cine-thumb img {
    width: 100%;        
    height: 100%;       
    object-fit:none;  
    object-position: center; 
    transition: transform 0.3s ease;
    display: block;     
}

.home-cine-thumb:hover img {
    transform: scale(1.06);
}


.home-cine-portada-item h3 {
    font-size: 1.1rem;
    margin: 0.8rem 1rem 0.4rem 1rem;
    text-align: left;
    color: #003349;
    line-height: 1.3;
}

.home-cine-portada-item h3 a {
    text-decoration: none;
    color: inherit;
}

.home-cine-meta {
    padding: 0 1rem 1rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    color: #444;
}

.home-cine-meta p {
    margin: 0.3rem 0;
}

.home-cine-meta ul {
    list-style: none;
    padding-left: 1rem;
    margin: 0.3rem 0;
}

.home-cine-meta ul li::before {
    content: "🎬 ";
    margin-left: -1rem;
}

.home-cine-meta ul li {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.home-cine-meta strong {
    color: #005b96;
    font-weight: 600;
}

/*-----------------------
    SECCIÓN DESTACADOS 
------------------------- */
.destacados {
    text-align: center;
    align-items: center;
    background-color: #f5f8fa;
}

.destacados h2 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.destacados-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
}

.destacado-item {
    position: relative;
    display: block;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: transform .3s ease, box-shadow .3s ease;
}

.destacado-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.destacado-imagen {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.65);
    transition: .3s;
}

.destacado-item:hover .destacado-imagen {
    filter: brightness(0.8);
}

.destacado-texto {
    position: absolute;
    z-index: 2;
    bottom: 12px;
    left: 12px;
    right: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(0,0,0,0.6);
    padding: 6px 10px;
    border-radius: 8px;
    transition: background-color .3s ease;
}

.destacado-item:hover .destacado-texto {
    background-color: var(--azul-principal);
}

/* Flechas carrusel */
.destacados-swiper .swiper-button-prev,
.destacados-swiper .swiper-button-next {
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.destacados-swiper .swiper-button-prev::after,
.destacados-swiper .swiper-button-next::after {
    display: none !important;
    content: none !important;
}

.flecha-carrusel {
    width: 10px;
    height: 10px;
    display: block;
    border-top: 2px solid var(--azul-principal);
    border-right: 2px solid var(--azul-principal);
    transition: all 0.25s ease;
}

.flecha-izquierda {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.flecha-derecha {
    transform: rotate(45deg);
    margin-right: 4px;
}

.destacados-swiper .swiper-button-prev:hover,
.destacados-swiper .swiper-button-next:hover {
    background: var(--azul-principal);
    transform: scale(1.08);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.20);
}

.destacados-swiper .swiper-button-prev:hover .flecha-carrusel,
.destacados-swiper .swiper-button-next:hover .flecha-carrusel {
    border-color: #ffffff;
}

.destacados-swiper .swiper-button-prev:hover .flecha-izquierda {
    transform: translateX(-2px) rotate(-135deg);
}

.destacados-swiper .swiper-button-next:hover .flecha-derecha {
    transform: translateX(2px) rotate(45deg);

}

.destacados-swiper .swiper-button-prev {
    left: 5px;
}

.destacados-swiper .swiper-button-next {
    right: 5px;
}

.destacados-swiper .swiper-button-disabled {
    opacity: 0.25;
    pointer-events: none;
}

/*-----------------------------
    SECCIÓN MEDIOS UNICEN
-------------------------------*/
.medios-unicen{
    padding: 70px 0;
    background:#f7f9fb;
}

.contenedor-medios{
    margin:0 auto;
    padding:0 20px;
}

.titulo-seccion{
    font-size:2rem;
    margin-bottom:40px;
    color:#0b3d5c;
    font-weight:700;
}

.medio-media{
    margin-bottom:20px;
}

.video-wrapper{
    position:relative;
    padding-bottom:56.25%;
    height:0;
}

.video-wrapper iframe{
    position:absolute;
    width:100%;
    height:100%;
    border-radius:12px;
}

.medio-media img{
    width:100%;
    border-radius:12px;
}

.medio-titulo{
    font-size:1.7rem;
    margin-bottom:15px;
    color:#0b3d5c;
}

.medio-texto{
    font-size:1rem;
    line-height:1.7;
    color:#333;
}

.medio-texto a{
    color:#005ea8;
    font-weight:600;
    text-decoration:underline;
}

.medio-boton{
    display:inline-block;
    margin-top:18px;
    padding:10px 18px;
    background:#0b3d5c;
    color:white;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
}

.medio-boton:hover{
    background:#092c42;
}

.medio-destacado img{
    width:100%;
    border-radius:10px;
}

.video-wrapper{
    position:relative;
    padding-bottom:56.25%;
    height:0;
}

.video-wrapper iframe{
    position:absolute;
    width:100%;
    height:100%;
    border-radius:10px;
}

.medio-info h3{
    font-size:1.6rem;
    margin-bottom:15px;
}

.medio-texto{
    font-size:1rem;
    line-height:1.6;
    color:#444;
}

.medios-grid{
    display:grid;
    grid-template-columns: repeat(2,1fr);
    gap:30px;
}

.medios-swiper{
    width:100%;
    overflow:hidden;
}

.medio-card img{
    width:100%;
    border-radius:8px;
    margin-bottom:10px;
}

.medio-card h4{
    font-size:1.1rem;
    margin-bottom:8px;
}

.medio-card{
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 18px rgba(0,0,0,.08);
    display:flex;
    flex-direction:column;
}

.medio-media img{
    width:100%;
    height:270px;
    object-fit:cover;
}

.video-lazy {
    position: relative;
    width: 100%;
    height: 220px;
    cursor: pointer;
    overflow: hidden;
}

.video-lazy img,
.video-lazy iframe {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 70px;
    height: 70px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-35%, -50%);    
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.video-lazy:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: rgba(255, 0, 0, 0.9);
}

.video-wrapper{
    position:relative;
    padding-bottom:56.25%;
    height:0;
}

.video-wrapper iframe{
    position:absolute;
    width:100%;
    height:100%;
}

.medio-info{
    padding:16px 18px 20px;
}

.medio-card-titulo{
    font-size:1.1rem;
    margin-bottom:8px;
    color:#0b3d5c;
}

.medio-card-texto{
    font-size:.95rem;
    color:#444;
    line-height:1.5;
}

.medio-link{
    display:inline-block;
    margin-top:10px;
    font-weight:600;
    color:#005ea8;
    text-decoration:none;
}

.medio-card-texto a{
    color:#005ea8;
    text-decoration:underline;
    font-weight:600;
}

.medio-card-texto a:hover{
    opacity:.8;
}

.medios-carrusel-wrapper{
    position:relative;
    display:flex;
    align-items:center;
    justify-content: center;
}

.medios-carrusel{
    display:flex;
    gap:25px;
    overflow:hidden;
    scroll-behavior:smooth;
}

.medio-slide{
    min-width:calc((100% - 50px) / 3);
    flex-shrink:0;
}

.medios-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:none;
    border:none;
    color:var(--azul-secundario1); 
    font-size:60px;
    cursor:pointer;
    padding:6px;
    transition:color .2s ease;
}

.medios-btn.prev{
    left:-28px;
}

.medios-btn.next{
    right:-28px;
}

.medios-btn:hover{
    color: var(--azul-principal);
}

.medios-btn.oculto{
    display:none;
}

/*-----------------------------------
    SECCIÓN LINKS DE INTERES HOME
------------------------------------*/
.links-interes {
    padding: 40px 0;
}

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

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    transition: 0.3s;
}

.link-icono {
    width: 70px;
    height: 70px;
    background: var(--azul-principal); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.link-icono i {
    font-size: 26px;
    color: #ffffff;
}

.link-titulo {
    font-size: 14px;
    font-weight: 600;
    color: var(--azul-principal);
    text-align: center;
    min-height: 38px; 
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.link-item:hover .link-icono {
    transform: translateY(-3px);
}

/* carrusel */ 
.links-interes-swiper { 
  position: relative; 
  width: 100%; 
  padding: 0 45px 10px; 
  overflow: hidden; 
} 

.links-interes-swiper .swiper-wrapper { 
  display: flex; 
  align-items: stretch; 
} 

.links-interes-swiper .swiper-slide { 
  height: auto; 
  box-sizing: border-box; 
}

/* Flechas */ 
.links-interes-swiper .swiper-button-prev, .links-interes-swiper .swiper-button-next { 
  width: 42px; 
  height: 42px; 
  margin-top: -21px; 
  border-radius: 50%; 
  background: #ffffff; 
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: all 0.25s ease; 
} 

/* Ocultar flechas originales de Swiper */ 
.links-interes-swiper .swiper-button-prev::after, .links-interes-swiper .swiper-button-next::after { 
  display: none !important; 
  content: none !important; 
} 

/* Flecha individual */ 
.links-interes-swiper .flecha-carrusel { 
  width: 10px; 
  height: 10px; 
  display: block; 
  border-top: 2px solid var(--azul-principal); 
  border-right: 2px solid var(--azul-principal); 
  transition: all 0.25s ease; 
} 

.links-interes-swiper .flecha-izquierda { 
  transform: rotate(-135deg); 
  margin-left: 4px; 
} 

.links-interes-swiper .flecha-derecha { 
  transform: rotate(45deg); 
  margin-right: 4px; 
} 

/* Hover */ 
.links-interes-swiper .swiper-button-prev:hover, .links-interes-swiper .swiper-button-next:hover { 
  background: var(--azul-principal); 
  transform: scale(1.08); 
} 
.links-interes-swiper .swiper-button-prev:hover .flecha-carrusel, .links-interes-swiper .swiper-button-next:hover .flecha-carrusel { 
  border-color: #ffffff; 
} 
/* Posición */ 
.links-interes-swiper .swiper-button-prev { 
  left: 5px; 
} 
.links-interes-swiper .swiper-button-next { 
  right: 5px; 
}

/* MOBILE */
@media (max-width: 900px) {
  .novedades-grid {
    grid-template-columns: repeat(1, 1fr);
  }
     .ingresantes-descripcion p{
    font-size: .8rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  /* Sección noticias */
  .novedades .fila {
    grid-template-columns: repeat(2, 1fr);
  }

  .novedades-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .novedad {
    padding: 0.8rem;
  }

 .novedad-8,
 .novedad-9 {
   display: none !important;
 }

 .novedad h3 {
   font-size: 3rem;
   line-height: 1.2;
 }

 .novedades-header h2{
   font-size: 3.5rem;
 }

 .novedad .fecha {
   font-size: 2rem;
 }

 .novedad .resumen {
   font-size: 2rem;
 }

 .novedad .thumb {
   height: 140px;
 }

 .listado-noticias {
   grid-template-columns: repeat(2, 1fr);
 }
 .novedad-card .novedad-contenido .resumen {
  display: none;
}

.novedad-contenido .fecha {
  font-size: 2rem;
}

.novedad-contenido p {
  font-size: 2rem;
}

.novedad-contenido .badge-sede {
  font-size: 2rem;
}

.novedad-contenido h3 {
  font-size: 3rem;
}
.novedad-thumb {               
  height: 450px;                 
}

.boton-link {
  font-size: 2.5rem;
  text-align: end;
}

.novedades-descripcion p {
  font-size: 2.5rem;
}

/* Sección destacados */ 
.destacados-grid{
  grid-template-columns: repeat(1, 1fr);
}
.destacados-swiper {
    padding: 0;
    overflow: visible;
}

.destacados-swiper .swiper-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: none !important;
}

.destacados-swiper .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
    height: 150px;
}

.destacados-swiper .destacado-item {
    width: 100%;
    height: 150px;
}

/* Ocultar flechas en mobile */
.destacados-swiper .swiper-button-prev,
.destacados-swiper .swiper-button-next {
    display: none;
}

.destacado-texto{
  font-size: 3rem;
}

/*Sección orientación al estudiante*/
.orientacion-estudiante h2 {
  font-size: 3.5rem;
  margin-bottom: 0.8rem;
}

.contacto-item a{
  font-size: 2rem;
}

.contacto-estudiante {
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.grupo-inferior { 
  width: 100%; 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 1.2rem 1.5rem; 
  justify-items: center; 
  align-items: center; 
} 

.grupo-inferior .contacto-item:nth-child(1) { 
  grid-column: 1; 
} 

.grupo-inferior .contacto-item:nth-child(2) { 
  grid-column: 2; 
} 

.grupo-inferior .contacto-item:last-child { 
  grid-column: 1 / -1; 
  width: 100%; 
  justify-content: center; 
}

.contacto-item {
  font-size: 2rem;
}

/* Sección medios */
.video-lazy {
    height: 800px;
}

.video-lazy img,
.video-lazy iframe {
    height: 800px !important;
}

.medio-slide {
    min-width: 80%;
    width: 80%;
    scroll-snap-align: start;
}

.medios-carrusel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.medio-card-texto {
    font-size: 2rem;
}

.novedades .titulo-seccion {
    font-size: 3.5rem;
}

.medio-info h3 {
    font-size: 3rem;
}

.medios-btn {
    display: none;
}
/* Sección Gestión Home*/
.gestion-grid {
  grid-template-columns: repeat(1, 1fr);
}

.gestion-titulo {
  opacity: 1;
  transform: translateY(0);
  font-size: 3rem;
}

.gestion-card img {
  height: 250px;
}

/* Sección brujula */
.leer-mas {
  font-size: 2rem;
}

.orientacion-destacada {
  width: 100%;
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
}

.orientacion-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 15px;
}

.orientacion-media {
  width: 100px;
  flex: 0 0 40%;
  width: auto;
  height: 180px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orientacion-media img,
.orientacion-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.orientacion-contenido {
  flex: 1;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.orientacion-titulo {
  font-size: 3.5rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

.orientacion-titulo::after {
  display: none;
}

.orientacion-descripcion {
  max-width: 100%;
  margin: 15px;
  font-size: 2rem;
  line-height: 2;
}

.boton-principal {
  align-self: center;
  margin: 0;
  font-size: 2rem;
  padding: 0.6rem 1rem;
}

/* Sección Banner Bienestar */
.ingresantes {
  flex-direction: column;
  min-height: auto;
}

.ingresantes-contenido {
  order: 1;
  text-align: left;
}

.ingresantes-imagen {
  order: 2;
  width: 100%;
  height: 100px;
  min-width: auto;
}

.ingresantes-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ingresantes-titulo {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.ingresantes-titulo::after {
  width: 70px;
  bottom: -8px;
}

.ingresantes-descripcion {
  font-size: 2.5rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.ingresantes-descripcion p {
  font-size: 2.5rem;
}

.boton-ingresantes {
  margin-top: 1rem;
  width: fit-content;
}

/* Sección Links de interés */
.links-grid {
  grid-template-columns: repeat(2, 1fr);
}

.link-titulo{
  font-size: 2.5rem;
}

.link-icono {
  width: 150px;
  height: 150px;
}

.link-icono i {
  font-size: 60px;
}
.links-interes-swiper { 
  padding: 0; 
  overflow: visible; 
} 
.links-interes-swiper .swiper-wrapper { 
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  transform: none;
  padding-left: 5rem;
} 
.links-interes-swiper .swiper-slide { 
  width: 100%; 
  margin: 0; 
} 
.links-interes-swiper .swiper-button-prev, .links-interes-swiper .swiper-button-next { 
  display: none; 
}
/* Sección noticia destacada*/
.noticia-destacada {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.noticia-destacada h3 {
  font-size: 3rem;
}

.noticia-destacada-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.noticia-destacada-imagen {
  width: 100%;
  max-width: 100%;
  order: 1;
  box-sizing: border-box;
}

.noticia-destacada-imagen img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.noticia-destacada-contenido {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  order: 2;
  box-sizing: border-box;
}

.noticia-destacada .badge-sede {
  font-size: 1.8rem;
  max-width: 100%;
  box-sizing: border-box;
}

.noticia-destacada .fecha {
  font-size: 2rem;
  max-width: 100%;
}

.noticia-destacada .resumen {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font-size: 2rem;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.noticia-destacada .resumen p {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-sizing: border-box;
  text-align: justify;
  font-size: 2.5rem;
}

/* Sección banner Bienestar */
.ingresantes { 
  display: flex; 
  flex-direction: column; 
}

.ingresantes-contenido { 
  order: 1; 
  width: 90%; 
  height: 30vh;
  flex: 0 0 38%; 
  margin: 0 auto; 
  padding: 2rem 0; 
  text-align: center; 
  align-items: center; 
  justify-content: center; 
}

.ingresantes-titulo { 
  font-size: 3.5rem; 
  line-height: 1.15; 
  text-align: center; 
}

.ingresantes-titulo::after { 
  left: 50%; 
  transform: translateX(-50%); 
  width: 90px; 
  height: 4px; 
  bottom: -12px; 
}

.ingresantes-descripcion { 
  max-width: 100%; 
  font-size: 2rem; 
  line-height: 1.6; 
  text-align: center; 
} 

.ingresantes-descripcion p { 
  line-height: 2; 
  margin-bottom: .8rem; 
  text-align: center;
}

.boton-ingresantes { 
  margin-top: 1.2rem; 
  padding: 15px 30px; 
  font-size: 2rem; 
  min-height: 50px; 
}

.ingresantes-imagen { 
  order: 2; 
  width: 100%; 
  min-width: 0; 
  flex: 0 0 62%; 
  height: 40vh; 
  overflow: hidden; 
}

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

/* Sección Cine */
.home-cine-portada-listado { 
  display: flex;
  flex-direction: row; 
  flex-wrap: nowrap; 
  justify-content: flex-start; 
  gap: 16px; width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 5% 20px; 
  box-sizing: border-box; 
  scroll-snap-type: x mandatory; 
  -webkit-overflow-scrolling: touch; 
  scrollbar-width: none; 
}

.home-cine-portada-listado::-webkit-scrollbar { 
  display: none; 
}

.home-cine-portada-item { 
  flex: 0 0 80%; 
  width: 80%; 
  min-width: 80%; 
  max-width: none; 
  box-sizing: border-box; 
  scroll-snap-align: center; 
  margin: 0; 
}

.home-cine-thumb { 
  height: 260px; 
}

.home-cine-portada-item h3 { 
  font-size: 3rem;
  line-height: 1.3; 
}

.home-cine-meta { 
  font-size: 2.5rem; 
}

.home-cine-meta ul li { 
  font-size: 2.5rem; 
} 

/* Sección Eventos */
.eventos-portada-listado {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 1rem 1rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.eventos-portada-listado::-webkit-scrollbar {
  display: none;
}

.eventos-portada-listado .flip-front .evento-thumb img {
  height: 300px;
}

.eventos-portada-listado .evento-item {
  flex: 0 0 80%;
  width: 80%;
  max-width: none;
  height: 780px;
  scroll-snap-align: start;
}

.eventos-portada-listado .flip-front h3 {
  font-size: 3rem;
  line-height: 1.25;
}

.eventos-portada-listado .flip-front .evento-fecha {
  font-size: 2rem;
  line-height: 2;
}

.eventos-portada-listado .flip-front .evento-fecha i {
  font-size: 2rem;
}

.eventos-portada-listado .flip-back .evento-extracto {
  font-size: 2rem;
  line-height: 1.5;
}

.eventos-portada-listado .flip-back a {
  font-size: 2rem;
}

/* Sección Unidades Académicas */
.carrusel-unidades {
  width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.unidades-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
}

.unidad-card {
  width: 100%;
  margin: 0;
}

.unidad-card a {
  display: block;
  width: 100%;
  height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.unidad-card img {
  width: 95%;
  height: 95%;
  object-fit: contain;
  display: block;
}

.unidad-overlay {
  display: none;
}

}

@media (max-width: 767px) {
.novedades {
  padding: 1.5rem 0;
}

.novedades-grid {
  grid-template-columns: repeat(1, 1fr);
}

.novedades h2 .novedades-header h2 {
  font-size: 1.4rem;
  text-align: center;
}

.novedades .fila {
  grid-template-columns: repeat(1, 1fr);
  padding: 1rem;
}

.novedad .thumb {
  height: 130px;
}

.novedad-6,
.novedad-7,
.novedad-8,
.novedad-9 {
  display: none !important;
}

.novedad h3 {
  font-size: 0.95rem;
  line-height: 1.2;
}

.novedad .fecha {
  font-size: 0.65rem;
}

.novedad .resumen {
  font-size: 0.75rem;
}

.boton-ver-todas .boton {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.swiper-slide {
  width: 160px;
  height: 120px;
}

.eventos-portada-listado {
  flex-direction: column;
  gap: 1rem;
}

.destacados-grid {
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

.destacado-item {
  font-size: 0.9rem;
}

.destacado-imagen {
  height: 150px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.orientacion-estudiante h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.contacto-estudiante {
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.contacto-item:nth-child(1) {
  order: 1;
}

.contacto-item:nth-child(2) {
  order: 2;
}

.contacto-item:nth-child(3) {
  order: 3;
}

.contacto-item {
  font-size: 0.95rem;
}

.novedad-card .novedad-contenido .resumen {
  display: none;
}  

.gestion-grid {
  grid-template-columns: repeat(2, 1fr);
}

.unidades-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.unidad-card {
  height: 180px;
}

.unidad-card img {
  width: 80%;
  height: 120px;
}

.leer-mas {
  font-size: 1.8rem;
}

.orientacion-destacada {
  width: 100%;
  margin: 0;
  padding: 0 15px;
}

.orientacion-card {
  flex-direction: column;
  min-height: auto;
  border-radius: 16px;
}

.orientacion-media {
  width: 100%;
  flex: none;
  height: 220px;
}

.orientacion-media img,
.orientacion-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orientacion-contenido {
  padding: 25px;
}

.orientacion-titulo {
  font-size: 1.8rem;
  line-height: 1.2;
}

.orientacion-descripcion {
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.6;
}

.boton-principal {
  width: fit-content;
  align-self: flex-start;
}
}

