#back-header .back-header-inner {

 width: 100%;
  position: fixed; /* Rend le header fixe */
  top: 0;
  left: 0;
  z-index: 900;
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#back-header .container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

/* Top Bar - Breaking News */
#back-header .back-toolbar-area {
  background: #FF6B00; /* Orange vif */
  padding: 8px 0;
  color: white;
  font-size: 14px;
}

#back-header .back-ticker {
  display: flex;
  align-items: center;
}

#back-header .back-ticker div.widget-title {
  background: #fffff;
  color: #FFD700; /* Or */
  padding: 3px 10px;
  border-radius: 3px;
  margin-right: 15px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
}

#back-header .back-ticker .item a {
  color: white;
  font-weight: 500;
}

#back-header .back-ticker .item a:hover {
  color: #FFD700; /* Or au survol */
}

/* Main Header */
#back-header .back-table-wrap {

  background: #fffff;
}

/* Logo */
#back-header .logo-area a {
  color: #FFD700; /* Or */
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#back-header .logo-area a span {
  color: #FF6B00; /* Orange */
}

/* Navigation */
.menu-area .navbar ul li {
  padding: 20px 0;
}

.menu-area .navbar ul li a {
  color: black;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 5px 15px;
  transition: all 0.3s ease;
}

.menu-area .navbar ul li a:hover,
.menu-area .navbar ul li.current-menu-ancestor a,
.menu-area .navbar ul li.current_page_item a {
  color: #FF6B00; /* Orange */
}

/* Dropdown Menu */
.menu-area .navbar ul li .sub-menu {
  background: #ffffff;
  border-top: 2px solid #FF6B00;
}

.menu-area .navbar ul li .sub-menu li a {
  color: #fff;
  padding: 10px 20px;
}

.menu-area .navbar ul li .sub-menu li a:hover {
  background: rgba(255, 107, 0, 0.1);
}

/* CTA Button */
#back-header .back-quote a {
  background: #FF6B00;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

#back-header .back-quote a:hover {
  background: #FFD700; /* Or au survol */
  color: #000;
}

/* Sticky Header */
.menu-sticky.sticky {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.menu-sticky.sticky .logo-area a {
  color: #FFD700;
}

/* Mobile Menu Toggle */
.offcanvas-icon .back-nav-link .nav-menu-link span {
  background: #FF6B00;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  #back-header .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .menu-area .navbar ul li {
    padding: 10px 0;
  }
  
  #back-header .back-quote {
    margin-left: 15px;
  }
}
.back-breadcrumbs {
  position: relative;
  background: #fbfafa;
  margin-top:120px;
}
/*dark mode*/
/* Dark Mode Optimisé */
[data-theme="dark"] {
  color-scheme: dark;
}

[data-theme="dark"] body {
  background-color: #121212;
  color: #e0e0e0;
}

[data-theme="dark"] .site-main > article {
  background: #1e1e1e;
  border: 1px solid #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .entry-title a {
  color: #FFD700 !important; /* Or pour les titres */
}

[data-theme="dark"] .entry-title a:hover {
  color: #FF6B00 !important; /* Orange au survol */
}

[data-theme="dark"] .entry-footer {
  background: #252525 !important;
  border-top: 1px solid #333;
}

[data-theme="dark"] .entry-footer span a {
  color: #aaa !important;
}

[data-theme="dark"] .entry-footer span a:hover {
  color: #FF6B00 !important;
}

/* Amélioration des contrastes */
[data-theme="dark"] h1, 
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: #ffffff !important;
}

[data-theme="dark"] a {
  color: #FFD700; /* Or pour les liens */
}

[data-theme="dark"] a:hover {
  color: #FF6B00; /* Orange au survol */
}

/* Widgets et sidebar */
[data-theme="dark"] .bs-sidebar .widget {
  background: #1e1e1e;
  border: 1px solid #333;
}

[data-theme="dark"] .bs-sidebar .tagcloud a {
  background: #252525;
  border-color: #333;
  color: #e0e0e0;
}

[data-theme="dark"] .bs-sidebar .tagcloud a:hover {
  background: #FF6B00;
  color: #fff;
}

/* Formulaires */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: #252525 !important;
  border-color: #333 !important;
  color: #e0e0e0 !important;
}

[data-theme="dark"] ::placeholder {
  color: #999 !important;
}

/* Boutons */
[data-theme="dark"] button,
[data-theme="dark"] .button,
[data-theme="dark"] input[type="submit"] {
  background: #FF6B00 !important;
  color: #fff !important;
}

[data-theme="dark"] button:hover,
[data-theme="dark"] .button:hover,
[data-theme="dark"] input[type="submit"]:hover {
  background: #FF8C00 !important;
}

/* Commentaires */
[data-theme="dark"] .comment-list li.comment {
  background: #1e1e1e;
  border-color: #333;
}

[data-theme="dark"] .comment-metadata {
  color: #aaa;
}

/* Pagination */
[data-theme="dark"] .page-numbers {
  background: #252525;
  border-color: #333;
  color: #e0e0e0;
}

[data-theme="dark"] .page-numbers.current,
[data-theme="dark"] .page-numbers:hover {
  background: #FF6B00;
  color: #fff;
}

/* Header en dark mode */
[data-theme="dark"] #back-header {
  background: #121212 !important;
  border-bottom: 1px solid #333;
}

[data-theme="dark"] .menu-area .navbar ul li a {
  color: black !important;
}

[data-theme="dark"] .menu-area .navbar ul li a:hover {
  color: #FF6B00 !important;
}

/* Menu déroulant */
[data-theme="dark"] .sub-menu {
  background: #252525 !important;
  border-color: #333 !important;
}

/* Mobile menu */
[data-theme="dark"] #mobile_menu {
  background: #1e1e1e;
}

[data-theme="dark"] #mobile_menu ul li a {
  border-bottom-color: #333;
}
[data-theme="dark"] .off[data-theme="dark"] canvas-icon .back-nav-link .nav-menu-link span {
  background: #FF6B00;
}
/* Ajustements spécifiques pour la recherche */
[data-theme="dark"] body.search-results .site-main > article {
  background: #1e1e1e;
  border-color: #333;
}

[data-theme="dark"] .search-button a {
  color: #FFD700 !important;
}

/* Transitions douces */
[data-theme="dark"] * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Contraste amélioré pour le texte */
[data-theme="dark"] p,
[data-theme="dark"] li,
[data-theme="dark"] span {
  color: #e0e0e0 !important;
}

/* Images en mode sombre */
[data-theme="dark"] img {
  filter: brightness(0.9) contrast(1.1);
  opacity: 0.9;
}