/* Page Thèmes */
.th-sort { align-self: stretch; display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-size: .86rem; font-weight: 500; color: var(--muted); }
.th-sort select { width: auto; height: 100%; font-size: .93rem; } /* même hauteur que le champ de recherche voisin */
.th-count { margin-left: auto; }
.th-section + .th-section { margin-top: 3.5rem; }
.th-section h2 { display: flex; align-items: center; gap: .55rem; margin-bottom: .35rem; font-size: 1.35rem; }
.th-section h2 .icon { width: 22px; height: 22px; color: var(--teal); }
.th-section h2 span { font: 500 .9rem/1 var(--font); color: var(--faint); }
.th-section > p { margin: 0 0 1.4rem; max-width: 80ch; }

.th-card { position: relative; display: flex; flex-direction: column; }
.th-shot { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
/* sans capture : le nom sur un dégradé plutôt qu'une case vide */
.th-noshot {
  display: grid; place-items: center; padding: 1rem; text-align: center;
  background: radial-gradient(70% 90% at 50% 110%, rgba(45, 212, 191, .55), transparent 70%), linear-gradient(180deg, #0a1f24, #0f3a40);
}
.th-noshot span { font: 800 1.35rem/1.15 var(--font); color: #fff; text-shadow: 0 0 18px rgba(45, 212, 191, .8); overflow-wrap: anywhere; }
.th-meta { flex: 1; flex-direction: column; align-items: flex-start; gap: .3rem; }
.th-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); }
.th-meta > :has(.th-fresh) { margin-top: auto; } /* même ligne sur toutes les cartes d'une rangée */
.th-fresh { letter-spacing: 2px; }
.th-fresh span:first-child { color: var(--orange); }
.th-fresh span:last-child { color: var(--border-strong); }
.th-link { display: inline-flex; align-items: center; gap: .35rem; padding-top: .35rem; font-size: .85rem; font-weight: 600; }
.th-link .icon { width: 14px; height: 14px; }
