:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --teal-500: #14b8a6;
  --green-100: #dcfce7;
  --green-700: #15803d;
  --orange-100: #ffedd5;
  --orange-700: #c2410c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 22px 60px rgba(15, 23, 42, 0.2);
  --radius: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--gray-50);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-900);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-logo {
  color: var(--white);
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-600);
}

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

.hero-section {
  position: relative;
  color: var(--white);
  background: radial-gradient(circle at 88% 18%, rgba(20, 184, 166, 0.55), transparent 28%), linear-gradient(135deg, #2563eb 0%, #1d4ed8 45%, #172554 100%);
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 34px 34px;
}

.hero-inner {
  position: relative;
  padding: 86px 0 72px;
}

.hero-slider {
  position: relative;
  min-height: 470px;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.hero-slide.active {
  display: grid;
  animation: fadeIn 0.45s ease both;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 660px;
  margin: 24px 0 0;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 21px);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: #bfdbfe;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  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(--blue-700);
  background: var(--white);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

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

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  color: #1d4ed8;
  background: #dbeafe;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.tag-row.large span {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.14);
}

.hero-poster {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.35);
}

.hero-poster img,
.category-art img,
.poster-img,
.compact-card img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-hidden {
  opacity: 0;
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  background: rgba(255, 255, 255, 0.38);
  border: 0;
  border-radius: 50%;
}

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

.hero-stats,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.hero-stats a,
.feature-grid div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.hero-stats strong,
.feature-grid strong {
  display: block;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}

.hero-stats span,
.feature-grid span {
  display: block;
  margin-top: 8px;
  color: #bfdbfe;
  font-size: 14px;
}

.feature-strip {
  color: var(--white);
  background: #0f172a;
}

.feature-grid {
  margin-top: 0;
  padding: 26px 0;
}

.feature-grid div {
  background: rgba(255, 255, 255, 0.06);
}

.section-block {
  padding: 72px 0;
}

.dark-block {
  color: var(--white);
  background: linear-gradient(135deg, #111827, #1f2937);
}

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

.section-head.compact {
  align-items: center;
}

.section-head h2,
.content-panel h2,
.side-panel h2,
.ranking-panel h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-head p,
.ranking-panel p {
  margin: 8px 0 0;
  color: var(--gray-600);
}

.section-head a,
.panel-link,
.detail-nav-links a {
  color: var(--blue-600);
  font-weight: 800;
}

.section-head.light h2,
.section-head.light p,
.section-head.light a,
.dark-block .category-card strong,
.dark-block .category-card em,
.dark-block .category-card small {
  color: var(--white);
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-100), #e0f2fe);
}

.poster-img {
  transition: transform 0.35s ease, opacity 0.2s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.year-pill,
.rank-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.68);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.rank-badge {
  right: auto;
  left: 12px;
  background: rgba(37, 99, 235, 0.88);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.card-body strong {
  color: var(--gray-900);
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.card-body em {
  display: -webkit-box;
  min-height: 44px;
  margin-top: 8px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
  font-style: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meta-line {
  display: block;
  margin-top: 14px;
  color: var(--gray-500);
  font-size: 13px;
}

.card-body .tag-row {
  margin-top: 14px;
}

.card-body .tag-row span {
  color: var(--green-700);
  background: var(--green-100);
}

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

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

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  overflow: hidden;
  color: var(--gray-900);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.category-card.large {
  background: var(--white);
  border-color: var(--gray-200);
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-art {
  display: block;
  height: 130px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(20, 184, 166, 0.2));
}

.category-card strong,
.category-card em,
.category-card small {
  display: block;
  padding: 0 20px;
}

.category-card strong {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 900;
}

.category-card em {
  flex: 1;
  margin-top: 8px;
  color: var(--gray-600);
  font-size: 14px;
  font-style: normal;
}

.category-card small {
  margin: 16px 0 20px;
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 800;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.ranking-panel,
.content-panel,
.side-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.ranking-panel {
  position: sticky;
  top: 92px;
  padding: 26px;
}

.ranking-panel ol {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ranking-panel li + li {
  border-top: 1px solid var(--gray-200);
}

.ranking-panel li a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
}

.ranking-panel li span {
  color: var(--blue-600);
  font-size: 18px;
  font-weight: 900;
}

.ranking-panel li strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-panel li em {
  display: block;
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
}

.panel-link {
  display: inline-flex;
  margin-top: 20px;
}

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

.page-hero .container {
  padding: 66px 0 70px;
}

.page-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 780px;
  margin: 18px 0 0;
  color: #eff6ff;
  font-size: 18px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

.filter-bar.search-page {
  grid-template-columns: minmax(0, 1fr) 190px 190px;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 800;
}

.search-field input,
.search-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  outline: none;
}

.search-field input:focus,
.search-field select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.detail-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  color: var(--white);
  background: #0f172a;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(1.05);
}

.detail-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 68px 0;
}

.detail-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-100), var(--gray-200));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #bfdbfe;
  font-size: 14px;
}

.detail-copy h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.detail-one-line {
  max-width: 800px;
  margin: 22px 0 0;
  color: #dbeafe;
  font-size: 19px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.detail-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.player-section {
  padding: 42px 0 0;
  background: var(--gray-50);
}

.video-player {
  position: relative;
  overflow: hidden;
  background: #020617;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.35), rgba(2, 6, 23, 0.72));
  border: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  padding-left: 6px;
  color: var(--blue-700);
  background: var(--white);
  border-radius: 50%;
  font-size: 34px;
  box-shadow: 0 18px 50px rgba(255, 255, 255, 0.2);
}

.player-cover strong {
  font-size: 18px;
}

.player-message {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  max-width: calc(100% - 36px);
  color: var(--white);
  background: rgba(15, 23, 42, 0.72);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.player-message.visible {
  opacity: 1;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.content-panel,
.side-panel {
  padding: 30px;
}

.content-panel h2 + p {
  margin-top: 14px;
}

.content-panel p {
  color: var(--gray-700);
  font-size: 17px;
}

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

.side-panel {
  position: sticky;
  top: 92px;
}

.side-panel dl {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  margin: 18px 0 28px;
}

.side-panel dt,
.side-panel dd {
  margin: 0;
  padding: 12px;
  background: var(--gray-50);
  border-radius: 12px;
}

.side-panel dt {
  color: var(--gray-500);
  font-weight: 800;
}

.side-panel dd {
  color: var(--gray-900);
  font-weight: 700;
}

.compact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.compact-card {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.compact-card img {
  aspect-ratio: 16 / 10;
  background: var(--blue-100);
  border-radius: 12px;
}

.compact-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.compact-card em {
  display: block;
  margin-top: 6px;
  color: var(--gray-500);
  font-size: 12px;
  font-style: normal;
}

.responsive-table {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gray-700);
  background: var(--gray-50);
  font-size: 13px;
  font-weight: 900;
}

td {
  color: var(--gray-700);
  font-size: 14px;
}

td a {
  color: var(--blue-600);
  font-weight: 800;
}

.site-footer {
  color: var(--gray-300);
  background: var(--gray-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
  padding: 54px 0;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 16px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

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

.footer-copy {
  margin: 16px 0 0;
  color: #9ca3af;
  font-size: 14px;
}

.footer-bottom {
  padding: 20px 16px;
  color: #6b7280;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
}

.hidden-by-filter {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-slide,
  .detail-hero-inner,
  .detail-layout,
  .two-column,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    min-height: 320px;
  }

  .hero-stats,
  .feature-grid,
  .category-grid,
  .category-grid.overview,
  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-panel,
  .ranking-panel {
    position: static;
  }

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

  .filter-bar,
  .filter-bar.search-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 12px;
    border-radius: 12px;
  }

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

  .hero-inner {
    padding: 58px 0 48px;
  }

  .hero-slider {
    min-height: 0;
  }

  .hero-copy h1,
  .detail-copy h1,
  .page-hero h1 {
    letter-spacing: -0.04em;
  }

  .hero-actions,
  .detail-nav-links {
    flex-direction: column;
  }

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

  .hero-stats,
  .feature-grid,
  .category-grid,
  .category-grid.overview,
  .movie-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 48px 0;
  }

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

  .detail-hero-inner {
    padding: 42px 0;
  }

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

  .content-panel,
  .side-panel {
    padding: 22px;
  }

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

  .footer-grid {
    padding: 38px 0;
  }
}
