/**
 * Shared domain hub hero — Opportunities-style full-bleed scene.
 * Greeting · eyebrow · title · subtitle · campus chip (centered).
 * Pair with _domain_hub_hero.html + _page_hero_scene.html.
 */

body.um-hub-hero-page .content-wrapper.full-width,
body.um-hub-hero-page .content-wrapper.full-width .content-inner {
  max-width: none !important;
  width: 100% !important;
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

.um-hub-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 5.5rem;
  box-sizing: border-box;
}

.um-hub-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  color: #fff;
  min-height: clamp(14rem, 34vh, 22rem);
  padding:
    clamp(1.75rem, 4.5vh, 2.75rem)
    clamp(1rem, 3vw, 2.5rem)
    clamp(1.85rem, 5vh, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.um-hub-hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #2c3e50;
  border-radius: 0 !important;
}

.um-hub-hero .tb-scene__shade {
  background:
    linear-gradient(
      180deg,
      rgba(44, 62, 80, 0.28) 0%,
      rgba(26, 32, 44, 0.78) 100%
    ),
    linear-gradient(
      105deg,
      rgba(44, 62, 80, 0.42) 0%,
      rgba(246, 139, 30, 0.16) 100%
    );
}

.um-hub-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.um-hub-hero__copy {
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.um-hub-hero__greet {
  margin: 0 0 0.45rem;
  font-family: var(--unimart-font-sans, "Manrope", sans-serif);
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.um-hub-hero .um-page-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--unimart-orange, #f68b1e);
  text-align: center;
}

.um-hub-hero .um-page-title {
  margin: 0 auto !important;
  font-family: var(--unimart-font-display, "Fraunces", Georgia, serif) !important;
  font-size: clamp(1.45rem, 5vw, 1.9rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.12 !important;
  color: #fff !important;
  text-align: center !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.um-hub-hero .um-page-sub {
  margin: 0.35rem auto 0;
  max-width: 28rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.um-hub-hero__campus {
  margin: 0.55rem auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.um-hub-hero__ctas {
  margin: 0.85rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.um-hub-hero__ctas .um-cta,
.um-hub-hero__ctas .cp-hero-mast__btn {
  margin: 0;
}

.um-hub-hero__ctas .um-cta--ghost,
.um-hub-hero__ctas .um-cta--secondary,
.om-header__ctas .um-cta--ghost,
.om-header__ctas .um-cta--secondary {
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.um-hub-hero__ctas .um-cta--ghost:hover,
.um-hub-hero__ctas .um-cta--secondary:hover,
.om-header__ctas .um-cta--ghost:hover,
.om-header__ctas .um-cta--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
}

.om-header__ctas {
  margin: 0.85rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.um-hub-body {
  width: 100%;
  max-width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 0.85rem 0.85rem 1rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .um-hub-body {
    max-width: min(72rem, calc(100% - 2.5rem));
    padding: 1rem 1.1rem 1.15rem;
  }
}

@media (min-width: 1100px) {
  .um-hub-hero {
    min-height: clamp(15rem, 32vh, 24rem);
    padding-left: clamp(1.25rem, 2.5vw, 2.5rem);
    padding-right: clamp(1.25rem, 2.5vw, 2.5rem);
  }

  .um-hub-body {
    max-width: none;
    width: 100%;
    padding-left: clamp(1.25rem, 2.5vw, 2.5rem);
    padding-right: clamp(1.25rem, 2.5vw, 2.5rem);
  }
}

/* Kill legacy inset shells when hubs adopt um-hub-hero — keep .um-hub-body padding */
body.um-hub-hero-page .sd-wrap:not(.um-hub-body),
body.um-hub-hero-page .cp-wrap:not(.um-hub-body),
body.um-hub-hero-page .biz-show:not(.um-hub-body),
body.um-hub-hero-page .biz-detail:not(.um-hub-body),
body.um-hub-hero-page .uniz:not(.um-hub-body) {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

body.um-hub-hero-page .um-hub-body.sd-wrap,
body.um-hub-hero-page .um-hub-body.cp-wrap,
body.um-hub-hero-page .um-hub-body.biz-show,
body.um-hub-hero-page .um-hub-body.biz-detail,
body.um-hub-hero-page .um-hub-body.uniz {
  max-width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 0.85rem 0.85rem 1rem;
}

@media (min-width: 1100px) {
  body.um-hub-hero-page .um-hub-body.cp-wrap,
  body.um-hub-hero-page .um-hub-body.biz-show,
  body.um-hub-hero-page .um-hub-body.biz-detail,
  body.um-hub-hero-page .um-hub-body.uniz {
    max-width: none;
    width: 100%;
    padding-left: clamp(1.25rem, 2.5vw, 2.5rem);
    padding-right: clamp(1.25rem, 2.5vw, 2.5rem);
  }

  /* Services keeps a capped reading width via hub-desktop-2040 */
  body.um-hub-hero-page .um-hub-body.sd-wrap {
    max-width: min(96vw, 1600px);
    width: 100%;
    margin-inline: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
