:root {
  --earth-950: #17130f;
  --earth-900: #211b15;
  --earth-850: #2b241c;
  --earth-800: #3a2f24;
  --earth-700: #4a3a2a;
  --earth-100: #ede6dc;
  --bronze-700: #8f5d22;
  --bronze-600: #a86a26;
  --bronze-500: #c48136;
  --bronze-400: #d69a52;
  --bronze-300: #e7bb7d;
  --clay-100: #f3e8dc;
  --stone-950: #151515;
  --stone-900: #232323;
  --stone-700: #4c4945;
  --stone-600: #68625c;
  --stone-500: #81786e;
  --stone-200: #e7e0d8;
  --stone-100: #f4f0ec;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(33, 27, 21, 0.16);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--stone-900);
  background: #faf8f5;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

body.no-scroll {
  overflow: hidden;
}

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

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(33, 27, 21, 0.95);
  color: var(--stone-100);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--earth-950);
  background: linear-gradient(135deg, var(--bronze-300), var(--bronze-500));
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(196, 129, 54, 0.35);
  font-size: 14px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--bronze-300);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 99px;
  background: var(--bronze-400);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 99px;
}

.mobile-nav {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--stone-100);
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--earth-950);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(0.9) contrast(1.05);
}

.hero-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(212, 154, 82, 0.36), transparent 28%),
    linear-gradient(115deg, rgba(23, 19, 15, 0.96) 0%, rgba(33, 27, 21, 0.88) 40%, rgba(33, 27, 21, 0.48) 70%, rgba(23, 19, 15, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 54px;
  align-items: center;
  padding: 72px 0 120px;
  color: var(--white);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 14px 0 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin: 0 0 16px;
  color: var(--bronze-300);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.15;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bronze-300);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--bronze-700);
}

.hero-tags,
.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.card-tags span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--earth-900);
  background: rgba(231, 187, 125, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.card-tags span {
  min-height: 24px;
  background: var(--earth-100);
  color: var(--earth-700);
  font-size: 12px;
}

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

.primary-btn,
.ghost-btn,
.text-btn,
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: var(--earth-950);
  background: linear-gradient(135deg, var(--bronze-300), var(--bronze-500));
  box-shadow: 0 18px 38px rgba(196, 129, 54, 0.32);
}

.primary-btn:hover,
.ghost-btn:hover,
.movie-card:hover,
.category-tile:hover,
.category-card:hover {
  transform: translateY(-3px);
}

.ghost-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hero-poster {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4.1;
  object-fit: cover;
}

.hero-thumbs {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.09);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(18px);
}

.hero-thumb.active {
  color: var(--earth-950);
  background: rgba(231, 187, 125, 0.92);
}

.hero-thumb img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
}

.hero-thumb span {
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-band {
  padding: 30px 0;
  background: var(--earth-900);
  color: var(--white);
}

.search-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.search-layout h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.search-layout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.global-search {
  position: relative;
}

.global-search label,
.filter-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.global-search label span,
.filter-form label span {
  font-size: 13px;
  color: var(--bronze-300);
}

.global-search-input,
.filter-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(196, 129, 54, 0.28);
  border-radius: 16px;
  padding: 0 16px;
  color: var(--earth-900);
  background: var(--white);
  outline: none;
  box-shadow: none;
  font: inherit;
}

.global-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 60;
  max-height: 360px;
  overflow: auto;
  border-radius: 18px;
  background: var(--white);
  color: var(--earth-900);
  box-shadow: var(--shadow);
}

.search-result {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid rgba(58, 47, 36, 0.1);
}

.search-result img {
  width: 54px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}

.search-result strong {
  display: block;
  margin-bottom: 5px;
}

.search-result span {
  color: var(--stone-600);
  font-size: 13px;
}

.section-block {
  padding: 70px 0;
}

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

.section-heading.compact {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 8px 0 0;
  color: var(--earth-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.more-link,
.text-btn {
  min-height: 40px;
  color: var(--earth-950);
  background: var(--earth-100);
}

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

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

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

.movie-grid-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(33, 27, 21, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  box-shadow: 0 22px 46px rgba(33, 27, 21, 0.18);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--earth-800), var(--bronze-700));
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.05) 58%, transparent);
}

.poster-meta {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.42);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.card-content {
  padding: 16px;
}

.card-content h3 {
  margin: 0 0 10px;
  color: var(--earth-900);
  font-size: 18px;
  line-height: 1.35;
}

.card-content h3 a:hover {
  color: var(--bronze-700);
}

.card-content p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--stone-600);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-small .card-content p {
  display: none;
}

.movie-card-wide {
  display: grid;
  grid-template-columns: 140px 1fr;
}

.movie-card-wide .poster-link img {
  height: 100%;
  aspect-ratio: auto;
}

.tone-section {
  background: linear-gradient(135deg, var(--clay-100), #fbf6ee);
}

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

.category-tile {
  min-height: 152px;
  padding: 22px;
  border-radius: var(--radius-md);
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(231, 187, 125, 0.34), transparent 40%),
    linear-gradient(135deg, var(--earth-800), var(--earth-950));
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.category-tile span {
  display: block;
  margin-bottom: 12px;
  color: var(--bronze-300);
  font-size: 20px;
  font-weight: 900;
}

.category-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.scroller {
  display: grid;
  grid-auto-columns: minmax(235px, 1fr);
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 22px;
  scroll-snap-type: x mandatory;
}

.scroller .movie-card {
  min-width: 235px;
  scroll-snap-align: start;
}

.two-column-zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
}

.ranking-panel,
.side-card,
.poster-panel,
.content-card,
.player-card {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.ranking-panel {
  padding: 24px;
}

.ranking-panel h2 {
  margin: 0 0 18px;
}

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

.rank-list a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #fbf8f4;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-list a:hover {
  background: var(--earth-100);
  transform: translateX(3px);
}

.rank-num {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--earth-950);
  background: var(--bronze-300);
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-year,
.rank-desc {
  color: var(--stone-500);
  font-size: 13px;
}

.detail-rank-list a {
  grid-template-columns: 44px minmax(0, 1fr) auto;
}

.detail-rank-list .rank-desc {
  display: none;
}

.editor-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 20%, rgba(231, 187, 125, 0.28), transparent 34%),
    linear-gradient(135deg, var(--earth-950), var(--earth-800));
}

.editor-inner {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.editor-copy h2 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.editor-copy p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.editor-cards {
  display: grid;
  gap: 18px;
}

.page-hero,
.detail-hero,
.ranking-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(231, 187, 125, 0.32), transparent 32%),
    linear-gradient(135deg, var(--earth-950), var(--earth-800));
}

.page-hero .container {
  padding: 88px 0;
}

.page-hero h1 {
  max-width: 860px;
  margin: 12px 0 16px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--bronze-300);
}

.category-overview {
  display: grid;
  gap: 24px;
}

.category-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.category-cover-stack img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
}

.category-card h2 {
  margin: 0 0 12px;
  color: var(--earth-900);
  font-size: 30px;
}

.category-card p {
  margin: 0 0 20px;
  color: var(--stone-600);
  line-height: 1.8;
}

.filter-form {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-hero,
.ranking-hero {
  min-height: 520px;
}

.detail-hero > img,
.ranking-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-layer,
.ranking-hero-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(231, 187, 125, 0.26), transparent 32%),
    linear-gradient(112deg, rgba(23, 19, 15, 0.96), rgba(33, 27, 21, 0.86) 45%, rgba(33, 27, 21, 0.58));
}

.detail-hero-content,
.ranking-hero-content {
  position: relative;
  z-index: 2;
  padding: 78px 0;
}

.detail-hero h1,
.ranking-hero h1 {
  max-width: 840px;
  margin: 12px 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.detail-hero p,
.ranking-hero p {
  max-width: 780px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.8;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 50px 0 20px;
}

.detail-main {
  display: grid;
  gap: 22px;
}

.player-card {
  padding: 14px;
  background: var(--earth-950);
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.7));
  cursor: pointer;
  z-index: 4;
  text-align: center;
}

.play-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.play-button {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bronze-300), var(--bronze-500));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.play-triangle {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid var(--earth-950);
}

.play-overlay strong {
  font-size: clamp(24px, 4vw, 38px);
}

.play-overlay span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.content-card {
  padding: 28px;
}

.content-card h2 {
  margin: 0 0 14px;
  color: var(--earth-900);
  font-size: 28px;
}

.content-card p {
  margin: 0;
  color: var(--stone-700);
  font-size: 17px;
  line-height: 1.95;
}

.detail-sidebar {
  display: grid;
  align-content: start;
  gap: 22px;
}

.poster-panel {
  overflow: hidden;
}

.poster-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.poster-panel dl {
  margin: 0;
  padding: 20px;
  display: grid;
  gap: 14px;
}

.poster-panel dl div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
}

.poster-panel dt {
  color: var(--stone-500);
  font-weight: 800;
}

.poster-panel dd {
  margin: 0;
  color: var(--earth-900);
  line-height: 1.6;
}

.side-card {
  padding: 22px;
}

.side-card h2 {
  margin: 0 0 16px;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.sticky-panel {
  position: sticky;
  top: 94px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

[data-movie-card].is-hidden {
  display: none;
}

.site-footer {
  margin-top: 50px;
  color: var(--stone-200);
  background: var(--earth-950);
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding: 56px 0;
}

.footer-brand p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.8;
}

.brand-footer {
  color: var(--white);
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--bronze-300);
  font-size: 20px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: var(--bronze-300);
}

.footer-bottom {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 12px;
    font-size: 14px;
  }

  .hero-content,
  .detail-layout,
  .ranking-layout,
  .two-column-zone,
  .editor-inner {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

  .movie-grid-six,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .search-layout,
  .filter-form,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .brand {
    font-size: 22px;
  }

  .hero-carousel,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    padding: 56px 0 190px;
  }

  .hero-thumbs {
    grid-template-columns: 1fr;
    bottom: 16px;
  }

  .hero-thumb {
    grid-template-columns: 46px 1fr;
    padding: 8px;
  }

  .hero-thumb img {
    width: 46px;
    height: 46px;
  }

  .movie-grid-four,
  .movie-grid-three,
  .movie-grid-six,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    grid-template-columns: 1fr;
  }

  .category-cover-stack {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-shell,
  .footer-shell {
    width: min(100% - 22px, 1180px);
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-hero h1,
  .ranking-hero h1 {
    font-size: 38px;
  }

  .hero-copy p,
  .page-hero p,
  .detail-hero p,
  .ranking-hero p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .movie-grid-four,
  .movie-grid-three,
  .movie-grid-six,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-wide {
    grid-template-columns: 1fr;
  }

  .rank-list a {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .rank-year {
    display: none;
  }

  .poster-panel dl div {
    grid-template-columns: 1fr;
  }
}
