/* Contenedor principal */
.gpc-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    padding: 20px 0;
}

/* Estilo del carrusel */
.gpc-swiper {
    width: 100%;
    height: 480px;
    overflow: visible; 
}

/* Estilo de cada slide */
.gpc-swiper .swiper-slide {
    height: 100%;
    position: relative;
    opacity: 0.4;
    transition: transform 0.4s ease, opacity 0.6s ease;
    backface-visibility: hidden;
}

.gpc-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.6s ease;
}

/* Reglas de opacidad y color */
.gpc-swiper .swiper-slide-next,
.gpc-swiper .swiper-slide-prev {
    opacity: 0.6;
}
.gpc-swiper .swiper-slide-active {
    opacity: 1;
}
.gpc-swiper .swiper-slide-active img {
    filter: grayscale(0%);
}

/* Estilo del año */
.gpc-swiper .gpc-image-year {
    font-family: 'Cormorant Garamond', serif;
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 3px 8px;
    font-size: 16px;
    border-radius: 3px;
    z-index: 10;
}

/* Contenedor de flechas */
.gpc-navigation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 25px;
}

.gpc-navigation-wrapper .swiper-button-next,
.gpc-navigation-wrapper .swiper-button-prev {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    background: none;
    color: #333;
}

.gpc-navigation-wrapper .swiper-button-next::after,
.gpc-navigation-wrapper .swiper-button-prev::after {
    font-family: 'Courier New', Courier, monospace;
    font-size: 30px;
    font-weight: bold;
}
.gpc-navigation-wrapper .swiper-button-prev::after { content: '<'; }
.gpc-navigation-wrapper .swiper-button-next::after { content: '>'; }

/* Ajustes para móviles */
@media (max-width: 767px) {
    .gpc-swiper {
        height: 350px;
    }
    .gpc-swiper .gpc-image-year {
        font-size: 14px;
        bottom: 10px;
        right: 10px;
    }
}