/* ── Burger button ─────────────────────────────────────────── */
.burgerlink {
  float: right;
  padding-top: 25px;
  padding-right: 20px;
  font-size: 30px;
  cursor: pointer;
  display: none;
  color: #646853;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 200000;
  line-height: 1;
}

/* ── Backdrop (semi-transparent, behind drawer) ────────────── */
#mob-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 199998;
}
#mob-nav-backdrop.open { display: block; }

/* ── Slide-in drawer ───────────────────────────────────────── */
#myNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 310px;
  max-width: 92vw;
  height: 100%;
  background: #646853;
  z-index: 199999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 4px 0 20px rgba(0,0,0,0.3);
}
#myNav.open {
  transform: translateX(0);
}

/* ── Drawer header row ─────────────────────────────────────── */
.mob-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mob-nav-header a img {
  height: 38px;
  width: auto;
  display: block;
}
.mob-nav-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.mob-nav-close:hover { color: #9eb092; }

/* ── Nav items ─────────────────────────────────────────────── */
.mob-nav-list {
  list-style: none;
  margin: 0;
  padding: 6px 0 24px;
}
.mob-nav-list > li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Top-level link row */
.mob-nav-row {
  display: flex;
  align-items: stretch;
}
.mob-nav-row > a {
  flex: 1;
  padding: 13px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s;
}
.mob-nav-row > a:hover,
.mob-nav-row > a:focus { background: rgba(255,255,255,0.1); color: #fff; }

/* Toggle arrow for items with children */
.mob-nav-toggle {
  background: none;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  width: 46px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  padding: 0;
  flex-shrink: 0;
}
.mob-nav-toggle:hover { background: rgba(255,255,255,0.12); }
.mob-nav-toggle[aria-expanded="true"] { color: #fff; }
.mob-nav-toggle[aria-expanded="true"] .mob-chev::before { content: '\2212'; }
.mob-chev::before { content: '\002B'; font-style: normal; }

/* Sub-menu list */
.mob-nav-sub {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 4px 0;
  background: rgba(0,0,0,0.18);
}
.mob-nav-sub.open { display: block; }
.mob-nav-sub li a {
  display: block;
  padding: 10px 18px 10px 30px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 19px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s, color 0.15s;
}
.mob-nav-sub li a:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Active state */
.mob-nav-row > a.mob-nav-active { color: #c8d8a0; }
