/* ---------- Generic overlay hero (interior pages: single Lesson/Tour/
   Location/Guide, 404 — these use a regular featured image, not the
   client's baked-in branding banner, so overlay text is still fine) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 58, 94, 0.15) 0%,
    rgba(11, 58, 94, 0.1) 40%,
    rgba(11, 58, 94, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-2xl) var(--space-xl);
  max-width: 640px;
}

.hero__title { color: var(--color-white); margin-bottom: var(--space-xs); }

.hero__subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  max-width: 480px;
}
