:root {
  --brand-primary: #0047BB;
  --brand-primary-dark: #003899;
  --e-global-color-primary: #0047BB;
}

header#header a.logo img {
  background: transparent;
}

html.isScrolledToTop body.header--negative header#header a.logo .logo__white,
html.hasSearchLayer header#header a.logo .logo__white,
html.isNagigationExpanded header#header a.logo .logo__white {
  display: block;
}

html.isScrolledToTop body.header--negative header#header a.logo .logo__blue,
html.hasSearchLayer header#header a.logo .logo__blue,
html.isNagigationExpanded header#header a.logo .logo__blue {
  display: none;
}

header#header a.logo .logo__white {
  display: none;
}

footer#footer .bottom img.logo__footer {
  width: auto;
  height: 56px;
}

header#header ul.main > li > a:hover,
header#header ul.main > li.current-menu-item > a,
header#header ul.main > li.current_page_item > a,
.with-arrow .icon-arrow,
.btn--solid,
.elementor-button,
.elementor-widget-button .elementor-button {
  color: var(--brand-primary);
}

.btn--solid,
.elementor-button,
.elementor-widget-button .elementor-button {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

.module.module--cta.cta--dark .heading {
  color: #fff;
}

.module.module--cta.cta--dark .btn.btn--white {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  min-width: 18rem;
}

html.hasHover .module.module--cta.cta--dark .btn.btn--white:hover,
.module.module--cta.cta--dark .btn.btn--white:active {
  background: #fff !important;
  color: #1a1a36 !important;
  border-color: #fff !important;
}

.btn--solid:hover,
.elementor-button:hover,
.elementor-widget-button .elementor-button:hover {
  background-color: var(--brand-primary-dark) !important;
  border-color: var(--brand-primary-dark) !important;
}

header#header .search,
header#header .search > span {
  background: transparent !important;
  height: 100%;
  display: flex;
  align-items: center;
}

header#header .search {
  color: #1a1a36;
}

html.isScrolledToTop:not(.hasLayer):not(.isNavigationExpanded) body.header--negative header#header .search,
html.hasSearchLayer header#header .search {
  color: #fff;
}

.module.module--hero.hero--background-red,
.hero--background-red .img-wrap {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%) !important;
}

.module.module--float-bar {
  background-color: var(--brand-primary) !important;
}

.module.module--float-bar a:hover {
  background-color: var(--brand-primary-dark) !important;
}

.module .heading.title-red {
  color: var(--brand-primary) !important;
}

.elementor-widget-button .elementor-button,
.elementor-button {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: #fff !important;
  fill: #fff !important;
}

.elementor-widget-button .elementor-button:hover,
.elementor-button:hover {
  background-color: var(--brand-primary-dark) !important;
  border-color: var(--brand-primary-dark) !important;
}

.module.module--hero.hero--with_title .img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover;
  object-position: center;
}

body.page-clean-industrial-deal .module.module--hero.hero--full .img-wrap {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
}

/* Hero / header band when no background image is set */
.module.module--hero.hero--detail.hero--no-image {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
}

html.isScrolledToTop:not(.hasLayer):not(.isNavigationExpanded) body.header--negative:has(.hero--detail.hero--no-image) header#header::before,
html.isScrolledToTop:not(.hasLayer):not(.isNavigationExpanded) body.page-news header#header::before,
html.isScrolledToTop:not(.hasLayer):not(.isNavigationExpanded) body.page-newsletter header#header::before {
  background: var(--brand-primary);
}

/* News listing + newsletter: blue hero band */
body.page-news .module.module--hero.hero--list > .img-wrap,
body.page-newsletter .module.module--hero.hero--list > .img-wrap {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%) !important;
}

body.page-news .module.module--related-content .title,
body.page-news .module.module--related-content .title a,
body.page-news .module.module--related-content .pretitle,
body.page-news .module.module--categories a,
body.page-news .module.module--categories .with-arrow {
  color: var(--brand-primary);
}

/* News articles: blue text accents in hero */
body[class*="page-news-"] .module.module--hero.hero--detail .pretitle,
body[class*="page-news-"] .module.module--hero.hero--detail h1,
body[class*="page-news-"] .module.module--hero.hero--detail .featured,
body[class*="page-news-"] .module.module--hero.hero--detail .post-meta .category a,
body[class*="page-news-"] .module.module--hero.hero--detail .back,
body[class*="page-news-"] .module.module--hero.hero--detail .back .with-arrow,
body[class*="page-news-"] .module.module--hero.hero--detail .back .icon-arrow {
  color: var(--brand-primary);
}
