/* Fortis uses emerald green with white and neutral grays. */
.product-home--bnp {
  --paper: #fff;
  --ink: #212121;
  --soft: #4a4a4a;
  --line: #d8d8d8;
  --bnp-brand: #00965e;
  --bnp-breadcrumb-size: 39px;
  --bnp-navigation: #eee;
  --bnp-section: #f3f4f3;
  --bnp-link: #00764a;
  --button: #008251;
  --button-ink: #fff;
  --button-hover: #006740;
  --button-radius: 3px;
}
.theme-dark .product-home--bnp {
  color-scheme: dark;
  --paper: #181b1a;
  --ink: #f4f5f4;
  --soft: #c8ccca;
  --line: #3f4542;
  --bnp-navigation: #242826;
  --bnp-section: #212623;
  --bnp-link: #65d5a7;
  --button-hover: #00764a;
}

.bnp-header { background: var(--paper); }
.bnp-header .product-home__brand img { width: 153px; height: auto; }
.bnp-header .product-home__brand strong { border-left: 1px solid var(--line); padding-left: 14px; }
.bnp-header .product-home__brand .bnp-mark--dark { display: none; }
.theme-dark .bnp-header .product-home__brand .bnp-mark--light { display: none; }
.theme-dark .bnp-header .product-home__brand .bnp-mark--dark {
  display: block;
  /* Keep the transparent stars of the official square white in dark mode. */
  background: linear-gradient(#fff, #fff) left top / 20.5% 97.5% no-repeat;
}
.bnp-header .product-home__back { min-height: 39px; border: 1px solid currentColor; border-radius: 3px; padding-inline: 13px; color: var(--bnp-link); }
.bnp-breadcrumb { background: var(--bnp-navigation); border-top: 3px solid var(--bnp-brand); padding-block: 8px; }
.bnp-breadcrumb .product-home__wrap { margin-inline: auto; font-size: 13px; line-height: 20px; }
.bnp-breadcrumb span { margin-inline: 9px; color: var(--bnp-link); }

.bnp-first {
  display: flex;
  flex-direction: column;
  min-block-size: calc(var(--product-first-size) - var(--bnp-breadcrumb-size));
}
.bnp-story { flex: 1; display: grid; grid-template-columns: minmax(300px, .88fr) minmax(0, 1.35fr); gap: clamp(22px, 5vw, 72px); align-items: center; padding-block: 33px 26px; }
.bnp-story h1 { max-width: 14ch; font-size: clamp(42px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.037em; }
.bnp-story .bnp-story__intro { margin-block: 20px 15px; color: var(--soft); max-width: 34ch; font-size: clamp(16px, 1.42vw, 20px); }
.bnp-story .product-home__note { margin-top: 12px; color: var(--soft); }
.bnp-story__figure {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: clamp(330px, 33vw, 468px);
}
.bnp-story__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 43%;
  border-radius: 9px;
}
.bnp-story__caption {
  position: absolute;
  inset: auto auto 14px 14px;
  display: grid;
  gap: 3px;
  width: min(calc(100% - 28px), 265px);
  padding: 12px 15px;
  background: #fff;
  color: #242424;
  border-radius: 6px;
  box-shadow: 0 7px 26px #171c1a33;
}
.bnp-story__caption strong { font-size: 16px; }
.bnp-story__caption span { color: #00764a; font-size: 12px; }
.bnp-story__caption:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.bnp-report-band { background: var(--bnp-section); border-top: 3px solid var(--bnp-brand); }
.bnp-report-band > div { display: grid; grid-template-columns: .8fr 1.55fr auto; align-items: center; gap: 12px 32px; padding-block: 20px; }
.bnp-report-band h2 { color: var(--bnp-link); font-size: clamp(18px, 2vw, 29px); line-height: 1.16; }
.bnp-report-band__example { display: flex; align-items: center; gap: 16px; }
.bnp-report-band__example strong { flex: 0 0 auto; font-size: clamp(27px, 2.9vw, 42px); line-height: 1.05; }
.bnp-report-band p { color: var(--soft); font-size: 14px; }
.bnp-report-band a, .bnp-study a { color: var(--bnp-link); }
.bnp-report-band a { justify-self: start; }
.product-home--bnp .product-home__mobile-nav [aria-current="page"] { color: var(--bnp-link); }
.bnp-study { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 7%; padding-block: 56px; }
.bnp-study img { height: auto; width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.bnp-study h2 { font-size: clamp(27px, 3.1vw, 43px); line-height: 1.12; letter-spacing: -.023em; }
.bnp-study p { color: var(--soft); margin-block: 13px 7px; max-width: 46ch; }

@media (max-width: 820px) {
  .bnp-header .product-home__brand img { width: 113px; }
  .bnp-header .product-home__brand strong { font-size: 12px; padding-left: 9px; }
  .bnp-header .product-home__brand { gap: 9px; }
  .bnp-story { grid-template-columns: 1fr; grid-template-rows: auto minmax(clamp(190px, 47vw, 385px), 1fr); gap: 14px; padding-block: 20px 14px; }
  .bnp-story h1 { font-size: clamp(34px, 9.6vw, 54px); }
  .bnp-story .bnp-story__intro { margin-block: 10px; }
  .bnp-story__figure { min-height: 0; }
  .bnp-story__figure img { object-position: 65% 40%; }
  .bnp-story__caption { inset: auto auto 8px 8px; width: min(76%, 225px); gap: 0; padding: 6px 9px; }
  .bnp-story__caption strong { font-size: 13px; }
  .bnp-story__caption span { font-size: 11px; }
  .bnp-report-band > div { grid-template-columns: 1fr; gap: 5px; padding-block: 12px 5px; }
  .bnp-report-band__example { gap: 10px; }
  .bnp-report-band p { font-size: 13px; }
  .bnp-study { grid-template-columns: 1fr; gap: 14px; padding-block: 37px; }
  .bnp-study img { order: 1; }
}
