/* Overlay & popup */
.opendeur-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
  z-index: 9999;
}

.opendeur-overlay.is-visible {
  display: flex;
}

.opendeur-popup {
  background: #ffffff;
  border-radius: 8px;
  max-width: 940px;
  width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

.opendeur-popup__image {
  flex: 6;
  position: relative;
  min-height: 220px;
}

.opendeur-popup__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.opendeur-popup__content {
  flex: 7;
  padding: 32px 40px;
  position: relative;
  display: flex;
  align-items: center;
}

.opendeur-popup__inner {
  width: 100%;
}

.opendeur-popup__close {
  position: absolute;
  top: 0px;
  right: 0px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.opendeur-popup__title {
  margin: 0 0 4px;
}

.opendeur-popup__subtitle {
  margin: 0 0 12px;
  font-weight: 500;
  color: #555;
}

.opendeur-popup__text {
  margin-bottom: 18px;
}

.opendeur-popup__button {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

/* Sticker */
.opendeur-sticker-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.opendeur-sticker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  padding: 18px;
  box-sizing: border-box;
}

.opendeur-sticker__title {
  font-weight: 700;
}

.opendeur-sticker__date,
.opendeur-sticker__cta {
  font-size: 14px;
}

.opendeur-sticker__separator {
  width: 80%;
  height: 1px;
  opacity: 0.5;
  margin: 6px 0;
}

/* Info blok */
.opendeur-info {
  border-radius: 6px;
  padding: 18px 20px;
  display: inline-block;
}

.opendeur-info__title {
  margin: 0 0 4px;
}

.opendeur-info__subtitle {
  margin: 0 0 10px;
}

.opendeur-info__button {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
}

/* Marketing blok */
.opendeur-marketing {
  margin: 32px 0;
}

.opendeur-marketing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.opendeur-marketing__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
	 align-items: flex-start;
}

.opendeur-marketing__title {
  margin: 0;
}

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

.opendeur-marketing__meta {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

.opendeur-marketing__separator {
  margin: 0 8px;
}

.opendeur-marketing__button {
  display: inline-block;
  margin-top: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  text-decoration: none;
}

.opendeur-marketing__right {
  align-self: stretch;
}
/*
.opendeur-marketing__image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0px;
}

.opendeur-marketing__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}*/

@media (max-width: 980px) {
  .opendeur-popup {
    flex-direction: column;
  }

  .opendeur-popup__content {
    padding: 24px 20px 22px;
  }

  .opendeur-marketing__inner {
    grid-template-columns: 1fr;
  }

  .opendeur-marketing__image-wrapper {
    max-height: 260px;
  }
}
