/* ====================================
   SITIO WEB - ESTILOS DE NOTICIAS
   ==================================== */

/* ===== SECCIÓN NOTICIAS ===== */

/* Descripción de las noticias */
.news-description {
  color: #ffffff;
  opacity: 0.9;
  font-size: 1.2rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ===== CONTENEDOR DE NOTICIAS ===== */

/* Contenedor principal de noticias */
.news-container {
  position: relative;
  max-width: 1400px;
  margin: 30px auto 0 auto;
  padding: 0 20px;
}

/* Contenido de las noticias */
.news-content {
  width: 100%; 
  min-height: 550px; 
  position: relative; 
  padding: 40px 35px; 
  border-radius: 15px; 
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* ===== ELEMENTOS DE NOTICIAS ===== */

/* Items de noticias */
.news-item {
  margin: 0;
  background: none;
  padding: 0;
  border: none;
  box-shadow: none;
}

/* Títulos de anuncios/noticias */
.announcement-title {
  color: #1B4D8C;
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

/* Párrafos de noticias */
.news-paragraph {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

/* ===== CONTENEDOR DE VIDEOS ===== */

/* Contenedor de videos en las noticias */
.video-container {
  text-align: center;
  margin: 25px 0;
  max-width: 100%;
  overflow: hidden;
}

/* Videos en las noticias */
.news-video {
  width: 100%; 
  max-width: 400px; 
  height: auto; 
  border-radius: 10px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: block;
  margin: 0 auto;
}

/* ===== INDICADOR Y CONTROLES ===== */

/* Indicador de posición y controles */
.news-indicator {
  text-align: center; 
  margin-top: 30px; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  gap: 25px;
  padding: 15px;
  background: rgba(255,255,255,0.1);
  border-radius: 25px;
  backdrop-filter: blur(5px);
}

/* Posición de la noticia */
.news-position {
  font-size: 16px;
  color: #1B4D8C;
  font-weight: bold;
  min-width: 50px;
}

/* Controles de auto-reproducción */
.auto-play-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botón de auto-reproducción */
.auto-play-btn {
  background: #4A90E2; 
  color: white; 
  border: none; 
  padding: 10px 16px; 
  border-radius: 20px; 
  cursor: pointer; 
  font-size: 13px;
  transition: all 0.3s ease;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Contenedor de barra de progreso */
.progress-container {
  width: 120px; 
  height: 6px; 
  background: rgba(255,255,255,0.3); 
  border-radius: 3px; 
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Barra de progreso */
.progress-bar {
  width: 0%; 
  height: 100%; 
  background: linear-gradient(90deg, #1B4D8C 0%, #4A90E2 100%); 
  transition: width 0.1s linear;
  border-radius: 3px;
}
