/* ═══════════════════════════════════════════════════════════════
   FUELDECK — CSS Additionnel WordPress.com Premium
   Version 1.1 — Mai 2026
   À coller dans : Apparence > Personnaliser > CSS additionnel
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&display=swap');
/* ═══════════════════════════════════════════════════════════════
   1. ÉLÉMENTS ÉDITORIAUX GLOBAUX
   ═══════════════════════════════════════════════════════════════ */

/* Tags / badges */
.wp-block-post-terms a,
.entry-taxonomies a {
  background: rgba(174,234,0,0.14);
  border: 1px solid rgba(174,234,0,0.6);
  color: #8BC200;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.10em;
  border-radius: 2px;
  padding: 3px 8px;
  text-decoration: none;
}
@media (max-width: 375px) {
  .wp-block-post-terms a,
  .entry-taxonomies a {
    font-size: 10px;
    letter-spacing: 0.06em;
    padding: 2px 6px;
  }
}

.tags-links a {
  background: rgba(174,234,0,0.14);
  border: 1px solid rgba(174,234,0,0.6);
  color: #8BC200 !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.10em;
  border-radius: 2px;
  padding: 3px 8px;
  text-decoration: none;
}
.tags-links { display: flex; flex-wrap: wrap; gap: 6px; }
.tags-links .tag-hash { display: none; }
.tags-links a:hover {
  background: #AEEA00;
  border-color: #AEEA00;
  color: #0D0D0D !important;
}

/* Citation */
blockquote {
  border-left: 3px solid #AEEA00;
  padding-left: 24px;
  margin: 32px 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Overlay image */
.wp-block-cover__image-background { filter: brightness(0.45); }

/* Séparateur */
hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.09);
  margin: 32px 0;
}


/* ═══════════════════════════════════════════════════════════════
   2. BLOCS FUELDECK — Composants éditoriaux récurrents
   ═══════════════════════════════════════════════════════════════ */

/* Eyebrow */
.fd-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #AEEA00;
  margin: 0 0 14px;
}
.fd-eyebrow--muted { color: rgba(255,255,255,0.45); }

/* Sommaire */
.fd-sommaire {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 40px;
}
.fd-sommaire ol {
  margin: 0;
  padding-left: 20px;
  line-height: 2.2;
  color: rgba(255,255,255,0.7);
}
.fd-sommaire a { color: rgba(255,255,255,0.7); text-decoration: none; }
.fd-sommaire a:hover { color: #AEEA00 !important; }

/* Scène terrain */
.fd-scene {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 24px 28px;
  margin: 32px 0;
  background: rgba(255,255,255,0.03);
}
.fd-scene p { margin: 0 0 10px; }
.fd-scene p:last-child { margin: 0; font-weight: 600; }

/* L'essentiel à retenir */
.fd-essentiel {
  background: rgba(174,234,0,0.07);
  border: 1px solid rgba(174,234,0,0.22);
  border-radius: 10px;
  padding: 28px;
  margin: 32px 0;
}
.fd-essentiel ul { margin: 0 0 14px; padding-left: 20px; }
.fd-essentiel li { margin-bottom: 6px; }
.fd-essentiel li:last-child { margin-bottom: 0; }
.fd-essentiel .fd-note {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

/* Conseil */
.fd-conseil {
  background: rgba(174,234,0,0.08);
  border-left: 4px solid #AEEA00;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.fd-conseil p { margin: 0; }

/* Règle d'or */
.fd-regle-or {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 20px 0;
}
.fd-regle-or p { margin: 0; }

/* Checklist */
.fd-checklist {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 28px;
  margin: 32px 0;
}
.fd-checklist ul { margin: 0; padding-left: 0; list-style: none; }
.fd-checklist li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fd-checklist li:last-child { border-bottom: none; }

/* Footer article */
.fd-footer {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 24px;
}

/* Tableaux */
.fd-table {
  border-collapse: collapse;
  width: 100%;
  margin: 28px 0;
  font-size: 14px;
  border-radius: 8px;
  overflow: hidden;
}
.fd-table th {
  background: #AEEA00;
  color: #0D0D0D;
  font-weight: 700;
  padding: 11px 14px;
  text-align: left;
}
.fd-table td {
  background: #F7F7F2;
  color: #1a1a1a;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.fd-table tr:last-child td { border-bottom: none; }

/* FAQ accordéon */
.fd-faq { margin: 24px 0; }
.fd-faq details { border-bottom: 1px solid rgba(247,247,242,0.1); }
.fd-faq details:last-child { border-bottom: none; }
.fd-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  color: #F7F7F2;
  font-size: 15px;
  font-weight: 700;
}
.fd-faq summary::-webkit-details-marker { display: none; }
.fd-faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #AEEA00;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%230D0D0D' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
  transition: transform 0.25s ease;
}
.fd-faq details[open] summary::after { transform: rotate(180deg); }
.fd-faq .fd-faq-a {
  color: rgba(247,247,242,0.7);
  font-size: 14px;
  line-height: 1.65;
  padding: 0 0 16px 0;
}


/* ═══════════════════════════════════════════════════════════════
   3. HOMEPAGE — Grille "Dernières analyses"
   Bloc Kadence Posts avec classe additionnelle .fd-posts-grid
   ═══════════════════════════════════════════════════════════════ */

/* Grille 4 colonnes — neutralise les calculs auto de Kadence */
ul.fd-posts-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: auto !important;
  grid-auto-rows: auto !important;
  gap: 12px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Card commune (featured + secondaires) */
ul.fd-posts-grid .kb-post-list-item {
  background: #1A1A1A !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: 4px !important;
  grid-template-rows: auto !important;
  grid-auto-rows: auto !important;
  height: auto !important;
  align-self: stretch !important;
  overflow: hidden;
  transition: border-color 300ms, transform 300ms;
}
ul.fd-posts-grid .kb-post-list-item:hover {
  border-color: rgba(174,234,0,0.22) !important;
  transform: translateY(-2px);
}

/* FEATURED — pleine largeur, image gauche / texte droite */
ul.fd-posts-grid .kb-post-list-item:nth-child(1) {
  grid-column: span 4;
}
ul.fd-posts-grid .kb-post-list-item:nth-child(1) article {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  height: auto !important;
  min-height: 0 !important;
}
ul.fd-posts-grid .kb-post-list-item:nth-child(1) .post-thumbnail {
  width: 55% !important;
  flex-shrink: 0 !important;
  height: auto !important;
  padding-bottom: 0 !important;        /* neutralise aspect-ratio Kadence */
  position: relative !important;
  display: block !important;
}
ul.fd-posts-grid .kb-post-list-item:nth-child(1) .post-thumbnail-inner {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
}
ul.fd-posts-grid .kb-post-list-item:nth-child(1) .post-thumbnail img {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: unset !important;
}
ul.fd-posts-grid .kb-post-list-item:nth-child(1) .entry-content-wrap {
  flex: 1 !important;
  padding: 28px 32px !important;
}
ul.fd-posts-grid .kb-post-list-item:nth-child(1) .entry-title {
  font-size: 26px !important;
}

/* Typographie grille (featured + secondaires) */
ul.fd-posts-grid .entry-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
  text-transform: uppercase !important;
}
ul.fd-posts-grid .entry-title a {
  color: #FFFFFF !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
ul.fd-posts-grid .entry-title a:hover {
  color: #AEEA00 !important;
}
ul.fd-posts-grid .entry-summary {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.58) !important;
}
ul.fd-posts-grid .entry-meta,
ul.fd-posts-grid .entry-meta a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11px !important;
  color: rgba(255,255,255,0.32) !important;
}

/* Responsive grille */
@media (max-width: 767px) {
  ul.fd-posts-grid { grid-template-columns: 1fr !important; }
  ul.fd-posts-grid .kb-post-list-item:nth-child(1) { grid-column: span 1 !important; }
  ul.fd-posts-grid .kb-post-list-item:nth-child(1) article { flex-direction: column !important; }
  ul.fd-posts-grid .kb-post-list-item:nth-child(1) .post-thumbnail { width: 100% !important; }
  ul.fd-posts-grid .kb-post-list-item:nth-child(1) .entry-content-wrap { padding: 16px !important; }
  ul.fd-posts-grid .kb-post-list-item:nth-child(1) .entry-title { font-size: 20px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  ul.fd-posts-grid { grid-template-columns: 1fr 1fr !important; }
  ul.fd-posts-grid .kb-post-list-item:nth-child(1) { grid-column: span 2 !important; }
  ul.fd-posts-grid .kb-post-list-item:nth-child(1) .post-thumbnail { width: 50% !important; }
}


/* ═══════════════════════════════════════════════════════════════
   4. HOMEPAGE — Liste "Tous les articles"
   Bloc Kadence Posts avec classe additionnelle .fd-posts-list
   ═══════════════════════════════════════════════════════════════ */

ul.fd-posts-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 5px !important;
  list-style: none !important;
  padding: 0px !important;
  margin: 0px !important;
}

ul.fd-posts-list .kb-post-list-item {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: 0 !important;
  padding: 10px 0 !important;
}
ul.fd-posts-list .kb-post-list-item:hover { opacity: 1; }

ul.fd-posts-list .kb-post-list-item article {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Vignette 80×60 — neutralise aspect-ratio Kadence */
ul.fd-posts-list .post-thumbnail {
  width: 80px !important;
  height: 60px !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  position: relative !important;
}
ul.fd-posts-list .post-thumbnail-inner {
  width: 80px !important;
  height: 60px !important;
  position: relative !important;
}
ul.fd-posts-list .post-thumbnail img {
  width: 80px !important;
  height: 60px !important;
  position: relative !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 3px !important;
}

/* Contenu liste */
ul.fd-posts-list .entry-content-wrap {
  flex: 1 !important;
  padding: 1px 0 0 0 !important;
  margin: 0 !important;
}
ul.fd-posts-list .entry-header,
ul.fd-posts-list .entry-title {
  margin: 0 !important;
  padding: 0 !important;
}
ul.fd-posts-list .entry-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}
ul.fd-posts-list .entry-title a {
  color: #FFFFFF !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
ul.fd-posts-list .entry-title a:hover {
  color: #AEEA00 !important;
}

ul.fd-posts-list .entry-title a::after {
  content: ' →';
  color: #AEEA00;
}

ul.fd-posts-list .entry-meta {
  font-size: 11px !important;
  color: rgba(255,255,255,0.32) !important;
}
ul.fd-posts-list .entry-summary,
ul.fd-posts-list .entry-footer { display: none !important; }

/* Ticker Ditty */
.ditty-item__content {
  font-family: 'Barlow', 'Arial Narrow', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
  color: #0D0D0D !important;
}

/* ═══════════════════════════════════════════════════════════════
   PAGES CATÉGORIE (ARCHIVES)
   ═══════════════════════════════════════════════════════════════ */
 
/* ─── Hero / Header de catégorie ───────────────────────────── */
.archive .entry-hero,
.archive .entry-hero-container {
  background: #111111;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
 
/* Supprime le min-height Kadence qui crée l'espace vide */
.archive .entry-hero-container-inner {
  padding: 10px 0 10px !important;
  min-height: auto !important;
  text-align: left !important;
}
 
.archive .hero-section-overlay {
  display: none;
}
 
/* Eyebrow "— Catégorie" — uniquement dans le hero, pas sur les cartes */
.archive .entry-hero .entry-header::before {
  content: '— Catégorie';
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #AEEA00;
  margin-bottom: 10px;
}
 
/* Titre H1 catégorie */
.archive h1.page-title,
.archive .archive-title {
  font-size: 50px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #F7F7F2;
  margin: 0 0 12px;
  text-align: left !important;
}
 
/* Description catégorie */
.archive .archive-description,
.archive .archive-description p {
  font-size: 17px;
  color: rgba(247,247,242,0.45);
  max-width: 480px;
  margin: 0;
  line-height: 1.6;
  text-align: left !important;
}
 
/* Masque "Tous les articles" dans le menu sur desktop */
@media (min-width: 1025px) {
  .menu-item-600 { display: none !important; }
}
 
/* ─── Grille d'articles ────────────────────────────────────── */
.archive .content-container {
  padding-top: 10px;
  padding-bottom: 30px;
}
 
/* Carte article — base */
.archive .loop-entry {
  background: #1A1A1A;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
 
.archive .loop-entry:hover {
  transform: translateY(-3px);
  border-color: rgba(174,234,0,0.25);
}
 
/* ─── Featured : premier article pleine largeur ─── */
.archive ul.grid-cols .entry-list-item:first-child {
  grid-column: 1 / -1;
}

.archive .entry-list-item:first-child .loop-entry {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  height: auto !important;
  min-height: 0 !important;
}

.archive .entry-list-item:first-child .loop-entry > a.post-thumbnail {
  width: 55% !important;
  flex-shrink: 0 !important;
  height: auto !important;
  padding-bottom: 0 !important;
  position: relative !important;
  display: block !important;
}

.archive .entry-list-item:first-child .post-thumbnail-inner {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
}

.archive .entry-list-item:first-child .loop-entry > a.post-thumbnail img {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
	aspect-ratio: auto !important;
  display: block !important;
  object-fit: unset !important;
}

.archive .entry-list-item:first-child .entry-content-wrap {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
	flex: 1 !important;
  padding: 28px 32px !important;
}

.archive .entry-list-item:first-child .entry-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
  text-transform: uppercase !important;
}
 
/* ─── Cartes normales (2e article et suivants) ─────────────── */
 
/* Image — cartes normales uniquement (featured exclu) */
.archive .entry-list-item:not(:first-child) .loop-entry .post-thumbnail-inner img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
 
/* Contenu textuel */
.archive .loop-entry .entry-content-wrap {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
	padding: 14px 16px 18px;
}
 
/* Titre article */
.archive .loop-entry .entry-title {
  font-family: 'Barlow Condensed', sans-serif !important;
	font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0;
}
 
.archive .loop-entry .entry-title a {
  color: #F7F7F2;
  text-decoration: none;
  transition: color 0.15s;
}
 
.archive .loop-entry .entry-title a:hover {
  color: #AEEA00;
}
 
/* Meta (auteur, date) */
.archive .loop-entry .entry-meta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  color: rgba(247,247,242,0.3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}
 
/* Excerpt — masqué sur les cartes normales, visible sur featured */
.archive .loop-entry .entry-summary {
  display: none;
}
 
.archive .loop-entry:first-child .entry-summary {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 14px;
  color: rgba(247,247,242,0.5);
  line-height: 1.6;
  margin-bottom: 16px;
}
 
/* CTA "Lire la suite" */
.archive .loop-entry a.post-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #AEEA00 !important;
  text-decoration: none;
  transition: gap 0.15s;
}
 
.archive .loop-entry a.post-more-link:hover {
  gap: 10px;
}
 
 
/* ─── Pagination ───────────────────────────────────────────── */
.archive .pagination,
.archive .page-links {
  margin: 32px 0 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
}
 
.archive .pagination .page-numbers,
.archive .page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 3px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: rgba(247,247,242,0.4);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}
 
.archive .pagination .page-numbers:hover,
.archive .page-links a:hover,
.archive .pagination .page-numbers.current {
  background: #AEEA00;
  border-color: #AEEA00;
  color: #0D0D0D;
}
 
 
/* ─── Responsive archive ───────────────────────────────────── */
@media (max-width: 767px) {
  .archive .entry-hero-container-inner {
    padding: 28px 20px 24px !important;
  }
 
/* Featured repasse en vertical sur mobile */
  .archive .entry-list-item:first-child .loop-entry {
    flex-direction: column !important;
  }
  .archive .entry-list-item:first-child .loop-entry > a.post-thumbnail {
    width: 100% !important;
  }
  .archive .entry-list-item:first-child .entry-content-wrap {
    padding: 16px 18px 20px !important;
  }