/* Remit Exchange Branches page refresh */
:root {
  --remit-branch-blue: #062d68;
  --remit-branch-deep: #041c43;
  --remit-branch-orange: #ff9f1c;
  --remit-branch-ink: #10233f;
  --remit-branch-muted: #63718a;
  --remit-branch-line: #e3eaf3;
}

body.page-template-branches { background: #f6f9fd; color: var(--remit-branch-ink); }
body.page-template-branches .remit-branches-hero { min-height: 330px; display: flex; align-items: center; position: relative; overflow: hidden; background-position: center 42%; }
body.page-template-branches .remit-branches-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,24,66,.9), rgba(3,24,66,.42) 58%, rgba(3,24,66,.14)); }
body.page-template-branches .remit-branches-hero .container { position: relative; z-index: 1; }
body.page-template-branches .remit-branches-hero .ctp-page-banner-content { padding: 42px 0; }
body.page-template-branches .remit-branches-hero .ctp-page-banner-content h3 { font-size: clamp(38px, 5vw, 68px); line-height: 1; letter-spacing: -.04em; margin-bottom: 20px; text-shadow: 0 4px 18px rgba(0,0,0,.16); }

body.page-template-branches .remit-branches-intro { padding: 82px 0 72px; background: #fff; position: relative; overflow: hidden; }
body.page-template-branches .remit-branches-intro::after { content: ""; position: absolute; width: 380px; height: 380px; right: -180px; top: -220px; border: 76px solid rgba(255,159,28,.11); border-radius: 50%; }
body.page-template-branches .remit-branches-intro .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; }
body.page-template-branches .remit-branches-intro-copy { max-width: 720px; }
body.page-template-branches .remit-branches-intro-copy > span { color: var(--remit-branch-orange); text-transform: uppercase; font-size: 13px; font-weight: 800; letter-spacing: .15em; }
body.page-template-branches .remit-branches-intro-copy h2 { color: var(--remit-branch-blue); font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; margin: 12px 0 18px; }
body.page-template-branches .remit-branches-intro-copy p { color: var(--remit-branch-muted); font-size: 17px; line-height: 1.75; margin: 0; }
body.page-template-branches .remit-branches-summary { flex: 0 0 190px; min-height: 170px; padding: 24px; background: linear-gradient(145deg, var(--remit-branch-blue), #0b4b9e); border-radius: 24px; color: #fff; display: flex; flex-direction: column; justify-content: center; text-align: center; box-shadow: 0 18px 38px rgba(6,45,104,.18); }
body.page-template-branches .remit-branches-summary strong { font-size: 58px; line-height: 1; letter-spacing: -.05em; }
body.page-template-branches .remit-branches-summary strong small { color: var(--remit-branch-orange); font-size: 30px; }
body.page-template-branches .remit-branches-summary span { font-size: 13px; line-height: 1.4; margin-top: 10px; }

body.page-template-branches .ctp-contact-area { padding: 78px 0 105px; background: #f6f9fd; }
body.page-template-branches .remit-branch-card { margin: 0 0 28px; }
body.page-template-branches .remit-branch-card .information-box { padding: 0; border: 1px solid var(--remit-branch-line); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 14px 35px rgba(6,45,104,.07); transition: transform .2s ease, box-shadow .2s ease; }
body.page-template-branches .remit-branch-card:hover .information-box { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(6,45,104,.12); }
body.page-template-branches .remit-branch-card .information-box > .row { align-items: stretch; margin: 0; }
body.page-template-branches .remit-branch-card .information-box > .row > h3 { width: 100%; color: var(--remit-branch-blue); font-size: 23px; letter-spacing: .04em; margin: 0; padding: 26px 34px; border-bottom: 1px solid var(--remit-branch-line); background: linear-gradient(90deg, #fff, #f5f8fc); }
body.page-template-branches .remit-branch-card-number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; margin-right: 12px; background: var(--remit-branch-orange); color: #fff; font-size: 13px; letter-spacing: 0; vertical-align: middle; }
body.page-template-branches .remit-branch-card .information-box > .row > .col-lg-6 { padding: 34px; }
body.page-template-branches .remit-branch-card .contact-info { padding: 0; margin: 0; list-style: none; }
body.page-template-branches .remit-branch-card .contact-info li { color: var(--remit-branch-muted); font-size: 15px; line-height: 1.6; margin: 0 0 17px; }
body.page-template-branches .remit-branch-card .contact-info li:last-child { margin-bottom: 0; }
body.page-template-branches .remit-branch-card .contact-info .sub { color: var(--remit-branch-ink); font-weight: 800; margin-right: 7px; }
body.page-template-branches .remit-branch-card .contact-info a { color: var(--remit-branch-blue); font-weight: 700; }
body.page-template-branches .remit-branch-card .contact-info a:hover { color: var(--remit-branch-orange); }
body.page-template-branches .remit-branch-card .information-map { height: 100%; min-height: 300px; overflow: hidden; border-radius: 17px; background: #e9eef5; }
body.page-template-branches .remit-branch-card .information-map .map { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: saturate(.8); }
body.page-template-branches.rtl .remit-branches-intro .container { direction: rtl; }
body.page-template-branches.rtl .remit-branch-card-number { margin-right: 0; margin-left: 12px; }
body.page-template-branches.rtl .remit-branch-card .contact-info .sub { margin-right: 0; margin-left: 7px; }

@media (max-width: 991px) {
  body.page-template-branches .remit-branches-intro { padding: 62px 0 54px; }
  body.page-template-branches .remit-branches-intro .container { display: block; }
  body.page-template-branches .remit-branches-summary { margin-top: 30px; width: 190px; }
  body.page-template-branches .remit-branch-card .information-box > .row > .col-lg-6 { padding: 28px; }
  body.page-template-branches .remit-branch-card .information-map,
  body.page-template-branches .remit-branch-card .information-map .map { min-height: 280px; height: 280px; }
}
@media (max-width: 575px) {
  body.page-template-branches .remit-branches-hero { min-height: 250px; }
  body.page-template-branches .remit-branches-hero .ctp-page-banner-content { padding: 24px 0; }
  body.page-template-branches .remit-branches-intro { padding: 50px 0 44px; }
  body.page-template-branches .remit-branches-summary { min-height: 130px; margin-top: 24px; }
  body.page-template-branches .remit-branches-summary strong { font-size: 46px; }
  body.page-template-branches .ctp-contact-area { padding: 50px 0 72px; }
  body.page-template-branches .remit-branch-card .information-box > .row > h3 { padding: 20px 18px; font-size: 18px; }
  body.page-template-branches .remit-branch-card-number { width: 32px; height: 32px; font-size: 11px; margin-right: 8px; }
  body.page-template-branches .remit-branch-card .information-box > .row > .col-lg-6 { padding: 22px 18px; }
  body.page-template-branches .remit-branch-card .contact-info li { font-size: 14px; }
  body.page-template-branches .remit-branch-card .information-map,
  body.page-template-branches .remit-branch-card .information-map .map { min-height: 240px; height: 240px; }
}

/* Branch detail cards: make contact details easier to scan beside the map. */
body.page-template-branches .ctp-contact-area {
  background:
    radial-gradient(ellipse at 96% 8%, rgba(255,159,28,.07), transparent 25%),
    linear-gradient(180deg, #f4f8fd 0%, #edf3fb 100%);
}

body.page-template-branches .remit-branch-card .information-box {
  border-color: #dce6f2;
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(6,45,104,.09);
}

body.page-template-branches .remit-branch-card .information-box > .row > h3 {
  padding: 25px 34px;
  border-top: 3px solid var(--remit-branch-orange);
  background: linear-gradient(105deg, #fff 0%, #f2f7fd 100%);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: .025em;
}

body.page-template-branches .remit-branch-card-number {
  width: 42px;
  height: 42px;
  margin-right: 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffb02c, #ff7a16);
  box-shadow: 0 7px 16px rgba(255,122,22,.22);
  font-size: 14px;
}

body.page-template-branches .remit-branch-card .information-box > .row > .col-lg-6 {
  padding: 28px 30px;
}

body.page-template-branches .remit-branch-card .contact-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  height: 100%;
  align-content: center;
}

body.page-template-branches .remit-branch-card .contact-info li {
  position: relative;
  min-width: 0;
  min-height: 62px;
  margin: 0;
  padding: 12px 13px 12px 58px;
  border: 1px solid #e6edf6;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #f8faff);
  color: var(--remit-branch-muted);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.page-template-branches .remit-branch-card .contact-info li:first-child {
  grid-column: 1 / -1;
}

body.page-template-branches .remit-branch-card .contact-info li:nth-child(2) {
  grid-column: 1 / -1;
}

body.page-template-branches .remit-branch-card .contact-info li .icon {
  display: none;
}

body.page-template-branches .remit-branch-card .contact-info li::before {
  content: "\f3c5";
  position: absolute;
  top: 50%;
  left: 13px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #ffd21a 0%, #ffab16 50%, #ff6b00 100%);
  color: #fff;
  font-family: "Font Awesome 6 Free";
  font-size: 14px;
  font-weight: 900;
  transform: translateY(-50%);
  box-shadow: 0 5px 12px rgba(255, 145, 14, .24);
}

body.page-template-branches .remit-branch-card .contact-info li:nth-child(2)::before { content: "\f0e0"; }
body.page-template-branches .remit-branch-card .contact-info li:nth-child(3)::before,
body.page-template-branches .remit-branch-card .contact-info li:nth-child(4)::before { content: "\f095"; }
body.page-template-branches .remit-branch-card .contact-info li:nth-child(5)::before { content: "\f0ac"; }
body.page-template-branches .remit-branch-card .contact-info li:nth-child(6)::before { content: "\f017"; }

body.page-template-branches .remit-branch-card .contact-info li:hover {
  transform: translateY(-2px);
  border-color: #d3e1f2;
  box-shadow: 0 8px 18px rgba(6,45,104,.06);
}

body.page-template-branches .remit-branch-card .contact-info .sub {
  display: inline-block;
  width: auto;
  margin: 0 8px 0 0;
  color: var(--remit-branch-blue);
  font-size: inherit;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

body.page-template-branches .remit-branch-card .contact-info li .info {
  display: inline;
  color: var(--remit-branch-muted);
  line-height: 1.45;
}

body.page-template-branches .remit-branch-card .contact-info a {
  overflow-wrap: anywhere;
}

body.page-template-branches .remit-branch-card .information-map {
  min-height: 330px;
  border: 1px solid #e1e8f1;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(6,45,104,.08);
}

body.page-template-branches .remit-branch-card .information-map .map {
  min-height: 330px;
  filter: saturate(.72) contrast(.98);
}

body.page-template-branches.rtl .remit-branch-card .contact-info li {
  padding: 12px 58px 12px 13px;
  text-align: right;
}

body.page-template-branches.rtl .remit-branch-card .contact-info li::before {
  right: 13px;
  left: auto;
}

@media (max-width: 991px) {
  body.page-template-branches .remit-branch-card .contact-info {
    height: auto;
  }
}

/* Put each branch detail value on its own line beneath its label. */
body.page-template-branches .remit-branch-card .contact-info li {
  min-height: 78px;
}

body.page-template-branches .remit-branch-card .contact-info .sub {
  display: block !important;
  float: none !important;
  margin: 0 0 3px;
  line-height: 1.35;
}

body.page-template-branches .remit-branch-card .contact-info .sub::after {
  content: "";
  display: block;
}

body.page-template-branches .remit-branch-card .contact-info li .info {
  display: block !important;
  margin-top: 2px;
}

@media (max-width: 575px) {
  body.page-template-branches .remit-branch-card .information-box > .row > h3 {
    padding: 19px 18px;
    font-size: 18px;
  }

  body.page-template-branches .remit-branch-card-number {
    width: 34px;
    height: 34px;
    margin-right: 9px;
    border-radius: 11px;
    font-size: 11px;
  }

  body.page-template-branches .remit-branch-card .contact-info {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  body.page-template-branches .remit-branch-card .contact-info li:first-child {
    grid-column: auto;
  }

  body.page-template-branches .remit-branch-card .information-map,
  body.page-template-branches .remit-branch-card .information-map .map {
    min-height: 250px;
    height: 250px;
  }

  body.page-template-branches.rtl .remit-branch-card-number {
    margin-right: 0;
    margin-left: 9px;
  }
}
