.ftl-ns-wrapper,
.ftl-ns-wrapper.swiper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    border-radius: 0;
    height: var(--ftl-ns-height, 520px);
}

@media (max-width: 768px) {
    .ftl-ns-wrapper,
    .ftl-ns-wrapper.swiper {
        height: calc(var(--ftl-ns-height, 520px) * 0.65);
        min-height: 280px;
    }
}

.ftl-ns-slide {
    height: var(--ftl-ns-height, 520px);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .ftl-ns-slide {
        height: calc(var(--ftl-ns-height, 520px) * 0.65);
        min-height: 280px;
    }
}

.ftl-ns-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Immagine come sfondo full-cover */
.ftl-ns-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: var(--ftl-ns-height, 520px) !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    border-radius: 0 !important;
}

@media (max-width: 768px) {
    .ftl-ns-img {
        height: calc(var(--ftl-ns-height, 520px) * 0.65) !important;
        min-height: 280px !important;
    }
}

.ftl-ns-slide-link:hover .ftl-ns-img {
    transform: scale(1.03);
}

.ftl-ns-bg--fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a2a4a 0%, #2d4a7a 100%);
}

/* Gradient overlay */
.ftl-ns-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0.10) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Text content */
.ftl-ns-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 36px;
    z-index: 2;
}

@media (max-width: 768px) {
    .ftl-ns-content {
        padding: 20px 20px 52px;
    }
}

/* Meta row: data + categoria */
.ftl-ns-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.ftl-ns-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.70);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.ftl-ns-cat {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.30);
    padding: 3px 10px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
}

/* Titolo */
.ftl-ns-title {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 10px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Excerpt */
.ftl-ns-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 600px;
}

/* Navigation bar */
.ftl-ns-nav {
    position: absolute;
    bottom: 20px;
    right: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .ftl-ns-nav {
        bottom: 14px;
        right: 16px;
    }
}

/* Dots pagination */
.ftl-ns-pagination {
    display: flex;
    gap: 6px;
    align-items: center;
}

.ftl-ns-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    margin: 0 !important;
}

.ftl-ns-pagination .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.4);
}

/* Frecce */
.ftl-ns-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
    padding: 8px;
    line-height: 1;
    flex-shrink: 0;
    box-sizing: border-box;
}

.ftl-ns-btn:hover {
    background: rgba(0, 0, 0, 0.50);
    border-color: rgba(255, 255, 255, 0.65);
}

.ftl-ns-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

/* Messaggio nessun articolo */
.ftl-ns-empty {
    padding: 20px;
    background: #f8f8f8;
    border-left: 3px solid #ccc;
    border-radius: 4px;
    color: #555;
}
