/* =====================================================
   Slider reset
===================================================== */

.kh-audience-slider-wrapper,
.kh-audience-slider-wrapper * {
    box-sizing: border-box;
}

.kh-audience-slider-wrapper {
    width: 100%;
    min-width: 0;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
}


/* =====================================================
   Slider clipping
===================================================== */

.kh-audience-slider-viewport {
    width: 100%;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.kh-audience-swiper {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.kh-audience-swiper .swiper-wrapper {
    display: flex;
    align-items: flex-start;
}

.kh-audience-swiper .swiper-slide {
    width: auto;
    height: auto;
    flex-shrink: 0;
}


/* =====================================================
   Cards
===================================================== */

.kh-audience-card {
    width: 100%;
    height: 100%;
    margin: 0;
    text-align: center;
}

.kh-audience-image {
    width: 100%;
    height: 345px;
    overflow: hidden;
    border-radius: 24px;
    background-color: #dddddd;
}

.kh-audience-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.kh-audience-card:hover .kh-audience-image img {
    transform: scale(1.03);
}

.kh-audience-card h3 {
    width: 100%;
    min-height: 44px;
    margin: 18px 0 0;
    padding: 0 6px;
    color: #171717;
    font-size: 16px !important;
    line-height: 1.35;
    font-weight: 400;
}


/* =====================================================
   Navigation
===================================================== */

.kh-audience-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 34px;
}

.kh-audience-arrow {
    width: 54px;
    height: 54px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #171717;
    border-radius: 50%;
    background: transparent;
    color: #171717;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        opacity 0.25s ease;
}

.kh-audience-arrow svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kh-audience-arrow:hover {
    background-color: #6e3cff;
    border-color: #6e3cff;
    color: #ffffff;
}

.kh-audience-arrow:focus-visible {
    outline: 2px solid #6e3cff;
    outline-offset: 3px;
}

.kh-audience-arrow.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* =====================================================
   Laptop
===================================================== */

@media screen and (max-width: 1199px) {
    .kh-audience-image {
        height: 320px;
        border-radius: 20px;
    }
}


/* =====================================================
   Tablet
===================================================== */

@media screen and (max-width: 991px) {
    .kh-audience-image {
        height: 360px;
    }

    .kh-audience-navigation {
        justify-content: flex-start;
        margin-top: 28px;
    }
}


/* =====================================================
   Mobile
===================================================== */

@media screen and (max-width: 767px) {
    .kh-audience-image {
        height: 410px;
        border-radius: 20px;
    }

    .kh-audience-card h3 {
        min-height: 0;
        margin-top: 15px;
        font-size: 16px;
    }

    .kh-audience-arrow {
        width: 48px;
        height: 48px;
    }
}


/* =====================================================
   Small mobile
===================================================== */

@media screen and (max-width: 480px) {
    .kh-audience-image {
        height: 360px;
    }
}