.card-style-21 {
    width: 100%;
    height: 100%;
    display: flex;
}

.container.card-style-21,
.card-style-21.container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.s21-slider-root {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.s21-slider-viewport {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
}

.s21-slider-track {
    display: grid;
    width: 100%;
    height: 100%;
}

.s21-slide {
    grid-area: 1 / 1;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease-in-out, visibility 0.45s ease-in-out;
}

    .s21-slide.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.s21-slide-content {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0;
    gap: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
}

.s21-text-col,
.s21-image-col {
    width: 100%;
    box-sizing: border-box;
    height: 100%;
}

@media (min-width: 1024px) {
    .s21-text-col,
    .s21-image-col {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

.s21-text-col {
    padding: 0 1rem;
}

.s21-image-col {
    padding: 0rem;
}

.s21-title {
    margin: 0 0 1.5rem !important;
    font-family: "PrimaryFont", sans-serif !important;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem) !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    color: #00a3e0 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.s21-description {
    font-family: "PrimaryFont", sans-serif !important;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem) !important;
    line-height: 1.55 !important;
    color: #1f1f1f !important;
}

    .s21-description p {
        margin: 0 0 0.6rem !important;
    }

.s21-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-left: auto;
    height: 100%;
    max-height: 600px;
}

.s21-image-col {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.s21-slider-track .aip-description {
    font-size: clamp(14px, 1.2vw + 0.1rem, 20px) !important;
}

.s21-image-col > a {
    display: inline-block;
width: 100%;    height: 100%;
}

.s21-dots-wrapper {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0 1rem 0rem;
}

.s21-dots {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 0;
    z-index: 999999 !important;
    margin-top: -10px;
    position: relative;
}

.s21-dot {
    width: 74px;
    height: 6px;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: #0f4f8f;
    cursor: pointer;
    opacity: 1;
    transition: background-color 0.35s ease;
}

    .s21-dot[data-active="true"] {
        background: #00a3e0;
    }

@media (max-width: 1023.98px) {
    .s21-title {
        font-size: clamp(1.4rem, 4vw, 1.8rem) !important;
        margin-bottom: 1rem !important;
    }

    .s21-dot {
        width: 56px;
    }

    .card-style-21,
    .s21-slider-root,
    .s21-slider-viewport,
    .s21-slider-track,
    .s21-slide {
        height: auto;
    }

    .s21-slider-viewport {
        flex: 0 0 auto;
    }

    .s21-slide-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        height: auto;
    }

    .s21-text-col,
    .s21-image-col {
        padding: 0 0.5rem;
        height: auto;
        flex: 0 0 auto;
        max-width: 100%;
    }

    .s21-image-col {
        justify-content: center;
        padding: 0;
    }

    .s21-image {
        height: auto;
        max-width: 100%;
        object-fit: contain;
        margin: 0 auto;
    }

    .s21-image-col > a {
        height: auto;
        width: 100%;
    }

    .s21-dots-wrapper {
        order: 3;
        padding: 2rem 1rem 0;
    }

    .s21-dots {
        justify-content: center;
        margin-top: 0;
        padding: 0;
    }

    .s21-dot {
        width: 48px;
    }
}

@media (max-width: 767.98px) {
    .s21-text-col,
    .s21-image-col {
        padding: 0 0.5rem;
    }

    .s21-image-col {
        padding: 0;
    }
}
