/* Requested navigation panels; home content and layout are unchanged. */
.member-menu-search { display: flex; align-items: center; gap: 12px; width: min(360px,100%); margin: 0 0 25px auto; padding: 0 15px; border: 1px solid #ddd; border-radius: 6px; }
.member-menu-search input { border: 0; padding: 12px 0; width: 100%; min-width: 0; font-size: .82rem; }
.member-menu-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; border-top: 1px solid #ddd; margin-top: 30px; padding-top: 25px; font-size: .82rem; }
.member-menu-bottom > span { margin-left: auto; }
.member-menu-bottom i, .member-menu-bottom span a { color: #a51008; }
.member-operations-grid a[hidden] { display: none; }
.nav-branch-dropdown { position: static; }
.branch-mega-menu { left: 50%; right: auto; top: 100%; transform: translateX(-50%); width: min(1320px, calc(100vw - 48px)); max-height: calc(100dvh - 150px); overflow: auto; padding: 0; border: 1px solid #e4e5e8; border-radius: 12px; box-shadow: 0 12px 32px #15192224; text-transform: none; }
.branch-mega-menu::before { display: none; }
.nav-branch-dropdown:hover .branch-mega-menu, .nav-branch-dropdown.is-open .branch-mega-menu { transform: translateX(-50%); }
.branch-mega-menu .branch-directory { padding: 0; background: #fff; }
.branch-directory-panel { width: 100%; padding: 28px 38px; background: #fff; border: 1px solid #e4e5e8; border-radius: 10px; }
.branch-mega-menu .branch-directory-panel { border: 0; box-shadow: none; }
.branch-mega-menu .branch-directory-intro { grid-template-columns: .85fr 1.7fr; gap: 65px; padding-bottom: 20px; margin-bottom: 22px; }
.branch-mega-menu .branch-directory-intro .branch-directory-title { font-size: 1.8rem; margin: 10px 0; }
.branch-mega-menu .branch-directory-intro p { font-size: .86rem; }
.branch-mega-menu .branch-map svg { max-height: 265px; }
.branch-directory:not(.has-selected-branch) .branch-column:first-child { grid-column: 1; grid-row: 1 / span 2; }
.branch-directory:not(.has-selected-branch) .branch-column:nth-child(2) { grid-column: 2; grid-row: 1; }
.branch-directory:not(.has-selected-branch) .branch-column:nth-child(3) { grid-column: 3; grid-row: 1; }
.branch-directory:not(.has-selected-branch) .branch-directory-help { grid-row: 2; align-self: end; }
.branch-mega-menu .branch-map-status { margin: 0; min-height: 22px; font-size: .75rem; }
.branch-columns { grid-template-columns: repeat(3, minmax(0,1fr)); position: relative; align-items: start; }
.branch-columns .branch-column h2 { font-size: .86rem; margin-bottom: 14px; }
.branch-columns .branch-column h2 i { color: #a51008; }
.branch-columns .branch-link { display: flex; align-items: center; justify-content: space-between; min-height: 33px; padding: 6px 14px; margin-bottom: 5px; font-size: .76rem; border: 1px solid #e4e5e8; border-radius: 5px; background: #fff; color: #151922; white-space: normal; }
.branch-columns .branch-link:hover, .branch-columns .branch-link.is-active, .branch-columns .branch-all-link { border-color: #e2a39e; background: #fcf4f3; color: #a51008; }
.branch-columns .branch-detail-card { grid-column: auto; position: relative; margin: 0; padding: 22px; }
.branch-detail-card h3 { padding-right: 20px; font-size: .95rem; margin-bottom: 18px; }
.branch-detail-card dl { font-size: .76rem; }
.branch-detail-card dt { margin-top: 14px; color: #a51008; }
.branch-detail-card dt i { width: 23px; }
.branch-detail-card dd { margin: 5px 0 0 23px; }
.branch-detail-card .button-primary, .branch-detail-card .button-outline { width: 100%; display: flex; justify-content: center; margin-top: 8px; font-size: .76rem; padding: 8px 10px; }
.branch-panel-close { position: absolute; right: 12px; top: 12px; background: none; border: 0; }
.branch-directory.has-selected-branch .branch-columns { grid-template-columns: repeat(3,minmax(0,1fr)) 1.15fr; gap: 22px; }
.branch-directory-help { display: flex; align-items: center; gap: 22px; grid-column: 2 / 4; justify-self: end; max-width: 460px; padding: 24px; border: 1px solid #e2a39e; border-radius: 6px; background: #fcf4f3; }
.branch-directory-help > i { font-size: 1.7rem; color: #a51008; }
.branch-directory-help p { margin: 0 0 15px; font-size: .82rem; }
.branch-directory.has-selected-branch .branch-directory-help { display: none; }
.branch-location-panel { grid-column: 3 / 5; border: 1px solid #e4e5e8; border-radius: 7px; overflow: hidden; }
.branch-location-panel > header { display: flex; justify-content: space-between; padding: 13px 18px; background: #fafafa; }
.branch-location-panel h3 { font-size: .9rem; margin: 0; }
.branch-location-panel header button { background: none; border: 0; }
.branch-location-map { height: 410px; position: relative; background: #f2f0eb; }
.branch-location-map iframe { width: 100%; height: 100%; border: 0; }
.branch-location-caption { position: absolute; bottom: 14px; left: 14px; width: min(270px,calc(100% - 28px)); padding: 15px; background: #fffffff5; border: 1px solid #df9b96; border-radius: 7px; font-size: .76rem; }
.branch-location-caption h4 { color: #a51008; font-size: .88rem; }
.branch-location-caption a, .branch-location-caption button { display: flex; justify-content: center; width: 100%; margin-top: 7px; font-size: .72rem; }
.branch-directory.is-showing-location .branch-column:nth-child(3), .branch-directory.is-showing-location .branch-detail-card { display: none; }
.branch-location-panel[hidden], .branch-detail-card[hidden] { display: none; }
@media (max-width: 1100px) {
  .nav-branch-dropdown:hover .branch-mega-menu, .nav-branch-dropdown.is-open .branch-mega-menu { transform: none; }
  .branch-mega-menu { position: static; transform: none; width: 100%; max-height: none; margin: 0; box-shadow: none; }
  .branch-mega-menu .branch-directory-intro { grid-template-columns: 1fr 1.5fr; gap: 24px; }
  .branch-directory-panel { padding: 24px; }
  .branch-directory.has-selected-branch .branch-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .branch-location-panel { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .branch-directory:not(.has-selected-branch) .branch-column:nth-child(n), .branch-directory:not(.has-selected-branch) .branch-directory-help { grid-column: auto; grid-row: auto; }
  .branch-mega-menu .branch-directory-intro { grid-template-columns: 1fr; gap: 8px; }
  .branch-directory-panel { padding: 20px 14px; }
  .branch-columns, .branch-directory.has-selected-branch .branch-columns { grid-template-columns: 1fr; }
  .branch-directory-help { grid-column: auto; }
  .branch-location-panel { grid-column: auto; }
  .branch-location-map { height: 450px; }
}
