@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Teko:wght@300;400;500;600;700&display=swap");

.advertorial-coupon {
  overflow: hidden;
}

.advertorial-coupon__wrapper {
  position: relative;
  padding: 3px;
  overflow: hidden;
  border-radius: 10px;
  background-image: url("../assets/static/coupon-bg-img-horizontal.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
}

.advertorial-coupon__wrapper:before {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  top: calc(50% - 32px);
  left: -35px;
  z-index: 99;
  background: #ffffff;
}

@media screen and (max-width: 360px) {
}

.advertorial-coupon__wrapper:after {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  top: calc(50% - 32px);
  right: -32px;
  z-index: 99;
  background: #ffffff;
}

.advertorial-coupon__content {
  background: transparent;
  position: relative;
  font-family: "Inter", sans-serif;
  padding: 40px 0;
  margin: 0 auto;
  border-radius: 10px;
  z-index: 11;
  display: flex;
  align-items: center;

  background-position: center;
  background-size: cover;
}
.advertorial-coupon__content--overlay {
  position: absolute;
  top: 0;
  border-radius: 15px;
  overflow: hidden;
  left: 0;
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='10' ry='10' stroke='%23EF0000' stroke-width='5' stroke-dasharray='10%2c 20' stroke-dashoffset='12' stroke-linecap='square'/%3e%3c/svg%3e");
  border-radius: 10px;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.advertorial-coupon__note {
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  color: #222222;
  margin-top: 16px !important;
  text-align: center;
  margin-bottom: 16px !important;
}

.advertorial-coupon__image {
  width: 192px;
  height: 192px;
  object-fit: cover;
  box-sizing: border-box;
  margin-right: 24px;
  margin-bottom: 0 !important;
  border-radius: 10px;
  box-shadow: 0px 0px 15px 0px #b2001a26;
}

.advertorial-coupon__badges figure:not(:last-of-type) img {
  margin-bottom: 16px !important;
}

.advertorial-coupon__badges figure img {
  width: 80px;
  height: 80px;
}

.advertorial-coupon__cta {
  margin-left: 24px;
  max-width: 230px;
}
.advertorial-coupon__ctaBtn {
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  z-index: 100;
  border-radius: 6px;
  margin-top: 8px;
  border-bottom: 3px solid #b2001a;
  color: #fff;
  max-width: 230px;
  transition: background-color 300ms ease-in, border-bottom 300ms ease-in;
}

.advertorial-coupon__ctaBtn > p {
  margin: 0;
}

.advertorial-coupon__cta > .advertorial-coupon__text--discount {
  font-size: 48px;
  line-height: 48px;
  letter-spacing: 2px;
  font-weight: 900;
  color: #ef0000;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #b2001a;
  -webkit-text-shadow: 1px 1px 2px #b2001a;
}

.advertorial-coupon__cta > .advertorial-coupon__text-offer {
  display: block;
  font-weight: 900;
  font-size: 22px;
  line-height: 32px;
  color: #333333;
  text-transform: uppercase;
}

.advertorial-coupon__cta > .advertorial-coupon__ctaBtn {
  text-decoration: none;
}
.advertorial-coupon__cta > .advertorial-coupon__ctaBtn span {
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 20px !important;
  line-height: 24px !important;
  color: inherit;
  text-decoration: none !important;
  display: inline;
}

@media screen and (min-width: 920px) {
  .advertorial-coupon__cta > .advertorial-coupon__ctaBtn:hover {
    background-color: var(--hover-background) !important;
    color: var(--hover-color);
    border-bottom: 3px solid var(--hover-shadow) !important;
  }

  .advertorial-coupon__badges {
    margin-top: 16px;
  }
}

.advertorial-coupon__cta > .advertorial-coupon__ctaBtn:hover span {
  color: #ffffff;
}

.advertorial-coupon__timer {
  display: flex;
  align-items: center;
  margin: 8px 0 16px 0;
}

.advertorial-coupon__ctaBtn > img {
  display: inline;
  position: relative;
  top: -3px;
  margin-left: 16px;
  margin-bottom: 0px !important;
}

.advertorial-coupon__hours,
.advertorial-coupon__minutes,
.advertorial-coupon__seconds {
  display: flex;
}
.advertorial-coupon__hours {
  margin-right: 6px;
}
.advertorial-coupon__minutes {
  margin: 0 6px;
}
.advertorial-coupon__seconds {
  margin-left: 6px;
}
.advertorial-coupon__hours > div:first-child {
  margin-right: 3px;
}
.advertorial-coupon__minutes > div:first-child {
  margin-right: 3px;
}
.advertorial-coupon__seconds > div:first-child {
  margin-right: 3px;
}

.advertorial-coupon-time-frame {
  background: #fff;
  width: 32px;
  color: #b2001a;
  font-weight: 700;
  font-size: 20px;
  line-height: 40px;
  box-shadow: 0px 0px 10px 0px #b2001a59;
  text-align: center;
  transform: scale(0.99);
}

@media screen and (max-width: 360px) {
  .advertorial-coupon__content {
    padding: 40px 24px;
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (min-width: 361px) and (max-width: 676px) {
  .advertorial-coupon__content {
    padding: 40px 60px;
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 676px) {
  .advertorial-coupon__wrapper {
    background-image: url("../assets/static/bg-vertical.jpg");
  }

  .advertorial-coupon__badges figure:not(:last-of-type) img {
    margin-bottom: 0px !important;
  }
  .advertorial-coupon__ctaBtn {
  }

  .advertorial-coupon__image {
    margin-right: 0;
    margin-bottom: 24px !important;
    width: 228px;
    height: 228px;
  }
  .advertorial-coupon__cta {
    margin-left: 0;
    max-width: 230px;
    width: 100%;
  }
  .advertorial-coupon__timer {
    margin-top: 8px;
  }
  .advertorial-coupon__badges {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
  }

  .advertorial-coupon__badges figure img {
    width: 95px;
    height: 95px;
    margin-bottom: 0 !important;
  }
  .advertorial-coupon__badges figure {
    margin-bottom: 0 !important;
    margin: 0 0 0 !important;
  }

  .post_content .advertorial-coupon__badges figure:not(:last-of-type) img {
    margin-bottom: 0px !important;
  }
  .advertorial-coupon__badges figure:not(:last-of-type) {
    margin-right: 16px !important;
  }

  .advertorial-coupon__cta > .advertorial-coupon__text--discount {
    text-align: center;
    display: block;
  }
}
