/* ==========================================================================
   Royal Fishing Flies Kenya - premium testimonials band
   Scope: homepage ETS testimonial module (.ets-ttn-home-reviews) only.
   Loaded after the theme + module CSS. No markup changes.
   ========================================================================== */

.ets-ttn-home-reviews {
    position: relative;
    margin: 56px 0;
    padding: 54px 26px 18px;
    background: #faf7f2;
    border: 1px solid #ece5d8;
    border-radius: 28px;
    box-shadow: 0 30px 70px -46px rgba(26, 28, 31, .45);
    overflow: hidden;
}

.ets-ttn-home-reviews:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(90% 62% at 50% 0%, rgba(221, 35, 0, .07), rgba(221, 35, 0, 0) 62%);
    pointer-events: none;
}

/* ---------- Heading ------------------------------------------------------ */

.ets-ttn-home-reviews .ets-ttn-follow-title {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #1a1c1f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: capitalize;
    text-align: center;
    border: 0;
}

.ets-ttn-home-reviews .ets-ttn-follow-title:before {
    content: "Trusted by anglers worldwide";
    display: block;
    margin: 0 0 14px;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: #dd2300;
}

.ets-ttn-home-reviews .ets-ttn-follow-title:after {
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    margin: 20px auto 0;
    background: #dd2300;
    border-radius: 2px;
}

/* ---------- Slider frame ------------------------------------------------- */

.ets-ttn-home-reviews .ets-ttn-list-reviews-slide {
    position: static;
    width: 100%;
    margin: 34px 0 0;
    padding: 0;
}

.ets-ttn-home-reviews .review-item {
    padding: 0 10px;
}

/* Replace the module's flat white pseudo-card with a real card. */
.ets-ttn-home-reviews .review-item.slick-slide:before {
    display: none;
}

.ets-ttn-home-reviews .review-item.slick-slide,
.ets-ttn-home-reviews .review-item.slick-slide.slick-center {
    transform: none;
    -webkit-transform: none;
}

/* Stretch every slide in the row to the same height (replaces slick's
   table-cell sizing, which leaves cards at their own content height). */
.ets-ttn-home-reviews .ets-ttn-list-reviews-slide .slick-track {
    display: flex !important;
    align-items: stretch;
}

.ets-ttn-home-reviews .ets-ttn-list-reviews-slide .review-item.slick-slide {
    display: flex;
    float: none;
    height: auto;
    flex: 0 0 auto;
}

/* ---------- Card --------------------------------------------------------- */

.ets-ttn-home-reviews .ets-ttn-review-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1 1 auto;
    padding: 32px 24px 26px;
    background: #fff;
    border: 1px solid #ece5d8;
    border-radius: 20px;
    box-shadow: 0 18px 40px -30px rgba(26, 28, 31, .5);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.ets-ttn-home-reviews .ets-ttn-review-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 52px -30px rgba(26, 28, 31, .55);
}

/* Oversized opening quote mark, kept very light. */
.ets-ttn-home-reviews .ets-ttn-review-item:after {
    content: "\201C";
    position: absolute;
    top: 4px;
    left: 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 74px;
    line-height: 1;
    color: #dd2300;
    opacity: .09;
    pointer-events: none;
}

.ets-ttn-home-reviews .review-item-info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1;
    height: auto;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Beat the module's ".has_license ~ .review-item-info { margin-bottom: 65px }" */
.ets-ttn-home-reviews .ets-ttn-review-item .has_license ~ .review-item-info {
    margin-bottom: 0;
}

.ets-ttn-home-reviews .review_avatar {
    width: 84px;
    height: 84px;
    margin: 0 0 16px;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #ece5d8, 0 14px 26px -14px rgba(26, 28, 31, .45);
}

.ets-ttn-home-reviews .rate-review {
    display: flex;
    justify-content: center;
    margin: 0 0 14px;
}

.ets-ttn-home-reviews .rate-review .star {
    width: 16px;
    height: 16px;
    margin: 0 1.5px;
}

.ets-ttn-home-reviews .rate-review .star svg {
    width: 16px;
    height: 16px;
    fill: #dd2300;
}

.ets-ttn-home-reviews .testimonial_des {
    margin: 0;
    padding: 0;
    font-size: 14.5px;
    line-height: 1.8;
    color: #4b4f57;
    text-align: center;
    text-wrap: pretty;
}

/* ---------- Customer name / location ------------------------------------ */

.ets-ttn-home-reviews .ets-ttn-review-item .has_license {
    position: static;
    order: 2;
    width: auto;
    margin: 16px 0 0;
    padding: 0 18px;
}

.ets-ttn-home-reviews .ets-ttn-review-item .has_license:before {
    content: "";
    display: block;
    width: 28px;
    height: 1px;
    margin: 0 auto 10px;
    background: #e6dfd2;
}

.ets-ttn-home-reviews .ets-ttn-review-item .license {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #8a8378;
    text-align: center;
}

/* ---------- Bottom controls (arrows + dots) ----------------------------- */

.ets-ttn-home-reviews .ets-ttn-list-reviews-slide ul.slick-dots {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 40px;
    margin: 22px 0 0;
    padding: 0 76px;
    list-style: none;
}

.ets-ttn-home-reviews .ets-ttn-list-reviews-slide ul.slick-dots li {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    line-height: 0;
}

.ets-ttn-home-reviews .ets-ttn-list-reviews-slide .slick-dots button {
    display: block;
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d8d0c2;
    box-shadow: none;
    transition: width .25s ease, background .25s ease;
}

.ets-ttn-home-reviews .ets-ttn-list-reviews-slide .slick-dots li.slick-active button {
    width: 24px;
    border-radius: 4px;
    background: #dd2300;
}

.ets-ttn-home-reviews .ets-ttn-list-reviews-slide button.slick-arrow {
    position: absolute;
    top: auto;
    bottom: 18px;
    left: auto;
    right: 22px;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid #e6dfd2;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px -12px rgba(26, 28, 31, .45);
    font-size: 0;
    z-index: 3;
    outline: none;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease;
}

.ets-ttn-home-reviews .ets-ttn-list-reviews-slide button.slick-arrow.slick-prev {
    left: 22px;
    right: auto;
}

.ets-ttn-home-reviews .ets-ttn-list-reviews-slide button.slick-arrow:hover {
    background: #dd2300;
    border-color: #dd2300;
}

.ets-ttn-home-reviews .ets-ttn-list-reviews-slide button.slick-arrow:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -5px 0 0 -3px;
    border: 0;
    border-top: 1.5px solid #1a1c1f;
    border-left: 1.5px solid #1a1c1f;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.ets-ttn-home-reviews .ets-ttn-list-reviews-slide button.slick-arrow.slick-next:before {
    margin: -5px 0 0 -6px;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.ets-ttn-home-reviews .ets-ttn-list-reviews-slide button.slick-arrow:hover:before {
    border-color: #fff;
}

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 991px) {
    .ets-ttn-home-reviews {
        margin: 40px 0;
        padding: 40px 16px 16px;
        border-radius: 22px;
    }

    .ets-ttn-home-reviews .ets-ttn-follow-title {
        font-size: 26px;
    }

    .ets-ttn-home-reviews .ets-ttn-list-reviews-slide {
        margin-top: 28px;
    }

    .ets-ttn-home-reviews .ets-ttn-review-item {
        padding: 28px 20px 24px;
        border-radius: 16px;
    }

    .ets-ttn-home-reviews .testimonial_des {
        font-size: 14px;
    }

    .ets-ttn-home-reviews .ets-ttn-list-reviews-slide ul.slick-dots {
        padding: 0 66px;
    }

    .ets-ttn-home-reviews .ets-ttn-list-reviews-slide button.slick-arrow {
        right: 16px;
    }

    .ets-ttn-home-reviews .ets-ttn-list-reviews-slide button.slick-arrow.slick-prev {
        left: 16px;
    }
}

@media (max-width: 480px) {
    .ets-ttn-home-reviews {
        margin: 34px 0;
        padding: 34px 10px 14px;
        border-radius: 18px;
    }

    .ets-ttn-home-reviews .ets-ttn-follow-title {
        font-size: 23px;
    }

    .ets-ttn-home-reviews .ets-ttn-follow-title:before {
        font-size: 9.5px;
        letter-spacing: .2em;
    }

    .ets-ttn-home-reviews .review-item {
        padding: 0 6px;
    }

    .ets-ttn-home-reviews .ets-ttn-review-item {
        padding: 24px 16px 22px;
    }

    .ets-ttn-home-reviews .ets-ttn-list-reviews-slide ul.slick-dots {
        padding: 0 54px;
    }
}
