/* One top menu for every public MinistryMind page. Markup lives in each page (see nav.mjs-style snippet in index.html). */
.mmnav { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.mmnav .mm-mark { display: flex; align-items: center; gap: 10px; font: 800 18px/1 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: -0.03em; color: #f4f4f6; text-decoration: none; white-space: nowrap; }
.mmnav .mm-mark img { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.mmnav .mm-mark span { font-weight: 400; color: #9a9aa6; }
.mmnav .mm-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.mmnav .mm-links a { font: 500 14px Inter, -apple-system, sans-serif; color: #9a9aa6; text-decoration: none; white-space: nowrap; transition: color .15s; }
.mmnav .mm-links a:hover, .mmnav .mm-links a[aria-current] { color: #f4f4f6; }
.mmnav .mm-right { display: flex; align-items: center; gap: 8px; }
.mmnav .mm-acct { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: 999px; font: 600 14px Inter, -apple-system, sans-serif; color: #fff; text-decoration: none; white-space: nowrap;
  background: rgba(99,102,241,.18); border: 1px solid rgba(99,102,241,.45); transition: background .15s; }
.mmnav .mm-acct:hover, .mmnav .mm-acct[aria-current] { background: rgba(99,102,241,.32); }
.mmnav .mm-acct svg { width: 15px; height: 15px; flex: none; }
.mmnav .mm-menu { display: none; position: relative; }
.mmnav .mm-menu summary { list-style: none; width: 40px; height: 38px; display: grid; place-items: center; border-radius: 12px; cursor: pointer; color: #f4f4f6;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); }
.mmnav .mm-menu summary::-webkit-details-marker { display: none; }
.mmnav .mm-menu summary svg { width: 18px; height: 18px; }
.mmnav .mm-menu .x { display: none; }
.mmnav .mm-menu[open] .x { display: block; }
.mmnav .mm-menu[open] .bars { display: none; }
.mmnav .mm-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 8px; border-radius: 16px; background: #16161c; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.7); display: grid; }
.mmnav .mm-panel a { padding: 12px 14px; border-radius: 10px; font: 500 15.5px Inter, -apple-system, sans-serif; color: #f4f4f6; text-decoration: none; }
.mmnav .mm-panel a:hover, .mmnav .mm-panel a[aria-current] { background: rgba(255,255,255,.07); }
@media (max-width: 760px) {
  .mmnav { padding: 16px 0; }
  .mmnav .mm-links { display: none; }
  .mmnav .mm-menu { display: block; }
}
@media (max-width: 420px) {
  .mmnav { gap: 10px; }
  .mmnav .mm-mark { font-size: 16px; gap: 8px; }
  .mmnav .mm-mark img { width: 28px; height: 28px; }
  .mmnav .mm-mark span { display: none; }
  .mmnav .mm-right { gap: 6px; }
  .mmnav .mm-acct { padding: 0 12px; font-size: 13.5px; }
}
@media (max-width: 340px) {
  .mmnav .mm-acct { width: 38px; padding: 0; justify-content: center; font-size: 0; }
}
