/* BRANCH & ATM LOCATOR — built on the ProvidusUnity Bank design system
   (gold #f5a800 · dark #212529 · Montserrat + Inter) */

/* HERO — extra bottom room for the overlapping search card */
.page-hero {
  padding-bottom: 118px;
}

/* SEARCH CARD (overlaps hero) */
.bl-search-wrap {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: -58px auto 0;
  padding: 0 80px;
}

.bl-search {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  box-shadow: 0 13px 35px rgba(20, 16, 0, 0.06);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

/* search fields reuse the shared form-field; only the label style differs */
.bl-search .form-field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a9a96;
}

/* locate button is a btn-gold; page adds only the busy-spinner state */
.bl-locate-btn {
  white-space: nowrap;
}

.bl-locate-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.bl-locate-btn.is-busy svg {
  animation: bl-spin 0.9s linear infinite;
}

@keyframes bl-spin {
  to {
    transform: rotate(360deg);
  }

}

.bl-geo-note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #9a9a96;
  min-height: 16px;
}

.bl-geo-note.is-error {
  color: #c0392b;
}

.bl-geo-note.is-ok {
  color: #2f8f5b;
}

/* Results */

.bl-count {
  font-size: 13.5px;
  color: #76766f;
}

.bl-count strong {
  color: #1a1a1a;
}

.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bl-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.3s;
  position: relative;
}

.bl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border-color: rgba(245, 168, 0, 0.35);
}

/* image-up thumbnail: shared map-thumb pattern, card-sized */
.bl-card-img {
  height: 128px;
  flex-shrink: 0;
}

.bl-card-pin {
  position: absolute;
  left: 55%;
  top: 45%;
  transform: translate(-50%, -100%);
  color: var(--gold);
}

.bl-card-pin svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.bl-card-img .bl-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}

.bl-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bl-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

.bl-badge.head {
  background: #1a1200;
  color: var(--gold);
}

.bl-badge.near {
  background: #e9f7ef;
  color: #2f8f5b;
}

.bl-card-state {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}

.bl-card h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.bl-card address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
  color: #6b6b6b;
  margin-bottom: 16px;
  flex: 1;
}

.bl-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bl-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.bl-card-link svg {
  width: 11px;
  height: 11px;
}

.bl-card-dist {
  font-size: 11.5px;
  font-weight: 700;
  color: #1a1a1a;
}

/* HEAD OFFICE — standalone featured card, outside the grid */
.bl-ho {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 1px 1px rgba(20, 16, 0, 0.02), 0 4px 13px rgba(20, 16, 0, 0.03);
  margin-bottom: 40px;
}

/* head-office map area reuses the shared map-thumb pattern */
.bl-ho-img {
  min-height: 440px;
}

.bl-ho-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bl-ho-body {
  padding: 36px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bl-ho-body .bl-badge.head {
  align-self: flex-start;
  margin-bottom: 14px;
}

.bl-ho-body h3 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 26px);
  color: #1a1a1a;
  margin-bottom: 10px;
}

.bl-ho-body address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: #6b6b6b;
  margin-bottom: 22px;
}

.bl-ho-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bl-empty {
  display: none;
  text-align: center;
  padding: 70px 24px;
  color: #9a9a96;
}

.bl-empty.is-visible {
  display: block;
}

.bl-grid.is-empty {
  display: none;
}

.bl-empty h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 6px;
}

/* Atm strip */
.bl-atm {
  background: linear-gradient(135deg, #1a1200 0%, #0d0d0d 60%);
  border-radius: 24px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.bl-atm::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 168, 0, 0.12) 0%, transparent 70%);
}

.bl-atm-eye {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  position: relative;
}

.bl-atm-eye span {
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.bl-atm h3 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 27px);
  color: #fff;
  line-height: 1.25;
  position: relative;
  margin-bottom: 10px;
}

.bl-atm p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 480px;
  position: relative;
}

.bl-atm-actions {
  position: relative;
}

/* SEE ALSO (shared "next-card" pattern — matches about.html) */
.bl-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

/* Cta band */

/* Responsive */
@media (max-width: 1100px) {



  .bl-search-wrap,
  .page-sec {
    padding-left: 40px;
    padding-right: 40px;
  }

  .bl-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bl-next {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 760px) {

  .page-hero {
    padding-bottom: 130px;
  }

  .bl-search-wrap {
    padding: 0 24px;
    margin-top: -84px;
  }

  .bl-search {
    grid-template-columns: 1fr;
  }



  .bl-grid {
    grid-template-columns: 1fr;
  }

  .bl-ho {
    grid-template-columns: 1fr;
  }

  .bl-ho-img {
    min-height: 280px;
  }

  .bl-ho-body {
    padding: 28px 24px;
  }

  .bl-atm {
    grid-template-columns: 1fr;
    padding: 34px 26px;
  }

  .bl-next {
    grid-template-columns: 1fr;
  }


}
