/*
 * modern.css — Refonte visuelle complète du thème Geccko2
 * Design: dark glassmorphism, aurora animée, micro-interactions
 */

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@700;800&display=swap');

/* ============================================================
   VARIABLES CSS
   ============================================================ */
:root {
  --accent:        #38bdf8;
  --accent-2:      #818cf8;
  --accent-glow:   rgba(56, 189, 248, 0.25);
  --accent-dark:   #0ea5e9;
  --glass-bg:      rgba(255, 255, 255, 0.04);
  --glass-border:  rgba(255, 255, 255, 0.10);
  --glass-bg-card: rgba(255, 255, 255, 0.96);
  --text-primary:  #0f172a;
  --text-muted:    #64748b;
  --text-light:    rgba(255, 255, 255, 0.65);
  --card-radius:   14px;
  --radius-sm:     8px;
  --shadow-card:   0 0 0 1px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.1);
  --shadow-hover:  0 0 0 1px rgba(56,189,248,0.15), 0 8px 24px rgba(0,0,0,0.15), 0 24px 56px rgba(0,0,0,0.18);
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --spring:        cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
html {
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

::selection {
  background: var(--accent-dark);
  color: #fff;
}

::-webkit-scrollbar         { width: 6px; background: #0a0f1e; }
::-webkit-scrollbar-thumb   { background: var(--accent-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

body,
button, input, select, textarea {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text-primary);
}

a {
  color: var(--accent-dark);
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--accent); }

/* ============================================================
   ARRIÈRE-PLAN AURORA ANIMÉ
   ============================================================ */
@keyframes aurora {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

@keyframes orb-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-30px) scale(1.05); }
  66%      { transform: translate(-20px,20px) scale(0.97); }
}

body {
  background: #060b18;
  position: relative;
  overflow-x: hidden;
}

/* Orbes lumineux en arrière-plan */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: orb-float 20s ease-in-out infinite;
}
body::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1e40af 0%, #0ea5e9 60%, transparent 100%);
  top: -100px; left: -150px;
  animation-delay: 0s;
}
body::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7c3aed 0%, #4f46e5 60%, transparent 100%);
  bottom: 200px; right: -100px;
  animation-delay: -10s;
}

/* Grille de points subtile */
.page-wrapper {
  position: relative;
  z-index: 1;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ============================================================
   BARRE DE PROGRESSION DE LECTURE
   ============================================================ */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-2));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--accent-glow), 0 0 20px rgba(56,189,248,0.15);
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  padding: 40px 0 10px;
  position: relative;
}

/* Logo avec texte en dégradé */
#header .logo .text-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 78px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 40%, #38bdf8 70%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(56,189,248,0.3));
}

#header .logo .text-logo a {
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
#header .logo .text-logo a:hover,
#header .logo .text-logo a:focus { filter: brightness(1.15); }

#header .logo .site-description {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-style: normal;
  margin: 0;
  padding: 0;
}

/* Logo image avec effet glow */
#header .logo-right img {
  border-radius: 50%;
  width: 90px; height: 90px;
  object-fit: cover;
  border: 2px solid rgba(56,189,248,0.3);
  box-shadow:
    0 0 0 4px rgba(56,189,248,0.08),
    0 0 30px rgba(56,189,248,0.2),
    0 8px 32px rgba(0,0,0,0.4);
  transition: all 0.4s var(--spring);
}
#header .logo-right img:hover {
  border-color: var(--accent);
  box-shadow:
    0 0 0 6px rgba(56,189,248,0.12),
    0 0 50px rgba(56,189,248,0.35),
    0 12px 40px rgba(0,0,0,0.5);
  transform: scale(1.08) rotate(3deg);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav {
  clear: both;
  margin: 0 0 32px;
}

.main-nav .navbar_inner {
  background: rgba(6, 11, 24, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), inset 0 -1px 0 rgba(255,255,255,0.03);
  width: 100%;
}

.navbar_inner > div > ul > li > a,
.navbar_inner > ul > li > a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 0 20px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  height: 52px;
  line-height: 52px;
}

.navbar_inner > div > ul > li > a:hover,
.navbar_inner > div > ul > li.sfHover > a,
.navbar_inner > div > ul > li.active > a,
.navbar_inner > ul > li > a:hover,
.navbar_inner > ul > li.sfHover > a,
.navbar_inner > ul > li.active > a {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  text-shadow: 0 0 20px rgba(56,189,248,0.5);
}

/* Sous-menus */
.navbar_inner > div > ul ul,
.navbar_inner > ul ul {
  background: rgba(8, 14, 32, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(56,189,248,0.05);
  padding: 8px 0;
}

.navbar_inner > div > ul li li a,
.navbar_inner > ul li li a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  padding: 9px 20px;
  transition: all 0.15s var(--ease);
}
.navbar_inner > div > ul li li > a:hover,
.navbar_inner > ul li li > a:hover {
  background: rgba(56,189,248,0.1);
  color: var(--accent);
}

/* Séparateurs verticaux discrets */
.navbar_inner > div > ul > li,
.navbar_inner > ul > li {
  border-left: 1px solid rgba(255,255,255,0.04) !important;
}
.navbar_inner > div > ul > li:first-child,
.navbar_inner > ul > li:first-child {
  border-left: none !important;
}

/* ============================================================
   CARTES D'ARTICLES — GLASSMORPHISM
   ============================================================ */

/* Animation d'entrée */
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hentry {
  background: var(--glass-bg-card);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  border-top: none;
  overflow: hidden;
  position: relative;
  padding: 0;
  margin: 0 0 28px;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  animation: card-in 0.5s var(--ease) both;
  display: flex;
  flex-direction: column;
}

/* Délai en cascade pour chaque carte */
.hentry:nth-child(1) { animation-delay: 0.05s; }
.hentry:nth-child(2) { animation-delay: 0.12s; }
.hentry:nth-child(3) { animation-delay: 0.19s; }
.hentry:nth-child(4) { animation-delay: 0.26s; }
.hentry:nth-child(5) { animation-delay: 0.33s; }

/* Ligne colorée en haut de chaque carte */
.hentry::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: 2;
}
.hentry:hover::before {
  opacity: 1;
}

/* Aura de glow autour de la carte au survol */
.hentry::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(129,140,248,0.1)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.hentry:hover::after {
  opacity: 1;
}

.hentry:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ============================================================
   IMAGE EN UNE
   ============================================================ */
.featured-thumbnail {
  overflow: hidden;
  max-height: 280px;
  position: relative;
  border-radius: 0;
}

.featured-thumbnail::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
}

.featured-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
  max-height: 280px;
}
.hentry:hover .featured-thumbnail img {
  transform: scale(1.05);
}

/* ============================================================
   EN-TÊTE & TITRE DE L'ARTICLE
   ============================================================ */
.post-header {
  padding: 20px 24px 8px;
}

.post-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100%;
  overflow: hidden;
}

.post-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s var(--ease);
  background-image: linear-gradient(var(--accent-dark), var(--accent-dark));
  background-repeat: no-repeat;
  background-size: 0 2px;
  background-position: 0 100%;
  transition: background-size 0.3s var(--ease), color 0.2s var(--ease);
  padding-bottom: 1px;
}
.post-title a:hover {
  color: var(--accent-dark);
  background-size: 100% 2px;
}

.single .post-title {
  font-size: 28px;
  padding: 0 0 16px;
}

/* ============================================================
   CONTENU DE L'ARTICLE
   ============================================================ */
.post_content {
  padding: 8px 24px 16px;
  flex: 1;
  overflow: hidden;
}

.post_content .art_thumbnail {
  float: left;
  margin-right: 16px;
  margin-bottom: 8px;
}

.post_content p,
.excerpt {
  color: #374151;
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0 0 12px;
}

/* ============================================================
   LIEN "LIRE LA SUITE" — Pill moderne
   ============================================================ */
.more_link, .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  color: #fff;
  background: linear-gradient(135deg, #0c2a4a 0%, #0e4072 50%, #1565c0 100%);
  padding: 7px 18px;
  border-radius: 100px;
  border: none;
  transition: all 0.25s var(--spring);
  box-shadow: 0 4px 14px rgba(12,42,74,0.35);
  margin-top: auto;
  align-self: flex-start;
  white-space: nowrap;
}
.more_link:hover, .more:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(12,42,74,0.5);
  color: #fff;
}
.more_link::after, .more::after {
  content: '→';
  font-family: inherit;
  font-style: normal;
  font-size: 14px;
  transition: transform 0.25s var(--spring);
}
.more_link:hover::after, .more:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   DATE ET META
   ============================================================ */
.post_date {
  position: absolute;
  top: 0; right: 0;
}

.post_date time {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-2) 100%);
  padding: 5px 12px;
  border-radius: 0 var(--card-radius) 0 var(--card-radius);
}

.post_meta {
  padding: 12px 24px 16px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-muted);
}

.post_meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  transition: color 0.2s var(--ease);
}
.post_meta span:hover { color: var(--accent-dark); }

.post_meta a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.post_meta a:hover { color: var(--accent-dark); }

.post_meta i {
  font-size: 12px;
  color: var(--accent-dark);
  opacity: 0.8;
}

/* ============================================================
   PAGE WRAP (pages statiques, catégories)
   ============================================================ */
.page_wrap,
.page-title,
.taxonomy-description {
  background: var(--glass-bg-card);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  animation: card-in 0.4s var(--ease) both;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.widget {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 24px;
  padding: 0 !important;
  border-top: none !important;
  animation: card-in 0.5s var(--ease) 0.1s both;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.widget:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.widget-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.9) !important;
  background: linear-gradient(135deg, #0c2a4a 0%, #0e4072 50%, #1565c0 100%);
  padding: 14px 20px !important;
  margin: 0 !important;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  position: relative;
  overflow: hidden;
}
.widget-title::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(56,189,248,0.15) 0%, transparent 60%);
}

.widget ul {
  margin: 0;
  padding: 6px 0;
}

.widget ul li {
  padding: 0;
  background: none;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s var(--ease);
  list-style: none;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li:hover { background: #f8fafc; }

.widget ul li a {
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.widget ul li a:hover {
  color: var(--accent-dark);
  padding-left: 26px;
}

/* Archives et catégories — compteur sur la même ligne */
#archives ul li,
#categories-3 ul li {
  display: flex;
  align-items: center;
  padding-right: 20px;
}
#archives ul li a,
#categories-3 ul li a {
  flex: 1;
}

/* Derniers commentaires */
.recentcomments {
  padding: 10px 20px !important;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}
.recentcomments a.url {
  display: inline !important;
  padding: 0 !important;
  font-weight: 700 !important;
  color: #0369a1 !important;
  text-decoration: none !important;
}
.recentcomments a.url:hover {
  color: var(--accent-dark) !important;
}
.recentcomments a:not(.url) {
  display: inline !important;
  padding: 0 !important;
  color: #374151 !important;
  font-style: italic;
  text-decoration: none !important;
}
.recentcomments a:not(.url):hover {
  color: var(--accent-dark) !important;
}

/* Widget tags — pills */
.widget.tagcloud {
  padding: 0;
}
.tagcloud {
  padding: 16px 20px 20px;
}
.tagcloud a,
.tag-cloud-link {
  display: inline-block;
  margin: 0 4px 6px 0;
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: 100px;
  background: #f1f5f9;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s var(--ease);
  border: 1px solid #e2e8f0;
}
.tagcloud a:hover,
.tag-cloud-link:hover {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(14,165,233,0.3);
}

/* ============================================================
   FORMULAIRE DE RECHERCHE
   ============================================================ */
#search form {
  padding: 16px 20px;
}
#search ul {
  padding: 0;
}
#search li {
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

.search-form,
#search form {
  display: flex;
  gap: 8px;
}
.search-form input[type="text"],
.search-form input[type="search"] {
  flex: 1;
  border: 1.5px solid #e2e8f0;
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  background: #f8fafc;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font-family: 'Inter', sans-serif;
}
.search-form input[type="text"]:focus,
.search-form input[type="search"]:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
  background: #fff;
}
.search-form input[type="submit"] {
  background: var(--accent-dark);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--spring);
  font-family: 'Inter', sans-serif;
}
.search-form input[type="submit"]:hover {
  background: #0369a1;
  transform: scale(1.05);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.page_nav_wrap { margin: 32px 0 8px; }

.post_nav,
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.post_nav a,
.pagination a,
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg-card);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: all 0.2s var(--spring);
}
.post_nav a:hover,
.pagination a:hover {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(14,165,233,0.3);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgba(6, 11, 24, 0.8);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 48px;
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}

/* Ligne dégradée au top du footer */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: 0.5;
}

.footer-text {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  line-height: 2.2;
}
.footer-text a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s var(--ease);
  font-weight: 500;
}
.footer-text a:hover { color: var(--accent); }

/* Bouton retour en haut */
#toTop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  margin: 14px auto 0;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-2));
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(56,189,248,0.3);
  transition: all 0.3s var(--spring);
}
#toTop:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 24px rgba(56,189,248,0.45);
}

/* ============================================================
   ARTICLE COMPLET (page article)
   ============================================================ */
.single .hentry {
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
}

.single .post_content {
  padding: 8px 28px 24px;
}

/* Titres dans le contenu */
.single .post_content h2 {
  font-size: 22px;
  margin: 2em 0 0.6em;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
}
.single .post_content h3 {
  font-size: 18px;
  margin: 1.6em 0 0.5em;
  color: var(--accent-dark);
}

/* Citation */
.single .post_content blockquote,
blockquote {
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  color: #0c4a6e;
  font-style: italic;
  position: relative;
}
.single .post_content blockquote::before,
blockquote::before {
  content: '"';
  font-size: 60px;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: -10px; left: 12px;
  line-height: 1;
  font-family: Georgia, serif;
}

/* Code inline */
.single .post_content code,
code {
  background: #f1f5f9;
  color: #be185d;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

/* Bloc de code */
.single .post_content pre,
pre {
  background: #0d1117;
  color: #e6edf3;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.75;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  margin: 20px 0;
}
.single .post_content pre code,
pre code {
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

/* Images */
.single .post_content img,
.post_content img {
  border-radius: var(--radius-sm);
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Liens dans le contenu */
.single .post_content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(14,165,233,0.3);
  transition: text-decoration-color 0.2s var(--ease), color 0.2s var(--ease);
}
.single .post_content a:hover {
  color: #0369a1;
  text-decoration-color: #0369a1;
}

/* Tableaux */
.single .post_content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0;
}
.single .post_content th {
  background: #f8fafc;
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid #e2e8f0;
}
.single .post_content td {
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #374151;
}
.single .post_content tr:hover td { background: #f8fafc; }

/* ============================================================
   INFO AUTEUR
   ============================================================ */
.author-info {
  display: flex;
  gap: 20px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: var(--card-radius);
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(14,165,233,0.08);
}
.author-info .thumbnail {
  flex-shrink: 0;
  margin: 0;
}
.author-info .avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(14,165,233,0.3);
  box-shadow: 0 4px 12px rgba(14,165,233,0.2);
}
.author-info h2 {
  font-size: 15px;
  margin: 0 0 8px;
  color: #0c4a6e;
}
.author-info p {
  font-size: 13.5px;
  color: #374151;
  margin: 0;
  line-height: 1.7;
}

/* ============================================================
   COMMENTAIRES
   ============================================================ */
.comments-area {
  border-radius: var(--card-radius);
}

#commentaire input,
#commentaire textarea,
.comment-form input,
.comment-form textarea {
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  width: 100%;
  background: #fff;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  margin-bottom: 12px;
}
#commentaire input:focus,
#commentaire textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

#commentaire input[type="submit"],
.comment-form input[type="submit"],
.submit {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-2));
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
  transition: all 0.25s var(--spring);
  width: auto;
}
#commentaire input[type="submit"]:hover,
.comment-form input[type="submit"]:hover,
.submit:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(14,165,233,0.45);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 8px 20px !important;
  margin-bottom: 20px;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
}
.breadcrumb li { padding: 0; background: none; }
.breadcrumb li.active { color: rgba(255,255,255,0.8); font-weight: 600; }
.breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .divider { color: rgba(255,255,255,0.25); }

/* ============================================================
   BADGE ARTICLE EN AVANT
   ============================================================ */
#content .featured_badge {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-2) 100%);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ============================================================
   MOBILE — SELECT MENU
   ============================================================ */
.select-menu {
  background: rgba(6,11,24,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.8);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 8px 12px;
  height: auto;
  margin: 8px 0;
}

/* ============================================================
   FOCUS ACCESSIBILITÉ
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   LISTE DANS CONTENU
   ============================================================ */
.post_content ul li,
.single .post_content ul li {
  background: none;
  padding: 4px 0 4px 20px;
  position: relative;
  list-style: none;
  color: #374151;
  font-size: 14.5px;
}
.post_content ul li::before,
.single .post_content ul li::before {
  content: '›';
  position: absolute;
  left: 4px;
  color: var(--accent-dark);
  font-weight: 700;
}

/* ============================================================
   PAGE 404
   ============================================================ */
.error-404 {
  text-align: center;
  padding: 60px 20px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  #header .logo .text-logo {
    font-size: 52px;
  }
  .hentry { border-radius: var(--radius-sm); }
  .post-header { padding: 16px 18px 6px; }
  .post_content { padding: 6px 18px 14px; }
  .post_meta { padding: 10px 18px 14px; gap: 8px; }
  .single .post_content { padding: 6px 18px 20px; }
  .widget { border-radius: var(--radius-sm); }
  .author-info { flex-direction: column; }
}

@media (max-width: 480px) {
  #header .logo .text-logo {
    font-size: 40px;
  }
  .more_link, .more {
    font-size: 11.5px;
    padding: 6px 14px;
  }
  body::before, body::after { display: none; }
}
