/* Scoped to the 360-degree page; other hero images keep their own layout. */
.page-hero.page-hero--360 .page-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 24px 24px 26px;
  text-align: center;
}

.page-hero.page-hero--360 .page-hero-title {
  width: 100%;
  max-width: 1100px;
  align-self: center;
  margin: 0;
  font-size: clamp(28px, 5vw, 66px);
  line-height: 1.1;
  text-align: center;
  overflow-wrap: break-word;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .8);
}

.page-hero.page-hero--360 .page-hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .12) 38%, rgba(0, 0, 0, .78) 100%);
}

@media (max-width: 767px) {
  .page-hero.page-hero--360 .page-hero-content {
    padding: 18px 16px 22px;
  }

  .page-hero.page-hero--360 .page-hero-title {
    font-size: clamp(24px, 6.8vw, 40px);
    line-height: 1.15;
  }
}
