/*
 * Gomoku : guides, page des guides et figures de goban (aussi chargée par les
 * articles du blog qui montrent une figure). La mise en page, le fil d'Ariane,
 * les tableaux et la FAQ viennent de article.css et blog.css partagés : rien de
 * ce socle n'est redéfini ici.
 */

/* Page des guides : sections par catégorie */
.cluster-section { margin-bottom: 48px; }
.cluster-section:last-child { margin-bottom: 24px; }
.cluster-header { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cluster-header h2 { font-size: 1.4rem; font-weight: 700; color: var(--color-accent); margin: 0 0 6px; }
.cluster-header p { font-size: 0.92rem; color: var(--texte-doux); margin: 0; line-height: 1.5; }
.cluster-section .blog-card h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.cluster-section .blog-card h3 a { color: var(--color-accent); text-decoration: none; }
.cluster-section .blog-card h3 a:hover { color: var(--color-light); }
.guides-vide { text-align: center; color: var(--texte-doux); padding: 30px 0; line-height: 1.6; }
.guides-suite { text-align: center; color: var(--texte-doux); margin-top: 8px; line-height: 1.6; }
.guides-suite a { color: var(--color-light); }

/* Figures : le goban dessiné par includes/figures.php */
.gk-figures { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: flex-start; margin: 20px 0 24px; }
.gk-figure { margin: 0; flex: 0 1 300px; min-width: 220px; text-align: center; }
.gk-figure-large { flex-basis: 420px; }
.gk-goban { display: block; width: 100%; height: auto; }
.gk-bois { fill: #d9b36c; stroke: #8a6a35; stroke-width: 1.5; }
.gk-trait { stroke: #5b4424; stroke-width: 1; }
.gk-etoile { fill: #5b4424; }
.gk-coord { fill: var(--texte-doux, #a8b0bb); font-size: 11px; font-family: inherit; text-anchor: middle; }
.gk-pierre { stroke-width: 1; }
.gk-pierre.gk-noire { fill: #1c1c1f; stroke: #000; }
.gk-pierre.gk-blanche { fill: #f4f1ea; stroke: #6f6a60; }
.gk-numero { font-size: 13px; font-weight: 700; font-family: inherit; text-anchor: middle; }
.gk-numero.gk-noire { fill: #f4f1ea; }
.gk-numero.gk-blanche { fill: #1c1c1f; }
.gk-alignee { fill: none; stroke: #e0a92e; stroke-width: 2.5; }
.gk-marque { fill: rgba(56, 142, 84, 0.28); stroke: #1f7a43; stroke-width: 2.5; }
.gk-croix { fill: none; stroke: #b3261e; stroke-width: 3; stroke-linecap: round; }
.gk-fond-lettre { fill: #d9b36c; }
.gk-lettre { fill: #3a2a10; font-size: 14px; font-weight: 700; font-family: inherit; text-anchor: middle; }
.gk-figure figcaption { margin-top: 8px; font-size: 0.86rem; line-height: 1.5; color: var(--texte-doux, #a8b0bb); }
.gk-figure-erreur { color: #d07070; }

/* Tableaux de règles : première colonne et textes longs alignés à gauche */
.article-card .gk-table th, .article-card .gk-table td { text-align: left; vertical-align: top; white-space: normal; }
.article-card .gk-table thead th { white-space: nowrap; }

/* Sources citées en bas de guide */
.gk-sources { font-size: 0.88rem; color: var(--texte-doux); line-height: 1.6; }
.gk-sources li { margin-bottom: 4px; }
