.wp-block-cb-reviews .review-title img {
    aspect-ratio: 1;
    object-fit: cover;
    max-width: 100px;
    border-radius: 50%;
    margin-right: 1rem;
}

.wp-block-cb-reviews .review-title {
    display: flex;
    align-items: center;
}

.wp-block-cb-reviews .review-txt {
    position: relative;
}

.dm-reviews-section .wp-block-cb-reviews {
    --swiper-theme-color: var(--wp--preset--color--primary);
    --swiper-navigation-color: var(--wp--preset--color--dark);
    --swiper-navigation-size: 1rem;
    --swiper-pagination-color: var(--wp--preset--color--primary);
    --swiper-pagination-bullet-inactive-color: var(--wp--preset--color--dark);
    --swiper-pagination-bullet-inactive-opacity: 0.2;
    display: block;
    padding: 0 3.5rem 3rem;
}

.dm-reviews-section .wp-block-cb-reviews::part(container) {
    box-sizing: border-box;
    padding-right: 22px;
    padding-bottom: 40px;
    padding-left: 22px;
}

.dm-reviews-section .wp-block-cb-review {
    box-sizing: border-box;
    display: flex;
    height: 320px;
    min-height: 280px;
    padding: clamp(2rem, 3vw, 3rem);
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(206, 160, 82, 0.45);
    border-radius: 12px;
    background: var(--wp--preset--color--white);
    box-shadow: none;
}

.dm-reviews-section .review-title {
    position: relative;
    align-items: flex-start;
    order: 1;
    color: var(--wp--preset--color--dark);
    font-family: var(--wp--preset--font-family--body);
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.6;
}

.dm-reviews-section .review-title::before {
    content: "“";
    display: block;
    flex: 0 0 auto;
    margin: -0.25rem 0.75rem 0 0;
    color: var(--wp--preset--color--primary);
    font-family: var(--wp--preset--font-family--heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.dm-reviews-section .review-txt {
    order: 2;
    margin-top: 1.5rem;
    color: var(--wp--preset--color--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dm-reviews-section .review-txt p {
    margin: 0;
}

.dm-reviews-section .wp-block-cb-reviews::part(button-prev),
.dm-reviews-section .wp-block-cb-reviews::part(button-next) {
    width: 42px;
    height: 42px;
    border: 1px solid var(--wp--preset--color--primary);
    border-radius: 50%;
    color: transparent;
    background-color: rgba(255, 255, 255, 0.94);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1rem 1rem;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
}

.dm-reviews-section .wp-block-cb-reviews::part(button-prev) {
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E");
}

.dm-reviews-section .wp-block-cb-reviews::part(button-next) {
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
}

.dm-reviews-section .wp-block-cb-reviews::part(pagination) {
    bottom: 4px;
}

.dm-reviews-section .wp-block-cb-reviews::part(bullet),
.dm-reviews-section .wp-block-cb-reviews::part(bullet-active) {
    width: 8px;
    height: 8px;
    margin-right: 3px;
    margin-left: 3px;
}

.dm-reviews-section .wp-block-cb-reviews::part(bullet) {
    background: var(--wp--preset--color--dark);
    opacity: 0.2;
}

.dm-reviews-section .wp-block-cb-reviews::part(bullet-active) {
    background: var(--wp--preset--color--primary);
    opacity: 1;
}

@media (max-width: 700px) {
    .dm-reviews-section .wp-block-cb-reviews {
        padding-right: 0;
        padding-left: 0;
    }

    .dm-reviews-section .wp-block-cb-review {
        height: 340px;
        min-height: 0;
    }

    .dm-reviews-section .wp-block-cb-reviews::part(button-prev),
    .dm-reviews-section .wp-block-cb-reviews::part(button-next) {
        display: none;
    }
}
