/* Extracted from inline <style> - linked at the same place in the page so the rule order is unchanged. */

#home-hero-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  left: auto;
  right: auto;
  min-height: 200px;
}
/* The hero is wrapped in <picture>; let it take no box of its own so the
   img rules below apply exactly as before. */
#home-hero-container picture { display: contents; }
#home-hero-container img {
  width: 100%;
  max-width: 1400px;
  height: auto;
  display: block;
  margin: 10px auto;
  opacity: 1;
  transition: opacity 2s ease-in-out;
  border-radius: 18px 18px 0px 0px;
}
#home-hero-container img.hero-img-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 10px auto;
  z-index: 2;
}
#home-hero-container img.hero-img-front {
  position: relative;
  z-index: 1;
}
.hero-overlay-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-overlay-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  z-index: 10;
  background: var(--btn-bg-beige, #d8c39c);
  padding: 20px 25px;
  border-radius: 0 0 18px 18px;
}
.hero-overlay-content .hero_overlay_rubrik {
  display: block; /* h1 is reset with `all: unset` in style_32.css; restore block layout */
  font-size: 24px;
  font-weight: 700;
  color: var(--btn-text-green);
  margin-bottom: 12px;
  line-height: 1.3;
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
}
.hero_overlay_rubrik {
  font-size: 1.5em;
  color: var(--brand-primary);
  font-weight: 900;
  opacity: 1;
  text-shadow: none;
}
.hero-overlay-content .hero_overlay_rubrik .hero_overlay_rubrik_sec {
  color: var(--brand-primary);
}
.hero-overlay-content .hero_overlay_text {
  font-size: 16px;
  color: #000000;
  line-height: 1.5;
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
}
.hero_overlay_text_red {
  color: #2b3463;
  font-weight: 900;
}
*, ::after, ::before {
  box-sizing: border-box;
}
@media (max-width: 991px) {
  .hero-overlay-content .hero_overlay_rubrik {
    font-size: 20px;
  }
  .hero-overlay-content .hero_overlay_text {
    font-size: 14px;
  }
}
@media (max-width: 575px) {
  .hero-overlay-content {
    padding: 15px 20px;
  }
  .hero-overlay-content .hero_overlay_rubrik {
    font-size: 18px;
  }
  .hero-overlay-content .hero_overlay_text {
    font-size: 13px;
  }
}
