/* Keep the brand mark in the panel background, behind the copy and form. */
html .fidelity-pages .fp-partner-grid {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bs-brand-bar-start, #102b43) var(--bs-brand-bar, linear-gradient(115deg, #102b43, #17446b));
}

html .fidelity-pages .fp-partner-grid::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-start: 3%;
  bottom: 13%;
  width: 47%;
  aspect-ratio: 1920 / 555;
  background: #dbeaff;
  opacity: .085;
  pointer-events: none;
  mask: url("/Gw/heritage-web/b7383cddec7e5967.webp") center / contain no-repeat;
}

html .fidelity-pages .fp-partner-grid > div :is(p, .fp-kicker) {
  color: var(--bs-brand-bar-muted, #dbeaff);
}

@media (max-width: 768px) {
  html .fidelity-pages .fp-partner-grid::before {
    inset-inline-start: 3%;
    top: clamp(245px, 68vw, 310px);
    bottom: auto;
    width: 94%;
  }
}

@media (max-width: 767px) {
  html .premium-hero.fidelity-hero [data-ad-item="home-hero-mini-camera-v1"] .cherry-hero-copy {
    inset-block: auto 44px !important;
    width: 100% !important;
    padding: 16px 24px !important;
    background: transparent !important;
  }
}

/* Draw small dots within larger click targets on the home carousel. */
html[data-bs-navy="storefront"] .fidelity-hero[data-ad-slot="home-hero"] .swiper-pagination {
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

html[data-bs-navy="storefront"] .fidelity-hero[data-ad-slot="home-hero"] .swiper-pagination-bullet {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 28px;
  margin: 0 !important;
  background: transparent;
  opacity: 1;
  transform: none;
}

html[data-bs-navy="storefront"] .fidelity-hero[data-ad-slot="home-hero"] .swiper-pagination-bullet::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(255 255 255 / 55%);
  box-shadow: 0 0 2px rgb(10 25 40 / 70%);
}

html[data-bs-navy="storefront"] .fidelity-hero[data-ad-slot="home-hero"] :is(
  .swiper-pagination-bullet-active, .swiper-pagination-bullet:hover, .swiper-pagination-bullet:focus-visible
)::after {
  width: 7px;
  height: 7px;
  background: #f4f8ff;
}
