:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #6b7280;
  --line: rgba(17, 24, 39, 0.10);
  --brand: #d97706;
  --brand-2: #f97316;
  --brand-soft: rgba(245, 158, 11, 0.14);
  --dark: #0d0d0f;
  --dark-2: #171717;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.14);
  --radius: 22px;
}

* {
  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;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.38);
}

.logo-text {
  font-size: 20px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  white-space: nowrap;
}

.desktop-nav a,
.mobile-menu a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-menu a:hover {
  color: #fbbf24;
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 auto;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 11px 16px;
  background: transparent;
  color: #fff;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

.header-search button {
  border: 0;
  padding: 11px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.mobile-menu {
  display: none;
  padding: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
}

.mobile-menu-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 8px;
}

.mobile-menu-panel a {
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-carousel {
  position: relative;
  min-height: 640px;
  color: #fff;
  overflow: hidden;
  background: #0c0c0e;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: saturate(1.08);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 48%, rgba(245, 158, 11, 0.25), transparent 34%),
    linear-gradient(90deg, rgba(6, 6, 8, 0.94) 0%, rgba(6, 6, 8, 0.78) 44%, rgba(6, 6, 8, 0.30) 100%),
    linear-gradient(0deg, rgba(6, 6, 8, 0.90) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 56px;
  padding: 76px 0 108px;
}

.hero-kicker,
.section-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #fbbf24;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero-title {
  margin: 14px 0 18px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.95;
  font-weight: 950;
  max-width: 820px;
  letter-spacing: -0.055em;
}

.hero-desc {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.pill.light {
  background: var(--brand-soft);
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.22);
}

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

.btn-primary,
.btn-ghost,
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.34);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
}

.btn-dark {
  color: #fff;
  background: #171717;
}

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

.hero-poster-card {
  position: relative;
  border-radius: 34px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.hero-poster-card img {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
  border-radius: 26px;
  background: linear-gradient(135deg, #2b2b2f, #111113);
}

.hero-card-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
}

.hero-card-caption strong {
  display: block;
  font-size: 18px;
}

.hero-card-caption span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 36px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.hero-dot.is-active {
  background: #f59e0b;
}

.hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-50%);
}

.hero-arrow.prev {
  left: 22px;
}

.hero-arrow.next {
  right: 22px;
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: #fff;
}

.section.dark {
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 32%),
    linear-gradient(135deg, #121214, #070707);
}

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

.section-title {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.section-desc {
  margin: 8px 0 0;
  max-width: 680px;
  color: var(--muted);
}

.section.dark .section-desc {
  color: rgba(255, 255, 255, 0.68);
}

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

.category-tile {
  position: relative;
  min-height: 128px;
  padding: 18px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(249, 115, 22, 0.82)),
    #111;
  box-shadow: var(--shadow);
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.category-tile strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.category-tile span {
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2a2d, #151517);
}

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

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

.poster-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.56);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.score-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  color: #111;
  background: #fbbf24;
  font-size: 12px;
  font-weight: 900;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(217, 119, 6, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

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

.card-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  color: #7c2d12;
  font-size: 12px;
  font-weight: 750;
}

.card-meta span {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
}

.feature-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.feature-panel {
  min-height: 380px;
  display: grid;
  align-items: end;
  padding: 32px;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  color: #fff;
  background: #111;
  box-shadow: var(--shadow);
}

.feature-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--feature-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.feature-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12));
}

.feature-panel-content {
  position: relative;
  z-index: 1;
}

.feature-panel h3 {
  margin: 12px 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.035em;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.mini-card img {
  width: 86px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: #151517;
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.35;
}

.mini-card span {
  color: var(--muted);
  font-size: 13px;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 52px 82px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.rank-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.rank-card img {
  width: 82px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: #151517;
}

.rank-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
}

.rank-card p {
  margin: 0 0 8px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.score-large {
  color: #d97706;
  font-size: 26px;
  font-weight: 950;
}

.page-hero {
  padding: 74px 0 50px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 158, 11, 0.30), transparent 30%),
    linear-gradient(135deg, #111, #070707);
}

.page-hero h1 {
  margin: 10px 0 10px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.045em;
}

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

.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: -30px auto 34px;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.filter-bar input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  outline: none;
}

.filter-bar input:focus {
  border-color: rgba(245, 158, 11, 0.75);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.empty-state {
  display: none;
  padding: 56px;
  text-align: center;
  color: var(--muted);
  border-radius: 28px;
  background: #fff;
}

.empty-state.is-visible {
  display: block;
}

.detail-hero {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(245, 158, 11, 0.20), transparent 32%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.90), rgba(0, 0, 0, 0.48)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent 50%);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  padding: 70px 0 48px;
}

.detail-poster {
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.10);
  padding: 10px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 22px;
  background: #151517;
}

.breadcrumb {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.86);
}

.detail-title {
  margin: 12px 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.052em;
}

.detail-one-line {
  max-width: 840px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.player-section {
  padding: 62px 0 36px;
  background: #0b0b0c;
}

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

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

.player-trigger {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.48));
}

.player-trigger span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: 34px;
  box-shadow: 0 20px 48px rgba(245, 158, 11, 0.36);
}

.player-trigger em {
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.player-shell.is-playing .player-trigger {
  display: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  padding: 56px 0 80px;
}

.detail-article,
.side-panel {
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.detail-article {
  padding: 32px;
}

.detail-article h2,
.side-panel h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.detail-article p {
  margin: 0 0 22px;
  color: #3f3f46;
  font-size: 16px;
}

.side-panel {
  padding: 18px;
  align-self: start;
  position: sticky;
  top: 98px;
}

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

.side-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  transition: background 0.2s ease;
}

.side-item:hover {
  background: #f8fafc;
}

.side-item img {
  width: 70px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: #151517;
}

.side-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.35;
}

.side-item span {
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  padding: 54px 0 34px;
  color: rgba(255, 255, 255, 0.72);
  background: #0b0b0d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 34px;
}

.footer-title {
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  margin-bottom: 12px;
}

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

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 13px;
}

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

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

  .site-header .header-search {
    max-width: none;
  }

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

  .hero-content,
  .feature-row,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster-card {
    display: none;
  }

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

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

  .detail-hero-inner {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .logo-text {
    font-size: 18px;
  }

  .site-header .header-search {
    display: none;
  }

  .mobile-menu .header-search {
    display: flex;
    margin: 12px 0 0;
    min-width: 0;
  }

  .hero-carousel {
    min-height: 560px;
  }

  .hero-content {
    padding: 56px 0 92px;
  }

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

  .hero-arrow {
    display: none;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    display: block;
  }

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

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

  .card-body {
    padding: 12px;
  }

  .rank-card {
    grid-template-columns: 38px 64px 1fr;
    gap: 12px;
  }

  .rank-card .score-large {
    grid-column: 2 / 4;
    justify-self: start;
    font-size: 20px;
  }

  .detail-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 46px;
  }

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

  .filter-bar {
    margin-top: -22px;
  }

  .detail-article {
    padding: 22px;
  }

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

@media (max-width: 430px) {
  .category-strip {
    grid-template-columns: 1fr;
  }

  .mobile-menu-panel {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-primary,
  .btn-ghost,
  .btn-dark {
    width: 100%;
  }
}
