/* Hub de exámenes de años anteriores.
   Hereda tokens y primitivas de /assets/aptus-ds.css y la navegación de
   /oposiciones/_opo.css; aquí solo van los componentes .rc-*. */
/* Ojo: .rc-body se usa junto a .wrap, así que solo tocamos el eje vertical.
   Un `padding` completo aquí anularía el padding lateral de .wrap y el
   contenido se iría al borde de la ventana. */
.rc-body { padding-top: clamp(36px, 5vw, 60px); padding-bottom: clamp(36px, 5vw, 60px); }
.rc-op { margin: 0 0 clamp(40px, 6vw, 64px); }
.rc-op:last-child { margin-bottom: 0; }
.rc-op-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; margin: 0 0 18px; }
.rc-op-org { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.rc-op h2 { font-size: clamp(22px, 3vw, 29px); margin: 0; letter-spacing: -0.02em; }
.rc-intro { color: var(--body); font-size: 16px; margin: 0 0 18px; max-width: 68ch; }
.rc-intro a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

.rc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 18px; }
.rc-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 15px; }
.rc-stat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2.2vw, 24px);
  color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; font-feature-settings: 'tnum'; }
.rc-stat span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }

.rc-tabla-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rc-tabla { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; min-width: 540px; }
.rc-tabla th, .rc-tabla td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.rc-tabla thead th { background: var(--surface-2); font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); }
.rc-tabla tbody tr:last-child td { border-bottom: none; }
.rc-tabla tbody tr:hover { background: var(--surface-2); }
.rc-tabla .num { text-align: right; white-space: nowrap; font-feature-settings: 'tnum'; }
.rc-tabla .acc { text-align: right; white-space: nowrap; }
.rc-play { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink);
  background: var(--lime); padding: 7px 14px; border-radius: var(--r-pill); transition: background .15s; }
.rc-play:hover { background: var(--lime-d); }
.rc-play i { font-size: 15px; }
.rc-fuente { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.rc-fuente a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

.rc-guias { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rc-guia { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.rc-guia h3 { font-size: 16px; margin: 0 0 6px; line-height: 1.3; }
.rc-guia p { font-size: 14px; color: var(--body); margin: 0 0 10px; line-height: 1.45; }
.rc-guia a { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: var(--ink); }
.rc-guia-off { opacity: .72; }
.rc-badge { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--aviso-ink);
  background: var(--aviso-bg); border: 1px solid var(--aviso-line); border-radius: var(--r-pill); padding: 3px 11px; }

@media (max-width: 860px) {
  .rc-stats { grid-template-columns: repeat(2, 1fr); }
  .rc-guias { grid-template-columns: 1fr; }
}
