/* ============= PLANTILLA ARTICULO MODERNA ============= */
.plantilla-articulo {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.6); /* Más tenue */
  backdrop-filter: blur(6px);
  border-radius: 20px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.05);
  font-family: 'Open Sans', sans-serif;
}

/* ---------------- TÍTULOS ---------------- */
.plantilla-articulo h1,
.plantilla-articulo h2,
.plantilla-articulo h3 {
  color: #1d2c5b;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.plantilla-articulo h1 {
  font-size: 2rem;
  border-bottom: 2px solid #1d2c5b20;
  padding-bottom: 0.5rem;
}

/* ---------------- VIDEO ---------------- */
.bloque-video {
  margin-bottom: 2rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.bloque-video video {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 14px;
}

/* ---------------- DISTRIBUCIÓN ---------------- */
.fila-articulo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 1.5rem;
}

.columna {
  width: 48%;
}
.columna-unica {
  width: 100%;
}

/* ---------------- TEXTO ---------------- */
.texto-bloque {
  padding: 0.5rem 0;
}
.texto-justificado {
  text-align: justify;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #222;
}

/* ---------------- IMÁGENES ---------------- */
.imagen-not-expandible {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
}
.imagen-not-expandible img {
  width: 100%;
  max-width: 500px;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  cursor: zoom-in;
}
.imagen-not-expandible img:hover {
  transform: scale(1.02);
}

/* ---------------- PIE DE FOTO ---------------- */
.pie-imagen-not {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

/* ---------------- LIGHTBOX ---------------- */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}
#lightbox.show {
  display: flex;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
  .columna, .columna-unica {
    width: 100%;
  }
  .fila-articulo {
    padding: 0.5rem 0;
  }
  .bloque-video video {
    max-height: 300px;
  }
}
.texto-justificado {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.7;
  color: #111;
  display: block; /* 🔧 Asegura que el texto se muestre */
}

.estado-label-proyecto {
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
}
.estado-publicado { background-color: #DFF0D8; color: #3C763D; }
.estado-despublicado { background-color: #F2DEDE; color: #A94442; }
.estado-eliminado { background-color: #FCF8E3; color: #8A6D3B; }


/* NUEVA VISTA PARA NOTICIAS MODERNIZADA */
/* Estilos para la visualización moderna de artículos */
.contenido-articulo-moderno {
  margin: 2rem 0;
}

/* Video principal - siempre ancho completo */
.bloque-video-principal {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.bloque-video-principal video {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
}

/* NUEVA ESTRUCTURA: Galería fija a la izquierda, texto fluye al lado */
/************* ESTILO MODERNIZADO PARA NOTICIAS *************/
.estructura-contenido-fluido {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.galeria-y-texto {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.galeria-izquierda {
  /* flex: 1 1 40%; */
  max-width: 500px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.texto-al-lado {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.texto-debajo {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/************* GALERIA DESLIZABLE *************/
.galeria-deslizable {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.galeria-imagenes {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  position: relative;
}

.galeria-slide {
  flex: 0 0 100%;
  display: none;
  justify-content: center;
  align-items: center;
}

.galeria-slide.active {
  display: flex;
}

.imagen-galeria {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.imagen-galeria:hover {
  transform: scale(1.03);
}

/************* BOTONES *************/
.galeria-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
  z-index: 5;
  transition: background 0.2s;
}

.galeria-btn:hover {
  background: rgba(255,255,255,1);
}

.galeria-btn-prev {
  left: 10px;
}

.galeria-btn-next {
  right: 10px;
}

/************* INDICADORES *************/
.galeria-indicadores {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  gap: 0.4rem;
}

.galeria-indicador {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.galeria-indicador.active {
  background-color: #007bff;
}

/************* LIGHTBOX INTEGRADO *************/
.lightbox-img {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.lightbox-img:hover {
  transform: scale(1.03);
}

/************* RESPONSIVE *************/
@media screen and (max-width: 768px) {
  .galeria-y-texto {
    flex-direction: column;
    align-items: center;
  }

  .galeria-izquierda,
  .texto-al-lado {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .texto-al-lado {
    padding: 0 1rem;
  }

  .texto-debajo {
    padding: 1rem;
  }
}

/* Estilos para botones combinados */
.btn-accion.toggle-publicar.publicado {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.btn-accion.toggle-publicar.despublicado {
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.btn-accion.toggle-destacar.destacado {
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.btn-accion.toggle-destacar.oculto {
    background-color: #e2e3e5;
    border-color: #d6d8db;
}

.btn-accion.deshabilitado {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

/* Efectos hover para mejor feedback */
.btn-accion.toggle-publicar:hover {
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.btn-accion.toggle-destacar:hover {
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* =========================================================
   📱 RESPONSIVE GLOBAL — PLANTILLAS SFM
   =========================================================
   Ajusta todos los anchos al header y mantiene proporción
   visual en artículos, galerías y bloques multimedia.
========================================================= */

/* === Escritorio grande (≥1200px) === */
@media (min-width: 1200px) {
  .plantilla-articulo,
  .contenido-articulo-moderno {
    max-width: 1280px;
  }
}

/* === Tablets horizontales y portátiles pequeños (≤992px) === */
@media (max-width: 992px) {
  .plantilla-articulo,
  .contenido-articulo-moderno {
    max-width: 95vw;
    margin: 1.5rem auto;
    padding: 1.5rem;
  }

  .fila-articulo {
    flex-direction: column;
    gap: 1.5rem;
  }

  .columna {
    width: 100%;
  }

  .bloque-video video {
    max-height: 360px;
  }

  .texto-justificado {
    font-size: 1rem;
    line-height: 1.6;
  }

  .galeria-y-texto {
    flex-direction: column;
    align-items: center;
  }

  .galeria-izquierda,
  .texto-al-lado {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .texto-al-lado {
    padding: 0 1rem;
  }
}

/* === Tablets verticales / móviles grandes (≤768px) === */
@media (max-width: 768px) {
  .plantilla-articulo,
  .contenido-articulo-moderno {
    width: 100%;
    max-width: 100%;
    margin: 1rem auto;
    padding: 1rem;
    border-radius: 12px;
  }

  .bloque-video video {
    max-height: 280px;
  }

  .texto-justificado {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .imagen-not-expandible img,
  .imagen-galeria {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .pie-imagen-not {
    font-size: 0.85rem;
  }

  .galeria-y-texto {
    flex-direction: column;
    gap: 1rem;
  }

  .galeria-izquierda,
  .texto-al-lado {
    flex: 1 1 100%;
  }

  .galeria-btn {
    font-size: 1.5rem;
    padding: 0.25rem 0.4rem;
  }

  .galeria-indicador {
    width: 8px;
    height: 8px;
  }
}

/* === Móviles medianos (≤576px) === */
@media (max-width: 576px) {
  .plantilla-articulo,
  .contenido-articulo-moderno {
    width: 100%;
    margin: 0.8rem auto;
    padding: 0.8rem;
  }

  .bloque-video video {
    max-height: 240px;
  }

  .texto-justificado {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .galeria-btn {
    font-size: 1.2rem;
  }
}

/* === Móviles pequeños (≤400px) === */
@media (max-width: 400px) {
  .plantilla-articulo,
  .contenido-articulo-moderno {
    margin: 0.5rem auto;
    padding: 0.6rem;
  }

  .bloque-video video {
    max-height: 200px;
  }

  .texto-justificado {
    font-size: 0.88rem;
  }

  .galeria-btn {
    font-size: 1.1rem;
  }
}
/* =========================================================
   📰 INFO-CARD — VARIANTE COMPACTA PARA NOTICIAS (LISTADO)
========================================================= */
.info-card.noticia-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem auto;
  border-radius: 12px;
  background: rgba(255,255,255);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  max-width: 1180px;
}

.info-card.noticia-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Imagen adaptable con proporción controlada */
.info-card.noticia-card .item-media-column {
  flex-shrink: 0;
  width: 280px;
  max-width: 35%;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.02);
}

.info-card.noticia-card .item-media-column img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* 🔹 Mantiene formato tipo tarjeta horizontal */
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.info-card.noticia-card:hover .item-media-column img {
  transform: scale(1.05);
  opacity: 0.95;
}


.info-card.noticia-card:hover .item-media-column img {
  transform: scale(1.03);
}

/* Columna de texto */
.info-card.noticia-card .item-text-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Título */
.info-card.noticia-card .titulo-noticia {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: var(--accent-dark);
}

.info-card.noticia-card .titulo-noticia a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.info-card.noticia-card .titulo-noticia a:hover {
  color: var(--primary);
}

/* Texto introductorio */
.info-card.noticia-card .intro-noticia {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

/* Botón “Leer más” */
.info-card.noticia-card .btn-leer-mas {
  align-self: flex-start;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.info-card.noticia-card .btn-leer-mas:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .info-card.noticia-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
  }

  .info-card.noticia-card .item-media-column img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }

  .info-card.noticia-card .btn-leer-mas {
    align-self: center;
  }
}
@media (max-width: 768px) {
  .info-card.noticia-card .item-media-column {
    width: 100%;
    max-width: 100%;
  }

  .info-card.noticia-card .item-media-column img {
    aspect-ratio: 16 / 9; /* 🔹 Más apaisado para pantallas pequeñas */
    width: 100%;
    height: auto;
  }
}
/* =========================================================
   💡 TARJETA BASE PARA NOTICIAS Y NOTAS DE PRENSA
========================================================= */
.blog-item.noticia-card,
.blog-item.prensa-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 1.5rem auto;
  padding: 1.5rem 1.8rem;
  background: rgba(255,255,255,0.9);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  max-width: 1200px;
}

.blog-item.noticia-card:hover,
.blog-item.prensa-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Imagen */
.blog-item.noticia-card .item-media-column,
.blog-item.prensa-card .item-media-column {
  flex-shrink: 0;
  width: 280px;
  overflow: hidden;
  border-radius: 10px;
}

.blog-item.noticia-card img,
.blog-item.prensa-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.blog-item.noticia-card:hover img,
.blog-item.prensa-card:hover img {
  transform: scale(1.05);
}

/* Texto */
.blog-item.noticia-card .item-text-column,
.blog-item.prensa-card .item-text-column {
  flex: 1;
}

.blog-item.noticia-card .titulo-noticia a,
.blog-item.prensa-card .titulo-noticia a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.blog-item.noticia-card .titulo-noticia a:hover,
.blog-item.prensa-card .titulo-noticia a:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .blog-item.noticia-card,
  .blog-item.prensa-card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .blog-item.noticia-card .item-media-column,
  .blog-item.prensa-card .item-media-column {
    width: 100%;
  }
}

.pdf-nota-prensa-boton {
    margin: 2rem 0;
}

.btn-pdf-externo {
    display: inline-block;
    padding: 0.9rem 1.4rem;
    background: #1d2c5b;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: background 0.25s ease, transform 0.2s ease;
}

.btn-pdf-externo:hover {
    background: #7ebc42;
    transform: translateY(-2px);
}

/* Estilos para video */
.item-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
}

.blog-item-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.play-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.video-overlay span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Efectos hover para video */
.item-video-wrapper a {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.item-video-wrapper a:hover {
    transform: scale(1.02);
}

/* Ocultar controles nativos del video para mejor apariencia */
.blog-item-video::-webkit-media-controls {
    display: none !important;
}

.blog-item-video {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Placeholder actualizado */
.item-image-placeholder .placeholder-content span {
    content: "Sin multimedia";
}

.noticia-contenedora {
    margin-top: 1.5rem;
}

.fila-video-imagen,
.fila-imagen-texto {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.col-video,
.col-imagen,
.col-texto {
    flex: 1;
}

.imagen-destacada {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.texto-debajo {
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .fila-video-imagen,
    .fila-imagen-texto {
        flex-direction: column;
    }
}

/* Contenedor horizontal superior (video + imagen) */
.fila-video-imagen,
.fila-imagen-texto {
    max-width: 900px;         /* 🔹 más pequeño */
    /* margin: 0 auto 2rem auto; */
    display: flex;
    gap: 1.5rem;
}

/* Cada columna mantiene el mismo ancho */
.col-video, .col-imagen {
    flex: 1;
}

/* CONTENEDOR unificado para video e imagen */
.media-box {
    width: 100%;
    aspect-ratio: 16 / 9;   /* 🔹 Mismo alto para ambos */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Imagen principal */
.media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 🔹 Hace la imagen igual al video */
    border-radius: 12px;
}

/* Video dentro de media-box */
.media-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Miniatura de video sobre la que hacemos click */
.video-thumb-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Botón play centrado */
.video-thumb-container .btn-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    font-size: 44px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 10;
}
/* Oculta la imagen principal cuando se repite dentro de la galería */
.imagen-principal-oculta {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
}



/* Responsive */
@media (max-width: 900px) {
    .fila-video-imagen,
    .fila-imagen-texto {
        flex-direction: column;
        max-width: 100%;
    }
}


/* =========================================================
   🧩 Neutralizar contenedor de Joomla (.blog-item)
   ========================================================= */
.com-content-category-blog__item.blog-item {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

/* Evita que las .info-card se desalineen dentro */
.com-content-category-blog__item.blog-item > .info-card {
  margin: 1.5rem auto; /* margen controlado solo en la tarjeta */
  width: 100%;
  max-width: 1200px;
}



/* Contenedor general */
.oficinas-horizontal {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Cada fila: texto a la izquierda, imagen a la derecha */
.oficina-fila {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background: rgba(255,255,255,0.55); */
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  /* box-shadow: 0 3px 10px rgba(0,0,0,0.08); */
}

/* Columna de texto */
.oficina-info {
  flex: 1;
}

.oficina-info h3 {
  color: #1d2c5b;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.oficina-info p {
  margin: 0.3rem 0;
  font-size: 1rem;
}

/* Imagen */
.oficina-imagen {
  flex: 0 0 280px; /* tamaño fijo a la derecha */
  display: flex;
  justify-content: flex-end;
}

.oficina-imagen img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive para móviles */
@media (max-width: 900px) {
  .oficina-fila {
    flex-direction: column;
    text-align: center;
  }

  .oficina-imagen {
    flex: 1;
    justify-content: center;
    margin-top: 1rem;
  }

  .oficina-imagen img {
    max-width: 80%;
  }
}
/* ==========================================================
   🔙 BOTÓN VOLVER — UNIFICADO CON ESTILO CORPORATIVO
   ========================================================== */
.boton-regresar {
  text-align: right;
  margin-top: 1.5rem;
  height: 60px;
}

.boton-regresar .btn-volver {
  display: inline-block;
  background: linear-gradient(135deg, #1D2C5B, #304C9B);
  color: #fff !important;
  padding: 0.6rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.boton-regresar .btn-volver:hover {
  background: linear-gradient(135deg, #7EBC42, #9CD765);
  color: #1D2C5B !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(126, 188, 66, 0.4);
}

.boton-regresar .btn-volver::before {
  /* content: "← "; */
  font-weight: bold;
  margin-right: 0.2rem;
}
.item-text-column.noticia-clickable {
    cursor: pointer;
}

.item-text-column.noticia-clickable .page-header h4 .titulo-noticia-link {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    color: inherit; /* Mantiene el color del texto padre */
    transition: color 0.3s ease; /* Transición suave para hover */
}

.item-text-column.noticia-clickable .page-header h4 .titulo-noticia-link:hover,
.item-text-column.noticia-clickable .page-header h4 .titulo-noticia-link:focus {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    color: #007bff; /* Color azul al hacer hover, puedes cambiarlo */
}
.botones-horarios {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap; /* Se apilan en móvil */
  margin-top: 2rem;
}


/* ==========================================================
   COLUMNAS BASE PARA NOTICIAS
========================================================== */

/* Quitamos centrado y obligamos alineación izquierda */
.fila-video-imagen,
.fila-imagen-texto {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    /* ANTES: max-width: 900px  (centraba el bloque)
       AHORA: ocupa todo el espacio, alineado a la izquierda */
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0;
}

/* Ajustamos columnas */
.col-video,
.col-imagen,
.col-texto-inicial {
    flex: 1;
    /* display: flex;
    flex-direction: column; */
}

/* Precisamos tamaños deseados */
.col-video   { flex-basis: 33%; }
.col-imagen  { flex-basis: 33%; }
.col-texto-inicial { flex-basis: 33%; }

/* Mantener media-box homogénea */
.media-box {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

/* IMÁGENES dentro de media-box */
.media-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* TEXTO DEBAJO (100% ancho) */
.texto-debajo {
    margin-top: 1rem;
    width: 100%;
}

/* Responsive */

@media (max-width: 991px) {
    .fila-video-imagen,
    .fila-imagen-texto {
        flex-direction: column;
    }

    .col-video,
    .col-imagen,
    .col-texto-inicial {
      width: 100%;
        flex-basis: 100%;
    }
}
/* Justificar texto en todos los bloques textuales */
.col-texto-inicial,
.texto-debajo,
.texto-completo,
.noticia-contenedora p {
    text-align: justify;
}

/* ==========================================
   SISTEMA DE COMPORTAMIENTO DE IMÁGENES
   PARA NOTICIAS (igual que banner)
========================================== */

.imagen-noticia-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

/* HORIZONTAL */
.imagen-noticia-wrapper.horizontal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* VERTICAL (blur como fondo + imagen centrada) */
@media (min-width: 993px) {
  .imagen-noticia-wrapper.vertical {
      background-size: cover;
      background-position: center;
      position: relative;
  }

  .imagen-noticia-wrapper.vertical::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: inherit;
      background-size: cover;
      background-position: center;
      filter: blur(8px) brightness(0.9);
      z-index: 1;
      transform: scale(1.1);
  }

  .imagen-noticia-wrapper.vertical img {
      position: relative;
      z-index: 2;
      object-fit: contain;
      max-width: 80%;
      max-height: 80%;
      width: auto;
      height: auto;
      margin: auto;
      display: block;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 8px;
  }
}

/* CUADRADA */
@media (min-width: 993px) {
  .imagen-noticia-wrapper.cuadrada {
      background-size: cover;
      background-position: center;
      position: relative;
      overflow: hidden;
  }

  .imagen-noticia-wrapper.cuadrada::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: inherit;
      background-size: cover;
      background-position: center;
      filter: blur(8px) brightness(0.9);
      transform: scale(1.1);
      z-index: 1;
  }

  .imagen-noticia-wrapper.cuadrada img {
      position: relative;
      z-index: 2;
      object-fit: contain;
      max-width: 80%;
      max-height: 80%;
      margin: auto;
      display: block;
      top:40px;
  }
}

/* Responsive: vertical y cuadrada se comportan como horizontales */
@media (max-width: 992px) {
  .imagen-noticia-wrapper.vertical,
  .imagen-noticia-wrapper.cuadrada {
      background: none !important;
  }

  .imagen-noticia-wrapper.vertical::before,
  .imagen-noticia-wrapper.cuadrada::before {
      display: none !important;
  }

  .imagen-noticia-wrapper.vertical img,
  .imagen-noticia-wrapper.cuadrada img {
      object-fit: cover !important;
      width: 100% !important;
      height: auto !important;
      max-width: 100% !important;
      max-height: none !important;
      margin: 0 !important;
  }
}

/* ================================
   NOTAS DE PRENSA – TARJETA
================================ */
.prensa-card {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(4px);
    transition: box-shadow .25s ease;
    cursor: pointer;
}

.prensa-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* NOTAS DE PRENSA – SOBRESCRIBIR NOTICIAS */
.info-card.noticia-card.prensa-card .item-media-column {
    width: 100px !important;
    max-width: 120px !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
/*    display: flex !important; */
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: rgb(255, 255, 255);
	display: none;
}

 
/* Imagen PDF */
.info-card.noticia-card.prensa-card .item-media-column img {
    width: 48px !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: 1/1 !important;
}


/* ================================
   TEXTO
================================ */
.prensa-card .item-text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prensa-card h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: 600;
}

.prensa-card .fecha-publicacion {
    font-size: 0.9rem;
    color: #666;
}


/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .prensa-card .item-media-column img {
        width: 70px !important;
    }

    .prensa-card h4 {
        font-size: 1rem;
    }
}


