.customer-stories-page {
    --story-blue: #0077a8;
}

.customer-stories-hero h1 span {
    color: var(--insights-green);
}

.customer-stories-hero .insights-hero-benefits {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 0.95fr);
    gap: 0.65rem;
}

.customer-stories-hero .insights-hero-benefits strong {
    white-space: nowrap;
}

.customer-stories-hero .insights-featured-slide > img {
    object-position: center;
}

.customer-stories-hero .insights-featured-overlay {
    background: linear-gradient(90deg, rgba(2, 36, 39, 0.98) 0%, rgba(2, 46, 45, 0.88) 46%, rgba(2, 46, 45, 0.2) 100%);
}

.customer-stories-hero .insights-featured-content {
    width: 72%;
}

.customer-featured-story--thames-air-water-tech > img {
    display: block;
    width: 62%;
    margin-left: auto;
    background: #ffffff;
    object-fit: contain;
    object-position: center;
}

.customer-results {
    position: relative;
    z-index: 4;
    padding: 0 0 2.5rem;
    background: #ffffff;
}

.customer-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: -1.4rem;
}

.customer-results article {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 0.25rem 1rem;
    align-items: center;
    min-height: 9rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid var(--insights-line);
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: 0 1rem 2.6rem rgba(8, 35, 77, 0.08);
}

.customer-results article:nth-child(2) {
    background: linear-gradient(145deg, #ffffff, #edf8f5);
}

.customer-results article:nth-child(3) {
    background: linear-gradient(145deg, #ffffff, #edf4fb);
}

.customer-results span {
    grid-row: 1 / span 2;
    color: var(--insights-green);
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(1.65rem, 2.3vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.customer-results strong {
    display: flex;
    align-items: flex-end;
    min-height: 2.4rem;
    color: var(--insights-navy);
    font-size: 0.84rem;
    line-height: 1.35;
}

.customer-results p {
    grid-column: 2;
    min-height: 3.2rem;
    margin: 0;
    color: var(--insights-muted);
    font-size: 0.68rem;
    line-height: 1.55;
}

.customer-stories-library {
    padding-top: 2.25rem;
    background: linear-gradient(180deg, #ffffff, #fbfdfd);
}

.customer-story-card .insights-article-image {
    aspect-ratio: 3 / 2;
}

.customer-story-card .insights-article-body > p {
    -webkit-line-clamp: 4;
}

.customer-story-card .insights-article-body > div span svg {
    color: var(--insights-green);
}

.customer-story-card--thames-air-water-tech .insights-article-image {
    background: #ffffff;
}

.customer-story-card--thames-air-water-tech .insights-article-image img {
    padding: 0.85rem;
    object-fit: contain;
}

.customer-story-card--jd-water-consultants-ltd .insights-article-image {
    background: #ffffff;
}

.customer-story-card--jd-water-consultants-ltd .insights-article-image img {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    object-fit: contain;
}

.customer-stories-trust {
    display: grid;
    place-items: center;
    min-height: 18rem;
    padding: 4rem 0;
    background: #ffffff;
}

.customer-stories-trust > .container {
    display: grid;
    width: 100%;
    place-items: center;
}

.customer-stories-trust .reference-trust-carousel {
    width: min(100%, 74rem);
    margin-inline: auto;
}

.customer-stories-trust .trust-carousel-track {
    animation-duration: 34s;
}

.customer-stories-trust .trust-logo {
    flex-basis: 12rem;
}

.customer-stories-trust .trust-logo img {
    max-width: 9.7rem;
    max-height: 3.2rem;
}

.customer-stories-trust .trust-logo-morrisons {
    flex-basis: 12rem;
    height: 5.6rem;
    padding: 0.18rem 1rem;
}

.customer-stories-trust .trust-logo-morrisons img {
    max-width: 5.25rem;
    max-height: 5.25rem;
    transform: translateY(0.22rem);
}

@media (max-width: 1100px) {
    .customer-results-grid {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 0;
    }

    .customer-results article {
        min-height: 0;
    }

    .customer-results strong,
    .customer-results p {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .customer-stories-hero .insights-hero-benefits {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.35rem;
    }

    .customer-stories-hero .insights-featured-content {
        width: 100%;
    }

    .customer-results {
        padding-top: 1rem;
    }

    .customer-results article {
        grid-template-columns: minmax(0, 1fr);
    }

    .customer-results span,
    .customer-results p {
        grid-column: auto;
        grid-row: auto;
    }

    .customer-results span {
        margin-bottom: 0.5rem;
    }
}
