/* AOS self-hosted course-artwork fallback. Applies only to missing catalogue thumbnails. */
li.product .aos-course-rescue-cover {
  --aos-cover-a: #321449;
  --aos-cover-b: #6c2a9d;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 182px;
  padding: clamp(15px, 2vw, 24px);
  margin: 0 0 13px;
  border-radius: 13px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(137deg, var(--aos-cover-a) 0%, var(--aos-cover-b) 100%);
  box-shadow: 0 10px 27px rgba(39, 18, 61, .11);
  text-align: left;
  line-height: 1.2;
  font-family: inherit;
}
li.product .aos-course-rescue-cover::before {
  content: "";
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 0 0 27px rgba(255,255,255,.055), 0 0 0 63px rgba(255,255,255,.026);
  border-radius: 50%;
  top: -35%;
  right: -28%;
  z-index: -1;
}
li.product .aos-course-rescue-cover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: #ffcc29;
}
li.product .aos-rescue-topline {
  position: relative;
  z-index: 1;
  color: #efe1fa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  line-height: 1.3;
}
li.product .aos-rescue-deco {
  position: absolute;
  right: 21px;
  top: 40px;
  z-index: 0;
  font-size: 37px;
  line-height: 1;
  font-weight: 400;
  color: #ffcc29;
}
li.product .aos-rescue-main {
  position: relative;
  z-index: 1;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: auto 0;
  padding: 18px 0;
  max-width: 95%;
  font-weight: 800;
  font-size: clamp(16px, 1.5vw, 22px);
  letter-spacing: -.35px;
  line-height: 1.23;
  text-wrap: balance;
}
li.product .aos-rescue-footer {
  position: relative;
  z-index: 1;
  color: #ffe184;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.25px;
  line-height: 1.3;
}
li.product .aos-course-rescue--technology { --aos-cover-a: #193c56; --aos-cover-b: #157587; }
li.product .aos-course-rescue--wellbeing { --aos-cover-a: #21483e; --aos-cover-b: #348c7d; }
li.product .aos-course-rescue--creative { --aos-cover-a: #502057; --aos-cover-b: #ab4a8a; }
li.product .aos-course-rescue--business { --aos-cover-a: #321449; --aos-cover-b: #7135a5; }
li.product .aos-course-rescue--general { --aos-cover-a: #31224b; --aos-cover-b: #7754a5; }
li.product a.woocommerce-loop-product__link .aos-course-rescue-cover { text-decoration: none !important; }
li.product .aos-course-rescue-cover:hover { box-shadow: 0 12px 32px rgba(39, 18, 61, .19); }
.dgwt-wcas-suggestion img.aos-course-rescued-image,
.dgwt-wcas-suggestions-wrapp img.aos-course-rescued-image {
  object-fit: cover;
  background: #321449;
}
@media(max-width:640px) {
  li.product .aos-course-rescue-cover { min-height: 142px; padding: 13px; border-radius: 10px; }
  li.product .aos-rescue-main { font-size: clamp(13px, 3.7vw, 19px); }
  li.product .aos-rescue-topline { font-size: 8px; letter-spacing: 1.15px; }
  li.product .aos-rescue-footer { font-size: 7px; letter-spacing: .65px; }
}