.bl-page {
  --bl-night: #0E1628;
  --bl-night-2: #162035;
  --bl-night-3: #1E2D47;
  --bl-coral: #E05A3A;
  --bl-coral-lt: #F07050;
  --bl-cream: #F5F0E8;
  --bl-white: #FFFFFF;
  --bl-on-dark: rgba(255,255,255,0.88);
  --bl-muted-dark: rgba(255,255,255,0.50);
  --bl-on-light: #1A1F2E;
  --bl-muted-light: #6B7280;
  --bl-serif: 'Cormorant Garamond', Georgia, serif;
  --bl-max: 1100px;
  --bl-r-sm: 6px;
  --bl-r-md: 12px;
  --bl-r-lg: 20px;
}

/* ── HERO ── */
.bl-page .bl-hero {
  background: var(--bl-night);
  padding: 100px 56px 72px;
  position: relative;
  overflow: hidden;
}
.bl-page .bl-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(224,90,58,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 10% 80%, rgba(224,90,58,0.06) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.025) 59px, rgba(255,255,255,0.025) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.025) 59px, rgba(255,255,255,0.025) 60px);
}
.bl-page .bl-hero-inner {
  max-width: var(--bl-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.bl-page .bl-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bl-coral);
  margin-bottom: 16px;
}
.bl-page .bl-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1.5px;
  background: var(--bl-coral);
}
.bl-page h1 {
  font-family: var(--bl-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  color: white;
  margin: 0 0 16px;
  line-height: 1.1;
}
.bl-page h1 em {
  font-style: italic;
  color: var(--bl-coral);
}
.bl-page .bl-hero-lead {
  font-size: 18px;
  font-weight: 300;
  color: var(--bl-muted-dark);
  margin-bottom: 24px;
  max-width: 640px;
  line-height: 1.65;
}
.bl-page .bl-hero-stat {
  font-size: 13px;
  color: var(--bl-muted-dark);
  font-weight: 300;
}

/* ── ARTICLES SECTION ── */
.bl-page .bl-articles-section {
  background: var(--bl-cream);
  padding: 56px 56px 96px;
}
.bl-page .bl-articles-inner {
  max-width: var(--bl-max);
  margin: 0 auto;
}

/* ── BARRE DE FILTRES ── */
.bl-page .bl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 0.5px solid rgba(26,31,46,0.1);
}
.bl-page .bl-filter-pill {
  appearance: none;
  border: 0.5px solid rgba(26,31,46,0.15);
  background: white;
  color: var(--bl-muted-light);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 400;
  padding: 7px 16px;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.bl-page .bl-filter-pill:hover {
  border-color: rgba(224,90,58,0.35);
  color: var(--bl-coral);
  transform: translateY(-1px);
}
.bl-page .bl-filter-pill--active {
  background: var(--bl-coral);
  border-color: var(--bl-coral);
  color: white;
  font-weight: 500;
}
.bl-page .bl-filter-pill--active:hover {
  background: var(--bl-coral-lt);
  border-color: var(--bl-coral-lt);
  color: white;
  transform: none;
}

/* ── NO RESULTS ── */
.bl-page .bl-no-results {
  text-align: center;
  padding: 56px 24px;
  background: white;
  border-radius: var(--bl-r-lg);
  border: 0.5px solid rgba(26,31,46,0.08);
}
.bl-page .bl-no-results-icon  { font-size: 28px; margin-bottom: 12px; }
.bl-page .bl-no-results-title { font-family: var(--bl-serif); font-size: 20px; font-weight: 500; color: var(--bl-on-light); margin-bottom: 8px; }
.bl-page .bl-no-results-text  { font-size: 14px; font-weight: 300; color: var(--bl-muted-light); line-height: 1.6; }

/* ── EMPTY STATE ── */
.bl-page .bl-empty {
  background: var(--bl-night);
  border-radius: var(--bl-r-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.bl-page .bl-empty-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.bl-page .bl-empty-title {
  font-family: var(--bl-serif);
  font-size: 22px;
  font-weight: 500;
  color: white;
  margin-bottom: 8px;
}
.bl-page .bl-empty-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--bl-muted-dark);
  line-height: 1.6;
}

/* ── GRID ── */
.bl-page .bl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* ── CARD ── */
.bl-page .bl-card {
  background: var(--bl-white);
  border-radius: 16px;
  padding: 28px 26px;
  border: 0.5px solid rgba(26,31,46,0.08);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
/* Assure que l'attribut hidden l'emporte sur display:flex */
.bl-page .bl-card[hidden] { display: none !important; }
.bl-page .bl-card:hover {
  border-color: rgba(224,90,58,0.25);
  transform: translateY(-3px);
}
.bl-page .bl-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.bl-page .bl-card-cat {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bl-coral);
  background: rgba(224,90,58,0.08);
  border: 1px solid rgba(224,90,58,0.15);
  padding: 3px 10px;
  border-radius: 40px;
  /* Tronque les labels trop longs — préserve la lisibilité de la durée */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}
.bl-page .bl-card-readtime {
  font-size: 11px;
  font-weight: 300;
  color: var(--bl-muted-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.bl-page .bl-card-title {
  font-family: var(--bl-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--bl-on-light);
  line-height: 1.25;
  margin: 0;
}
.bl-page .bl-card-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--bl-muted-light);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}
.bl-page .bl-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 0.5px solid rgba(26,31,46,0.08);
}
.bl-page .bl-card-date {
  font-size: 12px;
  font-weight: 300;
  color: var(--bl-muted-light);
}
.bl-page .bl-card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--bl-coral);
}

/* ── RESPONSIVE 768px ── */
@media (max-width: 768px) {
  .bl-page .bl-hero {
    padding: 80px 24px 48px;
  }
  .bl-page .bl-articles-section {
    padding: 36px 24px 56px;
  }
  .bl-page .bl-grid {
    grid-template-columns: 1fr;
  }
  .bl-page .bl-filters {
    gap: 6px;
    margin-bottom: 28px;
    padding-bottom: 24px;
  }
  .bl-page .bl-filter-pill {
    font-size: 12px;
    padding: 6px 13px;
  }
}
