/* =========================================================================
   NS Support — Get Started modal (pixel-match to Figma redesign 7/22)
   Opens from header CTA (.js-get-started). Desktop 760 / mobile 320.
   Loaded globally via styles/compound (functions.php), last in the cascade.
   ========================================================================= */

.gsm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  box-sizing: border-box;
}

.gsm-overlay[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.gsm-overlay *,
.gsm-overlay *::before,
.gsm-overlay *::after {
  box-sizing: border-box;
}

.gsm {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 760px;
  max-height: 95vh;
  background: #fff;
  padding: 40px;
  font-family:
    "Source Sans 3", "Source Sans Pro", "Public Sans", Arial, sans-serif;
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

.gsm-overlay[data-open="true"] .gsm {
  transform: translateY(0);
}

/* close X (top-right) */
.gsm-x {
  position: absolute;
  top: 12px;
  right: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: #808080;
  cursor: pointer;
  line-height: 0;
  transition: color 0.15s ease;
}


/* scroll region (cards) */
.gsm-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* padding-right: 4px; */
  /* Hide scrollbar while keeping scroll functionality */
  -ms-overflow-style: none; /* Internet Explorer & Edge */
  scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari, and other Webkit browsers */
.gsm-scroll::-webkit-scrollbar {
  display: none;
}

.gsm-title {
  margin: 0 0 24px;
  font-size: 36px;
  line-height: 1.05;
  font-weight: 600;
  color: #003f73;
}

/* ---- resource card ---- */
.gsm-card {
  padding: 30px;
  margin-bottom: 24px;
  background: linear-gradient(270deg, rgba(234, 236, 238, 0.20) 0%, #EAECEE 100%);

}

.gsm-card:last-child {
  margin-bottom: 0;
}

.gsm-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.gsm-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--nsh-cyan, #00adee);
}

.gsm-card-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  color: #000;
}

/* brand logo slot (right) — fill with an <img> */
.gsm-card-logo {
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-block;
  max-height: 50px;
}

.gsm-card-logo img {
  display: block;
  max-height: 50px;
  width: auto;
}
.gsm-card-logo svg {
  max-height: 36px;
  width: auto;
}
.gsm-card-copy {
  margin: 0 0 16px;
  font-size: 21px;
  line-height: 1.42;
  font-weight: 400;
  color: #000;
}

/* download links */
.gsm-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 33px;
}

.gsm-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: var(--nsh-navy, #00406d);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.gsm-link:hover, 
.gsm-link:focus-visible,
.gsm-link:focus {
  color: var(--nsh-navy, #00406d);
  text-decoration: underline;
  text-decoration-color: #00adee;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
  transition: text-decoration-color 0.3s ease, text-decoration-thickness 0.3s ease, text-underline-offset 0.3s ease;
 
}
.gsm-link:focus .gsm-link-icon {
  color: #00adee;
}
.gsm-link:focus-visible .gsm-link-icon {
  color: #00adee;
}
.gsm-link:hover .gsm-link-icon {
  color: #00adee;
}

.gsm-link-icon {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  margin-left: -1px;
}

.gsm-es {
  /* color: #FF04D5; */
}

/* ---- footer / Close button (outlined, angled notch) ---- */
.gsm-foot {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.gsm-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 40px;
  font-family: inherit;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: var(--nsh-navy, #00406d);
  background: #fff;
  border-radius: 0 10px;
  border: 1px solid var(--Navy, #00406d);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.gsm-close-btn:hover,
.gsm-close-btn:focus-visible,
.gsm-close-btn:focus {
  background: #00406d;
  color: white;
}

/* prevent body scroll behind the modal */
body.gsm-open {
  overflow: hidden;
}
/* a.gsm-link.gsm-link-highlight{
  color: #FF04D5;
} */

/* =========================================================================
   Mobile (<= 768px)
   ========================================================================= */
@media (max-width: 768px) {
  .gsm-overlay {
    padding: 0;
    align-items: stretch;
  }

  .gsm {
    max-width: none;
    max-height: 100vh;
    height: 100%;
    padding: 20px;
    margin: 0 20px;
  }

  .gsm-title {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 20px;
  }

  .gsm-card {
    padding: 20px;
    margin-bottom: 20px;
  }
  .gsm-card-title {
    font-size: 18px;
    line-height: 21px;
  }

  .gsm-card-head {
    gap: 12px;
  }
  .gsm-card-copy {
    font-size: 16px;
    line-height: 24px;
	margin-right: -2px;
  }

  /* brand logos hidden on mobile per design */
  .gsm-card-logo {
    display: none;
  }

  /* stack the download links */
  .gsm-links {
    flex-direction: column;
    gap: 12px;
  }

  .gsm-link {
    font-size: 16px;
	text-underline-offset: 4px;
  }
  .gsm-link-icon svg{
	width: 10px;
    height: 24px;
  }
  .gsm-icon {
    width: 36px;
    height: 36px;
  }
}
