:root {
  --red: #dc2626;
  --red-dark: #991b1b;
  --orange: #f97316;
  --amber: #facc15;
  --gray-950: #0f172a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.16);
  --soft-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 45%, #fff7ed 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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(17, 24, 39, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.35);
}

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

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

.nav-link,
.mobile-link {
  color: rgba(255, 255, 255, 0.78);
  padding: 9px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

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

.top-search {
  width: 240px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.top-search span {
  font-size: 0.82rem;
}

.top-search input {
  width: 100%;
  color: var(--white);
  background: transparent;
  border: 0;
  outline: 0;
}

.top-search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 0 18px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-nav.open {
  display: grid;
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: radial-gradient(circle at 18% 20%, rgba(250, 204, 21, 0.24), transparent 30%), linear-gradient(135deg, var(--red) 0%, var(--orange) 45%, var(--red-dark) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-track {
  position: relative;
  max-width: 1240px;
  min-height: 560px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.62fr);
  gap: 38px;
  align-items: center;
  padding: 74px 18px;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.2)), var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.2);
}

.hero-copy {
  max-width: 760px;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.eyebrow.dark {
  color: var(--red-dark);
  background: rgba(254, 226, 226, 0.9);
  border-color: rgba(248, 113, 113, 0.25);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero p,
.page-hero p {
  max-width: 720px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2.2vw, 1.24rem);
}

.hero-tags,
.info-pills,
.detail-meta-card {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.info-pills span,
.detail-meta-card span {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

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

.primary-button {
  color: var(--red);
  background: var(--white);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

.primary-button:hover,
.ghost-button:hover,
.row-action:hover {
  transform: translateY(-2px);
}

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

.hero-poster {
  position: relative;
  max-width: 360px;
  justify-self: end;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  color: var(--white);
  font-weight: 800;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.active {
  width: 32px;
  background: var(--white);
}

.quick-search-section,
.content-section,
.detail-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 18px;
}

.quick-search-inner {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 460px);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.quick-search-inner h2,
.section-heading h2,
.ranking-copy h2,
.detail-content h1,
.detail-content h2,
.category-overview-card h2,
.ranking-info h2 {
  margin: 0;
  line-height: 1.2;
}

.quick-search-inner p,
.section-heading p,
.ranking-copy p,
.card-body p,
.category-overview-card p,
.ranking-info p {
  color: var(--gray-600);
}

.search-box-large input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  outline: 0;
  background: var(--white);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-box-large input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

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

.section-heading h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.section-link {
  color: var(--red);
  font-weight: 800;
  white-space: nowrap;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fee2e2, #ffedd5);
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.36s ease, filter 0.36s ease;
}

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

.card-badge,
.rank-badge,
.play-mini {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.card-badge {
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  background: rgba(17, 24, 39, 0.68);
}

.rank-badge {
  top: 10px;
  right: 10px;
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.play-mini {
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(220, 38, 38, 0.9);
}

.card-body {
  padding: 13px;
}

.card-body h3 {
  margin: 0 0 7px;
  font-size: 1rem;
  line-height: 1.3;
}

.card-body p {
  min-height: 44px;
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.card-meta {
  margin-bottom: 9px;
  color: var(--gray-500);
  font-size: 0.82rem;
}

.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span,
.detail-tags a {
  padding: 4px 8px;
  color: var(--red-dark);
  background: #fee2e2;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.warm-section {
  max-width: none;
  padding-left: max(18px, calc((100vw - 1240px) / 2 + 18px));
  padding-right: max(18px, calc((100vw - 1240px) / 2 + 18px));
  background: linear-gradient(135deg, #fff7ed, #fee2e2);
}

.dark-section {
  max-width: none;
  padding-left: max(18px, calc((100vw - 1240px) / 2 + 18px));
  padding-right: max(18px, calc((100vw - 1240px) / 2 + 18px));
  color: var(--white);
  background: linear-gradient(135deg, var(--gray-950), var(--gray-800));
}

.dark-section .section-heading p,
.dark-section .card-body p,
.dark-section .card-meta {
  color: rgba(255, 255, 255, 0.66);
}

.dark-section .movie-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.category-card {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: 20px;
  color: var(--white);
  box-shadow: var(--soft-shadow);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.1));
}

.category-card span {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.category-card strong,
.category-card small {
  display: block;
}

.category-card strong {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.category-card small {
  color: rgba(255, 255, 255, 0.78);
}

.ranking-home {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 1fr);
  gap: 30px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 58px 18px;
}

.ranking-copy {
  padding: 36px;
  color: var(--white);
  border-radius: 24px;
  background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.35), transparent 36%), linear-gradient(135deg, var(--gray-950), var(--gray-800));
  box-shadow: var(--shadow);
}

.ranking-copy .primary-button {
  margin-top: 12px;
}

.ranking-list {
  display: grid;
  gap: 10px;
}

.mini-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
  transform: translateX(5px);
  box-shadow: var(--soft-shadow);
}

.mini-card img {
  width: 58px;
  height: 74px;
  object-fit: cover;
  border-radius: 10px;
}

.mini-card strong,
.mini-card small {
  display: block;
}

.mini-card small {
  color: var(--gray-500);
}

.mini-rank {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-right: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 999px;
  font-weight: 900;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 18px;
  color: var(--white);
  background: radial-gradient(circle at 20% 15%, rgba(250, 204, 21, 0.2), transparent 30%), linear-gradient(135deg, var(--red), var(--orange) 52%, var(--red-dark));
}

.page-hero > * {
  position: relative;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.compact-hero {
  padding-top: 64px;
  padding-bottom: 64px;
}

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

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

.filter-panel {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: var(--gray-600);
  font-weight: 700;
  font-size: 0.86rem;
}

.empty-state {
  display: none;
  padding: 34px;
  text-align: center;
  color: var(--gray-500);
  background: var(--white);
  border-radius: 18px;
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 16px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.category-cover-stack img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.detail-layout {
  padding-top: 34px;
}

.detail-layout .breadcrumb {
  color: var(--gray-500);
  margin-bottom: 18px;
}

.detail-layout .breadcrumb a:hover {
  color: var(--red);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
  align-items: start;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--gray-950);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  gap: 10px;
  color: var(--white);
  border: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.72));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 16px 36px rgba(220, 38, 38, 0.42);
  font-size: 2rem;
}

.detail-side {
  display: grid;
  gap: 14px;
}

.detail-side img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.detail-meta-card {
  padding: 15px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gray-950), var(--gray-800));
}

.detail-content {
  max-width: 880px;
  margin-top: 34px;
}

.detail-content .eyebrow {
  color: var(--red-dark);
  background: #fee2e2;
  border: 0;
}

.detail-content h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.lead-text {
  color: var(--gray-700);
  font-size: 1.16rem;
}

.info-pills {
  margin: 22px 0;
}

.info-pills span {
  color: var(--gray-700);
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.detail-content h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.detail-content p {
  color: var(--gray-700);
}

.related-section {
  padding-top: 12px;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 96px 52px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.ranking-poster img {
  width: 96px;
  height: 128px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-index {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
}

.row-action {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--gray-950);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
}

.footer-brand p {
  max-width: 420px;
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-links h2 {
  margin-top: 0;
  color: var(--white);
  font-size: 1.1rem;
}

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

.footer-grid a:hover {
  color: var(--orange);
}

.footer-bottom {
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
  .movie-grid,
  .large-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .header-inner {
    justify-content: space-between;
  }

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

  .hero,
  .hero-track {
    min-height: 720px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 54px;
    padding-bottom: 80px;
  }

  .hero-poster {
    max-width: 260px;
    justify-self: start;
  }

  .quick-search-inner,
  .ranking-home,
  .detail-hero,
  .footer-inner,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

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

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

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

  .ranking-row {
    grid-template-columns: 74px 42px 1fr;
  }

  .ranking-poster img {
    width: 74px;
    height: 98px;
  }

  .row-action {
    grid-column: 3;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .brand-text {
    font-size: 1rem;
  }

  .hero,
  .hero-track {
    min-height: 760px;
  }

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

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

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

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

  .quick-search-section,
  .content-section,
  .detail-layout {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .card-body {
    padding: 11px;
  }

  .card-body p {
    min-height: 0;
  }

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