/* Base palette derived from the uploaded earth, stone, moss and canyon visual system. */
:root {
  --earth-50: #faf8f5;
  --earth-100: #f2ede4;
  --earth-200: #e8dcc8;
  --earth-300: #dbc5a3;
  --earth-500: #b88d55;
  --earth-600: #a47549;
  --earth-700: #8a5f3e;
  --earth-900: #5a4029;
  --moss-50: #f6f7f4;
  --moss-600: #61704a;
  --moss-900: #363e2d;
  --canyon-50: #fdf6f3;
  --canyon-100: #fae8df;
  --canyon-600: #c44e2c;
  --canyon-700: #a33f25;
  --canyon-900: #6e3021;
  --stone-50: #faf9f7;
  --stone-100: #f5f3f0;
  --stone-200: #e5e1da;
  --stone-300: #d1cac0;
  --stone-500: #9c8d7b;
  --stone-600: #87786a;
  --stone-700: #6f6259;
  --stone-800: #5c534c;
  --stone-900: #4c4740;
  --white: #ffffff;
  --black: #0f1115;
  --shadow-soft: 0 18px 45px rgba(76, 71, 64, 0.14);
  --shadow-card: 0 10px 28px rgba(76, 71, 64, 0.10);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--stone-900);
  background: var(--stone-50);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 247, 0.94);
  border-bottom: 1px solid rgba(229, 225, 218, 0.9);
  backdrop-filter: blur(18px);
}

.nav-container {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--earth-600), var(--canyon-600));
  box-shadow: 0 12px 24px rgba(164, 117, 73, 0.26);
}

.brand-text {
  font-size: 1.12rem;
  color: var(--stone-900);
}

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  color: var(--stone-700);
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link {
  padding: 9px 15px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--earth-700);
  background: var(--earth-100);
}

.nav-search {
  padding: 9px 18px;
  color: var(--white);
  background: var(--earth-600);
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-search:hover {
  transform: translateY(-1px);
  background: var(--earth-700);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--stone-100);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--stone-800);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 10px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

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

.mobile-link {
  padding: 11px 14px;
}

.hero {
  position: relative;
  min-height: 560px;
  height: 72vh;
  overflow: hidden;
  background: linear-gradient(135deg, var(--earth-900), var(--stone-800) 50%, var(--canyon-900));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 25%, rgba(219, 197, 163, 0.24), transparent 30%), linear-gradient(0deg, rgba(76, 71, 64, 0.88), transparent 58%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.75s ease, transform 1.1s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
  height: 100%;
  opacity: 0.44;
  object-fit: cover;
  mask-image: linear-gradient(90deg, transparent 0%, black 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 560px;
  height: 72vh;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(720px, 100%);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  margin-bottom: 20px;
  color: var(--earth-200);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 0.92rem;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero h1 span {
  display: block;
  color: var(--earth-300);
}

.hero p {
  max-width: 680px;
  margin: 0 0 28px;
  color: var(--stone-100);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.hero-tags,
.tag-list,
.meta-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-list span,
.meta-row span,
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.hero-tags span {
  color: var(--stone-100);
  background: rgba(255, 255, 255, 0.11);
}

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

.btn,
.btn-ghost,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn {
  color: var(--white);
  background: var(--earth-600);
  box-shadow: 0 16px 30px rgba(164, 117, 73, 0.28);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--earth-700);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
}

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

.btn-light {
  color: var(--earth-700);
  background: var(--white);
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 30px;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 42px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-dot.active {
  background: var(--earth-300);
}

.section {
  padding: 72px 0;
}

.section.white {
  background: var(--white);
}

.section.cream {
  background: var(--stone-50);
}

.section.dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--moss-900), var(--earth-900));
}

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

.section-kicker {
  color: var(--earth-600);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-head p,
.page-title p,
.footer-text {
  color: var(--stone-600);
}

.section.dark .section-head p,
.section.dark .footer-text {
  color: var(--stone-200);
}

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

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

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

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

.movie-card,
.category-card,
.info-panel,
.player-shell,
.rank-panel,
.search-panel {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.movie-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.card-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--earth-100), var(--stone-200));
}

.card-poster img,
.category-card img,
.detail-bg,
.detail-poster img,
.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.card-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(0, 0, 0, 0.38);
  transition: opacity 0.25s ease;
}

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

.year-badge,
.rank-badge,
.play-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.year-badge {
  top: 10px;
  right: 10px;
  padding: 4px 9px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.68);
  font-size: 0.78rem;
}

.rank-badge {
  top: 10px;
  left: 10px;
  min-width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--canyon-600);
  font-weight: 900;
}

.play-badge {
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  opacity: 0;
  color: var(--earth-700);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0 0 8px;
  color: var(--stone-900);
  font-size: 1.05rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body p {
  min-height: 45px;
  margin: 0 0 14px;
  color: var(--stone-600);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--stone-500);
  font-size: 0.8rem;
}

.card-meta span:last-child {
  padding: 3px 8px;
  color: var(--stone-700);
  background: var(--stone-100);
  border-radius: 7px;
}

.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}

.category-link {
  display: block;
  height: 100%;
  min-height: 230px;
}

.category-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12));
}

.category-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  color: var(--white);
}

.category-copy span {
  color: var(--earth-300);
  font-weight: 800;
  font-size: 0.82rem;
}

.category-copy h3 {
  margin: 6px 0 8px;
  font-size: 1.65rem;
}

.category-copy p {
  margin: 0;
  color: var(--stone-200);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 26px;
}

.rank-feature {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.rank-feature img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.rank-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.15));
}

.rank-feature-copy {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: var(--white);
}

.rank-feature-copy h3 {
  margin: 10px 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
}

.rank-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--canyon-700);
  background: var(--canyon-100);
  border-radius: 12px;
  font-weight: 900;
}

.rank-row h3 {
  margin: 0 0 2px;
  font-size: 1rem;
  line-height: 1.35;
}

.rank-row p {
  margin: 0;
  color: var(--stone-500);
  font-size: 0.85rem;
}

.page-hero {
  padding: 70px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--earth-900), var(--moss-900));
}

.page-title {
  width: min(760px, 100%);
}

.page-title h1 {
  margin-bottom: 14px;
}

.page-title p {
  color: var(--stone-200);
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--stone-600);
  font-size: 0.92rem;
}

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

.filter-bar,
.search-panel {
  padding: 18px;
  margin-bottom: 28px;
  border: 1px solid var(--stone-200);
}

.filter-input,
.search-input,
.search-select {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--stone-300);
  border-radius: 13px;
  color: var(--stone-900);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-input:focus,
.search-input:focus,
.search-select:focus {
  border-color: var(--earth-500);
  box-shadow: 0 0 0 4px rgba(184, 141, 85, 0.14);
}

.search-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 14px;
}

.filter-chip {
  color: var(--earth-700);
  background: var(--earth-100);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.filter-chip:hover {
  transform: translateY(-2px);
  background: var(--earth-200);
}

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

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  filter: blur(2px);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(76, 71, 64, 0.96), rgba(76, 71, 64, 0.70), rgba(76, 71, 64, 0.86));
}

.detail-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 70px 0;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-xl);
  background: var(--stone-800);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.detail-copy .one-line {
  margin: 0 0 24px;
  color: var(--stone-100);
  font-size: 1.14rem;
}

.meta-row span,
.tag-list span {
  color: var(--stone-100);
  background: rgba(255, 255, 255, 0.12);
}

.tag-list {
  margin: 22px 0 30px;
}

.player-section {
  padding: 70px 0 36px;
  background: var(--stone-50);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stone-200);
  background: #000;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.64));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-start {
  width: min(260px, 80%);
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  color: var(--earth-900);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 14px;
  color: var(--stone-200);
  font-size: 0.9rem;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 28px;
  padding: 36px 0 72px;
}

.info-panel {
  padding: 26px;
  border: 1px solid var(--stone-200);
}

.info-panel + .info-panel {
  margin-top: 22px;
}

.info-panel h2,
.info-panel h3 {
  margin: 0 0 14px;
  color: var(--stone-900);
}

.info-panel p {
  margin: 0;
  color: var(--stone-700);
}

.side-list {
  display: grid;
  gap: 12px;
}

.side-link {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--stone-50);
}

.side-link img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
}

.side-link h4 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.side-link span {
  color: var(--stone-500);
  font-size: 0.8rem;
}

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

.mosaic-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--stone-800);
}

.mosaic-card:first-child {
  grid-column: span 2;
  min-height: 220px;
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
}

.mosaic-card h3 {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
  margin: 0;
  color: var(--white);
  font-size: 1rem;
}

.empty-state {
  display: none;
  padding: 40px;
  text-align: center;
  color: var(--stone-600);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.empty-state.show {
  display: block;
}

.site-footer {
  color: var(--stone-300);
  background: var(--stone-900);
  padding: 54px 0 26px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 32px;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-text {
  max-width: 520px;
  margin: 0;
  color: var(--stone-300);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.footer-links a:hover {
  color: var(--earth-300);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom button {
  border: 0;
  color: var(--stone-300);
  background: transparent;
}

.footer-bottom button:hover {
  color: var(--earth-300);
}

@media (max-width: 1024px) {
  .grid.cards,
  .grid.categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rank-layout,
  .detail-content {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .nav-container {
    height: 64px;
    gap: 12px;
  }

  .desktop-nav,
  .nav-search {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .brand-text {
    font-size: 1rem;
  }

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

  .hero-image {
    width: 100%;
    opacity: 0.24;
    mask-image: none;
  }

  .hero-copy {
    padding: 72px 0 88px;
  }

  .hero-controls {
    bottom: 22px;
  }

  .section {
    padding: 52px 0;
  }

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

  .grid.cards,
  .grid.featured,
  .grid.categories {
    grid-template-columns: 1fr;
  }

  .rank-feature,
  .rank-feature img {
    min-height: 320px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    padding: 44px 0;
  }

  .detail-poster {
    width: min(260px, 76vw);
  }

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

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