/* Keep the hero's controls and the sections below it in a fixed position. */
.hero-slides {
    display: grid;
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    height: auto;
    align-items: start;
}

.service-slide,
.service-slide.is-active {
    display: grid;
    grid-area: 1 / 1;
    align-content: start;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.service-slide.is-active {
    position: relative;
    inset: auto;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.hero-copy {
    padding-top: 28px;
    padding-bottom: 28px;
}

.slider-controls {
    margin-top: 14px;
}

.hero-slider .hero-proof {
    margin-top: 14px;
}

.service-slide.is-active {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.service-slide h2 {
    display: block;
    box-sizing: content-box;
    min-height: 3.45em;
    padding-bottom: 0.06em;
    overflow: visible;
    line-height: 1.12;
}

.service-slide > p {
    display: -webkit-box;
    min-height: 3.44em;
    max-height: 5.16em;
    margin: 8px 0 12px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (max-width: 760px) {
    .service-slide h2 {
        min-height: 3.45em;
    }

    .service-slide > p {
        min-height: 3.44em;
    }
}

