/* Accueil turf (layouts/turf-home.php) : pleine largeur, blocs en cartes */
.turf-home{padding-top:6px;padding-bottom:10px}
.th-title{margin:14px 0 14px;font-size:26px;font-weight:800;line-height:1.2;color:#111827}
.th-card{margin:0 0 16px;padding:18px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.th-card h2{margin:0;font-size:19px;font-weight:800;line-height:1.25;color:#111827}
.th-card h2 a{color:inherit;text-decoration:none}
.th-sub{margin:3px 0 12px;font-size:13px;line-height:1.4;color:#6b7280}
.th-legal{margin:8px 0 0;font-size:11px;line-height:1.4;color:#6b7280}
.th-link{display:inline-block;margin-top:10px;font-size:14px;font-weight:700;color:#1e9262;text-decoration:none}
.th-link:hover{color:#14663f;text-decoration:underline}
.th-tag{display:inline-block;padding:2px 9px;border-radius:5px;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
.th-tag--quinte{background:#d6252e;color:#fff}
.th-btn{display:inline-block;padding:10px 22px;border-radius:24px;font-size:14px;font-weight:700;line-height:1.3;text-align:center;text-decoration:none}
.th-btn--cta{display:block;margin-top:8px;padding:12px 18px;background:#d6252e;color:#fff;font-size:15px}
.th-btn--cta:hover{background:#b81d25;color:#fff;text-decoration:none}
.th-btn--green{background:#1e9262;color:#fff}
.th-btn--green:hover{background:#14663f;color:#fff;text-decoration:none}

/* Quinté du jour */
.th-quinte{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}
.th-quinte__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 8px;font-size:13px;color:#4b5563}
.th-quinte h2{font-size:24px}
.th-quinte__text{margin:8px 0 14px;font-size:15px;line-height:1.5;color:#374151}
.th-picks{display:flex;gap:10px;margin:0;padding:0;list-style:none}
.th-pick{display:flex;flex-direction:column;align-items:center;min-width:92px;padding:10px 14px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;text-align:center}
.th-pick__label{font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#6b7280}
.th-pick__num{font-size:34px;font-weight:800;line-height:1.1;color:#111827}
.th-pick__odd{font-size:12px;color:#4b5563}
.th-pick--base{border-color:#1e9262;background:#f5fbf8}
.th-pick--base .th-pick__label{color:#14663f}
.th-pick--outsider{border-color:#f3c9cc;background:#fff7f7}
.th-pick--outsider .th-pick__label{color:#d6252e}
.th-quinte__cta{padding:16px;border-radius:10px;background:#f4f6fa;text-align:center}
.th-quinte__cta p{margin:0}
.th-quinte__cta-kicker{font-size:13px;color:#6b7280}
.th-quinte__cta-brand{margin:2px 0 4px!important;font-size:24px;font-weight:800;color:#111827}
.th-quinte__cta-offer{font-size:14px;color:#374151}

/* Classement + comment parier */
.th-duo{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
.th-duo .th-card{margin-bottom:16px}
.th-heading{margin:14px 0 6px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#6b7280}
.th-steps{margin:0;padding:0;list-style:none;counter-reset:step}
.th-steps li{counter-increment:step;border-top:1px solid #eceff3}
.th-steps li:first-child{border-top:0}
.th-steps a{display:flex;align-items:center;gap:10px;padding:9px 0;font-size:14px;font-weight:600;line-height:1.35;color:#111827;text-decoration:none}
.th-steps a:before{content:counter(step);flex:none;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#1e9262;color:#fff;font-size:12px;font-weight:800}
.th-steps a:hover{color:#1e9262}
.th-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.th-chips a{display:inline-block;padding:4px 12px;border:1px solid #d9dee6;border-radius:16px;background:#f9fafb;color:#374151;font-size:13px;font-weight:600;text-decoration:none}
.th-chips a:hover{border-color:#1e9262;color:#1e9262}

/* Prochaines courses */
.th-courses__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;margin-bottom:12px}
.th-courses__date{margin:0;font-size:13px;color:#6b7280}
.th-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.th-filters[hidden]{display:none}
.th-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border:1px solid #d9dee6;border-radius:18px;background:#fff;color:#374151;font-size:13px;font-weight:600;line-height:1.2;cursor:pointer}
.th-chip.is-active{border-color:#111827;background:#111827;color:#fff}
.th-dot{display:inline-block;width:7px;height:7px;border-radius:50%}
.th-dot--red{background:#d6252e}
.th-dot--green{background:#1e9262}
.th-meeting{margin:0 0 18px}
.th-meeting[hidden]{display:none}
.th-meeting__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 0 6px;border-bottom:1px solid #eceff3}
.th-meeting__head h3{margin:0;font-size:14px;font-weight:800;letter-spacing:.03em;color:#111827}
.th-meeting__num{margin-right:4px;color:#1e9262}
.th-meeting__head p{margin:0;font-size:12px;color:#6b7280}
.th-races{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:0;padding:0;list-style:none}
.th-race[hidden]{display:none}
.th-race a{display:flex;align-items:center;gap:10px;padding:9px 6px;border-bottom:1px solid #f1f3f6;color:#111827;text-decoration:none}
.th-race a:hover{background:#f6f8fb}
.th-race__num{flex:none;width:30px;font-size:13px;font-weight:800}
.th-race__time{flex:none;width:48px;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.th-race__badges{flex:1;display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-width:0}
.th-badge{display:inline-block;padding:1px 8px;border-radius:10px;font-size:11px;font-weight:700;line-height:1.5;white-space:nowrap}
.th-badge--live{background:#fdecec;color:#d6252e}
.th-badge--soon{background:#e3f3ea;color:#14663f}
.th-badge--quinte{background:#d6252e;color:#fff}
.th-badge--pick5{background:#f3ab01;color:#ab1a16}
.th-race__action{flex:none;font-size:12px;font-weight:600;color:#6b7280}
.th-race__action.is-prono{padding:4px 12px;border-radius:6px;background:#1451ed;color:#fff}
.th-race.is-quinte a{background:#fff3f3}
.th-race--done:not(.is-quinte) a{color:#6b7280}
.th-meeting.is-done .th-race__time,.th-meeting.is-done .th-race__num{color:#9ca3af}
.th-courses__more{margin:6px 0 0;text-align:center}

@media (max-width:959px){
	.th-quinte{grid-template-columns:1fr;gap:16px}
	.th-duo{grid-template-columns:1fr}
}
@media (max-width:640px){
	.th-title{font-size:22px}
	.th-card{padding:14px}
	.th-quinte h2{font-size:21px}
	.th-picks{gap:8px}
	.th-pick{flex:1;min-width:0;padding:8px 6px}
	.th-races{grid-template-columns:1fr}
	.th-race__action:not(.is-prono){display:none}
}

.th-courses__more a.th-btn--green,.th-courses__more a.th-btn--green:hover{color:#fff!important;text-decoration:none}

.th-resp{margin:0;padding:0;list-style:none}
.th-resp a{display:block;padding:6px 0;border-top:1px solid #eceff3;font-size:13px;font-weight:600;color:#374151;text-decoration:none}
.th-resp li:first-child a{border-top:0}
.th-resp a:hover{color:#1e9262}

.th-faq details{border-top:1px solid #eceff3}
.th-faq h2{margin-bottom:6px}
.th-faq summary{padding:12px 0;font-size:15px;font-weight:700;color:#111827;cursor:pointer}
.th-faq details p{margin:0 0 12px;font-size:14px;line-height:1.55;color:#374151}

.th-article{display:block;margin-top:12px;padding:10px 14px;border-left:3px solid #d6252e;border-radius:0 8px 8px 0;background:#f9fafb;text-decoration:none}
.th-article:hover{background:#f1f3f7;text-decoration:none}
.th-article__kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#d6252e}
.th-article__title{display:block;margin-top:2px;font-size:14px;font-weight:700;line-height:1.35;color:#111827}

.th-pick--poker{border-color:#d9cdee;background:#f7f3fd}
.th-pick--poker .th-pick__label{color:#4a2c82}

/* Le survol du site passait le texte du bouton en vert : on garde le blanc */
.th-quinte__cta a.th-btn--cta,.th-quinte__cta a.th-btn--cta:hover,.th-quinte__cta a.th-btn--cta:focus,.th-quinte__cta a.th-btn--cta:active{color:#fff!important;text-decoration:none}
.th-quinte__cta a.th-btn--cta:hover,.th-quinte__cta a.th-btn--cta:focus{background:#b81d25}
/* Retours Sarah : base verte, outsider orange, coup de poker rouge */
.th-pick--outsider{border-color:#f5d3a0;background:#fff8ee}
.th-pick--outsider .th-pick__label{color:#c25e00}
.th-pick--poker{border-color:#f3c9cc;background:#fff7f7}
.th-pick--poker .th-pick__label{color:#d6252e}
.th-odds-note{margin:8px 0 0;font-size:11px;line-height:1.4;color:#6b7280}
.th-article-group{margin-top:12px;padding:10px 14px;border-left:3px solid #d6252e;border-radius:0 8px 8px 0;background:#f9fafb}
.th-article-group .th-article{margin:8px 0 0;padding:0;border:0;background:none}
.th-article-group .th-article:hover{background:none}
.th-article-group .th-article__title{color:#111827}
.th-article-group .th-article:hover .th-article__title{color:#1e9262}
.th-article-group .th-article__kicker--sub{color:#4b5563;font-size:10px}
.th-quinte__text a{font-weight:700;color:#1e9262}
.th-more__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}
.th-more__card{display:block;padding:14px 16px;border:1px solid #e5e7eb;border-radius:10px;background:#f9fafb;text-decoration:none}
.th-more__card:hover{border-color:#1e9262;background:#f5fbf8;text-decoration:none}
.th-more__card b{display:block;font-size:15px;color:#111827}
.th-more__card span{display:block;margin-top:2px;font-size:13px;color:#4b5563}
.th-more__card i{display:block;margin-top:8px;font-style:normal;font-size:13px;font-weight:700;color:#1e9262}
.th-meeting__link{margin-left:10px;font-weight:700;color:#1e9262;text-decoration:none}
@media (max-width:640px){.th-more__grid{grid-template-columns:1fr}}

/* ZE5 : ZE5 Ordre sur le quinté (bordeaux plein), ZE5 sur les Pick 5 (bordeaux clair) */
.th-badge--ze5o,.th-tag--ze5o{background:#7f1d1d;color:#fff}
.th-badge--ze5{background:#fbe3e3;color:#7f1d1d;box-shadow:inset 0 0 0 1px #e8b4b4}
.th-tag--ze5o{display:inline-block;padding:2px 9px;border-radius:5px;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
