/* Reasons page visuals (7 Nov 2026): big numbers, a small teaching block in each card, a photo of Madrid and a
 * clear next step at the end. */
.rx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: -14px 0 30px; padding: 0; list-style: none; }
.rx-stats li { padding: 18px 20px; background: #fff; border: 1px solid #d8dce2; border-top: 4px solid #f05a18; }
.rx-stats strong { display: block; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.05; letter-spacing: -.03em; color: #f05a18; }
.rx-stats span { display: block; margin-top: 6px; font-size: 14px; color: #555a62; }

.rx-box { margin-top: 18px; padding: 14px; background: #f4f6f9; border-radius: 4px; }
.rx-box-label { margin: 0 0 9px !important; font-size: 11px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5878b5 !important; }
.rx-cities { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rx-cities li { padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid #d6dde7; font-size: 13px; color: #203758; }
.rx-cities li:first-child { background: #fff1e9; border-color: #f3b896; color: #a63406; }
.rx-words { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rx-words li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: #30343a; }
.rx-words [lang] { min-width: 72px; font-weight: 700; color: #203758; }
.rx-words .rx-syl { letter-spacing: .02em; color: #555a62; }
.rx-words .rx-syl b { color: #f05a18; }
.rx-note { margin: 9px 0 0 !important; font-size: 12px !important; color: #66707d !important; }
.rx-uses { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rx-uses li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border: 1px solid #d6dde7; border-radius: 4px; font-size: 13px; line-height: 1.3; color: #555a62; }
.rx-uses svg { flex: none; width: 22px; height: 22px; color: #f05a18; }
.rx-uses [lang] { display: block; font-weight: 700; color: #203758; }

.rx-band { margin: 30px 0 0; }
.rx-band img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; border-radius: 3px; }
.rx-band figcaption { margin-top: 8px; font-size: 13px; color: #66707d; }
.rx-band figcaption strong { color: #203758; }

.rx-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 26px; padding: 24px 26px; background: #fff; border-left: 4px solid #f05a18; }
.rx-next h2 { margin: 0 0 6px; color: #203758; font-size: 24px; line-height: 1.3; }
.rx-next p { margin: 0; color: #555a62; font-size: 15px; line-height: 1.6; }
.rx-next-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rx-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 3px; font-size: 14px; font-weight: 700; text-decoration: none; }
.rx-btn-main { background: #f05a18; color: #fff; }
.rx-btn-main:hover { background: #ce4810; }
.rx-btn-alt { border: 1px solid #c44711; color: #c44711; background: #fff; }
.rx-btn-alt:hover { background: #fff4ed; }
.rx-btn:focus-visible { outline: 3px solid #203758; outline-offset: 3px; }

html[data-theme="dark"] .rx-stats li, html[data-theme="dark"] .rx-next { background: #1b2029; border-color: #394457; }
html[data-theme="dark"] .rx-stats li { border-top-color: #f05a18; }
html[data-theme="dark"] .rx-stats strong { color: #ff7a3d; }
html[data-theme="dark"] .rx-stats span, html[data-theme="dark"] .rx-next p, html[data-theme="dark"] .rx-words li, html[data-theme="dark"] .rx-words .rx-syl,
html[data-theme="dark"] .rx-uses li, html[data-theme="dark"] .rx-band figcaption { color: #bec7d5; }
html[data-theme="dark"] .rx-next h2, html[data-theme="dark"] .rx-words [lang], html[data-theme="dark"] .rx-uses [lang], html[data-theme="dark"] .rx-band figcaption strong { color: #edf2f8; }
html[data-theme="dark"] .rx-box { background: #232a36; }
html[data-theme="dark"] .rx-box-label { color: #9fb4d8 !important; }
html[data-theme="dark"] .rx-note { color: #9aa6b6 !important; }
html[data-theme="dark"] .rx-cities li, html[data-theme="dark"] .rx-uses li { background: #1b2029; border-color: #4b566a; color: #e3e8ef; }
html[data-theme="dark"] .rx-cities li:first-child { background: #3a2518; border-color: #6b3d22; color: #ffb38f; }
html[data-theme="dark"] .rx-uses svg, html[data-theme="dark"] .rx-words .rx-syl b { color: #ff7a3d; }
html[data-theme="dark"] .rx-btn-alt { background: #202733; color: #ff9a6a; border-color: #ff9a6a; }
html[data-theme="dark"] .rx-btn:focus-visible { outline-color: #c6d9f7; }

@media (max-width: 650px) {
  .rx-stats { grid-template-columns: 1fr; gap: 8px; margin-top: 0; }
  .rx-stats li { display: flex; align-items: baseline; gap: 12px; padding: 14px 16px; }
  .rx-stats span { margin: 0; }
  .rx-band img { aspect-ratio: 16 / 9; }
  .rx-next { grid-template-columns: 1fr; padding: 20px; }
}
.rx-stats strong { white-space: nowrap; }
@media (max-width: 650px) { .rx-stats strong { font-size: 26px; min-width: 128px; } .rx-stats span { font-size: 13px; line-height: 1.35; } }
