:root {
  --lh-ink: #101c1b;
  --lh-teal: #0d4f4d;
  --lh-teal-dark: #073330;
  --lh-teal-mid: #1a6f6c;
  --lh-brass: #b8954a;
  --lh-brass-light: #d4b56a;
  --lh-paper: #f4f7f6;
  --lh-surface: #ffffff;
  --lh-mist: #e2ecea;
  --lh-muted: #5a6a68;
  --lh-line: rgba(16, 28, 27, 0.08);
  --lh-danger: #b42318;
  --lh-success: #067647;
  --lh-radius: 12px;
  --lh-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --lh-display: "Poppins", "Inter", system-ui, sans-serif;
  --lh-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--lh-font);
  color: var(--lh-ink);
  background: var(--lh-paper);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--lh-teal); text-decoration: none; transition: color .2s var(--lh-ease); }
a:hover { color: var(--lh-teal-dark); }
.lh-brand {
  font-family: var(--lh-display);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.btn-lh {
  background: var(--lh-teal);
  border: 1px solid var(--lh-teal);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: .65rem 1.35rem;
  transition: transform .25s var(--lh-ease), background .2s, box-shadow .25s;
}
.btn-lh:hover {
  background: var(--lh-teal-dark);
  border-color: var(--lh-teal-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--lh-brass);
  border: 1px solid var(--lh-brass);
  color: #141414;
  font-weight: 700;
  border-radius: 999px;
  padding: .75rem 1.5rem;
  transition: transform .25s var(--lh-ease), filter .2s, box-shadow .25s;
}
.btn-gold:hover {
  filter: brightness(1.05);
  color: #141414;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(184, 149, 74, 0.35);
}
.btn-ghost-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: .75rem 1.5rem;
  transition: background .2s, border-color .2s, transform .25s var(--lh-ease);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

/* —— Public nav —— */
.lh-public-nav {
  background: rgba(246, 248, 247, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lh-line);
  transition: background .3s, border-color .3s, padding .3s;
}
.lh-public-nav .navbar-brand {
  font-size: 1.55rem;
  color: var(--lh-ink) !important;
}
.lh-public-nav .nav-link {
  color: var(--lh-muted) !important;
  font-weight: 500;
  font-size: .92rem;
  padding: .4rem .7rem !important;
}
.lh-public-nav .nav-link:hover { color: var(--lh-ink) !important; }
.lh-search {
  border-radius: 999px !important;
  border: 1px solid var(--lh-line) !important;
  background: #fff !important;
  min-width: 180px;
  padding-left: 1rem !important;
}

/* —— Hero (full-bleed) —— */
.lh-hero {
  position: relative;
  min-height: 42vh;
  max-height: 420px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  padding: 0;
}
.lh-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lh-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: lhKenBurns 22s ease-out forwards;
}
.lh-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(7, 51, 48, 0.88) 0%, rgba(7, 51, 48, 0.55) 42%, rgba(7, 51, 48, 0.25) 70%, rgba(7, 51, 48, 0.45) 100%),
    linear-gradient(180deg, transparent 40%, rgba(7, 51, 48, 0.75) 100%);
}
.lh-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2.25rem 0 1.75rem;
}
.lh-hero__brand {
  font-family: var(--lh-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 0.95;
  margin: 0 0 .75rem;
  color: #fff;
  animation: lhRise .9s var(--lh-ease) both;
}
.lh-hero h1 {
  font-family: var(--lh-font);
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.35;
  max-width: 28ch;
  margin: 0 0 .65rem;
  color: rgba(255,255,255,.94);
  letter-spacing: -0.01em;
  animation: lhRise .9s var(--lh-ease) .12s both;
}
.lh-hero p {
  max-width: 36ch;
  margin: 0;
  opacity: .82;
  font-size: 1.02rem;
  line-height: 1.55;
  animation: lhRise .9s var(--lh-ease) .22s both;
}
.lh-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
  animation: lhRise .9s var(--lh-ease) .32s both;
}

@keyframes lhKenBurns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes lhRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.lh-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--lh-ease), transform .7s var(--lh-ease);
}
.lh-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* —— Sections —— */
.lh-section {
  padding: 4.5rem 0;
}
.lh-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}
.lh-section__head > div { min-width: 0; flex: 1; }
.lh-section__head h2 {
  font-family: var(--lh-display);
  font-size: clamp(1.9rem, 3.5vw, 2.55rem);
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--lh-ink);
}
.lh-section__head p {
  margin: .4rem 0 0;
  color: var(--lh-muted);
  font-size: .98rem;
}
.lh-kicker {
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--lh-teal) !important;
  margin: 0 0 .45rem !important;
}
.lh-section__link {
  flex-shrink: 0;
  color: var(--lh-ink);
  font-weight: 600;
  font-size: .92rem;
  border-bottom: 1px solid var(--lh-ink);
  padding-bottom: 2px;
  white-space: nowrap;
  align-self: flex-end;
  margin-bottom: .15rem;
}
.lh-section__link:hover { color: var(--lh-teal); border-color: var(--lh-teal); }

.lh-strip {
  background: #061f1e !important;
  color: #e8f0ef !important;
  padding: 1rem 0;
  overflow: hidden;
}
.lh-strip__track {
  display: flex;
  white-space: nowrap;
  animation: lhMarquee 32s linear infinite;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #d7e4e2;
}
.lh-strip__track span {
  display: inline-flex;
  align-items: center;
  padding: 0 1.75rem;
}
.lh-strip__track span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lh-brass);
  margin-right: 1.75rem;
}
@keyframes lhMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.lh-course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 576px) {
  .lh-course-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .lh-course-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
@media (min-width: 1200px) {
  .lh-course-grid { grid-template-columns: repeat(4, 1fr); }
}

.lh-course { margin: 0; }
.lh-course__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  background: #fff;
  border: 1px solid var(--lh-line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .35s var(--lh-ease), box-shadow .35s var(--lh-ease), border-color .25s;
}
.lh-course__link:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(7, 51, 48, 0.1);
  border-color: transparent;
}
.lh-course__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0d3d3a;
  overflow: hidden;
}
.lh-course__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--lh-ease);
}
.lh-course__link:hover .lh-course__media img { transform: scale(1.05); }
.lh-course__badges {
  position: absolute;
  top: .7rem;
  left: .7rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  z-index: 1;
}
.lh-pill {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .32rem .55rem;
  border-radius: 999px;
  line-height: 1;
  backdrop-filter: blur(8px);
}
.lh-pill--free { background: #fff; color: var(--lh-teal-dark); }
.lh-pill--sale { background: var(--lh-brass); color: #1a1204; }
.lh-pill--level { background: rgba(0,0,0,.45); color: #fff; }
.lh-course__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.05rem 1.1rem 1.15rem;
}
.lh-course__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--lh-muted);
  margin-bottom: .45rem;
}
.lh-course__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b0bcba;
}
.lh-course h3 {
  font-family: var(--lh-display);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.28;
  margin: 0 0 auto;
  letter-spacing: -0.02em;
  color: var(--lh-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.56em;
}
.lh-course__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: .75rem;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--lh-line);
}
.lh-course__price strong {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--lh-teal-dark);
}
.lh-course__price strong.is-free { color: var(--lh-success); }
.lh-course__price s {
  margin-left: .35rem;
  color: var(--lh-muted);
  font-size: .85rem;
}
.lh-course__stats {
  display: flex;
  gap: .65rem;
  font-size: .8rem;
  color: var(--lh-muted);
}
.lh-course__stats i { color: var(--lh-brass); margin-right: .15rem; }

.course-card {
  display: block;
  background: #fff;
  border: 1px solid var(--lh-line);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  color: inherit;
  transition: transform .35s var(--lh-ease), box-shadow .35s var(--lh-ease);
}
.course-card:hover {
  transform: translateY(-4px);
  color: inherit;
  box-shadow: 0 18px 40px rgba(7, 51, 48, 0.1);
}
.course-card .thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--lh-mist);
}
.course-card .thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--lh-ease);
}
.course-card:hover .thumb { transform: scale(1.04); }
.course-card .body { padding: 1rem 1.05rem 1.15rem; }
.course-card .meta {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--lh-muted);
  margin-bottom: .35rem;
}
.course-card h3 {
  font-family: var(--lh-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 .65rem;
  letter-spacing: -0.02em;
}
.price-now { color: var(--lh-teal-dark); font-weight: 700; font-size: 1.05rem; }
.price-was { text-decoration: line-through; color: var(--lh-muted); font-size: .85rem; margin-left: .35rem; }
.badge-free {
  display: inline-block;
  background: var(--lh-teal);
  color: #fff !important;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .32rem .6rem;
  border-radius: 999px;
}

/* Categories — editorial list, not icon boxes */
.lh-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--lh-line);
}
.lh-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--lh-line);
  color: var(--lh-ink);
  font-family: var(--lh-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  transition: padding-left .3s var(--lh-ease), color .2s;
}
.lh-cats a:hover {
  color: var(--lh-teal);
  padding-left: .5rem;
}
.lh-cats a i { font-size: .95rem; opacity: .45; }
@media (min-width: 768px) {
  .lh-cats { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
}

/* CTA band */
.lh-cta-band {
  position: relative;
  padding: 5rem 0;
  color: #fff;
  overflow: hidden;
  background: var(--lh-teal-dark);
}
.lh-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(184,149,74,.28), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(26,111,108,.4), transparent 50%);
  pointer-events: none;
}
.lh-cta-band .inner { position: relative; z-index: 1; max-width: 36rem; }
.lh-cta-band h2 {
  font-family: var(--lh-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  margin: 0 0 .75rem;
  letter-spacing: -0.02em;
}
.lh-cta-band p { opacity: .8; margin: 0 0 1.5rem; }

/* Footer */
.lh-footer {
  background: #061f1e;
  color: #c5d4d3;
  padding: 3.5rem 0 2rem;
}
.lh-footer .lh-brand { color: #fff; font-size: 1.75rem; }
.lh-footer a { color: rgba(255,255,255,.55); }
.lh-footer a:hover { color: #fff; }
.lh-footer h6 {
  color: #fff;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* —— Admin shell (unchanged structure) —— */
.lh-admin {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.lh-sidebar {
  background: linear-gradient(180deg, var(--lh-teal-dark), #0d4a48);
  color: #e8f0ef;
  padding: 1.25rem 0.85rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.lh-sidebar .brand {
  font-family: var(--lh-display);
  font-size: 1.35rem;
  color: #fff;
  padding: .5rem .75rem 1.25rem;
  display: block;
}
.lh-sidebar .nav-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .55;
  padding: .85rem .75rem .25rem;
}
.lh-sidebar a {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.82);
  padding: .55rem .75rem;
  border-radius: 10px;
  font-size: .92rem;
  margin-bottom: 2px;
}
.lh-sidebar a:hover, .lh-sidebar a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.lh-main { min-width: 0; }
.lh-topbar {
  background: #fff;
  border-bottom: 1px solid var(--lh-line);
  padding: .85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lh-content { padding: 1.5rem; }
.stat-card {
  background: #fff;
  border-radius: var(--lh-radius);
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--lh-line);
  height: 100%;
}
.stat-card .label { color: var(--lh-muted); font-size: .82rem; }
.stat-card .value {
  font-family: var(--lh-display);
  font-size: 1.65rem;
  margin-top: .2rem;
  color: var(--lh-teal-dark);
}
.panel {
  background: #fff;
  border-radius: var(--lh-radius);
  border: 1px solid var(--lh-line);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.panel-title {
  font-family: var(--lh-display);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

/* Learning player */
.lh-player-wrap {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  min-height: calc(100vh - 56px);
  background: #0d1f1e;
  color: #e8f0ef;
}
.lh-curric, .lh-aside {
  background: #123533;
  overflow-y: auto;
  max-height: calc(100vh - 56px);
}
.lh-curric .sec-title {
  padding: .75rem 1rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .6;
  border-top: 1px solid rgba(255,255,255,.06);
}
.lh-curric a {
  display: block;
  padding: .65rem 1rem;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  border-left: 3px solid transparent;
}
.lh-curric a.active, .lh-curric a:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-left-color: var(--lh-brass);
}
.lh-stage { padding: 1rem; }
.video-frame {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.video-frame iframe, .video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.progress-thin {
  height: 6px;
  background: rgba(255,255,255,.12);
  border-radius: 99px;
  overflow: hidden;
}
.progress-thin > span {
  display: block;
  height: 100%;
  background: var(--lh-brass);
}

@media (max-width: 992px) {
  .lh-admin { grid-template-columns: 1fr; }
  .lh-sidebar {
    position: relative;
    height: auto;
    display: none;
  }
  .lh-sidebar.show { display: block; }
  .lh-player-wrap { grid-template-columns: 1fr; }
  .lh-curric, .lh-aside { max-height: 280px; }
  .lh-hero { min-height: 38vh; max-height: 360px; }
  .lh-hero__content { padding: 2rem 0 1.5rem; }
}

/* ========== EzyCourse-style marketplace ========== */
:root {
  --ez-blue: #1b2a6b;
  --ez-blue-deep: #121f55;
  --ez-purple: #6c4cff;
  --ez-purple-dark: #5536e8;
  --ez-orange: #ff7a18;
  --ez-text: #1f2937;
  --ez-muted: #6b7280;
  --ez-line: #e5e7eb;
  --ez-bg: #f8f9fc;
}

.ez-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(108,76,255,.35), transparent 40%),
    linear-gradient(120deg, #121f55 0%, #1b2a6b 45%, #243a8c 100%);
  color: #fff;
  padding: 3.5rem 0 0;
  overflow: hidden;
  position: relative;
}
.ez-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.ez-hero h1 {
  font-family: var(--lh-font);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  max-width: 16ch;
  position: relative;
}
.ez-hero p {
  opacity: .85;
  max-width: 42ch;
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.6;
  position: relative;
}
.ez-hero__person {
  max-height: 340px;
  width: auto;
  max-width: 100%;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.25));
}
.ez-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ez-purple);
  color: #fff !important;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: .75rem 1.5rem;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.ez-btn-primary:hover {
  background: var(--ez-purple-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.ez-discover {
  background: var(--ez-bg);
  padding: 2.5rem 0 4rem;
}
.ez-discover__title {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.25rem;
}
.ez-discover__title h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ez-text);
  font-family: var(--lh-font);
}
.ez-bar {
  width: 4px;
  height: 1.2rem;
  background: var(--ez-purple);
  border-radius: 4px;
}

.ez-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  border-bottom: 1px solid var(--ez-line);
  margin-bottom: 1.25rem;
}
.ez-tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .85rem 1.1rem;
  color: var(--ez-muted);
  font-weight: 700;
  font-size: .95rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.ez-tab i { font-size: 1.1rem; }
.ez-tab.is-active {
  color: var(--ez-purple);
  border-bottom-color: var(--ez-purple);
}
.ez-tab.is-disabled { opacity: .45; cursor: not-allowed; }

.ez-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.ez-search {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 520px;
}
.ez-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}
.ez-search input {
  width: 100%;
  border: 1px solid var(--ez-line);
  background: #fff;
  border-radius: 999px;
  padding: .75rem 1rem .75rem 2.6rem;
  outline: none;
}
.ez-search input:focus { border-color: var(--ez-purple); box-shadow: 0 0 0 3px rgba(108,76,255,.12); }
.ez-sort {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--ez-muted);
  font-size: .9rem;
  font-weight: 600;
}
.ez-sort select {
  border: 1px solid var(--ez-line);
  background: #fff;
  border-radius: 10px;
  padding: .55rem .85rem;
  font-weight: 600;
  color: var(--ez-text);
}

.ez-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 992px) {
  .ez-layout { grid-template-columns: 1fr; }
}

.ez-filter-card {
  background: #fff;
  border: 1px solid var(--ez-line);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 18px rgba(17,24,39,.04);
}
.ez-filter-head {
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: .75rem;
  color: var(--ez-text);
}
.ez-seller-search {
  position: relative;
  margin-bottom: .75rem;
}
.ez-seller-search i {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: .85rem;
}
.ez-seller-search input {
  width: 100%;
  border: 1px solid var(--ez-line);
  border-radius: 10px;
  padding: .55rem .75rem .55rem 2.1rem;
  font-size: .88rem;
}
.ez-seller-list { max-height: 220px; overflow: auto; }
.ez-check {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem 0;
  cursor: pointer;
  font-size: .9rem;
  color: var(--ez-text);
}
.ez-check input { accent-color: var(--ez-purple); }
.ez-check img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.ez-check em { color: var(--ez-muted); font-style: normal; font-size: .82rem; }
.ez-clear {
  display: inline-block;
  margin-top: .5rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ez-purple);
}
.ez-acc {
  border-top: 1px solid var(--ez-line);
  padding: .35rem 0;
}
.ez-acc summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  padding: .7rem 0;
  cursor: pointer;
  color: var(--ez-text);
}
.ez-acc summary::-webkit-details-marker { display: none; }
.ez-acc__body { padding-bottom: .5rem; }

.ez-result-meta {
  color: var(--ez-muted);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.ez-empty {
  background: #fff;
  border: 1px dashed var(--ez-line);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  color: var(--ez-muted);
}
.ez-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .ez-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .ez-grid { grid-template-columns: repeat(3, 1fr); }
}

.ez-card {
  background: #fff;
  border: 1px solid var(--ez-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(17,24,39,.05);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.ez-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(17,24,39,.1);
}
.ez-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef1f8;
  overflow: hidden;
}
.ez-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ez-ribbon {
  position: absolute;
  top: .85rem;
  left: 0;
  background: var(--ez-orange);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .35rem .7rem .35rem .85rem;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 4px 12px rgba(255,122,24,.35);
}
.ez-ribbon--free { background: #10b981; top: auto; bottom: .85rem; }
.ez-card__body {
  padding: 1rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ez-card__instructor {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .55rem;
  color: var(--ez-muted);
  font-size: .85rem;
  font-weight: 600;
}
.ez-card__instructor img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.ez-card h3 {
  margin: 0 0 auto;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  min-height: 2.7em;
  font-family: var(--lh-font);
}
.ez-card h3 a { color: var(--ez-text); }
.ez-card h3 a:hover { color: var(--ez-purple); }
.ez-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--ez-line);
}
.ez-card__price strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ez-text);
}
.ez-card__price s {
  margin-left: .35rem;
  color: #9ca3af;
  font-size: .88rem;
}
.ez-enroll {
  background: var(--ez-purple);
  color: #fff !important;
  font-weight: 700;
  font-size: .82rem;
  border-radius: 999px;
  padding: .55rem 1rem;
  white-space: nowrap;
  transition: background .2s;
}
.ez-enroll:hover { background: var(--ez-purple-dark); color: #fff !important; }

.ez-pager {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.ez-pager .pagination .page-link {
  border-radius: 8px !important;
  margin: 0 .15rem;
  color: var(--ez-text);
  border-color: var(--ez-line);
}
.ez-pager .pagination .page-item.active .page-link {
  background: var(--ez-purple);
  border-color: var(--ez-purple);
}

/* Marketplace nav accents on public pages */
.lh-public-nav .btn-lh {
  background: var(--ez-purple) !important;
  border-color: var(--ez-purple) !important;
  border-radius: 999px;
}
.lh-public-nav .btn-outline-dark {
  background: #111827;
  border-color: #111827;
  color: #fff !important;
  border-radius: 999px;
}
.lh-public-nav .btn-outline-dark:hover {
  background: #000;
  border-color: #000;
}

/* ========== Ezy header + compact hero (courses visible below) ========== */
.ez-body { background: #f8f9fc; }
.ez-header {
  background: #fff;
  border-bottom: 1px solid #eef0f5;
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 1px 0 rgba(17,24,39,.03);
}
.ez-nav { padding: .55rem 0; min-height: 68px; }
.ez-logo {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #6c4cff !important;
  letter-spacing: -0.03em;
}
.ez-logo span { color: #6c4cff; }
.ez-nav-links .nav-link {
  color: #4b5563 !important;
  font-weight: 600;
  font-size: .92rem;
  padding: .45rem .85rem !important;
}
.ez-nav-links .nav-link:hover,
.ez-nav-links .nav-link.active {
  color: #6c4cff !important;
}
.ez-btn-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #6c4cff;
  color: #fff !important;
  font-weight: 700;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.ez-btn-purple:hover { background: #5536e8; color: #fff !important; transform: translateY(-1px); }
.ez-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #fff !important;
  font-weight: 700;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
}
.ez-btn-dark:hover { background: #000; color: #fff !important; }
.ez-btn-sm { padding: .55rem 1.15rem; font-size: .85rem; }
.ez-icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #374151;
  background: #f3f4f6;
  text-decoration: none;
}
.ez-icon-btn:hover { background: #e5e7eb; color: #111; }
.ez-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.ez-link-muted {
  color: #6b7280;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: .25rem;
}

/* Compact marketplace slider — courses visible under it */
.ez-hero {
  padding: 1.75rem 0 0 !important;
  min-height: 0 !important;
}
.ez-hero .container { position: relative; z-index: 1; }
.ez-hero h1 {
  font-size: clamp(1.45rem, 3vw, 2.1rem) !important;
  max-width: 18ch !important;
  margin-bottom: .65rem !important;
}
.ez-hero p {
  font-size: .92rem !important;
  margin-bottom: 1rem !important;
  max-width: 40ch !important;
}
.ez-hero__person {
  max-height: 220px !important;
  margin-bottom: 0;
}
.ez-hero .ez-btn-primary,
.ez-hero .btn {
  padding: .55rem 1.25rem !important;
  font-size: .88rem;
}
@media (max-width: 991px) {
  .ez-hero { padding-top: 1.25rem !important; text-align: center; }
  .ez-hero h1 { max-width: none !important; margin-left: auto; margin-right: auto; }
  .ez-hero p { margin-left: auto; margin-right: auto; }
  .ez-hero__person { max-height: 180px !important; margin-top: .5rem; }
}

.ez-discover {
  padding-top: 1.5rem !important;
  margin-top: -0.25rem;
}
.ez-hero__person {
  margin-bottom: -12px !important;
  position: relative;
  z-index: 2;
}
.ez-discover {
  position: relative;
  z-index: 1;
  border-radius: 24px 24px 0 0;
  background: #f8f9fc !important;
  box-shadow: 0 -8px 30px rgba(18,31,85,.08);
}

/* Homepage hero — larger, courses still peek below */
.home-hero {
  padding: 0 !important;
  max-height: none !important;
  min-height: 480px !important;
  overflow: visible;
}
.home-hero::before { opacity: .45; }
.home-hero .container {
  max-height: none;
}
.home-hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 440px;
  padding: 2.25rem 0 1.5rem;
}
.home-hero__copy {
  flex: 1;
  min-width: 0;
}
.home-hero__brand {
  display: block;
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-bottom: .65rem;
}
.home-hero h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem) !important;
  font-weight: 800 !important;
  max-width: 14ch !important;
  margin: 0 0 .7rem !important;
  line-height: 1.15 !important;
}
.home-hero p {
  display: block !important;
  font-size: 1.02rem !important;
  margin: 0 0 1.25rem !important;
  opacity: .88;
  max-width: 38ch;
  line-height: 1.5;
}
.home-hero .ez-btn-primary,
.home-hero .btn-ghost-light {
  padding: .65rem 1.35rem !important;
  font-size: .92rem !important;
}
.home-hero__img {
  height: 380px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  object-position: bottom center;
  flex-shrink: 0;
  background: transparent !important;
  mix-blend-mode: normal;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.35));
  margin-bottom: -12px;
}
@media (max-width: 767px) {
  .home-hero { min-height: 0 !important; }
  .home-hero__row { flex-direction: column; text-align: center; min-height: 0; padding: 1.5rem 0 1rem; }
  .home-hero__img { height: 220px; max-width: 220px; }
  .home-hero h1 { margin-left: auto; margin-right: auto; }
  .home-hero p { margin-left: auto; margin-right: auto; }
  .home-hero .d-flex { justify-content: center; }
}
.home-strip {
  padding: .55rem 0 !important;
}
.home-strip .lh-strip__track {
  font-size: .72rem !important;
}
.lh-featured {
  padding-top: 1.25rem !important;
  padding-bottom: 2.5rem !important;
}
.lh-section__head {
  margin-bottom: 1.1rem !important;
}
.lh-section__head h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem) !important;
}
.lh-section__head p { font-size: .9rem !important; margin-top: .25rem !important; }
.lh-kicker { margin-bottom: .3rem !important; }

/* Marketplace hero */
.ez-hero {
  padding: 1.25rem 0 0 !important;
}
.ez-hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem) !important;
}
.ez-hero p {
  font-size: .9rem !important;
  margin-bottom: .75rem !important;
}
.ez-hero__person {
  max-height: 340px !important;
  background: transparent !important;
  object-fit: contain;
  object-position: bottom center;
}
