.lmdm-teaser {
  width: 100%;
  margin: var(--margin-top, var(--content-spacing)) var(--margin-right, auto) var(--margin-bottom, 0) var(--margin-left, auto);
}
.lmdm-teaser.desaturate .image-link img, .lmdm-teaser.desaturate .background_image img {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
.lmdm-teaser .eedee-swiper-outer {
  margin-bottom: 30px;
}
@media (min-width: 1000px) {
  .lmdm-teaser .eedee-swiper-outer {
    margin-bottom: 0;
  }
}
.lmdm-teaser .swiper .swiper-wrapper .swiper-slide {
  margin-bottom: 0;
}
@media (min-width: 690px) {
  .lmdm-teaser .swiper .swiper-wrapper {
    display: flex;
  }
}
.lmdm-teaser .swiper .swiper-wrapper .swiper-slide:last-child {
  margin-right: 0;
}
.lmdm-teaser .wp-block-columns {
  gap: 0;
  margin-bottom: 0;
  box-sizing: border-box;
  margin-left: calc(var(--block-gap, var(--teaser-spacing, 15px)) / 2 * -1);
  margin-right: calc(var(--block-gap, var(--teaser-spacing, 15px)) / 2 * -1);
}
.lmdm-teaser .wp-block-columns > .wp-block-column {
  box-sizing: border-box;
  padding: 0 calc(var(--block-gap, var(--teaser-spacing, 15px)) / 2);
  flex: 0 0 auto;
}
.lmdm-teaser .wp-block-post-metas {
  margin-bottom: 10px;
}
.lmdm-teaser .wp-block-post-meta-price {
  margin-top: 10px;
  margin-bottom: 0;
}
.lmdm-teaser .wp-block-post-meta-price + .wp-block-button {
  margin-top: 10px;
}
.lmdm-teaser .wp-block-post-meta-price span.price {
  line-height: 1em;
}
.lmdm-teaser .wp-block-post-meta-price span.pre_sep {
  letter-spacing: -1px;
  font-size: 1.5em;
  font-weight: bold;
}
.lmdm-teaser .wp-block-post-meta-price span.sep {
  position: relative;
  top: -12px;
  display: none;
}
.lmdm-teaser .wp-block-post-meta-price span.post_sep {
  position: relative;
  top: -10px;
  left: 2px;
  font-weight: bold;
}
.lmdm-teaser .wp-block-post-desc {
  margin: 0 0 10px 0;
}
.lmdm-teaser .items .item {
  margin-bottom: var(--block-gap, var(--teaser-spacing, var(--content-spacing, 20px)));
}
.lmdm-teaser .items .item > .col-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--custom-background-color);
  border: var(--custom-block-border, none);
  border-radius: var(--custom-block-border-radius, var(--form-field-border-radius, 3px));
}
.lmdm-teaser .items .item > .col-inner .desc {
  box-sizing: border-box;
  padding: var(--custom-block-padding, 10px 0);
  background-color: var(--custom-background-color);
}
.lmdm-teaser.has-border-radius .image-link {
  border-radius: var(--custom-block-border-radius, var(--form-field-border-radius, 3px));
}
.lmdm-teaser.has-border-radius.has-background .items .item > .col-inner {
  overflow: hidden;
}
.lmdm-teaser.has-border-radius.has-background .items .item > .col-inner .image-link {
  border-radius: 0;
}
.lmdm-teaser.has-background .items .item > .col-inner .desc, .lmdm-teaser.style-cover .items .item > .col-inner .desc {
  padding: var(--custom-block-padding, 10px 20px 20px 20px);
}
.lmdm-teaser .wp-block-button__link {
  background-color: var(--custom-btn-backgroundcolor, var(--buttonInitialColor)) !important;
  color: var(--custom-btn-textcolor, var(--buttonTextInitialColor)) !important;
}
.lmdm-teaser.has-icon .maybe_row {
  display: flex;
  flex-direction: row;
  margin-top: auto;
  align-items: end;
}
.lmdm-teaser.has-icon .maybe_row .wp-block-post-meta-price {
  flex-basis: 50%;
  text-align: left;
}
.lmdm-teaser.has-icon .maybe_row .wp-block-button {
  flex-grow: 1;
}
.lmdm-teaser.has-icon .wp-block-button__link {
  --buttonMinHeight: 0;
  --buttonTransform: none;
  padding: 10px;
  overflow: hidden;
}
.lmdm-teaser.has-icon .wp-block-button__link svg {
  fill: var(--custom-btn-textcolor, var(--custom-text-color, var(--buttonTextInitialColor)));
}
.lmdm-teaser.has-icon.has-icon-arrow .wp-block-button__link:hover svg {
  fill: var(--custom-btn-textcolor, var(--buttonTextHoverColor)) !important;
  will-change: transform, opacity;
  animation: flyOutIn 0.5s forwards;
}
.lmdm-teaser.style-default {
  flex: 1;
}
.lmdm-teaser.style-default .item {
  display: flex;
  flex-direction: column;
}
.lmdm-teaser.style-default .item .inner-teaser {
  flex: 1;
}
.lmdm-teaser.style-default .item .inner-teaser .desc {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.lmdm-teaser.style-default .item .inner-teaser .desc .maybe_row {
  margin-top: auto;
}
.lmdm-teaser.style-default .item .inner-teaser .desc .wp-block-post-meta-price + .wp-block-button {
  margin-top: 10px;
}
.lmdm-teaser.style-default.has-text-align-right {
  text-align: left;
}
.lmdm-teaser.style-default.has-text-align-right .wp-block-button {
  text-align: right;
}
.lmdm-teaser.style-default.has-text-align-center {
  text-align: left;
}
.lmdm-teaser.style-default.has-text-align-center .wp-block-button {
  width: 100%;
  text-align: center;
}
.lmdm-teaser.style-default.has-text-align-center .wp-block-button .wp-block-button__link {
  justify-content: center;
  width: 100%;
}
.lmdm-teaser.style-default .image-link {
  overflow: hidden;
}
.lmdm-teaser.style-default .image-link.ratio .background_image {
  transition: all 0.3s ease;
}
.lmdm-teaser.style-default .image-link.ratio:hover .background_image {
  transform: scale(1.2);
}
.lmdm-teaser .background_image {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  overflow: hidden;
}
.lmdm-teaser .background_image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.lmdm-teaser.style-cover .item .col-inner {
  cursor: pointer;
  overflow: hidden;
}
.lmdm-teaser.style-cover .item .col-inner:hover .background_image:before {
  opacity: 0;
}
.lmdm-teaser.style-cover .item .col-inner:hover .desc {
  transform: translateY(100px);
  opacity: 0;
}
.lmdm-teaser.style-cover .item .col-inner > .inner-teaser {
  position: relative;
  height: 100%;
}
.lmdm-teaser.style-cover .item .col-inner > .inner-teaser > .desc {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #fff;
  background-color: transparent;
}
.lmdm-teaser.style-cover .item .col-inner > .inner-teaser > .desc .wp-block-post-title {
  margin-top: auto;
  color: var(--custom-text-color, #fff);
}
.lmdm-teaser.style-cover .item .col-inner > .inner-teaser > .desc .wp-block-post-title a {
  color: var(--custom-text-color, #fff);
}
.lmdm-teaser.style-cover .item .background_image {
  border-radius: var(--custom-block-border-radius, var(--form-field-border-radius, 3px));
}
.lmdm-teaser.style-cover .item .background_image:before {
  transition: opacity 0.3s ease;
  display: block;
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  background: linear-gradient(0deg, var(--custom-background-color, rgba(0, 0, 0, 0.5)) 0%, rgba(0, 0, 0, 0) 100%);
}
@media (max-width: 689px) {
  .lmdm-teaser.style-cover .item .inner-teaser.ratio:before {
    padding-top: 100%;
  }
}
.lmdm-teaser.style-cover .item .inner-teaser.ratio .desc {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  transition: all 0.3s;
}
.lmdm-teaser.style-cover .item .inner-teaser.ratio .desc .maybe_row {
  margin-top: 0;
}
.lmdm-teaser.style-cover.has-text-align-center .desc .wp-block-post-desc, .lmdm-teaser.style-cover.has-text-align-center .desc .wp-block-post-title {
  text-align: center;
}
@media (min-width: 690px) {
  .lmdm-teaser.style-cover.post_count_1 .item .inner-teaser.ratio .wp-block-post-title,
  .lmdm-teaser.style-cover.post_count_1 .item .inner-teaser.ratio .wp-block-post-desc {
    width: 70%;
  }
}
@media (min-width: 690px) {
  .lmdm-teaser.style-cover.post_count_1.has-text-align-center .item .inner-teaser.ratio .wp-block-post-title,
  .lmdm-teaser.style-cover.post_count_1.has-text-align-center .item .inner-teaser.ratio .wp-block-post-desc {
    width: 100%;
  }
}
.lmdm-teaser.style-cover.has-text-align-center .wp-block-post-title,
.lmdm-teaser.style-cover.has-text-align-center .wp-block-post-desc,
.lmdm-teaser.style-cover.has-text-align-center .wp-block-post-meta, .lmdm-teaser.style-cover.has-text-align-right .wp-block-post-title,
.lmdm-teaser.style-cover.has-text-align-right .wp-block-post-desc,
.lmdm-teaser.style-cover.has-text-align-right .wp-block-post-meta {
  text-align: left;
}
.lmdm-teaser.style-list .wp-block-row {
  background: var(--custom-background-color);
  border-radius: var(--custom-block-border-radius, var(--form-field-border-radius, 3px));
}
@media (min-width: 690px) {
  .lmdm-teaser.style-list .wp-block-row {
    display: flex;
    flex-direction: row;
  }
  .lmdm-teaser.style-list .wp-block-row > .image-link {
    width: 50%;
    min-width: 50%;
  }
  .lmdm-teaser.style-list .wp-block-row > .inner-teaser {
    width: 100%;
  }
}
@media (min-width: 782px) {
  .lmdm-teaser.style-list .wp-block-row > .image-link {
    width: 30%;
    min-width: 30%;
  }
}
.lmdm-teaser.style-list .wp-block-row .inner-teaser .desc {
  padding: 20px 0 20px 0;
  box-sizing: border-box;
}
@media (min-width: 690px) {
  .lmdm-teaser.style-list .wp-block-row .inner-teaser .desc {
    padding: 20px;
  }
  .lmdm-teaser.style-list .wp-block-row .inner-teaser .desc .wp-block-button {
    text-align: right;
  }
}
.lmdm-teaser.style-list.has-background .wp-block-row .inner-teaser .desc {
  padding-left: 20px;
  padding-right: 20px;
}
.lmdm-teaser.style-list.has-icon .wp-block-button {
  text-align: right;
}
.lmdm-teaser.style-list .background_image {
  border-top-left-radius: var(--custom-block-border-radius, var(--form-field-border-radius, 3px));
  border-top-right-radius: var(--custom-block-border-radius, var(--form-field-border-radius, 3px));
  border-bottom-left-radius: unset;
  border-bottom-right-radius: unset;
}
@media (min-width: 690px) {
  .lmdm-teaser.style-list .background_image {
    border-bottom-left-radius: var(--custom-block-border-radius, var(--form-field-border-radius, 3px));
    border-top-right-radius: unset;
  }
}
@media (min-width: 782px) {
  .lmdm-teaser.style-default:not(.has-text-align-center) .inner-teaser .desc, .lmdm-teaser.style-cover:not(.has-text-align-center) .inner-teaser .desc, .lmdm-teaser.style-list .inner-teaser .desc {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .lmdm-teaser.style-default:not(.has-text-align-center) .inner-teaser .maybe_row, .lmdm-teaser.style-cover:not(.has-text-align-center) .inner-teaser .maybe_row, .lmdm-teaser.style-list .inner-teaser .maybe_row {
    display: flex;
    flex-direction: row;
    margin-top: auto;
    align-items: end;
  }
  .lmdm-teaser.style-default:not(.has-text-align-center) .inner-teaser .maybe_row .wp-block-post-meta-price, .lmdm-teaser.style-cover:not(.has-text-align-center) .inner-teaser .maybe_row .wp-block-post-meta-price, .lmdm-teaser.style-list .inner-teaser .maybe_row .wp-block-post-meta-price {
    flex-basis: 50%;
    text-align: left;
  }
  .lmdm-teaser.style-default:not(.has-text-align-center) .inner-teaser .maybe_row .wp-block-button, .lmdm-teaser.style-cover:not(.has-text-align-center) .inner-teaser .maybe_row .wp-block-button, .lmdm-teaser.style-list .inner-teaser .maybe_row .wp-block-button {
    flex-grow: 1;
  }
}
.entry-content .wp-block-list:not(.has-background) .lmdm-teaser {
  width: auto;
}
.entry-content .wp-block-list.alignfull .lmdm-teaser, .entry-content .wp-block-list.alignwide .lmdm-teaser {
  max-width: unset;
}
.entry-content .wp-block-list.alignfull .lmdm-teaser {
  width: 100%;
  padding: 0 20px;
}
.lmdm-teaser.has-background.style-default .image-link {
  border-top-left-radius: var(--custom-block-border-radius, var(--form-field-border-radius, 3px));
  border-top-right-radius: var(--custom-block-border-radius, var(--form-field-border-radius, 3px));
}
.lmdm-teaser.has-background.style-default .image-link .background_image {
  border-top-left-radius: var(--custom-block-border-radius, var(--form-field-border-radius, 3px));
  border-top-right-radius: var(--custom-block-border-radius, var(--form-field-border-radius, 3px));
}
.lmdm-teaser .wp-block-post-meta-price,
.lmdm-teaser .wp-block-post-title,
.lmdm-teaser .wp-block-post-desc,
.lmdm-teaser .wp-block-post-meta {
  color: var(--custom-text-color, inherit);
}
.lmdm-teaser .wp-block-post-title {
  margin: 0 0 10px 0;
}
.lmdm-teaser .wp-block-post-title a {
  color: var(--custom-text-color, inherit);
  text-decoration: none;
}
.ct-theme-editor-styles .lmdm-teaser .wp-block-post-title a {
  color: var(--custom-text-color, inherit);
}
.lmdm-teaser .wp-block-post-title.text-truncate a {
  display: inline;
}
.lmdm-teaser .wp-block-post-title.fw-bold {
  --fontWeight: bold;
}
.lmdm-teaser.has-slideshow {
  padding-bottom: 50px;
}
@media (min-width: 1000px) {
  .lmdm-teaser.has-slideshow .swiper-slide {
    display: flex;
    flex-direction: column;
  }
  .lmdm-teaser.has-slideshow .swiper-slide .inner-teaser {
    flex: 1;
  }
  .lmdm-teaser.has-slideshow .swiper-slide .inner-teaser .desc {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
}

.lmdm-block-edit {
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  width: 70px;
  height: 70px;
  overflow: hidden;
}
.lmdm-block-edit a {
  position: absolute;
  padding: 8px;
  line-height: 1;
  background: #ccc;
  border-bottom-right-radius: 10px;
  box-shadow: -15px -15px 20px 20px rgba(0, 0, 0, 0.5);
  top: -20px;
  left: -20px;
  opacity: 0;
  transition: all 0.3s;
  transition-property: left, top, opacity;
}
.lmdm-block:hover .lmdm-block-edit a {
  opacity: 1;
  left: 0;
  top: 0;
}
.editor-styles-wrapper .lmdm-block-edit {
  display: none;
}
