/* ═══════════════════════════════════════════════════════════════
   SAINT-MARKAND — STYLES PAGE BLOG
   Couleurs : Vert #2ecc8e | Dark #0d1f2d | Card #142637
   ═══════════════════════════════════════════════════════════════ */

/* ── SECTION HERO BLOG ───────────────────────────────────────── */
.smb-hero {
    background-color: #0d1f2d;
    padding: 80px 40px;
    text-align: center;
}
.smb-hero .smb-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #2ecc8e;
    margin-bottom: 14px;
    display: block;
}
.smb-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.15;
}
.smb-hero .smb-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── FILTRES CATEGORIES ──────────────────────────────────────── */
.smb-filters {
    background-color: #0a1820;
    padding: 18px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.smb-filters .smb-filter-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 6px;
}
.smb-filters a,
.smb-filters span {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-block;
}
.smb-filters a:hover,
.smb-filters a.active {
    background: #2ecc8e;
    color: #0d1f2d;
    border-color: #2ecc8e;
    font-weight: 700;
}

/* ── SECTION LABEL ───────────────────────────────────────────── */
.smb-section-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #2ecc8e !important;
}

/* ── WIDGET POSTS ELEMENTOR — OVERRIDE COMPLET ──────────────── */

/* Chaque card article */
.smb-posts-section .elementor-post {
    background: #142637 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
}
.smb-posts-section .elementor-post:hover {
    transform: translateY(-3px);
    border-color: rgba(46,204,142,0.35) !important;
}

/* Image */
.smb-posts-section .elementor-post__thumbnail img {
    height: 160px !important;
    width: 100% !important;
    object-fit: cover !important;
}

/* Badge categorie */
.smb-posts-section .elementor-post__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(46,204,142,0.92) !important;
    color: #0d1f2d !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}

/* Corps card */
.smb-posts-section .elementor-post__text {
    padding: 16px !important;
    background: #142637 !important;
}

/* Date / meta */
.smb-posts-section .elementor-post-date,
.smb-posts-section .elementor-post__meta-data,
.smb-posts-section .elementor-post__byline {
    font-size: 11px !important;
    color: rgba(255,255,255,0.35) !important;
}

/* Titre */
.smb-posts-section .elementor-post__title a {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}
.smb-posts-section .elementor-post__title a:hover {
    color: #2ecc8e !important;
}

/* Extrait */
.smb-posts-section .elementor-post__excerpt p {
    font-size: 12px !important;
    color: rgba(255,255,255,0.5) !important;
    line-height: 1.55 !important;
}

/* Lien lire la suite */
.smb-posts-section .elementor-post__read-more {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #2ecc8e !important;
    text-decoration: none !important;
}

/* Pagination */
.smb-posts-section .elementor-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
}
.smb-posts-section .elementor-pagination .page-numbers {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.5) !important;
    background: transparent !important;
    text-decoration: none;
    transition: all 0.15s;
}
.smb-posts-section .elementor-pagination .page-numbers.current,
.smb-posts-section .elementor-pagination .page-numbers:hover {
    background: #2ecc8e !important;
    color: #0d1f2d !important;
    border-color: #2ecc8e !important;
    font-weight: 700;
}

/* ── NEWSLETTER ──────────────────────────────────────────────── */
.smb-newsletter {
    background: rgba(46,204,142,0.06);
    border: 1px solid rgba(46,204,142,0.18);
    border-radius: 14px;
    padding: 36px;
    text-align: center;
}
.smb-newsletter h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}
.smb-newsletter p {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 22px;
}

/* ── BACKGROUND SECTIONS ─────────────────────────────────────── */
.smb-section-dark {
    background-color: #0d1f2d !important;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .smb-hero { padding: 50px 20px; }
    .smb-hero h1 { font-size: 28px; }
    .smb-filters { padding: 14px 20px; }
    .smb-newsletter { padding: 24px 20px; }
}
