:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --accent-50: #ecfdf5;
  --accent-500: #10b981;
  --accent-600: #059669;
  --secondary-900: #0f172a;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-900);
  background: var(--gray-50);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  border-radius: 12px;
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

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

.brand-subtitle {
  margin-top: 2px;
  color: var(--gray-500);
  font-size: 12px;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--gray-700);
  font-weight: 600;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-700);
  background: var(--primary-50);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  min-width: 190px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
}

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

.dropdown-panel a {
  padding: 10px 12px;
  color: var(--gray-700);
  font-size: 14px;
  border-radius: 10px;
}

.dropdown-panel a:hover {
  color: var(--primary-700);
  background: var(--primary-50);
}

.header-search,
.mobile-search,
.page-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.page-search-form input,
.filter-panel input {
  width: 230px;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  background: var(--white);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.page-search-form input:focus,
.filter-panel input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.header-search button,
.mobile-search button,
.page-search-form button {
  border: 0;
  padding: 10px 14px;
  color: var(--white);
  font-weight: 700;
  background: var(--primary-600);
  border-radius: 12px;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: var(--gray-100);
  border-radius: 12px;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--gray-900);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 18px;
  border-top: 1px solid var(--gray-200);
}

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

.mobile-nav nav,
.mobile-category-list {
  display: grid;
  gap: 6px;
}

.mobile-category-list {
  margin: 8px 0;
  padding-left: 16px;
}

.mobile-category-list a {
  padding: 8px 12px;
  color: var(--gray-700);
  border-radius: 10px;
}

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  color: var(--white);
  background: var(--gray-900);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

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

.hero-slide.active {
  opacity: 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.88), rgba(2, 6, 23, 0.54), rgba(2, 6, 23, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  max-width: 1180px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 14px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  background: rgba(2, 132, 199, 0.9);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.24);
}

.hero-content h1,
.hero-content h2 {
  max-width: 760px;
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

.hero-meta,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

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

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

.primary-button {
  color: var(--white);
  background: var(--primary-600);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.28);
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--primary-700);
  box-shadow: 0 16px 38px rgba(2, 132, 199, 0.34);
}

.ghost-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--white);
  font-size: 34px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

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

.white-section {
  width: 100%;
  max-width: none;
  padding: 56px max(16px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.category-section {
  width: 100%;
  max-width: none;
  padding: 56px max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--gray-600);
}

.section-more {
  color: var(--primary-700);
  background: var(--primary-50);
}

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

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

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

.movie-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(14, 165, 233, 0.32);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.movie-card-link {
  display: block;
  height: 100%;
}

.movie-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-200);
}

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

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

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

.movie-year {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.84);
  border-radius: 8px;
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--white);
  font-size: 22px;
  background: rgba(2, 132, 199, 0.84);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: all 0.25s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

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

.movie-card h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--primary-600);
}

.movie-card p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--gray-600);
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.tag-row span {
  padding: 5px 8px;
  color: var(--primary-700);
  font-size: 12px;
  font-weight: 700;
  background: var(--primary-50);
  border-radius: 999px;
}

.movie-meta {
  justify-content: space-between;
  color: var(--gray-500);
  font-size: 13px;
}

.scroll-row {
  display: grid;
  grid-auto-columns: minmax(280px, 340px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

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

.movie-card-horizontal .movie-card-link {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.movie-card-horizontal .movie-poster {
  height: 100%;
  min-height: 154px;
}

.movie-card-horizontal .movie-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.category-tile,
.category-overview-card {
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px;
}

.category-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.category-tile h3,
.category-tile p {
  margin-left: 18px;
  margin-right: 18px;
}

.category-tile h3 {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 900;
}

.category-tile p {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--gray-600);
  line-height: 1.6;
}

.page-hero {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
}

.page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.page-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

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

.breadcrumb a::after {
  content: "›";
  margin-left: 8px;
  opacity: 0.75;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px 1fr;
}

.category-cover img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.category-overview-body {
  padding: 22px;
}

.category-overview-body h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
}

.category-overview-body p {
  color: var(--gray-600);
  line-height: 1.6;
}

.category-sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.category-sample-links a {
  padding: 6px 10px;
  color: var(--primary-700);
  background: var(--primary-50);
  border-radius: 999px;
  font-size: 13px;
}

.filter-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.filter-panel label {
  font-weight: 800;
}

.filter-panel input {
  width: min(520px, 100%);
}

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

.rank-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.rank-link {
  display: grid;
  grid-template-columns: 70px 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
}

.rank-number {
  color: var(--primary-600);
  font-size: 28px;
  font-weight: 900;
  text-align: center;
}

.rank-link img {
  width: 150px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}

.rank-info {
  display: grid;
  gap: 6px;
}

.rank-info strong {
  font-size: 20px;
}

.rank-info em {
  color: var(--gray-500);
  font-style: normal;
}

.rank-info span {
  color: var(--gray-600);
  line-height: 1.6;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--gray-900);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) saturate(1.1);
  transform: scale(1.04);
  opacity: 0.36;
}

.detail-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72));
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 54px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 24px;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

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

.detail-info h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.8;
}

.detail-tags span {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.detail-info .primary-button {
  margin-top: 20px;
}

.player-section {
  padding-bottom: 28px;
}

.stream-player {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(2, 132, 199, 0.36), rgba(0, 0, 0, 0.32));
}

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

.player-play-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: var(--white);
  font-size: 36px;
  background: rgba(2, 132, 199, 0.9);
  border-radius: 999px;
  box-shadow: 0 20px 60px rgba(2, 132, 199, 0.34);
}

.text-panel {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.text-panel h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 900;
}

.text-panel h2:not(:first-child) {
  margin-top: 28px;
}

.text-panel p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.9;
}

.site-footer {
  color: #cbd5e1;
  background: var(--secondary-900);
}

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

.footer-logo {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
}

.footer-brand p {
  max-width: 560px;
  margin: 0;
  line-height: 1.8;
}

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

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 18px;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.is-filtered-out {
  display: none !important;
}

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

  .mobile-menu-button {
    display: block;
  }

  .header-search {
    display: none;
  }

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

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

@media (max-width: 820px) {
  .hero-carousel {
    height: 64vh;
    min-height: 500px;
  }

  .hero-arrow {
    display: none;
  }

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

  .movie-card-horizontal .movie-card-link,
  .category-overview-card,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 280px;
  }

  .rank-link {
    grid-template-columns: 48px 110px 1fr;
    gap: 12px;
  }

  .rank-link img {
    width: 110px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    gap: 12px;
  }

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

  .brand-subtitle {
    display: none;
  }

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

  .content-section,
  .white-section,
  .category-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

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

  .large-grid,
  .compact-grid,
  .archive-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .page-search-form,
  .mobile-search {
    align-items: stretch;
    flex-direction: column;
  }

  .page-search-form input,
  .mobile-search input {
    width: 100%;
  }

  .rank-link {
    grid-template-columns: 42px 1fr;
  }

  .rank-link img {
    display: none;
  }
}
