.features-slider-section {
    overflow: hidden;
    padding: 0 20px;
}

.features-slider__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    position: relative;
    max-width: 1248px;
    margin-left: auto;
    margin-right: auto;
}

.features-slider__slide:first-child {
    margin-left: calc((100vw - 1288px) / 2);
}

@media (max-width: 1288px) {
    .features-slider__slide:first-child {
        margin-left: 0px;
    }
}

.features-slider__heading {
    padding-right: 162px;

    @media (max-width: 768px) {
        padding-right: 0;
    }
}

.features-slider__heading .highlight {
    background-color: #FDB835;
    padding: 12px 6px 0;
    display: inline-block;
    line-height: 0.7;
}

.features-slider__nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    position: absolute;
    width: 150px;
    height: 50px;
    right: 0;
    bottom: 0;
}

.features-slider__nav .btn {
    position: static !important;
    margin: 0 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 6px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.features-slider__nav .btn::after {
    display: none !important;
    /* Hide default Swiper arrow icons if pseudo-elements are used */
}

.features-slider__nav .btn.swiper-button-disabled {
    opacity: 0.36;
    pointer-events: none;
    background: transparent !important;
    border: none !important;
}

/* Swiper container adjustments */
.features-slider {
    /* Allow slides to overflow naturally if needed, but wrapper handles it */
    padding-bottom: 3px;
    /* Allow for borders/shadows if any */
}

.features-slider__slide {
    width: 506px;
    height: 456px;
    /* Space between is handled by swiper config generally, but margin-right can be fallback */
}

.features-slider__card {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 24px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-sizing: border-box;
    aspect-ratio: 50 / 45;
}

.features-slider__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    /* Ensure bg follows radius explicitly if needed, via overflow hidden on parent mostly */
    transition: transform 0.4s ease;
    z-index: 0;
}

.features-slider__card:hover .features-slider__image {
    transform: scale(1.05);
}

.features-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58.225%, rgba(0, 0, 0, 0.75) 100%);
    border-radius: 12px;
    z-index: 1;
    pointer-events: none;
}

.features-slider__content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;

    @media (max-width: 768px) {
        justify-content: space-between;
        align-items: flex-start;
        height: 100%;
        flex-direction: column;
    }
}

.features-slider__title {
    margin: 0 !important;
    padding-right: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-slider__slide {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .features-slider-section {
        padding: 0px 20px;
    }

    .features-slider__header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 48px;
    }

    .features-slider__nav {
        display: none;
    }

    .features-slider__slide {
        width: 100%;
        /* Full width */
        height: 400px;
    }

    .features-slider__heading .highlight {
        padding-top: 6px;
    }

    .features-slider__overlay {
        background: rgba(0, 0, 0, 0.2);
    }

    .features-slider__content .btn {
        height: var(--btn-height-sm);
        padding: 0 10px;
        font-size: var(--font-size-sm);
        font-weight: var(--font-weight-bold);
        letter-spacing: var(--letter-spacing-wider);
    }
}