/*
 * SandyMedia testimonial showcase (/testimonial and /testimonial1/*)
 * Scope every selector to the new pages. The legacy /testmonial page is not
 * touched by this file.
 */
body.page-testimonial,
body.page-testimonial1,
body.page-testimonial1-category {
    --smtr-green: #34a853;
    --smtr-green-dark: #22733a;
    --smtr-green-soft: #ecf8ef;
    --smtr-ink: #111827;
    --smtr-muted: #5f6673;
    --smtr-border: #dfe7e2;
    --smtr-card: #ffffff;
    --smtr-soft: #f6f8f7;
    --smtr-radius: 24px;
    background: #fff;
    color: var(--smtr-ink);
}

.smtr-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 82px;
    background:
        radial-gradient(circle at 85% 18%, rgba(52, 168, 83, .16), transparent 30%),
        linear-gradient(135deg, #f7fbf8 0%, #ffffff 52%, #edf8f0 100%);
    border-bottom: 1px solid rgba(52, 168, 83, .13);
}

.smtr-hero::after {
    content: "";
    position: absolute;
    inset: auto -120px -170px auto;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(52, 168, 83, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(52, 168, 83, .035), 0 0 0 115px rgba(52, 168, 83, .02);
    pointer-events: none;
}

.smtr-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.smtr-orb-one {
    width: 230px;
    height: 230px;
    left: -110px;
    top: 35px;
    background: rgba(52, 168, 83, .08);
}

.smtr-orb-two {
    width: 120px;
    height: 120px;
    right: 18%;
    top: 28px;
    background: rgba(17, 24, 39, .035);
}

.smtr-kicker,
.smtr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--smtr-green-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.smtr-kicker {
    margin-bottom: 20px;
    padding: 9px 14px;
    border: 1px solid rgba(52, 168, 83, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
}

.smtr-hero-title {
    max-width: 820px;
    margin: 0;
    color: #0b0f14;
}

.smtr-hero-lead {
    max-width: 760px;
    margin: 22px 0 0;
    color: #4d5664;
    font-size: 19px;
    line-height: 1.75;
}

.smtr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.smtr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.smtr-btn:hover {
    transform: translateY(-2px);
}

.smtr-btn-primary {
    color: #fff;
    background: var(--smtr-green);
    box-shadow: 0 14px 28px rgba(52, 168, 83, .2);
}

.smtr-btn-primary:hover {
    color: #fff;
    background: var(--smtr-green-dark);
}

.smtr-btn-secondary {
    color: var(--smtr-ink);
    background: #fff;
    border-color: var(--smtr-border);
}

.smtr-btn-secondary:hover {
    color: var(--smtr-green-dark);
    border-color: rgba(52, 168, 83, .45);
}

.smtr-proof-panel {
    position: relative;
    z-index: 2;
    max-width: 420px;
    margin-left: auto;
    padding: 34px;
    border: 1px solid rgba(52, 168, 83, .2);
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 28px 70px rgba(16, 33, 24, .13);
}

.smtr-proof-panel::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(52, 168, 83, .16);
    border-radius: 20px;
    pointer-events: none;
}

.smtr-proof-panel-label {
    position: relative;
    color: var(--smtr-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.smtr-proof-number {
    position: relative;
    margin-top: 8px;
    color: var(--smtr-green);
    font-size: clamp(58px, 7vw, 86px);
    font-weight: 700;
    line-height: 1;
}

.smtr-proof-panel > p {
    position: relative;
    margin: 12px 0 22px;
    color: var(--smtr-muted);
    line-height: 1.65;
}

.smtr-proof-mini-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.smtr-proof-mini-grid > div {
    padding: 15px;
    border-radius: 15px;
    background: var(--smtr-green-soft);
}

.smtr-proof-mini-grid strong,
.smtr-proof-mini-grid span {
    display: block;
}

.smtr-proof-mini-grid strong {
    color: var(--smtr-ink);
    font-size: 22px;
}

.smtr-proof-mini-grid span {
    margin-top: 3px;
    color: var(--smtr-muted);
    font-size: 12px;
    line-height: 1.4;
}

.smtr-outcomes-section,
.smtr-hub-directory,
.smtr-category-page-content,
.smtr-more-categories {
    padding: 78px 0;
}

.smtr-outcomes-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.smtr-outcomes-head h2,
.smtr-section-heading-copy h2,
.smtr-directory-heading h2,
.smtr-explainer-intro h2,
.smtr-cta-card h2 {
    margin: 10px 0 0;
    color: var(--smtr-ink);
    font-size: clamp(30px, 3.2vw, 46px);
    font-weight: 700;
    line-height: 1.14;
}

.smtr-outcomes-head p,
.smtr-section-heading-copy p,
.smtr-directory-card p,
.smtr-explainer-intro p,
.smtr-cta-card p,
.smtr-empty-state p {
    color: var(--smtr-muted);
    line-height: 1.7;
}

.smtr-outcomes-head p {
    margin: 14px 0 0;
}

.smtr-outcome-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.smtr-outcome-card {
    min-height: 220px;
    padding: 27px;
    border: 1px solid var(--smtr-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .055);
}

.smtr-outcome-card span {
    display: block;
    color: var(--smtr-green);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.smtr-outcome-card strong {
    display: block;
    margin-top: 18px;
    font-size: 19px;
}

.smtr-outcome-card p {
    margin: 8px 0 0;
    color: var(--smtr-muted);
    line-height: 1.65;
    font-size: 14px;
}

.smtr-category-nav {
    position: sticky;
    top: 72px;
    z-index: 15;
    padding: 14px 0;
    border-top: 1px solid var(--smtr-border);
    border-bottom: 1px solid var(--smtr-border);
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
}

.smtr-category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.smtr-category-scroll a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid var(--smtr-border);
    border-radius: 999px;
    color: var(--smtr-ink);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.smtr-category-scroll a:hover {
    color: var(--smtr-green-dark);
    border-color: rgba(52, 168, 83, .45);
    background: var(--smtr-green-soft);
}

.smtr-category-scroll a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 23px;
    height: 23px;
    padding: 0 6px;
    border-radius: 999px;
    color: #fff;
    background: var(--smtr-green);
    font-size: 11px;
}

.smtr-group-section {
    padding: 78px 0;
    scroll-margin-top: 150px;
}

.smtr-group-section:nth-of-type(even) {
    background: var(--smtr-soft);
}

.smtr-section-heading-row,
.smtr-directory-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 34px;
}

.smtr-section-heading-copy {
    max-width: 760px;
}

.smtr-section-heading-copy p {
    max-width: 690px;
    margin: 14px 0 0;
}

.smtr-text-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    color: var(--smtr-green-dark);
    font-weight: 700;
    text-decoration: none;
}

.smtr-text-link:hover {
    color: var(--smtr-green);
}

.smtr-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.smtr-review-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.smtr-review-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 385px;
    flex-direction: column;
    padding: 25px;
    overflow: hidden;
    border: 1px solid var(--smtr-border);
    border-radius: 22px;
    background: var(--smtr-card);
    box-shadow: 0 18px 48px rgba(17, 24, 39, .06);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.smtr-review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 168, 83, .4);
    box-shadow: 0 24px 60px rgba(24, 75, 40, .1);
}

.smtr-review-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.smtr-source-pill {
    display: inline-flex;
    max-width: 68%;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--smtr-green-dark);
    background: var(--smtr-green-soft);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.smtr-rating {
    flex: 0 0 auto;
    color: #f5a623;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.smtr-quote-mark {
    height: 52px;
    margin-top: 14px;
    color: var(--smtr-green);
    font-size: 68px;
    font-weight: 700;
    line-height: 1;
    opacity: .28;
}

.smtr-review-copy {
    flex: 1 1 auto;
    margin: 4px 0 26px;
    color: #343b46;
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.smtr-review-author {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 17px;
    border-top: 1px solid #edf0ee;
}

.smtr-avatar-wrap {
    display: flex;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--smtr-border);
    border-radius: 50%;
    background: #fff;
}

.smtr-avatar-wrap.is-company {
    width: 68px;
    flex-basis: 68px;
    border-radius: 12px;
}

.smtr-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smtr-avatar-wrap.is-company img {
    padding: 5px;
    object-fit: contain;
}

.smtr-author-copy {
    min-width: 0;
}

.smtr-author-copy strong,
.smtr-author-copy span,
.smtr-author-copy small {
    display: block;
}

.smtr-author-copy strong {
    overflow: hidden;
    color: var(--smtr-ink);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.smtr-author-copy span,
.smtr-author-copy small {
    margin-top: 2px;
    color: var(--smtr-muted);
    font-size: 12px;
    line-height: 1.35;
}

.smtr-empty-state {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px;
    border: 1px dashed rgba(52, 168, 83, .35);
    border-radius: 20px;
    background: rgba(236, 248, 239, .5);
}

.smtr-empty-state-large {
    max-width: 860px;
    min-height: 210px;
    margin: 0 auto;
}

.smtr-empty-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: var(--smtr-green);
    font-size: 19px;
}

.smtr-empty-state strong {
    color: var(--smtr-ink);
    font-size: 17px;
}

.smtr-empty-state p {
    margin: 5px 0 0;
    font-size: 14px;
}

.smtr-cta-section {
    padding: 32px 0 92px;
}

.smtr-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    padding: 52px;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .16), transparent 27%),
        linear-gradient(135deg, #1f6f36, #34a853 65%, #3eb35d);
    box-shadow: 0 28px 70px rgba(35, 115, 58, .23);
}

.smtr-eyebrow.is-light,
.smtr-cta-card h2,
.smtr-cta-card p {
    color: #fff;
}

.smtr-cta-card h2 {
    max-width: 720px;
}

.smtr-cta-card p {
    max-width: 700px;
    margin: 14px 0 0;
    opacity: .9;
}

.smtr-btn-light {
    flex: 0 0 auto;
    color: #17642f;
    background: #fff;
}

.smtr-btn-light:hover {
    color: #17642f;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}

/* /testimonial1 hub */
.smtr-hub-hero {
    padding-top: 105px;
    text-align: center;
}

.smtr-hub-hero-copy {
    max-width: 930px;
    margin: 0 auto;
}

.smtr-hub-hero-copy .smtr-hero-title,
.smtr-hub-hero-copy .smtr-hero-lead {
    margin-right: auto;
    margin-left: auto;
}

.smtr-hub-summary {
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 1px;
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid var(--smtr-border);
    border-radius: 18px;
    background: var(--smtr-border);
    box-shadow: 0 18px 44px rgba(17, 24, 39, .07);
}

.smtr-hub-summary > div {
    padding: 18px 25px;
    background: rgba(255, 255, 255, .96);
}

.smtr-hub-summary strong,
.smtr-hub-summary span {
    display: block;
}

.smtr-hub-summary strong {
    color: var(--smtr-green);
    font-size: 25px;
}

.smtr-hub-summary span {
    margin-top: 3px;
    color: var(--smtr-muted);
    font-size: 12px;
}

.smtr-directory-heading > div {
    max-width: 760px;
}

.smtr-directory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.smtr-directory-card {
    position: relative;
    min-height: 310px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--smtr-border);
    border-radius: 24px;
    color: var(--smtr-ink);
    background: #fff;
    box-shadow: 0 18px 45px rgba(17, 24, 39, .055);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.smtr-directory-card::after {
    content: "";
    position: absolute;
    right: -46px;
    bottom: -48px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: var(--smtr-green-soft);
    transition: transform .2s ease;
}

.smtr-directory-card:hover {
    color: var(--smtr-ink);
    transform: translateY(-5px);
    border-color: rgba(52, 168, 83, .4);
    box-shadow: 0 26px 64px rgba(37, 111, 56, .1);
}

.smtr-directory-card:hover::after {
    transform: scale(1.18);
}

.smtr-directory-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: var(--smtr-green);
    font-size: 20px;
}

.smtr-directory-count {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--smtr-green-dark);
    font-size: 12px;
    font-weight: 700;
}

.smtr-directory-card h2 {
    position: relative;
    z-index: 1;
    margin: 24px 0 0;
    font-size: 25px;
    font-weight: 700;
}

.smtr-directory-card p {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 11px 0 25px;
    font-size: 14px;
}

.smtr-directory-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--smtr-green-dark);
    font-size: 13px;
    font-weight: 700;
}

.smtr-hub-explainer {
    padding: 76px 0;
    background: #f6f8f7;
}

.smtr-explainer-intro {
    height: 100%;
    padding: 34px;
    border: 1px solid var(--smtr-border);
    border-radius: 24px;
    background: #fff;
}

.smtr-explainer-intro p {
    margin: 15px 0 0;
}

.smtr-explainer-list {
    display: grid;
    gap: 14px;
}

.smtr-explainer-list > div {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid var(--smtr-border);
    border-radius: 20px;
    background: #fff;
}

.smtr-explainer-list > div > span {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--smtr-green-dark);
    background: var(--smtr-green-soft);
    font-weight: 700;
}

.smtr-explainer-list strong {
    display: block;
    color: var(--smtr-ink);
    font-size: 17px;
}

.smtr-explainer-list p {
    margin: 5px 0 0;
    color: var(--smtr-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* /testimonial1/{category} */
.smtr-category-hero {
    padding-top: 72px;
}

.smtr-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 34px;
    color: var(--smtr-green-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.smtr-back-link:hover {
    color: var(--smtr-green);
}

.smtr-category-total {
    max-width: 290px;
    margin-left: auto;
    padding: 25px;
    border: 1px solid rgba(52, 168, 83, .25);
    border-radius: 20px;
    background: rgba(255, 255, 255, .88);
}

.smtr-category-total strong,
.smtr-category-total span {
    display: block;
}

.smtr-category-total strong {
    color: var(--smtr-green);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.smtr-category-total span {
    margin-top: 6px;
    color: var(--smtr-muted);
    font-size: 13px;
}

.smtr-more-categories {
    padding-top: 28px;
    background: var(--smtr-soft);
}

.smtr-more-category-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.smtr-more-category-links a {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 1px solid var(--smtr-border);
    border-radius: 15px;
    color: var(--smtr-ink);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.smtr-more-category-links a:hover {
    color: var(--smtr-green-dark);
    border-color: rgba(52, 168, 83, .42);
}

.smtr-more-category-links i {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--smtr-green-dark);
    background: var(--smtr-green-soft);
}

.smtr-more-category-links small {
    display: inline-flex;
    min-width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: var(--smtr-green);
}

@media (max-width: 991.98px) {
    .smtr-hero {
        padding: 72px 0 66px;
    }

    .smtr-proof-panel,
    .smtr-category-total {
        max-width: none;
        margin-left: 0;
    }

    .smtr-outcome-grid,
    .smtr-review-grid,
    .smtr-review-grid-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .smtr-category-nav {
        top: 68px;
    }

    .smtr-section-heading-row,
    .smtr-directory-heading,
    .smtr-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .smtr-directory-grid {
        grid-template-columns: 1fr;
    }

    .smtr-more-category-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .smtr-hero {
        padding: 56px 0 52px;
    }

    .smtr-kicker {
        align-items: flex-start;
        font-size: 11px;
        line-height: 1.45;
    }

    .smtr-hero-lead {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.65;
    }

    .smtr-hero-actions,
    .smtr-btn {
        width: 100%;
    }

    .smtr-proof-panel {
        padding: 26px;
    }

    .smtr-proof-mini-grid,
    .smtr-hub-summary {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .smtr-outcomes-section,
    .smtr-hub-directory,
    .smtr-category-page-content,
    .smtr-group-section,
    .smtr-more-categories,
    .smtr-hub-explainer {
        padding: 52px 0;
    }

    .smtr-outcome-grid,
    .smtr-review-grid,
    .smtr-review-grid-wide,
    .smtr-more-category-links {
        grid-template-columns: 1fr;
    }

    .smtr-outcome-card {
        min-height: 0;
    }

    .smtr-review-card {
        min-height: 0;
        padding: 21px;
    }

    .smtr-section-heading-row,
    .smtr-directory-heading {
        margin-bottom: 26px;
    }

    .smtr-text-link {
        align-self: flex-start;
    }

    .smtr-empty-state {
        align-items: flex-start;
        padding: 22px;
    }

    .smtr-cta-section {
        padding: 20px 0 62px;
    }

    .smtr-cta-card {
        gap: 26px;
        padding: 30px 24px;
        border-radius: 22px;
    }

    .smtr-btn-light {
        width: 100%;
    }

    .smtr-directory-card {
        min-height: 0;
        padding: 24px;
    }

    .smtr-directory-count {
        top: 26px;
        right: 24px;
    }

    .smtr-explainer-list > div {
        grid-template-columns: 48px 1fr;
        gap: 13px;
        padding: 19px;
    }

    .smtr-explainer-list > div > span {
        width: 44px;
        height: 44px;
    }

    .smtr-category-total {
        padding: 21px;
    }
}

/* =========================================================
   /testimonial visual refinements
   - Font weight is capped at 700.
   ========================================================= */

/* Hero refinement */
body.page-testimonial .smtr-hero-single {
    min-height: 610px;
    display: flex;
    align-items: center;
    padding: 74px 0 70px;
    background:
        radial-gradient(circle at 86% 18%, rgba(52, 168, 83, .15), transparent 27%),
        radial-gradient(circle at 7% 78%, rgba(52, 168, 83, .08), transparent 24%),
        linear-gradient(132deg, #f8fcf9 0%, #ffffff 50%, #edf8f0 100%);
}

body.page-testimonial .smtr-hero-single::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 44%;
    height: 100%;
    background-image: radial-gradient(rgba(52, 168, 83, .12) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(to left, #000, transparent 88%);
    mask-image: linear-gradient(to left, #000, transparent 88%);
    pointer-events: none;
}

body.page-testimonial .smtr-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

body.page-testimonial .smtr-kicker {
    margin-bottom: 24px;
    padding: 10px 15px;
    border-color: rgba(52, 168, 83, .26);
    box-shadow: 0 8px 24px rgba(52, 168, 83, .07);
    font-weight: 700;
}

body.page-testimonial .smtr-hero-title {
    max-width: 780px;
    font-size: clamp(42px, 4.3vw, 66px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

body.page-testimonial .smtr-hero-lead {
    max-width: 760px;
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.72;
}

body.page-testimonial .smtr-hero-actions {
    margin-top: 28px;
    gap: 12px;
}

body.page-testimonial .smtr-btn {
    min-height: 52px;
    padding: 13px 22px;
    font-weight: 700;
}

body.page-testimonial .smtr-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

body.page-testimonial .smtr-hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 999px;
    color: #58616e;
    background: rgba(255, 255, 255, .76);
    font-size: 12px;
    line-height: 1;
}

body.page-testimonial .smtr-hero-tags i {
    color: var(--smtr-green);
}

/* Better right-side review summary card */
body.page-testimonial .smtr-proof-panel {
    max-width: 470px;
    min-height: 430px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(52, 168, 83, .2);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(52, 168, 83, .10), transparent 35%),
        rgba(255, 255, 255, .95);
    box-shadow: 0 28px 80px rgba(19, 57, 31, .14);
}

body.page-testimonial .smtr-proof-panel::before {
    inset: 12px;
    border-radius: 23px;
    border-color: rgba(52, 168, 83, .14);
}

body.page-testimonial .smtr-proof-panel::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border: 34px solid rgba(52, 168, 83, .045);
    border-radius: 50%;
    pointer-events: none;
}

body.page-testimonial .smtr-proof-panel-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

body.page-testimonial .smtr-proof-panel-label,
body.page-testimonial .smtr-proof-panel-subtitle {
    display: block;
}

body.page-testimonial .smtr-proof-panel-label {
    color: #334155;
    font-weight: 700;
}

body.page-testimonial .smtr-proof-panel-subtitle {
    max-width: 260px;
    margin-top: 5px;
    color: var(--smtr-muted);
    font-size: 12px;
    line-height: 1.55;
}

body.page-testimonial .smtr-proof-panel-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(52, 168, 83, .14);
    border-radius: 15px;
    color: var(--smtr-green-dark);
    background: var(--smtr-green-soft);
    font-size: 18px;
}

body.page-testimonial .smtr-proof-main {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    margin-top: 30px;
}

body.page-testimonial .smtr-proof-number {
    margin: 0;
    font-size: clamp(72px, 7vw, 96px);
    font-weight: 700;
    letter-spacing: -.05em;
}

body.page-testimonial .smtr-proof-main-copy {
    padding-bottom: 10px;
}

body.page-testimonial .smtr-proof-main-copy strong,
body.page-testimonial .smtr-proof-main-copy span {
    display: block;
}

body.page-testimonial .smtr-proof-main-copy strong {
    color: var(--smtr-ink);
    font-size: 16px;
    font-weight: 700;
}

body.page-testimonial .smtr-proof-main-copy span {
    max-width: 190px;
    margin-top: 4px;
    color: var(--smtr-muted);
    font-size: 12px;
    line-height: 1.5;
}

body.page-testimonial .smtr-proof-divider {
    position: relative;
    z-index: 2;
    height: 1px;
    margin: 22px 0 18px;
    background: linear-gradient(90deg, rgba(52, 168, 83, .28), rgba(52, 168, 83, .05));
}

body.page-testimonial .smtr-proof-mini-grid {
    position: relative;
    z-index: 2;
    gap: 12px;
}

body.page-testimonial .smtr-proof-mini-grid > div {
    position: relative;
    min-height: 112px;
    padding: 18px;
    border: 1px solid rgba(52, 168, 83, .1);
    border-radius: 18px;
    background: linear-gradient(145deg, #f2faf4, #eaf7ee);
}

body.page-testimonial .smtr-proof-mini-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--smtr-green-dark) !important;
    background: rgba(255, 255, 255, .78);
    font-size: 12px !important;
}

body.page-testimonial .smtr-proof-mini-grid strong {
    font-size: 24px;
    font-weight: 700;
}

body.page-testimonial .smtr-proof-mini-grid > div > span:last-child {
    margin-top: 6px;
    padding-right: 26px;
}

/* Category navigation: taller, cleaner, hidden scrollbar, active colour */
body.page-testimonial .smtr-category-nav {
    top: 72px;
    padding: 17px 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 10px 28px rgba(17, 24, 39, .06);
}

body.page-testimonial .smtr-category-scroll {
    gap: 11px;
    min-height: 52px;
    padding: 2px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
}

body.page-testimonial .smtr-category-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body.page-testimonial .smtr-category-scroll a {
    min-height: 48px;
    gap: 9px;
    padding: 11px 16px;
    border-color: #dce5df;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(17, 24, 39, .035);
    font-size: 13px;
    font-weight: 700;
    scroll-snap-align: center;
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.page-testimonial .smtr-category-scroll a:hover {
    color: var(--smtr-green-dark);
    border-color: rgba(52, 168, 83, .42);
    background: #f5fbf7;
    transform: translateY(-1px);
}

body.page-testimonial .smtr-category-scroll a.is-active,
body.page-testimonial .smtr-category-scroll a[aria-current="true"] {
    color: #fff;
    border-color: var(--smtr-green);
    background: var(--smtr-green);
    box-shadow: 0 12px 26px rgba(52, 168, 83, .22);
}

body.page-testimonial .smtr-category-scroll a.is-active i,
body.page-testimonial .smtr-category-scroll a[aria-current="true"] i {
    color: #fff;
}

body.page-testimonial .smtr-category-scroll .smtr-category-count {
    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    color: #fff;
    background: var(--smtr-green);
    font-size: 11px;
    font-weight: 700;
}

body.page-testimonial .smtr-category-scroll a.is-active .smtr-category-count,
body.page-testimonial .smtr-category-scroll a[aria-current="true"] .smtr-category-count {
    color: var(--smtr-green-dark);
    background: #fff;
}

/* Group section starts comfortably below sticky nav */
body.page-testimonial .smtr-group-section {
    scroll-margin-top: 145px;
}

/* Outcomes are intentionally lower on this page */
body.page-testimonial .smtr-outcomes-section-late {
    padding: 84px 0;
    border-top: 1px solid var(--smtr-border);
    background: linear-gradient(180deg, #f8faf9 0%, #ffffff 100%);
}

body.page-testimonial .smtr-outcomes-section-late .smtr-outcomes-head {
    max-width: 820px;
    margin-bottom: 38px;
}

body.page-testimonial .smtr-outcome-card {
    min-height: 230px;
    padding: 28px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.page-testimonial .smtr-outcome-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 168, 83, .34);
    box-shadow: 0 24px 54px rgba(17, 24, 39, .08);
}

body.page-testimonial .smtr-outcome-card span {
    font-weight: 700;
}

/* Keep every testimonial page rule at 700 or below */
body.page-testimonial .smtr-eyebrow,
body.page-testimonial .smtr-text-link,
body.page-testimonial .smtr-source-pill,
body.page-testimonial .smtr-quote-mark,
body.page-testimonial .smtr-directory-count,
body.page-testimonial .smtr-directory-card h2,
body.page-testimonial .smtr-directory-link,
body.page-testimonial .smtr-explainer-list > div > span,
body.page-testimonial .smtr-back-link,
body.page-testimonial .smtr-category-total strong,
body.page-testimonial .smtr-more-category-links a {
    font-weight: 700;
}

@media (max-width: 991.98px) {
    body.page-testimonial .smtr-hero-single {
        min-height: auto;
        padding: 66px 0 64px;
    }

    body.page-testimonial .smtr-proof-panel {
        max-width: none;
        min-height: 0;
    }

    body.page-testimonial .smtr-category-nav {
        top: 68px;
    }
}

@media (max-width: 767.98px) {
    body.page-testimonial .smtr-hero-single {
        padding: 48px 0 50px;
    }

    body.page-testimonial .smtr-hero-title {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.12;
    }

    body.page-testimonial .smtr-hero-lead {
        font-size: 16px;
        line-height: 1.65;
    }

    body.page-testimonial .smtr-hero-tags {
        margin-top: 18px;
    }

    body.page-testimonial .smtr-proof-panel {
        padding: 24px;
        border-radius: 24px;
    }

    body.page-testimonial .smtr-proof-panel-top {
        gap: 14px;
    }

    body.page-testimonial .smtr-proof-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        margin-top: 24px;
    }

    body.page-testimonial .smtr-proof-main-copy {
        padding-bottom: 0;
    }

    body.page-testimonial .smtr-proof-number {
        font-size: 70px;
    }

    body.page-testimonial .smtr-category-nav {
        padding: 13px 0;
    }

    body.page-testimonial .smtr-category-scroll {
        min-height: 48px;
        gap: 8px;
    }

    body.page-testimonial .smtr-category-scroll a {
        min-height: 44px;
        padding: 9px 13px;
        border-radius: 14px;
        font-size: 12px;
    }

    body.page-testimonial .smtr-outcomes-section-late {
        padding: 56px 0;
    }
}

