.-ycwt-testimonial_faces_showcase {
    --tfs-gold: var(--mah-gold, #ffc400);
    padding: 74px 0 !important;
    background: radial-gradient(circle at 50% 0, rgb(255 196 0 / 7%), transparent 38%), #090a0a;
    color: #fff;
    font-family: "Tajawal", sans-serif;
}

.-ycwt-testimonial_faces_showcase * {
    box-sizing: border-box;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-header {
    margin-bottom: 30px;
    text-align: center;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-title {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.3;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-stage {
    width: min(100%, 1040px);
    margin: 0 auto;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-panels {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 18px;
    overflow-x: auto;
    padding: 3px 3px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-panels::-webkit-scrollbar {
    display: none;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-panel {
    flex: 0 0 calc((100% - 36px) / 3);
    display: flex;
    min-height: 260px;
    padding: 38px 44px 34px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(255 255 255 / 9%);
    border-radius: 16px;
    background: #151615;
    box-shadow: 0 18px 42px rgb(0 0 0 / 38%);
    scroll-snap-align: start;
    text-align: center;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    color: var(--tfs-gold);
    font-size: 16px;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-text {
    max-width: 760px;
    margin: 20px auto 24px;
    color: rgb(255 255 255 / 66%);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.9;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-person {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: right;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-person-image {
    width: 50px;
    height: 50px;
    overflow: hidden;
    flex: 0 0 50px;
    border: 2px solid var(--tfs-gold);
    border-radius: 50%;
    background: #101111;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-person-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-person strong,
.-ycwt-testimonial_faces_showcase .testimonial-faces-person span {
    display: block;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-person strong {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-person span {
    margin-top: 3px;
    color: rgb(255 255 255 / 52%);
    font-size: 12px;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-avatars {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-avatar {
    width: 48px;
    height: 48px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgb(255 255 255 / 10%);
    border-radius: 50%;
    background: #111211;
    color: rgb(255 255 255 / 52%);
    cursor: pointer;
    opacity: .62;
    transition: transform .2s ease, border-color .2s ease, opacity .2s ease;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-avatar.active {
    border-color: var(--tfs-gold);
    box-shadow: 0 0 0 4px rgb(255 196 0 / 14%);
    opacity: 1;
    transform: scale(1.1);
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-avatar:focus-visible,
.-ycwt-testimonial_faces_showcase .testimonial-faces-arrow:focus-visible {
    outline: 3px solid rgb(255 196 0 / 40%);
    outline-offset: 3px;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-nav {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-arrow {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(255 255 255 / 9%);
    border-radius: 50%;
    background: #111211;
    color: #fff;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-counter {
    min-width: 62px;
    display: flex;
    justify-content: center;
    gap: 4px;
    color: rgb(255 255 255 / 52%);
    font-family: Outfit, sans-serif;
    font-size: 13px;
}

.-ycwt-testimonial_faces_showcase .testimonial-faces-counter .current {
    color: #fff;
    font-weight: 800;
}

@media (hover: hover) {
    .-ycwt-testimonial_faces_showcase .testimonial-faces-avatar:hover {
        opacity: 1;
        transform: translateY(-2px);
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-arrow:hover {
        border-color: var(--tfs-gold);
        background: var(--tfs-gold);
        color: #11100d;
        transform: translateY(-2px);
    }
}

@media (max-width: 1100px) {
    .-ycwt-testimonial_faces_showcase {
        padding: 62px 0 !important;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-panel {
        flex-basis: calc((100% - 18px) / 2);
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .-ycwt-testimonial_faces_showcase {
        padding: 48px 0 !important;
        overflow-wrap: anywhere;
    }

    .-ycwt-testimonial_faces_showcase .container,
    .-ycwt-testimonial_faces_showcase .container.largerContainer {
        padding-inline: 24px;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-header {
        margin-bottom: 23px;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-stage,
    .-ycwt-testimonial_faces_showcase .testimonial-faces-panels {
        min-width: 0;
        max-width: 100%;
    }

    /* Let the final card reach the scroll handler's start edge. */
    .-ycwt-testimonial_faces_showcase .testimonial-faces-panels::after {
        content: "";
        flex: 0 0 calc((100% - 18px) / 2);
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-panel {
        min-width: 0;
        min-height: 0;
        padding: 26px 22px;
        justify-content: flex-start;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-text {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.85;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-person {
        max-width: 100%;
        margin-block-start: auto;
        text-align: start;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-person > div {
        min-width: 0;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-avatars {
        max-width: 100%;
        flex-wrap: wrap;
        gap: 12px;
        padding: 8px;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-avatar {
        flex: 0 0 48px;
        min-width: 48px;
        min-height: 48px;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-nav {
        flex-wrap: wrap;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-arrow {
        flex: 0 0 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-shell:dir(ltr) .testimonial-faces-arrow i {
        transform: rotate(180deg);
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-avatar:focus-visible,
    .-ycwt-testimonial_faces_showcase .testimonial-faces-arrow:focus-visible {
        outline-color: var(--tfs-gold);
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-avatar:active,
    .-ycwt-testimonial_faces_showcase .testimonial-faces-arrow:active {
        border-color: var(--tfs-gold);
        background: #302910;
        opacity: 1;
        transform: scale(.96);
    }
}

/* Mobile App Experience */
@media (max-width: 780px) {
    .-ycwt-testimonial_faces_showcase {
        padding: 34px 0 !important;
    }

    .-ycwt-testimonial_faces_showcase .container,
    .-ycwt-testimonial_faces_showcase .container.largerContainer {
        padding-inline: 16px;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-title {
        font-size: 26px;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-panels::after {
        content: none;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-panel {
        flex-basis: 100%;
        padding: 24px 20px;
        border-radius: 14px;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-text {
        margin-block: 17px 21px;
        font-size: 14px;
        line-height: 1.9;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-avatars {
        margin-top: 18px;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 360px) {
    .-ycwt-testimonial_faces_showcase .container,
    .-ycwt-testimonial_faces_showcase .container.largerContainer {
        padding-inline: 12px;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-title {
        font-size: 24px;
    }

    .-ycwt-testimonial_faces_showcase .testimonial-faces-panel {
        padding: 22px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .-ycwt-testimonial_faces_showcase .testimonial-faces-avatar,
    .-ycwt-testimonial_faces_showcase .testimonial-faces-arrow {
        transition: none;
    }
}
