/* Keep the source site's navigation geometry while making room for the full Kloel mark. */
div:has(> a[aria-label="Kloel"] > img[src*="print_logo.png"]) {
  width: 128px !important;
  height: 34px !important;
}
a[aria-label="Kloel"] > img[src*="print_logo.png"] {
  object-fit: contain !important;
  object-position: left center !important;
}

/* Academy covers keep their artwork separate from editable course text. */
.kloel-academy-card {
  position: relative;
  flex-shrink: 0;
  width: 220px;
  height: 340px;
  margin: 0 12px;
  overflow: hidden;
  border: 1px solid #ffffff12;
  border-radius: 18px;
  background: #090909;
  color: #fff;
}
.kloel-academy-art {
  position: absolute;
  inset: 0 0 auto;
  height: 218px;
}
.kloel-academy-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, #090909);
  pointer-events: none;
}
.kloel-academy-art img { object-fit: contain; }
.kloel-academy-copy {
  position: absolute;
  inset: auto 12px 23px;
  text-align: center;
}
.kloel-academy-copy h3 { margin: 0; color: #fff; }
.kloel-academy-eyebrow {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #e0ddd6;
}
.kloel-academy-title {
  display: block;
  font-size: 27px;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.6px;
}
.kloel-academy-instructor {
  margin: 19px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: #d6c39b;
}
@media (max-width: 767px) {
  .kloel-academy-card { width: 180px; height: 292px; margin: 0 10px; border-radius: 15px; }
  .kloel-academy-art { height: 180px; }
  .kloel-academy-copy { inset: auto 9px 20px; }
  .kloel-academy-title { font-size: 23px; }
  .kloel-academy-eyebrow { font-size: 11px; }
  .kloel-academy-instructor { margin-top: 15px; font-size: 11px; }
}
