.swl-block {
    width: 100%;
}

.swl-block .swl-slider {
    position: relative;
    width: 100%;
}

.swl-block .swl-bg {
    position: relative;
    width: 100%;
    min-height: min(52vw, 620px);
    aspect-ratio: 1440 / 560;
    background-color: var(--color-grey-section);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.swl-block .swl-overlay-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.swl-block .swl-overlay-wrap .container {
    pointer-events: none;
}

.swl-block .swl-panel {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    pointer-events: auto;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
}

.swl-block .swl-left {
    flex: 0 0 40%;
    max-width: 520px;
    background-color: var(--color-white);
    padding: clamp(20px, 3vw, 36px) clamp(18px, 2.5vw, 32px) clamp(18px, 2.5vw, 28px);
    display: flex;
    flex-direction: column;
    min-height: clamp(220px, 28vw, 320px);
}

.swl-block .swl-left-slides {
    position: relative;
    flex: 1 1 auto;
}

.swl-block .swl-left-chunk {
    display: none;
}

.swl-block .swl-left-chunk.is-active {
    display: block;
    animation: swlFade 0.35s ease-in-out;
}

.swl-block .swl-title {
    margin: 0 0 var(--margin-2);
    color: var(--color-headings);
    font-family: "Outfit", sans-serif;
    font-size: clamp(17px, 1.6vw, 22px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.swl-block .swl-description {
    margin: 0;
    color: var(--color-text);
    font-family: "Roboto", sans-serif;
    font-size: clamp(14px, 1.15vw, 16px);
    font-weight: 300;
    line-height: 1.55;
}

.swl-block .swl-pager {
    flex-shrink: 0;
    margin-top: var(--margin-2);
    gap: 13.5px;
}

.swl-block .swl-counter {
    color: var(--color-headings);
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 300;
    min-width: 40px;
    text-align: center;
    line-height: 1;
}

.swl-block .swl-prev,
.swl-block .swl-next {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background-color: var(--color-accent);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.25s ease, transform 0.2s ease;
    line-height: 1;
    flex-shrink: 0;
}

.swl-block .swl-prev:hover,
.swl-block .swl-next:hover {
    background-color: var(--color-btn-hover);
}

.swl-block .swl-prev::before,
.swl-block .swl-next::before {
    font-family: "hansa-flex-icons";
    font-size: 14px;
    line-height: 1;
    color: inherit;
}

.swl-block .swl-prev::before {
    content: "\f17f";
}

.swl-block .swl-next::before {
    content: "\f180";
}

.swl-block .swl-right {
    flex: 1 1 auto;
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 40px);
    min-width: 0;
}

.swl-block .swl-right-slides {
    position: relative;
    height: 100%;
}

.swl-block .swl-right-chunk {
    display: none;
}

.swl-block .swl-right-chunk.is-active {
    display: block;
    animation: swlFade 0.35s ease-in-out;
}

@keyframes swlFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.swl-block .swl-intro {
    margin: 0 0 var(--margin-2);
    font-family: "Roboto", sans-serif;
    font-size: clamp(14px, 1.15vw, 16px);
    font-weight: 300;
    line-height: 1.55;
    color: var(--color-white);
}

.swl-block .swl-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.swl-block .swl-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.85em;
    font-family: "Roboto", sans-serif;
    font-size: clamp(14px, 1.15vw, 16px);
    font-weight: 300;
    line-height: 1.45;
    color: var(--color-white);
}

.swl-block .swl-list li:last-child {
    margin-bottom: 0;
}

.swl-block .swl-list li::before {
    font-family: "hansa-flex-icons";
    font-style: normal;
    font-weight: normal;
    position: absolute;
    left: 0;
    top: 0.15em;
    font-size: 1rem;
    line-height: 1;
    color: var(--color-white);
    content: "\f10f";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 900px) {
    .swl-block .swl-bg {
        aspect-ratio: auto;
        min-height: 280px;
    }

    .swl-block .swl-panel {
        flex-direction: column;
    }

    .swl-block .swl-left {
        flex: 1 1 auto;
        max-width: none;
        min-height: 0;
    }

    .swl-block .swl-pager {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .swl-block .swl-bg {
        min-height: 220px;
    }
}
