/* Styles « Racing West » proposés dans l'éditeur de la console (menu « Styles Racing West ») — v1.4.7.
   Chargée par le site public ET par la console : l'aperçu dans l'éditeur est identique au rendu en ligne.
   Valeurs écrites en dur (la console n'a pas les variables du site). Préfixe rws- : aucun conflit avec le thème. Classe doublée sur les titres/accroche/citation : l'emporte sur les styles de la console (.rwa-card h3…). */

/* Grand titre : Impact italique majuscule + filet orange et noir */
.rws-titre.rws-titre { font-family: Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif; font-style: italic; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; font-size: clamp(1.6rem, 3.6vw, 2.2rem); color: #15171a; margin: 1.6em 0 .7em; padding-bottom: 14px; position: relative; }
.rws-titre::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #ff6a13 0 70%, #111 70% 100%); }

/* Titre orange (sous-titre) */
.rws-titre-orange.rws-titre-orange { font-family: Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif; font-style: italic; font-weight: 400; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; font-size: clamp(1.2rem, 2.6vw, 1.5rem); color: #ff6a13; margin: 1.4em 0 .5em; }

/* Accroche : texte d'introduction mis en avant */
.rws-accroche.rws-accroche { font-size: 1.25rem; line-height: 1.55; color: #15171a; border-left: 5px solid #ff6a13; padding: 4px 0 4px 18px; margin: 1.2em 0; }

/* Encadrés */
.rws-encadre, .rws-encadre-noir, .rws-alerte { border-radius: 18px; padding: 22px 26px; margin: 1.4em 0; }
.rws-encadre > :first-child, .rws-encadre-noir > :first-child, .rws-alerte > :first-child { margin-top: 0; }
.rws-encadre > :last-child, .rws-encadre-noir > :last-child, .rws-alerte > :last-child { margin-bottom: 0; }
.rws-encadre { background: linear-gradient(135deg, #fff3ea, #ffffff); border: 1px solid #ffc9a3; border-left: 6px solid #ff6a13; color: #15171a; }
.rws-encadre-noir { padding-top: 36px; color: #eceef0;
  background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 14px 14px repeat-x, radial-gradient(ellipse at 100% 0, rgba(255,106,19,.28), transparent 60%), #0f1012; }
.rws-encadre-noir a { color: #ff8a3d; }
.rws-encadre-noir .rws-titre, .rws-encadre-noir h2, .rws-encadre-noir h3 { color: #fff; }
.rws-encadre-noir .rws-titre-orange.rws-titre-orange { color: #ff6a13; }
.rws-alerte { background: #fff1f0; border: 1px solid #fecaca; border-left: 6px solid #ef2b1c; color: #15171a; }
.rws-alerte::before { content: "⚠ Important"; display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: #b91c1c; margin-bottom: 6px; }

/* Citation */
.rws-citation.rws-citation { position: relative; margin: 1.6em 0; padding: 10px 0 10px 58px; font-size: 1.15rem; font-style: italic; color: #15171a; border: 0; }
.rws-citation::before { content: "“"; position: absolute; left: 0; top: -14px; font: italic 400 4.6rem/1 Impact, "Arial Narrow Bold", sans-serif; color: #ff6a13; }

/* Bandeau damier (drapeau à damier) */
hr.rws-damier { border: 0; height: 16px; margin: 2em 0; border-radius: 3px;
  background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 16px 16px; box-shadow: inset 0 0 0 1px #111; }

/* Deux colonnes (l'une sous l'autre sur téléphone) */
.rws-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 1.4em 0; }
.rws-colonnes > div { min-width: 0; }
.rws-colonnes > div > :first-child { margin-top: 0; }
@media (max-width: 700px) { .rws-colonnes { grid-template-columns: 1fr; } }

/* Dans le texte */
.rws-orange { color: #e45a06; font-weight: 700; }
.rws-surligne { background: linear-gradient(transparent 58%, rgba(255,106,19,.35) 58%); padding: 0 2px; }
.rws-etiquette { display: inline-block; padding: 2px 11px; border-radius: 999px; background: #15171a; color: #fff; font-size: .78em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: .1em; }
a.rws-bouton, a.rws-bouton:visited { display: inline-block; background: linear-gradient(135deg, #ff7a2b, #ff5a00); color: #111; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; padding: 12px 26px; border-radius: 14px; font-size: .9rem; box-shadow: 0 6px 16px rgba(255,90,0,.28); }
a.rws-bouton:hover { background: #15171a; color: #fff; }
