:root {
  --bg: #f8fafc;
  --bg-soft: #eef2f7;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.10);
  --panel: rgba(255, 255, 255, 0.92);
  --dark: #020617;
  --dark-soft: #0f172a;
  --brand: #10b981;
  --brand-dark: #059669;
  --brand-soft: rgba(16, 185, 129, 0.12);
  --teal: #14b8a6;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 52%, #eefdf7 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.sr-only {
  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;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 24px;
  background: linear-gradient(135deg, var(--brand), var(--teal));
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.28);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-link,
.mobile-nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #334155;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.header-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.header-search input {
  width: 210px;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  background: transparent;
}

.header-search button,
.wide-search-form button {
  border: 0;
  padding: 10px 18px;
  cursor: pointer;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--teal));
}

.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  place-items: center;
}

.mobile-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--text);
}

.mobile-nav {
  display: none;
  padding: 0 24px 18px;
}

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

.hero-slider {
  position: relative;
  height: min(92vh, 860px);
  min-height: 640px;
  overflow: hidden;
  background: var(--dark);
}

.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 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(20, 184, 166, 0.32), transparent 30%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.66) 46%, rgba(2, 6, 23, 0.16) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, transparent 42%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  top: 50%;
  width: min(720px, calc(100vw - 48px));
  transform: translateY(-46%);
  color: #ffffff;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ecfdf5;
  background: rgba(16, 185, 129, 0.92);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 20px 0 16px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

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

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
}

.tag-row span {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

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

.primary-button,
.ghost-button,
.section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--teal));
  box-shadow: 0 18px 38px rgba(16, 185, 129, 0.28);
}

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

.ghost-button.dark {
  color: var(--text);
  border-color: var(--line);
  background: #ffffff;
}

.primary-button:hover,
.ghost-button:hover,
.section-action:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.hero-controls {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 52px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 42px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dot.is-active {
  background: var(--brand);
}

.quick-search-panel,
.content-section,
.overview-stack,
.sitemap-list,
.breadcrumb,
.detail-hero,
.detail-content-layout {
  width: min(1280px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.quick-search-panel {
  position: relative;
  z-index: 3;
  margin-top: -42px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.wide-search-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 900;
}

.wide-search-form div {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.wide-search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 16px 18px;
  background: transparent;
}

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

.quick-links a {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 18px;
  color: var(--brand-dark);
  font-weight: 900;
  background: var(--brand-soft);
}

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

.section-heading,
.category-overview-head,
.panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2,
.panel-heading h2,
.category-overview-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p,
.category-overview-head p,
.page-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.section-action {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

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

.category-tile,
.category-overview-card,
.ranking-panel,
.detail-article,
.detail-side-panel,
.player-shell,
.filter-bar,
.sitemap-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.category-tile {
  min-height: 260px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover,
.movie-card:hover,
.ranking-item:hover,
.ranking-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-poster-stack {
  position: relative;
  height: 112px;
  margin-bottom: 18px;
}

.category-poster-stack img {
  position: absolute;
  width: 76px;
  height: 112px;
  object-fit: cover;
  border: 3px solid #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.20);
}

.category-poster-stack img:nth-child(1) {
  left: 0;
  transform: rotate(-6deg);
}

.category-poster-stack img:nth-child(2) {
  left: 58px;
  transform: rotate(3deg);
}

.category-poster-stack img:nth-child(3) {
  left: 116px;
  transform: rotate(9deg);
}

.category-tile span {
  color: var(--brand-dark);
  font-weight: 900;
}

.category-tile h3 {
  margin: 8px 0;
  font-size: 22px;
}

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

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--dark-soft);
}

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

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

.score-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: rgba(16, 185, 129, 0.94);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.20);
}

.movie-card-body {
  padding: 14px;
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 8px 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.movie-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.movie-card-compact .movie-card-body {
  padding: 12px;
}

.movie-card-compact h3 {
  font-size: 16px;
}

.movie-card-compact p {
  display: none;
}

.ranking-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.panel-heading h2 {
  font-size: 28px;
}

.panel-heading a {
  color: var(--brand-dark);
  font-weight: 900;
}

.ranking-list {
  display: grid;
  gap: 10px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 38px 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: #f8fafc;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ranking-item img {
  width: 48px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
}

.ranking-number,
.ranking-score {
  color: var(--brand-dark);
  font-weight: 900;
}

.ranking-title {
  font-weight: 900;
}

.page-hero {
  min-height: 320px;
  display: flex;
  align-items: end;
  padding: 92px 24px 48px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.46), transparent 28%),
    linear-gradient(135deg, #020617 0%, #0f172a 58%, #064e3b 100%);
}

.page-hero > div {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 16px 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.category-overview-card {
  padding: 24px;
}

.filter-bar {
  margin-bottom: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(130px, 0.6fr)) auto;
  gap: 14px;
  align-items: end;
}

.filter-bar label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  padding: 12px 12px;
  background: #ffffff;
}

.filter-count {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--brand-dark);
  font-weight: 900;
  background: var(--brand-soft);
}

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

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

.ranking-row {
  display: grid;
  grid-template-columns: 68px 90px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ranking-row-number,
.ranking-row-score {
  color: var(--brand-dark);
  font-size: 24px;
  font-weight: 950;
}

.ranking-row-cover img {
  width: 90px;
  height: 126px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-row-content h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.ranking-row-content p {
  margin: 0 0 10px;
  color: var(--muted);
}

.search-page-form {
  margin-bottom: 20px;
}

.search-status {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.breadcrumb {
  padding: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.breadcrumb a {
  color: var(--brand-dark);
}

.detail-hero {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 36px;
  align-items: center;
  padding: 36px 0 26px;
}

.detail-cover {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: var(--dark-soft);
}

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

.detail-info h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 820px;
  color: var(--muted);
  font-size: 19px;
}

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

.detail-meta-grid span {
  min-height: 78px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 900;
}

.detail-meta-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.compact-heading {
  margin-bottom: 18px;
}

.compact-heading h2 {
  font-size: 30px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  background:
    radial-gradient(circle at center, rgba(16, 185, 129, 0.30), transparent 28%),
    rgba(0, 0, 0, 0.28);
}

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

.play-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--teal));
  box-shadow: 0 20px 42px rgba(16, 185, 129, 0.35);
}

.player-message {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 12px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  display: none;
}

.player-message.is-visible {
  display: block;
}

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

.detail-article,
.detail-side-panel {
  padding: 26px;
}

.detail-article h2,
.detail-side-panel h2 {
  margin: 0 0 16px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.detail-article p {
  color: #334155;
  font-size: 17px;
}

.movie-data-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.movie-data-list div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.movie-data-list dt {
  color: var(--muted);
  font-weight: 900;
}

.movie-data-list dd {
  margin: 0;
}

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

.sitemap-list {
  display: grid;
  gap: 22px;
  padding: 54px 0 0;
}

.sitemap-group {
  padding: 22px;
}

.sitemap-group h2 {
  margin: 0 0 16px;
  color: var(--brand-dark);
}

.sitemap-group div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 16px;
}

.sitemap-group a {
  color: #334155;
  font-size: 14px;
}

.site-footer {
  margin-top: 90px;
  color: #e2e8f0;
  background: linear-gradient(135deg, #020617, #0f172a 58%, #064e3b);
}

.footer-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 34px;
}

.footer-brand-block p {
  max-width: 520px;
  color: #94a3b8;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 18px;
}

.footer-column a {
  color: #cbd5e1;
}

.footer-bottom {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 14px;
}

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

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

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

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

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

  .two-column-section,
  .detail-content-layout {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }
}

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

  .mobile-nav-toggle {
    display: block;
  }

  .header-inner {
    padding: 12px 18px;
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-slider {
    height: 760px;
    min-height: 680px;
  }

  .hero-content {
    top: auto;
    bottom: 112px;
    transform: none;
  }

  .hero-controls {
    bottom: 42px;
  }

  .quick-search-panel {
    grid-template-columns: 1fr;
    margin-top: -26px;
  }

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

  .section-heading,
  .category-overview-head,
  .panel-heading {
    display: grid;
  }

  .category-grid,
  .featured-grid,
  .category-movie-grid,
  .movie-grid,
  .compact-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ranking-row {
    grid-template-columns: 52px 72px 1fr;
  }

  .ranking-row-score {
    grid-column: 3;
  }

  .ranking-row-cover img {
    width: 72px;
    height: 100px;
  }

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

  .detail-cover {
    max-width: 320px;
  }

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

  .sitemap-group div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .quick-search-panel,
  .content-section,
  .overview-stack,
  .sitemap-list,
  .breadcrumb,
  .detail-hero,
  .detail-content-layout {
    width: min(100% - 28px, 1280px);
  }

  .hero-content {
    width: calc(100vw - 28px);
    left: 14px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .page-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .wide-search-form div {
    display: grid;
  }

  .quick-links,
  .category-grid,
  .featured-grid,
  .category-movie-grid,
  .movie-grid,
  .compact-grid,
  .mini-grid,
  .side-grid {
    grid-template-columns: 1fr;
  }

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

  .ranking-row-cover {
    display: none;
  }

  .detail-meta-grid,
  .sitemap-group div {
    grid-template-columns: 1fr;
  }
}
