/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/

.main-navigation,
.site-header .main-navigation {
    background: #1a1a1a;
    border-radius: 10px;
    max-width: 1100px;
    margin: auto;
    padding: 0px 20px;
    position: sticky;
    top: 8px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.main-navigation a {
    color: rgba(255,255,255,0.6) !important;
    font-size: 13px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: white !important;
}

.main-navigation .current-menu-item > a {
    color: white !important;
    text-decoration: underline !important;
    text-decoration-color: #BB483D !important;
    text-underline-offset: 10px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.site-header {
    background: transparent !important;
    padding: 0 !important;
}

/* PARTENAIRES VITRINE */
.be-vitrine-wrap {
    background: #BB483D;
    border-radius: 10px;
    padding: 20px;
    margin: 12px 0;
}
.be-vitrine-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.be-vitrine-title {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.be-vitrine-title::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    flex-shrink: 0;
}
.be-vitrine-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}
.be-vitrine-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    flex: 1 1 140px;
    max-width: 180px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}
.be-vitrine-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
    transform: translateY(-3px);
}
.be-vitrine-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}
.be-vitrine-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}
.be-vitrine-desc {
    font-size: 11px;
    color: #888888;
    line-height: 1.5;
}
.be-vitrine-promo {
    font-size: 10px;
    color: #BB483D;
    margin: 4px 0 0;
    font-weight: 500;
}
.be-vitrine-cta {
    color: #BB483D;
    font-size: 11px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: auto;
}
.be-vitrine-cta::after {
    content: '';
    position: absolute;
    inset: 0;
}
.be-vitrine-cta:hover { opacity: 0.75; }

@media (max-width: 640px) {
    .be-vitrine-card {
        min-width: 120px;
        max-width: 160px;
    }
}

/* EYEBROW */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: #BB483D;
  border-radius: 1px;
  flex-shrink: 0;
}

/* LAYOUT ÉDITORIAL PAYS / THÈMES */
.tbe-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 12px;
  column-gap: 16px;
  margin-bottom: 10px;
  margin-top: 20px;
}
.tbe-editorial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tbe-editorial-small-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
}
.tbe-editorial-grid.inverse {
  direction: rtl;
}
.tbe-editorial-grid.inverse > * {
  direction: ltr;
}

/* GRANDE CARD */
.tbe-card-big {
  grid-column: 1;
  grid-row: 1 / 3;
  background: #ffffff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tbe-card-big:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); }
.tbe-card-big:hover .tbe-cname { color: #BB483D; }
.tbe-card-big-img {
  width: 100%;
  height: 200px;
  background: #e8e6e3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}
.tbe-card-big-img img { width: 100%; height: 100%; object-fit: cover; }
.tbe-card-big-body { padding: 16px 18px; }
.tbe-card-big-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }

/* PETITES CARDS */
.tbe-card-small {
  background: #ffffff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex: 0 1 auto;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tbe-card-small:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); }
.tbe-card-small:hover .tbe-cname { color: #BB483D; }
.tbe-card-small-img {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  background: #e8e6e3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  overflow: hidden;
}
.tbe-card-small-img img { width: 100%; height: 100%; object-fit: cover; }
.tbe-card-small-body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.tbe-card-small-header { display: flex; align-items: center; gap: 6px; }

/* TEXTES */
.tbe-cname { font-size: 15px; font-weight: 500; color: #1a1a1a; transition: color 0.2s; }
.tbe-card-desc { font-size: 11px; color: #888888; line-height: 1.5; }

/* TITRES DE SECTION */
.tbe-section-title {
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tbe-section-title::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: #BB483D;
  border-radius: 1px;
  flex-shrink: 0;
}
.tbe-section-link { font-size: 12px; color: #BB483D; text-decoration: none; }

/* GRILLE PAYS */
.tbe-grille-pays {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.tbe-country-card {
  background: #ffffff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  cursor: pointer;
}
.tbe-country-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.tbe-country-card:hover .tbe-cname { color: #BB483D; }
.tbe-country-img {
  width: 100%;
  height: 130px;
  background: #e8e6e3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tbe-country-img img { width: 100%; height: 100%; object-fit: cover; }
.tbe-country-body { padding: 12px 14px; }
.tbe-country-header { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.tbe-country-flag { font-size: 18px; }

/* GRILLE THEMES */
.tbe-grille-themes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.tbe-theme-card {
  background: #ffffff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  cursor: pointer;
}
.tbe-theme-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.tbe-theme-card:hover .tbe-cname { color: #BB483D; }
.tbe-theme-img {
  width: 100%;
  height: 130px;
  background: #e8e6e3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tbe-theme-img img { width: 100%; height: 100%; object-fit: cover; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .tbe-grille-pays { grid-template-columns: repeat(3, 1fr); }
  .tbe-grille-themes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .tbe-grille-pays { grid-template-columns: repeat(2, 1fr); }
  .tbe-grille-themes { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .tbe-editorial-grid { grid-template-columns: 1fr; direction: ltr; }
  .tbe-card-big { grid-row: auto; }
  .tbe-card-big-img { height: 180px; }
  p.main-title { display: none !important; }
}


/* BREADCRUMB */
.tbe-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 8px 16px;
  margin-bottom: 10px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.tbe-breadcrumb-home {
  color: #888888 !important;
  text-decoration: none !important;
}
.tbe-breadcrumb-home:hover { color: #BB483D !important; }
.tbe-breadcrumb-sep { color: #cccccc !important; }
.tbe-breadcrumb-item {
  color: #888888 !important;
  text-decoration: none !important;
}
.tbe-breadcrumb-item:hover { color: #BB483D !important; }
.tbe-breadcrumb-current { color: #BB483D !important; }

/* DROPDOWN changement de langue */
.nav-lang-dropdown {
    position: relative;
	order: 10;
}

.lang-toggle {
    background: transparent;
    border: 0.5px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s, border-color 0.2s;
}

.lang-toggle:hover {
    color: white;
    border-color: rgba(255,255,255,0.4);
}

.lang-arrow {
    font-size: 10px;
    transition: transform 0.2s;
}

.lang-toggle[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1a1a1a;
    border: 0.5px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 4px;
    list-style: none;
    min-width: 70px;
    z-index: 200;
}

.lang-menu.open {
    display: block;
}

.lang-option {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 5px;
    transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

/* Card Inactive */
.card-inactive {
    pointer-events: none;
    position: relative;
    cursor: default;
}

.card-inactive .tbe-country-img,
.card-inactive .tbe-theme-img {
    filter: blur(2px);
    opacity: 0.5;
}

.card-inactive .tbe-country-body,
.card-inactive .tbe-theme-body {
    opacity: 0.4;
}

.card-inactive-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 10px;
    z-index: 2;
}

.card-inactive-overlay i {
    font-size: 22px;
    color: #666666;
}

.card-inactive-label {
    font-size: 11px;
    font-weight: 500;
    color: #666666;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
/* ===========================
   TEMPLATE ARTICLE
   =========================== */

.tbe-article-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

/* HERO */
.tbe-article-hero {
    background: #1a1a1a;
    border-radius: 10px;
    height: 200px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}
.tbe-article-hero-bg {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(255,255,255,0.015) 6px, rgba(255,255,255,0.015) 12px);
}
.tbe-article-hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

/* BADGES */
.tbe-meta-row {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.tbe-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tbe-badge i { font-size: 11px; }
.tbe-badge-pays { background: #1a1a1a; color: white; }
.tbe-badge-sujet { background: #FCEBEB; color: #791F1F; }

/* GRILLES */
.tbe-three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}
.tbe-two-col {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 10px;
    margin-bottom: 10px;
    align-items: start;
}
.tbe-article-grid {
    grid-template-columns: 3fr 2fr;
}

/* CARD */
.tbe-card {
    background: #ffffff;
    border: 0.5px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 12px 14px;
}
.tbe-card-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.tbe-card-label i { font-size: 14px; }

/* DONNÉES CLÉS */
.tbe-data-accent {
    width: 18px; height: 2px;
    background: #BB483D;
    border-radius: 1px;
    margin-bottom: 6px;
}
.tbe-data-num {
    font-size: 26px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1;
}
.tbe-data-label {
    font-size: 11px;
    color: #888888;
    margin-top: 4px;
}

/* YOUTUBE */
.tbe-yt-wrapper {
    border-radius: 6px;
    overflow: hidden;
}
.tbe-yt-wrapper iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    display: block;
    border-radius: 6px;
}

/* AFFILIATIONS */
.tbe-aff-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 0.5px solid rgba(0,0,0,0.1);
    font-size: 13px;
}
.tbe-aff-item:last-child { border-bottom: none; }
.tbe-aff-name { color: #1a1a1a; font-weight: 500; }
.tbe-aff-cta {
    color: #BB483D;
    font-size: 11px;
    text-decoration: none;
    display: flex; align-items: center; gap: 3px;
}
.tbe-aff-cta:hover { opacity: 0.75; }

/* TITRE */
.tbe-article-title {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 12px;
    border-left: 3px solid #BB483D;
    padding-left: 14px;
    line-height: 1.4;
}

/* CONTENU */
.tbe-article-body { font-size: 15px; line-height: 1.8; color: #333333; }
.tbe-article-body h2 {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 1.5rem 0 0.75rem;
    text-decoration: underline;
    text-decoration-color: #BB483D;
    text-underline-offset: 4px;
}
.tbe-article-body h3 {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 1.25rem 0 0.5rem;
    text-decoration: underline;
    text-decoration-color: #BB483D;
    text-underline-offset: 3px;
}
.tbe-article-body p { margin-bottom: 1rem; }
.tbe-article-body a { color: #BB483D; text-decoration: none; }
.tbe-article-body a:hover { text-decoration: underline; }

/* SIDEBAR */
.tbe-sidebar {
    position: sticky;
    top: 80px;
}

/* ARTICLES SUGGÉRÉS */
.tbe-suggest-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 0.5px solid rgba(0,0,0,0.1);
    text-decoration: none;
}
.tbe-suggest-item:last-child { border-bottom: none; }
.tbe-suggest-thumb {
    width: 36px; height: 36px;
    background: #f0f0ee;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.tbe-suggest-thumb i { font-size: 16px; color: #888888; }
.tbe-suggest-text { font-size: 12px; color: #1a1a1a; line-height: 1.4; }
.tbe-suggest-country { font-size: 11px; color: #888888; margin-top: 2px; }

/* RESPONSIVE */
@media (max-width: 640px) {
    .tbe-two-col,
    .tbe-three-col,
    .tbe-article-grid { grid-template-columns: 1fr; }
    .tbe-sidebar { position: static; }
    .tbe-article-hero { height: 140px; }
}



/* Article hero pleine largeur */
.single .tbe-article-hero {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Hero article dans conteneur 1100px */
.single .tbe-article-hero {
    max-width: 1068px;
    margin: 0 auto 10px auto;
    height: 200px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.single .tbe-article-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}
.single .tbe-article-hero-title {
    position: relative;
    color: rgba(255,255,255,0.35);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Article wrap largeur 1100px */
.single .tbe-article-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* Hero content */
.tbe-article-hero-content {
    position: relative;
    z-index: 2;
}
.tbe-article-hero-eyebrow {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Fix flex GeneratePress articles */
.single #content.site-content {
    display: block !important;
    max-width: 100% !important;
}

/* Hero title H1 */
.tbe-article-hero {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.tbe-article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
    text-align: right;
    padding: 20px;
}
.tbe-article-hero-eyebrow {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.tbe-article-hero-title {
    color: white;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Sous-titre article */
.tbe-sous-titre {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 16px;
    border-left: 3px solid #BB483D;
    padding-left: 14px;
}

/* Hero title lisible */
.tbe-article-hero-title {
    color: white !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7) !important;
}
.tbe-article-hero-bg {
    background: linear-gradient(to left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

/* H1 hero plus visible */
.tbe-article-hero-title {
    color: white !important;
    font-size: 32px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    text-shadow: 0 2px 16px rgba(0,0,0,0.9) !important;
    letter-spacing: -0.01em !important;
}

/* Sous-titre plus visible */
.tbe-sous-titre {
    font-size: 16px !important;
    color: #333333 !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    border-left: 3px solid #BB483D !important;
    padding-left: 14px !important;
}

/* Force taille H1 hero et sous-titre */
.single .tbe-article-hero .tbe-article-hero-title,
.single .tbe-article-hero h1.tbe-article-hero-title {
    color: white !important;
    font-size: 38px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.95) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single p.tbe-sous-titre {
    font-size: 18px !important;
    color: #222222 !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    border-left: 3px solid #BB483D !important;
    padding-left: 14px !important;
}

/* Sous-titre encore plus grand */
.single p.tbe-sous-titre {
    font-size: 22px !important;
    color: #222222 !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
    border-left: 3px solid #BB483D !important;
    padding-left: 14px !important;
}

/* Partenaires - logo plus grand */
.tbe-aff-item img {
    height: 32px !important;
    width: auto !important;
}
.tbe-aff-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Partenaires améliorés */
.tbe-aff-item {
    padding: 10px 0;
    border-bottom: 0.5px solid rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.tbe-aff-item:last-child { border-bottom: none; }
.tbe-aff-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.tbe-aff-logo {
    height: 28px !important;
    width: auto !important;
    object-fit: contain;
}
.tbe-aff-promo {
    font-size: 12px;
    color: #BB483D;
    font-weight: 500;
    background: rgba(187,72,61,0.08);
    padding: 4px 8px;
    border-radius: 5px;
    display: inline-block;
}

/* Fix partenaires layout */
.tbe-aff-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}
.tbe-aff-logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Fix alignement promo partenaire */
.tbe-aff-item {
    flex-direction: column !important;
    align-items: flex-start !important;
}
.tbe-aff-promo {
    align-self: flex-start !important;
}

/* Partenaire - tout sur une ligne */
.tbe-aff-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 0 !important;
    border-bottom: 0.5px solid rgba(0,0,0,0.1) !important;
}
.tbe-aff-item:last-child { border-bottom: none !important; }
.tbe-aff-top {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 !important;
}
.tbe-aff-logo-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.tbe-aff-promo {
    font-size: 11px !important;
    color: #BB483D !important;
    font-weight: 500 !important;
    background: rgba(187,72,61,0.08) !important;
    padding: 3px 7px !important;
    border-radius: 5px !important;
    white-space: nowrap !important;
}
.tbe-aff-cta {
    white-space: nowrap !important;
    margin-left: auto !important;
}

/* Alignement vertical partenaires */
.tbe-aff-item {
    align-items: center !important;
}
.tbe-aff-logo {
    height: 32px !important;
    width: auto !important;
    object-fit: contain !important;
    vertical-align: middle !important;
}
.tbe-aff-name {
    vertical-align: middle !important;
    line-height: 1 !important;
}

/* Espace entre nav et hero article */
.single .tbe-article-hero {
    margin-top: 16px;
}

/* ===========================
   TEMPLATE LISTING
   =========================== */

/* Fix flex pour pages listing */
.page-template-page-listing #content.site-content {
    display: block !important;
    max-width: 100% !important;
}

/* Hero listing */
.tbe-listing-hero {
    background: #1a1a1a;
    border-radius: 10px;
    height: 180px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 40px;
    margin-bottom: 10px;
    margin-top: 16px;
}
.tbe-listing-hero-bg {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(255,255,255,0.015) 6px, rgba(255,255,255,0.015) 12px);
}
.tbe-listing-hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.4;
}
.tbe-listing-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}
.tbe-listing-hero-emoji { font-size: 40px; }
.tbe-listing-hero-title {
    color: white !important;
    font-size: 32px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

/* Wrap listing */
.tbe-listing-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Layout 2 colonnes */
.tbe-listing-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    align-items: start;
    margin-top: 16px;
}

/* Articles */
.tbe-listing-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tbe-listing-item {
    background: #ffffff;
    border: 0.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}
.tbe-listing-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}
.tbe-listing-item-img {
    width: 100px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0ee;
}
.tbe-listing-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tbe-listing-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 24px;
}
.tbe-listing-item-body { flex: 1; }
.tbe-listing-item-tag {
    font-size: 11px;
    font-weight: 500;
    color: #BB483D;
    background: rgba(187,72,61,0.08);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}
.tbe-listing-item-title {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 4px;
}
.tbe-listing-item:hover .tbe-listing-item-title { color: #BB483D; }
.tbe-listing-item-excerpt {
    font-size: 12px;
    color: #888888;
    line-height: 1.5;
}
.tbe-listing-item-arrow {
    font-size: 18px;
    color: #888888;
    flex-shrink: 0;
}
.tbe-listing-empty {
    color: #888;
    font-size: 14px;
    padding: 20px;
    text-align: center;
}

/* Sidebar filtres */
.tbe-listing-sidebar {
    position: sticky;
    top: 80px;
}
.tbe-listing-filter-card {
    background: #ffffff;
    border: 0.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 16px;
}
.tbe-filter-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 0.5px solid rgba(0,0,0,0.1);
}
.tbe-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #333333;
    transition: background 0.15s;
    user-select: none;
}
.tbe-filter-item input { display: none; }
.tbe-filter-item:hover { background: #f5f5f3; }
.tbe-filter-item.tbe-filter-active {
    background: rgba(187,72,61,0.08);
    color: #BB483D;
    font-weight: 500;
}
.tbe-filter-count {
    margin-left: auto;
    font-size: 11px;
    color: #888888;
    background: #f0f0ee;
    padding: 1px 6px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .tbe-listing-layout { grid-template-columns: 1fr; }
    .tbe-listing-sidebar { position: static; }
    .tbe-listing-hero { height: 130px; padding: 0 20px; }
    .tbe-listing-hero-title { font-size: 22px !important; }
}

/* Fix flex pour archives catégories */
.category #content.site-content {
    display: block !important;
    max-width: 100% !important;
}
.tbe-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    font-size: 12px;
    color: #888888;
    margin-bottom: 8px;
}
.tbe-breadcrumb a { color: #888888; text-decoration: none; }
.tbe-breadcrumb a:hover { color: #BB483D; }
.tbe-breadcrumb .current { color: #BB483D; }

/* Test visuel filtre actif */
.tbe-filter-item.tbe-filter-active {
    background: rgba(187,72,61,0.08) !important;
    color: #BB483D !important;
    font-weight: 500 !important;
}

/* Message aucun article après filtre */
.tbe-listing-empty-filter {
    background: #ffffff;
    border: 0.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    color: #888888;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Espacement avant footer sur pages listing */
.tbe-listing-wrap {
    margin-bottom: 24px;
}

/* Icônes breadcrumb listing */
.tbe-breadcrumb i {
    color: #888888;
    font-size: 12px;
}


/* Espacement navbar → hero homepage */
.kb-row-layout-id55_216348-58 {
    margin-top: 16px !important;
}

/* Espacement navbar → hero homepage */
.kadence-column55_e53823-c9 {
    margin-top: 16px !important;
}

/* Hero listing — trait rouge + description */
.tbe-listing-hero-bar {
    display: block;
    width: 32px;
    height: 2px;
    background: #BB483D;
    border-radius: 1px;
    margin-bottom: 12px;
}
.tbe-listing-hero-desc {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    margin-top: 8px;
    max-width: 520px;
    line-height: 1.6;
}

/* Hero listing — layout colonne */
.tbe-listing-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.tbe-listing-hero-title {
    margin: 0;
}

/* Trait rouge aligné avec le titre */
.tbe-listing-hero-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tbe-listing-hero-title-wrap .tbe-listing-hero-bar {
    flex-shrink: 0;
    margin-bottom: 0;
}

/* MENTIONS LÉGALES - espacements */
.tbe-mentions {
    margin-bottom: 40px;
}
.tbe-mentions h2 {
    margin-top: 1.8rem;
}
.tbe-mentions p {
    margin-top: 0.6rem;
}

/* Hero listing - description lisible sur image */
.tbe-listing-hero-desc {
    color: rgba(255,255,255,0.85) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6) !important;
}

/* Remonter en haut — décalage mobile */
@media (max-width: 768px) {
    .generate-back-to-top {
        bottom: 80px !important;
    }
}


/* Hero listing — padding top mobile */
@media (max-width: 768px) {
    .tbe-listing-hero-content {
        padding-top: 40px !important;
    }
}

/* Hero listing — padding description mobile */
@media (max-width: 768px) {
    .tbe-listing-hero-desc {
        padding-bottom: 16px !important;
    }
}

/* Hero article — titre mobile */
@media (max-width: 768px) {
    .tbe-article-hero-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    .tbe-article-hero-content {
        max-width: 100% !important;
        text-align: left !important;
        padding: 16px !important;
    }
    .tbe-article-hero {
        align-items: flex-end !important;
        justify-content: flex-start !important;
    }
}

/* Hero article — titre long mobile */
@media (max-width: 768px) {
    .tbe-article-hero-title {
        font-size: 16px !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .tbe-article-hero-content {
        max-width: 100% !important;
        text-align: left !important;
        padding: 16px !important;
    }
    .tbe-article-hero {
        align-items: flex-end !important;
        justify-content: flex-start !important;
    }
}

/* Espacement navbar → hero toutes langues */
.home .kb-row-layout-wrap:first-child {
    margin-top: 16px !important;
}

/* Espacement navbar → hero EN et ES */
.kadence-column52_54ecfe-86 {
    margin-top: 16px !important;
}

/* Espacement navbar → hero ES */
.kadence-column57_0b148c-3c {
    margin-top: 16px !important;
}

.cmplz-placeholder-element .cmplz-blocked-content-notice {
    position: relative !important;
    background: rgba(187,72,61,0.9) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 7px !important;
    font-size: 13px !important;
    text-align: center !important;
    cursor: pointer !important;
}


/* Section YouTube — hauteur stable */
.kb-row-layout-id55_8ef4ae-4f .wp-block-embed__wrapper {
    position: relative !important;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden !important;
}
.kb-row-layout-id55_8ef4ae-4f .wp-block-embed__wrapper iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}




/* Placeholder YouTube — bouton consentement */
.cmplz-blocked-content-notice {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(187,72,61,0.95) !important;
    color: white !important;
    padding: 10px 16px !important;
    border-radius: 7px !important;
    font-size: 13px !important;
    text-align: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    position: absolute !important;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    white-space: nowrap !important;
}

/* Placeholder YouTube — image personnalisée */
.cmplz-placeholder-element,
.cmplz-iframe-styles {
    background-image: url('https://thebureauexpat.com/wp-content/uploads/2026/05/youtube-placeholder.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Placeholder YouTube — bouton mobile */
@media (max-width: 768px) {
    .cmplz-blocked-content-notice {
        font-size: 11px !important;
        padding: 8px 12px !important;
        width: 80% !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

/* ===== DM Sans — police locale (évite Google Fonts) ===== */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/dm-sans/dm-sans-400.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/dm-sans/dm-sans-500.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/dm-sans/dm-sans-500.woff2') format('woff2');
}
:root {
    --gp-font--dm-sans: 'DM Sans', sans-serif;
}

/* Espacement navbar → hero toutes langues (FR/EN/ES) */
.home .kb-row-layout-wrap:first-of-type,
.home .kt-row-layout-wrap:first-of-type {
    margin-top: 16px !important;
}

/* Espacement navbar → hero FR/EN/ES */
.kb-row-layout-id55_cb4b2d-35,
.kb-row-layout-id52_cb4b2d-35,
.kb-row-layout-id57_cb4b2d-35 {
    margin-top: 16px !important;
}

/* Espacement navbar → hero toutes langues */
.home .entry-content > .wp-block-kadence-rowlayout:first-child {
    margin-top: 16px !important;
}

/* Espacement navbar → hero FR/EN/ES */
.home .entry-content > .wp-block-kadence-column:first-child {
    margin-top: 16px !important;
}

/* Espacement grille pays → footer */
.tbe-grille-pays {
    margin-bottom: 24px !important;
}

/* Espacement grille thèmes → footer */
.tbe-grille-themes {
    margin-bottom: 24px !important;
}

/* ===========================
   PAGE PARTENAIRES
   =========================== */
.tbe-partenaires-hero {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.tbe-partenaires-hero-content { position: relative; }
.tbe-partenaires-hero-title {
    color: white;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.3;
}
.tbe-partenaires-hero-title em { color: #BB483D; font-style: normal; }
.tbe-partenaires-hero-sub {
    color: rgba(255,255,255,0.45);
    font-size: 14px;
    line-height: 1.7;
    max-width: 520px;
}
.tbe-partenaires-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 24px;
}
.tbe-partenaires-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin-bottom: 12px;
}
.tbe-part-stat {
    background: #ffffff;
    border: 0.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 16px 18px;
}
.tbe-part-stat-bar {
    width: 24px; height: 2px;
    background: #BB483D;
    border-radius: 1px;
    margin-bottom: 8px;
}
.tbe-part-stat-num { font-size: 28px; font-weight: 500; color: #1a1a1a; }
.tbe-part-stat-label { font-size: 12px; color: #888888; margin-top: 6px; }
.tbe-part-section-title {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    margin-top: 12px;
}
.tbe-part-section-title::before {
    content: '';
    display: block;
    width: 20px; height: 2px;
    background: #BB483D;
    border-radius: 1px;
}
.tbe-partenaires-offres {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}
.tbe-part-offre {
    background: #ffffff;
    border: 0.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 20px;
}
.tbe-part-offre-icon {
    width: 44px; height: 44px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
}
.tbe-part-offre-icon i { color: white; font-size: 20px; }
.tbe-part-offre-title { font-size: 14px; font-weight: 500; color: #1a1a1a; margin-bottom: 6px; }
.tbe-part-offre-desc { font-size: 12px; color: #888888; line-height: 1.6; }
.tbe-partenaires-conditions {
    background: #ffffff;
    border: 0.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 12px;
}
.tbe-part-cond-title {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tbe-part-cond-title i { color: #BB483D; font-size: 16px; }
.tbe-part-cond-list { display: flex; flex-direction: column; gap: 8px; }
.tbe-part-cond-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
}
.tbe-part-cond-yes { color: #555555; }
.tbe-part-cond-no { color: #aaaaaa; }
.tbe-part-cond-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #BB483D;
    flex-shrink: 0;
    margin-top: 5px;
}
.tbe-part-cond-x {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #dddddd;
    flex-shrink: 0;
    margin-top: 5px;
}
.tbe-part-divider {
    width: 100%;
    height: 0.5px;
    background: rgba(0,0,0,0.1);
    margin: 12px 0;
}
.tbe-partenaires-form {
    background: #ffffff;
    border: 0.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 28px 32px;
}
.tbe-part-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(187,72,61,0.08);
    color: #BB483D;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
}
.tbe-part-form-badge i { font-size: 12px; }

/* Fix flex pages partenaires */
.page-template-page-partenaires #content.site-content {
    display: block !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .tbe-partenaires-stats { grid-template-columns: repeat(2,1fr); }
    .tbe-partenaires-offres { grid-template-columns: 1fr; }
    .tbe-partenaires-hero { padding: 28px 20px; }
    .tbe-partenaires-hero-title { font-size: 22px; }
}

/* Espacement navbar → hero page partenaires */
.page-template-page-partenaires .tbe-partenaires-hero {
    margin-top: 16px;
}

/* WPForms — bouton couleur site */
.tbe-partenaires-form .wpforms-submit {
    background-color: #BB483D !important;
    border-color: #BB483D !important;
    color: white !important;
    border-radius: 8px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
}
.tbe-partenaires-form .wpforms-submit:hover {
    background-color: #a33d33 !important;
    border-color: #a33d33 !important;
}

/* WPForms bouton rouge */
.tbe-btn-rouge {
    background-color: #BB483D !important;
    border-color: #BB483D !important;
    color: white !important;
    border-radius: 8px !important;
    font-size: 14px !important;
}
.tbe-btn-rouge:hover {
    background-color: #a33d33 !important;
    border-color: #a33d33 !important;
}

/* Partenaires sidebar — tronquer description */
.tbe-aff-promo, .be-vitrine-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Partenaires article — tronquer promo */
.tbe-aff-promo {
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
