@charset "UTF-8";
/**
 * Home banner module. Two columns 50/50; right column has dark overlay.
 * Background via .mod_home_banner__bg (div with background-image). All rules scoped to .mod_home_banner.
 */

.mod_home_banner {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

/* Background image: full-bleed (like mod_box_grid) */
.mod_home_banner .mod_home_banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* No pseudo-elements from global styles */
.mod_home_banner::before,
.mod_home_banner::after,
.mod_home_banner .mod_home_banner__wrapper::before,
.mod_home_banner .mod_home_banner__wrapper::after,
.mod_home_banner .mod_home_banner__row::before,
.mod_home_banner .mod_home_banner__row::after,
.mod_home_banner .mod_home_banner__left::before,
.mod_home_banner .mod_home_banner__left::after,
.mod_home_banner .mod_home_banner__right::before,
.mod_home_banner .mod_home_banner__right::after {
  display: none !important;
  content: none !important;
}

.mod_home_banner .mod_home_banner__wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.mod_home_banner .mod_home_banner__row {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 320px;
}

/* 50% / 50% columns, full height */
.mod_home_banner .mod_home_banner__left,
.mod_home_banner .mod_home_banner__right {
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  box-sizing: border-box;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
}

.mod_home_banner .mod_home_banner__left-inner,
.mod_home_banner .mod_home_banner__right-inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.mod_home_banner .mod_home_banner__left .mod_home_banner__text-above,
.mod_home_banner .mod_home_banner__left .mod_home_banner__text {
  margin-bottom: 0.5em;
}

.mod_home_banner .mod_home_banner__right {
  position: relative;
}

.mod_home_banner .mod_home_banner__right .mod_home_banner__layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  pointer-events: none;
}

.mod_home_banner .mod_home_banner__right .mod_home_banner__right-inner {
  position: relative;
  z-index: 1;
}

.mod_home_banner .mod_home_banner__right .mod_home_banner__right-inner p:last-child {
  margin-bottom: 0;
}

/* Inverted layout */
.mod_home_banner.left-placement .mod_home_banner__row {
  flex-direction: row-reverse;
}

@media screen and (max-width: 48em) {
  .mod_home_banner .mod_home_banner__row {
    flex-direction: column;
  }

  .mod_home_banner .mod_home_banner__left,
  .mod_home_banner .mod_home_banner__right {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .mod_home_banner.left-placement .mod_home_banner__row {
    flex-direction: column;
  }
}
