/* ==========================================================================
   MOBILE MENU CONTAINER
   ========================================================================== */
.m-s-menu-c {
  position: fixed;
  top: 85px;
  right: 20px;
  z-index: 52;
  width: 100%;
  max-width: 280px;
  min-height: 400px;
  max-height: 80vh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.5rem 1rem;
  margin: 1rem 0;

  /* Visual Styling */
  background-color: var(--atf-semi-black);
  border: solid var(--atf-border-v1);
  border-width: 1px 1px 3px 2.5px;
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* Layout */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  /* Animation Initial State */
  opacity: 0;
  transform: translateX(calc(100% + 40px));
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}

/* ==========================================================================
   PRIMARY NAVIGATION LINKS
   ========================================================================== */
.m-nav * {
  width: 100%;
}

.m-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Primary Items Divider */
.m-nav li {
  border-bottom: 1px solid var(--atf-border-v1);
  padding: 0.4rem 0;
}

.m-nav a {
  color: var(--atf-OffWhite);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 300;
  background-color: transparent;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  text-align: start;
}

.m-nav a:focus,
.m-nav a:focus-visible {
  outline: none;
}

/* ==========================================================================
   ACTION BUTTON AREA
   ========================================================================== */
.m-btn-c,
.m-btn-c a {
  width: 100%;
  margin-top: auto;
}

.m-btn-c {
  padding-top: 1rem;
}

.m-btn-c a {
  text-align: center;
}

/* ==========================================================================
   OPEN STATE & RESPONSIVE BREAKPOINTS
   ========================================================================== */
.m-s-menu-c.is-open {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 751px) {
  .m-s-menu-c {
    display: none !important;
  }
}

@media (max-width: 750px) {
  .m-s-menu-c {
    display: none;
  }
}
