:root {
  --pink: #f472b6;
  --pink-dark: #ec4899;
  --purple: #a855f7;
  --purple-dark: #7c3aed;
  --blue: #60a5fa;
  --teal: #2dd4bf;
  --orange: #fb923c;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #fdf2f8;
  --paper: #ffffff;
  --line: #f8c8dc;
  --shadow: 0 20px 45px rgba(31, 41, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(244, 114, 182, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 5%, rgba(168, 85, 247, 0.16), transparent 26rem),
    linear-gradient(180deg, #fff7fb 0%, #f8fafc 50%, #ffffff 100%);
  min-height: 100vh;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(236, 72, 153, 0.12);
}

.header-inner {
  max-width: 1280px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 800;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.24);
}

.logo-text {
  font-size: 24px;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link,
.mobile-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--pink-dark);
}

.header-search,
.mobile-search,
.search-page-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.local-filter-input {
  border: 2px solid #fbcfe8;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 230px;
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.local-filter-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.12);
}

.header-search button,
.mobile-search button,
.search-page-form button,
.small-button,
.primary-button,
.ghost-button,
.more-link {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.search-page-form button,
.primary-button,
.small-button,
.more-link {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 14px 28px rgba(236, 72, 153, 0.2);
}

.header-search button:hover,
.mobile-search button:hover,
.search-page-form button:hover,
.primary-button:hover,
.small-button:hover,
.more-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(168, 85, 247, 0.25);
}

.ghost-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #fdf2f8;
  color: var(--pink-dark);
  font-size: 24px;
}

.mobile-panel {
  border-top: 1px solid #fce7f3;
  background: #fff;
  padding: 16px 24px 22px;
}

.mobile-search input {
  flex: 1;
}

.mobile-nav {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.home-page {
  padding-top: 64px;
}

.hero-section {
  position: relative;
  height: 600px;
  margin-bottom: 56px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.35) 54%, rgba(0, 0, 0, 0.12)),
    radial-gradient(circle at 20% 75%, rgba(244, 114, 182, 0.34), transparent 32rem);
}

.hero-content {
  position: absolute;
  inset: auto 0 0 0;
  color: #fff;
  padding: 72px 24px 86px;
}

.hero-copy {
  max-width: 1280px;
  margin: 0 auto;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 26px;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.hero-tags,
.tag-row,
.genre-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  border-radius: 999px;
  padding: 8px 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  font-size: 42px;
  line-height: 0;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.42);
  transform: translateY(-50%) scale(1.04);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 34px;
  background: #fff;
}

.content-section,
.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-section {
  margin-bottom: 72px;
}

.page-shell {
  padding-top: 96px;
  padding-bottom: 72px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.18);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.movie-grid {
  display: grid;
  gap: 24px;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.movie-card a {
  display: block;
  height: 100%;
}

.movie-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111827;
}

.movie-thumb img,
.compact-thumb img,
.detail-poster img,
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .movie-thumb img,
.compact-card:hover .compact-thumb img,
.category-tile:hover img {
  transform: scale(1.1);
}

.thumb-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .thumb-shade {
  opacity: 1;
}

.play-badge,
.play-dot {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.play-badge {
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  min-height: 3em;
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 800;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--pink-dark);
}

.movie-info p {
  min-height: 3.2em;
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.tag-row span,
.genre-row span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--pink-dark);
  background: #fdf2f8;
  font-size: 12px;
  font-weight: 700;
}

.horizontal-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 20px;
  scrollbar-width: thin;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 38px;
  align-items: start;
}

.rank-list,
.rank-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.rank-row,
.rank-page-row {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
}

.rank-row a,
.rank-page-row a {
  display: grid;
  grid-template-columns: 52px 68px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
}

.rank-no {
  font-weight: 900;
  font-size: 20px;
  color: var(--pink-dark);
}

.rank-row img,
.rank-page-row img {
  width: 68px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-title,
.rank-main strong {
  font-weight: 800;
}

.rank-year,
.rank-meta,
.rank-main em {
  color: var(--muted);
  font-style: normal;
}

.rank-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rank-main em {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.more-link {
  display: inline-flex;
  margin-top: 18px;
}

.category-grid {
  display: grid;
  gap: 16px;
}

.compact-categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-tile {
  position: relative;
  min-height: 172px;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 41, 55, 0.14);
}

.category-tile img,
.category-shade {
  position: absolute;
  inset: 0;
}

.category-shade {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
}

.category-tile strong,
.category-tile small {
  position: absolute;
  left: 18px;
  right: 18px;
}

.category-tile strong {
  bottom: 64px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile small {
  bottom: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.page-hero {
  border-radius: 32px;
  padding: 58px;
  margin-bottom: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.22), transparent 16rem),
    linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 22px 50px rgba(168, 85, 247, 0.22);
}

.slim-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.slim-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--pink-dark);
  font-weight: 700;
}

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.category-overview-card,
.filter-panel,
.search-box-panel,
.detail-article,
.detail-aside,
.player-section {
  border-radius: 26px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(31, 41, 55, 0.09);
}

.category-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.category-overview-head h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
}

.category-overview-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.compact-list {
  display: grid;
  gap: 14px;
}

.compact-card {
  border-radius: 16px;
}

.compact-card a {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  align-items: center;
}

.compact-thumb {
  position: relative;
  height: 76px;
  overflow: hidden;
  border-radius: 16px;
}

.play-dot {
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.compact-info {
  min-width: 0;
}

.compact-info h3 {
  margin: 0 0 6px;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-info p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.filter-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.local-filter-input {
  width: 100%;
  border-radius: 18px;
}

.year-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.year-filter-row button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: #374151;
  background: #f3f4f6;
  cursor: pointer;
  font-weight: 700;
}

.year-filter-row button.active,
.year-filter-row button:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.search-box-panel {
  margin-bottom: 28px;
}

.search-page-form input {
  flex: 1;
  border-radius: 18px;
}

.search-result-heading {
  margin-bottom: 22px;
  font-size: 24px;
  font-weight: 900;
}

.rank-feature {
  margin-bottom: 28px;
}

.large-card .movie-thumb {
  aspect-ratio: 16 / 10;
}

.large-card .movie-info h3 {
  min-height: auto;
  font-size: 22px;
}

.detail-shell {
  max-width: 1180px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 34px;
  align-items: center;
  border-radius: 34px;
  padding: 34px;
  margin-bottom: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.2), transparent 18rem),
    linear-gradient(135deg, #111827 0%, #3b0764 52%, #be185d 100%);
  box-shadow: 0 24px 54px rgba(88, 28, 135, 0.28);
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.detail-tags {
  margin-bottom: 26px;
}

.player-section {
  margin-bottom: 32px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #050816;
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050816;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #050816;
}

.player-cover.is-hidden {
  display: none;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  filter: saturate(1.1);
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(244, 114, 182, 0.28), rgba(0, 0, 0, 0.55));
}

.player-button {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 50%;
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.95);
  font-size: 34px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.player-button:hover {
  transform: scale(1.07);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
  margin-bottom: 54px;
}

.detail-article h2,
.detail-aside h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 900;
}

.detail-article p {
  margin: 0 0 26px;
  color: #374151;
  line-height: 2;
  font-size: 17px;
}

.detail-aside dl {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.detail-aside dl div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.detail-aside dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-aside dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.related-section {
  padding: 0;
}

.site-footer {
  margin-top: 24px;
  background: linear-gradient(90deg, #fdf2f8, #f5f3ff);
  border-top: 1px solid #fce7f3;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 48px;
}

.footer-brand p {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer-links h3 {
  margin: 0 0 14px;
  font-size: 17px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--pink-dark);
}

.footer-bottom {
  border-top: 1px solid #fbcfe8;
  padding: 18px 24px;
  color: var(--muted);
  text-align: center;
}

.is-hidden-by-filter {
  display: none !important;
}

@media (max-width: 1080px) {
  .header-search {
    display: none;
  }

  .site-nav {
    gap: 18px;
  }

  .four-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .three-col,
  .split-layout,
  .detail-content-grid,
  .footer-inner,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 460px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    padding: 0 16px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .logo-text {
    font-size: 20px;
  }

  .hero-section {
    height: 560px;
  }

  .hero-content {
    padding: 54px 18px 78px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 40px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-arrow {
    width: 42px;
    height: 42px;
    font-size: 34px;
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .content-section,
  .page-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 10px;
  }

  .three-col,
  .four-col,
  .compact-categories {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .detail-hero {
    padding: 28px;
    border-radius: 26px;
  }

  .rank-row a,
  .rank-page-row a {
    grid-template-columns: 42px 64px 1fr;
  }

  .rank-year,
  .rank-meta {
    display: none;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .search-page-form {
    display: grid;
  }
}
