.rankings-page {
  --rank-purple: #a855f7;
  --rank-lime: #e6ff00;
  --rank-ink: #151219;
  --rank-paper: #f7f7f5;
  --rank-muted: #655f6b;
  color: var(--rank-ink);
  background: var(--rank-paper);
  font-family: "Encode Sans Expanded", Arial, sans-serif;
}
.rankings-page section { margin: 0; }
.rankings-page h1, .rankings-page h2, .rankings-page h3, .rankings-page p { margin-top: 0; }
.rankings-page h1, .rankings-page h2 { font-weight: 800; letter-spacing: -.045em; }
.rankings-page h1 { margin-bottom: 22px; font-size: clamp(3rem, 7.7vw, 7.6rem); line-height: .98; text-transform: uppercase; }
.rankings-page h2 { margin-bottom: 20px; font-size: clamp(2rem, 4.3vw, 4.2rem); line-height: 1.03; }
.rankings-page h3 { margin-bottom: 12px; font-size: 1.15rem; }
.rankings-page p { line-height: 1.7; }
.rankings-page img { max-width: 100%; }
.rankings-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, .9fr);
  align-items: center;
  min-height: 470px;
  padding: clamp(44px, 8vw, 120px) max(7vw, calc((100vw - 1440px) / 2));
  color: white;
  background: var(--rank-purple);
}
.rankings-intro__copy { max-width: 850px; }
.rankings-kicker { margin-bottom: 20px; color: var(--rank-lime); font-size: .75rem; font-weight: 700; letter-spacing: .14em; line-height: 1.4; }
.rankings-lede { max-width: 680px; margin-bottom: 32px; color: #fff; font-size: clamp(1rem, 1.45vw, 1.25rem); }
.rankings-intro__mark { justify-self: end; width: clamp(130px, 19vw, 270px); aspect-ratio: 1; border: 1px solid rgb(255 255 255 / 42%); border-radius: 50%; background: #17131d; }
.rankings-intro__mark img { width: 54%; height: 54%; object-fit: contain; }
.rankings-guide { padding: 76px max(7vw, calc((100vw - 1440px) / 2)); background: #fff; }
.rankings-guide > p { max-width: 900px; color: #39343e; font-size: 1.08rem; }
.rankings-section-heading { margin-bottom: 30px; }
.rankings-section-heading .rankings-kicker, .rankings-destination-copy .rankings-kicker, .rankings-editorial .rankings-kicker, .rankings-next .rankings-kicker { color: #772ec1; }
.rankings-key { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.rankings-key span { display: flex; gap: 12px; align-items: center; min-height: 58px; padding: 12px; border-top: 2px solid var(--rank-purple); background: #f3eff8; font-size: .82rem; font-weight: 600; }
.rankings-key b { color: #772ec1; font-size: .72rem; }
.rankings-directory { padding: 90px max(7vw, calc((100vw - 1440px) / 2)); background: #efedf0; }
.rankings-directory--continuation { background: #fff; }
.rankings-section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.rankings-section-heading--split h2 { margin-bottom: 0; }
.rankings-section-note { max-width: 280px; margin-bottom: 8px; color: var(--rank-muted); font-size: .9rem; }
.rankings-table-wrap { overflow: visible; }
.rankings-table { width: 100%; border-collapse: collapse; text-align: left; }
.rankings-table th, .rankings-table td { padding: 21px 16px; border-bottom: 1px solid #d8d3dc; vertical-align: middle; }
.rankings-table thead th { padding-top: 14px; padding-bottom: 14px; color: #554d5c; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.rankings-table tbody th { width: 25%; font-size: 1rem; font-weight: 700; }
.rankings-table tbody td { color: #48424d; font-size: .87rem; line-height: 1.5; }
.rankings-table tbody tr:hover { background: #f8f5fb; }
.rankings-number { color: #792bc6; font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.rankings-tag { display: inline-block; padding: 7px 10px; border-radius: 999px; color: #29163a; background: #e8d8fa; font-size: .75rem; font-weight: 700; }
.rankings-categories { padding: 90px max(7vw, calc((100vw - 1440px) / 2)); color: white; background: #18141d; }
.rankings-categories > p { max-width: 760px; color: #ddd7e4; }
.rankings-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.rankings-category-grid article { min-height: 190px; padding: 24px; border: 1px solid #51445d; background: #241e2a; }
.rankings-category-grid article p { margin-bottom: 0; color: #ddd7e4; font-size: .88rem; }
.rankings-category-index { display: block; margin-bottom: 24px; color: var(--rank-lime); font-weight: 800; }
.rankings-destinations { display: grid; grid-template-columns: minmax(0, .95fr) minmax(280px, .75fr); align-items: center; gap: clamp(36px, 8vw, 120px); padding: 90px max(7vw, calc((100vw - 1440px) / 2)); background: #e9ff15; }
.rankings-destination-copy { max-width: 720px; }
.rankings-destinations img { width: 100%; min-height: 320px; max-height: 470px; border-radius: 2px; }
.rankings-editorial { display: grid; grid-template-columns: 210px minmax(0, 780px); align-items: center; justify-content: center; gap: clamp(32px, 6vw, 100px); padding: 100px max(7vw, calc((100vw - 1440px) / 2)); background: #f7f7f5; }
.rankings-editorial p:not(.rankings-kicker) { color: #39343e; }
.rankings-editorial__stamp { display: grid; width: 190px; aspect-ratio: 1; place-content: center; border-radius: 50%; color: #fff; background: var(--rank-purple); font-size: 2rem; font-weight: 800; line-height: 1.05; text-align: center; transform: rotate(-9deg); }
.rankings-next { display: grid; grid-template-columns: minmax(0, .8fr) minmax(360px, 1fr); align-items: center; gap: 64px; padding: 90px max(7vw, calc((100vw - 1440px) / 2)); color: #fff; background: var(--rank-purple); }
.rankings-next > div > p:last-child { max-width: 540px; }
.rankings-next__links { display: grid; gap: 10px; }
.rankings-next__links a { display: grid; grid-template-columns: 46px 1fr 32px; align-items: center; min-height: 66px; padding: 0 18px; border: 1px solid rgb(255 255 255 / 46%); color: #fff; background: #21162d; font-weight: 700; transition: background-color .18s ease, color .18s ease; }
.rankings-next__links a:hover, .rankings-next__links a:focus-visible { color: #17131d; background: var(--rank-lime); }
.rankings-next__links a span { color: var(--rank-lime); font-size: .72rem; }
.rankings-next__links a:hover span, .rankings-next__links a:focus-visible span { color: #17131d; }
.rankings-next__links a b { justify-self: end; font-size: 1.25rem; }
.rankings-local-pixel { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rankings-page a:focus-visible { outline: 3px solid #21162d; outline-offset: 4px; }
@media (max-width: 760px) {
  .rankings-intro { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding: 64px 24px 50px; }
  .rankings-intro__mark { justify-self: start; width: 112px; }
  .rankings-guide, .rankings-directory, .rankings-categories, .rankings-destinations, .rankings-editorial, .rankings-next { padding: 58px 24px; }
  .rankings-key { grid-template-columns: repeat(2, 1fr); }
  .rankings-section-heading--split { display: block; }
  .rankings-section-note { margin-top: 16px; }
  .rankings-category-grid { grid-template-columns: 1fr; }
  .rankings-category-grid article { min-height: 0; }
  .rankings-destinations, .rankings-editorial, .rankings-next { grid-template-columns: 1fr; gap: 34px; }
  .rankings-editorial__stamp { width: 116px; font-size: 1.25rem; }
  .rankings-destinations img { min-height: 0; max-height: 310px; aspect-ratio: 4 / 3; }
  .rankings-next__links { min-width: 0; }
}
@media (max-width: 600px) {
  .rankings-page h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .rankings-page h2 { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .rankings-table-wrap { overflow: visible; }
  .rankings-table, .rankings-table tbody, .rankings-table tr, .rankings-table th, .rankings-table td { display: block; width: 100%; }
  .rankings-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .rankings-table tbody tr { position: relative; margin: 0 0 14px; padding: 12px 16px 14px 58px; border: 1px solid #d8d3dc; background: #fff; }
  .rankings-table tbody td, .rankings-table tbody th { padding: 7px 0; border: 0; font-size: .84rem; }
  .rankings-table tbody td::before { display: block; margin-bottom: 3px; color: #655f6b; content: attr(data-label); font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .rankings-table tbody td:first-child { position: absolute; top: 13px; left: 15px; width: auto; padding: 0; }
  .rankings-table tbody td:first-child::before { content: none; }
  .rankings-table tbody th { padding-top: 2px; }
  .rankings-key { gap: 8px; }
  .rankings-key span { flex-direction: column; align-items: flex-start; gap: 4px; font-size: .72rem; }
  .rankings-next__links a { grid-template-columns: 34px minmax(0, 1fr) 24px; padding-inline: 12px; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rankings-next__links a { transition: none; }
}
