/* FY27 Frontier Catalog — UpLearn theme end-to-end */
:root {
  /* Astra landing tokens */
  --ufc-bg: #f9fafb;
  --ufc-surface: #ffffff;
  --ufc-ink: #171717;
  --ufc-muted: #626262;
  --ufc-line: #e5e7eb;
  --ufc-blue: #5b8c5d;          /* forest-light accent (was royal blue) */
  --ufc-blue-deep: #122b23;     /* forest */
  --ufc-blue-soft: #eef6e8;     /* mint */
  --ufc-cta: #d8f382;           /* brand lime */
  --ufc-cta-hover: #b8d690;
  --ufc-cta-text: #171717;
  --ufc-shadow: 0 4px 18px rgba(18, 43, 35, 0.10);
  --ufc-shadow-sm: 0 1px 6px rgba(18, 43, 35, 0.06);
  --ufc-display: "Figtree", system-ui, sans-serif;
  --ufc-body: "Figtree", system-ui, sans-serif;
  --ufc-forest: #122b23;
  --ufc-forest-mid: #17352b;
  --ufc-forest-light: #5b8c5d;
  --ufc-mint: #eef6e8;
  --ufc-lime: #d8f382;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.ufc-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ufc-body);
  color: var(--ufc-ink);
  background: var(--ufc-bg);
  -webkit-font-smoothing: antialiased;
}

/* Shared landing topbar — self-contained (no astra.css global bleed) */
body.ufc-page header.upl-topbar.upl-topbar--astra {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  border-bottom: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 200;
  font-family: "Figtree", system-ui, sans-serif;
}

body.ufc-page .upl-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 10px 16px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  body.ufc-page .upl-topbar__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

body.ufc-page .upl-topbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

body.ufc-page .upl-topbar__logo img {
  display: block;
  width: 130px;
  height: 41px;
  object-fit: contain;
  object-position: left center;
}

body.ufc-page .upl-topbar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 20px;
  min-width: 0;
  padding: 0 8px;
}

body.ufc-page .upl-topbar__link {
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: #171717;
  text-decoration: none;
  padding: 8px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

body.ufc-page .upl-topbar__link:hover {
  color: #171717;
  background: rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

body.ufc-page .upl-topbar__link.is-active {
  font-weight: 600;
  background: rgba(91, 140, 93, 0.12);
  color: #122b23;
}

body.ufc-page .upl-topbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

body.ufc-page .upl-topbar__auth {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

body.ufc-page .upl-topbar__divider { display: none; }

body.ufc-page .upl-topbar__login,
body.ufc-page a.upl-topbar__user-login.upl-topbar__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #737373;
  background: transparent;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}

body.ufc-page .upl-topbar__login:hover,
body.ufc-page a.upl-topbar__user-login.upl-topbar__login:hover {
  color: #171717;
  background: rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

body.ufc-page .upl-topbar__signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #171717;
  background: #d8f382;
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transition: background .15s ease;
}

body.ufc-page .upl-topbar__signup:hover {
  background: #b8d690;
  color: #171717;
  text-decoration: none;
  box-shadow: none;
}

body.ufc-page .upl-topbar__dashboard,
body.ufc-page .upl-topbar__logout {
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #171717;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  padding: 8px 14px;
  text-decoration: none;
}

body.ufc-page .upl-login-dropdown--hidden { display: none !important; }

@media (max-width: 1024px) {
  body.ufc-page .upl-topbar__nav { display: none; }
}

@media (max-width: 768px) {
  body.ufc-page .upl-topbar__logo img {
    width: 112px;
    height: 35px;
  }
  body.ufc-page .upl-topbar__right { gap: 8px; }
  body.ufc-page .upl-topbar__signup {
    padding: 10px 14px;
    font-size: 13px;
  }
}

#uplBackdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(15, 23, 42, 0.35);
}

#uplBackdrop.open { display: block; }

.ufc-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ufc-search {
  flex: 1;
  min-width: 0;
  position: relative;
}

.ufc-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: #98a2b3;
}

.ufc-search input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--ufc-line);
  border-radius: 10px;
  padding: 0 14px 0 40px;
  font: inherit;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.ufc-search input:focus {
  border-color: #a8c9aa;
  box-shadow: 0 0 0 3px rgba(91, 140, 93, 0.12);
}

.ufc-btn {
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--ufc-line);
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.ufc-btn:hover { border-color: #c5d9c0; color: var(--ufc-forest); text-decoration: none; }

.ufc-btn--primary {
  background: var(--ufc-cta);
  border-color: var(--ufc-cta);
  color: var(--ufc-cta-text);
}

.ufc-btn--primary:hover {
  background: var(--ufc-cta-hover);
  border-color: var(--ufc-cta-hover);
  color: var(--ufc-cta-text);
}

.ufc-btn--ghost {
  background: #fff;
  border-color: #c5d9c0;
  color: var(--ufc-forest);
}

.ufc-content {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

/* Hero — light editorial, UpLearn blue + yellow only */
.ufc-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: clamp(22px, 3vw, 32px);
  color: var(--ufc-ink);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(91, 140, 93, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(216, 243, 130, 0.28), transparent 50%),
    #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 28px rgba(18, 43, 35, 0.06);
  animation: ufcRise .5s ease both;
}

.ufc-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url('../../img/hero/agenticlab/parallel-lines.webp');
  background-size: cover;
  background-position: center 40%;
}

.ufc-hero__mesh::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--ufc-forest-light), var(--ufc-lime));
}

.ufc-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.ufc-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--ufc-muted);
  font-size: 12px;
  font-weight: 700;
}

.ufc-hero__crumbs span:last-child { color: var(--ufc-blue); }

.ufc-hero__eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ufc-blue);
  background: var(--ufc-blue-soft);
  padding: 6px 10px;
  border-radius: 999px;
}

.ufc-hero h1 {
  margin: 0 0 12px;
  font-family: var(--ufc-body);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1f1f1f;
  max-width: 18ch;
}

.ufc-hero h1 em {
  font-style: normal;
  color: var(--ufc-forest-light);
  position: relative;
}

.ufc-hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.22em;
  background: rgba(216, 243, 130, 0.65);
  z-index: -1;
  border-radius: 2px;
}

.ufc-hero__lead {
  margin: 0;
  max-width: 46ch;
  color: var(--ufc-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ufc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.ufc-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  max-width: 280px;
}

.ufc-hero__stats > div {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ufc-line);
}

.ufc-hero__stats strong {
  display: block;
  font-family: var(--ufc-body);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ufc-blue);
}

.ufc-hero__stats span {
  font-size: 11px;
  font-weight: 600;
  color: var(--ufc-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Featured course — horizontal Astra agentic stage */
.ufc-featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  color: var(--ufc-ink);
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 36px rgba(18, 43, 35, 0.10);
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  isolation: isolate;
}

.ufc-featured:hover {
  transform: translateY(-4px);
  border-color: #c5d9c0;
  box-shadow: 0 20px 44px rgba(18, 43, 35, 0.14);
}

.ufc-featured__body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  order: 1;
  min-width: 0;
  background: #fff;
  position: relative;
  z-index: 2;
}

.ufc-featured__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ufc-featured h2 {
  margin: 0;
  font-family: var(--ufc-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ufc-ink);
}

.ufc-featured p {
  margin: 0;
  color: var(--ufc-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ufc-featured__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--ufc-line);
  font-size: 12px;
  font-weight: 700;
  color: var(--ufc-muted);
}

.ufc-featured__cta {
  display: inline-flex;
  align-items: center;
  color: #171717;
  font-family: var(--ufc-body);
  font-weight: 700;
  font-size: 12px;
  background: #d8f382;
  padding: 8px 14px;
  border-radius: 9999px;
  box-shadow: none;
}
.ufc-featured:hover .ufc-featured__cta {
  background: #b8d690;
}

/* Right-side agentic stage */
.ufc-featured__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  order: 2;
  background:
    radial-gradient(120% 90% at 80% 20%, rgba(216, 243, 130, 0.5), transparent 55%),
    radial-gradient(90% 80% at 10% 90%, rgba(91, 140, 93, 0.24), transparent 50%),
    linear-gradient(160deg, #f3faf0 0%, #e7f2e4 48%, #dceadb 100%);
  border-left: 1px solid #e5e7eb;
}

.ufc-featured__glow {
  position: absolute;
  width: 190px;
  height: 190px;
  right: -36px;
  top: -48px;
  border-radius: 50%;
  background: rgba(216, 243, 130, 0.6);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.ufc-featured__lines {
  position: absolute;
  left: -12%;
  right: -12%;
  top: 28%;
  height: 48%;
  opacity: .4;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

.ufc-featured__lines img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ufc-featured__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ufc-featured__photo {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 14px 28px rgba(18, 43, 35, 0.18),
    0 2px 6px rgba(18, 43, 35, 0.08);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.ufc-featured__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ufc-featured__photo--back {
  width: 42%;
  height: 62%;
  top: 24%;
  left: 8%;
  z-index: 1;
  transform: rotate(-6deg);
}

.ufc-featured__photo--front {
  width: 46%;
  height: 72%;
  top: 14%;
  left: 28%;
  z-index: 3;
  transform: rotate(2.5deg);
}

.ufc-featured__photo--side {
  width: 36%;
  height: 58%;
  top: 28%;
  right: 6%;
  z-index: 2;
  transform: rotate(7deg);
}

.ufc-featured:hover .ufc-featured__photo--back {
  transform: rotate(-6deg) translateY(-6px);
}
.ufc-featured:hover .ufc-featured__photo--front {
  transform: rotate(2.5deg) translateY(-10px) scale(1.03);
}
.ufc-featured:hover .ufc-featured__photo--side {
  transform: rotate(7deg) translateY(-7px);
}

.ufc-featured__visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(18, 43, 35, 0.12);
  pointer-events: none;
  z-index: 0;
}

.ufc-featured__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,.1) 30%, transparent 58%);
  pointer-events: none;
  z-index: 4;
}

.ufc-featured__chip {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #171717;
  background: var(--ufc-cta);
  padding: 6px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(18, 43, 35, 0.14);
}

@media (max-width: 980px) {
  .ufc-featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ufc-featured__visual {
    order: -1;
    height: 200px;
    min-height: 200px;
    border-left: none;
    border-bottom: 1px solid #e5e7eb;
  }
  .ufc-featured__visual::after {
    background: linear-gradient(180deg, transparent 45%, rgba(255,255,255,.75) 100%);
  }
  .ufc-featured__body { padding: 16px; }
}
@media (max-width: 640px) {
  .ufc-featured__visual { height: 170px; min-height: 170px; }
  .ufc-featured__photo--side { display: none; }
  .ufc-featured__photo--back { width: 40%; left: 12%; }
  .ufc-featured__photo--front { width: 44%; left: 40%; }
}

/* Conversation visual — light header strip (drawer) */
.ufc-viz {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-height: 56px;
  padding: 12px 16px;
  overflow: hidden;
  color: var(--ufc-blue);
  background: #f5f8fc;
  border-bottom: 1px solid var(--ufc-line);
}

.ufc-viz::before,
.ufc-viz::after {
  display: none;
}

.ufc-viz__mark {
  position: relative;
  z-index: 1;
  font-family: var(--ufc-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: inherit;
}

.ufc-viz__label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ufc-muted);
}

.ufc-viz--c1,
.ufc-viz--c2,
.ufc-viz--c3,
.ufc-viz--c4,
.ufc-viz--c5,
.ufc-viz--c6,
.ufc-viz--c7,
.ufc-viz--c8 {
  background: #f3f7ff;
  color: var(--ufc-forest);
}

.ufc-viz--frontier .ufc-viz__mark,
.ufc-viz--core .ufc-viz__mark {
  text-shadow: none;
}

/* Control strip: bucket + search + filters */
.ufc-control {
  position: sticky;
  top: 68px;
  z-index: 40;
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  backdrop-filter: none;
  animation: ufcRise .5s ease .05s both;
  scroll-margin-top: 84px;
  overflow: visible;
}

.ufc-control:has(.ufc-combo.is-open) {
  z-index: 70;
}

.ufc-control__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ufc-segment {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #eef2f7;
  gap: 4px;
  margin-bottom: 0;
}

.ufc-segment__btn {
  border: 0;
  background: transparent;
  color: #475467;
  font: inherit;
  font-family: var(--ufc-body);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.ufc-segment__btn em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #98a2b3;
  background: rgba(16, 24, 40, 0.06);
  padding: 2px 7px;
  border-radius: 999px;
}

.ufc-segment__btn.is-active {
  background: var(--ufc-forest);
  color: #fff;
  box-shadow: none;
}

.ufc-segment__btn.is-active em {
  background: rgba(216, 243, 130, 0.25);
  color: #d8f382;
}

.ufc-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-start;
  position: relative;
  z-index: 5;
}

/* Searchable combobox — light UpLearn style */
.ufc-combo {
  position: relative;
  flex: 1 1 168px;
  min-width: 156px;
  max-width: 240px;
  z-index: 1;
}

.ufc-combo.is-open { z-index: 60; }

.ufc-combo__trigger {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--ufc-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ufc-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.ufc-combo__trigger:hover {
  border-color: #c0d4f0;
  background: #fafcff;
}

.ufc-combo.is-open .ufc-combo__trigger,
.ufc-combo__trigger:focus-visible {
  outline: none;
  border-color: #a8c9aa;
  box-shadow: 0 0 0 3px rgba(91, 140, 93, 0.12);
  background: #fff;
}

.ufc-combo__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ufc-combo__label.is-placeholder { color: #98a2b3; font-weight: 600; }

.ufc-combo__chev {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: #98a2b3;
  transition: transform .15s ease;
}

.ufc-combo.is-open .ufc-combo__chev { transform: rotate(180deg); fill: var(--ufc-blue); }

.ufc-combo__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dbe7f8;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 56, 120, 0.12);
  overflow: hidden;
  max-height: 280px;
}

.ufc-combo.is-open .ufc-combo__panel { display: flex; }

.ufc-combo__search {
  position: relative;
  padding: 10px 10px 8px;
  border-bottom: 1px solid #eef2f7;
  background: #f8fbff;
}

.ufc-combo__search svg {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  fill: #98a2b3;
  pointer-events: none;
}

.ufc-combo__search input {
  width: 100%;
  height: 36px;
  border: 1px solid #e4ebf5;
  border-radius: 10px;
  padding: 0 10px 0 34px;
  background: #fff;
  color: var(--ufc-ink);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.ufc-combo__search input:focus {
  border-color: #a8c9aa;
  box-shadow: 0 0 0 3px rgba(91, 140, 93, 0.10);
}

.ufc-combo__search input::placeholder { color: #98a2b3; }

.ufc-combo__list {
  list-style: none;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  max-height: 210px;
  background: #fff;
}

.ufc-combo__option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ufc-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1.3;
}

.ufc-combo__option:hover,
.ufc-combo__option.is-active {
  background: var(--ufc-blue-soft);
  color: var(--ufc-blue);
}

.ufc-combo__option.is-selected {
  background: #e8f1ff;
  color: var(--ufc-blue);
  box-shadow: inset 0 0 0 1px #c7dbfa;
}

.ufc-combo__option.is-selected::after {
  content: "";
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ufc-blue);
  flex: 0 0 auto;
}

.ufc-combo__empty {
  padding: 14px 12px;
  color: var(--ufc-muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.ufc-count {
  margin-left: 0;
  color: var(--ufc-muted);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--ufc-body);
  white-space: nowrap;
}

.ufc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ufc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: var(--ufc-blue-soft);
  color: var(--ufc-blue);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.ufc-chip span {
  opacity: 0.7;
  font-size: 14px;
  line-height: 1;
}

/* Results */
.ufc-results { margin-top: 18px; }

.ufc-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ufc-course {
  display: flex;
  flex-direction: column;
  background: var(--ufc-surface);
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  cursor: pointer;
  min-height: 100%;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  animation: ufcRise .45s ease both;
}

.ufc-course:nth-child(1) { animation-delay: .02s; }
.ufc-course:nth-child(2) { animation-delay: .05s; }
.ufc-course:nth-child(3) { animation-delay: .08s; }
.ufc-course:nth-child(4) { animation-delay: .11s; }
.ufc-course:nth-child(5) { animation-delay: .14s; }
.ufc-course:nth-child(6) { animation-delay: .17s; }

.ufc-course:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0,0,0,.10);
  border-color: #c5d9c0;
}

.ufc-course__img-wrap {
  position: relative;
  height: 130px;
  overflow: hidden;
  background: #eef2f7;
}

.ufc-course__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .35s ease;
}

.ufc-course:hover .ufc-course__img {
  transform: scale(1.04);
}

.ufc-course__convo {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  max-width: calc(100% - 20px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #fff;
  background: rgba(16, 24, 40, 0.72);
  padding: 5px 9px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  white-space: normal;
}

.ufc-course__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: visible;
}

.ufc-course__top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}

.ufc-course__id {
  font-family: var(--ufc-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--ufc-forest);
  letter-spacing: 0;
}

.ufc-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: var(--ufc-mint);
  color: var(--ufc-forest);
  white-space: nowrap;
}

.ufc-badge--frontier { background: #eef6e8; color: #17352b; }
.ufc-badge--available { background: #e8f8f2; color: #067647; }

.ufc-course__title {
  margin: 0 0 6px;
  font-family: var(--ufc-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ufc-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 0 0 auto;
}

.ufc-course__about {
  margin: 0 0 12px;
  color: var(--ufc-muted);
  font-size: 12.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 0 0 auto;
  max-height: none;
}

.ufc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.ufc-pill {
  font-size: 10px;
  font-weight: 700;
  background: #f2f4f7;
  padding: 5px 8px;
  border-radius: 8px;
  color: #475467;
}

.ufc-course__foot {
  margin-top: auto;
  border-top: 1px solid var(--ufc-line);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ufc-course__open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #171717;
  font-family: var(--ufc-body);
  background: #d8f382;
  padding: 8px 14px;
  border-radius: 9999px;
  box-shadow: none;
  transition: background .2s ease;
}
.ufc-course:hover .ufc-course__open {
  background: #b8d690;
}

.ufc-compare {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ufc-muted);
}

.ufc-compare input { accent-color: var(--ufc-blue); }

.ufc-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 20px;
  color: var(--ufc-muted);
  background: #fff;
  border: 1px dashed var(--ufc-line);
  border-radius: 16px;
  font-family: var(--ufc-body);
}

/* In-page course detail */
.ufc-detail {
  display: none;
  padding-top: 8px;
  animation: ufcRise .35s ease;
}

.ufc-detail.is-open,
.ufc-detail:not([hidden]) {
  display: block;
}

body.ufc-page--detail .ufc-browse {
  display: none;
}

.ufc-detail__bar {
  margin-bottom: 16px;
}

.ufc-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--ufc-line);
  background: #fff;
  color: var(--ufc-ink);
  font-family: var(--ufc-body);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.ufc-detail__back svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ufc-detail__back:hover {
  background: var(--ufc-mint);
  border-color: #c5d9c0;
  transform: translateX(-2px);
}

.ufc-detail__card {
  background: #fff;
  border: 1px solid var(--ufc-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(18, 43, 35, 0.08);
}

.ufc-detail__hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(216, 243, 130, 0.35), transparent 55%),
    radial-gradient(70% 70% at 100% 100%, rgba(91, 140, 93, 0.16), transparent 50%),
    linear-gradient(160deg, #f7fbf5 0%, #fff 55%, #eef6e8 100%);
  border-bottom: 1px solid var(--ufc-line);
}

.ufc-detail__hero-copy {
  padding: 28px 28px 26px;
  min-width: 0;
}

.ufc-detail__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ufc-muted);
  margin-bottom: 12px;
}

.ufc-detail__crumbs span:last-child {
  color: var(--ufc-forest-light);
}

.ufc-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.ufc-detail__title {
  margin: 0 0 10px;
  font-family: var(--ufc-body);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ufc-ink);
}

.ufc-detail__lead,
.ufc-detail__empty {
  margin: 0 0 18px;
  color: var(--ufc-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ufc-detail__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.ufc-detail__creds {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid var(--ufc-line);
  border-radius: 16px;
  background: linear-gradient(160deg, #f7fbf5 0%, #fff 70%);
}

.ufc-cred p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ufc-ink);
}

.ufc-detail__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ufc-ink);
  font-size: 13px;
  line-height: 1.5;
}

.ufc-detail__list li + li { margin-top: 4px; }

.ufc-pill--cert {
  background: #122b23;
  color: #d8f382;
  border-color: #122b23;
}

.ufc-syl-group {
  margin: 0 0 12px;
}

.ufc-syl-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
}

.ufc-syl-group__head strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ufc-forest-light);
}

.ufc-syl-group__head span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ufc-muted);
}

.ufc-detail__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ufc-forest-light);
}

.ufc-detail__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ufc-detail__facts > div {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--ufc-line);
  border-radius: 14px;
  padding: 12px 14px;
}

.ufc-detail__facts span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ufc-muted);
  margin-bottom: 4px;
}

.ufc-detail__facts strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ufc-ink);
  line-height: 1.35;
}

.ufc-detail__hero-media {
  position: relative;
  min-height: 260px;
  padding: 22px;
  display: flex;
  align-items: stretch;
}

.ufc-detail__photo {
  position: relative;
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(18, 43, 35, 0.08);
  box-shadow: 0 16px 32px rgba(18, 43, 35, 0.14);
  background: #dceadb;
}

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

.ufc-detail__photo-chip {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  max-width: calc(100% - 24px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #171717;
  background: var(--ufc-cta);
  padding: 6px 11px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(18, 43, 35, 0.14);
  white-space: normal;
}

.ufc-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  gap: 22px;
  padding: 24px 28px 28px;
  align-items: start;
}

.ufc-detail__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 88px;
}

.ufc-detail__panel {
  background: #f9fafb;
  border: 1px solid var(--ufc-line);
  border-radius: 16px;
  padding: 14px 16px;
}

.ufc-detail__panel--accent {
  background: linear-gradient(145deg, #f4fbe4 0%, #fff 60%);
  border-color: #d5e8a8;
}

.ufc-detail__panel-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ufc-muted);
  margin-bottom: 8px;
}

.ufc-detail__panel strong {
  display: block;
  font-family: var(--ufc-body);
  font-size: 15px;
  font-weight: 800;
  color: var(--ufc-ink);
  line-height: 1.35;
}

.ufc-detail__panel p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ufc-muted);
}

.ufc-detail__mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px !important;
  letter-spacing: 0.02em;
}

.ufc-detail__card--compare {
  padding: 28px;
}

.ufc-detail__compare-head {
  max-width: 640px;
  margin-bottom: 22px;
}

.ufc-compare-grid {
  display: grid;
  grid-template-columns: repeat(var(--ufc-compare-cols, 2), minmax(0, 1fr));
  gap: 14px;
}

.ufc-compare-card {
  border: 1px solid var(--ufc-line);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.ufc-compare-card__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.ufc-compare-card h3 {
  margin: 0;
  font-family: var(--ufc-body);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.ufc-compare-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ufc-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ufc-compare-card__aud {
  font-size: 12px;
  font-weight: 600;
  color: var(--ufc-forest-mid);
  line-height: 1.4;
}

.ufc-compare-card .ufc-btn {
  margin-top: auto;
  align-self: flex-start;
}

.ufc-start-cert {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f4fbe4 0%, #fff 60%);
  border: 1px solid #d5e8a8;
  margin-bottom: 18px;
}

.ufc-start-cert span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d5a2e;
}

.ufc-start-cert strong {
  font-family: var(--ufc-body);
  font-size: 15px;
  color: var(--ufc-ink);
}

.ufc-product-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}

.ufc-timeline-title {
  margin: 0 0 14px;
  font-family: var(--ufc-body);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ufc-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ufc-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(#b8d690, #e5e7eb);
}

.ufc-day {
  position: relative;
  padding: 0 0 18px 44px;
}

.ufc-day__dot {
  position: absolute;
  left: 8px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ufc-blue);
  box-shadow: 0 0 0 4px rgba(91, 140, 93, 0.12);
}

.ufc-day__head {
  margin: 0 0 8px;
}

.ufc-day__head strong {
  display: block;
  font-family: var(--ufc-body);
  font-size: 14px;
  font-weight: 800;
  color: var(--ufc-ink);
}

.ufc-day__head span {
  font-size: 12px;
  color: var(--ufc-muted);
  font-weight: 600;
}

.ufc-mod {
  border: 1px solid var(--ufc-line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ufc-mod:hover {
  border-color: #c5d9c0;
  box-shadow: 0 4px 14px rgba(18, 43, 35, 0.06);
}

.ufc-mod__type {
  display: inline-flex;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ufc-blue);
  background: var(--ufc-blue-soft);
  padding: 2px 7px;
  border-radius: 999px;
}

.ufc-mod strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  font-family: var(--ufc-body);
}

.ufc-mod span {
  display: block;
  color: var(--ufc-muted);
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.ufc-kv { display: none; }

.ufc-compare-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 90;
  display: none;
  align-items: center;
  gap: 12px;
  background: #101828;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: var(--ufc-shadow);
  font-size: 13px;
  font-weight: 700;
}

.ufc-compare-bar.is-open { display: flex; }
body.ufc-page--detail .ufc-compare-bar { display: none; }
.ufc-compare-bar .ufc-btn { height: 36px; }

.ufc-pagefoot {
  font-family: "Figtree", system-ui, sans-serif;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--ufc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ufc-pagefoot strong {
  display: block;
  font-family: var(--ufc-body);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 2px;
}

.ufc-pagefoot span {
  color: var(--ufc-muted);
  font-size: 12px;
}

.ufc-pagefoot a {
  color: var(--ufc-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
}

.ufc-pagefoot a:hover { text-decoration: underline; }

@keyframes ufcRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .ufc-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ufc-detail__hero { grid-template-columns: 1fr; }
  .ufc-detail__hero-media { min-height: 200px; padding-top: 0; }
  .ufc-detail__layout { grid-template-columns: 1fr; }
  .ufc-detail__side { position: static; }
}

@media (max-width: 900px) {
  .ufc-hero__grid { grid-template-columns: 1fr; }
  .ufc-hero h1 { max-width: none; }
  .ufc-hero__stats { max-width: none; }
  .ufc-compare-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 780px) {
  .ufc-control { top: 64px; }
  .ufc-control__row { flex-direction: column; align-items: stretch; }
  .ufc-segment { width: 100%; display: flex; }
  .ufc-segment__btn { flex: 1; justify-content: center; }
  .ufc-search-row { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .ufc-course-grid { grid-template-columns: 1fr; }
  .ufc-detail__facts { grid-template-columns: 1fr; }
  .ufc-detail__hero-copy,
  .ufc-detail__layout,
  .ufc-detail__card--compare { padding-left: 16px; padding-right: 16px; }
  .ufc-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}



/* Astra theme harden */
body.ufc-page {
  background: #f9fafb;
  font-family: "Figtree", system-ui, sans-serif;
}
body.ufc-page header.upl-topbar.upl-topbar--astra {
  font-family: "Figtree", system-ui, sans-serif;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: none;
}
body.ufc-page .upl-topbar__dashboard,
body.ufc-page .upl-topbar__logout {
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
}
.ufc-btn {
  border-radius: 9999px;
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 700;
}
.ufc-btn--primary {
  border-radius: 9999px;
  font-weight: 700;
  box-shadow: none;
  background: var(--ufc-cta);
  border-color: var(--ufc-cta);
  color: var(--ufc-cta-text);
}
.ufc-btn--primary:hover {
  background: var(--ufc-cta-hover);
  border-color: var(--ufc-cta-hover);
  color: var(--ufc-cta-text);
}
.ufc-hero__eyebrow {
  background: var(--ufc-mint);
  border: 1px solid #d7e8d4;
  color: var(--ufc-forest);
  border-radius: 999px;
  display: inline-flex;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ufc-hero__crumbs span:last-child {
  color: var(--ufc-forest-light);
}
.ufc-hero__stats strong {
  color: var(--ufc-forest);
  font-weight: 700;
}
.ufc-featured__chip {
  background: var(--ufc-cta);
  color: #171717;
  border-radius: 999px;
}
.ufc-chips .ufc-chip,
.ufc-chip {
  background: var(--ufc-mint) !important;
  color: var(--ufc-forest) !important;
  border-color: #d7e8d4 !important;
}
.ufc-course__id {
  color: var(--ufc-forest-light);
}
.ufc-pagefoot a {
  color: var(--ufc-forest);
  font-weight: 600;
  text-decoration: none;
}
.ufc-pagefoot a:hover { text-decoration: underline; color: var(--ufc-forest-mid); }
.ufc-combo.is-open .ufc-combo__trigger,
.ufc-combo__trigger:focus-visible,
.ufc-search input:focus {
  border-color: var(--ufc-forest-light) !important;
  box-shadow: 0 0 0 3px rgba(91, 140, 93, 0.15) !important;
}
.ufc-combo__option.is-selected {
  background: var(--ufc-mint);
  color: var(--ufc-forest);
}
.ufc-compare input { accent-color: var(--ufc-forest); }


/* Card text visibility fix */
.ufc-course {
  overflow: hidden; /* keep image radius; text lives in body */
}
.ufc-course__body {
  overflow: visible;
}
.ufc-course__title,
.ufc-course__about {
  flex: 0 0 auto !important;
  min-height: 0 !important;
}
.ufc-course__about {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  line-height: 1.5 !important;
}
.ufc-pills {
  flex: 0 0 auto;
}
.ufc-course__foot {
  flex: 0 0 auto;
  margin-top: auto;
}


