:root {
  --ebi-navy: #004368;
  --ebi-navy-deep: #003352;
  --ebi-link: #004a99;
  --ebi-text: #555555;
}

body {
  color: var(--ebi-text);
  font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
}

h1, h2, h3, h4,
.item-title,
.ebi-card .item-title a {
  font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  color: var(--ebi-navy);
}

a {
  color: var(--ebi-link);
}

.container-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  background-image: none;
  box-shadow: 0 1px 0 rgba(0, 67, 104, 0.12);
  color: var(--ebi-navy);
}

.container-topbar {
  flex: 1 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1320px) minmax(0, 1fr);
  column-gap: 1em;
  align-items: center;
  background: var(--ebi-navy);
  color: #fff;
  padding: 0;
  font-size: 0.875rem;
}

.container-topbar > .mod-custom {
  grid-column: 2;
  grid-row: 1;
}

.container-topbar > .mod-custom:last-child {
  justify-self: end;
}

.container-topbar a,
.container-topbar li {
  color: #fff;
}

.ebi-topbar-contact {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0.45rem 0;
}

.ebi-topbar-contact li {
  display: flex;
  align-items: center;
}

.ebi-topbar-contact li + li {
  margin-left: 1.15rem;
  padding-left: 1.15rem;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.ebi-topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  text-decoration: none;
}

.ebi-topbar-contact a:hover {
  text-decoration: underline;
}

.ebi-topbar-contact svg,
.ebi-topbar-linkedin svg {
  display: block;
  flex: 0 0 auto;
}

.ebi-topbar-contact svg {
  width: 0.95rem;
  height: 0.95rem;
}

.ebi-topbar-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  margin: 0.4rem 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 0.2rem;
  color: #fff;
}

.ebi-topbar-linkedin svg {
  width: 0.85rem;
  height: 0.85rem;
}

.ebi-topbar-linkedin:hover {
  background: #fff;
  color: var(--ebi-navy);
}

.container-header .grid-child {
  padding: 0.6rem 1.25rem;
}

.ebi-header-bar,
.ebi-header-inner {
  display: contents;
}

.container-header .navbar-brand,
.container-header .navbar-brand a,
.container-header .site-description {
  color: var(--ebi-navy);
}

.brand-logo img {
  max-height: 88px;
  width: auto;
}

.container-header .container-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 0;
}

.container-header .mod-menu {
  color: var(--ebi-navy);
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span,
.container-header .metismenu > li > a,
.container-header .metismenu > li > button {
  color: var(--ebi-navy);
  font-weight: 600;
}

.container-header .mod-menu > li.active:after,
.container-header .mod-menu > li:hover:after,
.container-header .metismenu > li > a:hover:after,
.container-header .metismenu > li.active > a:after {
  background: var(--ebi-navy);
}

.container-header .mod-menu .parent > ul[aria-hidden="false"] {
  display: block;
}

.container-header .mod-menu .mod-menu__sub a,
.container-header .mod-menu .mod-menu__sub span {
  color: var(--ebi-navy);
  text-decoration: none;
}

.container-header .mod-menu .mod-menu__sub a:hover {
  color: var(--ebi-link);
  text-decoration: underline;
}

.container-header .mod-menu__toggle-sub {
  color: var(--ebi-navy);
}

.container-header .container-search search,
.container-header .mod-finder,
.container-header .mod-finder form {
  margin: 0;
}

.container-header .mod-finder__search {
  align-items: center;
}

.container-header .mod-finder .awesomplete {
  width: 10.5rem;
}

.container-header .mod-finder input.form-control {
  width: 10.5rem;
  max-width: 10.5rem;
  height: 2.25rem;
  padding: 0.2rem 0.85rem;
  border: 1px solid #d3dee6;
  border-radius: 999px;
  background: #f7fafc;
  color: #24323a;
  font-size: 0.9rem;
}

.container-header .mod-finder input.form-control:focus {
  border-color: var(--ebi-navy);
  background: #fff;
  outline: 2px solid rgba(0, 67, 104, 0.18);
  outline-offset: 1px;
}

.container-header .mod-finder .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ebi-navy);
  color: #fff;
  font-size: 0;
  line-height: 1;
}

.container-header .mod-finder .btn .icon-search {
  margin: 0;
  font-size: 0.95rem;
}

.container-header .mod-finder .btn:hover,
.container-header .mod-finder .btn:focus {
  background: var(--ebi-navy-deep);
  color: #fff;
}

@media (width >= 992px) {
  .ebi-header-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1320px) minmax(0, 1fr);
    column-gap: 1em;
    align-items: center;
    flex: 1 0 100%;
    width: 100%;
  }

  .ebi-header-inner {
    display: flex;
    align-items: center;
    grid-column: 2;
    min-width: 0;
    width: 100%;
  }

  .container-header .container-brand,
  .container-header .container-nav {
    width: auto;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
  }

  .container-header .container-brand {
    flex: 0 0 auto;
  }

  .container-header .navbar-brand {
    margin-inline-end: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .container-header .container-nav {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .container-header .mod-menu {
    flex: 0 1 auto;
    align-items: center;
    width: auto;
    margin-left: auto;
  }

  .container-header .container-search {
    flex: 0 0 auto;
    margin-left: 0.85rem;
  }

  .container-header .mod-menu li.parent {
    position: relative;
  }

  .container-header .mod-menu li.parent:hover > ul,
  .container-header .mod-menu li.parent:focus-within > ul {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }

  .container-header .mod-menu .mod-menu__sub {
    background: #fff;
    min-width: 15rem;
    padding: 0.35rem 0;
    z-index: 40;
    box-shadow: 0 8px 24px rgba(0, 51, 82, 0.12);
  }

  .container-header .mod-menu .mod-menu__sub a {
    display: block;
    padding: 0.45rem 1rem;
  }

  .container-header .mod-menu .mod-menu__sub a:hover {
    background: #f3f7fa;
    text-decoration: none;
  }

  .container-header .mod-menu .mod-menu__sub .mod-menu__sub {
    position: absolute;
    top: 0;
    left: 100%;
  }
}

.ebi-card {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e6eef3;
}

.ebi-card-image {
  display: block;
  margin-bottom: 0.85rem;
}

.ebi-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.ebi-card-meta {
  margin: 0 0 0.35rem;
  color: #5d6d78;
  font-size: 0.875rem;
}

.ebi-card-meta a {
  color: var(--ebi-navy);
  font-weight: 600;
  text-decoration: none;
}

.ebi-card-meta a:hover {
  text-decoration: underline;
}

.ebi-card .item-title {
  font-size: 1.55rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.ebi-card .item-title a {
  text-decoration: none;
}

.ebi-card .item-title a:hover {
  text-decoration: underline;
}

.ebi-excerpt {
  margin-bottom: 0.6rem;
}

.ebi-readmore {
  margin: 0;
}

.ebi-readmore a {
  font-weight: 700;
  color: var(--ebi-navy);
}

.com-content-article h1,
.item-page h1 {
  color: var(--ebi-navy);
}

.container-footer {
  background: var(--ebi-navy);
  color: #fff;
  text-align: center;
}

.container-footer .grid-child {
  flex-wrap: wrap;
  justify-content: center;
}

.ebi-footer-contact {
  display: none;
  flex: 1 0 100%;
}

.container-footer .mod-custom,
.container-footer p,
.container-footer .social-icons {
  text-align: center;
}

.container-footer a,
.container-footer p,
.container-footer li {
  color: #fff;
}

.container-footer img {
  display: inline-block;
  height: auto;
}

.mod-breadcrumbs {
  font-size: 0.9rem;
}

.ebi-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(0, 67, 104, 0.28);
  border-radius: 0.25rem;
  background: #fff;
  flex: 0 0 auto;
}

.ebi-menu-toggle-bars,
.ebi-menu-toggle-bars::before,
.ebi-menu-toggle-bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 1px;
  background: var(--ebi-navy);
  content: "";
}

.ebi-menu-toggle-bars {
  position: relative;
}

.ebi-menu-toggle-bars::before,
.ebi-menu-toggle-bars::after {
  position: absolute;
  left: 0;
}

.ebi-menu-toggle-bars::before {
  top: -6px;
}

.ebi-menu-toggle-bars::after {
  top: 6px;
}

.container-header.is-menu-open .ebi-menu-toggle-bars {
  background: transparent;
}

.container-header.is-menu-open .ebi-menu-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.container-header.is-menu-open .ebi-menu-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (width <= 991.98px) {
  .container-header .container-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex: 1 1 100%;
  }

  .ebi-menu-toggle {
    display: inline-flex;
  }

  .container-header .container-nav {
    display: none;
    flex: 1 0 100%;
    justify-content: flex-start;
    padding-top: 0.25rem;
    padding-bottom: 0.75rem;
  }

  .container-header.is-menu-open .container-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .container-header .container-search {
    order: -1;
    margin: 0.35rem 0 0.75rem;
  }

  .container-header .mod-finder form,
  .container-header .mod-finder__search,
  .container-header .mod-finder .awesomplete {
    width: 100%;
  }

  .container-header .mod-finder input.form-control {
    width: 100%;
    max-width: none;
  }

  .container-header .mod-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .container-header .mod-menu > li {
    border-top: 1px solid #e6eef3;
  }

  .container-header .mod-menu > li > a {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 0.15rem;
  }

  .container-header .mod-menu .mod-menu__sub {
    position: static;
    min-width: 0;
    padding: 0 0 0.4rem 0.85rem;
    background: transparent;
    box-shadow: none;
  }

  .container-topbar {
    display: none;
  }

  .ebi-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .ebi-footer-contact .ebi-topbar-contact {
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
  }

  .ebi-footer-contact .ebi-topbar-contact li + li {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .ebi-footer-contact .ebi-topbar-linkedin {
    margin: 0.15rem 0 0;
  }
}

.ebi-slider {
  position: relative;
  background: var(--ebi-navy-deep);
}

.ebi-slider-viewport {
  position: relative;
  height: min(68vw, 460px);
  overflow: hidden;
}

.ebi-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.ebi-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.ebi-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ebi-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4.5rem max(1rem, calc((100% - 1320px) / 2)) 1.75rem;
  background: linear-gradient(to top, rgba(0, 33, 56, 0.9), rgba(0, 33, 56, 0.2) 72%, transparent);
  color: #fff;
}

.ebi-slide-caption h2 {
  margin: 0;
  max-width: 46rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  line-height: 1.15;
}

.ebi-slide-caption p {
  margin: 0.55rem 0 0;
  max-width: 40rem;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.45;
}

.ebi-slide-button {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.5rem 1.05rem;
  background: #fff;
  color: var(--ebi-navy);
  font-weight: 600;
  text-decoration: none;
}

.ebi-slide-button:hover,
.ebi-slide-button:focus {
  background: var(--ebi-navy);
  color: #fff;
}

.ebi-slider-prev,
.ebi-slider-next {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 51, 82, 0.72);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
}

.ebi-slider-prev {
  left: 0.75rem;
}

.ebi-slider-next {
  right: 0.75rem;
}

@media (width <= 991.98px) {
  .ebi-slide-caption {
    padding: 3.25rem 1rem 1.25rem;
  }

  .ebi-slide-caption p {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ebi-slide {
    transition: none;
  }
}
