#top_customer-stories.top_customer-stories-2025 {
    background-color: #f8f8fc;
    border-radius: var(--sec-br) var(--sec-br) 0 0;
    padding: var(--sec-padding1);
    .wrap_cards {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 60px 35px;
        .thumbnail {
            border-radius: 8px;
        }
        a {
            transition: color 0.3s;
            .wrap__img_customer-stories_index img {
                height: auto;
            }
            .container__index_style1_text h3 {
                line-height: 1.4;
                font-size: 20px;
                margin-top: 15px;
                margin-bottom: 0;
                overflow: hidden;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                text-overflow: ellipsis;
                white-space: initial;
            }
            .wrap__h3__customer-stories_index p {
                font-size: 1.6rem;
                font-weight: 600;
                margin: 13px 0;
            }
        }
        span.icon__plan_kind.icon__plan_kind_mobile {
            background: #d0d4df;
            color: #4a5464;
        }
        span.icon__plan_kind.icon__plan_kind_browse {
            background: #edeff4;
            color: #4a5464;
            padding: 4px 11px 2px;
        }
    }
}
@media screen and (max-width: 1199px) {
    #top_customer-stories.top_customer-stories-2025 {
        .wrap_cards {
            grid-template-columns: 1fr 1fr;
            gap: 50px 30px;
        }
    }
}
@media screen and (max-width: 959px) {
    #top_customer-stories.top_customer-stories-2025 {
        .wrap_cards {
            gap: 45px 25px;
        }
    }
}
@media screen and (min-width: 768px) and (max-width: 959px) {
    #top_customer-stories.top_customer-stories-2025 {
        & .wrap_cards {
            & a {
                .container__index_style1_text h3 {
                    font-size: 18px;
                }
            }
        }
    }
}
@media screen and (max-width: 767px) {
    #top_customer-stories.top_customer-stories-2025 {
        .wrap_cards {
            grid-template-columns: 1fr;
            gap: 45px 25px;
            & a {
                .wrap__index_style1_text h3 {
                    font-size: 1.85rem;
                }
                .wrap__h3__customer-stories_index p {
                    font-size: 1.7rem;
                    margin: 13px 0;
                }
            }
            .column__index_style2 {
                padding-bottom: 0;
            }
        }
    }
}
@media screen and (max-width: 480px) {
    #top_customer-stories.top_customer-stories-2025 {
        .container {
            padding: 0;
        }
        & .wrap_cards {
            & a {
                .wrap__index_style1_text h3 {
                    font-size: 1.75rem;
                }
                .wrap__h3__customer-stories_index p {
                    font-size: 1.6rem;
                }
            }
        }
    }
}

/* ============================================================
   Enterprise restyle: case study cards.
   Sets a clear hierarchy of title > company > label.
   Placed last to override the per-breakpoint font sizes above.
   ============================================================ */
#top_customer-stories.top_customer-stories-2025 {
    .wrap_cards a {
        color: #2a3037;

        /* Keeps the two-line clamp; aligns leading and the space above. */
        .container__index_style1_text h3 {
            font-size: 17px;
            font-weight: 600;
            line-height: 1.55;
            letter-spacing: 0.01em;
            color: #2a3037;
            margin-top: 14px;
            margin-bottom: 0;
        }

        /* Lighter, smaller and paler than the title so the hierarchy reads. */
        .wrap__h3__customer-stories_index p {
            font-size: 14px;
            font-weight: 400;
            line-height: 1.5;
            color: #616161;
            margin: 6px 0 0;
        }

        /* Hover underlines the title rather than turning green. */
        &:hover {
            color: #2a3037;

            .container__index_style1_text h3 {
                color: #2a3037;
                text-decoration: underline;
                text-decoration-thickness: 1px;
                text-underline-offset: 3px;
            }

            .wrap__h3__customer-stories_index p {
                color: #616161;
            }
        }
    }

    /* Spacing tightens in steps (14px, 6px, 4px) so the four elements read as one
       block. The 60px gap between cards then marks the card boundary. */
    .wrap__plan_kind.wrap__plan_kind__es {
        margin-top: 4px;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    /* Two grey tones keep the type distinction without using green. */
    /* These glyphs only descend 0.66px into the font's 3px descender space, so equal
       padding makes the text sit ~1.7px high. line-height splits half-leading evenly
       and cannot correct it, so shift 1px down without changing the box height. */
    .wrap__plan_kind__es span.icon__plan_kind {
        margin: 0;
        padding: 5px 12px 3px;
        border-radius: 3px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.02em;
        line-height: 1.5;
    }

    .wrap__plan_kind span:nth-child(2) {
        margin-left: 0;
    }
}


/* ------------------------------------------------------------
   The case study list is the carousel shared with the case study index.
   Cancel the section's 20px side padding to make it full width, as the other
   full-bleed elements on this page do.
   ------------------------------------------------------------ */
#top_customer-stories.top_customer-stories-2025 .cs-featured {
    /* The section is already a #f8f8fc rounded panel, so the band's own background
       and block padding would double up. */
    background: none;
    padding-block: 0;
    margin-inline: -20px;
    margin-bottom: 0;

    .cs-featured__inner {
        padding-inline: 60px;
    }

    /* slick butts the slides together, so the gutter comes from slide padding with
       the track pulled out by the same amount. */
    .slick-list {
        margin-inline: -12px;
    }

    .cs-featured__slide {
        padding-inline: 12px;
        height: auto;
    }

    /* Equal card heights. */
    .slick-track {
        display: flex;
        align-items: stretch;
    }

    /* Stacked here; the index lays the image beside the text, but each card is a
       third of the width on this page. */
    .cs-featured__link {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 16px;
        height: 100%;
    }

    /* Same 17px / 1.55 as this section's own card headings. The index uses 24px,
       which runs to too many lines at a third of the width. */
    .cs-featured__title {
        font-size: 17px;
        line-height: 1.55;
        letter-spacing: 0.01em;
        margin-bottom: 0;
        -webkit-line-clamp: 3;
    }

    /* 14px, matching those card headings too. */
    .cs-featured__company {
        font-size: 14px;
        font-weight: 400;
        margin-bottom: 6px;
    }

    /* Too cramped with three across. The whole card is the link, as elsewhere on
       this page. */
    .cs-featured__more {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    #top_customer-stories.top_customer-stories-2025 .cs-featured {
        /* No arrows at this width, so the 60px gutter is not needed, but 0 would put the
           cards against the screen edge. .cs-featured cancels the section padding with
           margin-inline, so this is the effective side margin. */
        .cs-featured__inner {
            padding-inline: 20px;
        }
    }
}
