/*
Theme Name: Djé Bidouille
Theme URI: https://djebidouille.fr
Author: Djé
Author URI: https://djebidouille.fr
Description: Thème WordPress chaleureux et coloré pour un blog de passionné — modélisme ferroviaire HO (Märklin), électronique DIY (ESP32), dioramas et bricolages divers. Ambiance atelier, zéro prise de tête !
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dje-bidouille
Tags: blog, hobby, one-column, two-columns, custom-colors, custom-header, custom-logo, custom-menu, featured-images, full-width-template, sticky-post, theme-options, translation-ready
*/

/* ============================================
   CSS VARIABLES — PALETTE DJÉ BIDOUILLE
   ============================================ */
:root {
  /* Couleurs principales */
  --dje-amber: #e8a020;
  --dje-amber-light: #ffd166;
  --dje-amber-glow: #fff3d0;
  --dje-rust: #c0542e;
  --dje-rust-dark: #8b3a1f;
  --dje-teal: #2a9d8f;
  --dje-teal-dark: #1a7a6f;
  --dje-teal-light: #a8dadc;
  --dje-sky: #4ea8de;
  --dje-violet: #7b5ea7;
  --dje-green: #6ab04c;

  /* Neutres chauds */
  --dje-cream: #fef9ef;
  --dje-warm-white: #fffdf8;
  --dje-wood: #5c3a1e;
  --dje-wood-light: #8b6914;
  --dje-text: #3d2c1a;
  --dje-text-light: #6b5744;
  --dje-text-muted: #999;

  /* Effets */
  --dje-shadow: rgba(94, 58, 30, 0.12);
  --dje-shadow-hover: rgba(94, 58, 30, 0.18);
  --dje-radius: 16px;
  --dje-radius-lg: 24px;
  --dje-radius-pill: 50px;

  /* Catégories */
  --cat-trains-bg: linear-gradient(135deg, #fff7e0, #ffe8a8);
  --cat-trains-border: var(--dje-amber);
  --cat-trains-text: var(--dje-rust-dark);
  --cat-elec-bg: linear-gradient(135deg, #e0f7f5, #a8f0e8);
  --cat-elec-border: var(--dje-teal);
  --cat-elec-text: var(--dje-teal-dark);
  --cat-brico-bg: linear-gradient(135deg, #ede0f7, #d4b8f0);
  --cat-brico-border: var(--dje-violet);
  --cat-brico-text: var(--dje-violet);
  --cat-esp-bg: linear-gradient(135deg, #e0ecf7, #a8d4f0);
  --cat-esp-border: var(--dje-sky);
  --cat-esp-text: #2c5aa0;
  --cat-diorama-bg: linear-gradient(135deg, #c7ecee, #7ed6df);
  --cat-diorama-border: #22a6b3;
  --cat-diorama-text: #1a7a6f;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--dje-cream);
  color: var(--dje-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--dje-teal); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--dje-rust); }

img { max-width: 100%; height: auto; display: block; }

/* Background ambiance */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(232,160,32,0.07) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(42,157,143,0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(123,94,167,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Grain texture subtile */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   LAYOUT
   ============================================ */
.dje-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 5;
}

.dje-content-area {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 40px 0 60px;
}

.dje-content-area.full-width {
  grid-template-columns: 1fr;
}

/* ============================================
   TOPBAR
   ============================================ */
.dje-topbar {
  background: linear-gradient(135deg, var(--dje-wood) 0%, var(--dje-rust-dark) 100%);
  padding: 6px 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dje-amber-light);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 10;
}
.dje-topbar span { opacity: 0.7; }

/* ============================================
   HEADER
   ============================================ */
.dje-header {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, var(--dje-warm-white) 0%, var(--dje-cream) 100%);
  border-bottom: 3px solid var(--dje-amber);
  box-shadow: 0 4px 20px var(--dje-shadow);
}

.dje-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Logo */
.dje-logo-zone {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dje-logo-zone a {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.dje-logo-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--dje-amber) 0%, var(--dje-rust) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 4px 16px rgba(232,160,32,0.4);
  position: relative;
  flex-shrink: 0;
  animation: dje-logo-wobble 20s linear infinite;
}
@keyframes dje-logo-wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  75% { transform: rotate(-3deg); }
}

.dje-logo-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed var(--dje-amber-light);
  animation: dje-dash-spin 8s linear infinite;
}
@keyframes dje-dash-spin { to { transform: rotate(360deg); } }

.dje-logo-icon img.custom-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.dje-site-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--dje-rust) 0%, var(--dje-amber) 50%, var(--dje-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.dje-site-tagline {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: var(--dje-text-light);
  margin-top: 2px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.dje-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dje-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.dje-nav a {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: var(--dje-radius-pill);
  color: var(--dje-text);
  transition: all 0.3s ease;
  display: inline-block;
}

.dje-nav a:hover,
.dje-nav .current-menu-item a,
.dje-nav .current_page_item a {
  background: var(--dje-amber-glow);
  color: var(--dje-rust);
  transform: translateY(-2px);
}

.dje-nav .current-menu-item a,
.dje-nav .current_page_item a {
  background: linear-gradient(135deg, var(--dje-amber) 0%, var(--dje-rust) 100%);
  color: white;
  box-shadow: 0 3px 12px rgba(232,160,32,0.35);
}

/* Sous-menus */
.dje-nav ul ul {
  display: none;
  position: absolute;
  background: white;
  border-radius: var(--dje-radius);
  box-shadow: 0 8px 32px var(--dje-shadow);
  padding: 8px;
  min-width: 200px;
  flex-direction: column;
  z-index: 100;
}

.dje-nav li:hover > ul { display: flex; }

.dje-nav ul ul a {
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
}

/* Menu mobile toggle */
.dje-menu-toggle {
  display: none;
  background: linear-gradient(135deg, var(--dje-amber), var(--dje-rust));
  border: none;
  color: white;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  padding: 10px 22px;
  border-radius: var(--dje-radius-pill);
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(232,160,32,0.3);
}

/* ============================================
   HERO (page d'accueil)
   ============================================ */
.dje-hero {
  text-align: center;
  padding: 50px 30px 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.dje-hero-welcome {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--dje-teal);
  margin-bottom: 8px;
  animation: dje-fade-in 0.8s ease;
}

.dje-hero h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dje-text);
  line-height: 1.2;
  margin-bottom: 16px;
  animation: dje-fade-in 0.8s ease 0.1s both;
}

.dje-hero .highlight {
  position: relative;
  display: inline-block;
}
.dje-hero .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: -4px; right: -4px;
  height: 12px;
  background: var(--dje-amber-light);
  opacity: 0.4;
  border-radius: 4px;
  z-index: -1;
  transform: rotate(-1deg);
}

.dje-hero-desc {
  font-size: 1.15rem;
  color: var(--dje-text-light);
  max-width: 650px;
  margin: 0 auto 30px;
  animation: dje-fade-in 0.8s ease 0.2s both;
}

@keyframes dje-fade-in {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Badges thématiques */
.dje-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: dje-fade-in 0.8s ease 0.3s both;
}

.dje-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--dje-radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px var(--dje-shadow);
  transition: all 0.3s ease;
  cursor: default;
  border: 2px solid;
}
.dje-badge:hover { transform: translateY(-4px) scale(1.03); }

.dje-badge.trains  { background: var(--cat-trains-bg); color: var(--cat-trains-text); border-color: var(--cat-trains-border); }
.dje-badge.elec    { background: var(--cat-elec-bg); color: var(--cat-elec-text); border-color: var(--cat-elec-border); }
.dje-badge.brico   { background: var(--cat-brico-bg); color: var(--cat-brico-text); border-color: var(--cat-brico-border); }
.dje-badge.esp     { background: var(--cat-esp-bg); color: var(--cat-esp-text); border-color: var(--cat-esp-border); }
.dje-badge.diorama { background: var(--cat-diorama-bg); color: var(--cat-diorama-text); border-color: var(--cat-diorama-border); }

.dje-badge-emoji { font-size: 1.5rem; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.dje-section-header {
  text-align: center;
  margin-bottom: 36px;
}

.dje-section-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: inline-block;
  position: relative;
}
.dje-section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  border-radius: 2px;
}

.dje-section-title.amber  { color: var(--dje-rust); }
.dje-section-title.amber::after { background: linear-gradient(90deg, var(--dje-amber), var(--dje-rust)); }
.dje-section-title.teal   { color: var(--dje-teal-dark); }
.dje-section-title.teal::after { background: linear-gradient(90deg, var(--dje-teal), var(--dje-sky)); }

.dje-section-subtitle {
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  color: var(--dje-text-light);
  margin-top: 8px;
}

/* ============================================
   ARTICLE CARDS
   ============================================ */
.dje-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.dje-card {
  background: white;
  border-radius: var(--dje-radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 24px var(--dje-shadow);
  transition: all 0.4s ease;
  animation: dje-card-in 0.6s ease both;
}
.dje-card:nth-child(1) { animation-delay: 0.1s; }
.dje-card:nth-child(2) { animation-delay: 0.2s; }
.dje-card:nth-child(3) { animation-delay: 0.3s; }
.dje-card:nth-child(4) { animation-delay: 0.4s; }
.dje-card:nth-child(5) { animation-delay: 0.5s; }
.dje-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes dje-card-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.dje-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px var(--dje-shadow-hover);
}

.dje-card-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.dje-card-image a { display: block; height: 100%; }

.dje-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dje-card:hover .dje-card-image img { transform: scale(1.08); }

/* Placeholder quand pas d'image */
.dje-card-image.no-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.5;
}
.dje-card-image.no-thumb.cat-modelisme       { background: linear-gradient(135deg, #ffeaa7, #fdcb6e, #e17055); }
.dje-card-image.no-thumb.cat-electronique     { background: linear-gradient(135deg, #a8e6cf, #55efc4, #00b894); }
.dje-card-image.no-thumb.cat-bricolage        { background: linear-gradient(135deg, #dfe6e9, #b2bec3, #636e72); }
.dje-card-image.no-thumb.cat-esp32            { background: linear-gradient(135deg, #a0c4ff, #74b9ff, #0984e3); }
.dje-card-image.no-thumb.cat-diorama          { background: linear-gradient(135deg, #c7ecee, #7ed6df, #22a6b3); }
.dje-card-image.no-thumb.cat-default          { background: linear-gradient(135deg, #fab1a0, #e17055, #d63031); }

/* Badge catégorie sur l'image */
.dje-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: var(--dje-radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  color: white;
}
.dje-card-cat.cat-modelisme   { background: rgba(232,160,32,0.9); }
.dje-card-cat.cat-electronique { background: rgba(42,157,143,0.9); }
.dje-card-cat.cat-bricolage   { background: rgba(123,94,167,0.9); }
.dje-card-cat.cat-esp32       { background: rgba(78,168,222,0.9); }
.dje-card-cat.cat-diorama     { background: rgba(34,166,179,0.9); }
.dje-card-cat.cat-default     { background: rgba(192,84,46,0.9); }

.dje-card-body {
  padding: 22px 24px 24px;
}

.dje-card-body h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}
.dje-card-body h3 a { color: var(--dje-text); }
.dje-card-body h3 a:hover { color: var(--dje-rust); }

.dje-card-excerpt {
  font-size: 0.92rem;
  color: var(--dje-text-light);
  margin-bottom: 16px;
  line-height: 1.5;
}

.dje-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dje-card-date {
  font-size: 0.82rem;
  color: var(--dje-text-muted);
  font-weight: 600;
}

.dje-read-more {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dje-teal);
  padding: 6px 16px;
  border-radius: var(--dje-radius-pill);
  border: 2px solid var(--dje-teal-light);
  transition: all 0.3s ease;
}
.dje-read-more:hover {
  background: var(--dje-teal);
  color: white;
  border-color: var(--dje-teal);
}

/* ============================================
   CATEGORIES GRID (page d'accueil)
   ============================================ */
.dje-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.dje-cat-card {
  background: white;
  border-radius: var(--dje-radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 4px 16px var(--dje-shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  display: block;
}
.dje-cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--dje-amber);
  box-shadow: 0 10px 32px rgba(232,160,32,0.2);
}

.dje-cat-card .cat-icon { font-size: 2.5rem; margin-bottom: 10px; display: block; }
.dje-cat-card .cat-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dje-text);
  margin-bottom: 4px;
}
.dje-cat-card .cat-count {
  font-size: 0.82rem;
  color: var(--dje-text-muted);
  font-weight: 600;
}

/* ============================================
   SINGLE ARTICLE
   ============================================ */
.dje-single-article {
  background: white;
  border-radius: var(--dje-radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 24px var(--dje-shadow);
  animation: dje-fade-in 0.6s ease;
}

.dje-single-thumb {
  width: 100%;
  max-height: 450px;
  overflow: hidden;
}
.dje-single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dje-single-content {
  padding: 40px 48px 48px;
}

.dje-single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--dje-text-muted);
}

.dje-single-meta .meta-cat a {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--dje-radius-pill);
  font-size: 0.8rem;
  text-transform: uppercase;
  background: var(--dje-amber-glow);
  color: var(--dje-rust);
}

.dje-single-content h1.entry-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dje-text);
  line-height: 1.25;
  margin-bottom: 24px;
}

/* Contenu de l'article — typographie riche */
.dje-entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
}

.dje-entry-content p { margin-bottom: 1.4em; }

.dje-entry-content h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dje-rust);
  margin: 2em 0 0.8em;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--dje-amber-glow);
}

.dje-entry-content h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dje-teal-dark);
  margin: 1.6em 0 0.6em;
}

.dje-entry-content blockquote {
  border-left: 4px solid var(--dje-amber);
  background: var(--dje-amber-glow);
  padding: 20px 24px;
  margin: 1.5em 0;
  border-radius: 0 var(--dje-radius) var(--dje-radius) 0;
  font-style: italic;
  color: var(--dje-text-light);
}

.dje-entry-content pre,
.dje-entry-content code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9rem;
}

.dje-entry-content pre {
  background: #2d2a24;
  color: #f0e6d2;
  padding: 24px;
  border-radius: var(--dje-radius);
  overflow-x: auto;
  margin: 1.5em 0;
  border: 2px solid var(--dje-amber);
}

.dje-entry-content code {
  background: var(--dje-amber-glow);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--dje-rust);
}

.dje-entry-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.dje-entry-content img {
  border-radius: var(--dje-radius);
  box-shadow: 0 4px 20px var(--dje-shadow);
  margin: 1.5em 0;
}

.dje-entry-content ul, .dje-entry-content ol {
  margin: 1em 0 1.4em 1.5em;
}
.dje-entry-content li { margin-bottom: 0.4em; }

/* Tags en bas d'article */
.dje-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px dashed var(--dje-amber-glow);
}

.dje-tags a {
  padding: 5px 14px;
  border-radius: var(--dje-radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--dje-amber-glow);
  color: var(--dje-rust);
  border: 1px solid var(--dje-amber-light);
  transition: all 0.3s ease;
}
.dje-tags a:hover {
  background: var(--dje-amber);
  color: white;
}

/* ============================================
   SIDEBAR
   ============================================ */
.dje-sidebar {
  position: sticky;
  top: 30px;
  align-self: start;
}

.dje-widget {
  background: white;
  border-radius: var(--dje-radius-lg);
  padding: 28px;
  box-shadow: 0 4px 16px var(--dje-shadow);
  margin-bottom: 28px;
}

.dje-widget-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dje-text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--dje-amber-glow);
  position: relative;
}
.dje-widget-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--dje-amber);
  border-radius: 2px;
}

.dje-widget ul {
  list-style: none;
  padding: 0;
}
.dje-widget li {
  padding: 8px 0;
  border-bottom: 1px solid #f0ebe2;
}
.dje-widget li:last-child { border-bottom: none; }
.dje-widget li a {
  font-weight: 600;
  font-size: 0.92rem;
}

/* Widget "À propos" */
.dje-widget-about {
  text-align: center;
}
.dje-widget-about .about-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dje-amber), var(--dje-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(232,160,32,0.3);
}
.dje-widget-about p {
  font-size: 0.9rem;
  color: var(--dje-text-light);
  line-height: 1.6;
}

/* ============================================
   ABOUT SECTION (page d'accueil)
   ============================================ */
.dje-about-band {
  background: linear-gradient(135deg, var(--dje-wood) 0%, var(--dje-rust-dark) 100%);
  padding: 60px 30px;
  margin-top: 50px;
  position: relative;
  z-index: 5;
}

.dje-about-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.dje-about-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dje-amber), var(--dje-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border: 4px solid rgba(255,255,255,0.2);
}

.dje-about-text { flex: 1; min-width: 280px; color: var(--dje-cream); }
.dje-about-text h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  color: var(--dje-amber-light);
  margin-bottom: 12px;
}
.dje-about-text p { font-size: 1rem; line-height: 1.7; opacity: 0.9; margin-bottom: 12px; }

.dje-about-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.dje-about-tags span {
  padding: 5px 14px;
  border-radius: var(--dje-radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  color: var(--dje-amber-light);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ============================================
   PAGINATION
   ============================================ */
.dje-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.dje-pagination a,
.dje-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--dje-radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.dje-pagination a {
  background: white;
  color: var(--dje-text);
  box-shadow: 0 2px 8px var(--dje-shadow);
}
.dje-pagination a:hover {
  background: var(--dje-amber-glow);
  color: var(--dje-rust);
  transform: translateY(-2px);
}

.dje-pagination span.current {
  background: linear-gradient(135deg, var(--dje-amber), var(--dje-rust));
  color: white;
  box-shadow: 0 3px 12px rgba(232,160,32,0.35);
}

/* ============================================
   COMMENTS
   ============================================ */
.dje-comments {
  background: white;
  border-radius: var(--dje-radius-lg);
  padding: 40px 48px;
  box-shadow: 0 6px 24px var(--dje-shadow);
  margin-top: 32px;
}

.dje-comments h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dje-text);
  margin-bottom: 24px;
}

.dje-comments .comment {
  padding: 20px 0;
  border-bottom: 1px solid #f0ebe2;
}

.dje-comments .comment-author {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--dje-teal-dark);
}

.dje-comments textarea,
.dje-comments input[type="text"],
.dje-comments input[type="email"],
.dje-comments input[type="url"] {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid #ede7dc;
  border-radius: var(--dje-radius);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  margin-bottom: 12px;
  background: var(--dje-warm-white);
}
.dje-comments textarea:focus,
.dje-comments input:focus {
  outline: none;
  border-color: var(--dje-amber);
  box-shadow: 0 0 0 3px rgba(232,160,32,0.15);
}

.dje-comments .submit {
  background: linear-gradient(135deg, var(--dje-amber), var(--dje-rust));
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: var(--dje-radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232,160,32,0.35);
  transition: all 0.3s ease;
}
.dje-comments .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,160,32,0.45);
}

/* ============================================
   FOOTER
   ============================================ */
.dje-footer {
  margin-top: 60px;
  background: var(--dje-text);
  color: var(--dje-cream);
  text-align: center;
  padding: 40px 30px;
  position: relative;
  z-index: 5;
}

.dje-footer .footer-logo {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dje-amber-light);
  margin-bottom: 8px;
}

.dje-footer p { font-size: 0.9rem; opacity: 0.6; margin-bottom: 16px; }

.dje-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.dje-footer-links a {
  color: var(--dje-teal-light);
  font-weight: 600;
  font-size: 0.9rem;
}
.dje-footer-links a:hover { color: var(--dje-amber-light); }

/* ============================================
   SEARCH FORM
   ============================================ */
.dje-search-form {
  display: flex;
  gap: 8px;
}
.dje-search-form input[type="search"] {
  flex: 1;
  padding: 10px 18px;
  border: 2px solid #ede7dc;
  border-radius: var(--dje-radius-pill);
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  background: var(--dje-warm-white);
  transition: border-color 0.3s ease;
}
.dje-search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--dje-amber);
}
.dje-search-form button {
  background: linear-gradient(135deg, var(--dje-amber), var(--dje-rust));
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--dje-radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dje-search-form button:hover { transform: translateY(-2px); }

/* ============================================
   404
   ============================================ */
.dje-404 {
  text-align: center;
  padding: 80px 30px;
}

.dje-404 .emoji-big { font-size: 6rem; margin-bottom: 20px; display: block; }

.dje-404 h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 3rem;
  color: var(--dje-rust);
  margin-bottom: 16px;
}

.dje-404 p {
  font-size: 1.15rem;
  color: var(--dje-text-light);
  margin-bottom: 24px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .dje-content-area {
    grid-template-columns: 1fr;
  }
  .dje-sidebar { position: static; }
  .dje-single-content { padding: 28px 24px 32px; }
}

@media (max-width: 768px) {
  .dje-header-inner {
    justify-content: center;
    text-align: center;
  }
  .dje-logo-zone { flex-direction: column; }
  .dje-logo-zone a { flex-direction: column; }

  .dje-menu-toggle { display: block; }
  .dje-nav {
    display: none;
    width: 100%;
    justify-content: center;
  }
  .dje-nav.active { display: flex; }
  .dje-nav ul { flex-direction: column; align-items: center; width: 100%; }

  .dje-hero h2 { font-size: 2rem; }

  .dje-articles-grid { grid-template-columns: 1fr; }
  .dje-cat-grid { grid-template-columns: repeat(2, 1fr); }

  .dje-about-inner { flex-direction: column; text-align: center; }
  .dje-about-tags { justify-content: center; }

  .dje-comments { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .dje-cat-grid { grid-template-columns: 1fr; }
  .dje-badges { flex-direction: column; align-items: center; }
}
