.home-testimonials {
    background: #1e3446;
    position: relative;
}

.home-testimonials .wpo-section-title {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.home-testimonials .wpo-section-title span {
    background: #ff7063;
    color: #fff;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    display: inline-block;
}

.home-testimonials .wpo-section-title h2 {
    color: #fff;
    margin-top: 18px;
}

.home-testimonials__slider {
    position: relative;
}

/* Owl hides .owl-carousel until .owl-loaded; show stacked cards if JS fails on mobile */
.home-testimonials__slider.owl-carousel:not(.owl-loaded) {
    display: block !important;
}

.home-testimonials__slider.owl-carousel:not(.owl-loaded) .home-testimonial-card + .home-testimonial-card {
    margin-top: 24px;
}

.home-testimonials__slider.owl-loaded .owl-stage-outer {
    overflow: visible;
}

.home-testimonials__slider.owl-loaded .owl-item {
    display: flex;
    align-items: stretch;
}

.home-testimonial-card {
    background: #fff;
    border: 1px solid #e4e8e8;
    border-left: 4px solid #ff7063;
    padding: 28px 28px 24px;
    width: 100%;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.home-testimonial-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e4e8e8;
}

.home-testimonial-card__source {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #177265;
}

.home-testimonial-card__stars {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.home-testimonial-card__stars li {
    color: #f5a623;
    font-size: 14px;
    line-height: 1;
}

.home-testimonial-card__text {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.75;
    color: #1e3446;
    flex: 1;
}

.home-testimonial-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #e4e8e8;
}

.home-testimonial-card__footer h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e3446;
}

.home-testimonial-card__footer h4 a {
    color: #1e3446;
    text-decoration: none;
}

.home-testimonial-card__footer h4 a:hover {
    color: #177265;
}

.home-testimonial-card__date {
    font-size: 13px;
    color: #5a6b7d;
    white-space: nowrap;
}

.home-testimonials__slider .owl-nav {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.home-testimonials__slider .owl-nav button {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 22px;
    line-height: 1;
    border-radius: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home-testimonials__slider .owl-nav button:hover {
    background: #177265 !important;
    border-color: #177265 !important;
}

.home-testimonials__slider .owl-dots {
    margin-top: 20px;
    text-align: center;
}

.home-testimonials__slider .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 0;
    display: block;
}

.home-testimonials__slider .owl-dots .owl-dot.active span {
    background: #ff7063;
}

@media (max-width: 767px) {
    .home-testimonials .wpo-section-title {
        margin-bottom: 32px;
    }

    .home-testimonial-card {
        padding: 22px 20px 20px;
    }

    .home-testimonial-card__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .home-testimonial-card__text {
        font-size: 15px;
        line-height: 1.65;
    }

    .home-testimonial-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
