/*
Theme Name: biyikli wordpress template par rasim biyikli
Theme URI: https://studioenhaut.com/
Template: twentytwentyfive
Author: rasim biyikli
Author URI: https://studioenhaut.com
Description: Twenty Twenty-Five theme enfant pour le studio d'en haut.
Version: 1.1.0
Text Domain: twentytwentyfive-child
*/

/* ==========================================================================
   1. VARIABLES DE DESIGN SYSTEME (STYLE SDH)
   ========================================================================== */
:root {
    --sdh-bg: #0b0b0b;
    --sdh-card-bg: #141414;
    --sdh-orange: #ff5500;
    --sdh-text: #ffffff;
    --sdh-text-muted: #aaaaaa;
    --sdh-border: #222222;
    --font-sdh: 'Outfit', sans-serif;

    /* Variables de Glassmorphism */
    --glass-blur: 12px;
    --glass-bg: rgba(11, 11, 11, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   2. EXTENSION SOMBRE GLOBALE (Éradication des blocs blancs)
   ========================================================================== */
html,
body,
.wp-site-blocks,
#page,
.site,
main,
.sdh-home-main,
.sdh-single-main {
    background-color: var(--sdh-bg) !important;
    background: var(--sdh-bg) !important;
    color: var(--sdh-text) !important;
    font-family: var(--font-sdh), sans-serif;
}

/* ==========================================================================
   3. EN-TÊTE DE NAVIGATION GLOBAL (STYLE SDH GLASSMORPHISM)
   ========================================================================== */
header.wp-block-template-part,
.wp-block-template-part header {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
    border-bottom: 1px solid var(--sdh-border) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
}

/* Liens du menu principal */
.wp-block-navigation a,
.wp-block-navigation-item__content {
    color: var(--sdh-text) !important;
    font-family: var(--font-sdh), sans-serif;
    font-weight: 500 !important;
    transition: color 0.25s ease !important;
    text-decoration: none !important;
}

.wp-block-navigation a:hover,
.wp-block-navigation-item__content:hover {
    color: var(--sdh-orange) !important;
}

/* Sous-menus (dropdowns) sombres */
.wp-block-navigation .wp-block-navigation__submenu-container,
.wp-block-navigation .wp-block-navigation-item__content {
    background-color: var(--sdh-card-bg) !important;
    color: var(--sdh-text) !important;
}

/* ==========================================================================
   4. CAROUSEL HERO (PAGE D'ACCUEIL)
   ========================================================================== */
.sdh-carousel-container {
    position: relative;
    width: 100%;
    height: 75vh;
    background-color: #000;
    overflow: hidden;
}

.sdh-carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.sdh-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
}

.sdh-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Masque dégradé Arte cinématique */
.sdh-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--sdh-bg) 5%, rgba(11, 11, 11, 0.1) 60%),
        linear-gradient(to right, var(--sdh-bg) 5%, rgba(11, 11, 11, 0.05) 50%);
    z-index: 3;
}

/* Contenu du slide */
.sdh-slide-content {
    position: absolute;
    bottom: 12%;
    left: 8% !important;
    right: 8% !important;
    max-width: 700px;
    z-index: 4;
    text-align: left;
    padding: 0 !important;
    pointer-events: none;
    box-sizing: border-box;
}

.sdh-slide-content * {
    pointer-events: auto;
}

.sdh-slide-tag {
    display: inline-block;
    background-color: var(--sdh-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 15px;
}

.sdh-slide-title {
    font-family: var(--font-sdh), sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 15px 0;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.sdh-slide-excerpt {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.sdh-btn-play {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.sdh-btn-play:hover {
    background-color: var(--sdh-orange);
    color: #ffffff;
    transform: scale(1.05);
}

.sdh-btn-play svg {
    margin-right: 8px;
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Contrôles du Carousel */
.sdh-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.sdh-carousel-control:hover {
    background-color: var(--sdh-orange);
    border-color: var(--sdh-orange);
    color: #ffffff;
}

.sdh-carousel-control.prev {
    left: 3%;
}

.sdh-carousel-control.next {
    right: 3%;
}

/* Indicateurs (dots) */
.sdh-carousel-dots {
    position: absolute;
    bottom: 5%;
    right: 8%;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.sdh-dot {
    width: 30px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sdh-dot.active {
    background-color: var(--sdh-orange);
    width: 45px;
}

@media (max-width: 768px) {
    .sdh-carousel-container {
        height: 55vh;
    }

    .sdh-carousel-control {
        display: none;
    }

    .sdh-slide-content {
        left: 4%;
        right: 4%;
        bottom: 8%;
        max-width: 100%;
        padding: 10px;
    }
}

/* ==========================================================================
   5. CONTENU DE PAGE ACCUEIL (GRID ET GRILLES DE CATÉGORIES)
   ========================================================================== */
.sdh-home-content {
    padding: 60px 8% 80px 8% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.sdh-category-row {
    margin-bottom: 60px;
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

.sdh-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    border-left: 4px solid var(--sdh-orange);
    padding-left: 15px;
}

.sdh-row-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0;
}

.sdh-row-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--sdh-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.sdh-row-more:hover {
    color: var(--sdh-orange);
}

/* Grille Responsive */
.sdh-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .sdh-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sdh-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sdh-home-content {
        padding: 40px 16px 60px 16px;
    }
}

@media (max-width: 480px) {
    .sdh-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   6. CARTES CINÉMATIQUES (COMMUN PAGE ACCUEIL / ARTICLES CONNECTÉS)
   ========================================================================== */
.sdh-card {
    background-color: var(--sdh-card-bg);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--sdh-border);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sdh-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 85, 0, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.sdh-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #1a1a1a;
}

.sdh-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sdh-card:hover .sdh-card-media img {
    transform: scale(1.06);
}

.sdh-card-badge {
    display: none !important;
}

.sdh-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    z-index: 4;
}

.sdh-card:hover .sdh-card-overlay {
    background-color: transparent !important;
}

.sdh-card-overlay svg {
    display: none !important;
}

.sdh-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sdh-card-meta {
    font-size: 11px;
    font-weight: 700;
    color: var(--sdh-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sdh-card-title {
    font-family: var(--font-sdh), sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px 0;
    color: #ffffff;
    transition: color 0.3s;
}

.sdh-card-title a {
    color: inherit;
    text-decoration: none !important;
}

.sdh-card:hover .sdh-card-title {
    color: var(--sdh-orange);
}

.sdh-card-excerpt {
    font-size: 13px;
    line-height: 1.4;
    color: var(--sdh-text-muted);
    margin: 0;
}

/* ==========================================================================
   7. ARTICLE HERO POST COVER (Titre & Cover de l'Article Individuel)
   ========================================================================== */
.sdh-post-hero {
    position: relative;
    height: 50vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sdh-post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 80%);
    z-index: 2;
}


.sdh-post-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 8% 40px 8% !important;
    box-sizing: border-box;
}

.sdh-post-cat-badge {
    display: inline-block;
    background-color: var(--sdh-orange);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 15px;
}

.sdh-post-title-main {
    font-family: var(--font-sdh), sans-serif;
    font-size: clamp(24px, 4.5vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.sdh-post-meta-main {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .sdh-post-hero {
        height: 38vh;
    }

    .sdh-post-hero-content {
        padding: 0 24px 24px 24px;
    }
}

/* ==========================================================================
   8. CORPS D'ARTICLE HAUTE LISIBILITÉ
   ========================================================================== */

/* 
   NOTE AUX DÉVELOPPEURS - LARGEUR DE L'ARTICLE :
   - Le layout de l'article est en pleine largeur (100%) par défaut.
   - Les paragraphes et éléments de contenu ont un padding de 5% pour ne pas coller aux bords.
*/
.sdh-post-layout {
    max-width: 100% !important;
    margin: 0 !important;
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    width: 100% !important;
}

@media (max-width: 768px) {
    .sdh-post-layout {
        margin: 0 !important;
        padding: 0 !important;
    }
}

.sdh-post-content {
    font-size: 18px;
    line-height: 1.85;
    color: #f5f5f5 !important;
    letter-spacing: -0.01em;
    font-family: var(--font-sdh), sans-serif;
    width: 100% !important;
}

/* Règle pour les textes bruts — pleine largeur par défaut */
.sdh-post-content>p,
.sdh-post-content>h1,
.sdh-post-content>h2,
.sdh-post-content>h3,
.sdh-post-content>h4,
.sdh-post-content>h5,
.sdh-post-content>h6,
.sdh-post-content>ul,
.sdh-post-content>ol,
.sdh-post-content>blockquote,
.sdh-post-content>.wp-block-columns,
.sdh-post-content>.wp-block-image {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 5% !important;
    padding-right: 5% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {

    .sdh-post-content>p,
    .sdh-post-content>h1,
    .sdh-post-content>h2,
    .sdh-post-content>h3,
    .sdh-post-content>h4,
    .sdh-post-content>h5,
    .sdh-post-content>h6,
    .sdh-post-content>ul,
    .sdh-post-content>ol,
    .sdh-post-content>blockquote,
    .sdh-post-content>.wp-block-columns,
    .sdh-post-content>.wp-block-image {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

.sdh-post-content p,
.sdh-post-content span,
.sdh-post-content li,
.sdh-post-content em,
.sdh-post-content strong {
    color: #f5f5f5 !important;
}

.sdh-post-content h1,
.sdh-post-content h2,
.sdh-post-content h3,
.sdh-post-content h4,
.sdh-post-content h5,
.sdh-post-content h6 {
    font-family: var(--font-sdh), sans-serif;
    color: #ffffff !important;
    margin-top: 45px;
    margin-bottom: 22px;
    font-weight: 700;
}

.sdh-post-content h2 {
    font-size: 28px;
    border-left: 4px solid var(--sdh-orange);
    padding-left: 18px;
    letter-spacing: -0.02em;
}

.sdh-post-content h3 {
    font-size: 22px;
    font-weight: 600;
}

.sdh-post-content a {
    color: var(--sdh-orange) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 85, 0, 0.3);
    transition: all 0.2s ease;
}

.sdh-post-content a:hover {
    color: #ff7733 !important;
    border-bottom-color: #ff7733;
}

.sdh-post-content blockquote {
    border-left: 4px solid var(--sdh-orange);
    background-color: #1e1e1e !important;
    padding: 20px 25px;
    margin: 35px 0;
    font-style: italic;
    color: #e0e0e0 !important;
    border-radius: 0 8px 8px 0;
}

/* ==========================================================================
   9. ARTICLES CONNECTÉS EN BAS DE PAGE
   ========================================================================== */
.sdh-related-section {
    border-top: 1px solid var(--sdh-border);
    padding: 60px 8% !important;
    background-color: #080808;
    margin-top: 60px;
    box-sizing: border-box;
    width: 100%;
    content-visibility: auto;
    contain-intrinsic-size: 1px 450px;
}

.sdh-related-container {
    max-width: 100% !important;
    margin: 0 !important;
}

.sdh-related-header {
    margin-bottom: 35px;
    border-left: 4px solid var(--sdh-orange);
    padding-left: 15px;
}

.sdh-related-title {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0;
}

.sdh-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .sdh-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sdh-related-section {
        padding: 40px 20px !important;
    }
}

@media (max-width: 480px) {
    .sdh-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Section 10 (Commentaires) supprimée — commentaires désactivés via mu-plugin */


/* ==========================================================================
   11. CORRECTIF DE MENU RESPONSIVE DEROULANT PREMIUM SOMBRE (STYLE SDH)
   ========================================================================== */

/* Animation d'ouverture coulissante depuis le haut */
@keyframes sdh-slide-down {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.wp-block-navigation__responsive-container.is-menu-open {
    background-color: rgba(11, 11, 11, 0.98) !important;
    background: rgba(11, 11, 11, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    color: #ffffff !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    height: auto !important;
    max-height: 100vh !important;
    padding: 50px 8% 60px 8% !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8) !important;
    border-bottom: 1px solid var(--sdh-border) !important;
    z-index: 999999 !important;
    transform: translateY(-100%);
    animation: sdh-slide-down 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* Rendre transparents tous les conteneurs internes du menu */
.wp-block-navigation__responsive-container.is-menu-open * {
    background-color: transparent !important;
    background: transparent !important;
    color: #ffffff !important;
}

/* Le bouton de fermeture (croix X) en blanc */
.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-close svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.wp-block-navigation__responsive-container-close:hover svg {
    color: var(--sdh-orange) !important;
    fill: var(--sdh-orange) !important;
    transform: rotate(90deg) !important;
}

/* Liens du menu déroulant (Outfit, lowercase, espacé) */
.wp-block-navigation__responsive-container.is-menu-open a {
    color: #ffffff !important;
    font-family: var(--font-sdh), sans-serif !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    text-transform: lowercase !important;
    letter-spacing: 0.12em !important;
    padding: 16px 0 !important;
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    text-decoration: none !important;
    text-align: left !important;
}

.wp-block-navigation__responsive-container.is-menu-open a:hover {
    color: var(--sdh-orange) !important;
    padding-left: 12px !important;
    border-bottom-color: rgba(255, 85, 0, 0.4) !important;
}

/* Nettoyer les listes et les bordures par défaut */
.wp-block-navigation__responsive-container.is-menu-open li {
    border: none !important;
    list-style: none !important;
}

/* Conteneur intérieur */
.wp-block-navigation__responsive-container-content {
    margin-top: 30px !important;
    width: 100% !important;
}

/* ==========================================================================
   12. STYLISATION D'EXCELLENCE POUR LE FORMULAIRE DE CONTACT SUR MESURE
   ========================================================================== */
.seh-contact-form-wrapper {
    max-width: 650px;
    margin: 40px auto;
    width: 100%;
}

.seh-premium-form {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.75) 0%, rgba(10, 10, 10, 0.85) 100%) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-top: 3px solid var(--sdh-orange) !important;
    /* Ligne d'accent supérieure chic */
    border-radius: 8px !important;
    padding: 45px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7) !important;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.seh-premium-form:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 85, 0, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.seh-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
    text-align: left;
}

.seh-form-group:focus-within .seh-form-label {
    color: var(--sdh-orange) !important;
}

.seh-form-label {
    font-family: var(--font-sdh), sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 10px !important;
    display: inline-block;
    transition: color 0.3s ease !important;
}

.seh-required {
    color: var(--sdh-orange) !important;
    font-weight: bold;
}

.seh-form-input,
.seh-form-textarea {
    background-color: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    font-family: var(--font-sdh), sans-serif !important;
    font-size: 15px !important;
    padding: 14px 18px !important;
    outline: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box;
    width: 100%;
}

.seh-form-input::placeholder,
.seh-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25) !important;
}

.seh-form-input:focus,
.seh-form-textarea:focus {
    background-color: rgba(255, 85, 0, 0.02) !important;
    border-color: rgba(255, 85, 0, 0.20) !important;
    border-bottom-color: var(--sdh-orange) !important;
    box-shadow: 0 6px 15px rgba(255, 85, 0, 0.05) !important;
}

.seh-form-textarea {
    resize: vertical;
}

.seh-form-info-text {
    font-family: var(--font-sdh), sans-serif !important;
    font-size: 11px !important;
    color: var(--sdh-text-muted) !important;
    font-style: italic !important;
    margin-top: -10px !important;
    margin-bottom: 30px !important;
    text-align: left;
}

.seh-form-actions {
    margin-top: 20px;
}

.seh-form-submit-button {
    display: block;
    width: 100%;
    background-color: var(--sdh-orange) !important;
    background: var(--sdh-orange) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 30px !important;
    font-family: var(--font-sdh), sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.seh-form-submit-button:hover:not(:disabled) {
    background-color: #ff6a1a !important;
    background: #ff6a1a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(255, 85, 0, 0.45) !important;
    letter-spacing: 2.5px !important;
}

.seh-form-submit-button:active:not(:disabled) {
    transform: translateY(0) !important;
}

.seh-form-submit-button:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Zone de Statuts et Réponses */
.seh-form-status-box {
    margin-top: 25px;
    padding: 18px 22px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: left;
    box-sizing: border-box;
    animation: sehFadeInUp 0.4s ease forwards;
}

.seh-form-status-box.seh-success {
    background-color: rgba(46, 204, 113, 0.1) !important;
    border: 1px solid #2ecc71 !important;
    color: #2ecc71 !important;
}

.seh-form-status-box.seh-error {
    background-color: rgba(231, 76, 60, 0.1) !important;
    border: 1px solid #e74c3c !important;
    color: #e74c3c !important;
}

/* Succès Animé */
.seh-success-box {
    text-align: center;
    padding: 10px 0;
}

.seh-success-box h3 {
    font-family: var(--font-sdh), sans-serif !important;
    color: #2ecc71 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

.seh-success-box p {
    font-family: var(--font-sdh), sans-serif !important;
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin: 5px 0 !important;
}

.seh-success-box strong {
    color: var(--sdh-orange) !important;
}

/* Masquage des champs lors du succès */
.seh-premium-form.seh-form-submitted {
    border-color: #2ecc71 !important;
    box-shadow: 0 10px 40px rgba(46, 204, 113, 0.15) !important;
}

.seh-premium-form.seh-form-submitted .seh-form-group,
.seh-premium-form.seh-form-submitted .seh-form-actions,
.seh-premium-form.seh-form-submitted .seh-form-info-text {
    display: none !important;
}

.seh-premium-form.seh-form-submitted .seh-form-status-box {
    margin-top: 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Animation d'entrée */
@keyframes sehFadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optimisation pour les petits écrans */
@media (max-width: 600px) {
    .seh-premium-form {
        padding: 25px 20px !important;
    }
}

/* ==========================================================================
   13. CAROUSEL HERO — Améliorations v2 (compteur, temps de lecture, swipe)
   ========================================================================== */

/* Compteur de slides (01 / 05) */
.sdh-carousel-counter {
    position: absolute;
    bottom: 5%;
    left: 8%;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
    font-family: var(--font-sdh), sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.sdh-counter-current {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.sdh-counter-sep {
    margin: 0 2px;
}

/* Actions du slide : bouton + temps de lecture */
.sdh-slide-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sdh-slide-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

/* Bouton control en vrai button (accessibilité) */
.sdh-carousel-control {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sdh-carousel-control:focus-visible {
    outline: 2px solid var(--sdh-orange);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .sdh-carousel-counter {
        display: none;
    }

    .sdh-slide-actions {
        gap: 16px;
    }

    .sdh-slide-reading-time {
        display: none;
    }
}

/* ==========================================================================
   14. BARRE DE NAVIGATION DES CATÉGORIES
   ========================================================================== */
.sdh-cat-nav {
    background-color: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    /* se superpose sous le header sticky */
    z-index: 90;
    overflow: hidden;
}

.sdh-cat-nav-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 8% 14px 8%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sdh-cat-nav-inner::-webkit-scrollbar {
    display: none;
}

.sdh-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    text-decoration: none !important;
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.sdh-cat-pill:hover {
    background-color: var(--cat-color, var(--sdh-orange));
    color: #ffffff;
    border-color: var(--cat-color, var(--sdh-orange));
}

.sdh-cat-pill-all {
    background-color: rgba(255, 85, 0, 0.12);
    color: var(--sdh-orange);
    border-color: rgba(255, 85, 0, 0.25);
}

.sdh-cat-pill-all:hover {
    background-color: var(--sdh-orange);
    color: #ffffff;
}

.sdh-cat-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.12);
    font-size: 10px;
    font-weight: 700;
    color: inherit;
    transition: background-color 0.25s ease;
}

.sdh-cat-pill:hover .sdh-cat-pill-count {
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .sdh-cat-nav-inner {
        padding: 12px 16px;
        gap: 6px;
    }

    .sdh-cat-pill {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* ==========================================================================
   15. BLOCS CATÉGORIES DYNAMIQUES
   ========================================================================== */
.sdh-home-content {
    padding: 60px 8% 80px 8% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* ---- Bloc de contenu Gutenberg natif (éditable depuis wp-admin) ---- */
.sdh-block--gutenberg-content {
    background-color: var(--sdh-card-bg, #1a1a1a);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sdh-gutenberg-inner {
    max-width: 100%;
    padding: 60px 8%;
    box-sizing: border-box;
    color: var(--sdh-text-muted, rgba(255, 255, 255, 0.7));
    font-family: var(--font-sdh, 'Outfit'), sans-serif;
    line-height: 1.7;
}

/* Styles typographiques pour le contenu Gutenberg sur fond sombre */
.sdh-gutenberg-inner h1,
.sdh-gutenberg-inner h2,
.sdh-gutenberg-inner h3,
.sdh-gutenberg-inner h4 {
    color: #ffffff;
    font-family: var(--font-sdh, 'Outfit'), sans-serif;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.sdh-gutenberg-inner h2 {
    font-size: clamp(22px, 3vw, 32px);
    letter-spacing: -0.01em;
}

.sdh-gutenberg-inner p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    margin-bottom: 1.2em;
}

.sdh-gutenberg-inner a {
    color: var(--sdh-orange, #ff5500);
    text-decoration: none;
}

.sdh-gutenberg-inner a:hover {
    text-decoration: underline;
}

.sdh-gutenberg-inner .wp-block-buttons .wp-block-button__link {
    background-color: var(--sdh-orange, #ff5500);
    color: #ffffff;
    border-radius: 3px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 12px 28px;
}

.sdh-gutenberg-inner figure.wp-block-image img {
    border-radius: 6px;
}

@media (max-width: 768px) {
    .sdh-gutenberg-inner {
        padding: 40px 16px;
    }
}


/* Animation d'entrée au scroll */
.sdh-animate-in {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.sdh-animate-in.sdh-visible {
    opacity: 1;
    transform: translateY(0);
}

/* En-tête de bloc catégorie */
.sdh-category-block {
    /* Retire la margin-bottom — géré par le gap du parent */
}

.sdh-block-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}

.sdh-block-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.sdh-block-accent-line {
    display: block;
    width: 4px;
    height: 36px;
    border-radius: 2px;
    flex-shrink: 0;
}

.sdh-block-title {
    font-family: var(--font-sdh), sans-serif;
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
}

.sdh-block-description {
    font-size: 13px;
    color: var(--sdh-text-muted);
    margin: 0;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sdh-block-see-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--sdh-text-muted);
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: color 0.25s ease;
    flex-shrink: 0;
}

.sdh-block-see-all:hover {
    color: var(--cat-color, var(--sdh-orange));
}

/* ==========================================================================
   16. LAYOUT ASYMÉTRIQUE SDH (1 grande + N petites)
   ========================================================================== */
.sdh-featured-layout {
    display: grid;
    gap: 20px;
}

.sdh-featured-layout.has-secondary {
    grid-template-columns: 1fr 340px;
}

.sdh-featured-layout.solo {
    grid-template-columns: 1fr;
    max-width: 700px;
}

/* ---- Grande carte (article mis en valeur) ---- */
.sdh-featured-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--sdh-card-bg);
    border: 1px solid var(--sdh-border);
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sdh-featured-card:hover {
    border-color: rgba(var(--cat-color, 255 85 0) / 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.sdh-featured-media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    text-decoration: none !important;
}

.sdh-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.sdh-featured-card:hover .sdh-featured-media img {
    transform: scale(1.05);
}

.sdh-featured-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.6) 0%, transparent 60%);
    pointer-events: none;
}

.sdh-featured-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.sdh-featured-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sdh-cat-badge {
    display: inline-block;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 9px;
    border-radius: 2px;
}

.sdh-meta-date {
    font-size: 11px;
    font-weight: 600;
    color: var(--sdh-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sdh-meta-reading {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--sdh-text-muted);
}

.sdh-featured-title {
    font-family: var(--font-sdh), sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: #ffffff;
    transition: color 0.25s ease;
}

.sdh-featured-title a {
    color: inherit;
    text-decoration: none !important;
}

.sdh-featured-card:hover .sdh-featured-title {
    color: var(--cat-color, var(--sdh-orange));
}

.sdh-featured-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: var(--sdh-text-muted);
    margin: 0;
    flex-grow: 1;
}

.sdh-read-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cat-color, var(--sdh-orange));
    text-decoration: none !important;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.sdh-read-link:hover {
    gap: 8px;
}

/* ---- Pile de cartes secondaires ---- */
.sdh-secondary-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sdh-secondary-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    /*variation de la largeur de l'image colonne de droite*/
    gap: 0;
    background-color: var(--sdh-card-bg);
    border: 1px solid var(--sdh-border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-height: 130px;
}

.sdh-secondary-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.sdh-secondary-thumb {
    display: block;
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none !important;
}

.sdh-secondary-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sdh-secondary-card:hover .sdh-secondary-thumb img {
    transform: scale(1.06);
}

.sdh-secondary-body {
    padding: 14px 18px 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.sdh-secondary-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--sdh-text-muted);
    font-weight: 500;
}

.sdh-secondary-title {
    font-family: var(--font-sdh), sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #ffffff;
    transition: color 0.25s ease;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.sdh-secondary-title a {
    color: inherit;
    text-decoration: none !important;
}

.sdh-secondary-card:hover .sdh-secondary-title {
    color: var(--cat-color, var(--sdh-orange));
}

/* État vide */
.sdh-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--sdh-text-muted);
    font-size: 16px;
}

/* ==========================================================================
   17. RESPONSIVE — Layout asymétrique mobile
   ========================================================================== */
@media (max-width: 1100px) {
    .sdh-featured-layout.has-secondary {
        grid-template-columns: 1fr 320px;
    }

    .sdh-secondary-card {
        grid-template-columns: 160px 1fr;
    }
}

@media (max-width: 900px) {
    .sdh-featured-layout.has-secondary {
        grid-template-columns: 1fr;
    }

    .sdh-secondary-stack {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .sdh-secondary-card {
        grid-template-columns: 1fr;
        grid-template-rows: 140px 1fr;
    }

    .sdh-secondary-thumb {
        height: 140px;
    }

    .sdh-secondary-body {
        padding: 12px;
    }
}

@media (max-width: 640px) {
    .sdh-home-content {
        padding: 40px 16px 60px 16px !important;
        gap: 56px;
    }

    .sdh-secondary-stack {
        grid-template-columns: repeat(2, 1fr);
    }

    .sdh-block-description {
        display: none;
    }

    .sdh-block-title {
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .sdh-secondary-stack {
        grid-template-columns: 1fr;
    }

    .sdh-secondary-card {
        grid-template-columns: 100px 1fr;
        grid-template-rows: auto;
    }

    .sdh-secondary-thumb {
        height: auto;
    }
}

/* 
 * Personnalisation Studio d'en Haut 2026 :
 * Masquer globalement la date des articles sur tout le site (Gutenberg post-date block).
 */
.wp-block-post-date {
    display: none !important;
}

/* ==========================================================================
   13. PERSONNALISATIONS D'EXCELLENCE : ALIGNEMENT MENU, TYPO CLASS ET MARGES
   ========================================================================== */

/* 1. Aligner la navigation hamburger à droite de l'en-tête */
.wp-block-navigation {
    margin-left: auto !important;
    justify-content: flex-end !important;
}

header .wp-block-navigation__responsive-container-open,
.wp-block-template-part header .wp-block-navigation__responsive-container-open {
    margin-left: auto !important;
}

/* 2. Suppression de tous les logos images (sécurité) */
.wp-block-site-logo,
.site-logo,
.custom-logo-link,
header img[class*="logo"],
header [class*="site-logo"] {
    display: none !important;
}

/* 3. Typographie d'exception pour le titre du site artistique */
.wp-block-site-title,
.site-title {
    display: block !important;
    margin: 0 !important;
}

.wp-block-site-title a,
.site-title a {
    font-family: var(--font-sdh), sans-serif !important;
    font-weight: 300 !important;
    font-size: 24px !important;
    letter-spacing: 0.14em !important;
    text-transform: lowercase !important;
    /* studio d'en haut en minuscules artistiques */
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.wp-block-site-title a:hover,
.site-title a:hover {
    color: var(--sdh-orange) !important;
}

/* 4. Réduction absolue des marges et espaces avant le Hero (Carrousel d'accueil) */
body,
#page,
.site,
.wp-site-blocks,
main,
.sdh-home-main,
.sdh-carousel-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

header.wp-block-template-part,
.wp-block-template-part header,
.site-header-custom {
    margin-bottom: 0 !important;
}

main>*:first-child,
.sdh-home-main>*:first-child {
    margin-top: 0 !important;
}

/* 5. Correctif de z-index et style pour le menu hamburger ouvert */
.wp-block-navigation__responsive-container.is-menu-open {
    z-index: 99999 !important;
}

/* ==========================================================================
   14. NOUVEAUX STYLES POUR L'EN-TÊTE ET LE PIED DE PAGE SUR MESURE
   ========================================================================== */

/* En-tête Customisé */
.site-header-custom {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
    border-bottom: 1px solid var(--sdh-border) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.header-container-custom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 8% !important;
    /* Spacing fin vertical */
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.header-navigation-wrapper {
    margin-left: auto !important;
}

/* Pied de page (Footer) Customisé Style ensemble0.com */
.site-footer-custom {
    background-color: #050505 !important;
    border-top: 1px solid var(--sdh-border) !important;
    padding: 45px 8% 30px 8% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.footer-container-custom {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Ligne Principale : Sociaux & Partenaires */
.footer-main-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    width: 100% !important;
}

/* Éléments Médias/Sociaux (Gauche) */
.footer-social-wrapper {
    display: flex !important;
    gap: 22px !important;
    align-items: center !important;
}

.footer-social-link {
    color: var(--sdh-text-muted) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.footer-social-link svg {
    width: 100% !important;
    height: 100% !important;
    fill: currentColor !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.footer-social-link:hover {
    color: var(--sdh-orange) !important;
}

.footer-social-link:hover svg {
    transform: scale(1.2) !important;
}

/* Éléments Partenaires (Droite) */
.footer-partners-wrapper {
    display: flex !important;
    gap: 26px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.footer-partner-logo {
    height: 28px !important;
    display: inline-block !important;
    color: var(--sdh-text-muted) !important;
    fill: currentColor !important;
    opacity: 0.35 !important;
    filter: grayscale(100%) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.footer-partner-logo svg {
    height: 100% !important;
    width: auto !important;
    display: block !important;
}

.footer-partner-logo:hover {
    opacity: 0.95 !important;
    color: #ffffff !important;
    filter: grayscale(0%) !important;
}

/* Séparateur horizontal discret */
.footer-divider-custom {
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin: 8px 0 0 0 !important;
    width: 100% !important;
}

/* Ligne Inférieure : Copyright & Marque */
.footer-bottom-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    width: 100% !important;
    margin-top: 5px !important;
}

/* Titre artistique de la marque */
.footer-title a {
    font-family: var(--font-sdh), sans-serif !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    letter-spacing: 0.12em !important;
    text-transform: lowercase !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-title a:hover {
    color: var(--sdh-orange) !important;
}

/* Copyright discret */
.footer-copyright {
    font-size: 11px !important;
    color: var(--sdh-text-muted) !important;
    letter-spacing: 0.05em !important;
    text-transform: lowercase !important;
}

/* Ajustements responsives pour le pied de page */
@media (max-width: 768px) {
    .site-footer-custom {
        padding: 35px 20px 25px 20px !important;
    }

    .footer-main-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px !important;
    }

    .footer-partners-wrapper {
        justify-content: flex-start !important;
        gap: 18px !important;
    }

    .footer-partner-logo {
        height: 22px !important;
    }

    .footer-bottom-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
}

@media (max-width: 600px) {
    .header-container-custom {
        padding: 12px 16px !important;
    }

    .site-footer-custom {
        padding: 20px 16px !important;
    }

    .footer-container-custom {
        flex-direction: column !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   16. DESIGN D'EXCELLENCE POUR LA PAGE CONTACT (SPLIT-GRID ET GOOGLE MAP SOMBRE)
   ========================================================================== */

.sdh-contact-layout {
    display: grid !important;
    grid-template-columns: 1fr 1.20fr !important;
    gap: 70px !important;
    max-width: 100% !important;
    /* Étend la grille sur toute la largeur de l'écran */
    margin: 60px auto 120px auto !important;
    padding: 0 8% !important;
    /* Marge d'aération élégante identique à l'accueil */
    box-sizing: border-box !important;
}

/* Colonne gauche (Infos & Coordonnées) */
.sdh-contact-info-col {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}

.sdh-contact-title-main {
    font-family: var(--font-sdh), sans-serif !important;
    font-size: clamp(38px, 5vw, 52px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    text-transform: lowercase !important;
    color: #ffffff !important;
    margin: 0 0 40px 0 !important;
    position: relative;
}

.sdh-contact-title-main::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--sdh-orange);
    margin-top: 15px;
}

.sdh-contact-details-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
}

.sdh-contact-detail-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 18px !important;
}

.sdh-contact-detail-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.sdh-contact-label {
    font-family: var(--font-sdh), sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--sdh-orange) !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

.sdh-contact-value {
    font-family: var(--font-sdh), sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
    transition: color 0.3s ease !important;
}

a.sdh-contact-value:hover {
    color: var(--sdh-orange) !important;
}

/* Grille de Réseaux Sociaux Premium */
.sdh-contact-social-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-top: 10px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
}

.sdh-social-pill {
    display: flex !important;
    align-items: center !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    font-family: var(--font-sdh), sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 14px 18px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.sdh-social-pill::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: all 0.6s ease;
}

.sdh-social-pill:hover::after {
    left: 100%;
}

.sdh-social-pill:hover {
    background-color: rgba(255, 85, 0, 0.08) !important;
    border-color: var(--sdh-orange) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 85, 0, 0.15) !important;
}

.sdh-social-pill::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--sdh-orange);
    margin-right: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sdh-social-pill:hover::before {
    background-color: #ffffff;
    transform: scale(1.1);
}

/* Injections automatiques d'icônes SVG via les liens URL */
.sdh-social-pill[href*="instagram"]::before {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.051.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.051.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.sdh-social-pill[href*="facebook"]::before {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15H8v-3h2V9.5C10 7.57 11.57 6 13.5 6H16v3h-2c-.55 0-1 .45-1 1v2h3v3h-3v6.95c4.56-.93 8-4.96 8-9.75z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15H8v-3h2V9.5C10 7.57 11.57 6 13.5 6H16v3h-2c-.55 0-1 .45-1 1v2h3v3h-3v6.95c4.56-.93 8-4.96 8-9.75z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.sdh-social-pill[href*="vimeo"]::before {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.396 7.158c-.092 2.029-1.507 4.805-4.245 8.32C15.346 19.092 13.064 21 11.31 21c-.979 0-1.802-.9-2.468-2.698-.445-1.691-.889-3.382-1.332-5.074-.492-1.879-1.026-2.82-1.603-2.82-.123 0-.555.258-1.293.774L3 9.771c.738-.646 1.46-1.293 2.167-1.94 1.016-.923 1.786-1.4 2.309-1.433 1.231-.077 1.986.769 2.263 2.538.308 1.954.523 3.169.646 3.646.369 1.554.769 2.33 1.2 2.33.338 0 .846-.515 1.523-1.546.677-1.03.104-2.223.104-3.577 0-1.446-.431-2.169-1.292-2.169-.4 0-.816.092-1.246.277 1.832-6.002 4.2-2.915 6.002-2.915 2.107 0 2.631 1.446 2.396 2.915z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.396 7.158c-.092 2.029-1.507 4.805-4.245 8.32C15.346 19.092 13.064 21 11.31 21c-.979 0-1.802-.9-2.468-2.698-.445-1.691-.889-3.382-1.332-5.074-.492-1.879-1.026-2.82-1.603-2.82-.123 0-.555.258-1.293.774L3 9.771c.738-.646 1.46-1.293 2.167-1.94 1.016-.923 1.786-1.4 2.309-1.433 1.231-.077 1.986.769 2.263 2.538.308 1.954.523 3.169.646 3.646.369 1.554.769 2.33 1.2 2.33.338 0 .846-.515 1.523-1.546.677-1.03.104-2.223.104-3.577 0-1.446-.431-2.169-1.292-2.169-.4 0-.816.092-1.246.277 1.832-6.002 4.2-2.915 6.002-2.915 2.107 0 2.631 1.446 2.396 2.915z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.sdh-social-pill[href*="bandcamp"]::before {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 18.75h16L24 5.25H8L0 18.75z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 18.75h16L24 5.25H8L0 18.75z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Intégration de la carte Google Maps interactive */
.sdh-contact-map-wrapper {
    width: 100% !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
    aspect-ratio: 16 / 10 !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
}

.sdh-contact-map-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
    border-radius: 8px !important;
}

.sdh-contact-map-wrapper:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(255, 85, 0, 0.4) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 85, 0, 0.15) !important;
}

.sdh-contact-map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    filter: invert(90%) hue-rotate(180deg) grayscale(100%) contrast(90%) !important;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sdh-contact-map-wrapper:hover iframe {
    filter: invert(92%) hue-rotate(180deg) grayscale(75%) contrast(95%) !important;
    transform: scale(1.02);
}

/* Colonne droite (Formulaire) */
.sdh-contact-form-col {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}

.sdh-contact-form-title {
    font-family: var(--font-sdh), sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    text-transform: lowercase !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
    border-left: 4px solid var(--sdh-orange) !important;
    padding-left: 15px !important;
}

.sdh-contact-form-subtitle {
    font-family: var(--font-sdh), sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--sdh-text-muted) !important;
    margin: 0 0 30px 0 !important;
    padding-left: 19px !important;
}


@media (max-width: 900px) {
    .sdh-contact-layout {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
        margin: 30px auto 60px auto !important;
    }
}

/* ==========================================================================
   17. SYSTEME DE TABLEAU DE TOURNEE PREMIUM SOMBRES (NIS-NAH)
   ========================================================================== */

.sdh-tour-wrapper {
    margin: 40px auto;
    width: 100%;
    max-width: 1100px;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

/* État vide */
.sdh-tour-empty {
    padding: 60px 40px;
    text-align: center;
    color: var(--sdh-text-muted);
    font-family: var(--font-sdh), sans-serif;
    font-size: 16px;
    font-weight: 300;
}

.sdh-tour-responsive-container {
    width: 100%;
    overflow-x: auto;
}

.sdh-tour-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-family: var(--font-sdh), sans-serif;
}

/* En-têtes du tableau */
.sdh-tour-table th {
    padding: 20px 28px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sdh-text-muted);
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.sdh-th-date {
    width: 20%;
}

.sdh-th-artist {
    width: 25%;
}

.sdh-th-venue {
    width: 40%;
}

.sdh-th-country {
    width: 15%;
    text-align: center;
}

/* Lignes du tableau */
.sdh-tour-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sdh-tour-row:last-child {
    border-bottom: none;
}

.sdh-tour-row:hover {
    background-color: rgba(255, 255, 255, 0.015);
}

/* Cellules du tableau */
.sdh-tour-table td {
    padding: 24px 28px;
    vertical-align: middle;
    color: #ffffff;
    font-size: 15px;
}

/* Cellule Date & Bullet animée */
.sdh-td-date {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.sdh-date-bullet {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--sdh-text-muted);
    margin-right: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.sdh-tour-row:hover .sdh-date-bullet {
    background-color: var(--sdh-orange);
    transform: scale(1.5);
    box-shadow: 0 0 8px var(--sdh-orange);
}

.sdh-date-text {
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Cellule Artiste */
.sdh-td-artist {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.2px;
}

.sdh-artist-name {
    font-weight: 600;
    transition: color 0.3s ease;
}

.sdh-tour-row:hover .sdh-artist-name {
    color: var(--sdh-orange);
}

/* Cellule Lieu */
.sdh-td-venue {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2px;
}

.sdh-tour-row:hover .sdh-td-venue {
    color: #ffffff;
}

/* Cellule Pays & Badge */
.sdh-td-country {
    text-align: center;
}

.sdh-country-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sdh-text-muted);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sdh-tour-row:hover .sdh-country-badge {
    color: #ffffff;
    border-color: rgba(255, 85, 0, 0.4);
    background-color: rgba(255, 85, 0, 0.08);
    box-shadow: 0 0 10px rgba(255, 85, 0, 0.1);
}

/* ==========================================================================
   TABLEAU DE TOURNEE RESPONSIVE (TRANSFORMATION EN CARTES MOBILES)
   ========================================================================== */

@media (max-width: 768px) {
    .sdh-tour-wrapper {
        background: transparent;
        border: none;
        box-shadow: none;
        margin: 25px auto;
    }

    .sdh-tour-table,
    .sdh-tour-table thead,
    .sdh-tour-table tbody,
    .sdh-tour-table th,
    .sdh-tour-table td,
    .sdh-tour-table tr {
        display: block;
    }

    /* Masquer les en-têtes de colonnes sur mobile */
    .sdh-tour-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    /* Ligne transformée en carte */
    .sdh-tour-row {
        background: rgba(20, 20, 20, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        border-radius: 8px;
        margin-bottom: 16px;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .sdh-tour-row:hover {
        border-color: rgba(255, 85, 0, 0.2) !important;
    }

    /* Cellules en hauteur */
    .sdh-tour-table td {
        padding: 6px 0;
        text-align: left;
        border: none;
        width: 100%;
        display: flex;
        align-items: center;
    }

    .sdh-td-date {
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
        padding-bottom: 12px !important;
        margin-bottom: 10px;
    }

    .sdh-td-artist {
        font-size: 14px;
        font-weight: 500;
        color: var(--sdh-orange);
        padding-bottom: 6px !important;
    }

    .sdh-td-venue {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.85);
        padding-bottom: 10px !important;
    }

    .sdh-td-country {
        display: inline-block;
        width: auto;
        padding-top: 4px !important;
    }

    .sdh-country-badge {
        font-size: 9px;
        padding: 3px 10px;
    }
}

/* ==========================================================================
   18. STYLES DE PAGE PLEINE LARGEUR (FULLWIDTH PREMIUM)
   ========================================================================== */
.sdh-fullwidth-page .sdh-fullwidth-main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Harmonisation des blocs Gutenberg pour la pleine largeur */
.sdh-fullwidth-page .wp-block-group,
.sdh-fullwidth-page .wp-block-columns,
.sdh-fullwidth-page .wp-block-cover {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Sections fluides et spacieuses */
.sdh-fullwidth-page .sdh-fullwidth-main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Harmonisation des blocs Gutenberg pour la pleine largeur */
.sdh-fullwidth-page .wp-block-group,
.sdh-fullwidth-page .wp-block-columns,
.sdh-fullwidth-page .wp-block-cover {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* En-tête Hero (Premier bloc Cover de la page) */
.sdh-fullwidth-page .sdh-fullwidth-main>.wp-block-cover:first-of-type {
    height: 80vh !important;
    min-height: 550px !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdh-fullwidth-page .sdh-fullwidth-main>.wp-block-cover:first-of-type .wp-block-cover__image-background {
    height: 100% !important;
    object-fit: cover !important;
}

.sdh-fullwidth-page .sdh-fullwidth-main>.wp-block-cover:first-of-type h1 {
    font-size: clamp(42px, 7vw, 78px) !important;
    font-weight: 800 !important;
    text-transform: lowercase !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
    color: #ffffff !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
    margin-top: 20px !important;
    font-family: var(--font-sdh), sans-serif !important;
}

.sdh-fullwidth-page .sdh-fullwidth-main>.wp-block-cover:first-of-type p {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    color: var(--sdh-orange) !important;
    margin-bottom: 15px !important;
    display: inline-block !important;
    background: rgba(255, 85, 0, 0.1) !important;
    padding: 6px 16px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 85, 0, 0.25) !important;
    backdrop-filter: blur(5px) !important;
}

/* Sections de grilles de contenu */
.sdh-fullwidth-page .sdh-fullwidth-main>.wp-block-group {
    padding: 100px 10% !important;
    box-sizing: border-box !important;
}

/* Aligner les colonnes */
.sdh-fullwidth-page .wp-block-columns {
    align-items: center !important;
    gap: 80px !important;
}

/* Alterner l'ordre des colonnes de façon programmatique (pair / impair) */
.sdh-fullwidth-page .sdh-fullwidth-main>.wp-block-group:nth-of-type(even) .wp-block-columns {
    display: flex !important;
    flex-direction: row-reverse !important;
}

/* Ajustements pour écrans moyens et mobiles */
@media (max-width: 1024px) {
    .sdh-fullwidth-page .wp-block-columns {
        gap: 50px !important;
    }
}

@media (max-width: 992px) {
    .sdh-fullwidth-page .sdh-fullwidth-main>.wp-block-group:nth-of-type(even) .wp-block-columns {
        flex-direction: column !important;
    }

    .sdh-fullwidth-page .wp-block-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    .sdh-fullwidth-page .sdh-fullwidth-main>.wp-block-group {
        padding: 60px 24px !important;
    }
}

/* Titres de sections (h2) */
.sdh-fullwidth-page .wp-block-column h2 {
    font-family: var(--font-sdh), sans-serif !important;
    font-size: clamp(28px, 4vw, 40px) !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
    border-left: 4px solid var(--sdh-orange) !important;
    padding-left: 20px !important;
    color: #ffffff !important;
}

/* Textes de sections (p) */
.sdh-fullwidth-page .wp-block-column p {
    font-size: 18px !important;
    line-height: 1.85 !important;
    color: var(--sdh-text-muted) !important;
    margin-bottom: 24px !important;
}

.sdh-fullwidth-page .wp-block-column strong {
    color: #ffffff !important;
}

/* Images cinématiques */
.sdh-fullwidth-page .wp-block-image {
    position: relative !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid var(--sdh-border) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85) !important;
    aspect-ratio: 16 / 10 !important;
    margin: 0 auto !important;
}

.sdh-fullwidth-page .wp-block-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sdh-fullwidth-page .wp-block-image:hover img {
    transform: scale(1.08) !important;
}

/* Plaque de citation immersive (3ème groupe principal) */
.sdh-fullwidth-page .sdh-fullwidth-main>.wp-block-group:nth-of-type(3) {
    background: rgba(20, 20, 20, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 16px !important;
    padding: 60px 80px !important;
    margin: 40px 10% !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .sdh-fullwidth-page .sdh-fullwidth-main>.wp-block-group:nth-of-type(3) {
        padding: 40px 24px !important;
        margin: 40px 24px !important;
    }
}

.sdh-fullwidth-page .sdh-fullwidth-main>.wp-block-group:nth-of-type(3) p:first-of-type {
    font-size: clamp(20px, 2.5vw, 26px) !important;
    font-style: italic !important;
    line-height: 1.5 !important;
    color: #ffffff !important;
    font-weight: 300 !important;
    margin-bottom: 20px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.sdh-fullwidth-page .sdh-fullwidth-main>.wp-block-group:nth-of-type(3) p:last-of-type {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    color: var(--sdh-orange) !important;
    margin-top: 15px !important;
}

/* ==========================================================================
   19. DESIGN D'EXCELLENCE POUR LA GALERIE & L'ARTICLE DYNAMIQUE (SDH OUTFIT & ORANGE)
   ========================================================================== */

/* Variables spécifiques au design de la galerie */
:root {
    --sdh-bg-main: #0b0b0b;
    --sdh-bg-surface: #141414;
    --sdh-bg-surface-elevated: #1e1e1e;

    --sdh-accent-gold: #ff5500;
    /* Orange vif Arte TV */
    --sdh-accent-gold-light: #ff7733;

    --sdh-text-primary: #f5f5f5;
    /* Écru */
    --sdh-text-secondary: #aaaaaa;
    --sdh-text-muted: #666666;

    --sdh-border-color: #222222;
    --sdh-border-color-hover: #ff5500;

    --sdh-font-title: 'Outfit', system-ui, -apple-system, sans-serif;
    --sdh-font-body: 'Outfit', system-ui, -apple-system, sans-serif;

    --sdh-transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --sdh-border-radius: 12px;
}

/* Corps de page spécifique à la galerie */
.sdh-gallery-template-body {
    background-color: var(--sdh-bg-main) !important;
    color: var(--sdh-text-primary) !important;
    font-family: var(--sdh-font-body) !important;
}

.sdh-gallery-main {
    background-color: var(--sdh-bg-main) !important;
}

/* Navigation survol / scroll */
.site-header-custom.scrolled {
    padding: 10px 0 !important;
    background: rgba(11, 11, 11, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

/* Hero Section grand format */
.sdh-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Pour un effet moderne fluide sur mobile */
}

/* Effet parallaxe/profondeur en surimpression */
.sdh-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 11, 11, 1) 0%, rgba(11, 11, 11, 0.4) 60%, rgba(11, 11, 11, 0.8) 100%);
    z-index: 1;
}

.sdh-hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image: radial-gradient(var(--sdh-accent-gold) 0.5px, transparent 0.5px), radial-gradient(var(--sdh-accent-gold) 0.5px, var(--sdh-bg-main) 0.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    pointer-events: none;
    z-index: 2;
}

.sdh-hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 10;
    animation: sdhFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sdh-hero-subtitle {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3em !important;
    text-transform: uppercase !important;
    color: var(--sdh-accent-gold) !important;
    margin-bottom: 1.5rem !important;
}

.sdh-hero-title {
    font-family: var(--sdh-font-title) !important;
    font-size: clamp(2.5rem, 6vw, 4.8rem) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    margin-bottom: 2rem !important;
    letter-spacing: -0.02em !important;
    text-transform: lowercase !important;
    color: #ffffff !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.sdh-hero-separator {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--sdh-accent-gold), transparent);
    margin: 2rem auto;
}

.sdh-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--sdh-text-secondary) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
    transition: var(--sdh-transition-smooth);
    z-index: 10;
}

.sdh-scroll-indicator:hover {
    color: var(--sdh-accent-gold) !important;
}

.sdh-scroll-indicator span {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--sdh-accent-gold), transparent);
    animation: sdhScrollLine 2s infinite ease-in-out;
}

/* Editorial Section (L'Article) */
.sdh-editorial {
    padding: 8rem 2rem;
    position: relative;
    background-color: var(--sdh-bg-main);
}

.sdh-editorial-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sdh-editorial-header {
    text-align: center;
    margin-bottom: 6rem;
}

.sdh-editorial-meta {
    font-size: 0.75rem !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--sdh-accent-gold) !important;
    font-weight: 700 !important;
}

.sdh-editorial-content {
    font-family: var(--sdh-font-body) !important;
    font-size: 1.1rem !important;
    color: var(--sdh-text-secondary) !important;
    line-height: 1.85 !important;
}

/* Stylisation cinématique des colonnes Gutenberg alternées */
.sdh-editorial-content .wp-block-columns {
    align-items: center !important;
    gap: 80px !important;
    margin-bottom: 120px !important;
}

.sdh-editorial-content .wp-block-columns:last-of-type {
    margin-bottom: 0 !important;
}

/* Titres de sous-sections dans les colonnes */
.sdh-editorial-content .wp-block-column h3 {
    font-family: var(--sdh-font-title) !important;
    font-size: clamp(22px, 3.5vw, 32px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    border-left: 3px solid var(--sdh-accent-gold) !important;
    padding-left: 20px !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.01em !important;
    text-transform: lowercase !important;
}

.sdh-editorial-content .wp-block-column p {
    text-align: justify !important;
    margin-bottom: 1.5rem !important;
}

/* Image dans les colonnes avec style Arte */
.sdh-editorial-content .wp-block-column .wp-block-image {
    margin: 0 !important;
    border-radius: var(--sdh-border-radius) !important;
    overflow: hidden !important;
    border: 1px solid var(--sdh-border-color) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4) !important;
    transition: var(--sdh-transition-smooth) !important;
    aspect-ratio: 16 / 10 !important;
}

.sdh-editorial-content .wp-block-column .wp-block-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sdh-editorial-content .wp-block-column .wp-block-image:hover {
    transform: scale(1.02) !important;
    border-color: var(--sdh-border-color-hover) !important;
    box-shadow: 0 20px 50px rgba(255, 85, 0, 0.15) !important;
}

.sdh-editorial-content .wp-block-column .wp-block-image:hover img {
    transform: scale(1.05) !important;
}

/* Lettrine sur le tout premier paragraphe */
.sdh-editorial-content .wp-block-columns:first-of-type .wp-block-column p:first-of-type::first-letter {
    font-family: var(--sdh-font-title) !important;
    float: left !important;
    font-size: 4.5rem !important;
    line-height: 0.8 !important;
    padding-top: 4px !important;
    padding-right: 12px !important;
    padding-left: 3px !important;
    color: var(--sdh-accent-gold) !important;
    font-weight: 800 !important;
}

/* Citation stylisée premium centrée (Gutenberg blockquote) */
.sdh-editorial-content blockquote,
.sdh-editorial-content .wp-block-quote {
    position: relative !important;
    margin: 6rem auto !important;
    padding: 3rem 4rem !important;
    background: var(--sdh-bg-surface) !important;
    border-radius: var(--sdh-border-radius) !important;
    border-left: 4px solid var(--sdh-accent-gold) !important;
    border-right: 1px solid var(--sdh-border-color) !important;
    border-top: 1px solid var(--sdh-border-color) !important;
    border-bottom: 1px solid var(--sdh-border-color) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
    max-width: 850px !important;
    box-sizing: border-box !important;
}

.sdh-editorial-content blockquote p,
.sdh-editorial-content .wp-block-quote p {
    font-family: var(--sdh-font-title) !important;
    font-size: clamp(18px, 2.5vw, 24px) !important;
    color: #ffffff !important;
    font-style: italic !important;
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    font-weight: 300 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.sdh-editorial-content blockquote cite,
.sdh-editorial-content .wp-block-quote cite {
    display: block !important;
    font-family: var(--sdh-font-body) !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--sdh-accent-gold) !important;
    font-style: normal !important;
    font-weight: 700 !important;
    text-align: center !important;
}

.sdh-editorial-content blockquote::before,
.sdh-editorial-content .wp-block-quote::before {
    content: "“" !important;
    position: absolute !important;
    top: -1.5rem !important;
    left: 4rem !important;
    font-family: var(--sdh-font-title) !important;
    font-size: 6rem !important;
    color: rgba(255, 85, 0, 0.15) !important;
    line-height: 1 !important;
}

/* Section Galerie */
.sdh-gallery-section {
    padding: 6rem 2rem 10rem;
    background-color: var(--sdh-bg-surface);
    border-top: 1px solid var(--sdh-border-color);
    position: relative;
}

.sdh-gallery-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.sdh-gallery-title {
    font-family: var(--sdh-font-title) !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
    text-transform: lowercase !important;
}

.sdh-gallery-subtitle {
    font-size: 0.95rem !important;
    color: var(--sdh-text-muted) !important;
}

/* Onglets de filtrage */
.sdh-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.sdh-filter-tab {
    background: transparent;
    border: 1px solid var(--sdh-border-color);
    color: var(--sdh-text-secondary);
    padding: 0.65rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--sdh-font-body);
}

.sdh-filter-tab:hover {
    color: var(--sdh-text-primary);
    border-color: var(--sdh-border-color-hover);
    background: rgba(255, 85, 0, 0.03);
}

.sdh-filter-tab.active {
    color: #ffffff;
    background-color: var(--sdh-accent-gold);
    border-color: var(--sdh-accent-gold);
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.3);
}

/* Grille de médias - Style Google Images (Flexbox Justifié) */
.sdh-gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sdh-gallery-grid::after {
    content: "";
    flex-grow: 999999;
}

.sdh-gallery-item {
    height: 240px;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    position: relative;
    border-radius: var(--sdh-border-radius);
    overflow: hidden;
    border: 1px solid var(--sdh-border-color);
    background-color: var(--sdh-bg-main);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    opacity: 1 !important;
    transform: none !important;
    transition: var(--sdh-transition-smooth);
}

.sdh-gallery-media-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.sdh-gallery-media-wrapper img {
    height: 100%;
    width: auto;
    min-width: 100%;
    object-fit: cover;
    filter: grayscale(15%) contrast(105%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sdh-gallery-item:hover .sdh-gallery-media-wrapper img {
    transform: scale(1.06);
    filter: grayscale(0%) contrast(100%);
}

.sdh-item-category {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sdh-accent-gold-light);
    margin-bottom: 0.35rem;
}

/* Lightbox active & media states */
.sdh-lightbox.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.sdh-lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: sdhZoomIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sdh-lightbox-media {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid var(--sdh-border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.sdh-lightbox-caption {
    margin-top: 1.5rem;
    text-align: center;
}

.sdh-lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
}

.sdh-lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
}

/* Badge Vidéo overlay */
.sdh-video-overlay-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(11, 11, 11, 0.7);
    border: 1px solid var(--sdh-border-color);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--sdh-accent-gold);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 2;
    transition: all 0.2s ease;
}

.sdh-gallery-item:hover .sdh-video-overlay-badge {
    background: var(--sdh-accent-gold);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 85, 0, 0.4);
}

/* Description carte au survol */
.sdh-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(11, 11, 11, 0.95) 0%, rgba(11, 11, 11, 0.6) 60%, transparent 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--sdh-transition-smooth);
    pointer-events: none;
}

.sdh-gallery-item:hover .sdh-gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.sdh-item-title {
    font-family: var(--sdh-font-title) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--sdh-text-primary) !important;
    line-height: 1.25 !important;
    text-transform: lowercase !important;
}

/* Lightbox Multimédia */
.sdh-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sdh-lightbox-title {
    font-family: var(--sdh-font-title) !important;
    font-size: 1.25rem !important;
    color: var(--sdh-text-primary) !important;
    margin-bottom: 0.25rem !important;
    font-weight: 700 !important;
    text-transform: lowercase !important;
}

.sdh-lightbox-category {
    font-size: 0.75rem !important;
    color: var(--sdh-accent-gold) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-weight: 700 !important;
}

/* Boutons Lightbox */
.sdh-lightbox-btn {
    position: absolute;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid var(--sdh-border-color);
    color: var(--sdh-text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10010;
}

.sdh-lightbox-btn:hover {
    background: var(--sdh-accent-gold);
    color: #ffffff;
    border-color: var(--sdh-accent-gold);
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.4);
}

.sdh-lightbox-close {
    top: 2rem;
    right: 2rem;
    font-size: 1.25rem;
}

/* Ajustements Responsives */
@media (max-width: 1024px) {
    .sdh-editorial-content .wp-block-columns {
        gap: 40px !important;
        margin-bottom: 80px !important;
    }

    .sdh-editorial-content blockquote,
    .sdh-editorial-content .wp-block-quote {
        margin: 4rem -1.5rem !important;
        padding: 2.5rem 2rem !important;
    }

    .sdh-gallery-item {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .sdh-hero {
        min-height: 60vh;
    }

    .sdh-hero-title {
        font-size: 2.5rem !important;
    }

    .sdh-editorial {
        padding: 4rem 1.5rem;
    }

    .sdh-editorial-content {
        text-align: left !important;
    }

    /* Empilement vertical fluide des colonnes sur mobile */
    .sdh-editorial-content .wp-block-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        margin-bottom: 60px !important;
    }

    /* Rétablir l'ordre d'origine naturel sur mobile pour une lecture logique */
    .sdh-editorial-content .wp-block-columns:nth-of-type(even) {
        flex-direction: column !important;
    }

    .sdh-editorial-content .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    .sdh-editorial-content blockquote,
    .sdh-editorial-content .wp-block-quote {
        margin: 3rem 0 !important;
        padding: 2rem 1.5rem !important;
    }

    .sdh-editorial-content blockquote p,
    .sdh-editorial-content .wp-block-quote p {
        font-size: 1.15rem !important;
    }

    .sdh-gallery-item {
        height: 160px;
    }

    .sdh-lightbox-btn {
        width: 44px;
        height: 44px;
    }

    .sdh-lightbox-prev {
        left: 1rem;
    }

    .sdh-lightbox-next {
        right: 1rem;
    }

    .sdh-lightbox-close {
        top: 1rem;
        right: 1rem;
    }
}

/* ==========================================================================
   20. OPTIMISATION ET PLEINE LARGEUR DES VIDÉOS EMBARQUÉES (YOUTUBE & VIMEO)
   ========================================================================== */

/* Annule la limitation de largeur pour les paragraphes contenant une iframe (Vimeo/YouTube) */
.sdh-post-content>p:has(iframe) {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Force le conteneur ou l'iframe à occuper 100% de la largeur disponible */
.sdh-post-content iframe[src*="vimeo.com"],
.sdh-post-content iframe[src*="youtube.com"],
.sdh-post-content iframe[src*="youtu.be"],
.wp-block-embed-youtube,
.wp-block-embed-vimeo,
.wp-block-embed.is-type-video,
.wp-block-embed__wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* Force le ratio cinématique 16:9 fluide et applique un style premium */
.sdh-post-content iframe[src*="vimeo.com"],
.sdh-post-content iframe[src*="youtube.com"],
.sdh-post-content iframe[src*="youtu.be"],
.wp-block-embed-youtube iframe,
.wp-block-embed-vimeo iframe,
.wp-block-embed.is-type-video iframe,
.wp-block-embed__wrapper iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 8px !important;
    /* Coins arrondis cinématiques */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    /* Ombre douce haut de gamme */
    border: none !important;
}

/* 
   GÉRER L'ALIGNEMENT "PLEINE LARGEUR" (alignfull) DANS LE CADRE DE L'ARTICLE :
   Permet à la vidéo de s'étendre d'un bord à l'autre de la boîte noire de l'article (.sdh-post-layout)
   en annulant précisément le padding de 60px gauche/droite.
*/
.sdh-post-content .alignfull,
.sdh-post-content .wp-block-embed-vimeo.alignfull,
.sdh-post-content .wp-block-embed-youtube.alignfull,
.sdh-post-content .wp-block-embed.is-type-video.alignfull {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
}

.sdh-post-content .alignfull iframe,
.wp-block-embed-vimeo.alignfull iframe,
.wp-block-embed-youtube.alignfull iframe,
.wp-block-embed.is-type-video.alignfull iframe {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Adaptation sur mobiles */
@media (max-width: 768px) {

    .sdh-post-content .alignfull,
    .sdh-post-content .wp-block-embed-vimeo.alignfull,
    .sdh-post-content .wp-block-embed-youtube.alignfull,
    .sdh-post-content .wp-block-embed.is-type-video.alignfull {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ==========================================================================
   21. DESIGN SYSTEM & SECTIONS DÉDIÉES ATELIER RYTHMO (FRANÇAIS)
   ========================================================================== */

:root {
    --rythmo-accent: #7ecfa0;
    /* Vert menthe original pour l'identité Rythmo */
    --rythmo-accent-hover: #a0ddb8;
    --rythmo-accent-dim: #1e3d2a;
}

/* 21.1. HERO SECTION */
.rythmo-hero {
    min-height: 100vh;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    position: relative !important;
    background: #0d0d0d !important;
    overflow: hidden !important;
    padding-top: 100px !important;
    padding-bottom: 120px !important;
}

.rythmo-hero .hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 40%, #1a3a2a 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, #2a1a0a 0%, transparent 55%);
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

.rythmo-hero .wave-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.12;
    z-index: 1;
}

.rythmo-hero .eyebrow {
    font-size: 11px !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    color: var(--rythmo-accent) !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.rythmo-hero h1 {
    font-family: var(--sdh-font-title), sans-serif !important;
    font-size: clamp(3.5rem, 9vw, 8rem) !important;
    font-weight: 800 !important;
    line-height: 0.92 !important;
    position: relative !important;
    color: #f0ede6 !important;
    z-index: 2 !important;
    text-transform: lowercase !important;
}

.rythmo-hero h1 em {
    font-style: italic !important;
    color: var(--rythmo-accent) !important;
}

.rythmo-hero .hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem) !important;
    font-weight: 300 !important;
    color: #a09d96 !important;
    max-width: 44ch !important;
    margin-top: 2rem !important;
    line-height: 1.65 !important;
    position: relative !important;
    z-index: 2 !important;
}

.rythmo-hero .hero-cta {
    position: relative !important;
    z-index: 2 !important;
    margin-top: 2.5rem !important;
}

.rythmo-hero .hero-cta a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 28px !important;
    background: var(--rythmo-accent) !important;
    color: #0d0d0d !important;
    font-family: var(--sdh-font-body), sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.rythmo-hero .hero-cta a:hover {
    background: var(--rythmo-accent-hover) !important;
}

.rythmo-hero .scroll-hint {
    position: absolute !important;
    bottom: 2rem !important;
    right: 10% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    opacity: 0.4 !important;
    font-size: 10px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    z-index: 2 !important;
}

.rythmo-hero .scroll-hint-line {
    width: 1px;
    height: 40px;
    background: #f0ede6;
    animation: rythmoScrollDown 1.8s ease-in-out infinite;
}

@keyframes rythmoScrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* 21.2. PITCH SECTION */
.rythmo-pitch {
    background: #111111 !important;
}

.rythmo-pitch h2 {
    font-family: var(--sdh-font-title), sans-serif !important;
    font-size: clamp(2rem, 4vw, 3.2rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    color: #f0ede6 !important;
    border-left: none !important;
    /* Overwrite general sdh border-left styling */
    padding-left: 0 !important;
    text-transform: lowercase !important;
}

.rythmo-pitch p {
    font-size: 18px !important;
    font-weight: 300 !important;
    color: #a09d96 !important;
    line-height: 1.75 !important;
    margin-bottom: 1.5rem !important;
}

.rythmo-pitch p strong {
    color: #f0ede6 !important;
    font-weight: 600 !important;
}

.rythmo-pitch .quote-block {
    border-left: 2px solid var(--rythmo-accent) !important;
    padding-left: 1.5rem !important;
    background: transparent !important;
    margin: 0 !important;
    border-radius: 0 !important;
    text-align: left !important;
}

.rythmo-pitch .quote-block p {
    font-family: var(--sdh-font-title), serif !important;
    font-style: italic !important;
    font-size: 1.4rem !important;
    color: #f0ede6 !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
}

.rythmo-pitch .quote-block cite {
    font-size: 12px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: var(--rythmo-accent) !important;
    font-style: normal !important;
    display: block !important;
}

/* 21.3. STEPS SECTION */
.rythmo-steps-section {
    background: #0d0d0d !important;
}

.rythmo-steps-section .steps-header {
    display: flex !important;
    align-items: baseline !important;
    gap: 1.5rem !important;
    margin-bottom: 3rem !important;
}

.rythmo-steps-section .steps-header h2 {
    font-family: var(--sdh-font-title), sans-serif !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    color: #f0ede6 !important;
    border-left: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    text-transform: lowercase !important;
}

.rythmo-steps-section .steps-header .steps-subtitle {
    font-size: 12px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--rythmo-accent) !important;
    margin: 0 !important;
}

.rythmo-steps-grid {
    gap: 1px !important;
    background: #2a2a2a !important;
}

.rythmo-steps-grid .step-card {
    background: #0d0d0d !important;
    padding: 2.5rem 1.5rem !important;
    transition: background 0.2s !important;
}

.rythmo-steps-grid .step-card:hover {
    background: #141414 !important;
}

.rythmo-steps-grid .step-num {
    font-family: var(--sdh-font-title), sans-serif !important;
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    color: var(--rythmo-accent-dim) !important;
    line-height: 1 !important;
    margin-bottom: 1rem !important;
}

.rythmo-steps-grid .step-card h3 {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--rythmo-accent) !important;
    margin-bottom: 0.75rem !important;
    border-left: none !important;
    padding-left: 0 !important;
}

.rythmo-steps-grid .step-card p {
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #787470 !important;
    line-height: 1.65 !important;
    margin-bottom: 0 !important;
}

/* 21.4. IMMERSION / MALLE SECTION */
.rythmo-immersion-section {
    background: #111111 !important;
}

.rythmo-immersion-section h2 {
    font-family: var(--sdh-font-title), sans-serif !important;
    font-size: clamp(2rem, 3.5vw, 2.8rem) !important;
    font-weight: 700 !important;
    color: #f0ede6 !important;
    margin-bottom: 1.5rem !important;
    border-left: none !important;
    padding-left: 0 !important;
    text-transform: lowercase !important;
}

.rythmo-immersion-section p {
    font-size: 18px !important;
    font-weight: 300 !important;
    color: #a09d96 !important;
    line-height: 1.75 !important;
    margin-bottom: 1.5rem !important;
}

.rythmo-immersion-section p strong {
    color: #f0ede6 !important;
}

.rythmo-immersion-section .objects-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 1.5rem !important;
}

.rythmo-immersion-section .tag {
    padding: 6px 14px !important;
    border: 1px solid #2a2a2a !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #787470 !important;
    letter-spacing: 0.05em !important;
    transition: border-color 0.2s, color 0.2s !important;
    display: inline-block !important;
}

.rythmo-immersion-section .tag:hover {
    border-color: var(--rythmo-accent) !important;
    color: var(--rythmo-accent) !important;
}

/* Sound Viz Animation */
.rythmo-immersion-section .sound-viz {
    display: flex !important;
    align-items: flex-end !important;
    gap: 4px !important;
    height: 120px !important;
    padding: 1.5rem !important;
    background: #0d0d0d !important;
    border: 1px solid #1e1e1e !important;
    margin-bottom: 0.75rem !important;
}

.rythmo-immersion-section .bar {
    flex: 1 !important;
    background: var(--rythmo-accent) !important;
    opacity: 0.6 !important;
    animation: rythmoPulse 1.2s ease-in-out infinite !important;
}

@keyframes rythmoPulse {

    0%,
    100% {
        transform: scaleY(0.3);
    }

    50% {
        transform: scaleY(1);
    }
}

.rythmo-immersion-section .bar:nth-child(1) {
    animation-delay: 0s;
    height: 80%;
}

.rythmo-immersion-section .bar:nth-child(2) {
    animation-delay: 0.1s;
    height: 55%;
}

.rythmo-immersion-section .bar:nth-child(3) {
    animation-delay: 0.2s;
    height: 90%;
}

.rythmo-immersion-section .bar:nth-child(4) {
    animation-delay: 0.05s;
    height: 40%;
}

.rythmo-immersion-section .bar:nth-child(5) {
    animation-delay: 0.3s;
    height: 70%;
}

.rythmo-immersion-section .bar:nth-child(6) {
    animation-delay: 0.15s;
    height: 100%;
}

.rythmo-immersion-section .bar:nth-child(7) {
    animation-delay: 0.25s;
    height: 60%;
}

.rythmo-immersion-section .bar:nth-child(8) {
    animation-delay: 0.08s;
    height: 45%;
}

.rythmo-immersion-section .bar:nth-child(9) {
    animation-delay: 0.35s;
    height: 85%;
}

.rythmo-immersion-section .bar:nth-child(10) {
    animation-delay: 0.18s;
    height: 50%;
}

.rythmo-immersion-section .bar:nth-child(11) {
    animation-delay: 0.28s;
    height: 75%;
}

.rythmo-immersion-section .bar:nth-child(12) {
    animation-delay: 0.12s;
    height: 95%;
}

.rythmo-immersion-section .bar:nth-child(13) {
    animation-delay: 0.22s;
    height: 35%;
}

.rythmo-immersion-section .bar:nth-child(14) {
    animation-delay: 0.32s;
    height: 65%;
}

.rythmo-immersion-section .bar:nth-child(15) {
    animation-delay: 0.04s;
    height: 88%;
}

.rythmo-immersion-section .viz-caption {
    font-size: 11px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: #3a3a3a !important;
    text-align: center !important;
    margin-top: 0 !important;
}

/* 21.5. PERFORMANCE / PUBLIC SECTION */
.rythmo-public-section {
    background: var(--rythmo-accent) !important;
    color: #0d0d0d !important;
    text-align: center !important;
}

.rythmo-public-section h2 {
    font-family: var(--sdh-font-title), sans-serif !important;
    font-size: clamp(2.5rem, 6vw, 5rem) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    color: #0d0d0d !important;
    margin-bottom: 1.5rem !important;
    border-left: none !important;
    padding-left: 0 !important;
    text-transform: lowercase !important;
}

.rythmo-public-section p {
    font-size: 1.1rem !important;
    font-weight: 300 !important;
    color: #1a3a2a !important;
    max-width: 55ch !important;
    margin: 0 auto 1.5rem !important;
    line-height: 1.7 !important;
}

.rythmo-public-section p:last-child {
    margin-bottom: 0 !important;
}

/* 21.6. INFOS SECTION */
.rythmo-infos-section {
    background: #1a1a1a !important;
    /* Borders between cells grid simulated */
    padding: 0 !important;
}

.rythmo-infos-columns {
    gap: 1px !important;
}

.rythmo-infos-columns .info-block {
    background: #0d0d0d !important;
    padding: 3rem 2.5rem !important;
    margin: 0 !important;
}

.rythmo-infos-columns .info-block .info-label {
    font-size: 10px !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    color: var(--rythmo-accent) !important;
    margin-bottom: 1rem !important;
}

.rythmo-infos-columns .info-block .info-value {
    font-family: var(--sdh-font-title), sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #f0ede6 !important;
    line-height: 1 !important;
    margin-bottom: 0.5rem !important;
    text-transform: lowercase !important;
}

.rythmo-infos-columns .info-block .info-detail {
    font-size: 13px !important;
    font-weight: 300 !important;
    color: #5a5750 !important;
    line-height: 1.55 !important;
    margin-bottom: 0 !important;
}

/* 21.7. FINAL CTA SECTION */
.rythmo-final-section {
    background: #111111 !important;
    text-align: center !important;
    padding: 6rem 10% !important;
}

.rythmo-final-section h2 {
    font-family: var(--sdh-font-title), sans-serif !important;
    font-size: clamp(2rem, 5vw, 4rem) !important;
    font-weight: 800 !important;
    color: #f0ede6 !important;
    max-width: 18ch !important;
    margin: 0 auto 1.5rem !important;
    line-height: 1.15 !important;
    border-left: none !important;
    padding-left: 0 !important;
    text-transform: lowercase !important;
}

.rythmo-final-section p {
    font-size: 18px !important;
    font-weight: 300 !important;
    color: #787470 !important;
    max-width: 50ch !important;
    margin: 0 auto 2.5rem !important;
    line-height: 1.7 !important;
}

.rythmo-final-section .cta-group {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
}

.rythmo-final-section .cta-primary a {
    padding: 14px 32px !important;
    background: var(--rythmo-accent) !important;
    color: #0d0d0d !important;
    font-family: var(--sdh-font-body), sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.rythmo-final-section .cta-primary a:hover {
    background: var(--rythmo-accent-hover) !important;
}

.rythmo-final-section .cta-secondary a {
    padding: 14px 32px !important;
    background: transparent !important;
    color: #f0ede6 !important;
    font-family: var(--sdh-font-body), sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: border-color 0.2s !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.rythmo-final-section .cta-secondary a:hover {
    border-color: var(--rythmo-accent) !important;
}

/* 21.8. RESPONSIVE ADAPTATIONS */
@media (max-width: 768px) {
    .rythmo-steps-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .rythmo-steps-grid .step-card {
        width: 100% !important;
        margin-bottom: 1px !important;
    }

    .rythmo-infos-columns {
        display: flex !important;
        flex-direction: column !important;
    }

    .rythmo-infos-columns .info-block {
        width: 100% !important;
        margin-bottom: 1px !important;
        padding: 2rem 1.5rem !important;
    }
}

/* ==========================================================================
   22. DESIGN ÉPURÉ ET AÉRÉ POUR BOBBYLAND (POST 2472)
   ========================================================================== */

/* Augmente le volume d'air (padding vertical) pour chaque section et ajoute une ligne séparatrice discrète */
.postid-2472 .sdh-fullwidth-main>.wp-block-group {
    padding-top: clamp(120px, 10vw, 180px) !important;
    padding-bottom: clamp(120px, 10vw, 180px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Pas de ligne séparatrice pour le hero ni pour la dernière section */
.postid-2472 .sdh-fullwidth-main>.wp-block-cover:first-of-type,
.postid-2472 .sdh-fullwidth-main>.wp-block-group:last-of-type {
    border-bottom: none !important;
}

/* Annule l'effet de citation immersive global imposé par le thème sur le 3e groupe de la page */
.postid-2472 .sdh-fullwidth-main>.wp-block-group:nth-of-type(3) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: clamp(120px, 10vw, 180px) 10% !important;
    margin: 0 !important;
    text-align: left !important;
}

/* Rétablit les textes par défaut de la section 3 (qui étaient déformés en citation) */
.postid-2472 .sdh-fullwidth-main>.wp-block-group:nth-of-type(3) p:first-of-type {
    font-size: 18px !important;
    font-style: normal !important;
    line-height: 1.85 !important;
    color: var(--sdh-text-muted) !important;
    font-weight: 400 !important;
    margin-bottom: 24px !important;
}

.postid-2472 .sdh-fullwidth-main>.wp-block-group:nth-of-type(3) p:last-of-type {
    font-size: 18px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: var(--sdh-text-muted) !important;
    margin-top: 0 !important;
}

.postid-2472 .sdh-fullwidth-main>.wp-block-group:nth-of-type(3) .wp-block-column h2 {
    font-family: var(--font-sdh), sans-serif !important;
    font-size: clamp(28px, 4vw, 40px) !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
    border-left: 4px solid var(--sdh-orange) !important;
    padding-left: 20px !important;
    color: #ffffff !important;
    text-align: left !important;
}

/* Carte d'Atelier dans l'introduction (Section 1) : Épurée et minimaliste */
.postid-2472 .bobbyland-cta-card {
    background: #121212 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: clamp(30px, 4vw, 50px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.postid-2472 .bobbyland-cta-card:hover {
    border-color: rgba(255, 85, 0, 0.3) !important;
    box-shadow: 0 25px 60px rgba(255, 85, 0, 0.05) !important;
}

/* Section d'appel à l'action finale : Fond sombre unifié et aéré */
.postid-2472 .bobbyland-final-cta {
    background: transparent !important;
    padding-top: clamp(140px, 12vw, 200px) !important;
    padding-bottom: clamp(140px, 12vw, 200px) !important;
    text-align: center !important;
}

.postid-2472 .bobbyland-final-cta h2 {
    font-family: var(--font-sdh), sans-serif !important;
    font-size: clamp(36px, 5vw, 58px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: #ffffff !important;
    margin-bottom: 25px !important;
}

.postid-2472 .bobbyland-final-cta p {
    font-size: 20px !important;
    line-height: 1.8 !important;
    color: var(--sdh-text-muted) !important;
    max-width: 720px !important;
    margin: 0 auto 50px auto !important;
}

/* Structure en 3 colonnes du bas (Innovation/Ancrage/Structure) */
.postid-2472 .sdh-fullwidth-main>.wp-block-group:nth-of-type(6) .wp-block-column {
    padding: 0 15px !important;
}

.postid-2472 .sdh-fullwidth-main>.wp-block-group:nth-of-type(6) h4 {
    font-family: var(--font-sdh), sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.01em !important;
}

.postid-2472 .sdh-fullwidth-main>.wp-block-group:nth-of-type(6) p {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: var(--sdh-text-muted) !important;
}

/* Ajoute un espacement plus aéré sur les côtés des colonnes de texte */
.postid-2472 .wp-block-column {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* ==========================================================================
   24. OPACITÉ GLOBALE DE L'OVERLAY DES HEROS (20%)
   ========================================================================== */

/* Force l'opacité de l'overlay d'obscurcissement à 20% pour le premier bloc Cover (Hero) de chaque page */
.wp-block-cover:first-of-type .wp-block-cover__background {
    opacity: 0.20 !important;
}

/* ==========================================================================
   26. CHRONOLOGIE POUR LES PROJETS EN COURS (TIMELINE)
   ========================================================================== */

.sdh-timeline-container {
    position: relative;
    max-width: 850px;
    margin: 60px auto !important;
    padding: 20px 0;
    box-sizing: border-box;
}

/* Axe central de la timeline */
.sdh-timeline-container::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 85, 0, 0.2);
    transform: translateX(-50%);
}

.sdh-timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 50px;
    position: relative;
}

.sdh-timeline-item:last-child {
    margin-bottom: 0;
}

/* Bulle/Point central sur la timeline */
.sdh-timeline-item::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 24px;
    width: 12px;
    height: 12px;
    background-color: var(--sdh-orange);
    border: 3px solid #0b0b0b;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(255, 85, 0, 0.5);
    z-index: 2;
    transition: all 0.3s ease;
}

.sdh-timeline-item:hover::after {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.8);
}

.sdh-timeline-left,
.sdh-timeline-right {
    width: 45%;
    box-sizing: border-box;
}

.sdh-timeline-left {
    text-align: right;
}

.sdh-timeline-right {
    text-align: left;
}

.sdh-timeline-date {
    font-family: var(--font-sdh), sans-serif;
    font-weight: 800;
    color: var(--sdh-orange);
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 18px;
    display: inline-block;
}

/* Carte contenant les infos de l'étape */
.sdh-timeline-card {
    background: rgba(255, 255, 255, 0.015) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 6px !important;
    padding: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-align: left;
}

.sdh-timeline-card:hover {
    border-color: rgba(255, 85, 0, 0.3) !important;
    background: rgba(255, 85, 0, 0.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 85, 0, 0.1) !important;
}

.sdh-timeline-card h4 {
    margin: 0 0 10px 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: capitalize;
}

.sdh-timeline-card p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--sdh-text-muted) !important;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .sdh-timeline-container::before {
        left: 20px;
    }

    .sdh-timeline-item {
        flex-direction: column;
        padding-left: 45px;
        box-sizing: border-box;
        margin-bottom: 40px;
    }

    .sdh-timeline-item::after {
        left: 20px;
        top: 8px;
    }

    .sdh-timeline-left,
    .sdh-timeline-right {
        width: 100%;
        text-align: left;
    }

    .sdh-timeline-left {
        margin-bottom: 8px;
    }

    .sdh-timeline-date {
        margin-top: 0;
    }
}

/* =============================================================================
   27. MASQUER L'AUTEUR SUR TOUT LE SITE
   ============================================================================= */
.wp-block-post-author,
.wp-block-post-author-name,
.wp-block-post-author-biography,
.entry-author,
.post-author,
.author,
.sdh-post-meta-main {
    display: none !important;
}

/* =============================================================================
   28. CENTRAGE ET ALIGNEMENT DES IMAGES ET GALERIES DE L'ARTICLE
   ============================================================================= */
.sdh-post-content .wp-block-image:not(.alignfull):not(.alignwide),
.sdh-post-content .wp-block-gallery,
.sdh-post-content .wp-block-galleryberg-gallery,
.sdh-post-content>.alignwide {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 10% !important;
    padding-right: 10% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {

    .sdh-post-content .wp-block-image:not(.alignfull):not(.alignwide),
    .sdh-post-content .wp-block-gallery,
    .sdh-post-content .wp-block-galleryberg-gallery,
    .sdh-post-content>.alignwide {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* =============================================================================
   29. CENTRAGE GLOBAL DES IMAGES (HORS ALIGNEMENTS SPÉCIFIQUES)
   ============================================================================= */
.wp-block-image:not(.alignleft):not(.alignright),
figure.wp-block-image:not(.alignleft):not(.alignright) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.wp-block-image:not(.alignleft):not(.alignright) img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

.wp-block-image figcaption {
    text-align: center !important;
    margin-top: 0.5rem !important;
}