/*******************************************
 * ESTILOS SINGLE PROYECTO
 */

 body .site-content {
    margin-top: 0;
}

.single-portfolio-item .portfolio-item .inside-article {
    scroll-snap-type: y mandatory;
}

.single-portfolio-item .portfolio-item .featured-image {
    width: 100vw;
    height: 100dvh;
}

.single-portfolio-item .portfolio-item .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

h6.wp-block-heading {
    margin-bottom: 0;
}

/*******************************************
 * LAYOUT DE CONTENIDO DEL PROYECTO
 */



/*******************************************
 * GALERÍA DE PROYECTO
 */

/* Grilla de 3 imágenes */
.project-gallery-grid {
    display: flex;
    gap: 24px;
    margin: 0 auto;
}

.project-gallery-grid-item {
    flex: 1;
    overflow: hidden;
    height: auto;
    max-height: 640px;
}

.project-gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slider de imágenes restantes */
.project-gallery-slider {
    margin: 24px auto 0;
    position: relative;
}

.project-gallery-slider-item {
    width: 100%;
    height: 640px;
    overflow: hidden;
}

.project-gallery-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navegación del slider */
.project-gallery-slider .swiper-button-prev {
    left: 40px;
}

.project-gallery-slider .swiper-button-next {
    right: 40px;
}

.project-gallery-slider .swiper-button-prev,
.project-gallery-slider .swiper-button-next {
    color: var(--white);
    width: 44px;
    height: 44px;
    background: rgba(29, 32, 30, 0.50);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.project-gallery-slider .swiper-button-prev:hover,
.project-gallery-slider .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.50);
    color: var(--black);
    transform: scale(1.1);
}

.project-gallery-slider .swiper-button-prev:after,
.project-gallery-slider .swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
}

/* Paginación del slider */
.project-gallery-slider .swiper-pagination {
    position: relative;
    margin-top: 40px;
    bottom: 0 !important;
}

.project-gallery-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-light);
    opacity: 1;
    transition: all 0.3s ease;
}

.project-gallery-slider .swiper-pagination-bullet-active {
    background: var(--primary);
    transform: scale(1.333);
}

/* Responsive - Mobile */
@media (max-width: 768px) {

    .project-gallery-grid {
        flex-direction: column;
        gap: 8px;
    }

    .project-gallery-grid-item {
        height: auto;
        max-height: 220px;
    }

    .project-gallery-slider {
        margin-top: 16px;
    }

    .project-gallery-slider-item {
        height: 612px;
    }

    .project-gallery-slider .swiper-pagination {
        margin-top: 8px;
    }

    .project-gallery-slider .swiper-button-prev {
        left: 16px;
    }

    .project-gallery-slider .swiper-button-next {
        right: 16px;
    }

}

/********************************************************
 * SECCION DE CONTACTO EN PROYECTO
 */

#proyecto-single-pagination .proyecto-next-post .is-arrow-arrow,
#proyecto-single-pagination .proyecto-prev-post .is-arrow-arrow {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
    position: relative;
}

#proyecto-single-pagination .proyecto-next-post .is-arrow-arrow::before,
#proyecto-single-pagination .proyecto-prev-post .is-arrow-arrow::before {
    content: "";
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#proyecto-single-pagination .proyecto-next-post .is-arrow-arrow::before {
    background-image: url('../icons/arrow-right.svg');
}

#proyecto-single-pagination .proyecto-prev-post .is-arrow-arrow::before {
    background-image: url('../icons/arrow-left.svg');
}


#proyecto-single-pagination .proyecto-next-post,
#proyecto-single-pagination .proyecto-prev-post {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#proyecto-single-pagination .proyecto-next-post {
    align-items: flex-end;
    flex-direction: column-reverse;
}

#proyecto-single-pagination .proyecto-next-post a,
#proyecto-single-pagination .proyecto-prev-post a {
    color: #101210;
    /* Text/Body */
    font-family: Inter, sans-serif, Arial;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 175%;
    /* 28px */
    letter-spacing: 0.32px;
    text-decoration: unset;
}