 /* =========================================
           ESTILOS ESPECÍFICOS GALERÍA
           ========================================= */

        .gallery-section {
            padding: 60px 0;
            background-color: #fff;
        }

    

        .news-headline {
            color: var(--u-verde-profundo);
            font-family: 'Merriweather', serif;
            font-weight: 900;
            font-size: 2rem;
        }

        /* Botones de Filtro */
        .filter-controls {
            text-align: center;
            margin-bottom: 40px;
        }

        .btn-filter {
            border: 2px solid var(--u-verde-profundo);
            color: var(--u-verde-profundo);
            background: transparent;
            padding: 8px 20px;
            margin: 5px;
            border-radius: 50px;
            font-weight: 700;
            text-transform: uppercase;
            font-size: 0.8rem;
            transition: all 0.3s;
        }

        .btn-filter:hover,
        .btn-filter.active {
            background-color: var(--u-verde-profundo);
            color: white;
            box-shadow: 0 5px 15px rgba(27, 77, 62, 0.3);
        }

        /* Items de la Galería */
        .gallery-item {
            position: relative;
            margin-bottom: 30px;
            overflow: hidden;
            border-radius: 8px;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border: 1px solid #eee;
            transition: transform 0.3s;
            height: 250px;
            /* Altura fija para uniformidad */
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .gallery-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        /* Efecto Sepia para fotos antiguas */
        .gallery-item.antigua .gallery-img {
            filter: sepia(0.6) grayscale(0.2);
        }

        /* Overlay al pasar el mouse */
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(27, 77, 62, 0.85);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            color: white;
            text-align: center;
            padding: 20px;
        }

        .gallery-item:hover .gallery-img {
            transform: scale(1.1);
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-caption h5 {
            font-family: 'Merriweather', serif;
            font-weight: 700;
            margin-bottom: 5px;
            font-size: 1rem;
        }

        .gallery-caption p {
            font-size: 0.8rem;
            font-style: italic;
            margin-bottom: 0;
        }

        .zoom-icon {
            font-size: 2rem;
            color: var(--u-dorado);
            margin-bottom: 10px;
        }

        /* Modal */
        .modal-content {
            background-color: transparent;
            border: none;
        }

        .modal-body img {
            border-radius: 8px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            border: 4px solid white;
            max-height: 80vh;
            object-fit: contain;
        }

        /* Ajustes Móvil */
        @media (max-width: 991px) {
            .hero-slide {
                height: 300px;
            }

            .hero-news-card {
                width: 90%;
                bottom: 20px;
                padding: 20px;
            }

            .gallery-item {
                height: 200px;
            }
        }