.adv-portfolio-page {
    overflow-x: clip;
}

.adv-portfolio-page > .container.large:first-of-type {
    padding-top: clamp(36px, 5vw, 70px);
}

.adv-portfolio-page .project-area {
    overflow: hidden;
}

.adv-portfolio-page .project-area .project-area-inner {
    padding-bottom: 0;
}

.adv-portfolio-page .project-area .projects-wrapper-box {
    margin-top: clamp(42px, 5vw, 76px) !important;
    padding-top: 10px;
    overflow: visible;
}

.adv-portfolio-page .project-area .projects-wrapper-box .swiper {
    margin: 0 !important;
    padding: 0 0 28px !important;
    overflow: visible;
}

.adv-portfolio-page .portfolio-sites-slider .swiper-slide {
    height: auto;
}

.adv-portfolio-page .project-box {
    display: block;
    width: 100%;
}

.adv-portfolio-page .project-box .thumb {
    aspect-ratio: 4 / 5;
    border-radius: 14px;
}

.adv-portfolio-page .project-box .thumb img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.adv-portfolio-page .team-area {
    position: relative;
    overflow: hidden;
    padding-bottom: 90px;
}

.adv-portfolio-page .team-area .team-area-inner {
    position: relative;
    z-index: 2;
    padding-bottom: clamp(36px, 5vw, 72px);
}

.adv-portfolio-page .team-area .team-wrapper-box {
    position: relative;
    z-index: 3;
    margin-top: 0 !important;
}

.adv-portfolio-page .team-area .team-wrapper {
    align-items: stretch;
}

.adv-portfolio-page .team-area .team-box {
    overflow: hidden;
    margin-top: 0 !important;
    background: #ffffff;
}

.adv-portfolio-page .team-area .team-box .thumb {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 10px 10px 0 0;
    background: #1a1a1a;
}

.adv-portfolio-page .team-area .team-box .thumb img,
.adv-portfolio-page .team-area .team-box .thumb video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adv-portfolio-page .testimonial-area {
    overflow: hidden;
}

.adv-portfolio-page .testimonial-area .testimonial-wrapper-box {
    min-width: 0;
}

.adv-portfolio-page .testimonial-area .testimonial-wrapper {
    overflow: hidden;
}

.adv-portfolio-page .testimonial-area .testimonial-slider {
    width: 100%;
}

.adv-portfolio-page .testimonial-area .swiper-slide {
    height: auto;
}

.adv-portfolio-page .testimonial-area .testimonial-item {
    height: 100%;
}

.adv-portfolio-page .testimonial-area .testimonial-item .content {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.adv-portfolio-page .testimonial-area .slider-nav {
    z-index: 4;
    pointer-events: none;
}

.adv-portfolio-page .testimonial-area .slider-nav .nav-icon {
    pointer-events: auto;
}

@media (max-width: 1199px) {
    .adv-portfolio-page .team-area {
        padding-bottom: 72px;
    }

    .adv-portfolio-page .testimonial-area .testimonial-item .content {
        min-height: 340px;
    }
}

@media (max-width: 991px) {
    .adv-portfolio-page .team-area .team-area-inner {
        padding-bottom: 34px;
    }

    .adv-portfolio-page .testimonial-area .testimonial-wrapper {
        padding: 34px 22px;
    }

    .adv-portfolio-page .testimonial-area .testimonial-item .content {
        min-height: auto;
    }
}

@media (max-width: 575px) {
    .adv-portfolio-page .team-area {
        padding-bottom: 58px;
    }

    .adv-portfolio-page .team-area .team-wrapper {
        gap: 22px;
    }
}
