/* WLC Biopharma portal shell, 2026. Preserves Elementor and Astra markup. */
:root {
  --wlc-shell-navy: #152548;
  --wlc-shell-blue: #343f97;
  --wlc-shell-gold: #bb9d64;
  --wlc-shell-border: #e5eaf3;
  --wlc-shell-surface: #f5f7fc;
}

body .elementor-location-header {
  position: relative;
  z-index: 110;
  background: linear-gradient(135deg, #ffffff 0%, #fbfcff 67%, #f5f7ff 100%);
  border-top: 3px solid var(--wlc-shell-gold);
  border-bottom: 1px solid #dfe5f0;
  box-shadow: 0 8px 27px rgba(27, 43, 78, .055);
}

body .elementor-location-header .elementor-element-354d19d,
body .elementor-location-header .elementor-element-140b86f {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body .elementor-location-header .elementor-element-140b86f {
  padding-left: 26px !important;
  padding-right: 26px !important;
  width: 100%;
}

body .elementor-location-header .elementor-element-140b86f > .e-con-inner {
  width: 100%;
  max-width: 1480px;
  min-height: 89px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.35vw, 23px);
}

body .elementor-location-header .elementor-element-11f716c {
  width: 216px !important;
  max-width: 216px !important;
  flex: 0 0 216px !important;
  padding: 0 !important;
  min-width: 0;
}

body .elementor-location-header .elementor-element-11f716c > .e-con-inner,
body .elementor-location-header .elementor-element-20a966b {
  padding: 0 !important;
  width: 100%;
}

body .elementor-location-header .elementor-element-20a966b img {
  display: block;
  width: 216px !important;
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
}

body .elementor-location-header .elementor-element-b85e551 {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
}

body .elementor-location-header .elementor-element-1688927 {
  width: 100%;
}

body .elementor-location-header .elementor-element-748b289 {
  display: none !important;
}

body .elementor-location-header .wlc-app-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 3px;
  width: 100%;
  min-width: 0;
  height: auto;
}

body .elementor-location-header .wlc-app-menu .wlc-menu-link,
body .elementor-location-header .wlc-app-menu .wlc-menu-dropdown-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  height: auto;
  width: auto;
  padding: 9px 11px !important;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--wlc-shell-navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .17s ease, background .17s ease, box-shadow .17s ease;
}

body .elementor-location-header .wlc-app-menu .wlc-menu-link:hover,
body .elementor-location-header .wlc-app-menu .wlc-menu-dropdown-button:hover,
body .elementor-location-header .wlc-app-menu .wlc-menu-link:focus-visible,
body .elementor-location-header .wlc-app-menu .wlc-menu-dropdown-button:focus-visible {
  color: var(--wlc-shell-blue);
  background: #eef1fc;
  border-color: #e1e6f7;
  outline-offset: 3px;
}

body .elementor-location-header .wlc-app-menu .wlc-menu-link.is-current {
  color: var(--wlc-shell-blue);
  background: #eef1ff;
  border-color: #e5e8fa;
  box-shadow: inset 0 -3px 0 var(--wlc-shell-gold);
}

body .elementor-location-header .wlc-menu-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

body .elementor-location-header .wlc-menu-dropdown .wlc-mega-menu {
  z-index: 150;
  border: 1px solid #e5eafa;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(17, 36, 80, .17);
}

body .elementor-location-header .elementor-element-f085eed {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
}

body .elementor-location-header .wlc-user-box {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 52px;
  padding: 6px 7px 6px 9px;
  background: #f4f6fd;
  border: 1px solid #e1e7f3;
  border-radius: 14px;
  box-shadow: 0 2px 7px rgba(28, 44, 87, .035);
}

body .elementor-location-header .wlc-user-avatar {
  position: relative;
  order: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, #3e4da8, #1b2c68);
  border-radius: 11px;
}

body .elementor-location-header .wlc-user-avatar .dashicons {
  color: inherit;
  font-size: 18px;
  line-height: 18px;
  width: 18px;
  height: 18px;
}

body .elementor-location-header .wlc-user-avatar::after {
  content: '';
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 9px;
  height: 9px;
  background: #13a773;
  border: 2px solid #f4f6fd;
  border-radius: 50%;
}

body .elementor-location-header .wlc-user-name {
  order: 1;
  width: auto;
  max-width: 132px;
  min-width: 0;
  overflow: hidden;
  color: var(--wlc-shell-navy);
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .elementor-location-header .wlc-user-name::before {
  display: block;
  content: 'SIGNED IN';
  margin-bottom: 3px;
  color: #6d7b98;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .11em;
}

body .elementor-location-header .wlc-logout-btn {
  order: 2;
  flex: 0 0 auto;
  height: 35px;
  min-height: 35px;
  width: auto;
  min-width: 0;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #d5dcec;
  border-radius: 9px;
  color: var(--wlc-shell-blue) !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: none;
  text-decoration: none;
  box-shadow: none;
}

body .elementor-location-header .wlc-logout-btn:hover,
body .elementor-location-header .wlc-logout-btn:focus-visible {
  color: #ffffff !important;
  background: var(--wlc-shell-blue);
  border-color: var(--wlc-shell-blue);
}

body .wlc-dashboard-v3 .wlc-quick-actions a {
  border-radius: 12px;
  border: 1px solid #e2e7f2;
  background: linear-gradient(135deg, #fbfcff, #f5f7fd);
  color: var(--wlc-shell-navy);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

body .wlc-dashboard-v3 .wlc-quick-actions a:hover,
body .wlc-dashboard-v3 .wlc-quick-actions a:focus-visible {
  border-color: #bfc8e5;
  background: #eef1fc;
  box-shadow: 0 6px 16px rgba(34, 49, 112, .09);
  transform: translateY(-1px);
}

body .wlc-dashboard-v3 .wlc-quick-actions a:first-child {
  border-color: #3c48a3;
  color: #ffffff !important;
  background: linear-gradient(115deg, #2e388b, #4556b3);
}

body .wlc-dashboard-v3 .wlc-quick-actions a:first-child i,
body .wlc-dashboard-v3 .wlc-quick-actions a:first-child span {
  color: #ffffff !important;
}

body .wlc-dashboard-v3 .wlc-quick-actions a:first-child:hover,
body .wlc-dashboard-v3 .wlc-quick-actions a:first-child:focus-visible {
  border-color: #2d398e;
  color: #ffffff !important;
  background: #2d398e;
}

.wlc-mobile-toggle { display: none; }

/* Astra footer: WLC owns the service; NSS remains credited as technology provider. */
body .site-footer {
  color: #eaf0ff;
}

body .site-footer .site-primary-footer-wrap {
  padding: 29px 26px 32px !important;
  background: linear-gradient(112deg, #10203e 0%, #182e62 62%, #28326d 100%);
  border-top: 3px solid var(--wlc-shell-gold);
}

body .site-footer .ast-builder-footer-grid-columns {
  max-width: 1340px;
  margin: 0 auto;
  align-items: center;
  column-gap: 30px;
}

body .site-footer .site-footer-section,
body .site-footer .ast-builder-html-element,
body .site-footer .ast-footer-copyright {
  color: #eaf0ff;
}

body .site-footer .ast-builder-html-element p,
body .site-footer .ast-footer-copyright p,
body .site-footer .ast-builder-html-element p span {
  color: #eaf0ff !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

body .site-footer p { margin: 0; }

body .site-footer .site-footer-primary-section-2 img {
  display: block;
  width: 218px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

body .site-footer a {
  color: #f1cb89;
  text-decoration: none;
  border-bottom: 1px solid rgba(241, 203, 137, .28);
}

body .site-footer a:hover,
body .site-footer a:focus-visible {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

@media (max-width: 1279px) {
  body .elementor-location-header .elementor-element-140b86f > .e-con-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: 'logo user toggle' 'menu menu menu';
    gap: 10px 14px;
    min-height: 81px;
    padding: 12px 0;
  }

  body .elementor-location-header .elementor-element-11f716c {
    grid-area: logo;
    width: 200px !important;
    max-width: 100% !important;
    flex: 0 1 auto !important;
  }

  body .elementor-location-header .elementor-element-20a966b img { width: 200px !important; }
  body .elementor-location-header .elementor-element-f085eed { grid-area: user; justify-self: end; }
  body .elementor-location-header .elementor-element-b85e551 {
    grid-area: menu;
    display: none !important;
    width: 100% !important;
    padding-top: 10px !important;
    border-top: 1px solid var(--wlc-shell-border);
  }

  body .elementor-location-header.wlc-nav-open .elementor-element-b85e551 { display: block !important; }
  body .elementor-location-header .wlc-app-menu { flex-wrap: wrap; justify-content: flex-start; gap: 4px 6px; }

  body .elementor-location-header .wlc-mobile-toggle {
    grid-area: toggle;
    justify-self: end;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #dce3f2;
    border-radius: 12px;
    color: var(--wlc-shell-blue);
    background: #f1f4fc;
    cursor: pointer;
  }

  body .elementor-location-header .wlc-mobile-toggle:hover,
  body .elementor-location-header .wlc-mobile-toggle:focus-visible { background: #e6ebfa; }

  .wlc-mobile-toggle-lines,
  .wlc-mobile-toggle-lines::before,
  .wlc-mobile-toggle-lines::after {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
  }

  .wlc-mobile-toggle-lines { position: relative; }
  .wlc-mobile-toggle-lines::before,
  .wlc-mobile-toggle-lines::after { content: ''; position: absolute; left: 0; }
  .wlc-mobile-toggle-lines::before { top: -6px; }
  .wlc-mobile-toggle-lines::after { top: 6px; }

  body .elementor-location-header .wlc-menu-dropdown .wlc-mega-menu { max-width: min(85vw, 590px); }
}

@media (max-width: 650px) {
  body .elementor-location-header .elementor-element-140b86f { padding-left: 17px !important; padding-right: 17px !important; }
  body .elementor-location-header .elementor-element-140b86f > .e-con-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'logo toggle' 'user user' 'menu menu';
    gap: 10px 8px;
    padding: 12px 0 14px;
  }

  body .elementor-location-header .elementor-element-11f716c { width: 187px !important; }
  body .elementor-location-header .elementor-element-20a966b img { width: 187px !important; }
  body .elementor-location-header .elementor-element-f085eed { justify-self: stretch; width: 100% !important; }
  body .elementor-location-header .wlc-user-box { width: 100%; justify-content: flex-start; }
  body .elementor-location-header .wlc-user-name { flex: 1 1 auto; max-width: none; }
  body .elementor-location-header .wlc-app-menu { flex-direction: column; align-items: stretch; gap: 4px; }
  body .elementor-location-header .wlc-app-menu .wlc-menu-link,
  body .elementor-location-header .wlc-app-menu .wlc-menu-dropdown-button {
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    padding: 10px 13px !important;
  }
  body .elementor-location-header .wlc-menu-dropdown { display: block; width: 100%; }
  body .elementor-location-header .wlc-menu-dropdown .wlc-mega-menu {
    display: none;
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100%;
    transform: none !important;
    margin: 2px 0 9px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: none;
  }
  body .elementor-location-header .wlc-menu-dropdown.wlc-search-open .wlc-mega-menu { display: grid !important; }

  body .site-footer .site-primary-footer-wrap { padding: 27px 18px 31px !important; }
  body .site-footer .ast-builder-footer-grid-columns { grid-template-columns: minmax(0, 1fr) !important; row-gap: 19px; }
  body .site-footer .site-footer-section { text-align: center; justify-content: center; }
  body .site-footer .site-footer-section p,
  body .site-footer .ast-footer-copyright p { text-align: center !important; }
  body .site-footer .site-footer-primary-section-2 { grid-row: 1; }
  body .site-footer .site-footer-primary-section-1 { grid-row: 2; }
  body .site-footer .site-footer-primary-section-3 { grid-row: 3; }
}

@media (prefers-reduced-motion: reduce) {
  body .elementor-location-header .wlc-app-menu .wlc-menu-link,
  body .elementor-location-header .wlc-app-menu .wlc-menu-dropdown-button { transition: none; }
}
