:root {
  --bg: #f9fafb;
  --surface: #ffffff;
  --surface-soft: #fff7ed;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --orange-soft: #ffedd5;
  --blue: #2563eb;
  --green: #16a34a;
  --shadow-sm: 0 4px 6px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 25px 60px rgba(15, 23, 42, 0.22);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #dc2626);
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(234, 88, 12, 0.35);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

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

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

.nav-link:hover,
.nav-link.is-active {
  color: var(--orange);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #374151;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 10px 16px 18px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: #374151;
  font-weight: 600;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--orange);
  background: var(--orange-soft);
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 52%, #be185d 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.18), transparent 25%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: auto, auto, 46px 46px, 46px 46px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 56px;
  align-items: center;
  min-height: 620px;
  padding: 76px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-copy .eyebrow,
.page-hero .eyebrow {
  color: #ffedd5;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-copy p,
.page-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.75;
}

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

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

.primary-button {
  color: var(--orange);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.primary-button.full {
  width: 100%;
  color: #ffffff;
  background: var(--orange);
}

.ghost-button {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.40);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.primary-button:hover,
.ghost-button:hover,
.hero-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.hero-search {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin-top: 26px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  color: #ffffff;
  border: 0;
  outline: none;
  background: transparent;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-search a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 42px;
  color: var(--orange);
  background: #ffffff;
  border-radius: 999px;
  font-weight: 800;
}

.hero-carousel {
  position: relative;
  min-height: 500px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 35px 90px rgba(17, 24, 39, 0.38);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.82));
}

.hero-slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 34px;
}

.hero-label,
.type-badge,
.rank-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
}

.hero-label {
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(234, 88, 12, 0.92);
}

.hero-slide h2 {
  margin: 16px 0 8px;
  font-size: 34px;
  line-height: 1.15;
}

.hero-slide p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.hero-tags {
  margin-top: 14px;
}

.hero-tags span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-link {
  margin-top: 18px;
  color: #ffffff;
  background: var(--orange);
}

.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 28px;
  background: #ffffff;
}

.category-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: -54px;
}

.category-tile {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.category-tile img {
  position: absolute;
  right: -8px;
  bottom: -18px;
  width: 126px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
  opacity: 0.18;
  transform: rotate(-7deg);
}

.category-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  font-size: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.category-tile strong,
.category-tile small {
  position: relative;
  z-index: 1;
  display: block;
}

.category-tile strong {
  margin-bottom: 5px;
  font-size: 18px;
}

.category-tile small {
  color: var(--muted);
  line-height: 1.55;
}

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

.section-title {
  margin-bottom: 30px;
}

.section-title span {
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-title h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-title.with-link {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-title.with-link a {
  color: var(--blue);
  font-weight: 800;
}

.section-title.compact h2 {
  font-size: 28px;
}

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

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

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  height: 245px;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2937, #111827);
}

.movie-card-featured .poster-wrap {
  height: 410px;
}

.movie-card-wide .poster-wrap {
  height: 220px;
}

.movie-card-ranking .poster-wrap {
  height: 230px;
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.64));
}

.type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  color: #ffffff;
  font-size: 12px;
  background: rgba(234, 88, 12, 0.92);
  backdrop-filter: blur(8px);
}

.rank-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.78);
  backdrop-filter: blur(8px);
}

.movie-info {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.movie-info strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 1.4em;
  font-size: 18px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card:hover .movie-info strong {
  color: var(--orange);
}

.movie-info em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
}

.movie-meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f4f6;
}

.tag-row span,
.detail-tags span {
  color: #9a3412;
  background: #ffedd5;
}

.blue-band {
  margin-top: 70px;
  padding-bottom: 70px;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.filter-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

.filter-heading h2 {
  margin: 0;
  font-size: 26px;
}

.filter-heading p {
  margin: 0;
  color: var(--muted);
}

.filter-controls {
  display: grid;
  grid-template-columns: 1fr 180px 160px;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  color: #374151;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: #f9fafb;
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.18);
}

.empty-state {
  display: none;
  padding: 42px;
  color: var(--muted);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.dark-stats {
  margin-top: 70px;
  padding: 56px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #1f2937);
}

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

.stats-grid strong {
  display: block;
  color: #fb923c;
  font-size: 42px;
}

.stats-grid span {
  color: #d1d5db;
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}

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

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

.mini-card {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mini-card img {
  width: 88px;
  height: 62px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 12px;
  background: #111827;
  transition: transform 0.35s ease;
}

.mini-card span {
  display: grid;
  min-width: 0;
}

.mini-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-card small {
  color: var(--muted);
}

.mini-rank {
  color: var(--orange);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

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

.category-link-grid a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.category-link-grid a:hover {
  border-color: #fb923c;
  transform: translateY(-2px);
}

.category-link-grid strong,
.category-link-grid small {
  display: block;
}

.category-link-grid small {
  margin-top: 5px;
  color: var(--muted);
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #ea580c, #dc2626 52%, #be185d);
}

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

.page-hero h1 {
  font-size: clamp(38px, 5vw, 60px);
}

.category-page-hero,
.ranking-hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #111827, #dc2626 55%, #ea580c);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill-link {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.overview-stack {
  display: grid;
  gap: 24px;
  padding: 56px 0;
}

.category-overview-card {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.category-overview-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.category-overview-head > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 28px;
  border-radius: 16px;
  background: var(--orange-soft);
}

.category-overview-head h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

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

.category-overview-head a {
  padding: 10px 16px;
  color: #ffffff;
  border-radius: 999px;
  background: var(--orange);
  font-weight: 800;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  padding: 56px 0;
}

.ranking-side {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

.detail-main {
  background: #f3f4f6;
}

.detail-top {
  padding: 32px 0 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: var(--orange);
}

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

.detail-player-card,
.detail-side-card,
.detail-article,
.related-panel {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.detail-player-card {
  overflow: hidden;
  padding: 12px;
}

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

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

.player-start {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.48));
  cursor: pointer;
}

.player-start span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.94);
  box-shadow: 0 20px 45px rgba(234, 88, 12, 0.35);
  font-size: 34px;
}

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

.detail-side-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 16px;
}

.detail-side-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  background: #111827;
}

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

.detail-article,
.related-panel {
  padding: 28px;
}

.detail-article h1 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.lead-text {
  margin: 18px 0 0;
  color: #374151;
  font-size: 20px;
  line-height: 1.75;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.info-grid div {
  padding: 16px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.info-grid span,
.info-grid strong {
  display: block;
}

.info-grid span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.info-grid strong {
  color: var(--orange-dark);
}

.detail-article h2 {
  margin: 32px 0 12px;
  font-size: 24px;
}

.detail-article p {
  color: #4b5563;
  font-size: 17px;
  line-height: 1.9;
}

.related-panel {
  position: sticky;
  top: 96px;
  align-self: start;
}

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

.site-footer {
  margin-top: 70px;
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding: 44px 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  max-width: 520px;
  color: #9ca3af;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 17px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

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

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

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

  .mobile-toggle {
    display: block;
  }

  .hero-grid,
  .detail-grid,
  .detail-content,
  .ranking-layout,
  .split-block {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: 460px;
  }

  .category-strip,
  .movie-grid.four,
  .featured-grid,
  .movie-grid.three,
  .stats-grid,
  .info-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-side,
  .related-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-container {
    width: min(100% - 22px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand-text small {
    display: none;
  }

  .hero-grid {
    gap: 34px;
    min-height: auto;
    padding: 56px 0 82px;
  }

  .hero-copy p,
  .page-hero p {
    font-size: 17px;
  }

  .hero-search,
  .hero-actions,
  .filter-heading,
  .section-title.with-link {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-search,
  .filter-controls {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .hero-carousel {
    min-height: 390px;
  }

  .hero-slide-copy {
    padding: 22px;
  }

  .hero-slide h2 {
    font-size: 26px;
  }

  .category-strip,
  .movie-grid.four,
  .featured-grid,
  .movie-grid.three,
  .stats-grid,
  .info-grid,
  .footer-grid,
  .grid-mini,
  .category-link-grid {
    grid-template-columns: 1fr;
  }

  .poster-wrap,
  .movie-card-featured .poster-wrap,
  .movie-card-wide .poster-wrap,
  .movie-card-ranking .poster-wrap {
    height: 260px;
  }

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

  .detail-side-card {
    display: none;
  }

  .detail-article,
  .related-panel,
  .filter-panel {
    padding: 20px;
  }
}
