
:root {
  --color-yellow-pastel: #F9E183;
  --color-orange-pastel: #E0A472;
  --color-green-pastel: #4CA36F;
  --color-light-green-pastel: #70A83B;
  --color-blue-pastel: #001C7D;

  --btn-primary-bg: #004d93;
  --btn-primary-hover: #004d93;
  --btn-secondary-bg: #00B4D8;
  --btn-secondary-hover: #0096C7;
  --btn-text-color: #FFFFFF;

  /* Variables para las Barras */
  --nav-primary-bg: rgba(255, 255, 255, 0.95);
  --nav-secondary-bg: rgba(40, 50, 65, 0.9);
  --my-gap: 2px;

  --background-color: #F1F5F8;
  --primary-color: #00408C;
  --text-gray: #374151;
}

@theme {
  --color-regal-blue: #243c5a;
}


/* Animación de rebote sutil para iconos */
@keyframes subtleIconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

/* Animación de rebote sutil para elementos */
@keyframes subtleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Animación de entrada con desvanecimiento y ascenso */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación de entrada con deslizamiento desde la izquierda */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animación de brillo pulsante */
@keyframes glow {
  0% {
    box-shadow: 0 0 0 rgba(255, 106, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 12px rgba(255, 106, 0, 0.8);
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 106, 0, 0.5);
  }
}

/* Animación de barrido de resplandor (para breadcrumb) */
@keyframes sweepGlow {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Animación combinada de rebote y escala para botones */
@keyframes bounceAndScaleStreaming {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   Estilos Generales del Sitio
   ========================================================================== */

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
}

/* Clase genérica para elementos interactivos con efecto de hover */
.interactive-card {
  transition: all 0.3s ease;
}

.interactive-card:hover {
  animation: subtleBounce 0.3s ease-in-out;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

/* Estilos para el texto enriquecido (richtext) */
.richtext-content p {
  margin-bottom: 1.75rem;
  color: var(--text-gray);
}

.richtext-content ul,
.richtext-content ol {
  /* margin-bottom: 2.5rem; */
  padding-left: 2rem;
}

.richtext-content li {
  /* margin-bottom: 1rem; */
  line-height: 1.9;
}

.richtext-content ul.long-list {
  column-count: 2;
  column-gap: 3rem;
}

/* Estilo para tarjetas de datos */
.data-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Estilos para tablas personalizadas */
.table-container {
  margin-bottom: 2.5rem;
}

.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
  overflow: hidden;
}

.custom-table th,
.custom-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border: none;
}

.custom-table th {
  background: linear-gradient(90deg, var(--btn-primary-bg), var(--btn-primary-hover));
  color: var(--btn-text-color);
  font-weight: 600;
}

.custom-table td {
  background: #ffffff;
  color: var(--text-gray);
}

.custom-table tr:hover td {
  background: rgba(255, 106, 0, 0.1);
  transition: background 0.3s ease;
}

/* ==========================================================================
   Navegación y Barras
   ========================================================================== */

/* Estilos para el menú móvil */
.mobile-menu {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 248, 0.9));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.mobile-menu .menu-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu .menu-link {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.mobile-menu .menu-link:hover {
  color: var(--btn-primary-bg);
  transform: translateX(5px);
}

.mobile-sub-menu {
  padding-left: 1rem;
}

.mobile-sub-menu a {
  color: #FFFFFF;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.mobile-sub-menu a:hover {
  color: #FFFFFF;
  transform: translateX(5px);
}

/* Estilo para la rotación de la flecha */
.rotate-180 {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* Fondo glassmorphism para la barra secundaria */
.bg-glass-secondary {
  background-color: var(--nav-secondary-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Fondo para la barra principal */
.bg-nav-primary {
  background-color: var(--nav-primary-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilo general para los elementos del nav secundario */
.nav-item {
  font-size: 0.65rem;
  font-weight: 400;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
  color: #ffffff;
  transition: all 0.3s ease;
  outline: none;
}

.nav-item:hover {
  color: var(--btn-primary-bg);
  transform: scale(1.03);
  box-shadow: none;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-item:hover svg {
  animation: subtleIconBounce 0.5s ease-in-out;
}

.nav-item div {
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Estilo para los enlaces del menú principal */
.menu-link {
  position: relative;
  color: var(--text-gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--btn-primary-bg);
  transition: width 0.3s ease;
}

.menu-link:hover {
  color: var(--btn-primary-bg);
  transform: translateY(-2px);
}

.menu-link:hover::after {
  width: 100%;
}

/* Estilo para los ítems del submenú */
.submenu-item {
  color: var(--text-gray);
  transition: all 0.3s ease;
  position: relative;
}

.submenu-item:hover {
  color: var(--btn-primary-bg);
  transform: translateX(5px);
}

.submenu-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--btn-primary-bg);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease, left 0.3s ease;
}

.submenu-item:hover::before {
  opacity: 1;
  left: -15px;
}


/* Estilo para botones primarios y secundarios */
.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-text-color);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
}

.btn-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-text-color);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--btn-secondary-hover);
}

.btn-primary-sm {
  background-color: var(--btn-primary-bg);
  color: var(--btn-text-color);
  padding: 4px 12px;
  font-size: 9px;
  border-radius: 9999px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-primary-sm:hover {
  background-color: var(--btn-primary-hover);
}

/* Estilo para el botón de streaming */
.streaming-btn {
  display: inline-block;
  padding: 3px 6px;
  background: linear-gradient(135deg, var(--color-blue-pastel), var(--color-light-green-pastel));
  color: var(--btn-text-color);
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  outline: none;
  border: none;
  box-shadow: 0 0 6px rgba(0, 255, 128, 0.3);
}

.streaming-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s ease;
  z-index: -1;
}

.streaming-btn:hover {
  background: linear-gradient(135deg, var(--color-blue-pastel), var(--color-green-pastel));
  filter: brightness(1.1);
  box-shadow: 0 0 12px rgba(0, 255, 128, 0.4);
  animation: bounceAndScaleStreaming 0.3s ease-in-out;
}

.streaming-btn:hover::before {
  left: 100%;
}

/* Estilo para botones de contacto */
.contact-btn {
  font-size: 11px;
  font-weight: 400;
  padding: 4px 12px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  outline: none;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s ease;
  z-index: -1;
}

.contact-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.contact-btn:hover::before {
  left: 100%;
}

.phone-btn {
  background: linear-gradient(90deg, var(--color-orange-pastel), var(--btn-primary-bg));
  color: var(--btn-text-color);
}

.emergency-btn {
  background: linear-gradient(90deg, #FF4141, #C50000);
  color: var(--btn-text-color);
}

/* Botón de búsqueda */
#searchButton {
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   Slider principal
   ========================================================================== */

.slider-overlay {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}
/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.animate-fadeInUp {
    animation: fadeInUp 1.2s ease-out forwards;
}

.hero-img-wrapper.bg-gradient-to-b {
    background: linear-gradient(to bottom, var(--color-blue-pastel), var(--background-color));
}


/* ==========================================================================
   Sección #page-title (Breadcrumb)
   ========================================================================== */

#page-title {
    background: linear-gradient(135deg, rgba(241, 245, 248, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.breadcrumb-link {
    position: relative;
    padding: 4px 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 106, 0, 0.1));
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease forwards;
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-link:hover {
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.3), rgba(255, 106, 0, 0.5));
    animation: glow 1s ease infinite;
}

.breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    animation: slideIn 0.5s ease forwards;
    transition: transform 0.3s ease;
    margin: 0 8px;
    color: var(--text-gray);
}

.breadcrumb-separator:hover {
    transform: scale(1.2);
}

[aria-current="page"] {
    background: linear-gradient(90deg, var(--btn-primary-bg), var(--btn-primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideIn 0.5s ease forwards;
    font-weight: 600;
}


/* ==========================================================================
   Sección #content (Contenido Principal y Sidebar)
   ========================================================================== */

#content {
    background: linear-gradient(135deg, rgba(241, 245, 248, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding-bottom: 2rem;
}

.content-section {
    padding: 2rem;
    border-radius: 0.5rem;
}

.sidebar {
    padding: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 248, 0.9));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.title-block h1 {
  position: relative;
}

.title-block h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--btn-primary-bg), var(--btn-primary-hover));
  border-radius: 2px;
}

.title-block span {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.125rem;
  color: var(--text-gray);
}

.content-section h2,
.fancy-title h2 {
  position: relative;
}

.content-section h2::after,
.fancy-title h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--btn-primary-bg), var(--btn-primary-hover));
  border-radius: 2px;
}

.content-section h3,
.fancy-title h3 {
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 0.5rem;
}

/* Estilo base para todos los h4 */
h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-gray);
  line-height: 1.8; /* Aseguramos el line-height en todos los contextos */
  margin-bottom: 1.5rem;
}

/* Estilos específicos para contextos dentro de content-section o fancy-title */
.content-section h4,
.fancy-title h4 {
  position: relative;
  border-bottom: 1px solid #D1D5DB;
  padding-bottom: 0.5rem;
}

/* Estilo para h4 dentro de bloques de texto enriquecido */
.richtext-content h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #D1D5DB;
  padding-bottom: 0.5rem;
}

/* Línea decorativa para mantener consistencia visual */
.content-section h4::after,
.fancy-title h4::after,
.richtext-content h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--btn-primary-bg), var(--btn-primary-hover));
  border-radius: 2px;
}

.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.2);
}

.divider span {
  transition: transform 0.3s ease;
  width: 3rem;
  height: 0.25rem;
  background: var(--btn-primary-bg);
  border-radius: 9999px;
}

.divider:hover span {
  transform: scale(1.2);
}

.sidebar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 248, 0.9));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.sidebar .widget {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar .widget:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.related-posts a {
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.related-posts a:hover {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(255, 255, 255, 0.9));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.2);
}

.title-block,
.content-section,
.fancy-title,
.document-group,
.sidebar {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* styles.css (fragmento relevante) */

/* ==========================================================================
   Estilos para Tablas
   ========================================================================== */
.table-container {
  margin-bottom: 2.5rem;
  overflow-x: auto;
}

.table-responsive {
  width: 100%;
}

.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-table-header {
  background: linear-gradient(90deg, var(--btn-primary-bg), var(--btn-primary-hover));
  color: var(--btn-text-color);
  font-weight: 600;
  padding: 1rem 1.5rem;
  text-align: left;
  white-space: nowrap;
}

.custom-table-cell {
  background: #ffffff;
  color: var(--text-gray);
  padding: 1rem 1.5rem;
  text-align: left;
  vertical-align: middle;
}

.custom-table-row:hover .custom-table-cell {
  background: rgba(255, 106, 0, 0.1);
  transition: background 0.3s ease;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-gray);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0.5rem 0.5rem 0 0;
}


/* styles.css (fragmento relevante) */

/* ==========================================================================
   Estilos para el Sidebar de Noticias
   ========================================================================== */


/* ==========================================================================
   Estilos para el Sidebar de Noticias
   ========================================================================== */

.sidebar-news {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 248, 0.9));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.posts-sm {
  margin-bottom: 0;
}

.entry {
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.1);
}

.grid-inner {
  align-items: center;
}

.entry-image .rounded-circle {
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.entry-image .rounded-circle:hover {
  border-color: var(--btn-primary-bg);
  transform: scale(1.05);
}

.entry-title h4 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.title-link {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.title-link:hover {
  color: var(--btn-primary-bg);
}

.entry-meta .meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: #6B7280;
}

.entry-meta .meta-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.entry-meta .icon-calendar3 {
  color: var(--btn-primary-bg);
}



/* ==========================================================================
   Barra de Alerta
   ========================================================================== */
.alert-bar {
  height: 64px;
}

.alert-message.active {
  opacity: 1;
}


/* ==========================================================================
   Estilos No Utilizados (Comentados para Referencia)
   ========================================================================== */

/* Estos estilos no se utilizan en las plantillas proporcionadas. Se comentan para mantenerlos como referencia. */

/*

.slide h2,
.slide h3 {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.dot {
  transition: background-color 0.3s, opacity 0.3s;
}

.dot:hover {
  opacity: 1 !important;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
*/

/* ==========================================================================
   Tipografía
   ========================================================================== */
/* Tipografía para encabezados */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.5;
}

/* Tamaños de fuente para encabezados */
h1 {
  font-size: 2em !important;
}
h2 {
  font-size: 1.5em !important;
}
h3 {
  font-size: 1.3em !important;
}
h4 {
  font-size: 1em !important;
}
h5 {
  font-size: 0.8em !important;
}
h6 {
  font-size: 0.7em !important;
}

.accordion-container ol {
  padding-left: 1.5rem;
  list-style-type: decimal;
}

.accordion-container ol li {
  margin-bottom: 0.5rem;
}

footer a {
  transition: color 0.3s ease;
}

footer .bg-opacity-10:hover {
  backdrop-filter: blur(4px);
  transition: backdrop-filter 0.3s ease;
}

footer .rounded-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

/* Estilo del contenedor del icono del clima */
.weather-icon {
  position: relative;
  display: inline-block;
}

/* Asegurar que el SVG herede el tamaño del contenedor y sea visible */
.weather-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor; /* Permitir que el color llene el SVG si usa fill */
  stroke: currentColor; /* Mantener el stroke para SVGs que lo usen */
  color: #FF6A00; /* Color base naranja para alto contraste */
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3)); /* Sombra suave para profundidad */
  transition: color 0.5s ease; /* Transición suave para el cambio de color */
}

/* Animación de brillo automático */
@keyframes autoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
    color: #FF6A00; /* Color base */
  }
  50% {
    filter: drop-shadow(0 0 8px var(--glow-color, #FFFFFF));
    color: var(--glow-color, #FFFFFF); /* Color del brillo */
  }
}

/* Efecto de destello estelar */
.weather-icon::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 80%;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 10%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  animation: starSparkle 5s ease-in-out infinite;
}

/* Animación del destello estelar */
@keyframes starSparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  45% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
  55% {
    opacity: 0;
  }
}

/* Color del brillo según la temperatura */
.weather-icon.cold {
  --glow-color: #00B4D8; /* Azul para temperaturas < 15°C */
}

.weather-icon.warm {
  --glow-color: #FFFFFF; /* Blanco para temperaturas ≥ 15°C para mayor contraste */
}

/* Ajustar el fondo del contenedor para mayor contraste */
.bg-white.bg-opacity-10 {
  background-color: rgba(0, 0, 0, 0.2); /* Fondo más oscuro para mayor contraste */
  backdrop-filter: blur(4px);
}

div.content-section p {
  margin: 10px 0;
}

.carousel-container {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.carousel-container::-webkit-scrollbar {
    display: none;
}
.carousel-item {
    scroll-snap-align: start;
    flex-shrink: 0;
}
.sponsor-logo {
    filter: grayscale(70%);
    transition: all 0.3s ease;
}
.sponsor-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.fade-left {
    background: linear-gradient(to right, rgba(249, 250, 251, 1), transparent);
}
.fade-right {
    background: linear-gradient(to left, rgba(249, 250, 251, 1), transparent);
}
