/* ---------- Dropdown menus (Oct 28): set like the top menu ----------
   Jost in small spaced capitals at the top menu's weight, champagne-gold numbers, quiet hairlines between items and a
   thin gold rule that draws in on hover. Desktop: a crisp white panel with a soft shadow. Phones: the items indent
   under their heading in the same lettering as the phone menu. */
html body .nav-dropdown-menu a {
  font-family: var(--label-font); font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  line-height: 1.4; color: var(--navy-dark); text-decoration: none; white-space: nowrap;
  display: flex; align-items: baseline; gap: 0; position: relative; padding: 13px 22px; transition: color .2s ease, background-color .2s ease; }
html body .nav-dropdown-menu .nav-n { margin-right: 12px; font-size: 10px; font-weight: 500; letter-spacing: .12em; color: var(--brass); }
html body .nav-dropdown-menu li + li a { border-top: 1px solid rgba(21,48,79,.08); }
html body .nav-dropdown-menu a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 8px; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
html body .nav-dropdown-menu a:hover, html body .nav-dropdown-menu a:focus-visible { color: var(--brass-dark); background: transparent; }
html body .nav-dropdown-menu a:hover::after, html body .nav-dropdown-menu a:focus-visible::after { transform: scaleX(1); }
html body .nav-dropdown-menu a.nav-hot { color: var(--navy-dark); font-weight: 500; }
html body .nav-dropdown-menu .ne-arrow { margin-left: 6px; letter-spacing: 0; color: var(--brass); }
/* the first item (the page itself) reads a touch stronger, like a heading for the list */
html body .nav-dropdown-menu li:first-child a { font-weight: 500; }
@media (min-width: 981px) {
  html body .nav-dropdown-menu { padding: 8px 0; min-width: 240px; background: #FFFFFF; border: 1px solid rgba(21,48,79,.12); border-top: 2px solid var(--champagne);
    border-radius: 2px; box-shadow: 0 18px 40px rgba(8,27,51,.14); }
}
@media (max-width: 980px) {
  html body .nav-dropdown-menu { padding: 0 0 6px 14px; border: 0; border-left: 1px solid var(--champagne); margin: 2px 0 10px; background: transparent; box-shadow: none; }
  html body .nav-dropdown-menu a { font-size: 11.5px; padding: 12px 6px; }
  html body .nav-dropdown-menu a::after { left: 6px; right: 6px; }
}
html body .nav-dropdown-menu a:hover, html body .nav-dropdown-menu a:focus-visible, html body .nav-dropdown-menu a:active { background: transparent !important; }
html body .nav-dropdown-menu li { width: 100%; }
@media (max-width: 980px) {
  /* phones: same lettering as the phone menu above (Jost, regular case, lightly spaced) */
  html body .nav-dropdown-menu a { width: 100%; box-sizing: border-box; font-size: 12px; letter-spacing: .1em; text-transform: none; font-weight: 400; }
  html body .nav-dropdown-menu li:first-child a { font-weight: 500; }
  html body .nav-dropdown-menu .nav-n { font-size: 11px; }
}
/* "Meet your …" — last item in each discipline menu, with a small round portrait, opening the Meet Ariane Bibas section
   on the homepage (where her NMLS and DRE numbers sit beside each role) */
html body .nav-dropdown-menu a.nav-meet { align-items: center; color: var(--brass-dark, #6E5A17); font-weight: 500; }
html body .nav-dropdown-menu li:has(> a.nav-meet) a.nav-meet { border-top: 1px solid rgba(201,174,110,.55); }
html body .nav-dropdown-menu a.nav-meet img { flex: none; width: 26px; height: 26px; margin-right: 12px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1.5px var(--champagne), 0 0 0 3px #fff; }
html body .nav-dropdown-menu a.nav-meet .reg { font-size: .7em; vertical-align: super; letter-spacing: 0; }
@media (max-width: 980px) { html body .nav-dropdown-menu a.nav-meet { display: flex !important; flex-direction: row; align-items: center; } html body .nav-dropdown-menu a.nav-meet img { width: 24px; height: 24px; } }
/* Phones and tablets (Oct 29): bigger, easier-to-tap menu — top items 14px, dropdown items 13px, every row at least
   44px tall (a fingertip). */
@media (max-width: 980px) {
  html body .nav-links > li > a:not(.btn), html body .nav-links .nav-dropdown-toggle { font-size: 14px !important; min-height: 44px; display: flex; align-items: center; }
  html body .nav-dropdown-menu a, html body .nav-dropdown-menu a.nav-meet { font-size: 13px; min-height: 44px; display: flex !important; align-items: center; }
  html body .nav-dropdown-menu .nav-n { font-size: 12px; }
}
