/* FSPL public testimonials page */
.testimonials-hero {
    position: relative;
    padding: 150px 0 86px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(12, 68, 82, .94), rgba(12, 68, 82, .78)),
        url("/assets/images/pages/corporate-hero.webp") center/cover no-repeat;
}

.testimonials-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,.82);
    font-size: .92rem;
}

.testimonials-breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.testimonials-hero-content {
    max-width: 980px;
}

.testimonials-eyebrow,
.testimonial-type {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: .8rem;
    padding: .42rem .72rem;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: inherit;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.testimonial-type {
    background: rgba(30, 95, 116, .10);
    color: #144455;
}

.testimonials-hero h1 {
    max-width: 930px;
    margin: 0 0 1rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.04em;
    color: #fff !important;
}

body .testimonials-hero .testimonials-hero-content h1 {
    color: #fff !important;
}

.testimonials-hero p {
    max-width: 820px;
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.75;
}

.testimonials-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 760px;
    margin-top: 2rem;
}

.testimonials-summary-card {
    padding: 1.2rem;
    border-radius: 20px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
}

.testimonials-summary-value {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1;
    font-weight: 800;
}

.testimonials-summary-label {
    display: block;
    margin-top: .45rem;
    color: rgba(255,255,255,.86);
    font-size: .9rem;
    font-weight: 700;
}

.testimonials-section {
    padding: 78px 0;
    background: #f6fafb;
}

.testimonials-sample-alert {
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(146, 64, 14, .22);
    background: #fff7ed;
    color: #7c2d12;
    font-weight: 700;
    line-height: 1.6;
}

.testimonials-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 2rem;
    align-items: end;
    margin-bottom: 1.8rem;
}

.testimonials-toolbar h2 {
    margin: 0 0 .75rem;
    color: #144455;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.1;
}

.testimonials-toolbar p {
    margin: 0;
    color: #607784;
    font-size: 1.05rem;
    line-height: 1.75;
}

.testimonials-search label {
    display: block;
    margin-bottom: .5rem;
    color: #144455;
    font-weight: 800;
}

.testimonials-search div {
    display: flex;
    gap: .55rem;
}

.testimonials-search input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(30, 95, 116, .18);
    border-radius: 999px;
    padding: .85rem 1rem;
}

.testimonials-search button {
    border: 0;
    border-radius: 999px;
    padding: .85rem 1rem;
    background: #1e5f74;
    color: #fff;
    font-weight: 800;
}

.testimonials-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: 2rem;
}

.testimonials-category-pills a {
    display: inline-flex;
    padding: .68rem 1rem;
    border: 1px solid rgba(30, 95, 116, .16);
    border-radius: 999px;
    background: #fff;
    color: #144455;
    text-decoration: none;
    font-weight: 800;
}

.testimonials-category-pills a.is-active {
    background: #1e5f74;
    color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.55rem;
    border: 1px solid rgba(30, 95, 116, .14);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(17, 65, 80, .08);
}

.testimonial-card-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.testimonial-rating {
    color: #144455;
    font-size: .86rem;
    font-weight: 800;
    white-space: nowrap;
}

.testimonial-sample-badge {
    display: inline-flex;
    margin-left: .35rem;
    padding: .35rem .55rem;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: .72rem;
    font-weight: 800;
}

.testimonial-card blockquote {
    margin: 0 0 1.35rem;
    color: #344d59;
    font-size: 1.03rem;
    line-height: 1.78;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(30, 95, 116, .10);
}

.testimonial-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e7f4f7;
    color: #144455;
    font-weight: 900;
}

.testimonial-person strong {
    display: block;
    color: #144455;
    line-height: 1.25;
}

.testimonial-person span {
    display: block;
    color: #607784;
    font-size: .9rem;
    line-height: 1.45;
}

.testimonial-date {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: space-between;
    margin-top: 1rem;
    color: #607784;
    font-size: .86rem;
    font-weight: 700;
}

.testimonials-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .45rem;
    margin-top: 2.3rem;
}

.testimonials-pagination a,
.testimonials-pagination span {
    min-width: 42px;
    padding: .72rem .9rem;
    border: 1px solid rgba(30, 95, 116, .16);
    border-radius: 999px;
    background: #fff;
    color: #144455;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
}

.testimonials-pagination span.is-active {
    background: #1e5f74;
    color: #fff;
}

.testimonials-empty-state {
    padding: 3rem;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(17, 65, 80, .08);
    color: #607784;
}

.testimonials-empty-state h2 {
    color: #144455;
    font-family: Georgia, "Times New Roman", serif;
}

.testimonials-empty-state a {
    color: #1e5f74;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .testimonials-toolbar,
    .testimonials-grid,
    .testimonials-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .testimonials-hero {
        padding: 125px 0 68px;
    }

    .testimonials-section {
        padding: 54px 0;
    }

    .testimonials-search div {
        flex-direction: column;
    }
}
