/* =========================================================
   UGEL Cotabambas — Shared Styles
   Aplica a todas las páginas del sitio web.
========================================================= */

/* Material Symbols icon font settings */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
}

/* Glass / backdrop effect */
.glass-effect {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Editorial card shadow */
.editorial-shadow {
  box-shadow: 0px 12px 32px rgba(25, 28, 30, 0.06);
}

/* Ambient shadow (alias) */
.shadow-ambient {
  box-shadow: 0px 12px 32px rgba(25, 28, 30, 0.06);
}

/* Logo grayscale on hover */
.logo-grayscale {
  filter: grayscale(100%);
  transition: filter 0.3s ease-in-out;
}
.group:hover .logo-grayscale {
  filter: grayscale(0%);
}

/* Text balance utility */
.text-balance {
  text-wrap: balance;
}

/* Custom scrollbar (Noticias sidebar) */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #c3c6d2;
  border-radius: 10px;
}

/* Animación Carrusel (Marquee) */
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-scroll {
  display: flex;
  width: max-content;
  animation: scrollLeft 40s linear infinite;
}
.animate-scroll:hover {
  animation-play-state: paused;
}
.scroll-container {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* ===========================
   BANNER SLIDER
   =========================== */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 3s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slider-item.active {
    opacity: 1;
    z-index: 1;
}

.slider-item:not(.active) {
    z-index: 0;
}
