/* /public_html/_stage-fh/home/sections/voices.css */

/* =========================
   Section - Voices
========================= */

.fh-home-voices {
    position: relative;

    padding: 58px 0 82px;

    background:
        linear-gradient(
            180deg,
            var(--fh-home-bg) 0,
            rgba(255, 253, 249, 0.98) 24px,
            rgba(255, 253, 249, 0) 72px
        ),
        radial-gradient(
            circle at 12% 12%,
            rgba(233, 111, 131, 0.055),
            transparent 30%
        ),
        radial-gradient(
            circle at 86% 18%,
            rgba(189, 216, 207, 0.22),
            transparent 34%
        ),
        var(--fh-home-bg);

    overflow: hidden;
}

.fh-home-voices__head {
    max-width: 620px;
    margin: 0 auto;

    display: grid;
    justify-items: center;

    text-align: center;
}

.fh-home-voices__eyebrow {
    width: fit-content;
    padding: 7px 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    border: 1px solid rgba(233, 111, 131, 0.16);
    background: rgba(255, 255, 255, 0.72);
    color: var(--fh-home-pink-dark);

    font-size: 11px;
    font-weight: 900;
    line-height: 1.5;
}

.fh-home-voices__title {
    margin: 14px 0 0;

    color: var(--fh-home-ink);

    font-size: clamp(25px, 3.4vw, 42px);
    font-weight: 950;
    line-height: 1.55;
    letter-spacing: -0.05em;
}


.fh-home-voices__desktop {
    height: 660px;
    margin-top: 38px;

    display: flex;
    justify-content: center;
    gap: 18px;

    direction: ltr;

    overflow: hidden;

    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.fh-home-voices__column {
    width: 330px;
    flex: 0 0 330px;

    overflow: hidden;
}

.fh-home-voices__column--middle {
    padding-top: 54px;
}

.fh-home-voices__track {
    display: flex;
    flex-direction: column;
    gap: 16px;

    padding-bottom: 16px;

    animation: fhHomeVoicesScroll var(--duration, 20s) linear infinite;
    will-change: transform;
}

.fh-home-voices__column:hover .fh-home-voices__track {
    animation-play-state: paused;
}

.fh-home-voices__card {
    position: relative;

    width: 100%;
    min-height: 232px;
    padding: 22px 20px;

    direction: rtl;
    text-align: right;

    border-radius: 28px;
    border: 1px solid rgba(230, 223, 215, 0.95);

    background:
        radial-gradient(circle at 12% 12%, rgba(233, 111, 131, 0.045), transparent 34%),
        rgba(255, 255, 255, 0.88);

    box-shadow:
        0 16px 34px rgba(73, 67, 61, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);

    user-select: none;
    overflow: hidden;
}

.fh-home-voices__card::before {
    content: "“";
    position: absolute;
    left: 18px;
    top: 4px;

    color: rgba(233, 111, 131, 0.10);

    font-size: 72px;
    font-weight: 950;
    line-height: 1;
}

.fh-home-voices__stars {
    position: relative;
    z-index: 1;

    width: fit-content;
    margin-bottom: 13px;

    display: flex;
    align-items: center;
    gap: 2px;

    direction: ltr;
}

.fh-home-voices__star {
    width: 13px;
    height: 13px;

    display: block;

    fill: #ffc400;
    stroke: #ca9700;
    stroke-width: 0.3px;
}

.fh-home-voices__message {
    position: relative;
    z-index: 1;

    margin: 0;

    color: var(--fh-home-ink);

    font-size: 12.8px;
    font-weight: 700;
    line-height: 2;
}

.fh-home-voices__user {
    position: relative;
    z-index: 1;

    margin-top: 18px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.fh-home-voices__avatar {
    position: relative;

    width: 40px;
    height: 40px;
    flex: 0 0 40px;

    display: grid;
    place-items: center;

    border-radius: 999px;
    background: rgba(220, 238, 231, 0.88);
    color: #247a5e;

    font-size: 15px;
    font-weight: 950;
    line-height: 1;

    overflow: hidden;
}

.fh-home-voices__avatar-initial {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;
}

.fh-home-voices__avatar--image {
    background: rgba(220, 238, 231, 0.88);
}

.fh-home-voices__avatar img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.fh-home-voices__info {
    min-width: 0;
}

.fh-home-voices__info strong {
    display: block;

    color: var(--fh-home-ink);

    font-size: 12.5px;
    font-weight: 950;
    line-height: 1.55;
}

.fh-home-voices__info span {
    display: block;
    margin-top: 1px;

    color: var(--fh-home-muted);

    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.5;
}

.fh-home-voices__mobile {
    display: none;
}

@keyframes fhHomeVoicesScroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

@media (max-width: 1080px) {
    .fh-home-voices__column--third {
        display: none;
    }
}

@media (max-width: 900px) {
.fh-home-voices {
    padding: 18px 0 62px;
}
    .fh-home-voices__head {
        max-width: 350px;
    }

    .fh-home-voices__eyebrow {
        font-size: 10px;
    }

    .fh-home-voices__title {
        margin-top: 10px;

        font-size: 20px;
        line-height: 1.75;
        letter-spacing: -0.035em;
    }

   

    .fh-home-voices__desktop {
        display: none;
    }

.fh-home-voices__mobile {
    display: block;

    width: 100%;
    margin-top: 26px;
    padding: 4px 0 36px;

    overflow: hidden;

    direction: ltr;
    cursor: grab;
    touch-action: pan-y;

    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent,
            #000 8%,
            #000 92%,
            transparent
        );

    mask-image:
        linear-gradient(
            to right,
            transparent,
            #000 8%,
            #000 92%,
            transparent
        );
}

    .fh-home-voices__mobile.is-dragging {
        cursor: grabbing;
    }

.fh-home-voices__mobile-track {
    width: max-content;

    display: flex;
    align-items: stretch;
    gap: 12px;

    padding: 4px 13px 0;

    transform: translate3d(0, 0, 0);
    will-change: transform;
}
    .fh-home-voices__mobile .fh-home-voices__card {
        width: 282px;
        min-width: 282px;
        min-height: 232px;

        padding: 20px 18px;

        border-radius: 24px;
    }

    .fh-home-voices__message {
        font-size: 12px;
        line-height: 1.95;
    }

    .fh-home-voices__info strong {
        font-size: 12px;
    }

    .fh-home-voices__info span {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fh-home-voices__track {
        animation: none;
    }
}