/* ==========================================================
   RESULTS PAGE
   ========================================================== */

.rs-wrap {
  --rs-navy: #1d2a5b;
  --rs-navy-2: #253993;
  --rs-rose: #ff1f59;
  --rs-ink: #283034;
  --rs-muted: #7a848d;
  --rs-line: #e6e9ef;
  --rs-soft: #f4f6fc;
}

/* ---------- Headline ---------- */
.rs-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  color: #fff;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 31, 89, .42) 0, rgba(255, 31, 89, 0) 50%),
    linear-gradient(135deg, var(--rs-navy) 0%, var(--rs-navy-2) 100%);
  box-shadow: 0 18px 40px -24px rgba(29, 42, 91, .8);
}

/* faint ring in the corner */
.rs-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border: 16px solid rgba(255, 255, 255, .05);
  border-radius: 50%;
  pointer-events: none;
}

.rs-kicker {
  display: inline-block;
  padding: 4px 12px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 20px;
  background: rgba(255, 255, 255, .12);
}

.rs-big {
  display: block;
  margin: 8px 0 2px;
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.rs-big span {
  font-size: 2.2rem;
  color: #ffb3c6;
}

.rs-hero-main p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, .82);
}

.rs-hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
}

.rs-hero-stat {
  min-width: 110px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
}

.rs-hero-stat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.rs-hero-stat span {
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

/* ---------- Cards ---------- */
.rs-card {
  margin-top: 22px;
  padding: 22px 24px 18px;
  border: 1px solid var(--rs-line);
  border-radius: 16px;
  background: #fff;
}

.rs-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.rs-card-head h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--rs-ink);
}

.rs-card-head span {
  font-size: .8rem;
  color: var(--rs-muted);
}

/* ---------- Table ---------- */
.rs-table-card {
  padding-bottom: 8px;
}

.rs-table-wrap {
  overflow-x: auto;
  margin: 0 -24px;
}

.rs-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.rs-table th,
.rs-table td {
  padding: 13px 16px;
  font-size: .92rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--rs-line);
}

.rs-table th:first-child,
.rs-table td:first-child {
  padding-left: 24px;
}

.rs-table thead th {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: #fff;
  background: var(--rs-navy);
  border-bottom: 0;
}

.rs-table tbody tr:last-child td {
  border-bottom: 0;
}

.rs-table tbody tr:hover {
  background: var(--rs-soft);
}

.rs-table td {
  color: var(--rs-ink);
}

.rs-table td {
  white-space: nowrap;
}

.rs-t-year {
  font-weight: 700;
}

.rs-pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: .8rem;
  font-weight: 700;
  color: #0b7a68;
  border-radius: 20px;
  background: #e3f5f1;
}

/* ---------- Earlier results ---------- */
.rs-earlier {
  margin-top: 32px;
}

.rs-earlier-title {
  margin-bottom: 14px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--rs-ink);
}

.rs-docs {
  display: grid;
  gap: 12px;
}

.rs-doc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--rs-line);
  border-left: 4px solid var(--rs-rose);
  border-radius: 12px;
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}

.rs-doc:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -18px rgba(29, 42, 91, .45);
}

.rs-doc-badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--rs-rose);
  border-radius: 6px;
  background: #fff0f4;
}

.rs-doc-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: .98rem;
  font-weight: 700;
  color: var(--rs-ink);
}

.rs-doc-btn,
.rs-doc-dl {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all .2s;
}

.rs-doc-btn {
  padding: 0 14px;
  color: #fff;
  background: var(--rs-navy);
}

.rs-doc-btn:hover {
  color: #fff;
  background: var(--rs-rose);
}

.rs-doc-dl {
  width: 38px;
  color: var(--rs-navy);
  border: 1px solid var(--rs-line);
}

.rs-doc-dl:hover {
  color: var(--rs-rose);
  border-color: var(--rs-rose);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .rs-wrap.pr-30 { padding-right: 0; }
}

@media (max-width: 767px) {
  .rs-hero { flex-direction: column; align-items: flex-start; }
  .rs-hero-stats { width: 100%; }
  .rs-hero-stat { flex: 1; }
}

@media (max-width: 575px) {
  .rs-hero { padding: 22px 20px; }
  .rs-big { font-size: 3.4rem; }
  .rs-card { padding: 18px 16px 14px; }
  .rs-table-wrap { margin: 0 -16px; }
  .rs-doc { flex-wrap: wrap; }
  .rs-doc-title { flex-basis: calc(100% - 60px); }
}
