/* NIS NEST homepage region gate. Overlay only; does not restyle the page. */
a.nisnest-change-region {
  font-family: Inter, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html.nn-gate-on {
  overflow: hidden !important;
}
html.nn-gate-on body {
  overflow: hidden !important;
}

/* Dim as soon as the head boot script sets nn-gate-on, before the overlay node exists. */
html.nn-gate-on::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10040;
  background: rgba(7, 17, 38, 0.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

#nisnest-home-lock {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  background: transparent;
}
html.nn-gate-on #nisnest-home-lock {
  display: flex;
}

html.nn-redirecting {
  background: #F1F3EE;
}
html.nn-redirecting body {
  visibility: hidden !important;
}

.nisnest-lock-row {
  width: min(880px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .nisnest-lock-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
}
.nisnest-lock-btn,
a.nisnest-lock-btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  width: 100%;
  padding: 1.25rem 1rem;
  box-sizing: border-box;
  background: #071126;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(166, 124, 82, 0.4);
  font-family: "Noto Serif", "Times New Roman", serif;
  font-size: clamp(1.35rem, 4.4vw, 2rem);
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nisnest-lock-btn:hover,
.nisnest-lock-btn:focus-visible,
a.nisnest-lock-btn:hover,
a.nisnest-lock-btn:focus-visible {
  outline: 2px solid #A67C52;
  outline-offset: 3px;
  background: #0d1a38;
}
.nisnest-lock-dropdown {
  flex: 1 1 0;
  position: relative;
}
.nisnest-lock-menu {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10060;
  background: #071126;
  border: 1px solid rgba(166, 124, 82, 0.4);
}
.nisnest-lock-option {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 0.9rem 1rem;
  background: transparent;
  color: #ffffff;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: "Noto Serif", "Times New Roman", serif;
  font-size: clamp(1.1rem, 3.6vw, 1.35rem);
  text-align: left;
  cursor: pointer;
}
.nisnest-lock-option:last-child { border-bottom: 0; }
.nisnest-lock-option:hover,
.nisnest-lock-option:focus-visible {
  background: #0d1a38;
  color: #D9C1A3;
}

/* Become Member button: light cool grey, dark blue text (2026-11-13) */
a.nisnest-lock-btn.nisnest-lock-btn--member { background: #E5E8EC; color: #071126; }
a.nisnest-lock-btn.nisnest-lock-btn--member:hover,
a.nisnest-lock-btn.nisnest-lock-btn--member:focus-visible { background: #D5DAE0; color: #071126; }
