/* ==========================================
   ESTILOS ESPECÍFICOS DE LA GALERÍA
   ========================================== */

/* Contenedor Grid */
.galeria { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 20px; 
    margin-bottom: 30px; 
}

/* Tarjeta Individual */
.tarjeta { 
    background: white; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    text-decoration: none; 
    color: inherit; 
    display: block; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    position: relative; 
}

.tarjeta:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Contenedor de Imagen (Mantiene proporción 4:3) */
.img-container-home { 
    width: 100%; 
    aspect-ratio: 4 / 3; 
    background-color: #eee; 
    overflow: hidden; 
}

.img-container-home img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}

/* Etiqueta de Destacado */
.insignia-destacado {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1c40f;
    color: #2c3e50;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

/* Botones de Paginación */
.paginacion { 
    text-align: center; 
    margin: 20px 0 30px 0; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 8px; 
    flex-wrap: wrap; 
}

.paginacion a { 
    padding: 8px 14px; 
    background: white; 
    text-decoration: none; 
    border-radius: 8px; 
    color: #333; 
    font-weight: bold; 
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.paginacion a:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.paginacion a.activa { 
    background: #3498db; 
    color: white; 
    border-color: #3498db;
}
