* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f8fafc;
  color: #111827;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  font-size: 0.8rem;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  color: #e5e7eb;
  font-weight: 600;
  margin-left: auto;
}

.main-nav a,
.nav-drop > a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.nav-drop:hover > a {
  color: #ffffff;
}

.nav-drop {
  position: relative;
  padding: 0.5rem 0;
}

.drop-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  width: 12rem;
  padding: 0.5rem;
  background: #ffffff;
  color: #334155;
  border-radius: 0.8rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: all 0.2s ease;
}

.nav-drop:hover .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drop-menu a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 0.55rem;
  font-size: 0.92rem;
}

.drop-menu a:hover {
  background: #eff6ff;
  color: #2563eb;
}

.top-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 18rem;
}

.top-search input,
.mobile-panel input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 0;
  outline: none;
  border-radius: 999px;
}

.top-search input {
  padding: 0.65rem 4.5rem 0.65rem 1.1rem;
  background: #1e293b;
  color: #ffffff;
}

.top-search button {
  position: absolute;
  right: 0.25rem;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: #2563eb;
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 1rem;
  color: #ffffff;
}

.mobile-panel.open {
  display: grid;
  gap: 0.8rem;
}

.mobile-panel a {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.mobile-panel form {
  display: flex;
  gap: 0.6rem;
}

.mobile-panel input {
  padding: 0.75rem 1rem;
  background: #1e293b;
  color: #ffffff;
}

.mobile-panel button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  background: #2563eb;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e3a8a 52%, #155e75);
}

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  transform: scale(1.02);
}

.hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.28), transparent 34%), linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.42));
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 46rem;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 1.1rem 0 1.2rem;
  color: #ffffff;
  font-size: clamp(2.8rem, 6vw, 4.7rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0 0 1.6rem;
  color: #d1d5db;
  font-size: 1.18rem;
  line-height: 1.8;
}

.hero-feature {
  display: grid;
  gap: 0.35rem;
  width: min(100%, 42rem);
  margin-bottom: 1.8rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.hero-feature strong {
  font-size: 1.2rem;
}

.hero-feature span {
  color: #dbeafe;
  line-height: 1.7;
}

.hero-actions,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  transition: all 0.22s ease;
}

.primary-btn {
  background: #2563eb;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.36);
}

.primary-btn:hover {
  transform: scale(1.05);
  background: #1d4ed8;
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8rem;
  z-index: 3;
  background: linear-gradient(0deg, #f8fafc, transparent);
}

.section-wrap,
.detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.no-top {
  padding-top: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head h2,
.center-head h2,
.story-card h2,
.related-panel h2 {
  margin: 0.4rem 0 0;
  color: #111827;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  font-weight: 900;
}

.section-more {
  color: #2563eb;
  font-weight: 800;
}

.section-kicker.green {
  background: #ecfdf5;
  color: #047857;
}

.section-kicker.orange {
  background: #fff7ed;
  color: #ea580c;
}

.section-kicker.purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}

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

.poster img,
.feature-poster img,
.rank-poster img,
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover img,
.feature-card:hover img,
.rank-card:hover img,
.related-card:hover img {
  transform: scale(1.1);
}

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

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

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.9);
  color: #ffffff;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: all 0.25s ease;
}

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

.play-badge.large {
  width: 4rem;
  height: 4rem;
  font-size: 1.2rem;
}

.type-badge {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 0.45rem;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.card-body {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.card-title,
.feature-title,
.rank-title {
  color: #111827;
  font-weight: 850;
  line-height: 1.35;
}

.card-title {
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card:hover .card-title,
.feature-card:hover .feature-title {
  color: #2563eb;
}

.card-text,
.feature-text,
.rank-line {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-text {
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: #64748b;
  font-size: 0.86rem;
}

.rail {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.2rem 0.2rem 1.4rem;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail-item {
  flex: 0 0 20rem;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.rank-card {
  position: relative;
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  min-height: 8.3rem;
  padding: 1rem;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(135deg, #fff7ed, #fff1f2);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  transition: all 0.25s ease;
}

.rank-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
}

.rank-num {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.35);
}

.rank-poster {
  overflow: hidden;
  border-radius: 0.8rem;
  background: #e5e7eb;
}

.rank-copy {
  display: grid;
  align-content: center;
  gap: 0.35rem;
}

.rank-meta {
  color: #ea580c;
  font-size: 0.88rem;
  font-weight: 700;
}

.rank-line {
  -webkit-line-clamp: 2;
}

.feature-section {
  background: linear-gradient(180deg, #eff6ff, #ecfeff);
}

.center-head {
  max-width: 45rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.center-head p {
  margin: 1rem auto 0;
  color: #64748b;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  display: grid;
  grid-template-columns: 45% 1fr;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  transition: all 0.28s ease;
}

.feature-card:hover {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.feature-poster {
  position: relative;
  min-height: 15rem;
  overflow: hidden;
  background: #e5e7eb;
}

.feature-copy {
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: 1.35rem;
}

.pill {
  justify-self: start;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-title {
  font-size: 1.25rem;
}

.feature-text {
  -webkit-line-clamp: 3;
}

.feature-meta {
  padding-top: 0.8rem;
  border-top: 1px solid #e5e7eb;
  color: #64748b;
  font-size: 0.9rem;
}

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

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

.category-card {
  position: relative;
  min-height: 11.5rem;
  overflow: hidden;
  border-radius: 1.25rem;
  padding: 1.3rem;
  background: linear-gradient(135deg, #0f172a, #1e40af 58%, #0891b2);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
  transition: all 0.25s ease;
}

.category-card:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.24);
}

.category-glow {
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.25);
}

.category-card strong,
.category-card span,
.category-card em {
  position: relative;
  z-index: 1;
  display: block;
}

.category-card strong {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.category-card span {
  color: #dbeafe;
  line-height: 1.7;
}

.category-card em {
  margin-top: 0.9rem;
  color: #a5f3fc;
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.6;
}

.bottom-cta,
.page-hero {
  background: linear-gradient(135deg, #0f172a, #1e3a8a 56%, #0e7490);
  color: #ffffff;
  text-align: center;
}

.bottom-cta {
  padding: 4.5rem 1rem;
}

.bottom-cta h2,
.page-hero h1 {
  margin: 1rem 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.1;
}

.bottom-cta p,
.page-hero p {
  max-width: 46rem;
  margin: 0 auto 2rem;
  color: #d1d5db;
  line-height: 1.8;
}

.page-hero {
  padding: 5rem 1rem;
}

.page-hero > div {
  max-width: 880px;
  margin: 0 auto;
}

.filter-panel {
  margin-bottom: 2rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 1rem;
  border-radius: 1.2rem;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.filter-panel label {
  display: grid;
  gap: 0.45rem;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  min-height: 2.8rem;
  padding: 0 1rem;
  background: #f1f5f9;
  color: #0f172a;
}

.catalog-grid {
  align-items: stretch;
}

.search-page-form {
  width: min(100%, 42rem);
  margin: 1.5rem auto 0;
  display: flex;
  gap: 0.75rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.search-page-form input {
  min-height: 3.1rem;
  padding: 0 1.2rem;
  background: #ffffff;
  color: #0f172a;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.detail-wrap {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #bfdbfe;
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: #ffffff;
}

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

.player-card {
  padding: 0.8rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  background: #000000;
  cursor: pointer;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.54));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
  width: 5rem;
  height: 5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 1.6rem;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.42);
}

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

.detail-copy {
  color: #ffffff;
}

.detail-copy h1 {
  margin: 1rem 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.12;
}

.detail-line {
  color: #dbeafe;
  font-size: 1.08rem;
  line-height: 1.85;
}

.detail-meta span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  font-weight: 800;
  font-size: 0.86rem;
}

.detail-meta span {
  background: rgba(255, 255, 255, 0.11);
  color: #e0f2fe;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.tag-list span {
  background: #ffffff;
  color: #334155;
}

.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24rem;
  gap: 2rem;
}

.story-card,
.related-panel {
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.story-card {
  padding: 2rem;
}

.story-card h2 {
  margin-top: 0;
  font-size: 1.65rem;
}

.story-card h2 + p {
  margin-top: 1rem;
}

.story-card p {
  color: #475569;
  line-height: 1.95;
  font-size: 1.02rem;
}

.related-panel {
  align-self: start;
  position: sticky;
  top: 6rem;
  padding: 1.2rem;
}

.related-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
}

.related-list {
  display: grid;
  gap: 0.85rem;
}

.related-card {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 0.9rem;
  transition: background 0.2s ease;
}

.related-card:hover {
  background: #f8fafc;
}

.related-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.7rem;
  background: #e5e7eb;
}

.related-card strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111827;
  line-height: 1.45;
}

.related-card small {
  display: block;
  margin-top: 0.3rem;
  color: #64748b;
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.site-footer p {
  max-width: 28rem;
  color: #94a3b8;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding: 1rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .card-grid,
  .rank-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid,
  .detail-grid,
  .detail-body,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .related-panel {
    position: static;
  }

  .top-search {
    width: 15rem;
  }
}

@media (max-width: 820px) {
  .main-nav,
  .top-search {
    display: none;
  }

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

  .hero {
    height: auto;
    min-height: 620px;
  }

  .hero-inner {
    padding-top: 5rem;
    padding-bottom: 7rem;
  }

  .card-grid,
  .rank-grid,
  .category-grid,
  .category-grid.large,
  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .rank-card {
    grid-template-columns: 7rem 1fr;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    gap: 1rem;
  }

  .brand {
    font-size: 1.1rem;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-actions,
  .section-head,
  .search-page-form {
    align-items: stretch;
    flex-direction: column;
  }

  .card-grid,
  .rank-grid,
  .category-grid,
  .category-grid.large,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .rail-item {
    flex-basis: 17.5rem;
  }

  .rank-card,
  .related-card {
    grid-template-columns: 6rem 1fr;
  }

  .section-wrap,
  .detail-wrap {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}
