/* ==========================================================================
   Sky Ceylon — Page Hero and CTA Band

   Two full-bleed photo bands. Both put a plum wash over the photograph so the
   text keeps its contrast whatever the owner uploads later.

   FluentSnippets group: Page Hero & CTA Band | type: css | run_at: wp_head
   load_as_file: yes | load_in_block_editor: yes
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PAGE HERO
   -------------------------------------------------------------------------- */
.skyc-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--wp--preset--color--primary-deep);
  color: var(--wp--custom--text-invert);
  padding-top: calc(var(--wp--custom--section-y) + var(--wp--preset--spacing--16));
  padding-bottom: var(--wp--custom--section-y);
}

.skyc-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.skyc-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
.skyc-page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wp--custom--overlay-plum);
}

.skyc-page-hero__glow {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -160px;
  width: 480px;
  height: 480px;
  border-radius: var(--wp--custom--radius-circle);
  background: radial-gradient(circle, rgba(232, 152, 40, 0.26) 0%, rgba(232, 152, 40, 0) 68%);
  pointer-events: none;
}

.skyc-page-hero__inner { max-width: var(--wp--custom--container-max); }

.skyc-page-hero__title {
  margin: 0;
  max-width: 20ch;
  font-family: var(--wp--preset--font-family--display);
  font-size: var(--wp--preset--font-size--hero);
  font-weight: var(--wp--custom--weight-extrabold);
  line-height: 1.12;
  letter-spacing: var(--wp--custom--tracking-tight);
  color: var(--wp--custom--heading-invert);
  text-wrap: balance;
}
.skyc-page-hero__text {
  margin: var(--wp--preset--spacing--20) 0 0;
  max-width: 44rem;
  font-size: var(--wp--preset--font-size--lg);
  line-height: var(--wp--custom--leading-normal);
  color: rgba(255, 255, 255, 0.86);
}

/* --- breadcrumb --- */
.skyc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--wp--preset--spacing--8);
  margin-bottom: var(--wp--preset--spacing--24);
  font-size: var(--wp--preset--font-size--sm);
  color: rgba(255, 255, 255, 0.70);
}
.skyc-crumbs a {
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
}
.skyc-crumbs a:hover {
  color: var(--wp--preset--color--base);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.skyc-crumbs [aria-current="page"] {
  color: var(--wp--preset--color--accent);
  font-weight: var(--wp--custom--weight-medium);
}
.skyc-crumbs__sep { color: rgba(255, 255, 255, 0.38); }

/* --------------------------------------------------------------------------
   2. CTA BAND
   -------------------------------------------------------------------------- */
.skyc-cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--wp--preset--color--primary-darker);
  color: var(--wp--custom--text-invert);
  padding-top: var(--wp--custom--section-y);
  padding-bottom: var(--wp--custom--section-y);
  text-align: center;
}

.skyc-cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.skyc-cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.skyc-cta-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wp--custom--overlay-dark);
}

.skyc-cta-band__inner { max-width: 54rem; }
.skyc-cta-band .skyc-eyebrow { justify-content: center; }

.skyc-cta-band__title {
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-size: var(--wp--preset--font-size--xxxl);
  font-weight: var(--wp--custom--weight-extrabold);
  line-height: var(--wp--custom--leading-tight);
  letter-spacing: var(--wp--custom--tracking-tight);
  color: var(--wp--custom--heading-invert);
  text-wrap: balance;
}
.skyc-cta-band__text {
  margin: var(--wp--preset--spacing--16) auto 0;
  max-width: 44rem;
  font-size: var(--wp--preset--font-size--lg);
  line-height: var(--wp--custom--leading-normal);
  color: rgba(255, 255, 255, 0.86);
}
.skyc-cta-band__actions { justify-content: center; }

.skyc-cta-band__foot {
  margin: var(--wp--preset--spacing--24) 0 0;
  font-size: var(--wp--preset--font-size--sm);
  color: rgba(255, 255, 255, 0.72);
}
.skyc-cta-band__foot a {
  color: var(--wp--preset--color--accent);
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. EDITOR
   -------------------------------------------------------------------------- */
.editor-styles-wrapper .skyc-page-hero,
.editor-styles-wrapper .skyc-cta-band {
  padding-top: var(--wp--custom--section-y-tight);
  padding-bottom: var(--wp--custom--section-y-tight);
}
