/* NurseNav Second Launch | Shared Open Hero (Jobs, CNE, Career Pathways)
   Authoritative hero & headings-only navigation styles. No legacy hero overrides. */
.nn-open-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 54% 62% at 11% 12%, rgba(250,220,232,.58), transparent 100%),
    radial-gradient(ellipse 55% 67% at 90% 82%, rgba(214,233,230,.58), transparent 100%),
    linear-gradient(113deg,#fff9fa 3%,#fffafd 48%,#f0f7f4 100%);
  padding: 34px 0 60px;
  color: #142e4b;
}
.nn-open-hero *, .nn-open-shortcuts * { box-sizing: border-box; }
.nn-open-hero__inner {
  width: min(1580px,calc(100% - 88px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr);
  align-items: start;
  gap: clamp(12px,2vw,34px);
  min-height: 423px;
}
.nn-open-hero__copy { min-width: 0; position: relative; z-index: 1; }
.nn-open-hero__crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  color: #677a90;
}
.nn-open-hero__crumbs a {
  color: inherit;
  font-weight: 400;
  text-decoration: none;
}
.nn-open-hero__crumbs a:hover,
.nn-open-hero__crumbs a:focus-visible { color: #bb4677; text-decoration: none; }
.nn-open-hero__eyebrow {
  margin: 0 0 20px;
  color: #aa4675;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .15em;
  font-weight: 700;
  text-transform: uppercase;
}
.nn-open-hero__eyebrow span { font-size: 15px; margin-right: 5px; vertical-align: -1px; }
.nn-open-hero h1 {
  margin: 0 0 19px;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(43px, 4vw, 63px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.12;
  color: #142e4b;
}
.nn-open-hero h1 em {
  display: inline-block;
  color: #bb4677;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.02em;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -.035em;
  line-height: 1.22;
}
.nn-open-hero__lead {
  margin: 0;
  max-width: 540px;
  color: #4c6279;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}
.nn-open-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 27px;
}
.nn-open-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 45px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  transition: transform .2s, background-color .2s, color .2s, border-color .2s;
}
.nn-open-hero__button:hover { transform: translateY(-3px); text-decoration: none; }
.nn-open-hero__button--primary { background:#ba4275; color:#fff; }
.nn-open-hero__button--primary:hover { background:#982d5c; color:#fff; }
.nn-open-hero__button--secondary { background:rgba(255,255,255,.74);border-color:#dba9bf;color:#bb4677; }
.nn-open-hero__button--secondary:hover { background:#fff;border-color:#bb4677;color:#a23769; }
/* Quiet reassurance beneath the capsule actions. Deliberately unboxed. */
.nn-open-hero__trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 520px;
  margin: 23px 0 0;
  color: #65758b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
}
.nn-open-hero__trust strong {
  color: #29415d;
  font-weight: 700;
}
.nn-open-hero__trust-symbol {
  flex: none;
  color: #ba4275;
  font-size: 13px;
  line-height: 1.55;
}
.nn-open-hero__visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  height: 423px;
  transform: translateY(-6px);
}
.nn-open-hero__backdrop {
  position: absolute;
  z-index: 0;
  inset: 8px -9px -11px 15px;
  background: linear-gradient(140deg,rgba(215,230,241,.95),rgba(236,202,221,.93) 70%,rgba(201,220,207,.90));
  border-radius: 38% 9% 30% 17% / 40% 20% 45% 18%;
  transform: rotate(1.3deg);
}
.nn-open-hero__visual img {
  display: block;
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 38% 9% 30% 17% / 40% 20% 45% 18%;
}
/* Compact, single-row navigation, inspired by the approved migration-page cards. */
.nn-open-shortcuts {
  position: relative;
  z-index: 3;
  width: min(1260px,calc(100% - 96px));
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(10px,1.1vw,16px);
  margin: -31px auto 0;
  background: transparent;
}
.nn-open-shortcuts__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 14px 19px;
  color: #173253;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  background: #fff;
  border: 1px solid #eee4ea;
  border-radius: 13px;
  box-shadow: 0 5px 16px rgba(25,48,77,.025);
  transition: background-color .2s,color .2s,transform .2s,border-color .2s;
}
.nn-open-shortcuts__link:hover,
.nn-open-shortcuts__link:focus-visible {background:#fff6f9;color:#bb4677;text-decoration:none;transform:translateY(-2px);border-color:#eac6d7;}
.nn-open-shortcuts__icon {flex:0 0 19px;text-align:center;color:#bb4677;font-size:18px;line-height:1;}
.nn-open-shortcuts__link:last-child .nn-open-shortcuts__icon {font-family: Georgia, serif;font-style: italic;font-weight: 700;}
.nn-open-shortcuts__arrow {margin-left:auto;font-size:18px;line-height:1;color:#bb4677;}
/* Shared card-to-content transition; section-specific scroll targets stay in page CSS. */
.nn-open-shortcuts + .page-section { padding-top:65px; }
@media (max-width:1050px) {
  .nn-open-hero__inner {width:calc(100% - 56px);grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:16px;}
  .nn-open-hero {padding:30px 0 58px;}
  .nn-open-hero h1 {font-size:clamp(35px,4.4vw,49px);}
  .nn-open-hero__visual {height:365px;transform:translateY(-4px);}
  .nn-open-hero__inner {min-height:365px;}
  .nn-open-hero__lead {font-size:14px;}
  .nn-open-shortcuts {width:calc(100% - 56px);}
  .nn-open-shortcuts__link {padding:12px;gap:8px;}
}
@media (max-width:740px) {
  .nn-open-hero__inner {grid-template-columns:1fr;min-height:0;gap:22px;}
  .nn-open-hero__visual {max-width:660px;height:350px;margin:0 auto;}
  .nn-open-hero__crumbs {margin-bottom:19px;}
  .nn-open-hero h1 {font-size:clamp(36px,6.8vw,52px);}
  .nn-open-shortcuts {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:480px) {
  .nn-open-hero {padding:23px 0 54px;}
  .nn-open-hero__inner {width:calc(100% - 36px);}
  .nn-open-hero h1 {font-size:clamp(32px,8vw,39px);}
  .nn-open-hero h1 em {font-size:.99em;}
  .nn-open-hero__eyebrow {font-size:10px;}
  .nn-open-hero__lead {font-size:14px;}
  .nn-open-hero__visual {height:240px;transform:none;}
  .nn-open-hero__actions {gap:8px;margin-top:22px;}
  .nn-open-hero__trust {font-size:11px;margin-top:18px;gap:8px;}
  .nn-open-hero__button {padding:10px 14px;font-size:12px;min-height:41px;}
  .nn-open-shortcuts {width:calc(100% - 36px);margin-top:-26px;gap:9px;}
  .nn-open-shortcuts__link {min-height:56px;padding:10px 12px;font-size:12px;}
  .nn-open-shortcuts__icon {flex-basis:15px;font-size:15px;}
  .nn-open-shortcuts__arrow {font-size:15px;}
}
@media (prefers-reduced-motion:reduce) {
  .nn-open-hero__button,.nn-open-shortcuts__link {transition:none;}
  .nn-open-shortcuts__link:hover {transform:none;}
}

/* Career Pathways: keep the photograph behind the ENTIRE hero at narrow widths.
   Shared Jobs/CNE desktop visuals stay unchanged. */
@media (max-width: 900px) {
  .nn-career-open-hero {position:relative; isolation:isolate; overflow:hidden; padding:28px 0 44px;}
  .nn-career-open-hero .nn-open-hero__inner {display:block; width:calc(100% - 48px); min-height:0; position:static; z-index:auto;}
  .nn-career-open-hero .nn-open-hero__copy {width:100%; max-width:630px; position:relative; z-index:2;}
  .nn-career-open-hero .nn-open-hero__visual {
    position:absolute; inset:0; z-index:0; display:block; width:100%; height:100%;
    max-width:none; margin:0; transform:none; isolation:auto; pointer-events:none;
  }
  .nn-career-open-hero .nn-open-hero__backdrop {display:none;}
  .nn-career-open-hero .nn-open-hero__visual img {
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
    object-position:58% center; border-radius:0; transform:none;
  }
  .nn-career-open-hero::after {
    content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
    background:linear-gradient(90deg,rgba(255,250,252,.96),rgba(255,250,252,.84) 65%,rgba(255,250,252,.65));
  }
  .nn-career-open-hero + .nn-open-shortcuts {display:none;}
  .nn-career-open-hero .nn-open-hero__lead {color:#304c66;}
}
@media (max-width: 480px) {
  .nn-career-open-hero {padding:23px 0 38px;}
  .nn-career-open-hero .nn-open-hero__inner {width:calc(100% - 36px);}
  .nn-career-open-hero .nn-open-hero__visual img {object-position:60% center;}
  .nn-career-open-hero::after {background:rgba(255,250,252,.84);}
}

@media (max-width: 900px) { .nn-open-hero ~ .nn-open-shortcuts, .nn-open-hero .nn-open-shortcuts { display: none; } }
