/**
 * Custom Reviews Swiper Widget Stylesheet
 */

.ku-reviews-custom {
    width: 100%;
    position: relative;
    padding: 3rem 0;
}

.ku-reviews-custom__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.ku-reviews-custom__header {
    text-align: center;
    margin-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ku-reviews-custom .ku-reviews-custom__title {
    font-family: var(--font-sriracha, "Sriracha", cursive) !important;
    font-size: 2rem;
    font-weight: 700;
    text-transform: none !important;
    color: #111827;
    margin: 0 0 0.5rem 0;
    position: relative;
    display: inline-block;
}

.ku-reviews-custom__underline {
    width: 120px;
    height: 8px;
    margin-top: 4px;
}

.ku-reviews-custom__underline path {
    stroke: #84cc16;
    stroke-width: 4;
    fill: none;
    stroke-linecap: round;
}

.ku-reviews-custom__swiper {
    width: 100%;
    padding: 10px 0;
}

.ku-reviews-custom__swiper .swiper-slide {
    height: auto;
    display: flex;
}

.ku-reviews-custom__card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
}

.ku-reviews-custom__card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.ku-reviews-custom__quote {
    color: #84cc16;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.ku-reviews-custom__quote svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.ku-reviews-custom__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 2rem 0;
    flex-grow: 1;
    text-align: center;
}

.ku-reviews-custom__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.ku-reviews-custom__author-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ku-reviews-custom__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f3f4f6;
}

.ku-reviews-custom__avatar-img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.ku-reviews-custom__details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ku-reviews-custom__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.ku-reviews-custom__stars {
    display: flex;
    gap: 2px;
}

.ku-reviews-custom__star-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #84cc16;
    display: inline-block;
    position: relative;
}

.ku-reviews-custom__star-dot--active {
    background-color: #84cc16;
}

.ku-reviews-custom__platform-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 32px;
}

.ku-reviews-custom__platform-logo img {
    height: 100%;
    max-width: 80px;
    object-fit: contain;
}

.ku-reviews-custom__platform-logo svg {
    height: 24px;
    width: auto;
}

/* Swiper navigation buttons */
.ku-reviews-custom__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 10;
    color: #1f2937;
    transition: all 0.3s ease;
}

.ku-reviews-custom__button:hover {
    background-color: #f9fafb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.ku-reviews-custom__button--next {
    right: -20px;
}

.ku-reviews-custom__button--prev {
    left: -20px;
}

.ku-reviews-custom__button.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1240px) {
    .ku-reviews-custom__button--next {
        right: 10px;
    }

    .ku-reviews-custom__button--prev {
        left: 10px;
    }
}
