:root {
  --color-bg: #fff7ed;
  --color-bg-soft: #fffbeb;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-line: rgba(146, 64, 14, 0.16);
  --color-dark: #111827;
  --color-primary: #d97706;
  --color-primary-2: #f97316;
  --color-primary-3: #f59e0b;
  --shadow-card: 0 18px 45px rgba(120, 53, 15, 0.12);
  --shadow-strong: 0 24px 70px rgba(120, 53, 15, 0.25);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 42%, #fff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
  background: linear-gradient(135deg, #f59e0b, #7c2d12);
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(255, 251, 235, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 26px rgba(120, 53, 15, 0.08);
}

.site-nav {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-size: 18px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2));
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.28);
}

.site-logo-text strong {
  display: block;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #92400e;
}

.site-logo-text small {
  display: block;
  margin-top: 4px;
  color: #78716c;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
  color: #4b5563;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-2));
  transition: width 0.24s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #92400e;
  background: #ffedd5;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.mobile-links a {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
  color: #92400e;
  font-weight: 700;
}

.hero-carousel {
  position: relative;
  min-height: clamp(680px, 84vh, 860px);
  overflow: hidden;
  background: #111827;
}

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

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

.hero-bg,
.hero-layer {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: brightness(0.72) saturate(1.12);
}

.hero-layer {
  background:
    radial-gradient(circle at 24% 36%, rgba(245, 158, 11, 0.58), transparent 34%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.72) 45%, rgba(17, 24, 39, 0.35) 100%),
    linear-gradient(0deg, #111827 0%, rgba(17, 24, 39, 0.18) 44%, rgba(17, 24, 39, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  height: 100%;
  min-height: clamp(680px, 84vh, 860px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: 54px;
  padding: 92px 0 92px;
}

.hero-copy {
  color: #fff;
  max-width: 780px;
  padding-bottom: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

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

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary-3), var(--color-primary-2));
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.32);
}

.ghost-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-poster {
  position: relative;
  display: block;
  width: min(360px, 100%);
  justify-self: end;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
}

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

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

.hero-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.24s ease, background 0.24s ease;
}

.hero-dots button.is-active {
  width: 36px;
  background: #f59e0b;
}

.search-band {
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.search-band-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-strong);
}

.search-band h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
  color: #7c2d12;
}

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

.site-search {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.site-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 14px;
  color: #431407;
}

.site-search button {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2));
  cursor: pointer;
}

.content-section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

.warm-section,
.soft-section {
  width: 100%;
  padding-left: max(16px, calc((100% - 1240px) / 2));
  padding-right: max(16px, calc((100% - 1240px) / 2));
}

.warm-section {
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.85), rgba(255, 251, 235, 0.95));
}

.soft-section {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.9), rgba(255, 247, 237, 0.95));
}

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

.section-line {
  display: block;
  width: 6px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-primary-3), var(--color-primary-2));
  float: left;
  margin: 4px 14px 0 0;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #1f2937;
}

.section-heading p {
  clear: both;
  margin: 10px 0 0;
  color: var(--color-muted);
  max-width: 680px;
  line-height: 1.8;
}

.section-more {
  display: inline-flex;
  flex-shrink: 0;
  padding: 12px 18px;
  border-radius: 999px;
  color: #92400e;
  background: #ffedd5;
  font-weight: 900;
}

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

.category-tile {
  min-height: 164px;
  padding: 24px;
  border: 1px solid rgba(251, 191, 36, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.24), transparent 38%),
    #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-tile span {
  display: block;
  color: #7c2d12;
  font-size: 23px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.category-tile small {
  display: block;
  margin-top: 12px;
  color: var(--color-muted);
  line-height: 1.7;
}

.poster-grid {
  display: grid;
  gap: 20px;
}

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

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

.movie-card {
  min-width: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #451a03;
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.72));
  opacity: 0.74;
}

.poster-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: auto;
  border-radius: 999px;
  color: #fff;
  background: rgba(245, 158, 11, 0.88);
  transform: scale(0.84);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.poster-year {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(146, 64, 14, 0.9);
  font-size: 12px;
  font-weight: 900;
}

.movie-card-body {
  padding: 15px 15px 17px;
}

.movie-card h3,
.wide-card h3,
.rank-info h2 {
  margin: 0;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.38;
  font-weight: 950;
}

.movie-card h3 a:hover,
.wide-card h3 a:hover,
.rank-info h2 a:hover {
  color: var(--color-primary);
}

.movie-card p,
.wide-card p,
.rank-info p {
  margin: 9px 0 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.65;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
}

.card-meta span,
.detail-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ffedd5;
}

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

.tag-row span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.wide-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 230px;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.wide-poster {
  position: relative;
  overflow: hidden;
  background: #451a03;
}

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

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

.play-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(217, 119, 6, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.wide-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wide-info .tag-row span {
  color: #92400e;
  background: #ffedd5;
  border: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 158, 11, 0.34), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.25), transparent 34%),
    linear-gradient(135deg, #111827, #7c2d12);
}

.compact-hero {
  min-height: 360px;
  display: flex;
  align-items: end;
}

.page-hero-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 64px;
  color: #fff;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

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

.listing-grid {
  align-items: start;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.pagination a,
.pagination strong,
.pagination span {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 900;
}

.pagination a {
  color: #92400e;
  background: #ffedd5;
}

.pagination strong {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2));
}

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

.rank-row {
  display: grid;
  grid-template-columns: 52px 118px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--color-primary-3), var(--color-primary-2));
}

.rank-thumb {
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

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

.watch-hero {
  background:
    radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.28), transparent 32%),
    linear-gradient(135deg, #111827 0%, #1f2937 45%, #7c2d12 100%);
  padding: 52px 0 60px;
}

.watch-layout {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.58fr);
  gap: 32px;
  align-items: center;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-fallback {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #fff;
  background: rgba(127, 29, 29, 0.86);
}

.watch-info {
  color: #fff;
}

.watch-info h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.watch-one-line {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.85;
  font-size: 17px;
}

.detail-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-tags {
  margin-top: 18px;
}

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

.story-card,
.text-card {
  border-radius: 24px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.story-card h2,
.text-card h2 {
  margin: 0 0 14px;
  color: #7c2d12;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.story-card p,
.text-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.95;
}

.accent-card {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.2), transparent 40%),
    #fff;
}

.text-page {
  min-height: 420px;
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: start center;
  padding: 92px 16px 30px;
  background: rgba(17, 24, 39, 0.66);
  backdrop-filter: blur(12px);
}

.search-panel {
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 130px));
  overflow: auto;
  border-radius: 26px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

.search-panel h2 {
  margin: 0 0 18px;
  color: #7c2d12;
  font-size: 28px;
}

.search-close {
  float: right;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: #92400e;
  background: #ffedd5;
  cursor: pointer;
}

.search-result-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #f3e8d1;
}

.search-result-item img {
  width: 74px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.search-result-item h3 {
  margin: 0;
  font-size: 17px;
}

.search-result-item p {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
  padding: 52px 0 34px;
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 46px;
}

.footer-logo {
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

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

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

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

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

.footer-links a {
  color: #9ca3af;
}

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

@media (max-width: 1180px) {
  .six-grid,
  .five-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-content,
  .watch-layout,
  .search-band-inner,
  .detail-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    align-items: center;
    padding-top: 82px;
  }

  .hero-poster {
    display: none;
  }

  .wide-grid,
  .rank-list,
  .text-grid {
    grid-template-columns: 1fr;
  }

  .watch-info {
    order: -1;
  }
}

@media (max-width: 720px) {
  .site-nav {
    min-height: 66px;
  }

  .site-logo-text strong {
    font-size: 19px;
  }

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

  .hero-copy h1 {
    font-size: 44px;
  }

  .search-band-inner,
  .story-card,
  .text-card {
    padding: 20px;
  }

  .site-search {
    border-radius: 20px;
    flex-direction: column;
  }

  .site-search input {
    min-height: 42px;
  }

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

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

  .section-heading {
    display: block;
  }

  .section-more {
    margin-top: 18px;
  }

  .wide-card,
  .rank-row {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .rank-number {
    display: none;
  }

  .footer-columns,
  .mobile-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .category-grid,
  .six-grid,
  .five-grid {
    grid-template-columns: 1fr;
  }

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

  .wide-poster img {
    aspect-ratio: 16 / 10;
  }
}
