:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --dark: #020617;
  --dark-soft: #0f172a;
  --emerald: #059669;
  --emerald-soft: #d1fae5;
  --teal: #0d9488;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #1e293b, #0f172a);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.25);
}

.header-inner,
.search-panel-inner,
.section-shell,
.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: #94a3b8;
  margin-top: 4px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.icon-button {
  border-radius: 0.55rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 9px 12px;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.is-active,
.icon-button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  border: 0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  background: transparent;
  cursor: pointer;
  font-size: 1.3rem;
}

.mobile-menu-button {
  display: none;
}

.search-panel {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.98);
}

.search-panel-inner {
  padding: 18px 0;
}

.global-search-input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.9rem;
  padding: 13px 16px;
  color: #ffffff;
  outline: none;
  background: rgba(51, 65, 85, 0.8);
}

.global-search-input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}

.global-search-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  color: #e2e8f0;
  padding: 10px;
  border-radius: 0.8rem;
  background: rgba(30, 41, 59, 0.86);
}

.search-result-item img {
  width: 72px;
  height: 46px;
  object-fit: cover;
  border-radius: 0.55rem;
}

.search-result-item strong {
  display: block;
  line-height: 1.2;
  margin-bottom: 4px;
}

.search-result-item small {
  color: #94a3b8;
}

.mobile-nav {
  padding: 10px 16px 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: #0f172a;
}

.mobile-nav .nav-link {
  display: block;
  padding: 12px 4px;
}

.mobile-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
}

.mobile-category-links a {
  color: #d1fae5;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.22);
}

.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.38) 45%, rgba(248, 250, 252, 1)),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  max-width: 720px;
}

.hero-kicker,
.page-kicker {
  color: #6ee7b7;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 850px;
  margin: 12px 0 12px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.02;
  font-weight: 900;
}

.hero-content h2 {
  margin: 0 0 14px;
  color: #6ee7b7;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}

.hero-content p {
  max-width: 680px;
  color: #e2e8f0;
  font-size: 1.15rem;
  line-height: 1.75;
}

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

.hero-tags span,
.detail-tag,
.movie-chip {
  border-radius: 999px;
  color: #047857;
  background: #d1fae5;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-tags span,
.detail-tag {
  padding: 7px 12px;
}

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

.primary-button,
.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  padding: 13px 26px;
  background: var(--emerald);
  box-shadow: 0 14px 28px rgba(5, 150, 105, 0.36);
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  background: #047857;
}

.ghost-button {
  color: #ffffff;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.ghost-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.hero-controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
}

.hero-controls button {
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(8px);
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.8rem;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: 0.55;
}

.hero-dot.is-active {
  width: 28px;
  opacity: 1;
  background: var(--emerald);
}

.content-section {
  padding: 56px 0;
}

.light-section {
  background: #ffffff;
}

.ranking-preview-section {
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  color: #1e293b;
  font-weight: 900;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-more,
.text-link {
  color: var(--emerald);
  white-space: nowrap;
  font-weight: 800;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #0f172a;
}

.movie-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.movie-card:hover .movie-cover img {
  transform: scale(1.1);
}

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  transition: opacity 0.25s ease;
}

.movie-card:hover .movie-cover::after {
  opacity: 1;
}

.movie-duration,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.72);
}

.movie-duration {
  right: 10px;
}

.rank-badge {
  left: 10px;
  background: linear-gradient(135deg, #f97316, #dc2626);
}

.play-pulse {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: #ffffff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(5, 150, 105, 0.92);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-body {
  padding: 18px;
}

.movie-chip {
  display: inline-block;
  padding: 5px 9px;
  margin-bottom: 10px;
}

.movie-body h3 {
  display: -webkit-box;
  min-height: 2.75em;
  margin: 0 0 8px;
  overflow: hidden;
  color: #1e293b;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 850;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card:hover .movie-body h3 {
  color: var(--emerald);
}

.movie-body p {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: 0.83rem;
}

.movie-meta span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.category-feature,
.category-card {
  overflow: hidden;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-feature:hover,
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-feature {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 220px;
}

.category-feature-images,
.category-card-cover {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: #0f172a;
}

.category-feature-images img,
.category-card-cover img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.category-feature-copy,
.category-card-body {
  padding: 26px;
}

.category-feature-copy span,
.category-card-body span {
  color: var(--emerald);
  font-weight: 800;
}

.category-feature-copy h3,
.category-card-body h2 {
  margin: 10px 0;
  font-size: 1.6rem;
  font-weight: 900;
}

.category-feature-copy p,
.category-card-body p {
  color: var(--muted);
  line-height: 1.7;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.category-samples a {
  padding: 5px 9px;
  border-radius: 999px;
  color: #334155;
  font-size: 0.85rem;
  background: #f1f5f9;
}

.ranking-preview,
.ranking-list {
  display: grid;
  gap: 12px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 58px 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-radius: 0.95rem;
  padding: 12px 16px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.ranking-row strong {
  color: #94a3b8;
  font-size: 1.6rem;
  font-weight: 900;
}

.ranking-row img {
  width: 96px;
  height: 58px;
  border-radius: 0.65rem;
  object-fit: cover;
}

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

.ranking-info {
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.editor-list {
  display: grid;
  gap: 16px;
}

.editor-row {
  display: grid;
  grid-template-columns: 58px 180px 1fr;
  gap: 18px;
  align-items: center;
  border-radius: 1rem;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.editor-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.editor-number {
  color: #cbd5e1;
  font-size: 2rem;
  font-weight: 900;
}

.editor-row img {
  width: 180px;
  height: 108px;
  border-radius: 0.75rem;
  object-fit: cover;
}

.editor-row h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 900;
}

.editor-row p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
}

.editor-row small {
  color: #64748b;
}

.page-hero {
  color: #ffffff;
  background: linear-gradient(135deg, #059669, #0f766e);
}

.compact-hero {
  padding: 64px 0;
}

.page-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.1;
  font-weight: 900;
}

.page-hero p {
  max-width: 820px;
  margin: 0;
  color: #d1fae5;
  font-size: 1.1rem;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: #d1fae5;
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 160px 160px auto auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #334155;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 10px 12px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.filter-bar button {
  border: 0;
  border-radius: 0.75rem;
  padding: 11px 14px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
  background: #334155;
}

.filter-count {
  color: var(--emerald);
  white-space: nowrap;
  padding-bottom: 10px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #020617;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--poster);
  background-position: center;
  background-size: cover;
  filter: blur(24px);
  transform: scale(1.1);
  opacity: 0.38;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.92));
}

.detail-shell {
  position: relative;
  z-index: 1;
  padding: 44px 0 54px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

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

.detail-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 950;
}

.detail-one-line {
  max-width: 860px;
  color: #e2e8f0;
  font-size: 1.15rem;
  line-height: 1.8;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.detail-stats span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.1);
}

.detail-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.8fr);
  gap: 26px;
}

.player-card,
.detail-side-card,
.rich-article {
  border-radius: 1.2rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.player-card {
  overflow: hidden;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000000;
}

.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.72));
  transition: opacity 0.25s ease;
}

.player-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  font-size: 1.9rem;
  background: var(--emerald);
  box-shadow: 0 18px 35px rgba(5, 150, 105, 0.38);
}

.player-overlay strong {
  font-size: 1.35rem;
}

.player-overlay small {
  color: #cbd5e1;
}

.player-status {
  margin: 0;
  padding: 12px 18px;
  color: #cbd5e1;
  background: #020617;
}

.episode-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
}

.episode-tools button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  background: var(--emerald);
}

.detail-side-card {
  padding: 24px;
}

.detail-side-card h2,
.rich-article h2 {
  margin: 0 0 18px;
  color: #1e293b;
  font-size: 1.45rem;
  font-weight: 900;
}

.detail-side-card dl {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px 16px;
  margin: 0;
}

.detail-side-card dt {
  color: #64748b;
  font-weight: 800;
}

.detail-side-card dd {
  margin: 0;
  color: #0f172a;
}

.detail-side-card a {
  color: var(--emerald);
  font-weight: 800;
}

.article-shell {
  max-width: 980px;
}

.rich-article {
  padding: 30px;
}

.rich-article h2:not(:first-child) {
  margin-top: 26px;
}

.rich-article p {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.9;
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  padding: 46px 0 34px;
}

.footer-logo-row strong {
  color: #ffffff;
  font-size: 1.2rem;
}

.footer-logo-row p,
.footer-note {
  margin: 6px 0 0;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-note {
  max-width: 620px;
  margin-top: 18px;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 1rem;
}

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

.footer-links a:hover {
  color: #6ee7b7;
}

.footer-bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #64748b;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 900;
  background: var(--emerald);
  box-shadow: var(--shadow);
}

.back-to-top.is-visible {
  display: block;
}

@media (max-width: 1080px) {
  .movie-grid,
  .movie-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .global-search-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .mobile-menu-button {
    display: inline-grid;
  }

  .hero-section {
    height: 680px;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 110px;
  }

  .movie-grid,
  .movie-grid.three-col,
  .category-feature-grid,
  .category-grid,
  .global-search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filter-bar {
    grid-template-columns: 1fr;
  }

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

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

  .ranking-row {
    grid-template-columns: 42px 76px 1fr;
  }

  .ranking-row img {
    width: 76px;
    height: 48px;
  }

  .ranking-info {
    grid-column: 3;
    white-space: normal;
  }

  .editor-row {
    grid-template-columns: 42px 120px 1fr;
  }

  .editor-row img {
    width: 120px;
    height: 76px;
  }

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

@media (max-width: 560px) {
  .header-inner,
  .search-panel-inner,
  .section-shell,
  .footer-inner {
    width: min(100% - 24px, 1280px);
  }

  .brand-text small {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p,
  .page-hero p {
    font-size: 1rem;
  }

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

  .movie-grid,
  .movie-grid.three-col,
  .category-feature-grid,
  .category-grid,
  .global-search-results {
    grid-template-columns: 1fr;
  }

  .movie-body h3 {
    min-height: auto;
  }

  .detail-copy h1 {
    font-size: 2.1rem;
  }

  .detail-side-card dl {
    grid-template-columns: 1fr;
  }

  .editor-row {
    grid-template-columns: 1fr;
  }

  .editor-number {
    font-size: 1.4rem;
  }

  .editor-row img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
