/* Section wrapper */
.np-feature-section {
    background: #050a11;       /* dark like your screenshot */
    padding: 40px 5vw 60px;
    color: #fff;
}

/* Title */
.np-feature-header {
    margin-bottom: 20px;
}

.np-feature-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

/* Slider layout */
.np-feature-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Swiper container must expand */
.np-feature-slider {
    width: 100%;
}

/* Cards */
.np-feature-card {
    height: auto;
}

.np-feature-card-link {
    display: block;
    background: #151b25;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: transform .18s ease, box-shadow .18s ease;
}



/* Image */
.np-feature-thumb img,
.np-feature-thumb-placeholder {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.np-feature-thumb-placeholder {
    background: #333;
}

/* Title */
.np-feature-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    padding: 12px 14px 16px;
    height: 60px;
}
.np-feature-card-title:hover{
    color: #fff !important;
}

/* Arrow buttons */
.np-feature-nav {
    background: #ffffff;
    color: #000;
    border: none;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.np-feature-nav span {
    font-size: 22px;
    line-height: 1;
}

.np-feature-nav:hover {
    transform: scale(1.05);
    background: #ff3b3b;
    color: #fff !important;
}

/* Position arrows just outside first & last slides on larger screens */
@media (min-width: 900px) {
    .np-feature-slider-wrap {
        padding: 0 50px;
    }

    .np-feature-prev {
        position: absolute;
        left: 0;
        top: 50%;
        /* transform: translate(-50%, -50%); */
    }

    .np-feature-next {
        position: absolute;
        right: 0;
        top: 50%;
        /* transform: translate(50%, -50%); */
    }
}

/* Mobile tweaks */
@media (max-width: 640px) {
    .np-feature-title {
        font-size: 24px;
    }
    .np-feature-thumb img,
    .np-feature-thumb-placeholder {
        height: 180px;
    }
}
