/*----------------------------------------------------------------------
    Opendeurdag (open house) banner
    Used by templates/Website/Projects/Includes/OpenHouseBanner.ss
    Loaded on demand via <% require themedCSS('open-house') %>
----------------------------------------------------------------------*/
.open-house-box {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border-color);
  -webkit-box-shadow: 0 30px 60px rgba(74, 81, 91, 0.1);
  box-shadow: 0 30px 60px rgba(74, 81, 91, 0.1);
}

.open-house-box::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--primary-color);
}

.open-house-box .row > [class*="col-"] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/* Image column */
.open-house-image {
  position: relative;
  width: 100%;
  min-height: 460px;
  background-color: var(--lighter-color);
  background-position: center;
}

.open-house-date-badge {
  position: absolute;
  top: 36px;
  left: 30px;
  width: 96px;
  height: 96px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: var(--primary-color);
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.open-house-date-badge .day {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.open-house-date-badge .month {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Content column */
.open-house-content {
  width: 100%;
  padding: 55px 60px 50px;
}

.open-house-content .section-title {
  margin-bottom: 20px;
}

.open-house-content .section-title h2 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 0;
}

.open-house-intro p {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 10px;
}

.open-house-intro p:last-child {
  margin-bottom: 0;
}

.open-house-meta {
  list-style: none;
  padding: 0;
  margin: 30px 0 35px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 18px 40px;
}

.open-house-meta li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  line-height: 1.4;
}

.open-house-meta li i {
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  width: 54px;
  height: 54px;
  margin-right: 16px;
  line-height: 52px;
  text-align: center;
  font-size: 22px;
  border-radius: 50%;
  color: var(--primary-color);
  border: 1px solid var(--border-color);
}

.open-house-meta li strong {
  color: var(--heading-color);
  font-weight: 700;
}

.open-house-meta li strong::first-letter {
  text-transform: uppercase;
}

.open-house-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 15px 30px;
}

.open-house-more {
  font-weight: 700;
  text-decoration: underline;
  color: var(--heading-color);
}

.open-house-more:hover {
  color: var(--primary-color);
}

/* Responsive */
@media only screen and (max-width: 1199px) {
  .open-house-content {
    padding: 45px 40px 40px;
  }

  .open-house-content .section-title h2 {
    font-size: 40px;
  }
}

@media only screen and (max-width: 991px) {
  .open-house-image {
    min-height: 280px;
  }

  .open-house-date-badge {
    top: 30px;
    left: 24px;
    width: 84px;
    height: 84px;
  }

  .open-house-date-badge .day {
    font-size: 36px;
  }
}

@media only screen and (max-width: 767px) {
  .open-house-content {
    padding: 35px 25px 35px;
  }

  .open-house-content .section-title h2 {
    font-size: 32px;
  }

  .open-house-intro p {
    font-size: 17px;
  }

  .open-house-meta {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
  }

  .open-house-btns .theme-btn {
    width: 100%;
  }
}
