/* =============================================================================
   0. GLOBAL VARIABLES
   ============================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&family=Poppins:wght@400;500;600;700&family=Montserrat:wght@500;600;700&display=swap');

:root {
    --text-dark: #002855;
    --text-grey: #4B5563;
    --accent-gold: #C5BA90;
    --primary-blue: #3642B8;
    --border-color: #E5E7EB;
    --ngd-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   1. [nouveautes_grid] -  SPLIT LAYOUT
   ============================================================================= */

/* =============================================================================
   NOUVEAU LAYOUT MODERNE - Inspiré de votre screenshot
   Couleurs de charte préservées
   ============================================================================= */

.elementor-137 .elementor-element.elementor-element-5f4ce6f>.elementor-widget-container, .elementor-137 .elementor-element.elementor-element-28db234>.elementor-widget-container, .elementor-137 .elementor-element.elementor-element-1a14ed8>.elementor-widget-container, .elementor-137 .elementor-element.elementor-element-7dfac23>.elementor-widget-container, .elementor-137 .elementor-element.elementor-element-7cb7494>.elementor-widget-container, .elementor-137 .elementor-element.elementor-element-584dbda>.elementor-widget-container {
    padding: 0 !important;
}

.ngd-modern-layout {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    font-family: 'Poppins', sans-serif;
}

/* ===== GRID LAYOUT - Grande carte + 3 petites ===== */
.ngd-layout-grid {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
}

.ngd-featured-post-v3 {
    background: #fff;
    transition: all 0.3s ease;
}

.ngd-featured-link-v3 {
    text-decoration: none;
    display: block;
}

.ngd-featured-image-v3 {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    /* border-radius: 8px; */
    background: #000;
}

.ngd-featured-image-v3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ngd-featured-post-v3:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}


.ngd-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    opacity: 0.9;

}

.ngd-featured-post-v3:hover .ngd-play-overlay {
    background: #C5BA90;
    /* Couleur Or au hover */
    border-color: #C5BA90;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Contenu Featured (Sous l'image) */
.ngd-featured-content-v3 {
    padding: 20px 20px;
}

/* ===== FEATURED POST - Grande carte à gauche ===== */
/* ===== FEATURED POST - Grande carte à gauche ===== */
.ngd-featured-post {
    background: transparent;
    border-radius: 0;
    /* Style journal : souvent bords droits ou légers */
    overflow: hidden;
    height: auto;
    /* On laisse le contenu définir la hauteur */
    box-shadow: none;
    transition: none;
}

.ngd-featured-post:hover {
    transform: none;
    box-shadow: none;
}

.ngd-featured-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    /* Optionnel selon votre design */
}

.ngd-featured-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ngd-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.ngd-play-button svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

.ngd-featured-external-content {
    padding: 15px 0;
    text-align: left;
}

.ngd-featured-category-label {
    display: block;
    color: #C5BA90;
    /* Rouge sport */
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.ngd-featured-title-external {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin: 0 0 12px 0;
    transition: color 0.2s;
}

.ngd-featured-link:hover .ngd-featured-title-external {
    color: #C5BA90;
}

.ngd-featured-meta-external {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ngd-comments-count {
    color: #3642B8;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Ajustement Responsive */
@media (max-width: 768px) {
    .aog-view-all-btn {
        margin-bottom: 20px;
    }

    .ngd-featured-title-external {
        font-size: 24px;
    }

    .ngd-featured-post-v3 {
        display: none !important;
    }

    .ngd-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 0px !important;
    }

    .elementor-137 .elementor-element.elementor-element-68b8449>.elementor-widget-container {
        padding: 0 !important;
    }

    .ngd-modern-layout {
        margin: 10px auto !important;
        padding: 0 !important;

    }

    .ngd-posts-list {
        gap: 10px !important;
    }
}


.ngd-featured-link {
    display: block;
    height: 100%;
    text-decoration: none;
    position: relative;
}

/* Image de fond */
.ngd-featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ngd-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ngd-featured-post:hover .ngd-featured-image img {
    transform: scale(1.08);
}

/* Overlay gradient - TOUJOURS VISIBLE */
.ngd-featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
    opacity: 1;
    /* Changé de 0 à 1 */
}

.ngd-featured-post:hover .ngd-featured-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.5) 60%,
            rgba(0, 0, 0, 0.9) 100%);
}

/* Contenu superposé - TOUJOURS VISIBLE */
.ngd-featured-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 1;
    /* Changé de 0 à 1 */
    transform: translateY(0);
    /* Changé de translateY(20px) à 0 */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Badge catégorie */
.ngd-featured-badge {
    display: inline-block;
    background: #C5BA90;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    width: fit-content;
}

/* Date avec icône et background - TOUJOURS VISIBLE */
.ngd-featured-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(54, 66, 184, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 50px;
    margin-bottom: 15px;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(54, 66, 184, 0.3);
}

.ngd-featured-date svg {
    flex-shrink: 0;
}

/* Titre featured - TOUJOURS VISIBLE */
.ngd-featured-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin: 0 0 15px 0;
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
    /* overflow: hidden; */
}

/* Description featured - TOUJOURS VISIBLE */
.ngd-featured-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Bouton lire - Apparaît au hover */
.ngd-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.ngd-featured-post:hover .ngd-featured-btn {
    opacity: 1;
    transform: translateY(0);
    gap: 16px;
}

.ngd-featured-btn svg {
    transition: transform 0.3s ease;
}

.ngd-featured-post:hover .ngd-featured-btn svg {
    transform: translateX(4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .ngd-featured-post {
        height: 450px;
    }

    .ngd-featured-content {
        padding: 25px;
    }

    .ngd-featured-title {
        font-size: 26px;
    }

    .ngd-featured-desc {
        font-size: 15px;
    }

    .ngd-featured-date {
        font-size: 13px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .ngd-featured-post {
        height: 400px;
    }

    .ngd-featured-content {
        padding: 20px;
    }

    .ngd-featured-date {
        font-size: 12px;
        padding: 7px 14px;
    }

    .ngd-featured-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .ngd-featured-title {
        font-size: 22px;
    }

    .ngd-featured-desc {
        font-size: 14px;
    }
}

/* ===== LISTE DES POSTS - 3 cartes à droite ===== */
.ngd-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ngd-list-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.ngd-list-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: #C5BA90;
}

.ngd-list-link {
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 15px;
    text-decoration: none;

}

/* Image liste - PLUS GRANDE */
.ngd-list-image {
    width: 120px;
    height: 85px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;

}

.ngd-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ngd-list-card:hover .ngd-list-image img {
    transform: scale(1.08);
}

/* Contenu liste */
.ngd-list-content {
    flex: 1;

}

/* Meta (date + catégorie) */
.ngd-list-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ngd-list-date {
    font-size: 11px;
    font-weight: 700;
    color: #C5BA90;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.ngd-list-date svg {
    flex-shrink: 0;
    stroke: #3642B8;
    width: 14px;
    height: 14px;
}

.ngd-list-category {
    background: rgba(197, 186, 144, 0.12);
    color: #C5BA90;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}

/* Titre liste */
.ngd-list-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
    margin: 0;
}

.ngd-list-card:hover .ngd-list-title {
    color: #3642B8;
}

/* Description liste */
.ngd-list-desc {
    font-size: 13px;
    color: #9CA3AF;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Flèche - positionnée en bas à droite */
.ngd-list-arrow {
    color: #ddd;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ngd-list-card:hover .ngd-list-arrow {
    color: #C5BA90;
    transform: translateX(3px);
}

/* ===== BOUTON VOIR TOUS ===== */
.ngd-view-all-wrapper {

    margin-top: 25px;
    display: flex;
}

.ngd-view-all-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 35px !important;
    background-color: #C5BA90 !important;
    /* Couleur Or --ctg-gold */
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    font-family: 'Montserrat', sans-serif !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.ngd-view-all-button i {
    font-size: 20px !important;
    line-height: 1 !important;
    transition: transform 0.3s ease !important;
}

.ngd-view-all-button:hover {
    background-color: #C5BA90;
    border-color: #D1D1D1;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.ngd-view-all-button:hover i {
    transform: translateX(5px) !important;
}


/* ===== ANIMATIONS ===== */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ngd-featured-post {
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ngd-list-card {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 1 !important;
    /* Ensure they are visible immediately */
    transform: none !important;
}

.ngd-meta-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Space between badge and date */
    margin-bottom: 12px;
}

.ngd-list-card:nth-child(1) {
    animation-delay: 0.1s;
}

.ngd-list-card:nth-child(2) {
    animation-delay: 0.2s;
}

.ngd-list-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .ngd-layout-grid {
        grid-template-columns: 1fr !important;
    }

    .ngd-featured-post {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .ngd-list-card {
        margin-top: 35px;
    }

    .ngd-modern-layout {
        margin: 40px auto;
        padding: 0 20px;
    }

    .ngd-layout-grid {
        gap: 25px;
    }

    .ngd-featured-post {
        height: 450px;
    }

    .ngd-featured-content {
        padding: 25px;
    }

    .ngd-featured-title {
        font-size: 26px;
    }

    .ngd-featured-desc {
        font-size: 15px;
    }

    .ngd-featured-date {
        font-size: 13px;
        padding: 8px 16px;
    }

    .ngd-list-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .ngd-list-image {
        width: 100%;
        height: 180px;
    }

    .ngd-list-arrow {
        position: absolute;
        bottom: 18px;
        right: 18px;
    }

    .ngd-view-all-button {
        width: 100%;
        justify-content: center;
    }

    .ngd-view-all-wrapper {
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .ngd-featured-post {
        height: 400px;
    }

    .ngd-featured-content {
        padding: 20px;
    }

    .ngd-featured-date {
        font-size: 12px;
        padding: 7px 14px;
    }

    .ngd-featured-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .ngd-featured-title {
        font-size: 22px;
    }

    .ngd-featured-desc {
        font-size: 14px;
    }

    .ngd-list-title {
        font-size: 16px;
    }

    .ngd-list-desc {
        font-size: 13px;
    }
}

/* ------ */

/* Animations d'entrée */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ngd-left-item {
    animation: fadeInScale 0.6s ease forwards;
}

.ngd-right-item {
    animation: slideInRight 0.5s ease forwards;
    opacity: 0;
}

.ngd-right-item:nth-child(1) {
    animation-delay: 0.1s;
}

.ngd-right-item:nth-child(2) {
    animation-delay: 0.2s;
}

.ngd-right-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ngd-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ngd-left-item {
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .ngd-container {
        margin: 35px auto;
        padding: 0 15px;
    }

    .ngd-header {
        justify-content: center;
        margin-bottom: 25px;
    }

    .ngd-view-all-btn {
        width: 100%;
        justify-content: center;
    }

    .ngd-right-item {
        flex-direction: column;
        padding: 12px;
    }

    .ngd-right-item-image-link {
        width: 100%;
        height: 200px;
    }

    .ngd-left-item {
        min-height: 350px;
    }

    .ngd-title {
        font-size: 17px;
    }

    .ngd-description-short {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .ngd-title {
        font-size: 16px;
    }

    .ngd-description-short {
        font-size: 13px;
    }

    .ngd-date {
        font-size: 11px;
    }

    .ngd-view-all-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* =============================================================================
   2. [ngd_latest_news] - MODERN SLIDER
   ============================================================================= */
.ngd-slider-section {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ngd-slider-container {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ngd-slider-container::-webkit-scrollbar {
    display: none;
}

.ngd-slider-track {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

/* Entrance Animation */
@keyframes ngdReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ngd-slider-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 300px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
    transition: var(--ngd-transition);
    opacity: 0;
    animation: ngdReveal 0.8s var(--delay) forwards;
}

.ngd-slider-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

/* Image & Overlay */
.ngd-card-image {
    position: relative;
    height: 220px;
    border-radius: 25px;
    overflow: hidden;
    margin: 10px;
}

.ngd-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.ngd-slider-card:hover .ngd-card-image img {
    transform: scale(1.1);
}

.ngd-slider-card:hover .aog-view-all-btn {
    padding: 10px;
    background: #C5BA90;
    border-radius: 30px;
    color: #fff;
}

.ngd-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #c5ba907d;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--ngd-transition);
}

.ngd-overlay-btn {
    background: #fff;
    color: #C5BA90;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    transform: translateY(20px);
    transition: var(--ngd-transition);
}

.ngd-slider-card:hover .ngd-card-overlay {
    opacity: 1;
}

.ngd-slider-card:hover .ngd-overlay-btn {
    transform: translateY(0);
}

/* Glass Date */
.ngd-glass-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px;
    border-radius: 12px;
    color: #fff;
    text-align: center;
    min-width: 50px;
}

.ngd-glass-date .day {
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.ngd-glass-date .month {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Category Badge */
.ngd-cat-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #C5BA90;
}

.ngd-cat-badge:hover {
    color: #273348;
    font-weight: bold;
}

.cat-icon {
    width: 12px;
    height: 12px;
}

/* Body Content */
.ngd-card-body {
    padding: 15px 25px 25px 25px;
    text-align: center;
}

.ngd-badge-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #C5BA90;
    margin-bottom: 10px;
}

.ngd-card-title {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 12px;
    height: 50px;
    line-height: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ngd-card-excerpt {
    font-size: 14px;
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 20px;
    height: 70px;
    overflow: hidden;
}

/* Footer & Arrow */
.ngd-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.ngd-read-more {
    padding: 10px 25px;
    border: 1px solid var(--accent-gold);
    border-radius: 30px;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
    text-decoration: none;
}

.ngd-read-more:hover {
    background: var(--accent-gold);
    color: #fff;
}

.ngd-arrow-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C5BA90;
    transition: 0.3s;
}

.ngd-slider-card:hover .ngd-arrow-circle {
    background: #C5BA90;
    color: #fff;
    transform: rotate(-45deg);
}

/* Navigation */
.ngd-slider-footer-nav {
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    /* Increased gap to match reference */
}

.ngd-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #CBD5E1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748B;
    background: transparent;
    transition: all 0.3s ease;
    padding: 0;
    font-size: 0.9rem;
    /* Adjusted for FontAwesome icons */
    line-height: 1;
    outline: none;
}

.ngd-nav-btn:hover,
.ngd-nav-btn:focus {
    background-color: #C5BA90 !important;
    border-color: #C5BA90 !important;
    color: #FFFFFF;

}

.ngd-slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ngd-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background-color: #CBD5E1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ngd-dot.active {
    width: 1rem;
    height: 0.6rem;
    border-radius: 10px;
    background-color: var(--accent-gold);
    transform: scale(1.1);
}

/* View All Button */
.ngd-view-all-btn {
    padding: 12px 40px;
    border: 1px solid var(--accent-gold);
    border-radius: 30px;
    /* color: var(--text-dark); */
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.ngd-view-all-btn:hover {
    background-color: var(--accent-gold);
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .ngd-slider-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .ngd-grid {
        grid-template-columns: 1fr;
    }

    .ngd-right-item {
        flex-direction: column;
    }

    .ngd-slider-card {
        flex: 0 0 100%;
    }
}

.ngd-featured-cat-v3 {
    display: inline-block;
    background-color: var(--accent-gold);
    /* Gold color from your root */
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.ngd-featured-date-v3 {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.ngd-featured-title-v3 {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin: 0;
}

.ngd-featured-post-v3:hover .ngd-featured-title-v3 {
    color: #C5BA90;
}

.ngd-featured-meta-v3 {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    font-weight: 600;

    color: #888;
    text-transform: uppercase;
}

.ngd-featured-date-v3 i {
    color: var(--accent-gold);
    margin-right: 6px;
}


@media (max-width: 1024px) {
    .ngd-layout-grid {
        grid-template-columns: 1fr;
    }

    .ngd-featured-title-v3 {
        font-size: 26px;
    }
}

/* Style spécifique pour les images de publications dans le shortcode [nouveautes_grid] */

/* 1. Pour la grande image à la une */
.ngd-featured-image-v3.is-publication {
    background-color: #fff;
    /* Fond léger pour les visuels 3D */
}

.ngd-featured-image-v3.is-publication img {
    object-fit: contain !important;
    /* Ne coupe pas l'image */
    padding: 10px;
    /* Donne un peu d'espace autour du livre/rapport */
}

/* 2. Pour les petites images de la liste à droite */
.ngd-list-image.is-publication {
    background-color: #fff;
}

.ngd-list-image.is-publication img {
    object-fit: contain !important;
    padding: 5px;
}

/* Optionnel : Ajustement pour mobile si les images 3D paraissent trop petites */
@media (max-width: 768px) {
    .ngd-list-image.is-publication {
        height: 150px;
        /* On augmente un peu la hauteur sur mobile pour la visibilité */
    }
}