
/* =========================================
   FIRST CAPITAL BANK
   BRANCH & ATM LOCATOR
========================================= */

.branch-page-hero {
  background: #f4f7f5;
  padding: 25px 0 76px;
  border-bottom: 1px solid #e1e8e3;
}

.branch-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 62px;
  color: #78847e;
  font-size: 13px;
}

.branch-breadcrumb a {
  color: #52645a;
  text-decoration: none;
}

.branch-breadcrumb a:hover {
  color: #07543f;
  text-decoration: underline;
}

.branch-hero-content {
  max-width: 760px;
}

.branch-hero-content .eyebrow,
.branch-section-heading .eyebrow,
.branch-download-panel .eyebrow,
.branch-contact-inner .eyebrow {
  display: block;
  margin-bottom: 13px;
  color: #08734f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.branch-hero-content h1 {
  margin: 0 0 18px;
  color: #123d30;
  font-family: Manrope, sans-serif;
  font-size: clamp(38px, 5vw, 59px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.12;
}

.branch-hero-content p {
  max-width: 620px;
  margin: 0;
  color: #627168;
  font-size: 17px;
  line-height: 1.8;
}

.branch-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-bottom: 7px;
  border-bottom: 1px solid #08734f;
  color: #07543f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.branch-download:hover {
  color: #08734f;
}

/* Shared section headings */

.branch-head-office,
.branch-directory-section,
.branch-atm-section {
  padding: 76px 0;
}

.branch-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.branch-section-heading h2 {
  margin: 0 0 11px;
  color: #173e31;
  font-family: Manrope, sans-serif;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
}

.branch-section-heading p {
  max-width: 660px;
  margin: 0;
  color: #69776f;
  font-size: 14px;
  line-height: 1.8;
}

/* Head office */

.branch-office-panel {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  padding: 34px;
  border: 1px solid #e1e8e3;
  background: #fff;
}

.branch-office-mark {
  display: flex;
  width: 65px;
  height: 65px;
  align-items: center;
  justify-content: center;
  background: #edf4ef;
}

.branch-office-details h3 {
  margin: 0 0 24px;
  color: #183d30;
  font-family: Manrope, sans-serif;
  font-size: 21px;
}

.branch-placeholder-label {
  display: inline-block;
  margin-bottom: 9px;
  color: #8a754d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.branch-office-information {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 35px;
}

.branch-info-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.branch-info-icon {
  display: flex;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  align-items: center;
  justify-content: center;
  background: #f0f5f1;
  color: #07543f;
  font-size: 16px;
}

.branch-info-item strong {
  display: block;
  margin-bottom: 6px;
  color: #344c3e;
  font-size: 12px;
}

.branch-info-item p {
  margin: 0;
  color: #68766d;
  font-size: 13px;
  line-height: 1.7;
}

/* Directory */

.branch-directory-section {
  background: #f7f9f7;
  border-top: 1px solid #e9eeea;
  border-bottom: 1px solid #e9eeea;
}

.branch-directory-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #77857c;
  font-size: 11px;
  white-space: nowrap;
}

.branch-directory-count strong {
  color: #07543f;
  font-family: Manrope, sans-serif;
  font-size: 31px;
  line-height: 1.1;
}

.branch-accordion {
  border-top: 1px solid #dce5de;
}

.branch-region {
  border-bottom: 1px solid #dce5de;
}

.branch-region summary {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 20px 5px;
  cursor: pointer;
  list-style: none;
}

.branch-region summary::-webkit-details-marker {
  display: none;
}

.branch-region-name {
  flex: 1;
  color: #193e31;
  font-family: Manrope, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.branch-region-count {
  color: #849188;
  font-size: 12px;
}

.branch-chevron {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-right: 1.5px solid #07543f;
  border-bottom: 1.5px solid #07543f;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.branch-region[open] .branch-chevron {
  transform: rotate(225deg);
}

.branch-region-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 38px;
  padding: 0 5px 25px;
}

.branch-entry {
  padding: 23px 0;
  border-top: 1px solid #e3eae4;
}

.branch-entry h3 {
  margin: 0 0 15px;
  color: #254a3b;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.branch-entry-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 0;
  color: #718077;
  font-size: 12px;
  line-height: 1.65;
}

.branch-entry-detail span {
  width: 15px;
  flex: 0 0 15px;
  color: #08734f;
  text-align: center;
}

.branch-directory-note {
  margin: 22px 0 0;
  color: #7a867e;
  font-size: 12px;
  line-height: 1.8;
}

/* ATM table */

.branch-table-wrap {
  overflow-x: auto;
  border: 1px solid #e1e8e3;
  background: #fff;
}

.branch-atm-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.branch-atm-table th {
  padding: 17px 20px;
  background: #f4f7f5;
  color: #596b60;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
}

.branch-atm-table td {
  padding: 19px 20px;
  border-top: 1px solid #e8ede9;
  color: #4c5e53;
  font-size: 13px;
  white-space: nowrap;
}

.branch-atm-table tbody tr:hover {
  background: #fafcfb;
}

/* Download panel */

.branch-download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 42px;
  padding: 30px;
  background: #f4f7f5;
  border: 1px solid #e5ebe6;
}

.branch-download-panel h3 {
  margin: 0 0 8px;
  color: #173e31;
  font-family: Manrope, sans-serif;
  font-size: 19px;
}

.branch-download-panel p {
  margin: 0;
  color: #718077;
  font-size: 13px;
  line-height: 1.7;
}

.branch-download-panel .button {
  flex: 0 0 auto;
  cursor: pointer;
}

/* Contact section */

.branch-contact-section {
  padding: 65px 0;
  background: #07543f;
}

.branch-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.branch-contact-inner .eyebrow {
  color: #b8d7c6;
}

.branch-contact-inner h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: clamp(26px, 3vw, 34px);
}

.branch-contact-inner p {
  max-width: 580px;
  margin: 0;
  color: #d1e1d8;
  font-size: 13px;
  line-height: 1.8;
}

.branch-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.branch-contact-actions .button--green {
  background: #fff;
  color: #07543f;
  border-color: #fff;
}

.branch-contact-actions .button--ghost {
  border-color: rgba(255,255,255,.55);
  color: #fff;
}

/* Responsive */

@media (max-width: 850px) {
  .branch-region-content {
    grid-template-columns: 1fr;
  }

  .branch-contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .branch-page-hero {
    padding: 20px 0 54px;
  }

  .branch-breadcrumb {
    margin-bottom: 42px;
    font-size: 11px;
  }

  .branch-hero-content h1 {
    letter-spacing: -1px;
  }

  .branch-hero-content p {
    font-size: 14px;
  }

  .branch-head-office,
  .branch-directory-section,
  .branch-atm-section {
    padding: 54px 0;
  }

  .branch-office-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 23px;
  }

  .branch-office-information {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .branch-region summary {
    gap: 10px;
  }

  .branch-region-name {
    font-size: 14px;
  }

  .branch-region-count {
    font-size: 10px;
  }

  .branch-directory-heading {
    align-items: flex-start;
  }

  .branch-download-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 23px;
  }

  .branch-download-panel .button {
    width: 100%;
  }

  .branch-contact-actions {
    width: 100%;
    flex-direction: column;
  }

  .branch-contact-actions .button {
    width: 100%;
    text-align: center;
  }

  .branch-atm-table th,
  .branch-atm-table td {
    padding: 14px;
  }
}
