/* EDU Learning Paths — list + detail */

.edu-page-paths,
.edu-page-path-detail {
  --paths-brand: #0B1426;
  --paths-brand-2: #152238;
  --paths-brand-deep: #0B1426;
  --paths-green: #059669;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

/* —— Shared topbar —— */
.edu-app-topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  margin: -16px -14px 12px;
  padding: max(10px, env(safe-area-inset-top, 0px)) 14px 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #D8DEE8;
  box-shadow: 0 10px 28px rgba(11, 20, 38, 0.06);
}

.edu-app-topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto;
}

.edu-app-topbar__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px 0 8px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--paths-brand);
  background: #fff;
  border: 1px solid #D8DEE8;
  box-shadow: 0 6px 16px rgba(11, 20, 38, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.edu-app-topbar__back:active,
.edu-app-topbar__back:focus-visible {
  transform: scale(0.98);
}

.edu-app-topbar__back--placeholder {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.edu-app-topbar__back-icon .edu-app-icon {
  width: 32px;
  height: 32px;
  box-shadow: none;
}

.edu-app-topbar__back-label {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  max-width: 10ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 360px) {
  .edu-app-topbar__back-label {
    display: none;
  }

  .edu-app-topbar__back {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
}

.edu-app-topbar__title {
  min-width: 0;
  text-align: center;
}

.edu-app-topbar__title strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  color: #191919;
  line-height: 1.25;
}

.edu-app-topbar__title small {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #666666;
}

.edu-app-topbar__mark .edu-app-icon {
  box-shadow: none;
}

.edu-student-mode .edu-app-topbar__mark {
  margin-inline-end: 52px;
}

/* —— Hero —— */
.paths-hero {
  position: relative;
  margin: 12px 14px 18px;
  padding: 24px 20px 22px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0B1426 0%, #152238 52%, #152238 100%);
  box-shadow: 0 22px 55px rgba(11, 20, 38, 0.28);
}

.paths-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 15%, transparent 92%);
}

.paths-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  pointer-events: none;
}

.paths-hero__orb--1 {
  width: 140px;
  height: 140px;
  top: -40px;
  inset-inline-end: -20px;
  background: rgba(16, 185, 129, 0.35);
}

.paths-hero__orb--2 {
  width: 110px;
  height: 110px;
  bottom: -30px;
  inset-inline-start: -10px;
  background: rgba(255, 255, 255, 0.18);
}

.paths-hero__content {
  position: relative;
  z-index: 1;
}

.paths-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.paths-hero__kicker .edu-app-icon {
  width: 28px;
  height: 28px;
  box-shadow: none;
}

.paths-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 4.5vw, 1.65rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.paths-hero p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  max-width: 38em;
}

.paths-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.paths-hero__stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* —— Path cards —— */
.paths-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 14px;
}

.paths-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: #191919;
}

.paths-section-head span {
  font-size: 0.76rem;
  font-weight: 800;
  color: #666666;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3eafe;
  border: 1px solid #D8DEE8;
}

.paths-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 8px;
}

.path-card-v2 {
  display: block;
  padding: 0;
  margin: 0 0 12px;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(11, 20, 38, 0.1);
  box-shadow: 0 10px 28px rgba(26, 16, 48, 0.06);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.path-card-v2--media {
  display: flex;
  flex-direction: column;
}

.path-card-v2__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, color-mix(in srgb, var(--path-accent, #152238) 78%, #fff), var(--path-accent, #152238));
  overflow: hidden;
}

.path-card-v2__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.path-card-v2__media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 10, 30, 0.04) 0%, rgba(15, 10, 30, 0.55) 100%);
  pointer-events: none;
}

.path-card-v2__media-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.path-card-v2__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 18px;
}

.path-card-v2:hover .path-card-v2__media img,
.path-card-v2:focus-visible .path-card-v2__media img {
  transform: scale(1.04);
}

.path-card-v2:hover,
.path-card-v2:focus-visible {
  border-color: rgba(11, 20, 38, 0.22);
  box-shadow: 0 14px 34px rgba(26, 16, 48, 0.1);
}

.path-card-v2__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.path-card-v2__icon {
  flex-shrink: 0;
}

.path-card-v2__icon .edu-app-icon {
  box-shadow: none;
}

.path-card-v2__ring {
  position: absolute;
  inset-inline-end: 12px;
  bottom: 12px;
  z-index: 2;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--path-accent, var(--paths-brand)) calc(var(--pct) * 1%), rgba(255, 255, 255, 0.35) 0);
  font-size: 0.68rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 10, 30, 0.22);
}

.path-card-v2__ring span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  color: var(--path-accent, var(--paths-brand));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.path-card-v2__level {
  display: inline-block;
  margin-bottom: 0;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--paths-green);
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}

.path-card-v2__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.path-card-v2__tags .path-access-badge {
  margin-bottom: 0;
}

.path-card-v2 h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.35;
  color: #191919;
}

.path-card-v2 p {
  margin: 0 0 12px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: #666666;
  font-weight: 600;
}

.path-card-v2__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.path-card-v2__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #070D18;
  background: #F3F2EF;
  border: 1px solid #D8DEE8;
}

.path-card-v2__meta .edu-app-icon {
  width: 22px;
  height: 22px;
  box-shadow: none;
}

.path-card-v2__bar {
  margin-bottom: 12px;
}

.path-card-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--path-accent, var(--paths-brand));
}

.path-card-v2__cta .edu-app-icon {
  width: 24px;
  height: 24px;
  box-shadow: none;
}

[dir="ltr"] .path-card-v2__cta .edu-app-icon-svg {
  transform: scaleX(-1);
}

/* —— Empty —— */
.paths-empty {
  padding: 28px 20px;
  border-radius: 22px;
  text-align: center;
  background: #fff;
  border: 1px dashed #d8b4fe;
  box-shadow: 0 10px 28px rgba(11, 20, 38, 0.06);
}

.paths-empty__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.paths-empty__icon .edu-app-icon {
  box-shadow: none;
}

.paths-empty strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: #191919;
  margin-bottom: 6px;
}

.paths-empty p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: #666666;
  font-weight: 600;
}

/* —— Detail page (matches family / packages panels) —— */

.path-hero {
  position: relative;
  margin: 12px 14px 14px;
  padding: 22px 20px 20px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0B1426 0%, #152238 52%, #152238 100%);
  box-shadow: 0 22px 55px rgba(11, 20, 38, 0.28);
}

.path-hero--photo {
  background: #070D18;
}

.path-hero__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.path-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(46, 16, 100, 0.92) 0%, rgba(11, 20, 38, 0.78) 52%, rgba(126, 34, 206, 0.72) 100%);
  pointer-events: none;
}

.path-hero--photo .path-hero__mesh,
.path-hero--photo .path-hero__orb {
  z-index: 2;
}

.path-hero--detail .path-hero__layout {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 18px;
  align-items: end;
}

.path-hero--detail .path-hero__aside {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.path-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, #000 10%, transparent 95%);
  pointer-events: none;
}

.path-hero__layout {
  position: relative;
  z-index: 1;
}

.path-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.path-hero__orb--a {
  width: 180px;
  height: 180px;
  top: -70px;
  inset-inline-end: -40px;
  background: rgba(255, 255, 255, 0.12);
}

.path-hero__orb--b {
  width: 120px;
  height: 120px;
  bottom: -50px;
  inset-inline-start: -20px;
  background: rgba(255, 255, 255, 0.08);
}

.path-hero__content {
  position: relative;
  z-index: 1;
}

.path-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.path-hero__badge .edu-app-icon {
  box-shadow: none;
}

.path-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
}

.path-hero p {
  margin: 0;
  max-width: 36ch;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.path-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.path-hero__chips span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.path-hero__aside {
  display: none;
}

.path-hero__stat-card {
  min-width: 118px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.path-hero__stat-card strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
}

.path-hero__stat-card span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.path-hero__stat-card--accent {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}

.path-detail-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 14px;
}

.path-flash {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.84rem;
  font-weight: 700;
}

.path-flash--ok {
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.path-flash--err {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.path-panel {
  padding: 1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11, 20, 38, 0.12);
  box-shadow: 0 8px 24px rgba(26, 16, 48, 0.06);
}

.path-panel__label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #0B1426;
  background: rgba(11, 20, 38, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.path-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.path-panel__head--plain {
  align-items: center;
  margin-bottom: 14px;
}

.path-panel__head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  color: #070D18;
  line-height: 1.2;
}

.path-panel__head--plain h2 {
  font-size: 1.02rem;
  color: #191919;
}

.path-panel__count {
  font-size: 0.76rem;
  font-weight: 800;
  color: #666666;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 20, 38, 0.06);
}

.path-panel__ring {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#0B1426 calc(var(--pct) * 1%), #E8E8E8 0);
  font-size: 0.68rem;
  font-weight: 900;
  color: #0B1426;
}

.path-panel__ring span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
}

.path-panel__stats {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.path-panel__stats span {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(11, 20, 38, 0.06);
}

.path-panel__stats strong {
  display: block;
  font-size: 1.1rem;
  color: #0B1426;
}

.path-panel__stats small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.75;
}

.path-panel__bar {
  margin-bottom: 0;
}

.path-panel__form {
  margin: 12px 0 0;
}

.path-panel__btn {
  width: 100%;
}

.path-panel--access h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 900;
  color: #070D18;
}

.path-panel--access p {
  margin: 0 0 14px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: #5c4d72;
  font-weight: 600;
}

.path-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.path-panel__actions .edu-btn {
  width: 100%;
  justify-content: center;
}

.path-btn-trial {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.3);
}

.path-btn-trial:hover,
.path-btn-trial:focus-visible {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%) !important;
  color: #fff !important;
}

.path-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.path-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: stretch;
}

.path-step__num {
  width: 34px;
  height: 34px;
  margin-top: 12px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: #0B1426;
  background: rgba(11, 20, 38, 0.08);
  border: 1px solid rgba(11, 20, 38, 0.12);
}

.path-step.is-done .path-step__num {
  color: #fff;
  background: #059669;
  border-color: #059669;
}

.path-step__link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: rgba(11, 20, 38, 0.03);
  border: 1px solid rgba(11, 20, 38, 0.1);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.path-step__link:hover,
.path-step__link:focus-visible {
  border-color: rgba(11, 20, 38, 0.24);
  background: rgba(11, 20, 38, 0.06);
}

.path-step__link strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #191919;
  margin-bottom: 4px;
}

.path-step__link small {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666666;
  margin-bottom: 8px;
}

.path-step__bar {
  margin: 0;
}

.path-step.is-done .path-step__link {
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.06);
}

.path-step.is-locked .path-step__link--locked {
  opacity: 0.72;
  cursor: not-allowed;
  background: #fafafa;
  border-style: dashed;
}

.path-access-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.path-access-badge--free {
  background: #ecfdf5;
  color: #047857;
}

.path-access-badge--plus {
  background: #F3F2EF;
  color: #152238;
}

.path-access-badge--paid {
  background: #fff7ed;
  color: #c2410c;
}

.path-access-badge--plus_or_paid {
  background: #eff6ff;
  color: #1d4ed8;
}

/* List page layout */
.paths-list-wrap {
  padding: 0 14px;
}

.path-hero--list {
  margin-bottom: 16px;
}

html.edu-view-web .edu-web-content .path-hero__aside {
  display: grid;
}

.path-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.path-hero__btn-outline {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
}

.path-btn-trial {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.3);
}

.path-btn-trial:hover,
.path-btn-trial:focus-visible {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%) !important;
  color: #fff !important;
}

.path-panel__empty {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #5c4d72;
  background: rgba(11, 20, 38, 0.05);
  text-align: center;
}

.path-detail-panels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.path-course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.path-course-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(11, 20, 38, 0.1);
  box-shadow: 0 8px 22px rgba(26, 16, 48, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.path-course-card:hover,
.path-course-card:focus-visible {
  border-color: rgba(11, 20, 38, 0.22);
  box-shadow: 0 14px 30px rgba(11, 20, 38, 0.12);
  transform: translateY(-2px);
}

.path-course-card.is-locked {
  opacity: 0.88;
  cursor: not-allowed;
}

.path-course-card.is-locked:hover {
  transform: none;
  box-shadow: 0 8px 22px rgba(26, 16, 48, 0.05);
}

.path-course-card.is-done {
  border-color: rgba(16, 185, 129, 0.28);
}

.path-course-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #F3F2EF, #152238);
  overflow: hidden;
}

.path-course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.path-course-card__step {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 2;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 900;
  color: #0B1426;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 16px rgba(15, 10, 30, 0.14);
}

.path-course-card.is-done .path-course-card__step {
  color: #fff;
  background: #059669;
}

.path-course-card__lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 10, 30, 0.42);
  color: #fff;
}

.path-course-card__lock .edu-app-icon {
  box-shadow: none;
}

.path-course-card__body {
  padding: 14px 14px 16px;
}

.path-course-card__body h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.4;
  color: #191919;
}

.path-course-card__body p {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #666666;
}

.path-course-card__bar {
  margin: 0;
}

/* Web shell */
html.edu-view-web .edu-web-content .edu-app-topbar {
  display: none;
}

html.edu-view-web .edu-web-content .edu-page-paths,
html.edu-view-web .edu-web-content .edu-page-path-detail {
  max-width: 1120px;
  margin-inline: auto;
  padding: 0 0 3rem;
}

html.edu-view-web .edu-web-content .path-hero,
html.edu-view-web .edu-web-content .paths-hero {
  margin-inline: 0;
  margin-top: 0;
  margin-bottom: 28px;
  padding: 36px 40px 32px;
  border-radius: 24px;
}

html.edu-view-web .edu-web-content .path-hero--detail .path-hero__layout {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
}

html.edu-view-web .edu-web-content .path-hero--detail .path-hero__aside {
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  min-width: 240px;
}

html.edu-view-web .edu-web-content .path-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  max-width: 14ch;
}

html.edu-view-web .edu-web-content .path-hero p {
  max-width: 42ch;
  font-size: 15px;
}

html.edu-view-web .edu-web-content .path-hero__aside {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 12px;
}

html.edu-view-web .edu-web-content .path-hero__chips {
  display: none;
}

html.edu-view-web .edu-web-content .path-detail-stack {
  padding-inline: 0;
}

html.edu-view-web .edu-web-content .path-detail-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

html.edu-view-web .edu-web-content .path-detail-panels .path-panel--progress:only-child,
html.edu-view-web .edu-web-content .path-detail-panels .path-panel--access:only-child {
  grid-column: 1 / -1;
  max-width: 560px;
}

html.edu-view-web .edu-web-content .path-panel--courses {
  grid-column: 1 / -1;
}

html.edu-view-web .edu-web-content .path-course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1024px) {
  html.edu-view-web .edu-web-content .path-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.edu-view-web .edu-web-content .path-detail-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html.edu-view-web .edu-web-content .path-course-grid {
    grid-template-columns: 1fr;
  }
}

html.edu-view-web .edu-web-content .paths-section-head {
  margin-inline: 0;
  margin-bottom: 18px;
}

html.edu-view-web .edu-web-content .paths-section-head h2 {
  font-size: 1.25rem;
}

html.edu-view-web .edu-web-content .paths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

html.edu-view-web .edu-web-content .path-card-v2 {
  margin: 0;
  height: 100%;
}

html.edu-view-web .edu-web-content .path-card-v2--media:hover,
html.edu-view-web .edu-web-content .path-card-v2--media:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 20, 38, 0.14);
}

html.edu-view-web .edu-web-content .paths-empty {
  margin-inline: 0;
}

@media (max-width: 900px) {
  html.edu-view-web .edu-web-content .path-hero__layout {
    grid-template-columns: 1fr;
  }

  html.edu-view-web .edu-web-content .path-hero__aside {
    grid-template-columns: repeat(2, 1fr);
  }

  html.edu-view-web .edu-web-content .path-hero__chips {
    display: flex;
  }
}

@media (max-width: 1024px) {
  html.edu-view-web .edu-web-content .paths-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html.edu-view-web .edu-web-content .paths-grid {
    grid-template-columns: 1fr;
  }
}
