/* Shared Astra shell for the V2 commercial and student experience. */
html body.eurekers-v2-shell .site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--eur-design-surface, #fff) !important;
  box-shadow: 0 1px 0 rgba(14, 42, 58, 0.10), 0 8px 24px rgba(14, 42, 58, 0.04) !important;
}

html body.eurekers-v2-shell.admin-bar .site-header {
  top: 32px;
}

html body.eurekers-v2-shell .site-header .ast-primary-header-bar,
html body.eurekers-v2-shell #ast-mobile-header .ast-primary-header-bar,
html body.eurekers-v2-shell #ast-desktop-header .site-primary-header-wrap,
html body.eurekers-v2-shell .site-header .ast-builder-grid-row {
  min-height: 64px !important;
  background: var(--eur-design-surface, #fff) !important;
  border: 0 !important;
}

html body.eurekers-v2-shell .site-header .ast-container {
  width: 100%;
  max-width: 1200px;
  padding-right: 32px;
  padding-left: 32px;
}

html body.eurekers-v2-shell .site-header .custom-logo {
  content: url("/wp-content/uploads/2018/10/logo-eurekers-sticky.png");
  width: 150px !important;
  height: auto !important;
  max-height: 38px !important;
  object-fit: contain;
}

html body.eurekers-v2-shell .site-header .site-header-primary-section-right {
  gap: 14px;
}

html body.eurekers-v2-shell .site-header .ast-header-account-link {
  display: inline-flex !important;
  align-items: center;
  min-height: 40px;
  padding: 8px 4px !important;
  color: var(--eur-design-text, #0e2a3a) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.2;
  text-decoration: none !important;
}

html body.eurekers-v2-shell .site-header .ast-header-account-link:hover,
html body.eurekers-v2-shell .site-header .ast-header-account-link:focus {
  color: #00add9 !important;
}

html body.eurekers-v2-shell .site-header .ast-header-account-link svg {
  color: currentColor !important;
  fill: currentColor !important;
}

html body.eurekers-v2-shell .site-header .eurekers-login-button,
html body.eurekers-v2-shell #ast-mobile-header .header-widget-area .learndash-wrapper a.ld-login-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 11px 18px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #00add9 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: none !important;
  transform: none !important;
}

html body.eurekers-v2-shell .site-header .eurekers-login-button:hover,
html body.eurekers-v2-shell .site-header .eurekers-login-button:focus,
html body.eurekers-v2-shell #ast-mobile-header .header-widget-area .learndash-wrapper a.ld-login-button:hover,
html body.eurekers-v2-shell #ast-mobile-header .header-widget-area .learndash-wrapper a.ld-login-button:focus {
  background: #00add9 !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

html body.eurekers-v2-shell .site-header .eurekers-logout-button {
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 10px 17px !important;
  border: 1px solid #ccd8de !important;
  border-radius: 10px !important;
  background: var(--eur-design-surface, #fff) !important;
  color: var(--eur-design-text, #0e2a3a) !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition: none !important;
  transform: none !important;
}

html body.eurekers-v2-shell .site-header .header-widget-area:has(.eurekers-logout-button) {
  display: none !important;
}

html body.eurekers-v2-shell .site-header .eurekers-logout-button:hover,
html body.eurekers-v2-shell .site-header .eurekers-logout-button:focus {
  border-color: #00add9 !important;
  background: var(--eur-design-soft-bg, #f4f8fa) !important;
  color: var(--eur-design-text, #0e2a3a) !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 921px) {
  html body.eurekers-v2-shell.admin-bar .site-header {
    top: 46px;
  }

  html body.eurekers-v2-shell .site-header .ast-primary-header-bar,
  html body.eurekers-v2-shell #ast-mobile-header .ast-primary-header-bar,
  html body.eurekers-v2-shell #ast-mobile-header .site-primary-header-wrap,
  html body.eurekers-v2-shell .site-header .ast-builder-grid-row {
    min-height: 60px !important;
  }

  html body.eurekers-v2-shell .site-header .ast-container {
    padding-right: 20px;
    padding-left: 20px;
  }

  html body.eurekers-v2-shell #ast-mobile-header .ast-builder-grid-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: 16px !important;
  }

  html body.eurekers-v2-shell #ast-mobile-header .site-header-primary-section-center {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-content: flex-start !important;
  }

  html body.eurekers-v2-shell #ast-mobile-header .site-branding,
  html body.eurekers-v2-shell #ast-mobile-header .custom-logo-link {
    display: flex !important;
    align-items: center !important;
  }

  html body.eurekers-v2-shell #ast-mobile-header .custom-logo {
    width: 118px !important;
    max-height: 31px !important;
  }

  html body.eurekers-v2-shell.eurekers-v2-anonymous #ast-mobile-header .site-header-primary-section-left {
    display: none !important;
  }

  html body.eurekers-v2-shell.eurekers-v2-anonymous #ast-mobile-header .site-header-primary-section-right {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-content: flex-end !important;
  }

  html body.eurekers-v2-shell.eurekers-v2-authenticated #ast-mobile-header .site-header-primary-section-left {
    display: flex !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-content: flex-end !important;
  }

  html body.eurekers-v2-shell.eurekers-v2-authenticated #ast-mobile-header .site-header-primary-section-right {
    display: none !important;
  }

  html body.eurekers-v2-shell #ast-mobile-header .ast-header-account-wrap {
    margin: 0 !important;
  }

  html body.eurekers-v2-shell #ast-mobile-header .ast-header-account-link {
    min-height: 36px;
    padding: 7px 0 !important;
    font-size: 13px !important;
    white-space: nowrap;
  }

  html body.eurekers-v2-shell #ast-mobile-header .header-widget-area {
    display: flex !important;
    align-items: center !important;
    align-self: stretch !important;
    width: auto !important;
    height: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.eurekers-v2-shell #ast-mobile-header .header-widget-area .widget,
  html body.eurekers-v2-shell #ast-mobile-header .header-widget-area .learndash-wrap,
  html body.eurekers-v2-shell #ast-mobile-header .header-widget-area .learndash-wrapper {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
  }

  html body.eurekers-v2-shell #ast-mobile-header .header-widget-area .learndash-wrapper a.ld-login-button {
    padding: 9px 12px !important;
    font-size: 13px !important;
  }

  html body.eurekers-v2-shell #ast-mobile-header .header-widget-area .learndash-wrapper a.ld-login-button .ld-icon {
    display: none !important;
  }
}

@media (max-width: 782px) {
  html body.eurekers-v2-shell.admin-bar .site-header {
    top: 46px;
  }
}

/* Hito 2 — Psychology to Risk continuation and current-hub fallback. */
.eurekers-h2-next-step,
.eurekers-h2-recovery {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--eur-design-border-strong, #d7e4ea);
  border-radius: 16px;
  background: var(--eur-design-soft-bg, #f4f8fa);
  color: var(--eur-design-copy, #3d4b56);
}

.eurekers-h2-next-step {
  max-width: 780px;
  margin: 48px auto 24px;
  padding: 42px 36px;
  text-align: center;
}

.eurekers-h2-next-step-kicker,
.eurekers-h2-recovery-kicker {
  margin: 0 0 8px !important;
  color: #00add9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.eurekers-h2-next-step h2,
.eurekers-h2-recovery h2 {
  margin: 0 0 12px !important;
  color: var(--eur-design-text, #0e2a3a);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
}

.eurekers-h2-next-step > p:not(.eurekers-h2-next-step-kicker),
.eurekers-h2-recovery > div > p:not(.eurekers-h2-recovery-kicker) {
  margin: 0 0 22px !important;
  font-size: 17px;
  line-height: 1.65;
}

.eurekers-h2-next-step-button,
.eurekers-h2-recovery-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 10px;
  background: #00add9;
  color: #fff !important;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.2;
  padding: 14px 28px;
  text-decoration: none !important;
}

.eurekers-h2-next-step-button:hover,
.eurekers-h2-next-step-button:focus,
.eurekers-h2-recovery-button:hover,
.eurekers-h2-recovery-button:focus {
  background: #00add9;
  color: #fff !important;
  transform: none;
}

.eurekers-h2-next-step small {
  display: block;
  margin-top: 10px;
  color: #71818d;
  font-size: 13px;
}

.eurekers-h2-recovery {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
  margin: 38px auto 0;
  padding: 30px 32px;
}

.eurekers-h2-recovery > div { max-width: 720px; }
.eurekers-h2-recovery h2 { font-size: clamp(24px, 2.5vw, 32px); }
.eurekers-h2-recovery-alert { color: #9b3a28; font-size: 14px !important; }
.eurekers-h2-recovery-button { flex: 0 0 auto; }

@media (max-width: 680px) {
  .eurekers-h2-next-step {
    width: calc(100vw - 56px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 56px) !important;
    margin: 34px 0 24px !important;
    padding: 32px 22px;
    overflow: hidden;
  }
  .eurekers-h2-recovery { align-items: stretch; flex-direction: column; margin: 28px 20px 0; padding: 26px 22px; }
  .eurekers-h2-next-step-button,
  .eurekers-h2-recovery-button { width: 100%; padding-right: 16px; padding-left: 16px; font-size: 15px; }
}
