.industries-page-shell .slider {
    --slider-gap: 24px;
    --slider-visible: 4;
    --slider-transition-duration: 350ms;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.industries-page-shell .slider:focus-visible {
    outline: 2px solid rgba(15, 118, 110, 0.8);
    outline-offset: 6px;
    border-radius: 1rem;
}

.industries-page-shell .slider__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.industries-page-shell .slider__controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
}

.industries-page-shell .industries-carousel-header {
    position: relative;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "title controls"
        "subtitle subtitle";
    align-items: end;
    gap: 0.85rem 1rem;
}

.industries-page-shell .industries-carousel-header > .slider__controls {
    grid-area: controls;
    position: static;
    top: auto;
    right: auto;
    margin: 0;
    align-self: center;
    justify-self: end;
}

.industries-page-shell .industries-carousel-header .home-section-title {
    grid-area: title;
    margin: 0;
}

.industries-page-shell .industries-carousel-header .industries-served-subtitle {
    grid-area: subtitle;
    margin: 0 auto;
    width: min(100%, 880px);
    text-align: center;
}

.industries-page-shell .slider__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #0f766e;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.industries-page-shell .slider__button:hover,
.industries-page-shell .slider__button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.18);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
    outline: none;
}

.industries-page-shell .slider__button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.industries-page-shell .slider__button svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.industries-page-shell .slider__viewport {
    overflow: visible;
    user-select: none;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding: 2px 0;
}

.industries-page-shell .slider__track {
    display: flex;
    gap: var(--slider-gap);
    width: max-content;
    will-change: transform;
    transition: transform var(--slider-transition-duration) cubic-bezier(0.22, 1, 0.36, 1);
}

.industries-page-shell .slider__slide {
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    width: var(--slide-width, auto);
}

.industries-page-shell .slider__slide[data-slider-clone="true"] {
    pointer-events: none;
}

@media (max-width: 1023px) {
    .industries-page-shell .slider {
        --slider-visible: 2;
    }
}

@media (max-width: 767px) {
    .industries-page-shell .slider {
        --slider-visible: 1;
    }

    .industries-page-shell .industries-carousel-header {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "controls"
            "subtitle";
        align-items: center;
        text-align: center;
    }

    .industries-page-shell .industries-carousel-header .home-section-title,
    .industries-page-shell .industries-carousel-header > .slider__controls,
    .industries-page-shell .industries-carousel-header .industries-served-subtitle {
        justify-self: center;
    }

    .industries-page-shell .slider__header {
        margin-bottom: 1.25rem;
    }

    .industries-page-shell .slider__controls {
        width: 100%;
        justify-content: center;
        margin-top: 0.25rem;
    }

    .industries-page-shell .slider__button {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .industries-page-shell .slider__track {
        transition-duration: 0ms;
    }

    .industries-page-shell .slider__button,
    .industries-page-shell .industry-spot {
        transition-duration: 0ms;
    }
}
