/**
 * Page hero.
 *
 * A verbatim port of sections/page-hero.liquid. Its own file because both the
 * About and the Contact template use it; a copy inside each page stylesheet
 * would be two copies of one component, free to drift apart.
 *
 * Enqueued alongside page-about.css or page-contact.css, never on its own.
 * Depends on tokens.css and base.css.
 *
 * @package maaz-dev
 */


.page-hero {
  position: relative;
  width: 100%;
  padding: 64px 32px;
  background: #FAFAFA;
  overflow: hidden;
}

.page-hero__image-wrap { position: absolute; inset: 0; }
.page-hero__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero__overlay { position: absolute; inset: 0; background: rgba(17,17,17, var(--page-hero-overlay, 0.5)); }

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-hero__breadcrumb { margin-bottom: 18px; font-family: 'Inter', sans-serif; font-size: 13px; }
.page-hero__breadcrumb-link { color: rgba(255,255,255,0.75); text-decoration: none; }
.page-hero:not(.page-hero--has-image) .page-hero__breadcrumb-link { color: #888888; }
.page-hero__breadcrumb-link:hover { color: #FFFFFF; }
.page-hero:not(.page-hero--has-image) .page-hero__breadcrumb-link:hover { color: #8B0000; }
.page-hero__breadcrumb-sep { color: rgba(255,255,255,0.4); margin: 0 8px; }
.page-hero:not(.page-hero--has-image) .page-hero__breadcrumb-sep { color: #CCCCCC; }
.page-hero__breadcrumb-current { color: rgba(255,255,255,0.9); }
.page-hero:not(.page-hero--has-image) .page-hero__breadcrumb-current { color: #444444; }

.page-hero__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  margin: 0 0 14px;
  color: #FFFFFF;
}
.page-hero:not(.page-hero--has-image) .page-hero__title { color: #111111; }

.page-hero__tagline {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.85);
}
.page-hero:not(.page-hero--has-image) .page-hero__tagline { color: #666666; }

@media screen and (max-width: 768px) {
  .page-hero { padding: 44px 20px; }
}

