/* Guides (plan « guides ») : En bref, outil intégré, ressources, FAQ, sources, guides voisins, liste par thème. */

.ba-guide-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}
.ba-chip--static{cursor:default}

/* En bref : la réponse qui se suffit à elle-même */
.ba-guide-summary{margin:32px 0 0;max-width:72ch;padding:20px 22px;border-radius:var(--wp--custom--radius--card);background:var(--wp--preset--color--pelouse-950);color:var(--wp--preset--color--fige)}
.ba-guide-summary .ba-kicker{margin:0 0 10px;color:var(--wp--preset--color--volt-300)}
.ba-guide-summary__body p{margin:0 0 10px;font-size:var(--wp--preset--font-size--body);line-height:1.6}
.ba-guide-summary__body p:last-child{margin-bottom:0}
.ba-guide-summary__body ul{margin:0;padding-left:1.2em}
.ba-guide-summary__body li{margin:6px 0}
.ba-guide-summary a{color:var(--wp--preset--color--volt-300)}

/* Liens de maillage vers un guide : discrets, reconnaissables */
.ba-guide-link{text-decoration:underline;text-decoration-color:var(--wp--preset--color--volt-encre);text-decoration-thickness:2px;text-underline-offset:3px}

/* Outil intégré */
.ba-guide-toollink{margin:32px 0;padding:18px 20px;border:1px solid var(--wp--preset--color--bordure);border-left:3px solid var(--wp--preset--color--volt-300);border-radius:var(--wp--custom--radius--card)}
.ba-guide-toollink > .ba-kicker{margin:0 0 6px}
.ba-guide-toollink__title{margin:0;font-weight:700;font-size:1.05rem}
.ba-guide-toollink__title a{text-decoration:none}
.ba-guide-toollink p:last-child{margin-bottom:0}

/* Ressources à télécharger */
.ba-guide-res{margin:48px 0 0}
.ba-guide-res h2,.ba-guide-faq h2,.ba-guide-related h2{margin:0 0 18px;font:900 clamp(26px,3vw,34px)/1.05 var(--wp--preset--font-family--big-shoulders-display);text-transform:uppercase}
.ba-guide-res__item{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:22px;align-items:start;padding:20px;border:1px solid var(--wp--preset--color--bordure);border-radius:var(--wp--custom--radius--card);background:var(--wp--preset--color--surface)}
.ba-guide-res__item + .ba-guide-res__item{margin-top:14px}
.ba-guide-res__preview{width:100%;height:auto;border:1px solid var(--wp--preset--color--bordure);border-radius:var(--wp--custom--radius--field);background:#fff}
.ba-guide-res__text h3{margin:0 0 6px;font:800 22px/1.15 var(--wp--preset--font-family--big-shoulders-display);text-transform:uppercase}
.ba-guide-res__text p{margin:0 0 14px;color:var(--wp--preset--color--texte-secondaire);line-height:1.55}
.ba-guide-res__btns{display:flex;flex-wrap:wrap;gap:10px}
.ba-guide-res__btn .ba-mono{margin-left:6px;font-size:12px;opacity:.75}
.ba-guide-res__note{margin:12px 0 0 !important;font-size:var(--wp--preset--font-size--meta)}
@media(max-width:640px){.ba-guide-res__item{grid-template-columns:1fr}}

/* FAQ */
.ba-guide-faq{margin:48px 0 0;max-width:72ch}
.ba-guide-faq__item{border-top:1px solid var(--wp--preset--color--bordure)}
.ba-guide-faq__item:last-child{border-bottom:1px solid var(--wp--preset--color--bordure)}
.ba-guide-faq__item summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 0}
.ba-guide-faq__item summary::-webkit-details-marker{display:none}
.ba-guide-faq__item summary::after{content:"+";font:700 20px/1 var(--wp--preset--font-family--jetbrains-mono);color:var(--wp--preset--color--volt-encre)}
.ba-guide-faq__item[open] summary::after{content:"−"}
.ba-guide-faq__item summary h3{margin:0;font:700 var(--wp--preset--font-size--body)/1.35 var(--wp--preset--font-family--archivo, inherit);text-transform:none}
.ba-guide-faq__item > div{padding:0 0 16px;line-height:1.6}
.ba-guide-faq__item > div p{margin:0 0 10px}

/* Méthode et sources */
.ba-guide-sources{margin:40px 0 0;max-width:72ch;padding:16px 20px;border-left:4px solid var(--wp--preset--color--volt-300);background:var(--wp--preset--color--surface);border-radius:0 var(--wp--custom--radius--field) var(--wp--custom--radius--field) 0}
.ba-guide-sources .ba-kicker{margin:0 0 8px}
.ba-guide-sources ul{margin:0;padding-left:1.1em;font-size:var(--wp--preset--font-size--meta)}
.ba-guide-sources li{margin:4px 0}

/* Guides voisins */
.ba-guide-related{margin:48px 0 0}

/* Liste des guides par thème */
.ba-guides__topics{margin:8px 0 8px}
.ba-guides__topic{margin:44px 0 0;scroll-margin-top:24px}
.ba-guides__topic-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 16px;padding-bottom:10px;border-bottom:2px solid var(--wp--preset--color--pelouse-950)}
.ba-guides__topic-head h2{margin:0;font:900 clamp(26px,3vw,34px)/1.05 var(--wp--preset--font-family--big-shoulders-display);text-transform:uppercase}
.ba-guides__topic-head .ba-mono{font-size:12px;color:var(--wp--preset--color--texte-secondaire)}

/* Avant-match : « Comprendre ce pari » */
.ba-guide-market{margin:14px 0 0;padding:12px 16px;border:1px dashed var(--wp--preset--color--bordure);border-radius:var(--wp--custom--radius--field);font-weight:600}
.ba-guide-market .ba-kicker{margin-right:8px}
.ba-guide-market a{color:var(--wp--preset--color--pelouse-950)}
