/* Editorial content uses normal document flow, below the game catalogue. */
.brand-story > .editorial-intro {
  margin: 0 0 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.editorial-intro, .hero-copy, .hero-card, .content-card, .related-card {
  min-width: 0;
}
.editorial-table-wrap {
  width: 100%;
  max-width: 100%;
}
.editorial-table {
  min-width: 0;
  table-layout: fixed;
}
.editorial-table th, .editorial-table td, .editorial-table caption {
  overflow-wrap: anywhere;
  white-space: normal;
}
.page-shell .header {
  margin: 0;
  padding: 24px 28px;
  height: auto;
}
.page-shell .hero { align-items: start; }
.page-shell .top-links { flex: 1; min-width: 0; line-height: 1.5; }
.page-shell .header .button { flex-shrink: 0; }
.page-shell .hero-card img[src$="brand-mark.svg"] {
  width: 148px;
  height: 42px !important;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
}
.page-shell .header .logo {
  display: inline-flex;
  flex: 0 0 148px;
  width: 148px;
  height: 42px;
}
.page-shell .header .button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #53e012;
  color: #041006;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 22px;
}
.page-shell .hero-copy h1 {
  text-transform: none;
}
.editorial-source, .footer-note {
  overflow-wrap: anywhere;
}

/* The old .warning was a 40px icon slot, not a text container. */
#footer {
  height: auto;
  padding: 40px 0 28px;
}
#footer .logo {
  margin: 0 0 28px;
}
#footer .flex {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 28px;
}
#footer .col {
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0;
  border: 0;
}
#footer .footer-heading {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}
#footer ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#footer ul li {
  margin: 0;
  min-width: 0;
}
#footer ul a {
  display: inline-block;
  padding: 5px 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#footer .footer-disclosure {
  display: block;
  width: 100%;
  height: auto;
  padding-top: 20px;
  border-top: 1px solid #354254;
}
#footer .site-disclosure {
  width: 100%;
  max-width: 100ch;
  margin: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 780px) {
  #footer { padding: 28px 0 24px; }
  #footer .flex { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  #footer .col:last-child { grid-column: 1 / -1; }
  #footer .col:last-child ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
  #footer ul a { font-size: 14px; min-height: 36px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .section-1 picture { position: relative; aspect-ratio: 470 / 450; overflow: hidden; }
  .section-1 picture img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: center; }
  body:has(.page-shell) > .container,
  .main-content:has(.page-shell) > .container { padding-left: 12px; padding-right: 12px; }
  .page-shell { border-radius: 20px; }
  .page-shell .header { margin: 0; padding: 20px 16px; gap: 16px; }
  .page-shell .header .logo { flex: 0 0 auto; }
  .page-shell .top-links { gap: 10px 14px; }
  .page-shell .hero { padding: 8px 16px 24px; gap: 20px; }
  .page-shell .hero-copy h1 { font-size: 2rem; line-height: 1.12; }
  .page-shell .hero-copy p, .page-shell .content-card p, .page-shell .content-card li { line-height: 1.75; }
  .page-shell .content { padding: 0 12px 20px; }
  .page-shell .content-card { padding: 16px !important; border-radius: 18px; }
  .page-shell .hero-card { padding: 16px; border-radius: 18px; }
  .page-shell .hero-card .meta { gap: 10px; }
  .page-shell .hero-card .meta > div { padding: 12px; min-width: 0; overflow-wrap: anywhere; }
  .page-shell .related-card { padding: 18px 0 0; border: 0; border-radius: 0; }
  .editorial-table { font-size: 14px; line-height: 1.6; }
  .editorial-table tbody th { width: 40%; }
}
