/* ============================================================
   THALAXO — BLOG HUB (scoped .thalaxo-blog-hub)
   Réutilise les tokens --thalaxo-* du design system Customizer.
   ============================================================ */

.thalaxo-blog-hub .site-content {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.thalaxo-blog-hub .sidebar,
.thalaxo-blog-hub #right-sidebar,
.thalaxo-blog-hub .widget-area {
  display: none !important;
}

.thalaxo-blog-hub .site-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
  box-sizing: border-box;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  padding-right: clamp(1.25rem, 3vw, 2rem);
}

.thalaxo-blog-hub .thalaxo-blog-hub-shell,
.thalaxo-blog-hub .thalaxo-blog-empty,
.thalaxo-blog-hub .paging-navigation,
.thalaxo-blog-hub .pagination {
  grid-column: 1 / -1;
}

/* GP archive/search title — duplicate du hero ; sans ça, occupe une cellule de grille */
.thalaxo-blog-hub .site-main > header.page-header {
  display: none !important;
}

/* Hero shell — halos hérités de .thalaxo-hero-wrapper ; fond pleine largeur, contenu inset */
.thalaxo-blog-hub .thalaxo-blog-hub-shell {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: auto;
  margin-left: calc(-1 * clamp(1.25rem, 3vw, 2rem));
  margin-right: calc(-1 * clamp(1.25rem, 3vw, 2rem));
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem) 0 !important;
  margin-bottom: 1.5rem;
}

.thalaxo-blog-hub .thalaxo-hero-content {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0 1.25rem !important;
}

.thalaxo-blog-hub .thalaxo-blog-hero {
  position: relative;
  z-index: 40;
  padding: 1.5rem;
  border: 1px solid var(--thalaxo-border, #333333);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}

.thalaxo-blog-hub .thalaxo-blog-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--thalaxo-orange, #FFA500);
}

.thalaxo-blog-hub .thalaxo-blog-hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  color: var(--thalaxo-text-primary, #FFFFFF) !important;
}

.thalaxo-blog-hub .thalaxo-blog-hero-sub {
  margin: 0 0 1.25rem;
  max-width: 58ch;
  line-height: 1.55;
  color: var(--thalaxo-text-secondary, #A3A3A3);
}

/* Search */
.thalaxo-blog-hub .thalaxo-blog-search {
  position: relative;
  z-index: 50;
  max-width: 680px;
}

.thalaxo-blog-hub .thalaxo-blog-search-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.thalaxo-blog-hub .thalaxo-blog-search-input {
  flex: 1 1 220px;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--thalaxo-border, #333333);
  border-radius: 8px;
  font-size: 1rem;
  background-color: #1E1E1E;
  color: var(--thalaxo-text-primary, #FFFFFF);
}

.thalaxo-blog-hub .thalaxo-blog-search-input::placeholder {
  color: var(--thalaxo-text-secondary, #A3A3A3);
  opacity: 0.85;
}

.thalaxo-blog-hub .thalaxo-blog-search-input:focus-visible {
  outline: none;
  border-color: var(--thalaxo-blue, #3B82F6);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.thalaxo-blog-hub .thalaxo-blog-search-submit {
  min-height: 44px;
  min-width: 44px;
  padding: 0.65rem 1.25rem !important;
  cursor: pointer;
}

.thalaxo-blog-hub .thalaxo-blog-search-results {
  position: absolute;
  z-index: 200;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #202020;
  border: 1px solid var(--thalaxo-border, #333333);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  max-height: 360px;
  overflow: auto;
  isolation: isolate;
}

.thalaxo-blog-hub .thalaxo-blog-search-hint,
.thalaxo-blog-hub .thalaxo-blog-search-lang-divider,
.thalaxo-blog-hub .thalaxo-blog-search-loading,
.thalaxo-blog-hub .thalaxo-blog-search-empty {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  color: var(--thalaxo-text-secondary, #A3A3A3);
}

.thalaxo-blog-hub .thalaxo-blog-search-lang-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--thalaxo-orange, #FFA500);
}

.thalaxo-blog-hub .thalaxo-blog-search-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.thalaxo-blog-hub .thalaxo-blog-search-item-head {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.thalaxo-blog-hub .thalaxo-blog-search-item-lang {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  margin-top: 0.1rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--thalaxo-text-primary, #FFFFFF);
}

.thalaxo-blog-hub .thalaxo-blog-search-item-lang.is-en {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
}

.thalaxo-blog-hub .thalaxo-blog-search-item-lang.is-fr {
  border-color: rgba(255, 165, 0, 0.45);
  background: rgba(255, 165, 0, 0.12);
  color: #fdba74;
}

.thalaxo-blog-hub .thalaxo-blog-search-item:first-of-type {
  border-top: none;
}

.thalaxo-blog-hub .thalaxo-blog-search-item.is-active,
.thalaxo-blog-hub .thalaxo-blog-search-item:hover,
.thalaxo-blog-hub .thalaxo-blog-search-item:focus-visible {
  background: rgba(59, 130, 246, 0.12);
  outline: none;
}

.thalaxo-blog-hub .thalaxo-blog-search-item-title {
  flex: 1 1 auto;
  font-weight: 700;
  color: var(--thalaxo-text-primary, #FFFFFF);
  line-height: 1.35;
}

.thalaxo-blog-hub .thalaxo-blog-search-item-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--thalaxo-orange, #FFA500);
}

.thalaxo-blog-hub .thalaxo-blog-search-item-excerpt {
  font-size: 0.8125rem;
  color: var(--thalaxo-text-secondary, #A3A3A3);
}

/* Sections */
.thalaxo-blog-hub .thalaxo-blog-section-label {
  margin: 0 0 0.875rem;
  padding-left: 0.125rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--thalaxo-text-secondary, #A3A3A3);
}

.thalaxo-blog-hub .thalaxo-blog-list-label {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.thalaxo-blog-hub .thalaxo-blog-list-sub {
  margin: -0.25rem 0 0.75rem;
  padding-left: 0.125rem;
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--thalaxo-text-secondary, #A3A3A3);
}

/* Index layout — vedette + secondaires + rayons thématiques */
.thalaxo-blog-hub.thalaxo-blog-index-layout .site-main {
  grid-template-columns: minmax(0, 1fr);
}

.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-latest-wrap {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured {
  grid-column: 1 / -1;
}

.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured.thalaxo-card {
  border-color: var(--thalaxo-card-accent-border) !important;
  box-shadow:
    0 0 0 1px rgba(255, 165, 0, 0.1),
    0 16px 48px rgba(0, 0, 0, 0.38);
}

.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .entry-header {
  padding: 1.25rem 1.5rem 1.15rem 1.75rem;
}

.thalaxo-blog-hub .thalaxo-blog-featured-kicker {
  order: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 0.7rem;
  width: 100%;
}

.thalaxo-blog-hub .thalaxo-blog-featured-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 165, 0, 0.45);
  background: rgba(255, 165, 0, 0.12);
  color: var(--thalaxo-orange, #FFA500);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.thalaxo-blog-hub .thalaxo-blog-featured-date {
  margin-left: auto;
  font-size: clamp(0.8125rem, 1.6vw, 0.9375rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.015em;
  line-height: 1.3;
  color: var(--thalaxo-text-primary, #FFFFFF);
  white-space: nowrap;
}

.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .inside-article {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100%;
}

.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .post-image {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 100%;
}

.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .post-image img {
  height: 100%;
  min-height: 220px;
}

.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .entry-header {
  grid-column: 2;
  grid-row: 1;
}

.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .entry-summary,
.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .entry-content > p:first-of-type {
  grid-column: 2;
  grid-row: 2;
}

.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .entry-title {
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  line-height: 1.22;
  -webkit-line-clamp: 4;
}

.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .thalaxo-blog-card-meta-featured {
  margin-top: 0.75rem;
  padding-top: 0;
  border-top: none;
  font-size: 0.8125rem;
  color: rgba(163, 163, 163, 0.95);
}

.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .entry-summary,
.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .entry-content > p:first-of-type {
  font-size: 0.9375rem;
  -webkit-line-clamp: 3;
  padding-bottom: 1.35rem;
}

.thalaxo-blog-hub .thalaxo-blog-topic-sections {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 0.25rem;
}

/* Hub index : archive paginée en pied, après exploration par rayons */
.thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-topic-sections + #nav-below.paging-navigation {
  margin-top: 0.75rem;
}

.thalaxo-blog-hub .thalaxo-blog-topic-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.thalaxo-blog-hub .thalaxo-blog-topic-title {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.25;
  color: var(--thalaxo-text-primary, #FFFFFF);
}

.thalaxo-blog-hub .thalaxo-blog-topic-all {
  flex: 0 0 auto;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--thalaxo-blue, #3B82F6) !important;
  text-decoration: none !important;
}

.thalaxo-blog-hub .thalaxo-blog-topic-all:hover,
.thalaxo-blog-hub .thalaxo-blog-topic-all:focus-visible {
  color: var(--thalaxo-orange, #FFA500) !important;
  outline: none;
}

.thalaxo-blog-hub .thalaxo-blog-topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin: 0;
}

.thalaxo-blog-hub .thalaxo-blog-intents,
.thalaxo-blog-hub .thalaxo-blog-pillars,
.thalaxo-blog-hub .thalaxo-blog-filters {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.thalaxo-blog-hub .thalaxo-blog-intent-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  gap: 1rem;
}

.thalaxo-blog-hub .thalaxo-blog-intent-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 44px;
  text-decoration: none;
  padding: 0.875rem 1rem !important;
}

.thalaxo-blog-hub .thalaxo-blog-intent-label {
  font-weight: 700;
  color: var(--thalaxo-text-primary, #FFFFFF);
}

.thalaxo-blog-hub .thalaxo-blog-intent-hint {
  font-size: 0.8125rem;
  color: var(--thalaxo-text-secondary, #A3A3A3);
}

.thalaxo-blog-hub .thalaxo-blog-pillar-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  gap: 1rem;
}

.thalaxo-blog-hub .thalaxo-blog-pillar-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  padding: 1rem 1.125rem !important;
}

.thalaxo-blog-hub .thalaxo-blog-pillar-badge {
  align-self: flex-start;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--thalaxo-blue, #3B82F6);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.thalaxo-blog-hub .thalaxo-blog-pillar-title {
  font-weight: 700;
  color: var(--thalaxo-text-primary, #FFFFFF);
  line-height: 1.35;
}

.thalaxo-blog-hub .thalaxo-blog-pillar-desc {
  font-size: 0.875rem;
  color: var(--thalaxo-text-secondary, #A3A3A3);
  line-height: 1.45;
}

/* Filter chips */
.thalaxo-blog-hub .thalaxo-blog-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.thalaxo-blog-hub .thalaxo-blog-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--thalaxo-border, #333333);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--thalaxo-text-primary, #FFFFFF);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.thalaxo-blog-hub .thalaxo-blog-filter-chip.is-active,
.thalaxo-blog-hub .thalaxo-blog-filter-chip:hover,
.thalaxo-blog-hub .thalaxo-blog-filter-chip:focus-visible {
  border-color: var(--thalaxo-orange, #FFA500);
  background: rgba(255, 165, 0, 0.1);
  color: var(--thalaxo-orange, #FFA500);
  outline: none;
}

.thalaxo-blog-hub .thalaxo-blog-filter-count {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.75;
}

/* Article cards in loop — editorial FinOps 2026 */
.thalaxo-blog-hub .thalaxo-blog-card.thalaxo-card {
  --thalaxo-card-accent: var(--thalaxo-orange, #FFA500);
  --thalaxo-card-accent-soft: rgba(255, 165, 0, 0.14);
  --thalaxo-card-accent-border: rgba(255, 165, 0, 0.35);
  --thalaxo-card-accent-secondary: rgba(59, 130, 246, 0.08);
  --thalaxo-card-hover-border: rgba(255, 165, 0, 0.45);
  --thalaxo-card-title-hover: #93c5fd;
  --thalaxo-card-meta-link: var(--thalaxo-blue, #3B82F6);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
  height: 100%;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--thalaxo-border, #333333) !important;
}

/* Alternance bandeau par rubrique éditoriale (EN + FR) */
.thalaxo-blog-hub .thalaxo-blog-card.category-finops,
.thalaxo-blog-hub .thalaxo-blog-card.category-finops-fr {
  --thalaxo-card-accent: var(--thalaxo-orange, #FFA500);
  --thalaxo-card-accent-soft: rgba(255, 165, 0, 0.14);
  --thalaxo-card-accent-border: rgba(255, 165, 0, 0.35);
  --thalaxo-card-accent-secondary: rgba(59, 130, 246, 0.08);
  --thalaxo-card-hover-border: rgba(255, 165, 0, 0.45);
  --thalaxo-card-title-hover: #fcd34d;
  --thalaxo-card-meta-link: var(--thalaxo-orange, #FFA500);
}

.thalaxo-blog-hub .thalaxo-blog-card.category-tools,
.thalaxo-blog-hub .thalaxo-blog-card.category-outils {
  --thalaxo-card-accent: var(--thalaxo-blue, #3B82F6);
  --thalaxo-card-accent-soft: rgba(59, 130, 246, 0.14);
  --thalaxo-card-accent-border: rgba(59, 130, 246, 0.35);
  --thalaxo-card-accent-secondary: rgba(255, 165, 0, 0.06);
  --thalaxo-card-hover-border: rgba(59, 130, 246, 0.45);
  --thalaxo-card-title-hover: #93c5fd;
  --thalaxo-card-meta-link: var(--thalaxo-blue, #3B82F6);
}

.thalaxo-blog-hub .thalaxo-blog-card.category-optimization,
.thalaxo-blog-hub .thalaxo-blog-card.category-optimisation {
  --thalaxo-card-accent: #22c55e;
  --thalaxo-card-accent-soft: rgba(34, 197, 94, 0.14);
  --thalaxo-card-accent-border: rgba(34, 197, 94, 0.35);
  --thalaxo-card-accent-secondary: rgba(59, 130, 246, 0.06);
  --thalaxo-card-hover-border: rgba(34, 197, 94, 0.45);
  --thalaxo-card-title-hover: #86efac;
  --thalaxo-card-meta-link: #22c55e;
}

.thalaxo-blog-hub .thalaxo-blog-card.category-audit-en,
.thalaxo-blog-hub .thalaxo-blog-card.category-audit {
  --thalaxo-card-accent: #8B5CF6;
  --thalaxo-card-accent-soft: rgba(139, 92, 246, 0.14);
  --thalaxo-card-accent-border: rgba(139, 92, 246, 0.35);
  --thalaxo-card-accent-secondary: rgba(255, 165, 0, 0.06);
  --thalaxo-card-hover-border: rgba(139, 92, 246, 0.45);
  --thalaxo-card-title-hover: #c4b5fd;
  --thalaxo-card-meta-link: #8B5CF6;
}

.thalaxo-blog-hub .thalaxo-blog-card .inside-article,
.thalaxo-blog-hub .thalaxo-blog-card .entry-content {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr);
  flex: 1;
  padding: 0 !important;
  background: transparent !important;
}

/* Image en tête de carte */
.thalaxo-blog-hub .thalaxo-blog-card .post-image {
  grid-row: 1;
  order: unset;
  margin: 0;
  overflow: hidden;
  background: #0d0d0d;
}

.thalaxo-blog-hub .thalaxo-blog-card .post-image a {
  display: block;
  line-height: 0;
}

.thalaxo-blog-hub .thalaxo-blog-card .post-image img {
  width: 100%;
  aspect-ratio: 1600 / 840;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .thalaxo-blog-hub .thalaxo-blog-card:hover .post-image img,
  .thalaxo-blog-hub .thalaxo-blog-card:focus-within .post-image img {
    transform: scale(1.05);
  }
}

/* Bandeau titre — accent par rubrique */
.thalaxo-blog-hub .thalaxo-blog-card .entry-header {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1rem 1.35rem 0.95rem 1.65rem;
  border-left: 3px solid var(--thalaxo-card-accent) !important;
  background:
    linear-gradient(
      118deg,
      var(--thalaxo-card-accent-soft) 0%,
      var(--thalaxo-card-accent-secondary) 42%,
      rgba(23, 23, 23, 0) 100%
    ),
    #1a1a1a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.thalaxo-blog-hub .thalaxo-blog-card .entry-header .entry-meta,
.thalaxo-blog-hub .thalaxo-blog-card .entry-header .thalaxo-blog-card-meta {
  order: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  margin: 0.55rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--thalaxo-text-secondary, #A3A3A3);
}

.thalaxo-blog-hub .thalaxo-blog-card-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  line-height: 1.35;
}

.thalaxo-blog-hub .thalaxo-blog-card-sep {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

.thalaxo-blog-hub .thalaxo-blog-card-read {
  font-variant-numeric: tabular-nums;
}

.thalaxo-blog-hub .thalaxo-blog-card-likes {
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  user-select: none;
}

.thalaxo-blog-hub .thalaxo-blog-card-likes-icon {
  font-size: 0.95em;
  line-height: 1;
  color: #737373;
}

.thalaxo-blog-hub .thalaxo-blog-card-author {
  color: var(--thalaxo-card-meta-link) !important;
  font-weight: 600;
}

.thalaxo-blog-hub .thalaxo-blog-card .entry-header .entry-meta .byline::before {
  content: "\2022";
  margin: 0 0.35rem;
  color: rgba(255, 255, 255, 0.2);
}

.thalaxo-blog-hub .thalaxo-blog-card .entry-header .entry-meta a {
  color: var(--thalaxo-card-meta-link) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.thalaxo-blog-hub .thalaxo-blog-card .entry-header .entry-meta a:hover,
.thalaxo-blog-hub .thalaxo-blog-card .entry-header .entry-meta a:focus-visible {
  text-decoration: underline !important;
}

.thalaxo-blog-hub .thalaxo-blog-card-cat {
  order: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0 0 0.5rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--thalaxo-card-accent-border) !important;
  background: var(--thalaxo-card-accent-soft) !important;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.thalaxo-blog-hub .thalaxo-blog-card-cat a {
  color: var(--thalaxo-card-accent) !important;
  text-decoration: none !important;
}

.thalaxo-blog-hub .thalaxo-blog-card .entry-title {
  order: 2;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.012em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
}

.thalaxo-blog-hub .thalaxo-blog-card .entry-title a {
  color: var(--thalaxo-text-primary, #FFFFFF) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.thalaxo-blog-hub .thalaxo-blog-card .entry-title a:hover,
.thalaxo-blog-hub .thalaxo-blog-card .entry-title a:focus-visible {
  color: var(--thalaxo-card-title-hover) !important;
}

.thalaxo-blog-hub .thalaxo-blog-card .entry-summary,
.thalaxo-blog-hub .thalaxo-blog-card .entry-content > p:first-of-type {
  grid-row: 3;
  margin: 0;
  padding: 1rem 1.25rem 1.75rem;
  font-size: 0.875rem;
  color: var(--thalaxo-text-secondary, #A3A3A3);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer redondant (catégorie déjà en badge) */
.thalaxo-blog-hub .thalaxo-blog-card footer.entry-meta,
.thalaxo-blog-hub .thalaxo-blog-card .inside-article > footer.entry-meta,
.thalaxo-blog-hub article.thalaxo-blog-card footer.entry-meta {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: no-preference) {
  .thalaxo-blog-hub .thalaxo-blog-card.thalaxo-card:hover,
  .thalaxo-blog-hub .thalaxo-blog-card.thalaxo-card:focus-within {
    border-color: var(--thalaxo-card-hover-border) !important;
  }

  .thalaxo-blog-hub .thalaxo-blog-card:hover .entry-header,
  .thalaxo-blog-hub .thalaxo-blog-card:focus-within .entry-header {
    background:
      linear-gradient(
        118deg,
        var(--thalaxo-card-accent-soft) 0%,
        var(--thalaxo-card-accent-secondary) 45%,
        rgba(23, 23, 23, 0) 100%
      ),
      #1a1a1a;
  }
}

/* Empty state */
.thalaxo-blog-hub .thalaxo-blog-empty {
  padding: 2rem;
  text-align: center;
  border-style: dashed;
}

.thalaxo-blog-hub .thalaxo-blog-empty-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--thalaxo-text-primary, #FFFFFF);
}

.thalaxo-blog-hub .thalaxo-blog-empty-text {
  margin: 0 0 1rem;
  color: var(--thalaxo-text-secondary, #A3A3A3);
}

.thalaxo-blog-hub .thalaxo-blog-empty-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.thalaxo-blog-hub .thalaxo-blog-empty-links a {
  font-weight: 600;
  color: var(--thalaxo-blue, #3B82F6) !important;
}

/* Pagination (GeneratePress #nav-below) */
.thalaxo-blog-hub #nav-below.paging-navigation,
.thalaxo-blog-hub .paging-navigation,
.thalaxo-blog-hub nav.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem !important;
  border: 1px solid var(--thalaxo-border, #333333);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03) !important;
  background-color: #1a1a1a !important;
  color: var(--thalaxo-text-secondary, #A3A3A3);
}

.thalaxo-blog-hub .paging-navigation .nav-previous,
.thalaxo-blog-hub .paging-navigation .nav-next,
.thalaxo-blog-hub .paging-navigation .nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0;
}

.thalaxo-blog-hub .paging-navigation a,
.thalaxo-blog-hub .paging-navigation .page-numbers {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  color: var(--thalaxo-blue, #3B82F6) !important;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.thalaxo-blog-hub .paging-navigation a:hover,
.thalaxo-blog-hub .paging-navigation a:focus-visible,
.thalaxo-blog-hub .paging-navigation .page-numbers:not(.current):hover,
.thalaxo-blog-hub .paging-navigation .page-numbers:not(.current):focus-visible {
  background: rgba(59, 130, 246, 0.12);
  outline: none;
}

.thalaxo-blog-hub .paging-navigation .page-numbers.current {
  color: var(--thalaxo-orange, #FFA500) !important;
  background: rgba(255, 165, 0, 0.12);
  border: 1px solid rgba(255, 165, 0, 0.35);
}

.thalaxo-blog-hub .paging-navigation .gp-icon svg {
  fill: currentColor;
}

.thalaxo-blog-hub .paging-navigation .prev a,
.thalaxo-blog-hub .paging-navigation .next a {
  color: var(--thalaxo-text-primary, #FFFFFF) !important;
}

/* Responsive */
@media (max-width: 960px) {
  .thalaxo-blog-hub .site-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thalaxo-blog-hub.thalaxo-blog-index-layout .site-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .thalaxo-blog-hub .thalaxo-blog-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thalaxo-blog-hub .thalaxo-blog-intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .thalaxo-blog-hub .site-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .thalaxo-blog-hub .thalaxo-blog-hub-shell {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 1.25rem 1rem 0 !important;
  }

  .thalaxo-blog-hub .site-main {
    grid-template-columns: 1fr;
  }

  .thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-latest-wrap {
    grid-template-columns: 1fr;
  }

  .thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .inside-article {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .post-image,
  .thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .entry-header,
  .thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .entry-summary,
  .thalaxo-blog-hub.thalaxo-blog-index-layout .thalaxo-blog-card-featured .entry-content > p:first-of-type {
    grid-column: 1;
    grid-row: auto;
  }

  .thalaxo-blog-hub .thalaxo-blog-featured-kicker {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .thalaxo-blog-hub .thalaxo-blog-featured-date {
    margin-left: 0;
    white-space: normal;
  }

  .thalaxo-blog-hub .thalaxo-blog-topic-grid {
    grid-template-columns: 1fr;
  }

  .thalaxo-blog-hub .thalaxo-blog-topic-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .thalaxo-blog-hub .thalaxo-blog-intent-grid,
  .thalaxo-blog-hub .thalaxo-blog-pillar-grid {
    grid-template-columns: 1fr;
  }

  .thalaxo-blog-hub .thalaxo-blog-hero {
    padding: 1.125rem;
  }

  .thalaxo-blog-hub .thalaxo-blog-search-form {
    flex-direction: column;
  }

  .thalaxo-blog-hub .thalaxo-blog-search-input {
    flex: 0 0 auto;
    width: 100%;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    box-sizing: border-box;
  }

  .thalaxo-blog-hub .thalaxo-blog-search-submit {
    width: 100%;
  }

  .thalaxo-blog-hub .thalaxo-blog-hero {
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thalaxo-blog-hub .thalaxo-blog-filter-chip,
  .thalaxo-blog-hub .thalaxo-blog-card {
    transition: none !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .thalaxo-blog-hub .thalaxo-card:hover {
    transform: none !important;
  }
}
