/* =========================================================
   Industries Carousel Block
   ========================================================= */

.industries-carousel {
    background-color: #000;
    padding: 100px 0;
}

.industries-carousel__heading {
    text-align: center;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 44px;
}

/* ---- Stage: positions slider + arrow buttons ---- */

.industries-carousel__stage {
    display: flex;
    align-items: center;
    gap: 16px;
}

.industries-carousel__slider {
    flex: 1;
    min-width: 0;
}

/* ---- Slide card ---- */

.industries-carousel__card {
    display: block;
    text-decoration: none;
    color: inherit;
    outline-offset: 3px;
}

.industries-carousel__card:hover .industries-carousel__image img {
    transform: scale(1.05);
}

.industries-carousel__image {
    position: relative;
    overflow: hidden;
    flex: 1;
    background-color: #222;
}

.industries-carousel__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.industries-carousel__label {
    background: #fff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.industries-carousel__title {
    font-size: 16px;
    /*font-weight: 900;*/
    text-transform: uppercase;
    color: #000;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.industries-carousel__arrow {
    color: #c0312b;
    font-weight: 900;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---- Slick overrides: gap between slides + equal height ---- */

.industries-carousel .slick-list {
    margin: 0 -12.5px;
}

.industries-carousel .slick-track {
    display: flex;
    align-items: stretch;
}

.industries-carousel .slick-slide {
    height: auto;
    display: flex !important;
    flex-direction: column;
    padding: 0 12.5px;
}

.industries-carousel .slick-slide > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.industries-carousel__slide {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.industries-carousel__card {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 230px;
    max-height: 230px;
}


/* ---- Navigation arrows ---- */

.industries-carousel__nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(20, 20, 20, 0.85);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
    line-height: 1;
    position: relative; /* prevent .slick-arrow global styles from pulling button out of flex flow */
}

.industries-carousel__nav:hover {
    background: rgba(60, 60, 60, 0.95);
}

.industries-carousel__nav span {
    color: #fff;
    font-size: 30px;
    line-height: 1;
    display: block;
    margin-top: -2px;
}

/* ---- CTA ---- */

.industries-carousel__cta-wrap {
    text-align: center;
    margin-top: 44px;
}

.industries-carousel__cta {
    display: inline-block;
    background-color: #e4212e;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 30px;
    transition: background-color 0.2s ease;
}

.industries-carousel__cta:hover {
    background-color: #9d000a;
    color: #fff;
    text-decoration: none;
}

/* ---- Responsive ---- */

@media (max-width: 1199px) {
    .industries-carousel__card {
        min-height: 210px;
        max-height: 210px;
    }
}

@media (max-width: 1024px) {
    .industries-carousel__card {
        min-height: 220px;
        max-height: 220px;
    }
}

@media (max-width: 991px) {
    .industries-carousel__card {
        min-height: 180px;
        max-height: 180px;
    }

    .industries-carousel__title {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .industries-carousel {
        padding: 40px 0;
    }

    .industries-carousel__heading {
        margin-bottom: 28px;
        padding: 0 16px;
    }

    .industries-carousel__nav {
        width: 36px;
        height: 36px;
    }

    .industries-carousel__nav span {
        font-size: 24px;
    }
}
