/* Unique World Holidays — Client Feedback page, Section 1 (breadcrumb +
   page title). Fork of about-hero-section.css — same structure/behavior,
   renamed to the uwh-cf- namespace (and --uwh-cf-hero-* custom properties)
   so nothing collides with the About Us hero. See
   partials/client-feedback-hero-section.php for the full context.
   .gsap-fade-in is this project's existing reusable scroll-reveal utility
   (see assets/js/animations.js) — not a new animation system. */

.uwh-cf-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-cf-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.uwh-cf-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. Fork of
	   about-hero-section.css — see that file's own comment. */
  gap: 14px;
}

/* ---- Breadcrumb ----
   Sits below the title now (see the gap comment above). 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-cf-hero-breadcrumb-color, an
   ACF-driven custom property (see client-feedback-hero-section.php) —
   defaults to white but is editable per-page, same reasoning as the About
   Us hero's own breadcrumb color. */
.uwh-cf-breadcrumb,
.uwh-cf-breadcrumb .ast-breadcrumbs-wrapper,
.uwh-cf-breadcrumb .ast-breadcrumbs-inner {
  margin: 0;
  padding: 0;
  background: none;
}
.uwh-cf-breadcrumb,
.uwh-cf-breadcrumb .ast-breadcrumbs-inner,
.uwh-cf-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-cf-hero-breadcrumb-color, #ffffff),
    transparent 15%
  );
}
.uwh-cf-breadcrumb a,
.uwh-cf-breadcrumb .ast-breadcrumbs-inner a {
  color: color-mix(
    in srgb,
    var(--uwh-cf-hero-breadcrumb-color, #ffffff),
    transparent 15%
  );
  text-decoration: none;
}
.uwh-cf-breadcrumb a:hover,
.uwh-cf-breadcrumb .ast-breadcrumbs-inner a:hover {
  color: var(--uwh-cf-hero-breadcrumb-color, #ffffff);
  text-decoration: underline;
}
.uwh-cf-breadcrumb .ast-breadcrumbs-inner span:last-child,
.uwh-cf-breadcrumb .ast-breadcrumbs-inner .trail-end {
  color: var(--uwh-cf-hero-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-cf-hero-title-color, same ACF-driven custom property
   pattern/reasoning as the breadcrumb above. */
.uwh-cf-hero-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  color: var(--uwh-cf-hero-title-color, #ffffff);
}

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