/* Relifi Testimonials - reference-style Elementor widget */

.elementor-widget-relifi_testimonials {
    width: 100%;
    max-width: 100%;
}

.rts-section,
.rts-section * {
    box-sizing: border-box;
}

.rts-section {
    width: 100%;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.rts-section.rts-full-width {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.rts-inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.rts-heading {
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rts-grid {
    width: 100%;
    display: grid;
    align-items: stretch;
}

.rts-card {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-style: solid;
    text-decoration: none !important;
    color: inherit;
    overflow: hidden;
}

a.rts-card:hover,
a.rts-card:focus {
    color: inherit;
    text-decoration: none !important;
}

.rts-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.rts-review {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.42;
    min-width: 0;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.rts-quote-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 0;
    position: relative;
    top: 2px;
    font-size: 1.35em;
}

.rts-quote-open {
    margin-right: 3px;
}

.rts-quote-close {
    margin-left: 3px;
}

.rts-divider {
    width: 100%;
    height: 1px;
    flex: 0 0 auto;
}

.rts-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.rts-avatar {
    flex: 0 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border-style: solid;
    border-width: 1px;
    background: #eee;
}

.rts-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

.rts-name {
    min-width: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: normal;
}

/* Tablet */
@media (max-width: 1024px) {
    .rts-inner {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .rts-section.rts-full-width {
        left: 50%;
    }

    .rts-inner {
        width: 100%;
        max-width: 100% !important;
    }

    .rts-grid {
        width: 100%;
    }

    .rts-card,
    .rts-review,
    .rts-name {
        min-width: 0;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
    }
}


/* Slider viewport + dots */
.rts-slider-viewport {
    width: 100%;
    overflow: visible;
}

.rts-dots {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
}

.rts-dot {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    padding: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}

.rts-dot.is-active {
    transform: scale(1.25);
}

@media (max-width: 767px) {
    .rts-mobile-slider-enabled .rts-slider-viewport {
        overflow: hidden;
        width: 100%;
        touch-action: pan-y;
    }

    .rts-mobile-slider-enabled .rts-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        width: 100%;
        will-change: transform;
        transition-property: transform;
        transition-timing-function: ease;
    }

    .rts-mobile-slider-enabled .rts-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .rts-mobile-slider-enabled .rts-dots {
        display: flex;
    }
}


/* v1.2 - Mobile slider dot size/responsive fix
   Strong reset prevents theme/Elementor button styles from turning dots into large squares. */
@media (max-width: 767px) {
    .rts-mobile-slider-enabled .rts-dots {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        width: 100%;
        min-height: 12px;
        margin: 10px 0 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    .rts-mobile-slider-enabled .rts-dot,
    .rts-mobile-slider-enabled button.rts-dot {
        appearance: none !important;
        -webkit-appearance: none !important;
        display: block !important;
        flex: 0 0 7px !important;
        width: 7px !important;
        height: 7px !important;
        min-width: 7px !important;
        max-width: 7px !important;
        min-height: 7px !important;
        max-height: 7px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 999px !important;
        line-height: 0 !important;
        font-size: 0 !important;
        box-shadow: none !important;
        outline: none;
        cursor: pointer;
        overflow: hidden;
        transform: none !important;
    }

    .rts-mobile-slider-enabled .rts-dot.is-active,
    .rts-mobile-slider-enabled button.rts-dot.is-active {
        flex-basis: 18px !important;
        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        height: 7px !important;
        min-height: 7px !important;
        max-height: 7px !important;
        transform: none !important;
    }
}

/* Hide slider controls above mobile breakpoint. */
@media (min-width: 768px) {
    .rts-dots {
        display: none !important;
    }
}


/* =========================================================
   MOBILE HEADING REFERENCE FIX v1.2.1
   Keeps "REAL PEOPLE. REAL RELIEF." compact, centered and
   on ONE line like the supplied reference image.
   !important is intentional so saved Elementor typography
   settings cannot make the mobile heading oversized/wrapped.
========================================================= */
@media screen and (max-width: 767px) {
    body .elementor-widget-relifi_testimonials .rts-section .rts-inner .rts-heading,
    .elementor-widget-relifi_testimonials .rts-heading,
    .rts-section .rts-heading {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;

        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        font-style: normal !important;
        line-height: 1.15 !important;
        letter-spacing: 1.15px !important;

        color: #006A3D;
        text-align: center !important;
        text-transform: uppercase !important;

        white-space: nowrap !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
    }
}

/* Smaller phones: retain a single line without looking cramped. */
@media screen and (max-width: 390px) {
    body .elementor-widget-relifi_testimonials .rts-section .rts-inner .rts-heading,
    .elementor-widget-relifi_testimonials .rts-heading,
    .rts-section .rts-heading {
        font-size: 12px !important;
        letter-spacing: 0.95px !important;
    }
}

@media screen and (max-width: 340px) {
    body .elementor-widget-relifi_testimonials .rts-section .rts-inner .rts-heading,
    .elementor-widget-relifi_testimonials .rts-heading,
    .rts-section .rts-heading {
        font-size: 11px !important;
        letter-spacing: 0.7px !important;
    }
}
