/* Liste des vins : tableaux sans bordures visibles (grille invisible) */
.page-id-58 .wp-block-table table,
.page-id-58 .wp-block-table thead,
.page-id-58 .wp-block-table tbody,
.page-id-58 .wp-block-table tr,
.page-id-58 .wp-block-table th,
.page-id-58 .wp-block-table td {
border: none;
}


/* ==========================================================
   Liste des vins — correctifs de présentation
   ========================================================== */

/* ----- 1. Espacements ----- */

/* Titres de pays (H2 avec ancre) : marge haute généreuse + filet */
.page-id-58 h2.wp-block-heading[id] {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 2px solid #e5e5e5;
}

/* Titres producteurs (H3 avec ancre) */
.page-id-58 h3.wp-block-heading[id] {
  margin-top: 2.25rem;
  margin-bottom: 0.25rem;
}

/* Marge nette entre la bio du producteur (nœud texte) et son tableau :
   le sélecteur adjacent ignore les nœuds texte, donc h3 + figure
   cible bien le tableau qui suit la bio. */
.page-id-58 h3.wp-block-heading[id] + figure.wp-block-table {
  margin-top: 1.25rem;
}

/* Air entre sections producteurs : filet subtil sous chaque tableau */
.page-id-58 figure.wp-block-table {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ededed;
}

/* Titres de l'index (sans ancre) : resserrés */
.page-id-58 h2.wp-block-heading:not([id]),
.page-id-58 h3.wp-block-heading:not([id]) {
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

/* ----- 2. Tableaux ----- */

/* Défilement horizontal sur mobile (renforcé) */
.page-id-58 figure.wp-block-table {
  overflow-x: auto;
}

/* En-tête : fond léger */
.page-id-58 .wp-block-table thead th {
  background: #f3f3f1;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Lignes zébrées */
.page-id-58 .wp-block-table tbody tr:nth-child(even) {
  background: #fafaf9;
}

/* Colonnes numériques compactes et centrées : Millésime (2), Format (4), UVC (5) */
.page-id-58 .wp-block-table th:nth-child(2),
.page-id-58 .wp-block-table td:nth-child(2),
.page-id-58 .wp-block-table th:nth-child(4),
.page-id-58 .wp-block-table td:nth-child(4),
.page-id-58 .wp-block-table th:nth-child(5),
.page-id-58 .wp-block-table td:nth-child(5) {
  text-align: center;
  white-space: nowrap;
  width: 1%;
}

/* Colonne Cuvée prioritaire : prend la largeur restante */
.page-id-58 .wp-block-table td:first-child {
  min-width: 13rem;
}

/* Nom de cuvée en gras (balise ajoutée par le script de mise en page) */
.page-id-58 .cuvee-nom {
  font-weight: 700;
}

/* ----- 3. Index compact (Par pays / Par producteur) ----- */
.page-id-58 ul.wp-block-list {
  columns: 3;
  column-gap: 2.5rem;
  font-size: 0.78rem;
  line-height: 2;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}
.page-id-58 ul.wp-block-list li {
  break-inside: avoid;
}
@media (max-width: 640px) {
  .page-id-58 ul.wp-block-list {
    columns: 2;
    column-gap: 1.5rem;
  }
}

/* ----- 4. Colonne Disponibilité (ajoutée par le script de mise en page) ----- */
.page-id-58 .wp-block-table th.col-dispo,
.page-id-58 .wp-block-table td.col-dispo {
  text-align: center;
  white-space: nowrap;
  width: 1%;
  vertical-align: middle;
}

/* Pastilles de statut */
.page-id-58 .badge-dispo,
.page-id-58 .badge-epuise {
  display: inline-block;
  padding: 0.15em 0.7em;
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.6;
}
.page-id-58 .badge-dispo {
  background: #2e7d32;
}
.page-id-58 .badge-epuise {
  background: #c62828;
}

/* Prochain arrivage sous la pastille */
.page-id-58 .arrivage {
  display: block;
  margin-top: 0.3em;
  font-size: 0.68rem;
  font-weight: 400;
  color: #6b6b6b;
  white-space: nowrap;
}

/* ----- 5. Typographie : interlignage confortable ----- */
.page-id-58 .wp-block-table td {
  line-height: 1.

/* Marge bio → tableau : variante si la bio est un paragraphe <p>. */
.page-id-58 h3.wp-block-heading[id] + p + figure.wp-block-table {
  margin-top: 1.25rem;
}6;
}
/* Liste des vins : police lisible pour les tableaux */
.page-id-58 .wp-block-table table {
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 0.95rem;
line-height: 1.55;
}