/* /rankings index — uses layout .container (same as scope/category pages, up to 1320px on wide screens) */
.rankings-landing {
  --rk-navy: #002147;
  --rk-gold: #d4af37;
  --rk-blue: #1e88e5;
  --rk-sky: #e8f4fc;
  padding-bottom: 3.5rem;
}

/* Top banner — edge-to-edge inside .container (like scope hero) */
.rk-top {
  text-align: center;
  background: linear-gradient(135deg, #00152e 0%, var(--rk-navy) 50%, #0a4d8c 100%);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  margin: 0 -15px 1.75rem;
  color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 36px rgba(0, 33, 71, 0.18);
}

.rk-top__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px solid var(--rk-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--rk-gold);
  background: rgba(255, 255, 255, 0.06);
}

.rk-top__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rk-gold);
  margin: 0 0 0.35rem;
}

.rk-top h1 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.rk-top p {
  margin: 0 auto;
  max-width: 52rem;
  font-size: 0.95rem;
  opacity: 0.92;
  line-height: 1.55;
}

.rk-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  align-items: stretch;
}

@media (max-width: 860px) {
  .rk-split {
    grid-template-columns: 1fr;
  }
}

.rk-panel {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 45, 98, 0.07);
  height: 100%;
}

.rk-panel h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--rk-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--rk-sky);
}

.rk-panel--about {
  display: flex;
  flex-direction: column;
}

.rk-panel--about p {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.rk-panel--about .rk-about-lead {
  font-size: 0.92rem;
  color: #334155;
}

.rk-about-highlight {
  margin-top: auto;
  padding: 0.9rem 1rem;
  background: var(--rk-sky);
  border-radius: 10px;
  border-left: 4px solid var(--rk-blue);
}

.rk-about-highlight__title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--rk-navy);
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rk-about-highlight__title i {
  color: var(--rk-blue);
  margin-right: 0.35rem;
}

.rk-about-highlight ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.55;
}

.rk-about-highlight li {
  margin-bottom: 0.2rem;
}

.rk-about-highlight li:last-child {
  margin-bottom: 0;
}

.rk-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.rk-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #f8fafc;
  border-left: 4px solid var(--rk-blue);
}

.rk-step--red { border-left-color: #e53935; }
.rk-step--gold { border-left-color: var(--rk-gold); background: #fffdf8; }
.rk-step--sky { border-left-color: #29b6f6; background: var(--rk-sky); }
.rk-step--blue { border-left-color: var(--rk-blue); }
.rk-step--navy {
  border-left-color: var(--rk-gold);
  background: linear-gradient(135deg, var(--rk-navy), #0a4d8c);
}

.rk-step--navy .rk-step__title,
.rk-step--navy .rk-step__text {
  color: #fff;
}

.rk-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rk-navy);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rk-step--navy .rk-step__num {
  background: var(--rk-gold);
  color: var(--rk-navy);
}

.rk-step__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--rk-navy);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.rk-step__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #64748b;
}

.rk-section {
  margin-top: 0;
}

.rk-heading {
  text-align: center;
  margin-bottom: 1.5rem;
}

.rk-heading h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--rk-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.rk-heading h2::before,
.rk-heading h2::after {
  content: '★';
  color: var(--rk-gold);
  font-size: 0.85rem;
}

.rk-heading p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.rk-alert {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #78350f;
  margin-bottom: 1rem;
}

.rk-year-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.rk-year-head span {
  background: linear-gradient(135deg, #f5e6b8, var(--rk-gold));
  color: var(--rk-navy);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.3rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.25);
}

.rk-year-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #cbd5e1, transparent);
}

/* Edition cards — 3 columns on desktop (matches wide scope pages) */
.rk-scopes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .rk-scopes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .rk-scopes {
    grid-template-columns: 1fr;
  }
}

.rk-scope {
  background: #fff;
  border-radius: 16px;
  border-left: 8px solid var(--rk-blue);
  border-right: 8px solid var(--rk-blue);
  border-top: none;
  border-bottom: none;
  padding: 1.2rem 1.25rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 175px;
  box-shadow: 0 2px 10px rgba(0, 45, 98, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rk-scope:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 45, 98, 0.14);
  border-left-color: var(--rk-gold);
  border-right-color: var(--rk-gold);
  color: inherit;
}

.rk-scope__row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.rk-scope__ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rk-sky);
  border: 2px solid var(--rk-blue);
  color: var(--rk-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rk-scope__name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--rk-navy);
  line-height: 1.3;
}

.rk-scope__desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.5;
  flex: 1;
  margin: 0 0 0.65rem;
}

.rk-scope__foot {
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--rk-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rk-scope__foot .bi {
  font-size: 1.1rem;
  transition: transform 0.15s ease;
}

.rk-scope:hover .rk-scope__foot .bi {
  transform: translateX(3px);
}

.rk-city-section {
  margin-top: 2rem;
}

/* City-wise hub */
.rk-city-wise {
  margin-top: 0;
}

.rk-city-wise__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 14px 40px rgba(0, 33, 71, 0.12);
}

.rk-city-wise__intro {
  padding: 1.5rem 1.35rem;
  background: linear-gradient(160deg, #001833 0%, var(--rk-navy) 50%, #0d5a9e 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rk-city-wise__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--rk-gold);
  margin-bottom: 0.85rem;
}

.rk-city-wise__kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rk-gold);
  margin: 0 0 0.3rem;
}

.rk-city-wise__title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.28;
  margin: 0 0 0.5rem;
  color: #fff;
}

.rk-city-wise__lead {
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.85rem;
}

.rk-city-wise__points {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rk-city-wise__points li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.rk-city-wise__points .bi {
  color: var(--rk-gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.rk-city-wise__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.6rem 1.15rem;
  background: var(--rk-gold);
  color: #00152e !important;
  font-weight: 800;
  font-size: 0.86rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.rk-city-wise__btn:hover {
  background: #e6c76a;
  color: #00152e !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
}

.rk-city-wise__metros {
  padding: 1.2rem 1.2rem 1rem;
  background: #fafbfc;
  display: flex;
  flex-direction: column;
}

.rk-city-wise__metros-head {
  margin-bottom: 0.75rem;
}

.rk-city-wise__metros-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rk-navy);
}

.rk-city-wise__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  flex: 1;
}

.rk-city-wise__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.3rem;
  min-height: 68px;
  padding: 0.5rem 0.35rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none !important;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}

.rk-city-wise__tile:hover {
  border-color: var(--rk-blue);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.12);
  transform: translateY(-1px);
}

.rk-city-wise__tile-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(30, 136, 229, 0.1);
  color: var(--rk-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.rk-city-wise__tile-name {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--rk-navy);
  line-height: 1.22;
}

.rk-city-wise__link-all {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.75rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--rk-blue) !important;
  text-decoration: none !important;
}

.rk-city-wise__link-all:hover {
  text-decoration: underline !important;
  color: #1565c0 !important;
}

@media (max-width: 767.98px) {
  .rk-top {
    margin-left: -12px;
    margin-right: -12px;
    padding: 1.5rem 1rem;
  }

  .rk-city-wise__card {
    grid-template-columns: 1fr;
  }

  .rk-city-wise__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .rk-city-wise__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rk-city-wise__btn {
    width: 100%;
    justify-content: center;
  }
}

.rk-city-list {
  list-style: none;
  margin: 0;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.rk-city-list a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rk-blue);
  text-decoration: none;
}

.rk-city-list a:hover {
  text-decoration: underline;
  color: var(--rk-navy);
}

.cw-city-panel {
  text-align: center;
}

.cw-city-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--rk-navy);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
}

.cw-city-panel__cta:hover {
  background: #003d6b;
  color: #fff !important;
}

.rk-empty {
  text-align: center;
  padding: 2rem 1.5rem;
  color: #64748b;
  background: #f8fafc;
  border-radius: 12px;
  font-size: 0.9rem;
}
