/* ------------------------------------------------------------------
   Testimonial Section (five) — isolated stylesheet
   Extracted + scoped from Eronix main.css — only the rules needed
   for the .testimonial--section.five markup, none of it global.

   Notes:
   - Local T1 Korium / Clash Display @font-face blocks were dropped
     (their local font paths don't exist in the Axten build and were
     404ing on every page load). --t5-heading-font falls back to a
     safe system stack instead.
   - The Google Fonts @import below is a real CDN URL (not a local
     path), so it's safe — but check Axten doesn't already import
     Funnel Display / Phudu elsewhere before adding this twice.
   - Global body/::-webkit-scrollbar/*:focus rules from the original
     theme file were intentionally left out — page-wide concerns,
     not needed to render this section.
------------------------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&family=Phudu:wght@300..900&display=swap");

.testimonial--section.five {
    /* local design tokens, scoped — won't touch Axten's :root */
    --t5-heading-font: "T1 Korium", Georgia, serif;
    --t5-heading-font-two: "Phudu", sans-serif;
    --t5-body-font: "Funnel Display", sans-serif;
    --t5-heading-two: clamp(1.375rem, 1.7vw + 1rem, 2.5rem);
    --t5-body-color: #000000;
    --t5-body-bg-two: #F8F7F3;
    --t5-card-bg-four: #F9F8F6;
    --t5-white: #FFF;
}

/* ---------- section-level utility classes (compound, same element) ---------- */

.testimonial--section.five.body-bg--two {
    background-color: var(--t5-body-bg-two);
}

.testimonial--section.five.py-130 {
    padding-top: 130px;
    padding-bottom: 130px;
}

/* ---------- base element resets, scoped to descendants only ---------- */

.testimonial--section.five p {
    font-family: var(--t5-body-font);
    font-size: 16px;
    margin: 0;
    font-weight: 400;
    word-break: break-word;
    color: var(--t5-body-color);
    line-height: 1.1;
}

.testimonial--section.five h2,
.testimonial--section.five h6 {
    margin: 0 0 15px 0;
    font-family: var(--t5-heading-font);
    color: var(--t5-body-color);
    line-height: 1.1;
    word-break: break-word;
}

@media screen and (max-width: 770px) {

    .testimonial--section.five h2,
    .testimonial--section.five h6 {
        margin: 0 0 10px 0;
    }
}

.testimonial--section.five h2 {
    font-size: var(--t5-heading-two);
    font-weight: 600;
    margin: 0px;
}

.testimonial--section.five h6 {
    font-size: 20px;
    font-weight: 500;
}

.testimonial--section.five img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.testimonial--section.five ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.testimonial--section.five .fit--img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- utility classes used directly in the markup ---------- */

.testimonial--section.five .fs--16 {
    font-size: 16px !important;
}

.testimonial--section.five .fs--24 {
    font-size: 24px !important;
}

.testimonial--section.five .fs--26 {
    font-size: 26px !important;
}

.testimonial--section.five .fw--500 {
    font-weight: 500 !important;
}

.testimonial--section.five .fw--700 {
    font-weight: 700 !important;
}

@media (max-width: 767px) {
    .testimonial--section.five .fw--700 {
        font-weight: 500 !important;
    }
}

.testimonial--section.five .body--font {
    font-family: var(--t5-body-font) !important;
}

.testimonial--section.five .heading-font--two {
    font-family: var(--t5-heading-font-two) !important;
}

.testimonial--section.five .radius--50 {
    border-radius: 50% !important;
}

.testimonial--section.five .h--100 {
    height: 100% !important;
}

.testimonial--section.five .z--1 {
    z-index: 1;
}

.testimonial--section.five .z--2 {
    z-index: 2;
}

.testimonial--section.five .z--3 {
    z-index: 3;
}

.testimonial--section.five .z--4 {
    z-index: 4;
}

.testimonial--section.five .z--5 {
    z-index: 5;
}

.testimonial--section.five .z--6 {
    z-index: 6;
}

.testimonial--section.five .z--7 {
    z-index: 7;
}

.testimonial--section.five .z--8 {
    z-index: 8;
}

.testimonial--section.five .z--9 {
    z-index: 9;
}

/* ---------- card component ---------- */

.testimonial--section.five .testimonial--card.five {
    padding: 45px 35px;
    width: 380px;
    background: var(--t5-card-bg-four);
    border: 1px solid var(--t5-white);
    box-shadow: 23px 27px 40px rgba(16, 23, 0, 0.08);
    border-radius: 25px;
}

.testimonial--section.five .testimonial--card.five .star--thumb {
    margin-bottom: 45px;
}

.testimonial--section.five .testimonial--card.five .description {
    margin-bottom: 76px;
}

.testimonial--section.five .testimonial--card.five.style--one .review--wrap .review--text {
    font-size: 90px;
    margin-bottom: 25px;
}

.testimonial--section.five .testimonial--card.five.style--one .review--wrap .star--wrap {
    margin-bottom: 10px;
    gap: 3px;
}

.testimonial--section.five .testimonial--card.five.style--one .user--info .thumb--wrap {
    margin-left: -20px;
}

@media (max-width: 991px) {
    .testimonial--section.five .testimonial--card.five.style--one .user--info {
        height: 100px;
    }
}

@media (max-width: 575px) {
    .testimonial--section.five .testimonial--card.five.style--one .user--info {
        height: 100px;
    }

    .testimonial--section.five .testimonial--card.five {
        width: 100%;
    }
}

/* ---------- layout / container ---------- */

.testimonial--section.five .container-fluid {
    padding: 0 160px;
    overflow: hidden;
}

.testimonial--section.five .section-content--wrap {
    margin-bottom: 90px;
}

.testimonial--section.five .section-content--wrap .title {
    font-size: 60px;
}

.testimonial--section.five .testimonial-card--wrap {
    padding-left: 160px;
}

@media (max-width: 1613px) {
    .testimonial--section.five .section-content--wrap .title {
        font-size: 46px !important;
    }
}

@media (max-width: 1519px) {
    .testimonial--section.five .container-fluid {
        padding: 0 75px;
    }

    .testimonial--section.five .testimonial-card--wrap {
        padding-left: 75px;
    }
}

@media (max-width: 1299px) {
    .testimonial--section.five.py-130 {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .testimonial--section.five .container-fluid {
        padding: 0 75px;
    }
}

@media (max-width: 1199px) {
    .testimonial--section.five .section-content--wrap .title {
        font-size: 36px !important;
    }
}

@media (max-width: 1025px) {
    .testimonial--section.five.py-130 {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .testimonial--section.five .container-fluid {
        padding: 0 45px;
    }
}

@media (max-width: 1023px) {
    .testimonial--section.five .testimonial-card--wrap {
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
        padding-left: 45px !important;
    }
}

@media (max-width: 768px) {
    .testimonial--section.five .container-fluid {
        padding: 0 45px !important;
    }
}

@media (max-width: 692px) {
    .testimonial--section.five .container-fluid {
        padding: 0 25px !important;
    }
}

@media (max-width: 575px) {
    .testimonial--section.five .testimonial-card--wrap {
        padding: 0 25px !important;
    }

    .testimonial--section.five .container-fluid {
        padding: 0 25px !important;
    }
}

@media (max-width: 375px) {
    .testimonial--section.five .section-content--wrap .title {
        font-size: 28px !important;
    }
}