html {
  font-size: 100%;
}

:root {
  --bs-breadcrumb-font-size: 0.7rem;
}

.breadcrumb {
  --bs-breadcrumb-padding-y: 0.3rem;
}

.breadcrumb-text {
  font-size: var(--bs-breadcrumb-font-size);
}

.breadcrumb-item + .breadcrumb-item::before {
  float: none;
  padding-right: 0.4rem;
  content: var(--bs-breadcrumb-divider, "·");
  font-size: 0.5rem;
  padding-left: 0.1rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 700;
}

h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.25;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

h5 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}

p,
ul,
ol,
li {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
}

small,
.small {
  font-size: 0.875rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 500;
}

.section-trust p.lead {
  margin-bottom: 0.9rem;
}

.section-hero-overlay.d-md-block .frame {
  padding-top: 0 !important;
}

.frame-type-div {
  padding: 0 !important;
}

.frame-type-text.frame-has-backgroundimage .frame-group-container {
  min-height: clamp(30rem, 72vh, 48rem);
}

.frame-type-text.frame-has-backgroundimage .frame-group-inner {
  position: relative;
}

.frame-type-text.frame-has-backgroundimage .frame-backgroundimage {
  background-position: 76% center;
}

.frame-type-text.frame-has-backgroundimage .frame-backgroundimage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 251, 247, 0.94) 0%, rgba(255, 251, 247, 0.82) 34%, rgba(255, 251, 247, 0.18) 62%, rgba(255, 251, 247, 0.04) 100%);
}

.frame-type-text.frame-has-backgroundimage .frame-container-default {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(30rem, 72vh, 48rem);
  padding-inline: clamp(1rem, 2.2vw, 2rem);
}

.frame-type-text.frame-has-backgroundimage .frame-inner {
  max-width: min(50rem, 60%);
  padding-block: clamp(3.5rem, 9vw, 7rem);
}

.frame-type-text.frame-has-backgroundimage .frame-header h1 {
  max-width: 12ch;
  margin-bottom: clamp(1.1rem, 1.8vw, 1.5rem);
  font-size: clamp(2.55rem, 3.55vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.frame-type-text.frame-has-backgroundimage .frame-inner > p:first-of-type {
  margin-bottom: 1rem;
  max-width: 26rem;
  font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  line-height: 1.45;
}

.frame-type-text.frame-has-backgroundimage .frame-inner > p:first-of-type strong {
  font-weight: 700;
}

.frame-type-text.frame-has-backgroundimage .frame-inner > .lead {
  max-width: 35rem;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.16vw, 1.22rem);
  line-height: 1.72;
  font-weight: 400;
  text-wrap: pretty;
}

@media (max-width: 1199.98px) and (min-width: 768px) {
  .frame-type-text.frame-has-backgroundimage .frame-backgroundimage {
    background-position: 78% center;
  }

  .frame-type-text.frame-has-backgroundimage .frame-inner {
    max-width: min(42rem, 62%);
  }

  .frame-type-text.frame-has-backgroundimage .frame-header h1 {
    max-width: 11.5ch;
    font-size: clamp(2.35rem, 3.9vw, 3.4rem);
    line-height: 1.08;
  }

  .frame-type-text.frame-has-backgroundimage .frame-inner > .lead {
    max-width: 31rem;
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.68;
  }
}

@media (max-width: 767.98px) {
  .frame-type-div {
    display: none;
  }

  .frame-type-text.frame-has-backgroundimage .frame-group-container,
  .frame-type-text.frame-has-backgroundimage .frame-container-default {
    min-height: clamp(34rem, 82vh, 48rem);
  }

  .frame-type-text.frame-has-backgroundimage .frame-backgroundimage {
    background-position: 73% center;
  }

  .frame-type-text.frame-has-backgroundimage .frame-backgroundimage::after {
    background: linear-gradient(180deg, rgba(255, 251, 247, 0.92) 0%, rgba(255, 251, 247, 0.86) 28%, rgba(255, 251, 247, 0.64) 62%, rgba(255, 251, 247, 0.44) 100%);
  }

  .frame-type-text.frame-has-backgroundimage .frame-inner {
    max-width: min(24rem, 100%);
    padding-block: 2.75rem 3rem;
  }

  .frame-type-text.frame-has-backgroundimage .frame-header h1 {
    max-width: 11ch;
    margin-bottom: 1rem;
    font-size: clamp(1.95rem, 8.1vw, 2.9rem);
    line-height: 1.1;
  }

  .frame-type-text.frame-has-backgroundimage .frame-inner > p:first-of-type {
    margin-bottom: 0.75rem;
    max-width: 19rem;
    font-size: clamp(0.98rem, 3.9vw, 1.08rem);
  }

  .frame-type-text.frame-has-backgroundimage .frame-inner > .lead {
    max-width: 22rem;
    font-size: clamp(0.98rem, 4vw, 1.14rem);
    line-height: 1.68;
  }

  .section-hero.d-block.d-md-none .textmedia-above {
    display: grid;
    grid-template-areas:
      "hero"
      "body";
    gap: 0;
  }

  .section-hero.d-block.d-md-none .textmedia-above .textmedia-gallery {
    grid-area: hero;
    margin-bottom: 0;
  }

  .section-hero.d-block.d-md-none .textmedia-above .textmedia-text {
    display: contents;
  }

  .section-hero.d-block.d-md-none .textmedia-above .frame-header,
  .section-hero.d-block.d-md-none .textmedia-above .textmedia-text > p:first-of-type {
    grid-area: hero;
    justify-self: stretch;
    text-align: left;
    z-index: 1;
  }

  .section-hero.d-block.d-md-none .textmedia-above .frame-header {
    margin: 0;
    align-self: start;
    padding: 0.8rem 1rem 0 1rem;
    transform: none;
  }

  .section-hero.d-block.d-md-none .textmedia-above .frame-header h1 {
    max-width: 11ch;
    margin: 0;
    font-size: var(--hero-mobile-headline-size, clamp(1.6rem, 6.4vw, 2.2rem));
    line-height: var(--hero-mobile-headline-line-height, 1.04);
    text-wrap: balance;
  }

  .section-hero.d-block.d-md-none .textmedia-above .textmedia-text > p:first-of-type {
    margin: 0;
    align-self: end;
    padding: 0.5rem 0.9rem 0.55rem 1rem;
    background: rgba(255, 251, 247, 0.8);
    line-height: 1.35;
    transform: none;
  }

  .section-hero.d-block.d-md-none .textmedia-above .textmedia-text > p:not(:first-of-type) {
    grid-area: body;
    margin-top: 1.5rem;
  }

}

.frame-type-card_group .card-group-element-item {
  display: flex;
}

.frame-type-card_group .card-group-element-item .card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.frame-type-card_group .card-body {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

.frame-type-card_group .card-body > p {
  margin-bottom: 0;
}

.frame-type-card_group .card-footer {
  margin-top: auto;
}
