/* =====================================
   ASTRA FLYOUT MENU — RESET + BASICS
   minimal version
   ===================================== */

/* overlay */
#ast-mobile-popup .ast-mobile-popup-overlay,
#ast-mobile-popup-wrapper .ast-mobile-popup-overlay {
  background: rgba(215, 226, 245, 0.35) !important;
}

/* popup card */
#ast-mobile-popup .ast-mobile-popup-inner,
#ast-mobile-popup-wrapper .ast-mobile-popup-inner {
  background: #fff !important;
  border-radius: 28px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12) !important;
  overflow: hidden !important;
}

/* make popup height fit content instead of screen */
#ast-mobile-popup .ast-mobile-popup-inner,
#ast-mobile-popup-wrapper .ast-mobile-popup-inner,
#ast-mobile-popup .ast-mobile-popup-content,
#ast-mobile-popup-wrapper .ast-mobile-popup-content,
#ast-mobile-popup .ast-desktop-popup-content,
#ast-mobile-popup-wrapper .ast-desktop-popup-content {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

/* header row just for X */
#ast-mobile-popup .ast-mobile-popup-header,
#ast-mobile-popup-wrapper .ast-mobile-popup-header {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  min-height: 0 !important;
  padding: 12px 12px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* close button */
#ast-mobile-popup #menu-toggle-close,
#ast-mobile-popup-wrapper #menu-toggle-close {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #6d5bd0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

#ast-mobile-popup #menu-toggle-close .ast-close-svg,
#ast-mobile-popup-wrapper #menu-toggle-close .ast-close-svg {
  width: 28px !important;
  height: 28px !important;
}

/* content spacing */
#ast-mobile-popup .ast-mobile-popup-content,
#ast-mobile-popup-wrapper .ast-mobile-popup-content,
#ast-mobile-popup .ast-desktop-popup-content,
#ast-mobile-popup-wrapper .ast-desktop-popup-content {
  padding: 16px 24px 34px !important;
}

/* hide arrows */
#ast-mobile-popup .ast-icon.icon-arrow,
#ast-mobile-popup-wrapper .ast-icon.icon-arrow {
  display: none !important;
}

/* menu reset */
#ast-mobile-popup .main-header-menu,
#ast-mobile-popup .main-header-menu li,
#ast-mobile-popup-wrapper .main-header-menu,
#ast-mobile-popup-wrapper .main-header-menu li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* centered stack */
#ast-mobile-popup .main-header-menu,
#ast-mobile-popup-wrapper .main-header-menu {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
}

/* links */
#ast-mobile-popup .main-header-menu > .menu-item > .menu-link,
#ast-mobile-popup-wrapper .main-header-menu > .menu-item > .menu-link {
  display: block !important;
  padding: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  background: transparent !important;
  color: #241b4b !important;
}

#ast-mobile-popup .main-header-menu > .menu-item > .menu-link .menu-text,
#ast-mobile-popup-wrapper .main-header-menu > .menu-item > .menu-link .menu-text {
  font-family: 'Figtree', sans-serif !important;
  font-weight: 500 !important;
  font-size: 28px !important;
  line-height: 1.83 !important;
}

/* phone only logo */
@media (max-width: 767px) {
  #ast-mobile-popup .ast-mobile-popup-content,
  #ast-mobile-popup-wrapper .ast-mobile-popup-content {
    position: relative;
    padding-top: 64px !important;
  }

  #ast-mobile-popup .ast-mobile-popup-content::before,
  #ast-mobile-popup-wrapper .ast-mobile-popup-content::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 28px;
    background: url('/wp-content/uploads/2026/04/logo.png') center center / contain no-repeat;
    background-repeat: no-repeat;
    pointer-events: none;
  }
}

/* =========================
   FIX HEIGHT + SHOW X
   ========================= */

/* popup card should size to content, not viewport */
#ast-mobile-popup .ast-mobile-popup-inner {
  height: fit-content !important;
  min-height: 0 !important;
  max-height: fit-content !important;
  align-self: flex-start !important;
}

/* visible content area should not stretch */
#ast-mobile-popup .ast-mobile-popup-content,
#ast-mobile-popup .ast-desktop-popup-content {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

/* Astra header row must exist on all sizes so the X shows */
#ast-mobile-popup .ast-mobile-popup-header {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;

  min-height: 0 !important;
  padding: 12px 12px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* show close button on all sizes */
#ast-mobile-popup #menu-toggle-close {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #6d5bd0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

#ast-mobile-popup #menu-toggle-close .ast-close-svg {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
}

/* if Astra is vertically centering/stretching the popup on some sizes */
#ast-mobile-popup {
  align-items: flex-start !important;
}

/* =========================
   PULL BUBBLE IN FROM EDGE
   + make it a bit narrower
   ========================= */

#ast-mobile-popup .ast-mobile-popup-inner {
  width: min(360px, calc(100vw - 40px)) !important;
  max-width: calc(100vw - 40px) !important;
  margin-right: 12px !important;
}

/* phone */
@media (max-width: 767px) {
  #ast-mobile-popup .ast-mobile-popup-inner {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    margin-right: 0 !important;
  }
}

#ast-mobile-popup .ast-mobile-popup-inner {
  right: 12px !important;
}

#ast-mobile-popup .ast-mobile-popup-inner {
  width: min(320px, calc(100vw - 40px)) !important;
}

button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal,
button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal:hover,
button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal:focus,
button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal:active,
button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal:focus-visible {
  outline: 0 !important;
  outline-width: 0 !important;
  outline-color: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
/* =========================
   BODY STYLES
   ========================= */

span.highlight {
	color:#6650C9 !important;
	font-size:117% !important;
}

#stats .pp-infobox-title {
	color:#6650C9;
}

.contain-width {
	display: block; 
	max-width: 602px;
}

/* =========================
   CLIENT IMPACT TABS
   ========================= */

.lj-tabs {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  column-gap: 48px;
  align-items: start;
}

.lj-tabs__item {
  grid-column: 1;
}

.lj-tabs__desktop-panel-wrap {
  grid-column: 2;
  grid-row: 1 / span 20;
  min-width: 0;
}

/* TAB BUTTON RESET + STYLING */
.lj-tabs .lj-tab {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  text-align: left;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0;
  padding: 28px 0;
  cursor: pointer;
  position: relative;
  font: inherit;
  line-height: inherit;
  color: inherit;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.lj-tabs .lj-tab:hover,
.lj-tabs .lj-tab:focus,
.lj-tabs .lj-tab:active {
  background: transparent !important;
  background-color: transparent !important;
  color: #6650C9;
  box-shadow: none !important;
}

.lj-tabs__item:first-child .lj-tab {
  border-top: 1px solid #d9d6e8 !important;
}

.lj-tabs .lj-tab {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.lj-tabs .lj-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 4px;
  border-radius: 4px;
  background: transparent;
  transition: background 0.22s ease;
}

.lj-tabs .lj-tab.is-active::before {
  background: #6650C9;
}

.lj-tabs .lj-tab__label {
  display: block;
  padding-left: 24px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #191334;
  transition: color 0.22s ease;
}

.lj-tabs .lj-tab__desc {
  display: none;
  padding: 14px 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(25, 19, 52, 0.7);
  max-width: 320px;
}

.lj-tabs .lj-tab.is-active .lj-tab__desc {
  display: block;
  animation: ljFadeIn 0.28s ease;
}

.lj-tabs .lj-tab:hover .lj-tab__label,
.lj-tabs .lj-tab.is-active .lj-tab__label {
  color: #6650C9;
}

.lj-tabs .lj-tab:focus-visible {
  outline: 2px solid #6650C9;
  outline-offset: 2px;
}

/* DESKTOP PANELS */
.lj-tabs .lj-tabs__desktop-panel-wrap > .lj-panel {
  display: none !important;
  opacity: 0;
}

.lj-tabs .lj-tabs__desktop-panel-wrap > .lj-panel.is-active {
  display: block !important;
  opacity: 1;
  animation: ljFadeIn 0.28s ease;
}

/* MOBILE PANELS HIDDEN ON DESKTOP */
.lj-tabs .lj-mobile-panel {
  display: none !important;
}

/* KEEP BB CONTENT TIDY */
.lj-tabs__desktop-panel-wrap .fl-row,
.lj-tabs__desktop-panel-wrap .fl-col,
.lj-tabs__desktop-panel-wrap .fl-module,
.lj-tabs .lj-mobile-panel .fl-row,
.lj-tabs .lj-mobile-panel .fl-col,
.lj-tabs .lj-mobile-panel .fl-module {
  max-width: 100%;
}

/* MOBILE / ACCORDION */
@media (max-width: 991px) {
  .lj-tabs {
    display: block;
  }

  .lj-tabs__desktop-panel-wrap {
    display: none !important;
  }

  .lj-tabs .lj-tab {
    padding: 22px 0;
  }

  .lj-tabs .lj-tab::before {
    top: 22px;
    bottom: 22px;
  }

  .lj-tabs .lj-tab__desc {
    display: none;
    max-width: none;
  }

  .lj-tabs .lj-tab.is-active .lj-tab__desc {
    display: block;
  }

  .lj-tabs .lj-mobile-panel {
    display: none !important;
    padding: 20px 0 28px;
  }

  .lj-tabs .lj-mobile-panel.is-active {
    display: block !important;
    animation: ljFadeIn 0.28s ease;
  }
}

@keyframes ljFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .lj-tabs .lj-tab {
    scroll-margin-top: 20px;
  }
}

/* =========================
   FOOTER CONTACT FORM
   ========================= */

.gform_heading,
.gfield_required {
	display: none !important;
}

.gf-contact-2col .gform_fields {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	column-gap: 32px !important;
	row-gap: 10px !important;
	align-items: start !important;
}

/* place fields */
.gf-contact-2col .field-name {
	grid-column: 1 !important;
	grid-row: 1 !important;
}

.gf-contact-2col .field-email {
	grid-column: 1 !important;
	grid-row: 2 !important;
}

.gf-contact-2col .field-message {
	grid-column: 2 !important;
	grid-row: 1 / span 2 !important;
}

/* reset widths on wrappers and inner containers */
.gf-contact-2col .gform_fields > .gfield,
.gf-contact-2col .gform_fields > .gfield > .ginput_container,
.gf-contact-2col .gform_fields > .gfield textarea,
.gf-contact-2col .gform_fields > .gfield input {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}

/* inputs */
.gf-contact-2col .gfield input,
.gf-contact-2col .gfield textarea {
	border: none;
	background: rgba(255,255,255,0.1);
	color: #fff;
	padding: 16px 18px;
	font-size: 16px;
	line-height: 1.4;
	border-radius: 6px;
}

.gf-contact-2col input[type="text"],
.gf-contact-2col input[type="email"] {
	height: 56px;
}

.gf-contact-2col .gfield_label {
	margin-bottom: 6px;
	display: block;
	font-size: 14px;
	line-height: 1.3;
	opacity: 0.9;
}

.gf-contact-2col .field-message textarea {
	height: 170px !important;
	min-height: 170px !important;
	padding-top: 16px;
	padding-bottom: 16px;
	line-height: 1.4;
	box-sizing: border-box;
	resize: vertical;
}
.gf-contact-2col .gform_footer,
.gf-contact-2col .gform_page_footer {
	margin-top: 20px;
}

/* mobile */
@media (max-width: 767px) {
	.gf-contact-2col .gform_fields {
		grid-template-columns: 1fr !important;
		row-gap: 14px !important;
	}

	.gf-contact-2col .field-name,
	.gf-contact-2col .field-email,
	.gf-contact-2col .field-message {
		grid-column: auto !important;
		grid-row: auto !important;
	}
}