/* ===== ESTILOS ESPECÍFICOS PARA LA PÁGINA DE DETALLE DE NOTICIA ===== */

/* Hero Section a pantalla completa */
.page-hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media(min-width:768px) {
    .page-hero.mantener-proporciones {
        height:calc(95vh - 156px);
    }
}
.page-hero.object-position-top .hero-image img {
    object-position: top;
}



.page-hero-tc {
    align-items: flex-start;
    justify-content: center;
}
.page-hero-tr {
    align-items: flex-start;
    justify-content: flex-end;
}
.page-hero-cr {
    align-items: center;
    justify-content: flex-end;
}
.page-hero-br {
    align-items: flex-end;
    justify-content: flex-end;
}
.page-hero-bc {
    align-items: flex-end;
    justify-content: center;
}
.page-hero-bl {
    align-items: flex-end;
    justify-content: flex-start;
}
.page-hero-cl {
    align-items: center;
    justify-content: flex-start;
}
.page-hero-tl {
    align-items: flex-start;
    justify-content: flex-start;
}
.page-hero-offscreen .hero-content {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
:is( .page-hero-tl, .page-hero-cl, .page-hero-bl ) .hero-title {
    text-align:left;
}



/* Versión móvil con aspect-ratio 3:4 */
@media (max-width: 768px) {
  .page-hero {
    height: auto;
    aspect-ratio: 3 / 4;
  }
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  /*background: rgba(48, 96, 144, 0.8);*/
  padding: var(--spacing-lg) 0;
}

.hero-title {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 -2px 4px rgba(0, 0, 0, 0.6);
  line-height:1.2
}

/* Contenedor principal del artículo */
.article-detail {
  padding: var(--spacing-xl) 0;
  padding-top: 0;
  background-color: var(--gris-6);
}

/* Navegación simplificada */
.article-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*margin-bottom: var(--spacing-sm);*/
  padding: var(--spacing-md) 0;
}

.article-navigation .breadcrumb {
  color: var(--gris-2);
  font-size: 14px;
}

.article-navigation .breadcrumb a {
  color: var(--primario);
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-navigation .breadcrumb a:hover {
  color: #000;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: white;
  color: var(--primario);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid var(--gris-4);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-back:hover {
  background: var(--gris-6);
  color: var(--primario);
  border-color: var(--gris-3);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-back svg {
  width: 14px;
  height: 14px;
}

/* Layout con sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--spacing-xl);
  align-items: start;
}

/* Layout de una sola columna */
.article-layout-single {
  display: block;
  max-width: 1000px;
  margin: 0 auto;
}

/* Contenido principal */
.article-main {
  min-width: 0; /* Para evitar overflow */
}

.article-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.article-layout-single .article-content {

 background:none;
 box-shadow:none;
}

/* Imagen principal - más alta y específica */
.article-hero-image img {
  width: 100%;
  height: 450px !important; /* Forzar altura con !important */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(23, 38, 60, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
}

.article-hero-image:hover .hero-overlay {
  opacity: 1;
}

.article-hero-image:hover img {
  transform: scale(1.02);
}

.article-hero-image figcaption {
  padding: var(--spacing-sm) var(--spacing-xl);
  background: var(--gris-6);
  color: var(--gris-2);
  font-size: 14px;
  font-style: italic;
  border-bottom: 1px solid var(--gris-5);
}

/* Galería de imágenes - ahora independiente */
.article-gallery {
  padding: var(--spacing-lg) 0;
  margin-top: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: var(--spacing-md);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-xs);
  padding: 0 var(--spacing-xl);
}

.gallery-item {
  position: relative;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease;
  margin: 0;
}

.gallery-item:hover {
  transform: translateY(-2px);
}

.gallery-item img {
  width: 100%;
  height: 80px; /* Muy pequeñas */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(23, 38, 60, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Header del artículo */

.article-header {
  padding: var(--spacing-lg) var(--spacing-xl) var(--spacing-lg);
  border-bottom: 1px solid var(--gris-5);
}
.article-layout-single .article-header {
  padding: 0;
  border:none;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.article-date {
  color: var(--primario-claro);
  font-size: 14px;
  font-weight: 500;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.article-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primario);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

.article-layout-single .article-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primario);
  line-height: 1.2;
  margin-bottom: 0;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.article-lead {
  font-size: 1.1rem;
  color: var(--gris-2);
  line-height: 1.6;
  font-weight: 400;
  margin: 0;
}

/* Cuerpo del artículo - solo texto */
.article-body {
  padding: var(--spacing-xl);
  line-height: 1.8;
}

.article-layout-single .article-body { 
  padding-top: 0;
}

.article-body p {
  margin-bottom: var(--spacing-md);
  color: var(--gris-1);
  font-size: 16px;
}

.article-body h2 {
  color: var(--primario);
  font-size: 1.6rem;
  font-weight: 600;
  margin: var(--spacing-xl) 0 var(--spacing-md);
  line-height: 1.3;
}

.article-body h3 {
  color: var(--primario);
  font-size: 1.3rem;
  font-weight: 600;
  margin: var(--spacing-lg) 0 var(--spacing-sm);
  line-height: 1.3;
}

.article-body ul {
  list-style:disc;
  padding-left:2rem;
  margin-bottom:var(--spacing-md);
}
    .article-body li + li {
        margin-top: .5rem;
    }

.article-body .article-lead {
  font-size: 1.1rem;
  color: var(--gris-2);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--gris-6);
}
@media (max-width: 576px) {
  .article-body .article-lead {
    padding: 0;
  }
}

.article-body a {
    text-decoration:underline;
    text-underline-offset: 0.25em;
}


/* Enlaces de más información */
.more-info {
  padding: var(--spacing-xl);
  border-top: 1px solid var(--gris-5);
  background: var(--gris-6);
}

.more-info h3 {
  color: var(--primario);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.info-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm); /* Aumentar gap de xs a sm */
  padding: var(--spacing-sm) var(--spacing-md);
  background: white;
  color: var(--primario);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2; /* Reducir interlineado */
  transition: all 0.3s ease;
  border: 1px solid var(--gris-4);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-link:hover {
  background: var(--verde-claro);
  color: var(--primario);
  border-color: var(--verde);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.info-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Compartir en redes sociales */
.article-share {
  padding: var(--spacing-xl);
  border-top: 1px solid var(--gris-5);
  background: var(--gris-6);
}

.article-share h3 {
  color: var(--primario);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.share-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  color: white;
}

.share-facebook {
  background: #1877f2;
}

.share-facebook:hover {
  background: #166fe5;
  color: white;
}

.share-twitter {
  background: #000000;
}

.share-twitter:hover {
  background: #333333;
  color: white;
}

.share-linkedin {
  background: #0077b5;
}

.share-linkedin:hover {
  background: #006399;
  color: white;
}

.share-whatsapp {
  background: #25d366;
}

.share-whatsapp:hover {
  background: #22c55e;
  color: white;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: white;
  border-radius: 8px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
  color: var(--primario);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--verde);
  padding-bottom: var(--spacing-xs);
}

/* Listado de noticias minimalista */
.latest-news {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm); /* Gap más pequeño */
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 2px; /* Gap muy pequeño entre fecha y título */
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--gris-5);
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Quitar estilos de imagen */
.news-image {
  display: none;
}

.news-content {
  flex: 1;
  min-width: 0;
}

.news-date {
  color: var(--gris-3);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-content h4 {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
}

.news-content h4 a {
  color: var(--primario);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-content h4 a:hover {
  color: var(--verde);
}

/* Modal de galería */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.gallery-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.gallery-modal-caption {
  color: white;
  padding: var(--spacing-sm) 0;
  font-size: 16px;
  line-height: 1.4;
  max-width: 600px;
  margin: 0 auto;
}

.gallery-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.gallery-modal-close:hover {
  opacity: 0.7;
}

.gallery-modal-prev,
.gallery-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 24px;
  font-weight: bold;
  padding: var(--spacing-sm);
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-prev {
  left: -60px;
}

.gallery-modal-next {
  right: -60px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Estilos específicos para el mapa */
.map-section {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .article-sidebar {
    /* CAMBIO: Quitar order: -1 para que aparezca debajo en móvil */
    position: static;
  }

  .gallery-modal-prev {
    left: 10px;
  }

  .gallery-modal-next {
    right: 10px;
  }

  .map-section {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
    padding: 0 var(--spacing-md);
  }

  .article-detail {
    padding: var(--spacing-lg) 0; /* Reducir de xl a lg en móvil */
    
  }

  .article-layout-single   .article-detail {   
    padding-top: 0;
  }

  .article-hero-image img {
    height: 300px !important; /* Forzar en móvil también */
  }

  .article-gallery {
    padding: var(--spacing-md);    
  }
  .article-layout-single .article-gallery {    
    margin-bottom: var(--spacing-lg);
  }

 .gallery-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en tablet */
   
  }
  .article-layout-single .gallery-grid {
   
    padding: 0;
  }
  .gallery-item img {
    height: 70px;
  }

  .info-links {
    grid-template-columns: 1fr;
  }

  .more-info {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .article-navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }

  .btn-back {
    align-self: flex-end;
  }

  .article-content {
    border-radius: 0;
  }

  .article-title {
    font-size: 1.8rem;
  }

  .article-lead {
    font-size: 1rem;
  }

  .article-header,
  .article-body,
  .article-share {
    padding: var(--spacing-lg) var(--spacing-md);
  }

.article-layout-single .article-body {
    padding-top: 0;
  }
  .article-layout-single .article-header {
    padding: 0;
  }

  .article-hero-image figcaption {
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .share-buttons {
    justify-content: center;
  }

  .gallery-modal-close {
    top: 10px;
    right: 10px;
  }

  .gallery-modal-prev,
  .gallery-modal-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .map-section {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en móvil */
   
  }

   .article-layout .gallery-grid {
   
    padding: 0;
  }

  .gallery-item img {
    height: 60px;
  }

  .article-title {
    font-size: 1.6rem;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }

  .share-buttons {
    flex-direction: column;
  }

  .share-btn {
    justify-content: center;
  }

  .news-item {
    flex-direction: column;
    gap: var(--spacing-xs);
  }

  .news-image {
    width: 100%;
    height: 120px;
  }

  .map-section {
    height: 300px;
  }
}

/* ===== SLIDER DE IMÁGENES INFINITO ===== */

.image-slider {
  position: relative;
  width: 100%;
  height: 480px;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: 700%; /* 7 slides × 100% (5 originales + 2 clones) */
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-14.285714%); /* Empezar en el primer slide real (100/7) */
}

.slider-track.no-transition {
  transition: none;
}

.slide {
  position: relative;
  width: 14.285714%; /* 100% / 7 slides */
  height: 100%;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.slide.active .slide-caption {
  transform: translateY(0);
}

/* Botones de navegación */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primario);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
}

.image-slider:hover .slider-btn {
  opacity: 1;
  visibility: visible;
}

.slider-btn:hover {
  background: white;
  color: var(--primario-oscuro);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-prev {
  left: var(--spacing-md);
}

.slider-next {
  right: var(--spacing-md);
}

/* Indicadores */
.slider-indicators {
  position: absolute;
  bottom: var(--spacing-xs);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-xs);
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.indicator.active {
  background: white;
  border-color: white;
  transform: scale(1.1);
}

/* Estados de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .slider-track {
    transition: none;
  }

  .slide-caption {
    transition: none;
    transform: translateY(0);
  }

  .slider-btn {
    transition: none;
  }

  .indicator {
    transition: none;
  }

  .slide {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .image-slider {
    height: 320px;
    height:100%;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    opacity: 1;
    visibility: visible;
  }

  .slider-btn svg {
    width: 20px;
    height: 20px;
  }

  .slider-prev {
    left: var(--spacing-sm);
  }

  .slider-next {
    right: var(--spacing-sm);
  }

  .slide-caption {
    font-size: 12px;
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
  }

  .indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .image-slider {
    height: 280px;
    height:100%;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }

  .slider-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Efecto hover en el slider completo */
.image-slider:hover .slide.active img {
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

/* Pausa de autoplay en hover */
.image-slider:hover {
  animation-play-state: paused;
}

/* ===== ESTILOS PARA HERO CON VIDEO ===== */

.page-hero-video {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Versión móvil con aspect-ratio 3:4 */
@media (max-width: 768px) {
  .page-hero-video {
    height: auto;
    aspect-ratio: 3 / 4;
  }
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Imagen de fallback para usuarios con prefers-reduced-motion */
.hero-video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: none;
}

.hero-video-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mostrar fallback cuando prefers-reduced-motion está activo */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-video-fallback {
    display: block;
  }
}

/* Overlay para mejorar legibilidad del texto */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Ajustar el contenido del hero para video */
.page-hero-video .hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: var(--spacing-lg) 0;
}

.page-hero-video .hero-title {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 -2px 8px rgba(0, 0, 0, 0.8);
}

/* Responsive para hero con video */
@media (max-width: 768px) {
  .page-hero-video .hero-title {
    font-size: 1.8rem;
    padding: 0 var(--spacing-md);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 -2px 6px rgba(0, 0, 0, 0.9);
  }
}

@media (max-width: 480px) {
  .page-hero-video .hero-title {
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1), 0 -2px 4px rgba(0, 0, 0, 1);
  }
}

/* Control de video para accesibilidad */
.video-controls {
  position: absolute;
  bottom: var(--spacing-md);
  right: var(--spacing-md);
  z-index: 10;
  display: flex;
  gap: var(--spacing-xs);
}

.video-control-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primario);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.video-control-btn:hover {
  background: white;
  transform: scale(1.1);
}

.video-control-btn svg {
  width: 16px;
  height: 16px;
}

/* Ocultar controles en dispositivos con prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .video-controls {
    display: none;
  }
}

/* Responsive para controles de video */
@media (max-width: 768px) {
  .video-controls {
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
  }

  .video-control-btn {
    width: 36px;
    height: 36px;
  }

  .video-control-btn svg {
    width: 14px;
    height: 14px;
  }
}
