.page-hero {
  display: flex;
  flex-direction: column;
  margin-top: var(--header-height);
  height: 380px;
}

.page-hero__media {
  width: 100%;
  height: 240px;
  flex-shrink: 0;
  overflow: hidden;
}
.page-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: page-hero-zoom 7s ease-out forwards;
}

@keyframes page-hero-zoom {
  from { transform: scale(1.2); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__media img {
    animation: none;
  }
}

.page-hero__box {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  background: var(--color-accent-2);
  overflow: hidden;
}

.page-hero__content {
  width: 100%;
  padding: var(--space-2) var(--space-3);
}

.page-hero__eyebrow {
  color: var(--color-accent-2-tint);
  margin-bottom: 0.3rem;
  font-size: 0.7rem;
}

.page-hero h1 {
  font-size: 1.3rem;
  color: var(--color-accent-text);
  max-width: 20ch;
  margin-bottom: 0.3rem;
}

.page-hero__text {
  max-width: 42ch;
  font-size: 0.85rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media (min-width: 900px) {
  .page-hero {
    flex-direction: row;
    height: 500px;
  }
  .page-hero__media {
    width: 50%;
    height: 100%;
  }
  .page-hero__box {
    width: 50%;
  }
  .page-hero__content {
    max-width: 520px;
    margin: 0 auto;
    padding: var(--space-6) var(--space-5);
  }
  .page-hero__eyebrow {
    font-size: 0.8rem;
    margin-bottom: var(--space-2);
  }
  .page-hero h1 {
    font-size: var(--fs-h2);
    margin-bottom: var(--space-2);
      max-width: 40ch;
  }
  .page-hero__text {
    font-size: 1.05rem;
    -webkit-line-clamp: unset;
  }
}



@media (max-width: 767px) {

  .page-hero h1 {
      max-width: 100%;
  }

  .page-hero__text {
    max-width: 100%;
  }

}


