* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #1f2937;
  background: linear-gradient(180deg, #eff6ff 0%, #ecfeff 48%, #ffffff 100%);
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb 0%, #0891b2 54%, #0d9488 100%);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
}

.header-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 18px;
  pointer-events: none;
}

.header-wave svg,
.footer-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.header-wave path {
  fill: #eff6ff;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px 0 18px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 28px;
  font-weight: 800;
  transition: background 0.25s ease, transform 0.25s ease;
}

.brand:hover .brand-mark {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

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

.brand-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  margin-top: 4px;
  color: #dbeafe;
  font-size: 12px;
}

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

.nav-link {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  transform: translateY(-1px);
}

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

.header-search {
  position: relative;
  width: 250px;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ffffff;
  padding: 10px 42px 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.header-search input::placeholder {
  color: #dbeafe;
}

.header-search input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.26);
}

.header-search button {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 0;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.menu-toggle {
  display: none;
  border: 0;
  color: #ffffff;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 74px;
  padding: 14px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(90deg, #2563eb 0%, #0891b2 54%, #0d9488 100%);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.3);
}

.mobile-nav .nav-link {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.18);
}

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

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.78), rgba(15, 23, 42, 0.54) 46%, rgba(8, 145, 178, 0.1));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(680px, 100%);
  color: #ffffff;
}

.hero-category,
.category-pill,
.kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-category {
  padding: 8px 16px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 620px;
  margin: 0 0 26px;
  color: #e5e7eb;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

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

.hero-tags {
  margin-bottom: 28px;
}

.hero-tags span,
.card-tags span,
.detail-tags a {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions.small {
  margin-top: 26px;
}

.primary-button,
.ghost-button,
.section-action,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 850;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  padding: 13px 26px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.36);
}

.primary-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 46px rgba(37, 99, 235, 0.42);
}

.ghost-button {
  padding: 12px 24px;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px);
}

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

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.section {
  position: relative;
  padding: 72px 0;
}

.patterned::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image: radial-gradient(circle at 18% 20%, rgba(14, 165, 233, 0.18), transparent 26%), radial-gradient(circle at 86% 74%, rgba(37, 99, 235, 0.12), transparent 30%);
}

.patterned > .container,
.soft-bg > .container,
.blue-band > .container {
  position: relative;
  z-index: 1;
}

.soft-bg {
  background: rgba(255, 255, 255, 0.54);
}

.blue-band {
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.blue-band .section-heading h2,
.blue-band .section-heading p,
.blue-band .kicker {
  color: #ffffff;
}

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

.section-heading h2 {
  margin: 10px 0 8px;
  color: #1f2937;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 720px;
  margin: 0;
  color: #64748b;
  line-height: 1.75;
}

.kicker {
  padding: 6px 12px;
}

.section-action,
.text-link {
  color: #2563eb;
  white-space: nowrap;
}

.section-action:hover,
.text-link:hover {
  transform: translateX(2px);
}

.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.15);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #0891b2);
}

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

.movie-card:hover .poster-link img,
.rank-row:hover .rank-thumb img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 6, 23, 0.7));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.duration,
.rank-badge {
  position: absolute;
  z-index: 2;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.duration {
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
}

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

.card-body {
  padding: 18px;
}

.category-pill {
  padding: 5px 10px;
  margin-bottom: 12px;
  font-size: 12px;
}

.movie-card h3 {
  margin: 0 0 10px;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
}

.movie-card h3 a:hover {
  color: #2563eb;
}

.movie-card p {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.card-tags {
  margin-bottom: 14px;
}

.card-tags span {
  color: #2563eb;
  background: #dbeafe;
  border-color: transparent;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: auto 128px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-size: 18px;
  font-weight: 950;
}

.rank-thumb {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0f172a, #0891b2);
}

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

.rank-info {
  min-width: 0;
}

.rank-title {
  display: block;
  margin-bottom: 6px;
  color: #1f2937;
  font-weight: 850;
  line-height: 1.35;
}

.rank-title:hover {
  color: #2563eb;
}

.rank-info p {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.rank-info div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #64748b;
  font-size: 12px;
}

.horizontal-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}

.scroll-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.editor-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.movie-card.large .poster-link {
  aspect-ratio: 16 / 8.8;
}

.movie-card.large h3 {
  font-size: 24px;
}

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

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

.category-tile,
.category-overview-card {
  display: block;
  min-height: 160px;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.14);
}

.category-tile span,
.category-overview-title {
  display: block;
  margin-bottom: 10px;
  color: #2563eb;
  font-size: 20px;
  font-weight: 900;
}

.category-tile p,
.category-overview-card p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

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

.category-overview-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 16px 0;
  list-style: none;
}

.category-overview-card li a {
  color: #334155;
}

.category-overview-card li a:hover {
  color: #2563eb;
}

.page-hero {
  color: #ffffff;
  padding: 86px 0 76px;
  background: linear-gradient(120deg, #2563eb 0%, #0891b2 52%, #0d9488 100%);
}

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

.page-hero .kicker {
  background: rgba(255, 255, 255, 0.2);
}

.page-hero h1 {
  max-width: 820px;
  margin: 14px 0 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.8;
}

.filter-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  margin-bottom: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.filter-group > span {
  width: 56px;
  color: #475569;
  font-weight: 850;
}

.filter-button {
  border: 0;
  color: #2563eb;
  padding: 8px 14px;
  border-radius: 999px;
  background: #dbeafe;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  transform: translateY(-1px);
}

.big-search {
  display: flex;
  max-width: 680px;
  gap: 12px;
  margin-top: 28px;
}

.big-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 15px 18px;
  border-radius: 999px;
  color: #1f2937;
  background: #ffffff;
}

.big-search button {
  border: 0;
  color: #ffffff;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  cursor: pointer;
  font-weight: 900;
}

.search-status {
  margin-bottom: 20px;
  color: #475569;
  font-weight: 750;
}

.detail-page {
  padding: 34px 0 72px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: #64748b;
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: #2563eb;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.28);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  color: #ffffff;
  background: #000000;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.62));
}

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

.play-circle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.5);
  font-size: 34px;
  padding-left: 6px;
}

.player-message {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.82);
}

.detail-card,
.side-card {
  margin-top: 24px;
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.side-card {
  position: sticky;
  top: 104px;
  margin-top: 0;
}

.detail-card h1 {
  margin: 8px 0 12px;
  color: #1f2937;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 22px;
  color: #475569;
  font-size: 18px;
  line-height: 1.75;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 0;
  margin: 18px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.info-grid div {
  display: grid;
  gap: 4px;
}

.info-grid span {
  color: #64748b;
  font-size: 13px;
}

.info-grid strong {
  color: #1f2937;
  font-size: 15px;
}

.content-block {
  margin-top: 24px;
}

.content-block h2,
.side-card h2 {
  margin: 0 0 12px;
  color: #1f2937;
  font-size: 22px;
  font-weight: 950;
}

.content-block p {
  margin: 0;
  color: #475569;
  line-height: 1.85;
}

.review-block {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(90deg, #eff6ff, #ecfeff);
}

.detail-tags a {
  color: #2563eb;
  background: #dbeafe;
  border-color: transparent;
}

.compact-list .rank-row {
  grid-template-columns: 98px 1fr;
}

.compact-list .rank-number {
  display: none;
}

.compact-list .rank-thumb {
  width: 98px;
}

.compact-list .rank-info p {
  display: none;
}

.compact-list .rank-info div {
  margin-top: 8px;
}

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

.site-footer {
  position: relative;
  color: #e2e8f0;
  padding: 78px 0 28px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
}

.footer-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 44px;
}

.footer-wave path {
  fill: #1e293b;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 22px;
}

.footer-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
  color: #94a3b8;
  line-height: 1.75;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #67e8f9;
  font-size: 18px;
}

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

.site-footer a {
  color: #94a3b8;
}

.site-footer a:hover {
  color: #67e8f9;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 12px;
  }

  .desktop-nav .nav-link:nth-last-child(-n + 2) {
    display: none;
  }

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

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

  .side-card {
    position: static;
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

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

  .hero {
    height: 560px;
  }

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

  .movie-grid.four,
  .movie-grid.three,
  .category-grid,
  .category-overview-grid,
  .rank-list.two-col,
  .editor-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: auto 110px 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-title {
    font-size: 20px;
  }

  .hero {
    height: 520px;
  }

  .hero h1 {
    font-size: 36px;
  }

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

  .section {
    padding: 52px 0;
  }

  .rank-row {
    grid-template-columns: 92px 1fr;
  }

  .rank-number {
    display: none;
  }

  .rank-thumb {
    width: 92px;
  }

  .rank-info p {
    display: none;
  }

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

  .big-search button {
    padding: 13px 22px;
  }

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

  .detail-card,
  .side-card {
    padding: 20px;
  }
}
