/* Unique World Holidays — About Us page, Section 1 (breadcrumb + page title).
   Same-to-same replacement for the Elementor container it used to be
   (background image + page-title widget + Header Footer Elementor's
   breadcrumb widget, no overlay) — see partials/about-hero-section.php
   for the full context. Overlay on the image variant is new (client
   brief asked for it explicitly; the original had none). .gsap-fade-in
   is this project's existing reusable scroll-reveal utility (see
   assets/js/animations.js) — not a new animation system. */

.uwh-about-hero {
  position: relative;
  width: 100%;
  min-height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Color variant doesn't parallax-scroll a photo, so a fixed attachment
   (which only matters for an actual image) is irrelevant there — left
   on the shared rule above regardless since it's a no-op without a
   background-image. */

.uwh-about-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.uwh-about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Title-then-breadcrumb spacing lives here (not as a margin on either
	   child) precisely so it doesn't care which one comes first in the
	   DOM — was the breadcrumb's own margin-bottom back when it was
	   always the first child; moved to `gap` when the order flipped
	   (title now first, breadcrumb after) so this value never has to be
	   re-targeted again if the order ever changes a second time. */
  gap: 14px;
}

/* ---- Breadcrumb ----
   Small, subtle, sits below the title. Overrides Astra's own breadcrumb
   widget styling (.ast-breadcrumbs-wrapper/-inner, dynamically generated
   by Astra core) so it reads correctly against this section's own
   background instead of Astra's site-wide default breadcrumb colors.

   Color comes from --uwh-about-breadcrumb-color, an ACF-driven custom
   property set inline on the section (see about-hero-section.php) —
   defaults to white (the old hardcoded value) but is editable per-page,
   since a light Color background would otherwise make hardcoded white
   text disappear entirely (confirmed live: exactly that happened with a
   white background + the old hardcoded white text). The "muted" links/
   separator vs. "full strength" current-page distinction that used to
   be rgba(...,0.85) vs. #ffffff is now color-mix(...,transparent 15%)
   vs. the raw var — works the same for whatever color is chosen, not
   just white. */
.uwh-about-breadcrumb,
.uwh-about-breadcrumb .ast-breadcrumbs-wrapper,
.uwh-about-breadcrumb .ast-breadcrumbs-inner {
  margin: 0;
  padding: 0;
  background: none;
}
.uwh-about-breadcrumb,
.uwh-about-breadcrumb .ast-breadcrumbs-inner,
.uwh-about-breadcrumb .ast-breadcrumbs-inner * {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: color-mix(
    in srgb,
    var(--uwh-about-breadcrumb-color, #ffffff),
    transparent 15%
  );
}
.uwh-about-breadcrumb a,
.uwh-about-breadcrumb .ast-breadcrumbs-inner a {
  color: color-mix(
    in srgb,
    var(--uwh-about-breadcrumb-color, #ffffff),
    transparent 15%
  );
  text-decoration: none;
}
.uwh-about-breadcrumb a:hover,
.uwh-about-breadcrumb .ast-breadcrumbs-inner a:hover {
  color: var(--uwh-about-breadcrumb-color, #ffffff);
  text-decoration: underline;
}
.uwh-about-breadcrumb .ast-breadcrumbs-inner span:last-child,
.uwh-about-breadcrumb .ast-breadcrumbs-inner .trail-end {
  color: var(--uwh-about-breadcrumb-color, #ffffff);
}

/* ---- Page title ----
   font-family intentionally omitted — the site-wide h1-h6 rule
   (functions.php) already forces Cinzel on every heading tag. Color
   from --uwh-about-title-color, same ACF-driven custom property
   pattern/reasoning as the breadcrumb above. */
.uwh-about-hero-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  color: var(--uwh-about-title-color, #ffffff);
}

/* ---- Responsive ---- */
@media (max-width: 782px) {
  .uwh-about-hero {
    min-height: 35vh;
    padding: 32px 20px;
  }
}
