@charset "utf-8";

/*
  Custom hero layout helpers.
  Use these classes inside the Hero block when the page also uses a Header image.
*/

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/open-sans/OpenSans-Regular.ttf') format('ttf');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/open-sans/OpenSans-Bold.ttf') format('ttf');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
body {font-family: 'Open Sans', Arial, sans-serif; line-height: 140%;}

.hero-custom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
  min-height: 100%;
  color: var(--hero-text, #edf5fc);
}

.hero-panel--overlay .hero-panel__overlay-content {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  width: 100%;
  max-width: none;
  height: 100%;
}

.hero-panel--overlay .hero-panel__overlay-content > .section,
.hero-panel--overlay .hero-panel__overlay-content > .wb_element,
.hero-panel--overlay .hero-panel__overlay-content > [id^="wb_"] {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
  margin: 0;
}

.hero-panel--overlay .hero-custom {
  width: 100%;
  max-width: none;
  height: 100%;
}

.hero-panel--overlay {
  align-items: stretch;
  padding-bottom: 24px;
}

.hero-custom__top {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 1.25rem;
}

.hero-custom__logo {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.5);
  padding: 8px;
  border-radius: 18px;
  backdrop-filter: blur(1px);
}

.hero-custom__logo img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: 110px;
  object-fit: contain;
}

.hero-custom__slogan {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  width: fit-content;
  max-width: min(100%, 78rem);
  margin-top: auto;
  margin-bottom: auto;
  align-self: center;
  text-align: center;
  padding: 1.1rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(10, 24, 40, 0.3);
  backdrop-filter: blur(1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero-custom__top + .hero-custom__slogan {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.hero-custom__slogan h1,
.hero-custom__slogan h2,
.hero-custom__slogan h3 {
  margin: 0;
  color: var(--hero-text-strong, #f6fbff);
  line-height: 1.08;
}

.hero-custom__slogan p {
  margin: 0;
  max-width: 46rem;
  color: var(--hero-text-soft, rgba(228, 239, 250, 0.9));
}

.hero-custom__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
  padding: 0.9rem;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(10, 24, 40, 0.18);
  backdrop-filter: blur(2px);
}

.hero-custom__strip img {
  display: block;
  width: auto !important;
  height: revert-layer;
  max-width: none;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.hero-custom--center .hero-custom__top {
  display: flex;
  flex-direction: column;
}

.hero-custom--center .hero-custom__logo {
  justify-content: flex-start;
}

.hero-custom--center .hero-custom__slogan {
  justify-items: center;
  text-align: center;
  margin-inline: auto;
}

.hero-custom--right .hero-custom__slogan {
  justify-items: end;
  text-align: right;
  margin-left: auto;
}

.utility-brand__logo--image {
  padding: 4px;
  border-radius: 999px;
  overflow: hidden;
}

.utility-brand__logo--image img {
  border-radius: 999px;
  display: block;
}

.utility-bar__right {
  margin-left: auto;
  justify-content: flex-end;
}

/* In full-screen hero mode keep the icon strip anchored to the lower edge. */
body.hero-height-screen .hero-panel.hero-panel--overlay {
  position: relative;
  padding: 30px 24px 24px !important;
  align-items: stretch !important;
}

body.hero-height-screen .hero-panel.hero-panel--overlay > .hero-panel__overlay-content {
  position: static;
  width: 100%;
  height: 100%;
}

body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom {
  min-height: 0;
  height: 100%;
}

body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  margin-top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: auto;
  max-width: none;
}

body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip img:first-of-type {
  grid-column: 1;
  justify-self: start;
}

body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip img:last-of-type {
  grid-column: 3;
  justify-self: end;
}

.hero-custom__legal {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  min-width: 0;
}

.hero-custom__legal-link {
  color: var(--hero-text-strong, #ffffff);
  text-decoration: none;
  font: 700 0.98rem/1.2 "Trebuchet MS", Arial, sans-serif;
  white-space: nowrap;
}

.hero-custom__legal-link + .hero-custom__legal-link::before {
  content: "|";
  display: inline-block;
  margin-right: 1.4rem;
  color: var(--hero-text-soft, rgba(234, 243, 252, 0.9));
}

.hero-custom__legal-link:visited {
  color: var(--hero-text-strong, #ffffff);
}

.hero-custom__legal-link:hover {
  color: var(--hero-text-soft, rgba(234, 243, 252, 0.9));
}

@media (max-width: 1480px) and (min-width: 901px) {
  body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip {
    grid-template-columns: auto minmax(0, 760px) auto;
    row-gap: 0.75rem;
  }

  .hero-custom__legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.1rem;
    max-width: 760px;
    margin-inline: auto;
  }
}

.primary-nav a {border-radius: 10px}
.powered_by .button-link {min-height: 30px; font-size: 14px;}

@media (max-width: 900px) {
  .hero-panel--overlay .hero-panel__overlay-content,
  .hero-panel--overlay .hero-panel__overlay-content > .section,
  .hero-panel--overlay .hero-panel__overlay-content > .wb_element,
  .hero-panel--overlay .hero-panel__overlay-content > [id^="wb_"],
  .hero-panel--overlay .hero-custom {
    height: auto;
    min-height: 0;
  }

  .hero-panel--overlay .hero-panel__overlay-content > .section,
  .hero-panel--overlay .hero-panel__overlay-content > .wb_element,
  .hero-panel--overlay .hero-panel__overlay-content > [id^="wb_"] {
    flex: 0 0 auto;
  }

  .hero-custom {
    gap: 1rem;
  }

  .hero-custom__top {
    flex: 0 0 auto;
  }

  .hero-panel--overlay {
    padding-bottom: 24px;
  }

  .hero-custom__slogan,
  .hero-custom--right .hero-custom__slogan {
    justify-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-custom--center .hero-custom__slogan {
    justify-items: center;
    text-align: center;
    margin-inline: auto;
  }

  body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip {
    grid-template-columns: auto 1fr;
    row-gap: 0.85rem;
  }

  body.hero-height-screen .hero-panel.hero-panel--overlay .hero-custom__strip img:last-of-type {
    grid-column: 2;
  }

  .hero-custom__legal {
    grid-column: 1 / -1;
    order: 3;
    flex-wrap: wrap;
    gap: 0.8rem 1.1rem;
  }
}

@media (max-width: 700px) {
  .hero-custom__strip {
    justify-content: center;
  }
}


@media (max-width: 500px) {
  .hero-custom__logo {margin: 0 auto}
}
