.elementor-kit-948{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-948 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* === Légende / chapo responsive === */
.entry-teaser {
   font-style: italic !important;
   font-weight: 500 !important;
   font-size: 20px !important;
   color: #000000 !important;
   line-height: 1.6 !important;
   margin-top: 50px;
}


/* Mobile portrait (≤ 767px) */
@media (max-width: 767px) {
   .entry-teaser {
       font-weight: 500 !important;
       font-size: 19px !important;
       display: block;
       margin-top: 33px !important;
   }
}
 
/* Mobile grand portrait (≤ 768px) */
@media (max-width: 880px) {
   .entry-teaser {
       font-weight: 500 !important;
       font-size: 19px !important;
       display: block;
       margin-top: 33px !important;
   }
}
 
/* Mobile paysage / tablette (769px – 1024px) */
@media (min-width: 881px) and (max-width: 1024px) {
   .entry-teaser {
       font-weight: 500 !important;
       font-size: 20px !important;
       display: block;
       margin-top: 28px !important;
   }
}
 
/* Desktop moyen (1025px – 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
   .entry-teaser {
       font-weight: 500 !important;
       font-size: 20px !important;
       display: block;
       margin-top: 28px !important;
   }
}
 
/* Grand desktop (1201px et +) */
@media (min-width: 1201px) {
   .entry-teaser {
       font-weight: 500 !important;
       font-size: 20px !important;
       display: block;
       margin-top: 28px !important;
   }
}
 
 
/* === TITRES === */
.post__title {
   margin-top: 0px !important;
}
 
.post__title.typescale-0,
.post__title.typescale-0 a {
   text-transform: capitalize !important;
}
 
.post__text .post__title.typescale-0 {
   text-transform: capitalize !important;
}
 
.post__title.typescale-4 {
   color: #153e57 !important;
   text-transform: none !important;
}
 
/* === TAGS === */
.entry-tags {
   width: 100%;
}
 
.entry-tags ul {
   display: flex;
   flex-wrap: wrap;
   justify-content: flex-start;
   list-style: none;
   padding: 0;
   row-gap: 10px;
   column-gap: 8px;
   width: 100%;
}
 
.entry-tags ul li {
   flex-grow: 0;
   text-align: left;
}
 
/* Article principal */
.single-post .entry-tags ul,
body.single .entry-tags ul {
   margin: -70px 0 30px 0;
}

/* Mobile portrait (jusqu'à 480px) */
@media (max-width: 480px) {
    .single-post .entry-tags ul,
    body.single .entry-tags ul {
        margin: -20px 0 -110px 0 !important;
    }
}

/* Mobile paysage (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .single-post .entry-tags ul,
    body.single .entry-tags ul {
        margin: -70px 0 30px 0 !important;
    }
}

/* Tablette portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .single-post .entry-tags ul,
    body.single .entry-tags ul {
        margin: 0px 0 0px 0 !important;
    }
}
 
/* Articles liés / listes */
.post--horizontal .entry-tags ul,
.post-item .entry-tags ul,
.elementor-post .entry-tags ul {
   margin: -30px 0 20px 0;
}
 
/* Icône tag — alignement responsive */
.entry-tags .mdicon-local_offer {
   vertical-align: middle;
   margin-top: -134px !important;
}

/* ===== ICÔNE TAG — ALIGNEMENT RESPONSIVE ===== */

/* Mobile portrait (jusqu'à 480px) */
@media (max-width: 480px) {
    .entry-tags .mdicon-local_offer {
        vertical-align: middle;
        margin-top: -31px !important;
    }
}

/* Mobile paysage (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .entry-tags .mdicon-local_offer {
        vertical-align: middle;
        margin-top: -134px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .entry-tags .mdicon-local_offer {
        transform: translateY(70px) !important;
        vertical-align: middle !important;
    }
}
 
/* === SITE CONTENT MOBILE === */
@media (max-width: 768px) {
   .single-entry .site-content,
   .site-content {
       padding-top: 0 !important;
       padding-bottom: 50px;
   }
}
 
/* === POSTS NAVIGATION MOBILE === */
@media (max-width: 768px) {
   .posts-navigation.single-entry-section.clearfix {
       display: flex !important;
       flex-direction: row !important;
       justify-content: space-between !important;
       flex-wrap: nowrap !important;
       gap: 0 !important;
       width: 100% !important;
       box-sizing: border-box !important;
       padding: 0 !important;
       margin: 0 !important;
       margin-top:0px! important;
   }
 
   .posts-navigation__prev {
       margin-right: auto !important;
       margin-left: 0 !important;
       padding: 0 !important;
   }
 
   .posts-navigation__next {
       margin-left: auto !important;
       margin-right: 0 !important;
       padding: 0 !important;
   }
}
 
/* === PARTAGE ET AUTEUR === */
.post-share-and-meta a,
.post-share-and-meta .post-share a {
   background-color: #153e57 !important;
   color: #ffffff !important;
}
 
.post-share-and-meta a:hover,
.post-share-and-meta .post-share a:hover {
   background-color: #0f2c3d !important;
   color: #ffffff !important;
}
 
.post-share-and-meta .entry-author a {
   background: none !important;
   color: #153e57 !important;
}
 
.post-share-and-meta .entry-author a:hover {
   color: #0f2c3d !important;
}
 
.post-share-and-meta,
.post-share-and-meta span,
.post-share-and-meta strong,
.post-share-and-meta time.published {
   color: #153e57 !important;
   background: none !important;
}
 
/* === BLOCKQUOTE === */
.single-entry blockquote {
   color: #153e57 !important;
   border-left: 2px solid #153e57 !important;
   background: none !important;
   position: relative;
   font-style: italic;
   padding: 70px 25px 10px 25px;
   margin-top: 25px;
   margin-bottom: 25px;
   line-height: 1.6;
}
 
.single-entry blockquote::before {
   content: """;
   font-size: 140px;
   position: absolute;
   top: 32px;
   left: 10px;
   color: #153e57 !important;
}
 
.single-entry blockquote::after {
   color: #153e57 !important;
}
 
/* === DATE ARTICLES === */
.time.published i.mdicon-schedule {
   display: none !important;
}
 
.time.published::first-letter {
   visibility: hidden;
}

/* === COMMENTAIRES FERMÉS === */
.comments-section.single-entry-section,
#comments.comments-area,
.nocomments {
   margin-bottom: 0 !important;
   padding-bottom: 0 !important;
}
 
.comments-section.single-entry-section:has(.nocomments) {
   display: none;
}
 
/* === COPYRIGHT FOOTER === */
.elementor-widget-container p span[style*="font-size: 10px"] {
   display: block !important;
   padding-top: 79px !important;
}
 
@media (min-width: 769px) and (max-width: 1024px) {
   .elementor-widget-container p span[style*="font-size: 10px"] {
       padding-top: 50px !important;
   }
}
 
@media (min-width: 1025px) {
   .elementor-widget-container p span[style*="font-size: 10px"] {
       padding-top: 0 !important;
   }
}
 
/* === HERO TITLE === */
@media (min-width: 1025px) {
   h3.hero-title {
       font-size: 28px !important;
   }
}
 
@media (max-width: 1024px) {
   h3.hero-title {
       font-size: 24px !important;
   }
}
 
/* === BLOCKQUOTE ELEMENTOR === */
.elementor-widget-text-editor blockquote {
   font-style: normal !important;
   font-size: 21px;
   font-weight: 400;
}
 
.elementor-widget-text-editor blockquote p {
   font-style: italic !important;
}

/* Masquer immédiatement au chargement, avant le JS */
.related-posts article:has(a[href*="/selection-"]) {
    display: none !important;
}

/* Related posts - titre au-dessus des images */
.related-posts .block-heading__title {
    position: relative;
    z-index: 10;
}

/* Alternative : Masquer tous liens téléchargement sous audio */
audio + p a,
.wp-block-audio .wp-block-audio__button,
.mejs__controls .mejs__button {
    display: none !important;
}

/* Arrondir le player SSP Castos */
.castos-player,
.castos-player .player {
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* Arrondir aussi les panneaux subscribe/share */
.castos-player .player-panels {
    border-radius: 10px !important;
}

.podcast_meta,
.podcast_meta a,
.podcast_meta .podcast-meta-duration {
    color: #153e57;
    font-weight: 500;
    margin-top: -10px;
}

/* Mobile portrait (max 767px) */
@media (max-width: 767px) {
    .podcast_meta,
    .podcast_meta a,
    .podcast_meta .podcast-meta-duration {
        margin-bottom: -30px !important;
    }
}

/* Tablette paysage (768px - 1024px) optionnel */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .podcast_meta {
        margin-bottom: -30px !important;
    }
}

/* Container principal */
.podcast-player {
    background: #f5f5f5 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* Titre épisode */
.player__episode-title {
    font-size: 14px !important;
    color: #ffffff !important;
    font-weight: 400 !important;
}

.episode-title.player__episode-title {
    text-transform: uppercase !important;
}

.episode-title.player__episode-title::first-letter {
    text-transform: uppercase !important;
}

/* Bouton play/pause */
.mejs-button.mejs-playpause-button {
    background: #407F7F !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
}

/* Barre de progression */
.mejs-time-rail .mejs-time-total {
    background: #ddd !important;
    border-radius: 10px !important;
    height: 6px !important;
}

.mejs-time-rail .mejs-time-current {
    background: #C1440E !important;
}

/* Volume slider */
.mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    background: #407F7F !important;
}

/* Contrôles */
.mejs-controls {
    background: transparent !important;
}

/* Cache durée totale + slash */
.playback__timers .ssp-duration,
.playback__timers span {
    display: none !important;
}

/* Garde seulement timer progressif */
.playback__timers .ssp-timer {
    display: block !important;
}

/* Share → Partager */
.player__subscribe-button::before {
    content: "Partager" !important;
}

/* Subscribe → S'abonner */
.mejs__subscribe-button::before,
.player__subscribe-button {
    content: "S'abonner" !important;
}

/* Forcer affichage de tous les onglets entre 992px et 1999px */
@media (min-width: 992px) and (max-width: 1200px) {
    
    /* Masquer le bouton "More" */
    .priority-nav__more {
        display: none !important;
    }
    
    /* Réafficher les items qui ont été déplacés dans "More" */
    #menu-item-15791, /* LE MAGAZINE */
    #menu-item-15785  /* ENGLISH */
    {
        display: inline-block !important;
        visibility: visible !important;
        position: static !important;
    }
    
    /* Les remettre au même niveau que les autres onglets */
    .priority-nav__more #menu-item-15791,
    .priority-nav__more #menu-item-15785 {
        display: inline-block !important;
    }
    
    /* Compresser l'espace */
    .navigation--main > li {
        margin-left: 3px !important;
        margin-right: 3px !important;
    }
    
    .navigation--main > li > a {
        font-size: 13px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    /* Réduire logo */
    .site-logo {
        margin-right: 10px !important;
        max-width: 140px !important;
    }
    
    /* Réduire icônes sociales */
    .social-list li {
        margin: 0 2px !important;
    }
    
    /* Réduire bouton recherche */
    .navigation-bar-btn {
        padding: 5px !important;
    }
}



/* === NAVIGATION SELECTION - ESPACEMENT FIXE === */

/* Mobile portrait (≤ 480px) */
@media (max-width: 480px) {
    .selection-custom-navigation {
        margin-top: 30px !important;
        margin-bottom: 15px !important;
    }
}

/* Mobile paysage (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .selection-custom-navigation {
        margin-top: 40px !important;
        margin-bottom: 10px !important;
    }
}

/* Tablette portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .selection-custom-navigation {
        margin-top: 30px !important;
        margin-bottom: 10px !important;
    }
}

/* Desktop moyen (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .selection-custom-navigation {
        margin-top: 0px !important;
        margin-bottom: 10px !important;
    }
}

/* Desktop standard - 1366px typique (1201px - 1440px) */
@media (min-width: 1201px) and (max-width: 1440px) {
    .selection-custom-navigation {
        margin-top: -0px !important;
        margin-bottom: 5px !important;
    }
}

/* Grand écran (1441px et +) */
@media (min-width: 1441px) {
    .selection-custom-navigation {
        margin-top: 0px !important;
        margin-bottom: 5px !important;
    }
}

/* === ESPACEMENT TAGS → FOOTER === */


@media (max-width: 480px) {
    body.single-format-gallery .entry-tags {
        margin-bottom: 20px !important;
    }
}




/* Mobile portrait (≤ 767px) */
@media (max-width: 767px) {
    .entry-tags {
        margin-bottom: 0px !important;
    }
}

/* Tablette portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .entry-tags {
        margin-bottom: -15px !important;
    }
}

/* Desktop moyen (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .entry-tags {
        margin-bottom: -20px !important;
    }
}

/* Grand desktop (1201px - 1440px) */
@media (min-width: 1201px) and (max-width: 1440px) {
    .entry-tags {
        margin-bottom: 0px !important;
    }
}

/* Très grand écran (1441px et +) */
@media (min-width: 1441px) {
    .entry-tags {
         margin-top: -20px !important;
        margin-bottom: 0px !important;
    }
}

/* === POSITION BOUTONS PARTAGE - ARTICLES STANDARD (texte à gauche) === */

/* Mobile portrait (≤ 480px) */
@media (max-width: 480px) {
    body.single-format-standard .post-sharing.post-sharing--simple {
        transform: translateX(0px) !important;
    }
}

/* Mobile paysage (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    body.single-format-standard .post-sharing.post-sharing--simple {
        transform: translateX(0px) !important;
    }
}

/* Tablette portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    body.single-format-standard .post-sharing.post-sharing--simple {
        transform: translateX(-175px) !important;
    }
}

/* Tablette paysage (992px - 1024px) */
@media (min-width: 992px) and (max-width: 1024px) {
    body.single-format-standard .post-sharing.post-sharing--simple {
        transform: translateX(-95px) !important;
    }
}

/* Desktop moyen (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    body.single-format-standard .post-sharing.post-sharing--simple {
        transform: translateX(-105px) !important;
    }
}

/* Grand desktop (1201px - 1440px) */
@media (min-width: 1201px) and (max-width: 1440px) {
    body.single-format-standard .post-sharing.post-sharing--simple {
        transform: translateX(-310px) !important;
    }
}

/* Très grand écran (1441px et +) */
@media (min-width: 1441px) {
    body.single-format-standard .post-sharing.post-sharing--simple {
        transform: translateX(-315px) !important;
    }
}


/* Remplacer l'icône Twitter par X */
.share-item__icon .mdicon-twitter {
    font-family: inherit !important;
    font-weight: bold;
    font-style: normal;
    font-size: 16px;
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    color: #ffffff;
}

.share-item__icon .mdicon-twitter::before {
    content: "𝕏";
    font-family: inherit;
    font-size: 17px;
    margin-left: -0.8px;
    margin-top:5px;
}

/* === ESPACEMENT ARTICLES À EXPLORER, DERNIERS ARTICLES ET CATÉGORIES === */
/* Valeurs par défaut (desktop large > 1440px) */
:root {
  --spacing-before-explorer: -10px;
  --spacing-explorer-to-image: -20px;
  --spacing-image-to-title: 5px;
  --spacing-before-derniers: 15px;
  --spacing-derniers-to-content: 30px;
  --spacing-before-categories: 15px;
  --spacing-categories-to-content: 30px;
}
/* Desktop standard (jusqu'à 1440px) */
@media (max-width: 1440px) {
  :root {
    --spacing-before-explorer: -30px;
    --spacing-explorer-to-image: -30px;
    --spacing-image-to-title: 5px;
    --spacing-before-derniers: 15px;
    --spacing-derniers-to-content: 30px;
    --spacing-before-categories: 15px;
    --spacing-categories-to-content: 30px;
  }
}
/* Desktop moyen (jusqu'à 1200px) */
@media (max-width: 1200px) {
  :root {
    --spacing-before-explorer: 0px;
    --spacing-explorer-to-image: -30px;
    --spacing-image-to-title: 5px;
    --spacing-before-derniers: 10px;
    --spacing-derniers-to-content: 30px;
    --spacing-before-categories: 10px;
    --spacing-categories-to-content: 30px;
  }
}
/* Tablette paysage (jusqu'à 1024px) */
@media (max-width: 1024px) {
  :root {
    --spacing-before-explorer: -20px;
    --spacing-explorer-to-image: -35px;
    --spacing-image-to-title: 5px;
    --spacing-before-derniers: 0px;
    --spacing-derniers-to-content: 30px;
    --spacing-before-categories: -80px;
    --spacing-categories-to-content: 30px;
  }
}
/* Tablette portrait (jusqu'à 880px) */
@media (max-width: 991px) {
  :root {
    --spacing-before-explorer: 40px;
    --spacing-explorer-to-image: -35px;
    --spacing-image-to-title: 15px;
    --spacing-before-derniers: -20px;
    --spacing-derniers-to-content: 35px;
    --spacing-before-categories: 0px;
    --spacing-categories-to-content: 35px;
  }
}
/* Mobile paysage (jusqu'à 768px) */
@media (max-width: 768px) {
  :root {
    --spacing-before-explorer: 50px;
    --spacing-explorer-to-image: 25px;
    --spacing-image-to-title: 15px;
    --spacing-before-derniers: -60px;
    --spacing-derniers-to-content: 35px;
    --spacing-before-categories: 0px;
    --spacing-categories-to-content: 35px;
  }
}
/* Mobile portrait (jusqu'à 480px) */
@media (max-width: 480px) {
  :root {
    --spacing-before-explorer: 35px;
    --spacing-explorer-to-image: 30px;
    --spacing-image-to-title: 15px;
    --spacing-before-derniers: -30px;
    --spacing-derniers-to-content: 35px;
    --spacing-before-categories: 0px;
    --spacing-categories-to-content: 35px;
  }
}

/* Articles à explorer - Espace au-dessus du titre */
.related-posts.single-entry-section {
  margin-top: var(--spacing-before-explorer) !important;
}
/* Articles à explorer - Espace entre titre et images */
.related-posts .posts_listing_grid__wrap {
  margin-top: var(--spacing-explorer-to-image) !important;
}
/* Articles à explorer - Espace entre image et titre article */
.related-posts .post__thumb {
  margin-bottom: var(--spacing-image-to-title) !important;
}
/* Derniers articles */
.widget__title {
  margin-top: var(--spacing-before-derniers) !important;
  margin-bottom: var(--spacing-derniers-to-content) !important;
}
/* Catégories - Espace au-dessus du titre */
#bk_widget_category_titles-3 .widget__title {
  margin-top: var(--spacing-before-categories) !important;
  margin-bottom: var(--spacing-categories-to-content) !important;
}

/* === CORRECTIONS HOMEPAGE UNIQUEMENT === */
/* Tablette portrait (jusqu'à 880px) - Homepage */
@media (max-width: 880px) {
  body.home #bk_widget_posts_list-3 .widget__title {
    margin-top: 0px !important;
  }
}
/* Mobile paysage (jusqu'à 767px) - Homepage */
@media (max-width: 767px) {
  body.home #bk_widget_posts_list-3 .widget__title {
    margin-top: 0px !important;
  }
}
/* Mobile portrait (jusqu'à 480px) - Homepage */
@media (max-width: 480px) {
  body.home #bk_widget_posts_list-3 .widget__title {
    margin-top: 0px !important;
  }
}

/* Réduire l'espace au-dessus des titres "Explorer" et "Articles" sur homepage - Mobile portrait et paysage */
@media (max-width: 767px) {
  body.home .block-heading__title {
    margin-top: -40px !important;
    padding-top: 0px !important;
  }
  
  body.home .block-heading {
    margin-top: 0px !important;
    padding-top: 0px !important;
  }
}

/* === TITRES – tous médias === */

/* Mobile portrait (≤ 480px) */
@media (max-width: 480px) {
  .post__title {
    margin-top: 10px !important;
  }
}

/* Mobile paysage (481px – 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .post__title {
    margin-top: 10px !important;
  }
}

/* Tablette portrait (768px – 880px) */
@media (min-width: 768px) and (max-width: 880px) {
  .post__title {
    margin-top: 10px !important;
  }
}

/* Tablette paysage (881px – 1024px) */
@media (min-width: 881px) and (max-width: 1024px) {
  .post__title {
    margin-top: 0px !important;
  }
}

/* Desktop moyen (1025px – 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  .post__title {
    margin-top: 0px !important;
  }
}

/* Grand desktop (1201px et +) */
@media (min-width: 1201px) {
  .post__title {
    margin-top: 0px !important;
  }
}

/* === ESPACE AU-DESSUS H1 - FORMAT GALLERY (podcasts) === */

/* Mobile portrait (≤ 480px) */
@media (max-width: 480px) {
  body.single-format-gallery .post__title {
    margin-top: 0px !important;
  }
}

/* Mobile paysage (481px – 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  body.single-format-gallery .post__title {
    margin-top: 0px !important;
  }
}

/* Tablette portrait (768px – 880px) */
@media (min-width: 768px) and (max-width: 880px) {
  body.single-format-gallery .post__title {
    margin-top: -50px !important;
  }
}

/* Tablette paysage (881px – 1024px) */
@media (min-width: 881px) and (max-width: 1024px) {
  body.single-format-gallery .post__title {
    margin-top: 0px !important;
  }
}

/* Desktop moyen (1025px – 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  body.single-format-gallery .post__title {
    margin-top: -20px !important;
  }
}

/* Desktop large (1201px – 1440px) */
@media (min-width: 1201px) and (max-width: 1440px) {
  body.single-format-gallery .post__title {
    margin-top: 30px !important;
  }
}

/* Très grand desktop (1441px et +) */
@media (min-width: 1441px) {
  body.single-format-gallery .post__title {
    margin-top: 35px !important;
  }
}

.player__podcast-title {
    font-weight: 300 !important;
}

.lire-article {
    font-size: 13px;
    font-weight: 600;
    color: #005f7f;
    text-decoration: underline !important; 
    cursor: pointer;
    position: relative;
    z-index: 9999;
    display: inline-block;
    padding: 2px 5px;
    transition: color 0.3s ease;
}

/* Quand le lien a déjà été visité */
.lire-article:visited {
    color: #005f7f !important;
    text-decoration: underline !important;
}

/* Au survol */
.lire-article:hover {
    color: #A9A9A9 !important;
    text-decoration: underline !important;
}

/* Quand on clique (actif) */
.lire-article:active {
    color: #A9A9A9 !important;
}

/* Ajuster le cadrage des images Related Posts */
.attachment-barley-grid-size {
    object-fit: cover !important;
    object-position: center 15% !important;
}

/* === WIDGET ONGLETS - ESPACEMENT AU-DESSUS (Mobile portrait uniquement) === */

@media (max-width: 480px) {
    body.single-format-gallery .e-con.e-child.e-grid {
        margin-top: 9px !important;
    }
}

.elementor-post__thumbnail {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
}

.elementor-post__thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Grand desktop (1401px et +) */
@media (min-width: 1401px) {
    .related-posts .post__title br {
        line-height: 0.3;
    }
    .related-posts .post__title {
        line-height: 1.2 !important;
    }
}

/* Desktop + tablette paysage */
@media (min-width: 880px) and (max-width: 1400px) {
    .related-posts .post__title br {
        line-height: 0.3;
    }
    .related-posts .post__title {
        line-height: 1.4 !important;
    }
}

/* Desktop moyen (880px - 1200px) */
@media (min-width: 880px) and (max-width: 1200px) {
    .related-posts .post__title {
        margin-top: 15px !important;
    }
}

/* Mobile et tablette portrait */
@media (max-width: 879px) {
    .related-posts .post__title br {
        line-height: 0.3;
    }
    .related-posts .post__title {
        line-height: 1.37 !important;
        font-size: 23px !important;
    }
}

@media (min-width: 1200px) {
    .vertical-post .post__thumb {
        aspect-ratio: 410 / 550 !important;
        min-height: 540px !important;
        overflow: hidden !important;
    }
    .vertical-post .post__thumb img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
}

/* ============================================================
   STYLES POUR LE TITRE "ABOUT" (BARLEY + ELEMENTOR)
   ============================================================ */

/* --- 1. CONFIGURATION DESKTOP (>= 1200px) --- */
@media (min-width: 1200px) {
    .about_title h3 {
        margin-top: 40px !important;
        margin-left: 120px !important;
        font-size: 45px !important;
    }
    /* Ajustement spécifique pour l'anglais sur Desktop */
    .lang-en .about_title h3 {
        letter-spacing: 1px !important;
    }
}

/* --- 2. PETITS LAPTOPS (1025px - 1199px) --- */
@media (min-width: 1025px) and (max-width: 1199px) {
    .about_title h3 {
        margin-top: 55px !important;
        margin-left: 110px !important;
        font-size: 37px !important;
    }
}

/* --- 3. TABLETTE PORTRAIT (768px - 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .about_title h3 {
        margin-top: 30px !important;
        margin-left: 80px !important;
        font-size: 25px !important;
    }
}

/* --- 4. MOBILE PAYSAGE GRAND (568px - 1024px) --- */
@media (orientation: landscape) and (min-width: 568px) and (max-width: 1024px) {
    .about_title {
        margin-left: 75px !important;
    }
    .about_title h3 {
        margin-top: 20px !important;
        font-size: 25px !important;
        margin-left: 0 !important;
    }
}

/* --- 5. MOBILE PAYSAGE PETIT (< 568px) --- */
@media (orientation: landscape) and (max-width: 567px) {
    .about_title {
        margin-left: 40px !important;
    }
    .about_title h3 {
        margin-top: 15px !important;
        font-size: 24px !important;
        margin-left: 0 !important;
    }
}

/* Forcer affichage de tous les onglets entre 992px et 1200px */
@media (min-width: 992px) and (max-width: 1200px) {
    .priority-nav__more {
        display: none !important;
    }
    #menu-item-15791,
    #menu-item-15785 {
        display: inline-block !important;
        visibility: visible !important;
        position: static !important;
    }
    .priority-nav__more #menu-item-15791,
    .priority-nav__more #menu-item-15785 {
        display: inline-block !important;
    }
    .navigation--main > li {
        margin-left: 3px !important;
        margin-right: 3px !important;
    }
    .navigation--main > li > a {
        font-size: 13px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .site-logo {
        margin-right: 10px !important;
        max-width: 140px !important;
    }
    .social-list li {
        margin: 0 2px !important;
    }
    .navigation-bar-btn {
        padding: 5px !important;
    }
}

/* === LIGNE AUTEUR / DATE / PARTAGE === */
.post-share-and-meta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    width: 100% !important;
}

.post-share-and-meta .entry-author {
    flex-shrink: 0 !important;
}

.post-share-and-meta .time.published {
    flex-shrink: 0 !important;
    transform: none !important;
    margin-left: 0 !important;
}

.post-share-and-meta .post-sharing {
    flex-shrink: 0 !important;
    transform: none !important;
    margin-left: 0 !important;
}

/* Mobile portrait */
@media (max-width: 480px) {
    .post-share-and-meta {
        gap: 0px !important;
    }
}



/* === FORMAT GALLERY - ALIGNEMENT ICÔNES PARTAGE === */
body.single-format-gallery .post-share-and-meta {
    justify-content: flex-start !important;
}





/* Espace au-dessus du premier widget sidebar - Mobile portrait et paysage */
@media (max-width: 1024px) {
    .atbs-sub-col .widget:first-child .widget__title {
        margin-top: 30px !important;
    }
}/* End custom CSS */