.banner {
  background-size: cover;
  background-repeat: no-repeat;
  
  /*padding: 40px 0;
  background-color: #f5f5f5;*/
  padding: 0;
  background-color: transparent;
  position: relative;
}

.banner__box {
  padding: 50px 20px;
}

.banner__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
  pointer-events: none; /* So the entire banner (anchor) is still clickable */
}

.banner__heading h1,
.banner__heading h2,
.banner__heading h3,
.banner__heading h4,
.banner__heading h5,
.banner__heading h6 {
  margin: 0;
  text-shadow: #000 1px 1px 19px;
}

.banner__heading + .banner__body,
.banner__heading + .banner__actions {
  margin-top: 15px;
}

.banner__body p:first-child {
  margin-top: 0;
}

.banner__body p:last-child {
  margin-bottom: 0;
}

.banner__body p {
  text-shadow: #000 1px 1px 19px;
}

.banner__body + .banner__actions {
  margin-top: 15px;
}

.banner__actions {
  margin-bottom: -40px;
}

/* todo: add special class to banners where this is wanted (for now every banner is full width) */
article .entity-default--os2web-banner-paragraph {
  max-width: 100vw;
  /* 16px is the width of the scrollbar */
  min-height: 500px;

  background-position: center;
  background-size: cover;
  display: flex;
}

.banner__content-wrapper {
  position: relative;
  z-index: 2;
}

