.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.page-hero-copy {
  min-width: 0;
}

.page-hero-mascot {
  display: block;
  width: min(100%, 310px);
  max-height: 310px;
  object-fit: contain;
  justify-self: end;
  align-self: center;
  filter: drop-shadow(0 16px 22px rgba(20, 35, 55, .1));
}

.guide-hero .page-hero-mascot {
  width: min(100%, 330px);
}

.top-hero-mascot {
  display: block;
  width: min(90%, 513px);
  height: auto;
  margin: 12px auto 4px;
  filter: drop-shadow(0 14px 20px rgba(20, 35, 55, .09));
}

@media (min-width: 721px) {
  .hero-copy-panel .trust-note {
    align-items: center;
    width: 100%;
    max-width: none;
    margin-top: 14px;
    padding: 12px 14px;
    gap: 9px;
    white-space: nowrap;
    font-size: clamp(.7rem, .82vw, .82rem);
  }
}

@media (max-width: 760px) {
  .page-hero .container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-hero-mascot,
  .guide-hero .page-hero-mascot {
    width: min(64vw, 250px);
    max-height: 230px;
    justify-self: center;
  }

  .top-hero-mascot {
    width: min(90%, 468px);
    margin-top: 14px;
  }
}

/* Mobile footer: site information occupies its own row, followed by a
   three-column menu grid. The final cell intentionally remains empty. */
@media (max-width: 980px) {
  .footer-grid.guide-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-footer-grid .footer-about {
    grid-column: 1 / -1;
  }

  .guide-footer-grid .footer-group {
    grid-column: auto;
  }

  .guide-footer-grid .footer-group:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .guide-footer-grid .footer-group:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .guide-footer-grid .footer-group:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
  }

  .guide-footer-grid .footer-group:nth-child(5) {
    grid-column: 1;
    grid-row: 3;
  }

  .guide-footer-grid .footer-group:nth-child(6) {
    grid-column: 2;
    grid-row: 3;
  }
}
