.branch-page {
  font-family:IRanSansX,Tahoma,sans-serif;
  color:#526077;
  background:#f6f8fc;
  padding-bottom:70px
}
.branch-page h1,.branch-page h2,.branch-page h3 {
  font-family:inherit;
  color:#172e5c
}
.branch-hero {
  padding:36px 0 42px;
  background:linear-gradient(120deg,#e7effb,#fff);
  border-bottom:1px solid #e2e9f3
}
.branch-crumb {
  display:flex;
  gap:10px;
  font-size:13px;
  margin-bottom:24px
}
.branch-crumb a {
  color:#65748b
}
.branch-hero h1 {
  font-size:clamp(30px,4vw,44px);
  font-weight:800;
  margin:12px 0 15px
}
.branch-hero p {
  line-height:2;
  margin:0;
  font-size:15px
}
.branch-eyebrow {
  color:#325d9c;
  font-size:13px
}
.branch-workspace {
  padding-top:32px
}
.branch-toolbar {
  display:grid;
  grid-template-columns:1fr 260px;
  gap:18px;
  background:#fff;
  padding:22px;
  border:1px solid #e0e7f1;
  border-radius:18px;
  margin-bottom:26px
}
.branch-field label {
  display:block;
  font-size:13px;
  color:#172e5c;
  font-weight:bold;
  margin-bottom:9px
}
.branch-field input,.branch-field select {
  font:inherit;
  font-size:14px;
  width:100%;
  padding:12px 14px;
  min-height:48px;
  border:1px solid #dbe3ee;
  border-radius:10px;
  background:#f9fbfe;
  color:#354760
}
.branch-field input:focus,.branch-field select:focus {
  outline:2px solid #325d9c;
  outline-offset:2px
}
.branch-explorer {
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);
  gap:24px;
  align-items:stretch
}
.branch-panel {
  background:#172e5c;
  border-radius:22px;
  padding:30px;
  color:#e3eaf5;
  display:flex;
  flex-direction:column
}
.branch-panel h2,.branch-panel h3 {
  color:#fff
}
.branch-panel h2 {
  font-size:26px;
  margin-bottom:12px
}
.branch-panel-label {
  font-size:12px;
  color:#b8c9e6;
  margin-bottom:14px
}
.branch-panel-intro {
  line-height:2;
  font-size:14px
}
.branch-details {
  margin-top:18px;
  overflow:auto;
  max-height:420px
}
.branch-detail {
  padding:20px 0;
  border-top:1px solid #ffffff26
}
.branch-detail h3 {
  font-size:20px;
  margin-bottom:18px
}
.branch-detail dl {
  display:grid;
  grid-template-columns:72px 1fr;
  gap:12px;
  font-size:14px;
  line-height:1.9;
  margin:0
}
.branch-detail dt {
  color:#9fb5d7;
  font-weight:normal
}
.branch-detail dd {
  margin:0;
  overflow-wrap:anywhere
}
.branch-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px
}
.branch-actions a {
  padding:9px 14px;
  border-radius:9px;
  color:#172e5c;
  background:#fff;
  font-size:13px
}
.branch-actions a:focus-visible {
  outline:2px solid #fff;
  outline-offset:4px
}
.branch-map {
  background:#fff;
  border:1px solid #e0e7f1;
  border-radius:22px;
  padding:24px;
  position:relative
}
.branch-map h2 {
  font-size:17px;
  font-weight:bold;
  margin-bottom:8px
}
.branch-map p {
  font-size:12px;
  color:#7c899e
}
.branch-map svg {
  width:100%;
  height:auto;
  max-height:450px;
  display:block;
  margin:0 auto
}
.branch-map path {
  fill:#e5ebf5;
  stroke:#fff;
  stroke-width:2;
  cursor:pointer;
  transition:fill .2s
}
.branch-map path[data-available="true"] {
  fill:#afc3e2
}
.branch-map path:hover,.branch-map path:focus-visible {
  fill:#527eb7;
  outline:none;
  stroke:#172e5c;
  stroke-width:2
}
.branch-map path[aria-pressed="true"] {
  fill:#172e5c
}
.branch-map-legend {
  display:flex;
  gap:18px;
  font-size:12px;
  align-items:center;
  margin-top:12px
}
.branch-map-legend span {
  display:flex;
  gap:7px;
  align-items:center
}
.branch-map-legend i {
  width:10px;
  height:10px;
  border-radius:3px;
  background:#afc3e2
}
.branch-map-legend span:last-child i {
  background:#172e5c
}
.branch-list-heading {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin:36px 0 20px
}
.branch-list-heading h2 {
  font-size:21px;
  margin:0;
  font-weight:bold
}
.branch-count {
  font-size:13px
}
.branch-cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px
}
.branch-list-card {
  width:100%;
  text-align:right;
  background:#fff;
  color:#526077;
  border:1px solid #e0e7f1;
  border-radius:16px;
  padding:22px;
  font-family:inherit;
  cursor:pointer
}
.branch-list-card strong {
  display:block;
  color:#172e5c;
  font-size:18px;
  margin-bottom:9px
}
.branch-list-card span {
  display:block;
  font-size:13px;
  line-height:1.9
}
.branch-list-card small {
  display:block;
  color:#325d9c;
  margin-top:14px
}
.branch-list-card:hover,.branch-list-card:focus-visible {
  border-color:#325d9c;
  outline:2px solid #325d9c;
  outline-offset:2px
}
.branch-empty {
  background:#fff;
  border:1px dashed #cdd8e7;
  border-radius:16px;
  padding:30px;
  text-align:center;
  font-size:14px
}
.branch-empty[hidden] {
  display:none
}
@media(max-width:991px) {
  .branch-explorer {
    grid-template-columns:1fr 1fr
  }
  .branch-panel {
    padding:24px
  }
  .branch-cards {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:767px) {
  .branch-toolbar,.branch-explorer {
    grid-template-columns:1fr
  }
  .branch-map {
    grid-row:1
  }
  .branch-map svg {
    max-height:340px
  }
  .branch-panel {
    padding:24px
  }
  .branch-cards {
    grid-template-columns:1fr
  }
  .branch-toolbar {
    padding:18px
  }
  .branch-hero {
    padding:28px 0 34px
  }
}
@media(prefers-reduced-motion:reduce) {
  .branch-map path {
    transition:none
  }
}
.branch-hero  {
  background-color: #f5f7fb;
  background-image: url("../../img/branches-bg.png?v=22");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
