/* ============================================================
   Theme    : FOXIZ
   Variante : 037
   Version  : 1.1
   Date     : 04/12/2025
   Fusion   : base + couche custom (TDM/POST/MENU) le 2026-05-05
============================================================ */

/* ============================================================
   BLOC 0 - POLICES (font harmonization, sitewide)
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;500;600;700&family=Cabin:wght@400;500;600;700&display=swap');

body {
    --cs-heading-font: "Familjen Grotesk", system-ui, sans-serif;
    --cs-body-font: "Cabin", system-ui, sans-serif;
}


/* ============================================================
   COUCHE BASE THEME
   (contenu original de style-theme037.css)
============================================================ */

/* CONTAINER - 037 */
.container__037 {
    background: var(--g-color);
}
.mbnav {
    background: var(--blanc)!important;
}
@media only screen and (min-width: 768px) {
.container__037 {
    border-radius: 22% 16% 18% 15%;
}}
/*MINIATURE - LEGENDE*/
.feat-caption {
    display:none;
}
/* FOXIZ - HEADING */
/* FOXIZ - HEADING - 037 - TITRE */
.bt-037-00__heading .heading-title {
    font-size:3.8rem;
    line-height:3.7rem;
    font-weight: var(--weight-bold);
    font-family: var(--cs-heading-font);
}
.bt-037-00__heading.tp .heading-title {
    font-size: 3rem;
    line-height: 3rem;
}
[data-theme="dark"] .bt-037-00__heading .heading-title,
[data-theme="dark"] .bt-037-00__heading .heading-title a {
    color:var(--blanc)!important;
}
.bt-037-00__heading.gauche .heading-title {
    font-size: calc(1.2rem + 0.2rem);
    line-height: calc(1.2rem + 0.1rem);
    font-weight: var(--weight-bold);
    font-family: var(--cs-heading-font);
}
.bt-037-00__heading .heading-title:after,
.bt-037-00__heading .heading-title:before  {
    width: 90px;
    height: 4px;
}
.bt-037-00__heading.droite .heading-title:after {
    margin-left: var(--heading-spacing, 20px);
    border-bottom: 5px solid var(--heading-sub-color);
}
.container__037 .bt-037-00__heading .heading-title:after,
.container__037 .bt-037-00__heading .heading-title:before  {
    background-color:var(--blanc);
}
.bt-037-00__heading  .heading-title:after {
    margin-left: 32px; 
}
.bt-037-00__heading  .heading-title:before {
    margin-right: 32px; 
}
/* FOXIZ - HEADING - 037 - TITRE - LIEN */
.bt-037-00__heading .heading-title a {
    color: var(--noir) !important;
}
.container__037 .bt-037-00__heading .heading-title a {
    color: var(--blanc) !important;
}
.container__037 .bt-037-00__heading .heading-title a:hover {
    transform:scale(1.1)!important;
}

/* FOXIZ - HEADING - 037 - BOUTON */
.bt-037-00__heading .heading-tagline {
     background-color: var(--g-color) !important;
    color: var(--blanc);
    border: 2px solid var(--g-color);
    box-shadow: 0 4px 8px color-mix(in srgb, var(--noir) 40%, transparent);
    border-radius: 0;
    font-size: 20px;
    line-height: 22px;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    padding: 20px 40px;
    border-radius: 50px;
}
.bt-037-00__heading .heading-tagline:hover {
    background: var(--blanc) !important;
    color: var(--g-color);
    border: 2px solid var(--g-color);
}
.bt-037-00__heading.et-bouton .heading-title:after {
    margin-left: var(--heading-spacing, 20px);
    border-bottom: 6px solid var(--heading-sub-color);
    max-width:220px;
    margin-top:22px;
}
.bt-037-00__heading .heading-tagline .rbi-cright:before {
    display:none;
}

/* FOXIZ - HEADING - 037 - BOUTON - Icone */
.bt-037-00__bouton .elementor-button {
    background-color: var(--g-color) !important;
    color: var(--blanc);
    border: 2px solid var(--g-color);
    box-shadow: 0 4px 8px color-mix(in srgb, var(--noir) 40%, transparent);
    border-radius: 0;
    font-size: 20px;
    line-height: 22px;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    padding: 20px 40px;
    border-radius: 50px;
}
.bt-037-00__bouton .elementor-button:hover {
    background: var(--blanc) !important;
    color: var(--g-color);
    border: 2px solid var(--g-color);
}
.container__037 .bt-037-00__bouton .elementor-button {
    background-color: var(--blanc) !important;
    color: var(--g-color);
    border: 2px solid var(--blanc);
}
.container__037 .bt-037-00__bouton .elementor-button:hover {
    background-color: var(--g-color) !important;
    color: var(--blanc);
    border: 2px solid var(--blanc);
}

/* FOXIZ - FLEX OVERLAY - 037 */
/* FOXIZ - FLEX OVERLAY - 037 - IMAGE */
.bt-037-01__flex-overlay .overlay-holder img {
    border:12px solid var(--g-color);
    border-radius: 120px 120px 360px 360px!important;
    box-shadow: 0 0px 24px color-mix(in srgb, var(--noir) 40%, transparent);
}
/* FOXIZ - FLEX OVERLAY - 037 - BLOC */
.bt-037-01__flex-overlay .p-content {
    padding:48px!important;
    text-align: center;
    background:var(--g-color)!important;
}

.bt-037-01__flex-overlay .p-gradient .overlay-inner {
    background: var(--blanc);
    width: 90%;
    border-radius: 20px 20px 250px 250px;
    padding:50px 100px!important;
    margin: 0 auto;
}
.bt-037-01__flex-overlay .overlay-wrap {
    margin: 50px !important;
    display: flex!important;
    align-items: center!important;
    justify-content: left!important;
}
.bt-037-01__flex-overlay.droite .overlay-wrap {
    justify-content: right!important;
}
/* FOXIZ - FLEX OVERLAY - 037 - TITRE */
.bt-037-01__flex-overlay .p-wrap .entry-title {
    font-size:calc(1.2rem + 1.1rem);
    line-height:calc(1.2rem + 1.3rem);
    font-weight:calc(var(--weight-bold) - 200);
    font-family: var(--cs-heading-font);
    color:var(--blanc);
    margin-bottom:0!important;
}
.bt-037-01__flex-overlay .p-wrap .entry-title a:hover {
    color:var(--blanc)!important;
    text-decoration: underline 2px var(--blanc);
}

/* FOXIZ - FLEX OVERLAY - 037 - META*/
.bt-037-01__flex-overlay .p-wrap .p-meta .meta-read,
.bt-037-01__flex-overlay .p-wrap .p-meta .meta-category a,
.bt-037-01__flex-overlay .p-wrap .p-meta .meta-update {
    font-size:calc(1rem + 0.2rem)!important;
    line-height:calc(1rem + 0.05rem)!important;
    font-weight:var(--weight-thin);
    text-align: center;
    color:var(--blanc);
}
.bt-037-01__flex-overlay .p-wrap .p-meta .meta-read:after,
.bt-037-01__flex-overlay .p-wrap .p-meta .meta-category a,
.bt-037-01__flex-overlay .p-wrap .p-meta .meta-update {
    color:var(--blanc);
}

.bt-037-01__flex-overlay .meta-el:after {
    background-color: var(--blanc)!important;
}
.bt-037-01__flex-overlay .p-wrap .p-meta {
    text-align: center;
    margin:0 auto;
    margin-bottom: 22px!important;
}
.bt-037-01__flex-overlay .p-wrap  {
    position: relative;

}
.bt-037-01__flex-overlay .p-wrap .p-meta:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: 60%;
  border-bottom: 5px solid var(--blanc);
}
/* FOXIZ - FLEX OVERLAY - 037 - ORDRE */
.bt-037-01__flex-overlay .overlay-inner.overlay-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* FOXIZ - FLEX GRID 1 - 037 */
/* FOXIZ - FLEX GRID 1 - 037 - IMAGE */
.bt-037-02__flex-grid .p-wrap .feat-holder .p-featured {
    border-radius:120px 120px 32px 32px;
    border:10px solid var(--g-color);
    box-shadow: 0 0px 24px color-mix(in srgb, var(--noir) 40%, transparent);
    margin-bottom:8px!important;
}
.container__037 .bt-037-02__flex-grid .p-wrap .feat-holder .p-featured {
    border:10px solid var(--blanc);
}
.bt-037-02__flex-grid.custom .p-wrap:nth-child(1) .feat-holder .p-featured {
    border-radius:160px 180px 80px 240px;
}
.bt-037-02__flex-grid.custom .p-wrap:nth-child(2) .feat-holder .p-featured {
    border-radius:160px 60px 140px 80px;
}
.bt-037-02__flex-grid.custom .p-wrap:nth-child(3) .feat-holder .p-featured {
    border-radius:120px 140px 240px 140px;
}

/* FOXIZ - FLEX GRID 1 - 037 - TITRE */
.bt-037-02__flex-grid .p-wrap .entry-title {
    font-size:1.4rem;
    line-height: 1.4rem;
    font-weight:var(--weight-bold);
    font-family: var(--cs-heading-font);
    text-align: center;
}
/* FOXIZ - FLEX GRID 1 - 037 - TEXTE */
.bt-037-02__flex-grid .p-wrap .entry-summary {
    font-size:1rem;
    line-height: 1rem;
    font-weight:var(--weight-normal);
    text-align: center;
}
/* FOXIZ - FLEX GRID 1 - 037 - BOUTON */
.bt-037-02__flex-grid .p-wrap .p-link {
    margin:0 auto;
    text-align: center;

}
/*Theme030Style04 > Bouton*/
.bt-037-02__flex-grid .p-wrap .p-link {
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 18px !important;
    margin-bottom: 10px;
}

.bt-037-02__flex-grid .p-wrap .p-link a {
    background-color:var(--blanc)!important;
    color:var(--g-color);
    border: 1px solid var(--g-color);
    box-shadow: 0 1px 2px color-mix(in srgb, var(--g-color) 60%, transparent);
    font-size:14px;
    line-height: 16px;
    font-weight:400!important;
    text-transform: uppercase!important;
    padding: 12px 32px;
    margin-top:8px;
    border-radius: 50px;
}
/*BOUTON > HOVER*/
.bt-037-02__flex-grid .p-wrap .p-link a:hover {
    background:var(--g-color)!important;
    color:var(--blanc);
}

.bt-037-02__flex-grid .rbi-cright {
    display:none;  
}

/* FOXIZ - FLEX GRID 1 - 037 - META - Categorie */
.bt-037-02__flex-grid .p-wrap .p-meta span {
    font-size:calc(1rem + 0.1rem)!important;
    line-height: calc(1rem + 0.8rem)!important;
    font-weight:var(--weight-normal);
    color:var(--noir);
}

/* FOXIZ - FLEX GRID 1 - 037 - META - date */
.bt-037-02__flex-grid .p-wrap .p-meta {
    text-align: center;
    margin: 0 auto;
    margin-bottom:8px!important;
}
.bt-037-02__flex-grid .p-wrap {
    display: flex;
    flex-direction: column;
}

/* FOXIZ - FLEX GRID 1 - 037 - SOMBRE*/
.container__037 .bt-037-02__flex-grid .p-wrap .p-meta span,
.container__037 .bt-037-02__flex-grid .p-wrap .entry-title,
.container__037 .bt-037-02__flex-grid .p-wrap .entry-summary {
    color:var(--blanc);
}


/* FOXIZ - FLEX OVERLAY - 037 */
/* FOXIZ - FLEX OVERLAY - 037 - IMAGE */
.bt-037-03__flex-overlay .p-wrap .feat-holder .p-featured {
    border-radius:100px 160px 90px 190px;
    box-shadow: 0 0px 24px color-mix(in srgb, var(--noir) 40%, transparent);
    border:12px solid var(--g-color);
    margin-bottom:22px!important;
}
.container__037 .bt-037-03__flex-overlay  .p-wrap .feat-holder .p-featured {
    border:12px solid var(--blanc);
}
.bt-037-03__flex-overlay .p-wrap:nth-child(1) .feat-holder .p-featured {
    border-radius:160px 180px 80px 240px;
}

/* FOXIZ - FLEX OVERLAY - 037 - TITRE */
.bt-037-03__flex-overlay .p-wrap .entry-title {
    font-size:2.4rem;
    line-height:2.4rem;
    font-weight:var(--weight-bold);
    font-family: var(--cs-heading-font);
}

/* FOXIZ - FLEX OVERLAY - 037 - TEXTE */
.bt-037-03__flex-overlay .p-wrap .entry-summary {
    font-size:calc(1rem + 0.1rem);
    line-height:calc(1rem + 0.1rem);
    font-weight:var(--weight-normal);
    margin-bottom:32px!important;
}

/* FOXIZ - FLEX OVERLAY - 037 - BOUTON */
.bt-037-03__flex-overlay .p-wrap .p-link {
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 18px !important;
    margin-bottom: 10px;
}
.bt-037-03__flex-overlay .p-wrap .p-link a {
    background-color:var(--blanc)!important;
    color:var(--g-color);
    border: 1px solid var(--g-color);
    box-shadow: 0 1px 2px color-mix(in srgb, var(--g-color) 60%, transparent);
    font-size:14px;
    line-height: 16px;
    font-weight:400!important;
    text-transform: uppercase!important;
    padding: 12px 32px;
    margin-top:8px;
    border-radius: 50px;
}
/*BOUTON > HOVER*/
.bt-037-03__flex-overlay .p-wrap .p-link a:hover {
    background:var(--g-color)!important;
    color:var(--blanc);
}

.bt-037-03__flex-overlay .rbi-cright {
    display:none;
}

/* FOXIZ - FLEX OVERLAY - 037 - META */
/* FOXIZ - FLEX OVERLAY - 037 - META - Categorie */
.bt-037-03__flex-overlay .p-wrap .p-meta .meta-read,
.bt-037-03__flex-overlay .p-wrap .p-meta .meta-update,
.bt-037-03__flex-overlay .p-wrap .p-meta .meta-category {
    font-size:calc(1rem + 0.1rem);
    line-height:calc(1rem + 0.1rem);
    font-weight:var(--weight-normal);
    color:var(--noir);
}
[data-theme="dark"] .p-wrap .p-meta .meta-read,
[data-theme="dark"] .p-wrap .p-meta .meta-update,
[data-theme="dark"] .p-wrap .p-meta .meta-category {
    color:var(--blanc)!important;
}
/* FOXIZ - FLEX LIST - 037 */
.bt-037-04__flex-list .block-inner {
    row-gap:20px
}
/* FOXIZ - FLEX LIST - 037 - IMAGE */
.bt-037-04__flex-list .p-wrap .feat-holder .p-featured {
    border-radius:18px;
    border:7px solid var(--g-color);
    box-shadow: 0 0px 24px color-mix(in srgb, var(--noir) 40%, transparent);
}
.container__037 .bt-037-04__flex-list  .p-wrap .feat-holder .p-featured {
    border:7px solid var(--blanc);
}

.bt-037-04__flex-list .p-wrap:nth-child(1) .feat-holder .p-featured {
    border-radius:160px 180px 80px 240px;
}
.bt-037-04__flex-list  .p-wrap:nth-child(2) .feat-holder .p-featured {
    border-radius:160px 60px 140px 80px;
}
.bt-037-04__flex-list  .p-wrap:nth-child(3) .feat-holder .p-featured {
    border-radius:120px 140px 240px 140px;
}
/* FOXIZ - FLEX LIST - 037 - TITRE */
.bt-037-04__flex-list .p-wrap .entry-title {
    font-size:1.4rem;
    line-height:1.4rem;
    font-weight:var(--weight-bold);
    font-family: var(--cs-heading-font);
}

/* FOXIZ - FLEX LIST - 037 - TEXTE */
.bt-037-04__flex-list .p-wrap .entry-summary {
    font-size:calc(1rem + 0.1rem);
    line-height:calc(1rem + 0.1rem);
    font-weight:var(--weight-normal);
}

/* FOXIZ - FLEX LIST - 037 - BOUTON */
.bt-037-04__flex-list .p-wrap .p-link {
    font-weight: 600 !important;
    font-size: 12px !important;
    line-height: 14px !important;
}
.bt-037-04__flex-list .p-wrap .p-link a {
    background-color:var(--blanc)!important;
    color:var(--g-color);
    border: 1px solid var(--g-color);
    box-shadow: 0 1px 2px color-mix(in srgb, var(--g-color) 60%, transparent);
    font-size:11px;
    line-height: 13px;
    font-weight:400!important;
    text-transform: uppercase!important;
    padding: 10px 20px;
    border-radius: 50px;
}
/*BOUTON > HOVER*/
.bt-037-04__flex-list .p-wrap .p-link a:hover {
    background:var(--g-color)!important;
    color:var(--blanc);
}

.bt-037-04__flex-list .rbi-cright {
    display:none;
}

/* FOXIZ - FLEX LIST - 037 - META */
/* FOXIZ - FLEX LIST - 037 - META - Categorie */
.bt-037-04__flex-list .p-wrap .p-meta .meta-category,
.bt-037-04__flex-list .p-wrap .p-meta .meta-read {
    font-size:calc(1rem - 0.05rem);
    line-height:calc(1rem - 0.05rem);
    font-weight:var(--weight-normal);
    color:var(--noir);
}

/*PAGINATION*/
.slider-pagination {
    gap:22px!important;
    margin-top:12px;
}
.swiper-pagination-bullet {
    margin-bottom:50px;
    border-radius:50px 20px 20px 50px;
}
.swiper-pagination-bullet:before {
    width: 28px!important;
    height: 28px!important;
    -webkit-transform: scale(1)!important;
    transform: scale(1);
    border-radius:60px 80px 60px 100px;
    background-color:var(--blanc)!important;
    border: 3px solid var(--g-color)!important;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    background-color:var(--g-color)!important;
}
.container__034 .swiper-pagination-bullet:before {
    background-color:var(--blanc)!important;
}
.slider-footer {
    z-index: 90!important;
}

/* CATEGORIE */
.bt-037-00__heading.categorie h1 {
    font-size: 4rem;
    line-height: 4rem;
    font-weight: var(--weight-bold);
    font-family: var(--cs-heading-font);
    color: var(--noir) !important;
    position: relative;
    display: inline-block;
    padding: 0 110px;
}


/* BEFORE & AFTER COMMUN */
.bt-037-00__heading.categorie h1::before,
.bt-037-00__heading.categorie h1::after {
    content: "";
    position: absolute;
    top: 54%;
    transform: translateY(-54%);
    width: 90px;
    height: 5px;
    background: var(--g-color);
}
.bt-037-00__heading.categorie h1::before {
    left: 0;
}
.bt-037-00__heading.categorie h1::after {
    right: 0;
}

/* SIDEBAR */
.bt-037-00__heading.sidebar p {
    font-size: 1.5rem!important;
    line-height: 1.5rem!important;
    font-weight: var(--weight-bold);
    font-family: var(--cs-body-font);
}
[data-theme="default"] .bt-037-00__heading.sidebar p {
    color:var(--noir)!important;
}
[data-theme="dark"] .bt-037-00__heading.sidebar p {
    color:var(--blanc)!important;
}
/* SIDEBAR - TITRE */
.bt-037-04__flex-list.sidebar .p-wrap .entry-title {
    font-size:1rem;
    line-height:0.98rem;
    font-weight:var(--weight-bold);
    font-family: var(--cs-heading-font);
}
.bt-037-04__flex-list.sidebar .p-meta {
    margin-bottom:0px;
}
.bt-037-04__flex-list.sidebar .p-wrap .feat-holder .p-featured {
    border:3px solid var(--g-color);
    box-shadow: 0 0px 8px color-mix(in srgb, var(--noir) 40%, transparent);
}
.bt-037-04__flex-list.sidebar .p-content {
    padding-left:0;
}

/* ARTICLE */
.ImageArticle  img {
    border-radius:18px;
    border:7px solid var(--g-color);
    box-shadow: 0 0px 24px color-mix(in srgb, var(--noir) 40%, transparent);
    border-radius:160px 180px 80px 240px!important;
}
.ImageArticle .feat-caption{
    display:none;
}
.ImageArticle .s-feat-outer {
    margin-bottom:0;
}


/* ARTICLE */
.FondArticle .elementor-widget-post-info svg {
    fill:var(--g-color)!important;
    font-size:24px!important;
    line-height:24px!important;
}
.FondArticle .elementor-widget-post-info span {
    color:var(--noir)!important;
    font-size:18px;
}
[data-theme="dark"] .FondArticle .elementor-widget-post-info span {
    color:var(--blanc)!important;
}
.FondArticle .elementor-icon-list-text {
    margin-left:6px;
    margin-top:4px;
}


/* TELEPHONE */
@media only screen and (max-width: 768px) {
.bt-037-01__flex-overlay .block-inner  {
    display: grid!important;
}
.bt-037-01__flex-overlay .p-wrap,
.bt-037-01__flex-overlay .p-wrap .overlay-holder,
.bt-037-01__flex-overlay .p-wrap .overlay-holder .p-featured{
    height: 380px!important;
    min-height: 380px!important;
    max-height: 380px!important;
}

.bt-037-01__flex-overlay .p-wrap {
    margin-bottom:16px;
}
.bt-037-01__flex-overlay .p-featured {
    padding-bottom: 90%!important;
}
.bt-037-01__flex-overlay .entry-title {
    display: none;
}
.bt-037-01__flex-overlay .entry-summary {
    display: none;
}
.bt-037-01__flex-overlay .p-gradient .overlay-inner {
    padding: 16px 32px !important;
}

.bt-037-01__flex-overlay .p-wrap .entry-title {
    font-size: 2.5rem;
    line-height: 2.4rem;
}
.bt-037-00__heading .heading-title {
    font-size:1.8rem;
    line-height:1.7rem;
}
.bt-037-00__heading .heading-tagline {
    font-size: 16px;
    line-height: 16px;
    padding: 12px 24px;
    width: fit-content;
}

.bt-037-00__heading .heading-inner {
    position: relative;
    display: grid;
    align-items: left;
    flex-flow: row nowrap;
    width: 100%;
    justify-content: left;
}

.bt-037-00__heading .heading-inner .heading-tagline {
    margin-top:12px!important;
}
    
.bt-037-03__flex-overlay .p-wrap .entry-title {
    font-size: calc(1.2rem + 0.2rem);
    line-height: calc(1.2rem + 0.3rem);
}   
.bt-037-00__bouton .elementor-button {
    font-size: 16px;
    line-height: 16px;
    padding: 16px 32px;
}
}

/* TRANSITION */
.p-featured,
.overlay-holder img {
    transition: all 0.5s ease!important;
}

.p-featured:hover,
.overlay-holder img:hover {
    border-radius: 16px!important;
}
/*MINIATURE - LEGENDE*/
.feat-caption {
    display:none;
}

/* CATEGORIE */
/* CATEGORIE - IMAGE */
.category .blog-content .feat-holder .p-featured {
    border-radius: 120px 120px 32px 32px;
    border: 10px solid var(--g-color);
    box-shadow: 0 0px 24px color-mix(in srgb, var(--noir) 40%, transparent);
    margin-bottom: 8px !important;    padding-bottom: 66%;
}
/* CATEGORIE - TITRE */
.category .blog-content .entry-title {
    font-size: 1.6rem;
    line-height: 1.6rem;
    font-weight: var(--weight-bold);
    font-family: var(--cs-heading-font);
    text-align: center;
}
.category .blog-content .p-link a {
    background-color: var(--blanc) !important;
    color: var(--g-color);
    border: 1px solid var(--g-color);
    box-shadow: 0 1px 2px color-mix(in srgb, var(--g-color) 60%, transparent);
    font-size: 14px;
    line-height: 16px;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    padding: 12px 32px;
    margin: 8px auto;
    border-radius: 50px;
}
.category .blog-content .p-link {
    margin: 0 auto;
    display: table;
}

.category .blog-content .p-wrap {
  display: flex;
  flex-direction: column;
}
.category .blog-content .feat-holder {order: 1;}
.category .blog-content .p-meta {order: 2;} 
.category .blog-content .entry-title {order: 3;}
.category .blog-content .p-link {order: 4;} 

.category .blog-content .rbi-cright:before {
    display: none;
}
.category .blog-content .meta-inner {
    font-size:calc(1rem - 0.1rem);
    line-height: calc(1rem + 0.05rem);;
    font-weight:var(--weight-normal);
    justify-content:center!important;
    margin:0 auto!important;
}


@media (max-width: 768px) {
.bt-037-00__heading.categorie h1 {
    font-size: calc(1.2rem + 0rem);
    padding: 0 30px;
}
.bt-037-00__heading.categorie h1::before, 
.bt-037-00__heading.categorie h1::after {
    width: 24px;
    height: 4px;
}}


/* ============================================================
   COUCHE CUSTOM (TDM + POST + MENU)
   (contenu original de style-theme037-custom-styles.css)
============================================================ */

/* --- POLICES (font harmonization) --- */
.entry-title,
.entry-title a,
.heading-title,
.heading-title a,
.elementor-heading-title,
.elementor-heading-title a,
body.single-post .s-title,
h1, h2, h3, h4, h5, h6 {
	font-family: var(--cs-heading-font)!important;
}

p,
.entry-summary,
time {
	font-family: var(--cs-body-font)!important;
}


/* ============================================================
   BLOC 1 — TDM (Table des matières, single post only)
   ============================================================ */
.ArticleHeader .elementor-widget-container {
	margin-left:0!important;
}
/* Conteneur */
body.single-post .ruby-table-contents {
	border: 3px solid var(--g-color);
	border-radius: 19px 52px 32px 37px;
	padding: 16px 18px;
	box-shadow: none;
	background: var(--blanc);
}

/* En-tête de la TDM */
body.single-post .ruby-table-contents .toc-header {
	margin-bottom: 10px;
	padding-bottom: 0;
}
body.single-post .ruby-table-contents .toc-header span {
	font-size: 28px;
	font-weight: 700;
	font-family: var(--cs-heading-font);
	text-transform: uppercase;
	padding-bottom: 6px;
	color: var(--noir);
}
body.single-post .ruby-table-contents .toc-header .rbi-read:before {
	content: "\2630"; /* icône ☰ */
	font-family: initial;
	font-size: 28px;
	color: var(--g-color) !important;
	padding-right: 8px;
}

/* Liste des items */
body.single-post .ruby-table-contents .inner {
	margin-top: 0;
	padding-top: 0;
	column-count: 2;
	counter-reset: toc-counter;
}
body.single-post .ruby-table-contents .inner > * {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
}
body.single-post .ruby-table-contents .inner a {
	position: relative;
	display: block;
	padding: 4px 4px 4px 24px;
	margin-bottom: 0px;
	font-size: 14px;
	line-height: 16px;
	font-weight: 500;
	text-decoration: none !important;
	text-shadow: none !important;
	border: 3px solid transparent;
	border-radius: 12px 20px 33px 22px!important;
	transition: all .2s ease;
}
body.single-post .ruby-table-contents .inner a:hover {
	color: var(--g-color) !important;
	border-color: var(--g-color);
}
body.single-post .ruby-table-contents .inner a::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	background: var(--g-color);
	border-radius: 0px;
}
body.single-post .ruby-table-contents .inner a::after {
	display: none !important;
}

/* Chevron toggle */
body.single-post .ruby-table-contents .ruby-toc-toggle i:before {
	content: "\002B" !important;
	font-family: initial !important;
	font-size: 30px !important;
	font-weight: 700 !important;
	color: var(--g-color) !important;
}

/* ============================================================
   BLOC 2 — POST (Single article)
   ============================================================ */

/* Image à la une */
body.single-post .s-feat-outer {
	width: 100%;
	margin-bottom: 28px;
}
body.single-post .s-feat img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0px;
}

/* Catégories */
body.single-post .s-cats {
	margin-bottom: 4px;
}
body.single-post .s-cats a,
body.single-post .s-cats .p-category,
body.single-post .s-cats .meta-category a {
	display: inline-block;
	padding: 5px 12px;
	border: 3px solid var(--g-color);
	border-radius: 14px 10px 22px 29px;
	font-size: 12px;
	font-weight: 700;
	text-transform: initial;
	letter-spacing: 1px;
	text-decoration: none;
}

/* Titre H1 article */
body.single-post .s-title {
	font-size: 42px;
	line-height: 1.1;
	font-weight: 700;
	font-family: var(--cs-heading-font);
	text-transform: initial;
	margin: 0px 0 20px;
}

/* Sous-titres */
/* H2 — layout 3 (filet inférieur 5px accent sous le titre) */
body.single-post .entry-content.rbct h2 {
	font-size: 26px;
	font-weight: 700;
	font-family: var(--cs-heading-font);
	padding-bottom: 8px;
	margin-top: 32px;
	margin-bottom: 16px;
	border-bottom: 5px solid var(--g-color);
}

/* H3 — layout 12 (marqueur carré 1em × 0.6em accent en préfixe) */
body.single-post .entry-content.rbct h3 {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 21px;
	font-weight: 700;
	font-family: var(--cs-heading-font);
	margin-top: 28px;
	margin-bottom: 12px;
}
body.single-post .entry-content.rbct h3::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 0.6em;
	background: var(--g-color);
	flex-shrink: 0;
}

/* Paragraphes & listes */
body.single-post .entry-content.rbct p,
body.single-post .entry-content.rbct ol li,
body.single-post .entry-content.rbct ul li {
	font-size: 17px;
	line-height: 1.75;
}

/* Citations */
body.single-post .entry-content.rbct blockquote {
	border-left: 6px solid var(--g-color);
	background: color-mix(in srgb, var(--g-color) 6%, var(--blanc));
	padding: 18px 24px;
	margin: 24px 0;
	font-style: normal;
	color: #444;
}

/* Liens inline */
body.single-post .entry-content.rbct a {
	color: var(--g-color);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ============================================================
   BLOC 3 — MENU (Header sitewide)
   ============================================================ */
#site-header .logo-sec-inner {
	padding: 4px 0;
}
#site-header .main-menu > li > a {
	font-weight: 700;
	font-family: var(--cs-heading-font);
	letter-spacing: 0.02em;
	text-transform: initial;
}
#site-header .main-menu > li > a span {
    font-size:20px!important;
}
body.single-post .bt-037-00__heading.tp .heading-title {
    font-size: 2.8rem!important;
    line-height: 2.9rem!important;
	margin-bottom:8px!important;
}

/* ============================================================
   SEARCH (light + dark) — Theme 037
   ============================================================ */

/* light mode wrapper */
.rb-search-form .search-form-inner {
  display: flex;
  align-items: center;
  background: var(--blanc);
  border-radius: 12px 24px 18px 6px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--g-color) 100%, transparent);
  transition: 0.3s ease;
}

/* search icon */
.search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--g-color);
  transition: 0.2s ease;
}
.rbi-search:before {
  content: "\e946";
}

/* input */
.search-text {
  flex: 1;
}
.search-text input.field {
  border: none;
  outline: none;
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--noir);
  font-family: var(--cs-body-font);
}
.search-text input.field::placeholder {
  color: color-mix(in srgb, var(--noir) 55%, transparent);
}

/* submit button (always circular) */
.rb-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--g-color);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  margin-left: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}
.rbi-cright:before {
  content: "\276F";
  font-family: initial;
  color: #fff;
  font-size: 14px;
}
.rb-search-submit:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* focus state */
.search-form-inner:focus-within {
  border-color: var(--g-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--g-color) 18%, transparent);
}

/* dark mode overrides */
[data-theme="dark"] .rb-search-form .search-form-inner {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
}
[data-theme="dark"] .search-text input.field {
  color: #fff;
}
[data-theme="dark"] .search-text input.field::placeholder {
  color: #aaa;
}
[data-theme="dark"] .rbi-search {
  color: #fff;
  opacity: 0.85;
}
[data-theme="dark"] .rb-search-submit {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .search-form-inner:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}


/* --- HEADER SEARCH (icon + dropdown) --- */
.navbar-right {
	background: var(--blanc);
	padding: 8px 20px !important;
	border-radius: 22% 16% 18% 15% !important;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--noir) 8%, transparent);
}
.logo-sec-right .wnav-icon {
	color: var(--noir);
	font-size: 18px;
	transition: 0.2s ease;
}
.logo-sec-right .wnav-icon:hover {
	color: var(--g-color) !important;
}
.header-dropdown {
	margin-top: 12px;
	border-radius: 22px 16px 18px 15px;
	padding: 0px;
	background: var(--blanc);
	box-shadow: 0 8px 24px color-mix(in srgb, var(--noir) 10%, transparent);
}
.w-header-search .header-search-form {
	padding: 0!important;
}
[data-theme="dark"] .navbar-right {
	background: var(--noir);
}
[data-theme="dark"] .logo-sec-right .wnav-icon {
	color: var(--blanc);
}
[data-theme="dark"] .header-dropdown {
	background: var(--noir);
}
