html { scroll-padding-top: calc(var(--gwe-site-header-height, 146px) + 12px); }
#header#header > .inside { padding-top: var(--gwe-site-header-height, 146px); }
#header .mod_navigation.navbar.gwe-site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-rows: 82px 44px;
  align-items: center;
  gap: 4px 18px;
  height: auto;
  min-height: 140px;
  padding: 8px 26px 8px 28px;
}
#header .mod_navigation.navbar.gwe-site-nav .navbar-brand {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: stretch;
  justify-content: center;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
}
#header .mod_navigation.navbar.gwe-site-nav .navbar-brand > a.navbar-item {
  top: 0;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  padding: 0;
}
#header .gwe-site-nav .gwe-header-tools {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  min-width: 0;
}
#header .gwe-site-nav #navbarMain {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  height: 44px;
  min-height: 0;
}
#header .gwe-site-nav #navbarMain > .navbar-start {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
  height: 44px;
}
#header .gwe-site-nav #navbarMain > .navbar-start > .navbar-item { height: 44px; padding: 0; font-size: 14px; }
#header .gwe-site-nav #navbarMain > .navbar-start > a.navbar-item { padding: 8px; }
#header .gwe-site-nav #navbarMain > .navbar-start > .navbar-item > .navbar-link { padding: 8px 25px 8px 8px; font-size: 14px; }
.gwe-site-liveticker-app { margin: 28px 24px; }

@media (max-width: 1199px) {
  #header#header > .inside { padding-top: var(--gwe-site-header-height, 184px); }
  #header .mod_navigation.navbar.gwe-site-nav {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 116px auto;
    min-height: 0;
    padding: 0 20px 12px;
    gap: 4px;
  }
  #header .mod_navigation.navbar.gwe-site-nav .navbar-brand {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
    width: 100%;
    height: 116px;
  }
  #header .gwe-site-nav .navbar-burger { display: block; align-self: center; margin-left: auto; }
  #header .gwe-site-nav .gwe-header-tools { grid-column: 1; grid-row: 2; gap: 16px; }
  #header .gwe-site-nav #navbarMain {
    display: none;
    grid-column: 1;
    grid-row: 3;
    box-sizing: border-box;
    height: auto;
    max-height: calc(100vh - var(--gwe-site-header-height, 184px) - 4px);
    max-height: calc(100dvh - var(--gwe-site-header-height, 184px) - 4px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }
  #header .gwe-site-nav #navbarMain.is-active { display: block; padding: 12px 0; }
  #header .gwe-site-nav #navbarMain > .navbar-start { display: block; height: auto; }
  #header .gwe-site-nav #navbarMain > .navbar-start > .navbar-item { height: auto; padding: 0; font-size: 16px; }
  #header .gwe-site-nav #navbarMain > .navbar-start > a.navbar-item,
  #header .gwe-site-nav #navbarMain > .navbar-start > .navbar-item > .navbar-link { padding: 12px; font-size: 16px; }
  #header .gwe-site-nav #navbarMain .navbar-dropdown { position: static; }
}
@media (max-width: 679px) {
  #header .gwe-site-nav .gwe-header-tools { flex-direction: column; align-items: stretch; gap: 10px; }
  #header .gwe-site-nav .gwe-header-live { flex: none; width: 100%; max-width: none; }
  #header .gwe-site-nav .gwe-app-promo--header { display: flex; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; max-width: none; gap: 10px; }
  #header .gwe-site-nav .gwe-app-promo--header .gwe-app-promo__title { margin: 0; font-size: 12px; }
  #header .gwe-site-nav .gwe-app-promo--header .gwe-app-promo__stores { flex: 0 0 auto; }
  .gwe-site-liveticker-app { margin: 24px 18px; }
}

/* A compact, centred header slider, using the existing Contao slides. */
#header .ce_sliderStart.full-width-height-slider {
  --gwe-slider-height: clamp(320px, 34vw, 440px);
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1160px;
  min-height: 0;
  margin: 24px auto;
  overflow: hidden;
  border: 1px solid #426439;
  border-radius: 16px;
  background: #242724;
  box-shadow: 0 12px 32px rgb(0 0 0 / 12%);
}
#header .ce_sliderStart.full-width-height-slider .content-slider {
  position: relative;
  top: auto;
  width: 100%;
  height: var(--gwe-slider-height);
  min-height: 0;
}
#header .ce_sliderStart.full-width-height-slider .ce_ct_sliderElement {
  height: var(--gwe-slider-height);
  min-height: 0;
}
#header .ce_sliderStart.full-width-height-slider .ce_ct_sliderElement > .image_container { background-position: center 25%; }
#header .ce_sliderStart.full-width-height-slider .dark-image::after {
  background: linear-gradient(180deg, rgb(0 0 0 / 3%) 20%, rgb(0 0 0 / 70%) 100%);
}
#header .ce_sliderStart.full-width-height-slider .text {
  height: 100%;
  padding: 28px 64px 64px;
  opacity: 1 !important; /* The theme's old parallax script fades inline text on scroll. */
}
#header .ce_sliderStart.full-width-height-slider .text > .container {
  display: flex;
  width: 100%;
  max-width: none;
  align-items: flex-end;
  justify-content: flex-start;
}
#header .ce_sliderStart.full-width-height-slider .text .inside {
  width: 100%;
  max-width: 620px;
  padding: 0;
}
#header .ce_sliderStart.full-width-height-slider :is(h1, h2, h3, h4, h5, h6) {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.65rem, 2.7vw, 2.4rem);
  line-height: 1.15;
}
#header .ce_sliderStart.full-width-height-slider p {
  margin: 0 0 12px;
  color: #f3f3f3;
  font-size: 1rem;
  line-height: 1.5;
}
#header .ce_sliderStart.full-width-height-slider a.readmore {
  margin: 0;
  border-radius: 7px;
  font-size: .9rem;
  letter-spacing: 0;
}
#header .ce_sliderStart.full-width-height-slider .slider-control {
  position: static;
  height: 0;
}
#header .ce_sliderStart.full-width-height-slider .slider-control .slider-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  top: auto;
  bottom: 10px;
  height: 34px;
  line-height: 1;
  z-index: 2;
}
#header .ce_sliderStart.full-width-height-slider .slider-menu b {
  padding: 0 5px;
  color: rgb(255 255 255 / 70%);
  font-size: 2rem;
  line-height: 1;
}
#header .ce_sliderStart.full-width-height-slider .slider-menu b.active { color: #a5d960; }
#header .ce_sliderStart.full-width-height-slider :is(.slider-prev, .slider-next) {
  display: flex;
  align-items: center;
  justify-content: center;
  top: calc(50% - 21px);
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  background: rgb(20 25 20 / 60%);
  color: #fff;
  font-size: 0;
  z-index: 2;
}
#header .ce_sliderStart.full-width-height-slider .slider-prev { left: 14px; }
#header .ce_sliderStart.full-width-height-slider .slider-next { right: 14px; }
#header .ce_sliderStart.full-width-height-slider .slider-prev::before { content: '\2039'; }
#header .ce_sliderStart.full-width-height-slider .slider-next::before { content: '\203a'; }
#header .ce_sliderStart.full-width-height-slider :is(.slider-prev, .slider-next)::before {
  font-family: Arial, sans-serif;
  font-size: 32px;
  line-height: 1;
}
#header .ce_sliderStart.full-width-height-slider :is(.slider-prev, .slider-next):hover { background: #426439; }
#header .ce_sliderStart.full-width-height-slider a:focus-visible { outline: 3px solid #a5d960; outline-offset: 3px; }
/* Keep the complete team photo against a softly filled background. */
#header .ce_sliderStart.full-width-height-slider .ce_ct_sliderElement > .image_container::before,
#header .ce_sliderStart.full-width-height-slider .ce_ct_sliderElement > .image_container::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-position: center;
  background-repeat: no-repeat;
}
#header .ce_sliderStart.full-width-height-slider .ce_ct_sliderElement > .image_container::before {
  background-size: cover;
  filter: blur(18px) brightness(.65);
  transform: scale(1.1);
}
#header .ce_sliderStart.full-width-height-slider .ce_ct_sliderElement > .image_container::after { background-size: contain; }

@media (max-width: 679px) {
  #header .ce_sliderStart.full-width-height-slider {
    --gwe-slider-height: 300px;
    width: calc(100% - 24px);
    margin: 12px auto;
    border-radius: 12px;
  }
  #header .ce_sliderStart.full-width-height-slider .text { padding: 20px 24px 56px; }
  #header .ce_sliderStart.full-width-height-slider .ce_ct_sliderElement > .image_container::before,
  #header .ce_sliderStart.full-width-height-slider .ce_ct_sliderElement > .image_container::after { display: none; }
  #header .ce_sliderStart.full-width-height-slider :is(.slider-prev, .slider-next) { top: 14px; width: 36px; height: 36px; }
}
