/* Practice Areas menu — shared by the home page and every practice page.
   Built on <details>, so it opens and closes without JavaScript. */
.pa { position: relative; }
.pa > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-family: Montserrat, system-ui, sans-serif; font-weight: 700;
  font-size: 15px; letter-spacing: .02em; white-space: nowrap;
  padding: 10px 4px; border-radius: 4px;
}
.pa > summary::-webkit-details-marker { display: none; }
.pa > summary::after {
  content: ""; width: 8px; height: 8px; margin-top: -4px;
  border-right: 2px solid #d4a847; border-bottom: 2px solid #d4a847;
  transform: rotate(45deg); transition: transform .15s;
}
.pa[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.pa > summary:hover { color: #d4a847; }
.pa .pa-list {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  min-width: 300px; margin: 0; padding: 8px; list-style: none;
  background: #14160f; border: 1px solid rgba(212,168,71,.45); border-radius: 6px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.8);
}
.pa .pa-list a {
  display: block; padding: 11px 14px; border-radius: 4px; text-decoration: none;
  color: #f3efe2; font-family: Montserrat, system-ui, sans-serif; font-size: 15.5px; font-weight: 600; line-height: 1.3;
}
.pa .pa-list a:hover, .pa .pa-list a:focus-visible { background: rgba(212,168,71,.14); color: #fff; }
.pa .pa-list a[aria-current="page"] { color: #d4a847; }
.pa .pa-list .ext { border-top: 1px solid rgba(212,168,71,.25); margin-top: 6px; padding-top: 6px; }
.pa .pa-list .ext small { display: block; font-size: 12.5px; font-weight: 500; color: #a9a38f; margin-top: 2px; }

/* Phone: a square menu button, and the list drops full width under the header. */
.pa.pa-m > summary {
  width: 40px; height: 40px; padding: 0; justify-content: center;
  border: 1px solid rgba(212,168,71,.6); gap: 0;
}
.pa.pa-m > summary::after { display: none; }
.pa.pa-m .bars, .pa.pa-m .bars::before, .pa.pa-m .bars::after {
  display: block; width: 18px; height: 2px; background: #d4a847; border-radius: 2px; position: relative; content: "";
}
.pa.pa-m .bars::before { position: absolute; top: -6px; }
.pa.pa-m .bars::after { position: absolute; top: 6px; }
.pa.pa-m[open] .bars { background: transparent; }
.pa.pa-m[open] .bars::before { top: 0; transform: rotate(45deg); }
.pa.pa-m[open] .bars::after { top: 0; transform: rotate(-45deg); }
.pa.pa-m .pa-list {
  position: fixed; left: 0; right: 0; top: var(--pa-top, 60px); min-width: 0;
  border-radius: 0; border-left: 0; border-right: 0; padding: 8px 10px 14px;
  max-height: calc(100vh - var(--pa-top, 60px)); overflow: auto;
}
.pa.pa-m .pa-list a { padding: 14px 12px; font-size: 17px; }
.pa .pa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* home page header extras */
.hdr-d .pa > summary { font-size: 15px; }
.hdr-about { color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.hdr-about:hover { color: #d4a847; }
/* keep the firm name whole on the home page header at desktop widths */
@media (min-width: 641px) {
  .site-header .lockup { flex-shrink: 0; }
  .hdr-d { gap: 18px; }
}
@media (min-width: 641px) and (max-width: 1080px) {
  .hdr-about { display: none; }
  .hdr-d .phone { font-size: 0; gap: 0; }
  .hdr-d .phone .icon { width: 22px; height: 22px; }
}
/* phone header on the home page: make room for the menu button without clipping the firm name */
@media (max-width: 640px) {
  .hdr-m { gap: 6px; }
  .hdr-m .call, .hdr-m .pa-m > summary { width: 36px; height: 36px; }
  .hdr-m .btn { height: 36px; padding: 0 9px; font-size: 10.5px; letter-spacing: .04em; }
}
@media (max-width: 380px) {
  .hdr-m .btn { display: none; }
}
