/* === Mini‑slider des derniers articles – version enrichie === */
.tv-latest-articles {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 0;
    font-family: 'Inter Tight', sans-serif;
}

/* En-tête */
.tv-latest-articles__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
}

.tv-latest-articles__title {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    color: #332822;
    margin: 0;
    letter-spacing: -0.02em;
}

.tv-latest-articles__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tv-latest-articles__arrows {
    display: flex;
    gap: 8px;
}

.tv-latest-articles__arrow {
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #332822;
    transition: all 0.2s ease;
}
.tv-latest-articles__arrow:hover {
    background: rgba(0,0,0,0.08);
    color: #D97A35;
    border-color: rgba(0,0,0,0.12);
}

/* Piste défilable */
.tv-latest-articles__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
}
.tv-latest-articles__track::-webkit-scrollbar {
    display: none;
}

/* Carte */
.tv-latest-articles__card {
    flex: 0 0 280px;
    max-width: 280px;
    height: 360px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
    background: transparent;
}
.tv-latest-articles__card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.tv-latest-articles__card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    position: relative;
}

/* Image */
.tv-latest-articles__card-image {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    width: 100% !important;
}
.tv-latest-articles__card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease;
}
.tv-latest-articles__card:hover .tv-latest-articles__card-image img {
    transform: scale(1.05);
}

/* Badge catégorie (droite) */
.tv-latest-articles__card-category {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    z-index: 3;
}

/* Badge Nouveau (gauche) */
.tv-latest-articles__card-new {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #D97A35;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    z-index: 3;
}

/* Contenu superposé en bas */
.tv-latest-articles__card-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 20px 16px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%) !important;
    z-index: 2 !important;
    color: #fff !important;
}

/* Texte blanc */
.tv-latest-articles__card-title,
.tv-latest-articles__card-excerpt,
.tv-latest-articles__card-meta,
.tv-latest-articles__card-date,
.tv-latest-articles__card-reading {
    color: #fff !important;
}

.tv-latest-articles__card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tv-latest-articles__card-excerpt {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
    color: #fff !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tv-latest-articles__card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #fff !important;
    opacity: 0.8;
    margin-top: 4px;
}

/* Lien "Voir tous les articles" centré au‑dessus des dots */
.tv-latest-articles__blog-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #8A7B72;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 12px;
    transition: color 0.2s ease;
}
.tv-latest-articles__blog-link:hover {
    color: #D97A35;
}
.tv-latest-articles__blog-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Dots */
.tv-latest-articles__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}
.tv-latest-articles__dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    transition: background 0.2s ease, width 0.2s ease;
    cursor: pointer;
}
.tv-latest-articles__dots .dot.active {
    width: 20px;
    border-radius: 10px;
    background: #D97A35;
}

/* Responsive */
@media (max-width: 768px) {
    .tv-latest-articles__card {
        flex: 0 0 240px;
        max-width: 240px;
        height: 320px;
    }
    .tv-latest-articles__blog-link {
        font-size: 0.8rem;
        margin-top: 20px;
    }
}
@media (max-width: 767px) {
    .tv-latest-articles__card-new {
        display: none;
    }
}
@media (max-width: 767px) {
    .tv-latest-articles__header {
        justify-content: center;
    }
    .tv-latest-articles__actions {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .tv-latest-articles__arrows {
        display: none !important;
    }
    .tv-latest-articles__actions {
    display: none;
}
}
