/* Texas-only location nav: Texas first, Arizona and California under "Other locations".
   Linked only from Texas URLs. Does not change other pages. */
body.tx-nav details.tx-other-locs{margin:0}
body.tx-nav details.tx-other-locs > summary{
  list-style:none;cursor:pointer;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:8px
}
body.tx-nav details.tx-other-locs > summary::-webkit-details-marker{display:none}
body.tx-nav details.tx-other-locs > summary::after{content:"+";font-weight:400;color:var(--accent);line-height:1}
body.tx-nav details.tx-other-locs[open] > summary::after{content:"\2212"}

/* Desktop Loans mega menu, locations column */
body.tx-nav .mega-grid details.tx-other-locs{margin-top:18px}
body.tx-nav .mega-grid details.tx-other-locs > summary{
  font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-2);padding:0
}
body.tx-nav .mega-grid details.tx-other-locs > summary::after{font-size:18px}
body.tx-nav .mega-grid details.tx-other-locs[open] > .dd-h{margin-top:14px}

/* Mobile menu, nested under Locations */
body.tx-nav .mgrp details.tx-other-locs{border-bottom:none;margin:0 0 8px;padding:0}
body.tx-nav .mgrp details.tx-other-locs > summary{
  padding:10px 12px;font-size:16px;color:var(--ink-2)
}
body.tx-nav .mgrp details.tx-other-locs > summary::after{font-size:20px}
body.tx-nav .mgrp details.tx-other-locs ul{padding-bottom:4px}

/* Footer */
body.tx-nav .ftr nav[aria-label="Locations"] details.tx-other-locs{margin-top:14px}
body.tx-nav .ftr nav[aria-label="Locations"] details.tx-other-locs > summary{
  font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:inherit;padding:0 0 8px;opacity:.9
}
body.tx-nav .ftr nav[aria-label="Locations"] details.tx-other-locs > summary::after{font-size:16px;opacity:.9}
body.tx-nav .ftr nav[aria-label="Locations"] details.tx-other-locs ul{list-style:none;margin:0;padding:0}

/* Keep the Loans mega on screen at 1440: Texas list scrolls, Other locations stays pinned. */
@media(min-width:1200px){
  body.tx-nav .dd.mega{max-height:calc(100vh - 88px);overflow:hidden}
  body.tx-nav .mega-grid{max-height:calc(100vh - 88px - 52px);align-items:stretch}
  body.tx-nav .tx-locs-col{
    display:flex;flex-direction:column;min-height:0;max-height:calc(100vh - 88px - 52px);overflow:hidden
  }
  body.tx-nav .tx-locs-col > ul{flex:1 1 auto;min-height:220px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}
  body.tx-nav .tx-locs-col > details.tx-other-locs{flex:0 0 auto;margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}
  body.tx-nav .tx-locs-col > details.tx-other-locs[open]{
    flex:1 1 42%;min-height:120px;overflow-y:auto;overscroll-behavior:contain
  }
}
