.ip-shared-testimonials {
    background: #fff;
    padding: 2.5rem 1rem 5rem;
}

.ip-shared-testimonials__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.ip-shared-testimonials__above-title {
    margin: 0 0 0.5rem;
    color: var(--color-primary);
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 500;
}

.ip-shared-testimonials__title {
    margin: 0;
    color: var(--color-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 500;
}

.ip-shared-testimonials__subtitle {
    margin: 0.75rem 0 0;
    color: #617e94;
    font-size: 1.125rem;
}

.ip-shared-testimonials__slider {
    margin-bottom: 3rem;
}

.ip-shared-testimonials__slide-with-image {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.ip-shared-testimonials__media {
    position: relative;
    width: 100%;
}

.ip-shared-testimonials__shape {
    position: absolute;
    width: 45%;
    height: 6rem;
    background: #96f3c6;
    border-radius: 30px;
}

.ip-shared-testimonials__shape--a {
    top: 15%;
    left: 25%;
    transform: rotate(-6deg);
}

.ip-shared-testimonials__shape--b {
    top: 40%;
    left: 45%;
    transform: rotate(3deg);
}

.ip-shared-testimonials__shape--c {
    top: 65%;
    left: 35%;
    transform: rotate(-3deg);
}

.ip-shared-testimonials__media-main {
    position: relative;
    z-index: 1;
}

.ip-shared-testimonials__image {
    width: 100%;
    max-width: 30rem;
    height: auto;
    margin: 0 auto;
    border-radius: 0.5rem;
    object-fit: cover;
    display: block;
}

.ip-shared-testimonials__dots {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 20rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    opacity: 0.3;
}

.ip-shared-testimonials__dot {
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    background: #d1fae6;
}

.ip-shared-testimonials__content {
    background: #f3f5f7;
    border: 1px solid #dae2e6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.ip-shared-testimonials__content--center {
    text-align: center;
    padding: 2rem;
}

.ip-shared-testimonials__logo-wrap {
    margin-bottom: 1rem;
    height: 2.5rem;
    mix-blend-mode: multiply;
}

.ip-shared-testimonials__logo-wrap--center {
    display: flex;
    justify-content: center;
}

.ip-shared-testimonials__logo {
    height: 100%;
    width: auto;
}

.ip-shared-testimonials__quote {
    margin: 0;
    color: #263640;
    font-size: 1.25rem;
    line-height: 1.45;
    font-weight: 500;
}

.ip-shared-testimonials__meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ip-shared-testimonials__author {
    color: #263640;
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: 600;
    font-style: normal;
}

.ip-shared-testimonials__position {
    color: #617e94;
    font-size: 1rem;
    opacity: 0.7;
}

.ip-shared-testimonials__slide-no-image-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.ip-shared-testimonials__slide-no-image {
    width: 100%;
    max-width: 64rem;
}

.ip-shared-testimonials__empty {
    text-align: center;
    padding: 2rem;
    background: #f3f5f7;
    border-radius: 0.5rem;
    color: #4f6678;
}

@media (min-width: 768px) {
    .ip-shared-testimonials {
        padding: 5rem 3rem 6rem;
    }

    .ip-shared-testimonials__slide-with-image {
        flex-direction: row;
        gap: 2rem;
    }

    .ip-shared-testimonials__media {
        width: 50%;
    }

    .ip-shared-testimonials__content {
        width: 50%;
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .ip-shared-testimonials__media {
        width: 45%;
    }

    .ip-shared-testimonials__content {
        width: 55%;
    }
}

.ip-shared-testimonials .slick-prev,
.ip-shared-testimonials .slick-next {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 50% !important;
    z-index: 20 !important;
    cursor: pointer !important;
    opacity: 1 !important;
    font-size: 0 !important;
}

.ip-shared-testimonials .slick-prev {
    left: -70px !important;
}

.ip-shared-testimonials .slick-next {
    right: -70px !important;
}

.ip-shared-testimonials .slick-prev:before,
.ip-shared-testimonials .slick-next:before {
    color: #263640 !important;
    font-size: 26px !important;
    line-height: 1 !important;
    opacity: 1 !important;
}

.ip-shared-testimonials .slick-dots {
    bottom: -50px !important;
}

.ip-shared-testimonials .slick-dots li button:before {
    color: #ccc !important;
    font-size: 12px !important;
}

.ip-shared-testimonials .slick-dots li.slick-active button:before {
    color: #22c55e !important;
    font-size: 14px !important;
}

@media (max-width: 1024px) {
    .ip-shared-testimonials .slick-prev {
        left: -24px !important;
    }

    .ip-shared-testimonials .slick-next {
        right: -24px !important;
    }
}

@media (max-width: 768px) {
    .ip-shared-testimonials .slick-prev,
    .ip-shared-testimonials .slick-next {
        width: 42px !important;
        height: 42px !important;
    }

    .ip-shared-testimonials .slick-prev {
        left: -10px !important;
    }

    .ip-shared-testimonials .slick-next {
        right: -10px !important;
    }
}

