/* ============================================================
   Obea V2 — Single Thématique (templates/single/single-thematique.php)
   Scopé sous .thematique-v2 (+ .formation-v2 pour les tokens --fv-*).
   ============================================================ */

/* Note étoilée */
.thematique-v2 .tv-rating { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.thematique-v2 .tv-rating__stars { display: inline-block; font-size: 18px; line-height: 1; }
.thematique-v2 .tv-rating__stars::before { content: "★★★★★"; letter-spacing: 3px; background: linear-gradient(90deg, var(--fv-accent) calc(var(--rating) / 5 * 100%), rgba(14, 20, 23, 0.15) calc(var(--rating) / 5 * 100%)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.thematique-v2 .tv-rating__text { font-size: 13.5px; color: var(--fv-muted); }

/* Grille des formations */
.thematique-v2 .tv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.thematique-v2 .tv-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--fv-line-soft); border-radius: var(--fv-r-lg); padding: 22px; box-shadow: 0 8px 24px -18px rgba(14, 20, 23, 0.25); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.thematique-v2 .tv-card:hover { color: inherit; transform: translateY(-4px); border-color: rgba(215, 174, 82, 0.45); box-shadow: 0 24px 50px -26px rgba(14, 20, 23, 0.32); }
.thematique-v2 .tv-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.thematique-v2 .tv-card__tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fv-accent-dark); }
.thematique-v2 .tv-card__tag + .tv-card__tag::before { content: "·"; margin-right: 6px; color: var(--fv-faint); }
.thematique-v2 .tv-card__title { color: var(--fv-ink); }
.thematique-v2 .tv-card__excerpt { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--fv-muted); }
.thematique-v2 .tv-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--fv-line-soft); font-size: 13px; }
.thematique-v2 .tv-card__meta { display: inline-flex; align-items: center; gap: 7px; color: var(--fv-muted); }
.thematique-v2 .tv-card__meta i { color: var(--fv-accent-dark); }
.thematique-v2 .tv-card__more { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fv-ink); }
.thematique-v2 .tv-card__more i { font-size: 11px; color: var(--fv-accent-dark); transition: transform .2s ease; }
.thematique-v2 .tv-card:hover .tv-card__more i { transform: translateX(3px); }
