section.hero {
    padding: 50px 0px;
}

.hero-text h1 {
    text-align: left !important;
}

.hero-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
}

.hero-text {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 15px 0 0 15px;
border: 2px solid #F9EFF3;
background: #FFF;
}

/* Section titles */
.hero-text h1,
.conversations h1,
.accounts h1,
.find-branch h1 {
  color: #333;
  text-align: center;
  font-family: 'FSMeWeb-Light';
  font-size: 40px;
  font-style: normal;
  font-weight: 300;
  line-height: 48px;
}

.hero-image {
  min-height: 260px;
  display: flex;
  background: #f3f2f2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 12px 24px;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background: #a2195f;
  color: #fff;
}

.btn-primary:hover { background: #841049; }
.btn-primary:active { transform: scale(0.98); }

.link-underline {
  color: #2b2b2b;
  text-decoration: underline;
  font-size: 0.95rem;
  text-decoration-color: #333 !important;
  font-size: 15px;
  color: #333;
  font-family: 'FSMeWeb-Light';
}

/* Conversations */
.conversations {
  background: #F9F7F7;
  padding: 50px 0px;
  text-align: center;
  
}


/* Accounts / carousel */
.accounts {
  padding: 50px 0px;
  text-align: center;
}

.accounts > .container > h1 { margin-bottom: 40px; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.carousel-viewport {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-track {
  display: flex;
  gap: 20px;
}

.account-card {
  scroll-snap-align: start;
  flex: 0 0 calc(50% - 10px);
  min-width: 0;
}

.carousel-arrow {
  background: none;
  border: none;
  color: #a2195f;
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  flex-shrink: 0;
}

.carousel-arrow:hover { color: #841049; }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; }

.account-card {
  background: #F9EFF3;
  border-radius: 15px;
  padding: 32px 28px;
  text-align: center;
  position: relative;
}

.badge-new {
  display: inline-block;
  background: rgba(0, 136, 58, 0.20);
  border: 2px solid #00883A;
  color: #333333;
  text-align: center;
  font-family: 'FSMeWeb-Light';
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 20px;
  border-radius: 70px;
  margin-bottom: 16px;
}

.account-rate {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.account-rate .rate {
  margin: 0;
  font-size: 48px;
}

.account-rate .aer {
  font-size: 0.8rem;
  color: #5c5c5c;
}

.account-card h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 16px;
}

.account-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  color: #5c5c5c;
  font-size: 0.9rem;
  text-align: center;
}

.account-card li {
  margin-bottom: 6px;
}

.account-card li::before {
  content: "\2022 ";
  color: #a2195f;
}

.account-card .btn-primary {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #a2195f;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.dot.active { background: #a2195f; }

/* Find branch */
.find-branch {
  background: #F9EFF3;
  padding: 50px 0px;
  text-align: center;
}

.find-branch .searchBranch {
    border-radius: 100px;
    border: 2px solid #333;
}

.find-branch .searchBranch input#searchInput {
    color: #333;
}

.find-branch .searchBranch input#searchInput::placeholder {
    color: #333;
}

.find-branch button#currentLocation {
    color: #333;
}

#searchButton img {
    content: url(/media/fsgpgnbc/search-icon.svg);
}

.currentLocation img {
    content: url(/media/x4djc025/icon.svg);
}

/* Rate footnotes */
.rate-footnotes {
  padding: 0px 24px 50px;
}

.rate-footnotes p {
  font-size: 0.8rem;
  color: #5c5c5c;
  text-align: left;
}

/* Breakpoints: mobile up to 767px, tablet 768-1024px, laptop/desktop 1025px+ */
@media (max-width: 1024px) {
  .hero-card { grid-template-columns: 1fr; }
  .hero-image { min-height: 200px; }
  .hero-text { padding: 32px; }
  .account-card { flex: 0 0 100%; }
}

@media (max-width: 767px) {
  .hero-text {
    padding: 24px 20px;
    text-align: center;
        border-radius: 15px 15px 0px 0px;
  }
  .hero-actions { 
      justify-content: center; 
      
  }
  .HomeBanner .mainNavSec {
      padding: 0 0px 0px !important;
  }
  .HomeBanner .herobanner{
      padding: 114px 0 0px 0 !important;
  }
  .hero-text h1{
      text-align: center !important;
      font-size: 34px !important;
  }
  .find-branch h1 {
    font-size: 32px;
}
.accounts button:focus:not(:focus-visible) {
    color: #841049 !important;
}

}

/*
 * HomeBanner is a single flattened image (colour block + photo baked into one
 * file), set inline via `background: url(...)`. On mobile we want colour behind
 * the text and just the photo half showing underneath it — not achievable by
 * repositioning the one background, so instead: fill the box with a solid
 * colour, then paint a second, independently-cropped copy of the same image
 * into a strip via ::after. `!important` is required to beat the inline style,
 * which otherwise wins on specificity regardless of media query.
 *
 * The strip is deliberately left in normal document flow (no position/height
 * pinning it to the box) so it always starts right after the text, however
 * tall the text turns out to be — a fixed height on .HomeBanner would overflow
 * or leave a gap depending on how long the CMS-editable heading is.
 *
 * TUNE THESE against the live page:
 *   - background color below: sampled from screenshot, confirm/replace with the
 *     real hex from the source image.
 *   - strip height (220px): how tall the photo strip is.
 *   - ::after background-size / background-position: how zoomed/shifted the crop
 *     is — increase background-size and push background-position further right
 *     if any of the maroon block is still visible on the left edge of the strip.
 */
@media (max-width: 767px) {
  .HomeBanner {
    background: #4A1030 !important;
    background-size: auto !important;
  }

  .HomeBanner::after {
    content: "";
    display: block;
    width: 100%;
    height: 300px;
    background-image: url(/media/disj2nbh/new-image-1.png);
    background-repeat: no-repeat;
    background-size: 230% auto;
    background-position: right center;
    /* Fades the strip's own top edge to transparent so .HomeBanner's maroon
       background (which sits directly behind this whole box) shows through
       gradually — a soft blend instead of a hard line between colour and photo.
       Tune the 160px stop: taller = softer/longer fade (extends further down
       into the photo before it's fully opaque). Strip height bumped to 300px
       to compensate, so there's still clear photo visible below the fade. */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 160px);
    mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
  }
  .abtUsBc h1{
      font-size: 40px !important;
  }
  .hero-image img {
    border-radius: 0px;
}
a.linkbgarbtn {
    padding: 12px 12px;
}
}

a.linkbgarbtn:after{
    display: none;
}

.accounts a.linkbgarbtn {
    display: block;
    margin: 0 auto;
    margin-top: 20px;
}

.accounts .addistionlInfo {
    /* align-items:center previously centred each row independently by its own
       width, leaving ragged left edges. flex-start keeps rows left-aligned to
       each other; width:fit-content + margin:auto then centres the whole
       group as one block within the card. */
    align-items: flex-start;
    width: fit-content;
    margin: 0 auto;
}

.account-card h3 {
    font-family: 'FSMeWeb-Light' !important;
    font-size: 24px !important;
    line-height: 130% !important;
}

h1.page-title {
    max-width: 540px;
}

.conversations p {
    max-width: 705px;
    margin-left: auto;
    margin-right: auto;
}

.conversations h1 {
    margin-bottom: 20px;
}

a.linkbgarbtn{
    padding: 12px 30px;
}

.brnachFinderSection {
    margin-bottom: 60px;
}

.branchLocation #maps {
    height: 267px;
}

.bookNowBtn {
    margin: 0 auto;
}

.bookNowBtn h6 {
    text-align: center;
    text-transform: uppercase;
    font-family: 'FSMeWeb-Bold';
    font-weight: 700;
    font-size: 12px !important;
    margin-bottom: 15px;
    margin-top: 15px;
}

.openTimings {
    margin: 50px 0px;
}

.bookNowBtn a.linkbgarbtn {
    width: 229px;
    height: 45px;
    justify-content: center;
}

.find-branch .branchFinderMain {
    padding-bottom: 0px;
} 

.accounts .addInfoItem {
    font-family: 'FSMeWeb-Light' !important;
}

@media only screen and (min-width: 1200px) {
    div.HomeBanner {
    min-height: 650px;
    background-position: right !important;
}
}

@media (min-width: 768px) and (max-width: 1024px) {
    .heroTextSec h1 {
    font-size: 40px;
    max-width: 435px;
}

.HomeBanner {
    background-position: 70% !important;
}
}