/* Hero compatto condiviso dalle pagine interne. */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: 300px;
  padding: 152px 24px 56px;
  background: #292361;
  color: #fff;
  text-align: center;
}

.page-hero .hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.32) 76%), linear-gradient(0deg, rgba(0,0,0,.65), transparent 55%);
  pointer-events: none;
}

.page-hero h1 {
  position: static;
  width: min(100%, 1200px);
  margin: 0 auto;
  font-family: Poppins, Arial, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.page-hero--standalone {
  min-height: 220px;
  padding-block: 64px;
}

@media (max-width: 700px) {
  .page-hero {
    min-height: 230px;
    padding: 120px 22px 40px;
  }

  .page-hero--standalone {
    min-height: 180px;
    padding-block: 48px;
  }
}
