/*
Theme Name: Comuna Alejandra
Author: RyC Soluciones Informáticas
Description: Tema oficial para la Comuna.
Version: 1.0
*/

/* style.css */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px; /* Esto evita que el menú tape el título de la sección al llegar */
}
/* Colores de Identidad */
.bg-comuna-purple { 
    color: #8E248D; 
}

.btn-action { 
    background-color: #FBBF24; 
    transition: all 0.3s ease; 
}

.btn-action:hover { 
    background-color: #D97706; 
    transform: translateY(-2px); 
}

/* Hero Video */
.video-container { 
    position: relative; 
    height: 80vh; 
    overflow: hidden; 
}

video { 
    object-fit: cover; 
    width: 100%; 
    height: 100%; 
}

.overlay { 
    background: rgba(0, 0, 0, 0.5); 
}

/* Modales y Refinamientos Visuales */
.bg-black-95-custom {
    background-color: rgba(0, 0, 0, 0.35) !important;
}

.rounded-custom {
    border-radius: 0.3rem !important;
}

.rounded-2xl {
    border-radius: 0.3rem !important;
}

/* Scrollbar para el contenido del modal si es muy largo */
#modalContent::-webkit-scrollbar {
    width: 8px;
}

#modalContent::-webkit-scrollbar-thumb {
    background: #8E248D;
    border-radius: 10px;
}

/* Efecto para el video en la galería */
.fa-play {
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.group:hover .fa-play {
    transform: scale(1.2);
    color: #FBBF24; /* Dorado al pasar el mouse */
}

/* --- PIE DE PÁGINA (FOOTER) --- */
footer { 
    background: #333; 
    color: white; 
    text-align: center; 
    padding: 1rem 1rem; /* Le di un poquito más de aire arriba y abajo */
    margin-top: 2rem; 
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
        align-items: center;
    }
}

/* Estilo del contenedor de noticias */
.noticias-container {
    max-width: 800px;
    margin: 20px auto;
}

/* Base del skeleton */
.skeleton {
    background-color: #e2e5e7;
    background-image: linear-gradient(90deg, #e2e5e7 0px, #f2f5f7 40px, #e2e5e7 80px);
    background-size: 600px;
    animation: shine-lines 1.6s infinite linear;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Formas del esqueleto */
.skeleton-title { height: 24px; width: 70%; }
.skeleton-text { height: 14px; width: 100%; margin-top: 10px; }
.skeleton-text.short { width: 40%; }

@keyframes shine-lines {
    0% { background-position: -100px; }
    40%, 100% { background-position: 140px; }
}

.max-w-5xl {
    max-width: 56rem !important;
}

.py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.25rem !important;
}

.btn-close-modal{
    padding-top: 0.50rem !important;
    padding-bottom: 0.50rem !important;
}
/*cdn.tailwindcss.com*/


.text-sm_footer {
    font-size: 0.875rem !important;
    line-height: 0.50rem !important;
}

section {
    scroll-margin-top: -50px;
}