/* bedots_testimonials UI block */
.bedots-testimonials {
    position: relative;
    overflow: hidden;
    padding: 64px 0 72px;
    background: #efece7;
}

.bedots-testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bedots-testimonials-bg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}

.bedots-testimonials::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(245, 243, 239, 0.78);
    pointer-events: none;
}

.bedots-testimonials .container {
    position: relative;
    z-index: 2;
}

.bedots-testimonials__header {
    max-width: 640px;
    margin: 0 auto 36px;
    text-align: center;
}

.bedots-testimonials__title {
    margin: 0 0 10px;
    color: #2b2b2b;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
}

.bedots-testimonials__subtitle {
    margin: 0;
    color: #7a7570;
    font-size: 14px;
    line-height: 1.6;
}

.bedots-testimonials__viewport {
    max-width: 760px;
    margin: 0 auto;
    overflow: hidden;
}

.bedots-testimonials__track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.bedots-testimonials__slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 6px 12px 10px;
}

.bedots-testimonials__card {
    background: #fff;
    border-radius: 18px;
    padding: 44px 48px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.bedots-testimonials__stars {
    margin-bottom: 22px;
    color: #f5b301;
    font-size: 16px;
    letter-spacing: 3px;
}

.bedots-testimonials__stars .is-empty {
    color: #e2ddd4;
}

.bedots-testimonials__quote {
    margin: 0 0 26px;
    color: #4a4a4a;
    font-size: 17px;
    font-style: italic;
    line-height: 1.7;
}

.bedots-testimonials__name {
    margin: 0;
    color: #2b2b2b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.bedots-testimonials__role {
    margin: 4px 0 0;
    color: #9a948c;
    font-size: 13px;
    line-height: 1.3;
}

.bedots-testimonials__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.bedots-testimonials__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #2b2b2b;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.bedots-testimonials__btn:hover {
    transform: translateY(-1px);
}

.bedots-testimonials__btn i {
    font-size: 20px;
    line-height: 1;
}

.bedots-testimonials__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.bedots-testimonials__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.bedots-testimonials__dot.is-active {
    width: 22px;
    background: rgba(0, 0, 0, 0.45);
}

@media screen and (max-width: 767px) {
    .bedots-testimonials__card {
        padding: 34px 26px;
    }

    .bedots-testimonials__quote {
        font-size: 15px;
    }
}
