.elementor-kit-8{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-8 e-page-transition{background-color:#FFBC7D;}.elementor-kit-8 a{color:#BD0000;}.elementor-kit-8 h1{color:#AD0909;font-family:"Cormorant", Sans-serif;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ============================================
   GALERIE VIMONT - STYLE WIDGET POSTS ELEMENTOR
   À coller dans Apparence > Personnaliser > CSS additionnel
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --gv-rouge: #C41E3A;
    --gv-noir: #1A1A1A;
    --gv-gris: #6B6B6B;
    --gv-gris-clair: #F5F4F2;
    --gv-or: #C9A962;
}

/* ========== PAGE BLOG - HEADER ========== */
.page-template-default.page .elementor-widget-heading .elementor-heading-title,
.blog-header-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 300 !important;
    color: var(--gv-noir) !important;
}

/* ========== WIDGET POSTS ELEMENTOR ========== */

/* Container général */
.elementor-posts-container {
    gap: 2.5rem !important;
}

/* Carte article */
.elementor-posts-container .elementor-post {
    background: white;
    transition: all 0.4s ease;
    border: none !important;
    box-shadow: none;
}

.elementor-posts-container .elementor-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* Image */
.elementor-post__thumbnail {
    overflow: hidden;
    aspect-ratio: 16/10;
}

.elementor-post__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.elementor-post:hover .elementor-post__thumbnail img {
    transform: scale(1.08);
}

/* Badge catégorie sur image */
.elementor-post__badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    top: auto !important;
    right: auto !important;
    background: white !important;
    color: var(--gv-rouge) !important;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.55rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
}

/* Contenu texte */
.elementor-post__text {
    padding: 1.8rem !important;
}

/* Meta (date, auteur) */
.elementor-post__meta-data,
.elementor-post-date,
.elementor-post-author {
    font-size: 0.7rem !important;
    color: var(--gv-gris) !important;
    margin-bottom: 0.8rem !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* Titre article */
.elementor-post__title,
.elementor-post__title a {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    color: var(--gv-noir) !important;
    line-height: 1.35 !important;
    margin-bottom: 1rem !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.elementor-post__title a:hover {
    color: var(--gv-rouge) !important;
}

/* Extrait */
.elementor-post__excerpt,
.elementor-post__excerpt p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 300 !important;
    color: var(--gv-gris) !important;
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
}

/* Bouton Lire la suite */
.elementor-post__read-more,
.elementor-post__read-more a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--gv-noir) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: color 0.3s ease;
    background: none !important;
    padding: 0 !important;
}

.elementor-post__read-more:hover,
.elementor-post__read-more a:hover {
    color: var(--gv-rouge) !important;
}

.elementor-post__read-more::after,
.elementor-post__read-more a::after {
    content: '→';
}

/* ========== VARIANTE BOUTON PLEIN ========== */
/* Si tu préfères un bouton plein, utilise cette classe sur le widget */

.gv-btn-plein .elementor-post__read-more,
.gv-btn-plein .elementor-post__read-more a {
    background: var(--gv-noir) !important;
    color: white !important;
    padding: 0.8rem 1.5rem !important;
    transition: all 0.3s ease;
}

.gv-btn-plein .elementor-post__read-more:hover,
.gv-btn-plein .elementor-post__read-more a:hover {
    background: var(--gv-rouge) !important;
    color: white !important;
}

/* ========== ARTICLE À LA UNE (premier article plus grand) ========== */
/* Ajoute la classe CSS "gv-featured-first" sur ton widget Posts */

.gv-featured-first .elementor-posts-container .elementor-post:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-bottom: 3rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.gv-featured-first .elementor-post:first-child .elementor-post__thumbnail {
    aspect-ratio: 4/3;
    position: relative;
}

.gv-featured-first .elementor-post:first-child .elementor-post__thumbnail::before {
    content: 'À la une';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--gv-rouge);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 10;
}

.gv-featured-first .elementor-post:first-child .elementor-post__title,
.gv-featured-first .elementor-post:first-child .elementor-post__title a {
    font-size: 2rem !important;
}

.gv-featured-first .elementor-post:first-child .elementor-post__excerpt {
    font-size: 1rem !important;
}

.gv-featured-first .elementor-post:first-child .elementor-post__read-more {
    background: var(--gv-noir) !important;
    color: white !important;
    padding: 1rem 2rem !important;
}

.gv-featured-first .elementor-post:first-child .elementor-post__read-more:hover {
    background: var(--gv-rouge) !important;
}

/* ========== PAGINATION ========== */
.elementor-pagination {
    margin-top: 3rem !important;
    gap: 0.5rem !important;
}

.elementor-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 0.8rem !important;
    border: 1px solid #ddd !important;
    background: transparent !important;
    font-size: 0.85rem !important;
    color: var(--gv-gris) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.elementor-pagination .page-numbers:hover {
    border-color: var(--gv-rouge) !important;
    color: var(--gv-rouge) !important;
}

.elementor-pagination .page-numbers.current {
    background: var(--gv-rouge) !important;
    border-color: var(--gv-rouge) !important;
    color: white !important;
}

/* ========== SIDEBAR CATÉGORIES ========== */
.widget_categories .widget-title,
.elementor-widget-wp-widget-categories .widget-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    color: var(--gv-noir) !important;
    padding-bottom: 0.8rem !important;
    border-bottom: 2px solid var(--gv-rouge) !important;
    margin-bottom: 1.5rem !important;
}

.widget_categories ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_categories li {
    padding: 0.7rem 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}

.widget_categories li:last-child {
    border-bottom: none !important;
}

.widget_categories a {
    color: var(--gv-gris) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.3s ease;
}

.widget_categories a:hover {
    color: var(--gv-rouge) !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .gv-featured-first .elementor-posts-container .elementor-post:first-child {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .elementor-post__title,
    .elementor-post__title a {
        font-size: 1.2rem !important;
    }
    
    .gv-featured-first .elementor-post:first-child .elementor-post__title,
    .gv-featured-first .elementor-post:first-child .elementor-post__title a {
        font-size: 1.5rem !important;
    }
}/* End custom CSS */