/*
 * TOP-10 colegios 2025 — Track & Field
 * Estilos aislados bajo .tf25-section para evitar afectar otras tablas del sitio.
 * Paleta basada en la identidad visible del sitio: rojo, negro y blanco.
 */
.tf25-section,
.tf25-section * {
  box-sizing: border-box;
}

.tf25-section {
  padding: 58px 0 42px;
  background: #101010;
  color: #202020;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tf25-intro {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.tf25-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #ff424a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.tf25-intro h1 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .3px;
  line-height: 1.15;
}

.tf25-intro h1 span {
  color: #ed1c24;
}

.tf25-intro p {
  margin: 10px 0 0;
  color: #c7c7c7;
  font-size: 14px;
}

.tf25-card {
  overflow: hidden;
  margin-bottom: 20px;
  border-top: 5px solid #ed1c24;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

.tf25-card__header {
  padding: 19px 20px 16px;
  border-bottom: 1px solid #ededed;
  background: #fff;
}

.tf25-card__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tf25-card__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #ed1c24;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.tf25-card__header h2 {
  margin: 0;
  color: #171717;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.tf25-count {
  display: inline-block;
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 20px;
  background: #171717;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .9px;
}

.tf25-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.tf25-table thead th {
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid #e9e9e9;
  background: #f7f7f7;
  color: #777;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .9px;
  line-height: 1.2;
  text-transform: uppercase;
}

.tf25-table .tf25-col-rank {
  width: 62px;
  padding-left: 14px;
  text-align: left;
}

.tf25-table .tf25-col-score {
  width: 82px;
  padding-right: 17px;
  text-align: right;
}

.tf25-table tbody td {
  padding: 9px 8px;
  border: 0;
  border-bottom: 1px solid #ededed;
  background: #fff;
  vertical-align: middle;
}

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

.tf25-card__closing {
  height: 14px;
  background: #fff;
}

.tf25-table tbody tr:hover td {
  background: #fafafa;
}

.tf25-table tbody tr.tf25-row--first td,
.tf25-table tbody tr.tf25-row--first:hover td {
  background: #fff6f6;
}

.tf25-table tbody td:first-child {
  padding-left: 14px;
}

.tf25-rank {
  display: inline-flex;
  width: 29px;
  height: 29px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.tf25-rank--top {
  background: #191919;
  color: #fff;
}

.tf25-row--first .tf25-rank--top {
  background: #ed1c24;
}

.tf25-school-name {
  display: block;
  overflow-wrap: anywhere;
  color: #242424;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.tf25-bar {
  display: block;
  overflow: hidden;
  height: 4px;
  margin-top: 6px;
  border-radius: 4px;
  background: #eeeeee;
}

.tf25-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ed1c24;
}

.tf25-score {
  padding-right: 17px !important;
  color: #202020;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.tf25-row--first .tf25-score {
  color: #ed1c24;
}

.tf25-note {
  margin: 4px 0 0;
  color: #a9a9a9;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 767px) {
  .tf25-section {
    padding: 42px 0 30px;
  }

  .tf25-intro {
    margin-bottom: 24px;
    padding: 0 8px;
  }

  .tf25-intro h1 {
    font-size: 28px;
  }

  .tf25-intro p {
    font-size: 13px;
  }

  .tf25-card__header {
    padding: 16px 15px 14px;
  }

  .tf25-card__header h2 {
    font-size: 17px;
  }

  .tf25-table .tf25-col-rank {
    width: 53px;
    padding-left: 10px;
  }

  .tf25-table .tf25-col-score {
    width: 72px;
    padding-right: 11px;
  }

  .tf25-table tbody td {
    padding: 9px 6px;
  }

  .tf25-table tbody td:first-child {
    padding-left: 10px;
  }

  .tf25-score {
    padding-right: 11px !important;
    font-size: 13px;
  }

  .tf25-school-name {
    font-size: 10px;
  }
}
