:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --panel-soft: #111827;
  --card: #1e293b;
  --card-2: #0f172a;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --cyan: #22d3ee;
  --cyan-strong: #06b6d4;
  --cyan-soft: rgba(34, 211, 238, 0.16);
  --yellow: #facc15;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.48);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  background: radial-gradient(circle at top left, rgba(8, 145, 178, 0.16), transparent 32rem), var(--bg);
  color: var(--text);
}

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

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

button,
input {
  font: inherit;
}

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

.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(15, 23, 42, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--container), calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-icon,
.footer-brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #001018;
  background: linear-gradient(135deg, var(--cyan), #38bdf8);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.35);
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-link,
.nav-dropdown > button {
  border: 0;
  background: transparent;
  color: #dbeafe;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-dropdown > button:hover {
  color: var(--cyan);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 190px;
  padding: 8px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #dbeafe;
}

.dropdown-panel a:hover {
  background: rgba(51, 65, 85, 0.8);
  color: var(--cyan);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-search input {
  width: 260px;
  border: 1px solid transparent;
  outline: 0;
  border-radius: 999px;
  background: #1e293b;
  color: var(--text);
  padding: 11px 44px 11px 16px;
  transition: 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-search input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}

.header-search button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--cyan);
  background: transparent;
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

.mobile-panel {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  border-top: 1px solid var(--line);
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding-top: 14px;
}

.mobile-search input {
  width: 100%;
  padding-right: 16px;
}

.mobile-search button,
.big-search button {
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: white;
  background: var(--cyan-strong);
  cursor: pointer;
}

.mobile-panel nav {
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

.mobile-panel .nav-link,
.mobile-categories a {
  display: block;
  padding: 10px 0;
  color: #dbeafe;
}

.mobile-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 18px;
  padding-top: 4px;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.82) 42%, rgba(2, 6, 23, 0.12)), linear-gradient(0deg, rgba(2, 6, 23, 0.75), transparent 45%);
}

.hero-content {
  position: absolute;
  inset: 0;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: var(--container);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: var(--cyan);
  background: var(--cyan-soft);
  font-size: 14px;
}

.hero h1 {
  width: min(700px, 100%);
  margin: 0 0 18px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero p {
  width: min(640px, 100%);
  margin: 0 0 28px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-ghost,
.heading-link,
.aside-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 22px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  color: #001018;
  background: linear-gradient(135deg, var(--cyan), #60a5fa);
  box-shadow: 0 16px 28px rgba(34, 211, 238, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(34, 211, 238, 0.26);
}

.btn-ghost {
  color: #e0f2fe;
  border: 1px solid rgba(226, 232, 240, 0.25);
  background: rgba(15, 23, 42, 0.52);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 50%;
  transform: translateY(-50%);
  color: white;
  background: rgba(2, 6, 23, 0.58);
  cursor: pointer;
  font-size: 30px;
  transition: 0.2s ease;
}

.hero-arrow:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(2, 6, 23, 0.78);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: var(--cyan);
}

.hero-thumbs {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 74px;
  width: 300px;
  display: grid;
  gap: 10px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(12px);
  transition: 0.2s ease;
}

.hero-thumb img {
  width: 76px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
}

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

.hero-thumb.is-active,
.hero-thumb:hover {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(8, 145, 178, 0.22);
}

.section {
  padding: 56px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.section-heading > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--cyan);
  background: var(--cyan-soft);
}

.section-heading h2,
.panel-title h2,
.detail-card h2,
.aside-card h2,
.category-overview-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.section-heading p,
.category-overview-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

.heading-link {
  margin-left: auto;
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}

.heading-link:hover {
  background: rgba(34, 211, 238, 0.16);
}

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

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.28);
  transition: 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.38);
  box-shadow: 0 22px 40px rgba(8, 145, 178, 0.16);
}

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

.card-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.movie-card-wide .card-poster {
  height: 100%;
  min-height: 236px;
  aspect-ratio: auto;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(0, 0, 0, 0.42);
  transition: 0.25s ease;
}

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

.play-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  color: white;
  font-size: 42px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: 0.25s ease;
}

.movie-card:hover .play-mark {
  opacity: 1;
  transform: scale(1);
}

.type-badge,
.year-badge,
.rank-badge,
.small-rank {
  position: absolute;
  border-radius: 999px;
  color: white;
  background: rgba(0, 0, 0, 0.72);
  font-size: 12px;
  line-height: 1;
}

.type-badge {
  top: 10px;
  left: 10px;
  padding: 7px 9px;
}

.year-badge {
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
}

.rank-badge {
  left: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #111827;
  background: var(--yellow);
  font-weight: 800;
}

.card-body {
  padding: 18px;
}

.card-tags,
.detail-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.region-pill,
.tag,
.detail-tags span,
.tag-link {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  color: var(--cyan);
  background: var(--cyan-soft);
}

.tag,
.detail-tags span,
.tag-link {
  color: #cbd5e1;
  background: rgba(51, 65, 85, 0.72);
}

.tag-link:hover {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.14);
}

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

.movie-card h3 a:hover {
  color: var(--cyan);
}

.movie-card 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;
}

.card-meta {
  overflow: hidden;
  color: var(--muted-2);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
}

.feature-band {
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 28px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.13), rgba(29, 78, 216, 0.1));
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
}

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

.small-card {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.78);
  transition: 0.2s ease;
}

.small-card:hover {
  border-color: rgba(34, 211, 238, 0.34);
  background: rgba(30, 41, 59, 0.82);
}

.small-poster {
  position: relative;
  display: block;
  overflow: hidden;
  width: 126px;
  height: 78px;
  border-radius: 12px;
  background: #0f172a;
}

.small-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s ease;
}

.small-rank {
  top: 6px;
  left: 6px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #111827;
  background: var(--yellow);
  font-weight: 800;
}

.small-info strong,
.small-info em {
  display: block;
}

.small-info strong {
  overflow: hidden;
  margin-bottom: 7px;
  color: #f8fafc;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.small-info em {
  overflow: hidden;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-style: normal;
  font-size: 13px;
}

.rank-panel,
.aside-card,
.detail-card,
.player-card,
.category-overview-card {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.86);
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.22);
}

.rank-panel {
  padding: 18px;
}

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

.panel-title a,
.category-overview-head a {
  color: var(--cyan);
  font-size: 14px;
}

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

.category-box {
  min-height: 148px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
  transition: 0.24s ease;
}

.category-box:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.36);
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.22), rgba(30, 41, 59, 0.96));
}

.category-box strong,
.category-box span {
  display: block;
}

.category-box strong {
  margin-bottom: 10px;
  font-size: 20px;
}

.category-box span {
  color: var(--muted);
  line-height: 1.65;
}

.page-hero {
  padding: 54px 0;
  background: linear-gradient(90deg, rgba(8, 145, 178, 0.18), rgba(29, 78, 216, 0.1)), rgba(15, 23, 42, 0.74);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.03em;
}

.page-hero p {
  width: min(760px, 100%);
  margin: 0;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.8;
}

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

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

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.78);
}

.filter-search input {
  width: min(420px, 100%);
  padding-right: 16px;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-actions button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: #cbd5e1;
  background: #1e293b;
  cursor: pointer;
  transition: 0.2s ease;
}

.filter-actions button:hover,
.filter-actions button.is-active {
  color: white;
  background: var(--cyan-strong);
}

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

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

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

.big-search {
  display: flex;
  gap: 10px;
  width: min(620px, 100%);
  margin-top: 26px;
}

.big-search input {
  flex: 1;
  width: auto;
  padding-right: 18px;
}

.detail-layout {
  padding-top: 30px;
}

.detail-breadcrumb {
  margin-bottom: 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 26px;
  align-items: start;
}

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

.player-card {
  overflow: hidden;
}

.player-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: black;
}

.player-box video,
.player-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: #000;
  cursor: pointer;
}

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

.player-cover-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.1), rgba(0, 0, 0, 0.55));
}

.player-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: #001018;
  background: linear-gradient(135deg, var(--cyan), #60a5fa);
  box-shadow: 0 16px 40px rgba(8, 145, 178, 0.36);
  font-size: 28px;
  transform: translate(-50%, -50%);
}

.detail-card,
.aside-card {
  padding: 22px;
}

.detail-card h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.18;
}

.detail-one-line {
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 18px;
  line-height: 1.75;
}

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

.detail-meta div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.78);
}

.detail-meta dt {
  margin-bottom: 6px;
  color: var(--muted-2);
  font-size: 12px;
}

.detail-meta dd {
  margin: 0;
  color: #e2e8f0;
  line-height: 1.45;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prose-card p {
  margin: 12px 0 0;
  color: #cbd5e1;
  line-height: 1.9;
}

.detail-aside {
  min-width: 0;
}

.sticky-card {
  position: sticky;
  top: 92px;
}

.related-list {
  margin-top: 16px;
}

.aside-more {
  width: 100%;
  margin-top: 18px;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(34, 211, 238, 0.08);
}

.site-footer {
  margin-top: 58px;
  border-top: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.94);
}

.footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

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

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

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

.site-footer a:hover {
  color: var(--cyan);
}

.footer-bottom {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  text-align: center;
  font-size: 14px;
}

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

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

  .hero-thumbs {
    display: none;
  }

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

  .split-section,
  .detail-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .mobile-toggle {
    display: block;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    height: 560px;
  }

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

  .hero-arrow {
    top: auto;
    bottom: 28px;
    transform: none;
  }

  .hero-prev {
    left: 18px;
  }

  .hero-next {
    right: 18px;
  }

  .hero-dots {
    bottom: 42px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .podium-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-wide {
    display: block;
  }

  .movie-card-wide .card-poster {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .feature-band {
    padding: 22px;
  }

  .filter-bar,
  .panel-title,
  .category-overview-head,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .heading-link {
    margin-left: 0;
  }

  .filter-search,
  .filter-search input {
    width: 100%;
  }

  .big-search {
    flex-direction: column;
  }

  .big-search button {
    min-height: 46px;
  }
}

@media (max-width: 540px) {
  .header-inner {
    height: 62px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand em {
    font-size: 11px;
  }

  .hero {
    height: 520px;
  }

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

  .section {
    padding: 40px 0;
  }

  .small-card {
    grid-template-columns: 104px 1fr;
  }

  .small-poster {
    width: 104px;
    height: 68px;
  }

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

  .detail-card,
  .aside-card,
  .category-overview-card {
    padding: 18px;
  }
}
