/* Trang Module và bản đồ học tập /roadmap dùng chung asset theo route learning-path. */

.learning-main { background: var(--page); }
.learning-context-back { margin: 22px 0 0; }
.learning-context-back a { color: var(--body); font-size: 13px; font-weight: 700; text-decoration: none; }
.learning-context-back a:hover { color: var(--white); }
.module-content-layout { display: grid; gap: clamp(64px, 8vw, 104px); padding-bottom: clamp(72px, 8vw, 112px); }
.module-resource-section > .section-header {
  width: fit-content;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.module-resource-section > .section-header .section-header__number { color: rgb(255 255 255 / 28%); }
.module-resource-section > .section-header .section-header__title { white-space: nowrap; }
.module-resource-section .learning-card { color: var(--white); }
.module-resource-section .learning-card__eyebrow { color: var(--brand); }
.module-resource-section .learning-card__meta { color: var(--body); }
.module-resource-section .learning-card--asset .learning-card__media { border-color: var(--line); box-shadow: 0 10px 28px rgb(0 0 0 / 24%); }
.module-resource-section .learning-card__title { font-size: clamp(16px, 1.45vw, 20px); line-height: 1.4; }

/* Module single: mỗi học liệu là một khối nội dung đầy đủ, không phải catalog card. */
.module-resource-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.module-feature-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--white);
  background: var(--surface);
  box-shadow: 0 18px 48px rgb(0 0 0 / 18%);
}
.module-feature-card__summary {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 22px;
  text-align: center;
}
.module-feature-card__media,
.module-feature-card__thumbnail {
  position: relative;
  display: block;
  width: min(100%, 380px);
  min-width: 360px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: var(--body);
}
.module-feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease, transform 300ms ease;
}
.module-feature-card__thumbnail {
  object-fit: contain;
}
.module-feature-card__thumbnail.module-feature-card__placeholder { height: auto; }
.module-feature-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgb(255 255 255 / 36%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.module-feature-card__media .learning-card__play {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.module-feature-card:hover .module-feature-card__media img { opacity: .88; transform: scale(1.015); }
.module-feature-card:hover .module-feature-card__media .learning-card__play { transform: translate(-50%, -50%) scale(1.07); }
.module-feature-card__copy {
  display: flex;
  width: min(100%, 430px);
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.module-feature-card__eyebrow {
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.module-feature-card__copy h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 700;
  line-height: 1.3;
}
.module-feature-card__copy h3 a { color: var(--white); text-decoration: none; }
.module-feature-card__copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: var(--body);
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.module-feature-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 16px;
  margin-left: auto;
  color: var(--body);
  font-size: 10px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.module-feature-card__meta span + span::before { content: "·"; margin-right: 16px; color: var(--brand); }
.module-feature-card__cta.bess-button {
  min-height: 36px;
  margin-top: 14px;
  padding: 0 12px;
  border-color: rgb(255 255 255 / 22%);
  border-radius: 5px;
  font-size: 10px;
}
.module-feature-card__cta .material-symbols-outlined { font-size: 16px; transition: transform 180ms ease; }
.module-feature-card__cta:hover .material-symbols-outlined { transform: translateX(3px); }
.module-feature-card__outline {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  padding: 22px;
  background: #111214;
}
.module-feature-card__outline::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 1px;
  background: var(--line);
}
.module-feature-card__outline > header {
  display: flex;
  min-height: 26px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px;
}
.module-feature-card__outline > header > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.module-feature-card__outline-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgb(255 255 255 / 34%) transparent;
  scrollbar-width: thin;
}
.module-feature-card__outline-body::-webkit-scrollbar { width: 7px; }
.module-feature-card__outline-body::-webkit-scrollbar-track { background: transparent; }
.module-feature-card__outline-body::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: rgb(255 255 255 / 34%); background-clip: padding-box; }
.module-feature-card__outline-body ol { margin: 0; padding: 0; list-style: none; }
.module-feature-card__outline-body li { padding: 0; }
.module-feature-card__outline-body li a,
.module-feature-card__outline-item {
  display: grid;
  min-height: 38px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
  border-radius: 4px;
  color: var(--white);
  text-decoration: none;
  transition: background-color 160ms ease;
}
.module-feature-card__outline-body li a:hover { background: rgb(255 255 255 / 4%); }
.module-feature-card__item-number { color: rgb(255 255 255 / 32%); font-size: 10px; font-weight: 800; font-variant-numeric: tabular-nums; }
.module-feature-card__outline-body li strong { font-size: 12px; font-weight: var(--font-weight-semibold); line-height: 1.45; }
.module-feature-card__outline-body.is-empty { display: grid; place-items: center; }
.module-feature-card__outline-placeholder { display: grid; width: min(72%, 360px); gap: 13px; }
.module-feature-card__outline-placeholder span { height: 1px; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 16%) 14%, rgb(255 255 255 / 16%) 86%, transparent); }
.module-feature-card__outline-placeholder span:nth-child(2) { width: 84%; }
.module-feature-card__outline-placeholder span:nth-child(3) { width: 93%; }
.module-feature-card__outline-placeholder span:nth-child(4) { width: 68%; }

/* ==================================================
   Module detail — dark editorial system
   ================================================== */

.module-detail {
  --module-panel-background: linear-gradient(112deg, #0b0c0d 0%, #101214 58%, #151a1b 100%);
  color: var(--white);
  background: #050606;
}

.module-detail-sticky-nav {
  position: fixed;
  z-index: var(--z-header);
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  color: var(--white);
  background: #1b1f21;
  box-shadow: 0 10px 26px rgb(0 0 0 / 30%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 180ms ease, transform 220ms ease, visibility 0s linear 220ms;
  visibility: hidden;
}

.module-detail-sticky-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
  visibility: visible;
}

.module-detail-sticky-nav__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding-block: 14px;
}

.module-detail-sticky-nav__title { min-width: 0; }

.module-detail-sticky-nav__title > span {
  display: block;
  overflow: hidden;
  margin-bottom: 2px;
  color: rgb(255 255 255 / 52%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-detail-sticky-nav p {
  overflow: hidden;
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-detail-sticky-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 5px 18px;
}

.module-detail-sticky-nav__links a {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.module-detail-sticky-nav__links a > span:first-child {
  color: rgb(255 255 255 / 36%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.module-detail-sticky-nav__link-label { color: var(--white); }

.module-detail-sticky-nav__links a:hover,
.module-detail-sticky-nav__links a:focus-visible,
.module-detail-sticky-nav__links a.is-current {
  color: var(--white);
  text-decoration: none;
}

.module-detail-sticky-nav__links a:hover .module-detail-sticky-nav__link-label,
.module-detail-sticky-nav__links a:focus-visible .module-detail-sticky-nav__link-label,
.module-detail-sticky-nav__links a.is-current .module-detail-sticky-nav__link-label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.module-detail-overview[id],
.module-detail-catalog[id],
.module-detail-group[id],
.module-detail-consultation[id] {
  scroll-margin-top: var(--module-detail-sticky-nav-height, 62px);
}

.module-detail-hero {
  position: relative;
  overflow: hidden;
  border-top: 0;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  background: var(--module-panel-background);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%);
}

.module-detail-hero::after {
  content: "";
  position: absolute;
  top: -45%;
  right: -10%;
  width: min(52vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / 8%) 0%, rgb(29 233 182 / 3%) 42%, transparent 70%);
  pointer-events: none;
}

.module-detail-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 276px);
  align-items: center;
  gap: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(52px, 6vw, 78px);
}

.module-detail-hero__copy { min-width: 0; }

.module-detail-hero__breadcrumb {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, auto) 18px minmax(0, auto);
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding-top: 16px;
  margin-bottom: clamp(44px, 5vw, 68px);
}

.module-detail-hero__breadcrumb a {
  display: inline-block;
  color: rgb(255 255 255 / 100%);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.45;
  transition: color 180ms ease;
}

.module-detail-hero__breadcrumb a:hover,
.module-detail-hero__breadcrumb a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.module-detail-hero__breadcrumb .material-symbols-outlined {
  color: var(--white);
  font-size: 16px;
}

.module-detail-hero__number {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.4;
}

.module-detail-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(42px, 4.6vw, 60px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.module-detail-hero__description {
  display: -webkit-box;
  max-width: 760px;
  overflow: hidden;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 66%);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: var(--font-weight-regular);
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.module-detail-hero__stats {
  display: grid;
  max-width: 700px;
  margin-top: 26px;
  padding-top: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.module-detail-hero__stats > div { display: grid; min-width: 0; gap: 4px; }
.module-detail-hero__stats strong { color: var(--white); font-size: 13px; font-weight: 700; }
.module-detail-hero__stats span { color: rgb(255 255 255 / 44%); font-size: 10px; font-weight: var(--font-weight-semibold); line-height: 1.45; }

.module-detail-hero__visual { display: flex; width: 100%; align-items: center; justify-content: flex-end; }
.module-detail-hero__poster {
  position: relative;
  width: min(100%, 276px);
  aspect-ratio: 210 / 297;
  overflow: hidden;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: #15171a;
  box-shadow: 0 24px 60px rgb(0 0 0 / 34%);
}
.module-detail-hero__poster img { width: 100%; height: 100%; object-fit: cover; }
.module-detail-hero__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(145deg, #252a31, #101317); }
.module-detail-hero__poster > .material-symbols-outlined { display: grid; height: 100%; place-items: center; color: rgb(255 255 255 / 28%); font-size: 72px; }

.module-detail-catalog {
  padding-block: clamp(72px, 8vw, 104px);
  background: #050606;
}

.module-detail-overview {
  padding-block: clamp(72px, 8vw, 108px);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  background: #0b0c0d;
}

.module-detail-overview__inner {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.55fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.module-detail-overview__header p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: rgb(255 255 255 / 48%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.module-detail-overview__header p span { color: rgb(255 255 255 / 28%); }

.module-detail-overview__header h2 {
  max-width: 390px;
  margin: 0;
  color: var(--white);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.module-detail-overview__body { max-width: 840px; }

.module-detail-overview__body > p {
  margin: 0;
  color: var(--white);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.7;
}

.module-detail-overview__body > p + p { margin-top: 22px; }

.module-detail-overview__topics { margin-top: 34px; }
.module-detail-overview__topics h3 {
  margin: 0 0 14px;
  color: rgb(255 255 255 / 58%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.module-detail-overview__topics ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.module-detail-overview__topics li {
  padding: 8px 12px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 10px;
  color: var(--white);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.module-detail-overview__body > .module-detail-overview__outcome {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  font-weight: 600;
}

.module-detail-group + .module-detail-group {
  margin-top: clamp(64px, 7vw, 88px);
}

.module-detail-group__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
  padding-bottom: 0;
}

.module-detail-group__header > div > p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  color: rgb(255 255 255 / 48%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.module-detail-group__header > div > p span {
  color: rgb(255 255 255 / 28%);
  font-variant-numeric: tabular-nums;
}

.module-detail-group__header h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.module-detail-group__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.module-detail-resource-count {
  flex: 0 0 auto;
  color: rgb(255 255 255 / 54%);
  font-size: 12px;
  font-weight: 600;
}

.module-detail-resource-grid { align-items: start; }

.module-detail-consultation {
  padding-block: clamp(72px, 8vw, 104px);
  border-block: 1px solid rgb(255 255 255 / 10%);
  background: var(--module-panel-background);
}

.module-detail-consultation__header {
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.module-detail-consultation__header p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  color: rgb(255 255 255 / 48%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.module-detail-consultation__header p span {
  color: rgb(255 255 255 / 28%);
  font-variant-numeric: tabular-nums;
}

.module-detail-consultation__header h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.module-detail-consultation__grid { gap: 18px; }

.module-learning-card {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 10px;
  background: #0d0e0f;
  box-shadow: 0 18px 46px rgb(0 0 0 / 22%);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.module-learning-card:hover {
  border-color: rgb(255 255 255 / 28%);
  background: #111214;
  transform: translateY(-2px);
}

.module-learning-card__media {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 16 / 9;
  align-self: center;
  overflow: hidden;
  margin: clamp(20px, 2.4vw, 30px);
  border-radius: 7px;
  color: rgb(255 255 255 / 34%);
  background: rgb(255 255 255 / 8%);
}

.module-learning-card__media-link { position: absolute; z-index: 0; inset: 0; display: block; }

.module-learning-card--document .module-learning-card__media-link,
.module-learning-card--tool .module-learning-card__media-link {
  box-sizing: border-box;
  padding: 18px 24px 62px;
  background:
    radial-gradient(72% 88% at 50% 50%, rgb(71 79 87 / 30%) 0%, transparent 72%),
    linear-gradient(135deg, #171a1d 0%, #0d0f11 55%, #070809 100%);
}

.module-learning-card__asset,
.module-learning-card__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.module-learning-card__asset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, opacity 180ms ease;
}

.module-learning-card--document .module-learning-card__asset,
.module-learning-card--tool .module-learning-card__asset {
  box-sizing: border-box;
  padding: 0;
  background: transparent;
}

.module-learning-card--document .module-learning-card__asset img,
.module-learning-card--tool .module-learning-card__asset img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.module-learning-card__placeholder {
  flex-direction: column;
  gap: 7px;
  background: radial-gradient(circle at 50% 30%, rgb(255 255 255 / 9%), transparent 56%), linear-gradient(145deg, #17191c, #0f1113);
}
.module-learning-card__placeholder .material-symbols-outlined { color: rgb(255 255 255 / 52%); font-size: 44px; }
.module-learning-card__placeholder strong { color: rgb(255 255 255 / 72%); font-size: 12px; font-weight: 700; }
.module-learning-card__placeholder small { color: rgb(255 255 255 / 34%); font-size: var(--text-micro); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.module-learning-card:hover .module-learning-card__asset img { opacity: .9; transform: scale(1.018); }
.module-learning-card--document:hover .module-learning-card__asset img,
.module-learning-card--tool:hover .module-learning-card__asset img { transform: none; }

.module-learning-card__trailer {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 2px 12px rgb(0 0 0 / 72%);
  transform: translate(-50%, -54%);
}
.module-learning-card__play { display: grid; width: 68px; height: 68px; place-items: center; border: 2px solid rgb(255 255 255 / 88%); border-radius: 50%; background: rgb(0 0 0 / 44%); box-shadow: 0 8px 30px rgb(0 0 0 / 38%); transition: transform 180ms ease, background-color 180ms ease; }
.module-learning-card__play .material-symbols-outlined { padding-left: 3px; font-size: 36px; }
.module-learning-card__trailer:hover .module-learning-card__play { background: rgb(0 0 0 / 68%); transform: scale(1.07); }
.module-learning-card__trailer:hover > span:last-child { text-decoration: underline; text-underline-offset: 4px; }

.module-learning-card__media-meta {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 50%;
  max-width: calc(100% - 28px);
  overflow: hidden;
  padding: 7px 12px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  color: rgb(255 255 255 / 86%);
  background: rgb(10 12 14 / 78%);
  box-shadow: 0 5px 16px rgb(0 0 0 / 28%);
  backdrop-filter: blur(7px);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.module-learning-card__body {
  display: grid;
  min-width: 0;
  grid-template-rows: auto auto;
  align-content: center;
}

.module-learning-card__summary,
.module-learning-card__problems {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 24px clamp(28px, 3.5vw, 48px);
}

.module-learning-card__problems {
  position: relative;
  padding-top: 24px;
}

.module-learning-card__problems::before {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(28px, 3.5vw, 48px);
  left: clamp(28px, 3.5vw, 48px);
  height: 1px;
  background: rgb(255 255 255 / 12%);
}

.module-learning-card__type {
  margin: 0 0 7px;
  color: rgb(255 255 255 / 48%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.module-learning-card h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -.025em;
}

.module-learning-card h3 { font-size: clamp(20px, 2vw, 28px); line-height: 1.25; }
.module-learning-card h3 a { color: inherit; }
.module-learning-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.module-learning-card__description {
  display: -webkit-box;
  overflow: hidden;
  margin: 14px 0 0;
  color: rgb(255 255 255 / 62%);
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.module-learning-card__problems ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.module-learning-card__problems li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 0;
  color: rgb(255 255 255 / 66%);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
}

.module-learning-card__problems li .material-symbols-outlined {
  padding-top: 1px;
  color: rgb(255 255 255 / 46%);
  font-size: 15px;
}

.module-learning-card__cta.bess-button {
  width: fit-content;
  min-height: 36px;
  margin-top: 20px;
  padding-inline: 14px;
  font-size: 10px;
}
.module-learning-card__cta .material-symbols-outlined { font-size: 16px; transition: transform 180ms ease; }
.module-learning-card__cta:hover .material-symbols-outlined { transform: translateX(3px); }

body.is-module-trailer-open { overflow: hidden; padding-right: var(--module-trailer-scrollbar, 0px); }
.module-trailer-viewer { position: fixed; z-index: var(--z-modal); inset: 0; display: grid; padding: 18px; place-items: center; }
.module-trailer-viewer[hidden] { display: none; }
.module-trailer-viewer__backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / 86%); backdrop-filter: blur(9px); }
.module-trailer-viewer__dialog { position: relative; display: grid; width: min(100%, 1080px); max-height: calc(100vh - 36px); overflow: hidden; grid-template-rows: auto minmax(0, 1fr); border: 1px solid rgb(255 255 255 / 16%); border-radius: 9px; color: #fff; background: #171717; box-shadow: 0 30px 100px rgb(0 0 0 / 60%); }
.module-trailer-viewer__dialog > header { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 18px; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.module-trailer-viewer__dialog > header > div { display: grid; min-width: 0; gap: 3px; }
.module-trailer-viewer__dialog > header span { color: rgb(255 255 255 / 52%); font-size: var(--text-caption); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.module-trailer-viewer__dialog > header strong { overflow: hidden; color: #fff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.module-trailer-viewer__dialog > header button { display: grid; width: 42px; height: 42px; flex: 0 0 42px; padding: 0; place-items: center; border: 1px solid rgb(255 255 255 / 24%); border-radius: 50%; color: #fff; background: transparent; cursor: pointer; }
.module-trailer-viewer__dialog > header button:hover { border-color: rgb(255 255 255 / 52%); background: rgb(255 255 255 / 10%); }
.module-trailer-viewer__content { aspect-ratio: 16 / 9; min-height: 0; background: #0d0d0d; }
.module-trailer-viewer__content iframe { display: block; width: 100%; height: 100%; border: 0; background: #171717; }

.module-detail-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 10px;
  color: rgb(255 255 255 / 54%);
  background: #0d0e0f;
  text-align: center;
}

.module-detail-empty p { margin: 0; }

@media (max-width: 1200px) {
  .module-detail-hero__inner { gap: 44px; }
  .module-detail-hero__poster { width: min(100%, 240px); }
  .module-learning-card { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
  .module-learning-card__summary,
  .module-learning-card__problems { padding-inline: 32px; }
  .module-learning-card__problems::before { right: 32px; left: 32px; }
}

@media (max-width: 767px) {
  .module-detail-sticky-nav__shell { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 10px 12px; }
  .module-detail-sticky-nav__title > span { font-size: var(--text-caption); }
  .module-detail-sticky-nav p { font-size: 13px; }
  .module-detail-sticky-nav__links { flex-wrap: nowrap; justify-content: flex-start; gap: 16px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .module-detail-sticky-nav__links::-webkit-scrollbar { display: none; }
  .module-detail-sticky-nav__links a { flex: 0 0 auto; }
  .module-detail-hero__breadcrumb { padding-top: 16px; margin-bottom: 36px; }
  .module-detail-hero__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0 16px;
    padding-bottom: 48px;
  }
  .module-detail-hero__copy { display: contents; }
  .module-detail-hero__number,
  .module-detail-hero h1,
  .module-detail-hero__description { grid-column: 1 / -1; }
  .module-detail-hero h1 { font-size: clamp(40px, 11vw, 58px); }
  .module-detail-hero__description { margin-top: 20px; }
  .module-detail-hero__stats {
    grid-column: 2;
    grid-row: 4;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 12px;
    margin: 22px 0 0;
    padding: 16px 0 16px 16px;
    border-top: 0;
    border-left: 1px solid rgb(255 255 255 / 16%);
  }
  .module-detail-hero__visual { grid-column: 1; grid-row: 4; justify-content: flex-start; margin-top: 22px; }
  .module-detail-hero__poster { width: 100%; max-width: 190px; margin: 0; }
  .module-detail-overview__inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .module-detail-overview__header h2 { max-width: 520px; }
  .module-detail-overview__body > p { font-size: 16px; }
  .module-detail-group__header { align-items: start; }
  .module-learning-card { grid-template-columns: minmax(0, 1fr); }
  .module-learning-card {
    border-color: rgb(255 255 255 / 18%);
    background: #151719;
    box-shadow: 0 18px 42px rgb(0 0 0 / 28%);
  }
  .module-learning-card__media { width: auto; margin: 16px 16px 0; }
  .module-learning-card__summary,
  .module-learning-card__problems { padding: 24px 20px; }
  .module-learning-card__summary { align-items: center; text-align: center; }
  .module-learning-card__type,
  .module-learning-card h3,
  .module-learning-card__description { text-align: center; }
  .module-learning-card__cta.bess-button {
    width: 100%;
    justify-content: center;
  }
  .module-learning-card__problems { padding-top: 24px; }
  .module-learning-card__problems::before { right: 20px; left: 20px; }
  .module-detail-consultation__grid { grid-template-columns: minmax(0, 1fr); }
  .module-trailer-viewer { padding: 0; }
  .module-trailer-viewer__dialog { width: 100%; border: 0; border-radius: 0; }
}

@media (max-width: 479px) {
  .module-detail-hero__breadcrumb a { font-size: 12px; }
  .module-detail-hero__number { font-size: 26px; }
  .module-detail-hero__stats { grid-template-columns: minmax(0, 1fr); }
  .module-detail-group__header { gap: 12px; }
  .module-detail-resource-count { display: none; }
  .module-detail-overview__topics ul { gap: 7px; }
  .module-detail-overview__topics li { padding: 7px 10px; font-size: 11px; }
  .module-learning-card__description { -webkit-line-clamp: 4; }
}

/* ==================================================
   Module detail — outer grid 25/75, đồng trục với /roadmap
   ================================================== */

.module-detail-body { background: #08090a; }

.module-detail-layout {
  display: grid;
  grid-template-columns: 25% minmax(0, 75%);
  align-items: stretch;
}

.module-detail-sidebar {
  position: relative;
  min-width: 0;
  align-self: stretch;
  padding: 96px clamp(72px, 7vw, 104px) 96px 0;
}

.module-detail-sidebar__inner {
  position: sticky;
  top: var(--module-sidebar-sticky-top, 40px);
  transition: top 220ms ease;
}

.module-detail-sidebar__eyebrow {
  margin: 0 0 8px;
  color: rgb(255 255 255 / 42%);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.module-detail-sidebar__identity {
  min-width: 0;
  margin-bottom: 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.module-detail-sidebar__identity strong {
  display: block;
  min-width: 0;
  color: var(--white);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.28;
  text-wrap: balance;
}

.module-detail-section-nav { display: grid; gap: 0; }

.module-detail-section-nav > a {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-radius: 7px;
  color: rgb(255 255 255 / 54%);
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.module-detail-section-nav > a > strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.module-detail-section-nav > a:hover { background: transparent; }

.module-detail-section-nav > a.is-current {
  color: var(--white);
  background: transparent;
  box-shadow: none;
}

.module-detail-section-nav a > .material-symbols-outlined {
  color: currentcolor;
  font-size: 16px;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.module-detail-section-nav a:hover > .material-symbols-outlined,
.module-detail-section-nav a:focus-visible > .material-symbols-outlined,
.module-detail-section-nav a.is-current > .material-symbols-outlined { opacity: .72; transform: translateX(0); }

.module-detail-section-nav__children {
  display: grid;
  gap: 0;
  margin: 0 0 4px;
  padding-left: 0;
  border-left: 0;
}

.module-detail-section-nav__children a {
  display: flex;
  min-height: 0;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  border-radius: 5px;
  color: rgb(255 255 255 / 44%);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.module-detail-section-nav__children a:hover,
.module-detail-section-nav__children a.is-current { background: transparent; }

.module-detail-sidebar__access {
  display: grid;
  gap: 0;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.module-detail-sidebar__access > span {
  color: var(--muted);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.35;
}

.module-detail-sidebar__access > strong {
  display: block;
  margin-top: 5px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-size: var(--text-ui);
  font-weight: var(--font-weight-semibold);
  line-height: 1.45;
}

.module-detail-sidebar__access > p {
  margin: 26px 0 0;
  color: var(--body);
  font-size: var(--text-ui);
  line-height: 1.65;
}

.module-detail-sidebar__cta.bess-button { width: 100%; min-height: 46px; margin-top: 20px; padding-inline: 20px; font-size: var(--text-ui); }
.module-detail-sidebar__cta .material-symbols-outlined { font-size: 16px; }

.module-detail-sidebar__roadmap-link {
  display: inline-block;
  justify-self: start;
  margin-top: 14px;
  color: var(--body);
  font-size: var(--text-ui);
  font-weight: var(--font-weight-semibold);
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.module-detail-sidebar__roadmap-link:hover { color: var(--white); }

.module-detail-content { min-width: 0; padding-top: 96px; }

.module-detail-overview,
.module-detail-catalog,
.module-detail-resource-group,
.module-detail-consultation {
  padding: 0 0 96px;
  scroll-margin-top: 32px;
  border: 0;
  background: transparent;
}

.module-detail-section-header { margin-bottom: 38px; }

.module-detail-section-header > p,
.module-detail-section-header > div > p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: rgb(255 255 255 / 48%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.module-detail-section-header p span { color: rgb(255 255 255 / 28%); font-variant-numeric: tabular-nums; }

.module-detail-section-header h2 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.module-detail-overview__body { max-width: 66.67%; }

.module-detail-overview__body > p {
  margin: 0;
  color: var(--white);
  font-size: 17px;
  letter-spacing: -.01em;
  line-height: 1.72;
}

.module-detail-overview__body > p + p { margin-top: 18px; }
.module-detail-overview__topics { margin-top: 28px; }

.module-detail-overview__topics h3 {
  margin: 0 0 12px;
  color: rgb(255 255 255 / 58%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.module-detail-overview__topics ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-detail-overview__topics li {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 10px;
  color: rgb(255 255 255 / 76%);
  background: #1b1d1f;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.module-detail-overview__body > .module-detail-overview__outcome {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-weight: 600;
}

.module-detail-resource-group {
  min-width: 0;
}

.module-detail-resource-group + .module-detail-resource-group {
  padding-top: 0;
  border-top: 0;
}

.module-detail-resource-group__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.module-detail-resource-group__header p {
  margin: 0 0 5px;
  color: rgb(255 255 255 / 38%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.module-detail-resource-group__header h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.module-detail-resource-group__header > span {
  padding-bottom: 3px;
  color: rgb(255 255 255 / 42%);
  font-size: 11px;
  font-weight: 600;
}

.module-detail-resource-list { display: grid; min-width: 0; gap: 0; }
.module-detail-resource-kind { display: grid; min-width: 0; gap: 20px; }
.module-detail-resource-kind:not(.is-empty) ~ .module-detail-resource-kind:not(.is-empty) { margin-top: 20px; }

.module-detail-resource-kind { scroll-margin-top: 32px; }
.module-detail-resource-kind.is-empty { min-height: 0; margin-top: 0; }

.module-resource-entry {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "visual content"
    "meta content"
    "action content";
  grid-template-rows: auto auto 1fr;
  column-gap: 30px;
  row-gap: 0;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 10px;
  background: linear-gradient(110deg, #111315 0%, #0d0f11 72%, #141719 100%);
  box-shadow: 0 16px 42px rgb(0 0 0 / 16%);
  transition: border-color 180ms ease, transform 180ms ease;
}

.module-resource-entry:hover { border-color: rgb(255 255 255 / 27%); transform: translateY(-2px); }
.module-resource-entry__visual { grid-area: visual; min-width: 0; align-self: start; }

.module-resource-entry__canonical-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
}

.module-resource-entry--document .module-resource-entry__canonical-card,
.module-resource-entry--tool .module-resource-entry__canonical-card {
  aspect-ratio: 16 / 9;
  box-sizing: border-box;
  padding: 5%;
  border: 1px solid rgb(255 255 255 / 8%);
  background: rgb(255 255 255 / 20%);
}
.module-resource-entry--course .module-resource-entry__canonical-card { aspect-ratio: 16 / 9; }
.module-resource-entry--course .course-catalog-card,
.module-resource-entry--course .course-catalog-card__media { border-radius: 6px; }
.module-resource-entry--course .course-catalog-card__lesson-count { display: none; }

.module-resource-entry__canonical-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--module-resource-card-source-width, 286px);
  transform: scale(var(--module-resource-card-scale, 1));
  transform-origin: top left;
}

.module-resource-entry--document .module-resource-entry__canonical-frame,
.module-resource-entry--tool .module-resource-entry__canonical-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--module-resource-card-source-width, 286px);
  transform: translate(-50%, -50%) scale(var(--module-resource-card-scale, 1));
  transform-origin: center;
}

.module-resource-entry__canonical-frame > .course-catalog-card,
.module-resource-entry__canonical-frame > .doc-card,
.module-resource-entry__canonical-frame > .tool-card { width: 100%; }

.module-resource-entry__canonical-frame > .doc-card,
.module-resource-entry__canonical-frame > .tool-card { height: 100%; }

.module-resource-entry--document .book-cta { font-size: 6px; }

.module-resource-entry__content {
  display: flex;
  grid-area: content;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}

.module-resource-entry__heading > p {
  margin: 0 0 7px;
  color: rgb(255 255 255 / 66.67%);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1px;
}

.module-resource-entry__heading h4 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
  text-wrap: balance;
}

.module-resource-entry__heading h4 a { color: inherit; }
.module-resource-entry__heading h4 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.module-resource-entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-top: 10px;
  color: rgb(255 255 255 / 44%);
  font-size: 10px;
  font-weight: 600;
}

.module-resource-entry__meta--visual {
  grid-area: meta;
  width: 100%;
  justify-content: center;
  margin-top: 12px;
  text-align: center;
}

.module-resource-entry__meta--content { display: none; }

.module-resource-entry__meta span + span::before { margin-inline: 8px; color: rgb(255 255 255 / 24%); content: "·"; }

.module-resource-entry__description {
  display: -webkit-box;
  overflow: hidden;
  margin: 17px 0 0;
  color: rgb(255 255 255 / 64%);
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.module-resource-entry__context {
  width: 100%;
  margin-top: 0;
  padding-top: 18px;
  border-top: 0;
}

.module-resource-entry__context h5 {
  margin: 0 0 11px;
  color: rgb(255 255 255 / 72%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
}

.module-resource-entry__context ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }

.module-resource-entry__context li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: rgb(255 255 255 / 62%);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
}

.module-resource-entry__context .material-symbols-outlined { padding-top: 1px; color: rgb(255 255 255 / 40%); font-size: 14px; }

.module-resource-entry__cta.bess-button {
  grid-area: action;
  width: max-content;
  max-width: 100%;
  align-self: start;
  justify-self: center;
  min-height: 36px;
  margin-top: 16px;
  padding-inline: 13px;
  font-size: 10px;
}

.module-resource-entry__cta .material-symbols-outlined { font-size: 16px; transition: transform 180ms ease; }
.module-resource-entry__cta:hover .material-symbols-outlined { transform: translateX(3px); }

.module-detail-consultation__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-grid);
}

.module-detail-question-item { min-width: 0; }
.module-detail-question-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  padding: 24px;
  border-color: rgb(255 255 255 / 12%);
  color: rgb(255 255 255 / 36%);
  background: rgb(255 255 255 / 7%);
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.module-detail-question-placeholder[hidden],
.module-detail-question-item[hidden] { display: none; }

.module-detail-question-placeholder__label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-ui); font-style: normal; font-weight: 600; letter-spacing: -.01em; }
.module-detail-question-placeholder__label .material-symbols-outlined { font-size: 17px; transition: transform 180ms ease; }
.module-detail-question-placeholder strong { position: absolute; top: 50%; left: 50%; width: max-content; color: rgb(255 255 255 / 3%); font-size: clamp(48px, 5.2vw, 76px); font-weight: 800; letter-spacing: -.07em; line-height: .8; text-align: center; transform: translate(-50%, -50%); }
.module-detail-question-placeholder:hover { border-color: rgb(255 255 255 / 24%); color: rgb(255 255 255 / 76%); background: rgb(255 255 255 / 10%); box-shadow: none; transform: translateY(-2px); }
.module-detail-question-placeholder:hover .module-detail-question-placeholder__label .material-symbols-outlined { transform: translateX(3px); }
.module-detail-question-placeholder:hover strong { color: rgb(255 255 255 / 5%); }

.module-detail-consultation__more { display: flex; justify-content: center; margin-top: 26px; }
.module-detail-consultation__more[hidden] { display: none; }
.module-detail-consultation__more .bess-button { min-height: 40px; }
.module-detail-consultation__more .material-symbols-outlined { font-size: 17px; }

.module-detail-ask-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  margin-top: 34px;
  padding: 30px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 10px;
  background: linear-gradient(110deg, #151719 0%, #0d0f11 100%);
}

.module-detail-ask-cta > div > span {
  color: rgb(255 255 255 / 42%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.module-detail-ask-cta h3 { margin: 8px 0 0; color: var(--white); font-size: 22px; letter-spacing: -.03em; line-height: 1.25; }
.module-detail-ask-cta p { margin: 9px 0 0; color: rgb(255 255 255 / 56%); font-size: 12px; line-height: 1.6; }
.module-detail-ask-cta__button.bess-button { min-width: 138px; min-height: 42px; }
.module-detail-ask-cta__button .material-symbols-outlined { font-size: 17px; }

.module-detail-consultation.is-empty .module-detail-consultation__grid { display: none; }
.module-detail-consultation.is-empty .module-detail-ask-cta { margin-top: 0; }

.module-detail-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 10px;
  color: rgb(255 255 255 / 54%);
  background: #0d0e0f;
  text-align: center;
}

.module-detail-empty p { margin: 0; }

@media (max-width: 1200px) {
  .module-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .module-detail-content { padding-top: 72px; }
  .module-detail-overview__body { max-width: none; }

  .module-detail-sidebar {
    position: sticky;
    z-index: var(--z-sidebar);
    top: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    background: rgb(20 22 24 / 96%);
    backdrop-filter: blur(16px);
  }

  .module-detail-sidebar__inner { position: static; transition: none; }
  .module-detail-sidebar__eyebrow { display: none; }
  .module-detail-sidebar__identity,
  .module-detail-sidebar__access { display: none; }
  .module-detail-section-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .module-detail-section-nav > a { min-width: max-content; min-height: var(--tap-min); flex: 0 0 auto; align-items: center; padding: 10px 14px; border: 1px solid rgb(255 255 255 / 9%); }
  .module-detail-section-nav__children { display: contents; }
  .module-detail-section-nav__children a { min-width: max-content; min-height: var(--tap-min); flex: 0 0 auto; padding: 10px 14px; border: 1px solid rgb(255 255 255 / 9%); border-radius: 7px; }

  .module-detail-overview,
  .module-detail-catalog,
  .module-detail-resource-group,
  .module-detail-consultation { padding: 0 0 72px; scroll-margin-top: 76px; }

  .module-detail-resource-group,
  .module-detail-resource-kind { scroll-margin-top: 76px; }
  .module-resource-entry { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; padding: 24px; }
  .module-resource-entry__canonical-card { height: auto !important; overflow: visible; }
  .module-resource-entry--document .module-resource-entry__canonical-card,
  .module-resource-entry--tool .module-resource-entry__canonical-card { overflow: hidden; }
  .module-resource-entry__canonical-frame { position: static; width: 100%; transform: none; }
  .module-resource-entry__heading h4 { font-size: 24px; }
}

@media (max-width: 767px) {
  .module-detail-sidebar { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .module-detail-content { padding-top: var(--space-section); }
  .module-detail-overview,
  .module-detail-catalog,
  .module-detail-resource-group,
  .module-detail-consultation { padding: 0 0 var(--space-section); }
  .module-detail-section-header { margin-bottom: 30px; }
  .module-detail-section-header h2 { font-size: clamp(30px, 8.5vw, 40px); }
  .module-detail-overview__body > p { font-size: 15px; line-height: 1.7; }
  .module-detail-resource-group__header { margin-bottom: 20px; }
  .module-detail-resource-group__header h3 { font-size: 25px; }
  .module-resource-entry {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "visual"
      "content"
      "action";
    grid-template-rows: auto;
    gap: 22px;
    padding: 20px;
  }
  .module-resource-entry__visual { width: calc(50% + 14px); }
  .module-resource-entry__content { padding: 0; }
  .module-resource-entry__meta--visual { display: none; }
  .module-resource-entry__meta--content { display: flex; }
  .module-resource-entry__context { margin-top: 20px; border-top: 1px solid rgb(255 255 255 / 11%); }
  .module-resource-entry__description { -webkit-line-clamp: 4; }
  .module-resource-entry__cta.bess-button { min-height: var(--tap-min); margin-top: 0; }
  .module-detail-consultation__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-detail-ask-cta { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 24px; }
  .module-detail-ask-cta__button.bess-button { justify-self: start; }
}

@media (max-width: 479px) {
  .module-detail-resource-group__header > span { display: none; }
  .module-resource-entry__visual { width: 100%; }
  .module-resource-entry__heading h4 { font-size: 22px; }
  .module-resource-entry__context li { font-size: 11px; }
  .module-detail-consultation__grid { grid-template-columns: minmax(0, 1fr); }
  .module-detail-ask-cta { padding: 22px 20px; }
  .module-detail-ask-cta__button.bess-button { width: 100%; }
}

@media (hover: none) {
  .module-resource-entry:hover { border-color: rgb(255 255 255 / 13%); transform: none; }
  .module-resource-entry__cta:hover .material-symbols-outlined { transform: none; }
}

/* /roadmap: bản đồ học tập 25/75, thẳng đúng trục của masthead. */
.roadmap-page {
  color: var(--white);
  background: var(--page);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: 25% minmax(0, 75%);
  overflow-anchor: none;
}

.roadmap-hero {
  position: relative;
  isolation: isolate;
  min-height: 500px;
  overflow: hidden;
  border-top: 1px solid rgb(255 255 255 / 8%);
  border-bottom: 1px solid var(--line);
  background: #000;
}

.roadmap-hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 75%;
  background:
    linear-gradient(90deg, #000 0%, rgb(0 0 0 / 76%) 16%, rgb(0 0 0 / 20%) 55%, transparent 100%),
    url('/wp-content/uploads/2026/08/bessleader-mr-thuy-nguyen.jpg') center 50% / cover no-repeat;
  content: "";
  filter: saturate(1) brightness(1) contrast(1.02);
}

.roadmap-hero__inner {
  display: flex;
  min-height: 500px;
  align-items: center;
}

.roadmap-hero__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  padding: 120px 0;
}

.roadmap-hero h1 {
  max-width: 960px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(46px, 4vw, 68px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.3;
}

.roadmap-hero h1 span { display: block; }

.roadmap-hero__description {
  max-width: 830px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / 62%);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  line-height: 1.75;
}

.roadmap-hero__stats {
  display: grid;
  width: 100%;
  max-width: 790px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 44px;
}

.roadmap-hero__stats > div {
  display: grid;
  gap: 5px;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.roadmap-hero__stats > div:first-child { padding-left: 0; border-left: 0; }
.roadmap-hero__stats strong { color: var(--white); font-size: 24px; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.roadmap-hero__stats span { color: rgb(255 255 255 / 44%); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.roadmap-hero__visual,
.roadmap-hero__stage-links { display: none; }

.roadmap-directory__sidebar {
  position: relative;
  min-width: 0;
  padding: 120px clamp(36px, 12vw, 72px) 120px 0;
}

.roadmap-directory__sidebar-inner {
  position: sticky;
  top: 43px;
}

.roadmap-directory__sidebar h2 {
  margin: -5px 0 26px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(20px, 1.55vw, 25px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.25;
}

.roadmap-stage-nav {
  display: grid;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.roadmap-stage-nav a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  min-height: 86px;
  padding: 14px 40px 14px 16px;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 0;
  color: rgb(255 255 255 / 52%);
  background: rgb(0 0 0 / 10%);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.roadmap-stage-nav a::after {
  position: absolute;
  top: 50%;
  right: 15px;
  color: rgb(255 255 255 / 24%);
  content: "›";
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: color 160ms ease, transform 160ms ease;
}

.roadmap-stage-nav a[data-category-all] { padding-right: 16px; }
.roadmap-stage-nav a[data-category-all]::after { display: none; }

.roadmap-stage-nav a > span {
  color: rgb(255 255 255 / 42%);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.35;
}

.roadmap-stage-nav a > strong {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
  overflow-wrap: break-word;
  white-space: normal;
}

.roadmap-stage-nav a > small { color: rgb(255 255 255 / 34%); font-size: 11px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.roadmap-stage-nav a:hover {
  color: var(--white);
  border-color: rgb(0 170 161 / 34%);
  background: rgb(255 255 255 / 5%);
  transform: translateX(2px);
}
.roadmap-stage-nav a:hover::after { color: var(--teal-brand-hover); transform: translate(2px, -50%); }
.roadmap-stage-nav a:focus-visible { outline: 2px solid var(--teal-brand-hover); outline-offset: 2px; }
.roadmap-stage-nav a:hover > strong,
.roadmap-stage-nav a.is-current > strong,
.roadmap-stage-nav a.is-active > strong { color: var(--white); }
.roadmap-stage-nav a:hover > small,
.roadmap-stage-nav a.is-current > small,
.roadmap-stage-nav a.is-active > small { color: rgb(255 255 255 / 54%); }
.roadmap-stage-nav a.is-current,
.roadmap-stage-nav a.is-active {
  color: var(--white);
  border-color: rgb(0 170 161 / 42%);
  border-left: 3px solid var(--teal-brand, #00aaa1);
  background: linear-gradient(90deg, rgb(0 170 161 / 18%) 0%, rgb(0 170 161 / 7%) 62%, rgb(255 255 255 / 3%) 100%);
  box-shadow: inset 0 1px 0 rgb(0 170 161 / 18%), inset 0 -1px 0 rgb(0 170 161 / 12%), 0 8px 24px rgb(0 0 0 / 16%);
  transform: none;
}
.roadmap-stage-nav a.is-current::after,
.roadmap-stage-nav a.is-active::after { color: var(--teal-brand-hover); }

.roadmap-stage-nav a.is-current > span,
.roadmap-stage-nav a.is-active > span { color: var(--teal-brand-hover); }

.roadmap-directory__content {
  min-width: 0;
  padding: 120px 0 120px;
}

.roadmap-overview {
  display: none;
  margin-bottom: clamp(88px, 8vw, 128px);
}

.roadmap-directory__grid.is-showing-all .roadmap-overview { display: block; }

.roadmap-overview__header {
  max-width: 760px;
  margin-bottom: 36px;
}

.roadmap-overview__header > p {
  margin: 0 0 12px;
  color: rgb(255 255 255 / 48%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.roadmap-overview__header h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.12;
  text-wrap: balance;
}

.roadmap-overview__header > span {
  display: block;
  max-width: 720px;
  margin-top: 18px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
}

.roadmap-overview__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.roadmap-overview__item {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
}

.roadmap-overview__item + .roadmap-overview__item { margin-left: -1px; }

.roadmap-overview__item > p {
  margin: 0 0 12px;
  color: rgb(255 255 255 / 52%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.roadmap-overview__item h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.3;
  text-wrap: balance;
}

.roadmap-overview__item h3 > span { display: block; }

.roadmap-overview__item > span {
  display: block;
  margin-top: 7px;
  color: rgb(255 255 255 / 38%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.roadmap-overview__item > div {
  margin-top: 18px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.65;
}

.roadmap-stage {
  --roadmap-meta-column: minmax(60px, 84px);
  --roadmap-media-column: 113px;
  --roadmap-column-gap: 30px;
  --roadmap-card-padding: 30px;
  position: relative;
  scroll-margin-top: 48px;
  margin-bottom: clamp(88px, 8vw, 128px);
}

.roadmap-stage:last-child { margin-bottom: 0; }

.roadmap-directory__grid:not(.is-showing-all) .roadmap-stage { margin-bottom: 0; }
.roadmap-directory__content > .category-pager { margin-top: 30px; }

.roadmap-stage__header {
  display: block;
  margin-bottom: 44px;
  padding-bottom: 0px;
  border-bottom: 0px solid var(--line);
}

.roadmap-stage__identity h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.12;
}

.roadmap-stage__identity .roadmap-stage__label {
  margin: 0 0 14px;
  color: rgb(255 255 255 / 58%);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.3;
}

.roadmap-stage__identity .roadmap-stage__name-en {
  margin: 12px 0 0;
  color: rgb(255 255 255 / 42%);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Header teal dùng thống nhất cho toàn bộ 5 Stage. */
.roadmap-stage__header--accent {
  position: relative;
  padding: 19px 29px 0 29px;
  border-top: 3px solid var(--teal-brand-hover);
  border-right: 1px solid rgb(255 255 255 / 13%);
  border-left: 1px solid rgb(255 255 255 / 13%);
  border-radius: 0;
  background: linear-gradient(180deg, rgb(0 170 161 / 13%) 0%, rgb(0 170 161 / 5%) 42%, transparent 78%);
  box-shadow: none;
}

.roadmap-stage__header--accent .roadmap-stage__label {
  color: var(--teal-brand-hover);
}

.roadmap-stage__header--accent .roadmap-stage__name-en {
  color: rgb(255 255 255 / 52%);
}

.roadmap-stage__intro {
  max-width: 764px;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  color: var(--white);
  font-size: 17px;
  font-weight: var(--font-weight-regular);
  letter-spacing: -.012em;
  line-height: 1.72;
}

.roadmap-stage__relation {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--white);
  font-size: 17px;
  font-weight: var(--font-weight-regular);
  letter-spacing: -.012em;
  line-height: 1.72;
}

.roadmap-stage__topics {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 0;
  border: 0;
}

.roadmap-stage__topics > p {
  margin: 0;
  color: rgb(255 255 255 / 58%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.roadmap-stage__topics ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-stage__topics li {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 10px;
  color: rgb(255 255 255 / 72%);
  background: #1b1d1f;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.roadmap-stage__modules { display: grid; gap: 16px; }

.roadmap-module-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 10px;
  background: linear-gradient(110deg, #121416 0%, #0e1012 72%, #15181b 100%);
  box-shadow: 0 16px 42px rgb(0 0 0 / 16%);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.roadmap-module-card:hover { border-color: rgb(255 255 255 / 27%); transform: translateY(-2px); }

.roadmap-module-card__body {
  display: grid;
  min-width: 0;
  grid-template-columns: var(--roadmap-media-column) minmax(0, 1fr) minmax(100px, 116px);
  align-items: center;
  gap: var(--roadmap-column-gap);
  padding: var(--roadmap-card-padding);
}

.roadmap-module-card__content { min-width: 0; }

.roadmap-module-card--with-thumbnail .roadmap-module-card__body {
  grid-template-columns: var(--roadmap-media-column) minmax(0, 1fr) minmax(100px, 116px);
}

.roadmap-module-card__thumbnail {
  width: 100%;
  aspect-ratio: 210 / 297;
  overflow: hidden;
  align-self: start;
  border-radius: 8px;
  border: 1px solid rgb(255 255 255 / 8%);
  background: rgb(255 255 255 / 3%);
}

.roadmap-module-card__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roadmap-module-card__code {
  margin: -4px 0 8px;
  color: rgb(255 255 255 / 58%);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.35;
}

.roadmap-module-card h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.roadmap-module-card h3 a { color: inherit; }
.roadmap-module-card h3 a::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
}

.roadmap-module-card:hover h3 a,
.roadmap-module-card:focus-within h3 a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.roadmap-module-card__name-en {
  margin: 15px 0 0;
  color: rgb(255 255 255 / 42%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.roadmap-module-card__description {
  display: -webkit-box;
  max-width: 820px;
  overflow: hidden;
  margin: 13px 0 0;
  color: rgb(255 255 255 / 56%);
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.roadmap-module-card__footer {
  display: block;
  margin-top: 12px;
}

.roadmap-module-card__stats {
  display: flex;
  min-width: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-module-card__stats li {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 0 13px;
  border-left: 1px solid rgb(255 255 255 / 14%);
  color: rgb(255 255 255 / 40%);
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.roadmap-module-card__stats li:first-child { padding-left: 0; border-left: 0; }
.roadmap-module-card__stats strong { color: rgb(255 255 255 / 78%); font-size: 12px; font-weight: 700; }
.roadmap-module-card__mobile-cta { display: none; }

.roadmap-module-card__cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 32px;
  align-self: start;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 6px;
  color: var(--white);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.roadmap-module-card__cta .material-symbols-outlined { font-size: 16px; }
.roadmap-module-card__cta:hover,
.roadmap-module-card__cta:focus-visible { border-color: rgb(255 255 255 / 58%); background: rgb(255 255 255 / 6%); transform: translateX(2px); }

@media (max-width: 1200px) {
  .roadmap-stage { --roadmap-meta-column: minmax(60px, 78px); }
  .roadmap-module-card__stats li { padding-inline: 9px; }
}

@media (max-width: 1200px) {
  .roadmap-hero {
    min-height: 470px;
  }

  .roadmap-hero::before {
    width: 100%;
    background:
      linear-gradient(90deg, #000 0%, rgb(0 0 0 / 88%) 42%, rgb(0 0 0 / 48%) 72%, rgb(0 0 0 / 22%) 100%),
      url('/wp-content/uploads/2026/08/bessleader-mr-thuy-nguyen.jpg') 68% 50% / cover no-repeat;
    filter: saturate(.92) brightness(.82) contrast(1.02);
  }

  .roadmap-hero__inner { min-height: 470px; }
  .roadmap-hero__content { max-width: 72%; padding: 72px 0; }
  .roadmap-hero h1 { max-width: 680px; font-size: clamp(40px, 6vw, 56px); line-height: 1.18; }
  .roadmap-hero__description { margin-top: 22px; font-size: 15px; line-height: 1.7; }
  .roadmap-hero__stats { margin-top: 34px; }

  .roadmap-grid { grid-template-columns: minmax(0, 1fr); }
  .roadmap-directory__grid { position: relative; }

  .roadmap-directory__sidebar {
    position: sticky;
    z-index: var(--z-sidebar);
    top: 0;
    min-width: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    background: rgb(20 22 24 / 96%);
    backdrop-filter: blur(16px);
  }

  .roadmap-directory__sidebar-inner { position: static; }
  .roadmap-directory__sidebar h2 { display: none; }

  .roadmap-stage-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 1px 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overscroll-behavior-inline: contain;
    scrollbar-color: rgb(255 255 255 / 30%) transparent;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }

  .roadmap-stage-nav::-webkit-scrollbar { height: 4px; }
  .roadmap-stage-nav::-webkit-scrollbar-track { background: transparent; }
  .roadmap-stage-nav::-webkit-scrollbar-thumb { border-radius: 99px; background: rgb(255 255 255 / 28%); }

  .roadmap-stage-nav a {
    display: flex;
    min-width: max-content;
    min-height: var(--tap-min);
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgb(255 255 255 / 9%);
    scroll-snap-align: start;
  }

  .roadmap-stage-nav a::after { display: none; }
  .roadmap-stage-nav a:hover { transform: none; }

  .roadmap-stage-nav a > span { font-size: 12px; white-space: nowrap; }
  .roadmap-stage-nav a > strong { font-size: 14px; white-space: nowrap; }
  .roadmap-stage-nav a > small { display: none; }
  .roadmap-stage-nav a.is-current,
  .roadmap-stage-nav a.is-active { border-color: rgb(255 255 255 / 18%); }

  .roadmap-directory__content { padding: 64px 0 96px; }
  .roadmap-overview { margin-bottom: 88px; }
  .roadmap-overview__header { margin-bottom: 30px; }
  .roadmap-overview__item { padding: 30px; }
  .roadmap-overview__item h3 { font-size: 16px; }
  .roadmap-overview__item > div { font-size: 12px; }
  .roadmap-stage {
    --roadmap-meta-column: 96px;
    --roadmap-column-gap: 50px;
    --roadmap-card-padding: 24px;
    scroll-margin-top: 96px;
    margin-bottom: 88px;
  }
  .roadmap-stage__header { margin-bottom: 24px; }
  .roadmap-stage__identity h2 { font-size: clamp(34px, 5vw, 40px); }

  .roadmap-module-card__body {
    grid-template-columns: minmax(0, 1fr) minmax(100px, 116px);
    gap: var(--roadmap-column-gap);
    padding: var(--roadmap-card-padding);
  }

  .roadmap-module-card--with-thumbnail .roadmap-module-card__body { grid-template-columns: minmax(0, 1fr) minmax(100px, 116px); }
  .roadmap-module-card__thumbnail { display: none; }

}

@media (max-width: 767px) {
  .roadmap-hero { min-height: 0; }
  .roadmap-hero__inner {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .roadmap-hero::before { display: none; }

  .roadmap-hero__content { max-width: 100%; padding: 72px 0 28px; }
  .roadmap-hero h1 { max-width: 92%; font-size: clamp(34px, 9vw, 44px); line-height: 1.16; letter-spacing: -.045em; }
  .roadmap-hero__description { max-width: 88%; margin-top: 20px; font-size: 14px; line-height: 1.68; }

  .roadmap-overview { margin-bottom: 72px; }
  .roadmap-overview__header { margin-bottom: 24px; }
  .roadmap-overview__header h2 { font-size: clamp(30px, 8vw, 38px); }
  .roadmap-overview__header > span { font-size: 14px; }
  .roadmap-overview__grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(190px, 72vw);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }
  .roadmap-overview__item {
    padding: 30px;
    scroll-snap-align: start;
  }

  .roadmap-hero__visual {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 28px 0 0;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 8px;
    background: #171a1d;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
  }

  .roadmap-hero__visual::after {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(rgb(255 255 255 / 3%), rgb(255 255 255 / 3%)),
      linear-gradient(90deg, rgb(8 10 12 / 58%) 0%, rgb(8 10 12 / 28%) 58%, transparent 100%);
    content: "";
    pointer-events: none;
  }

  .roadmap-hero__expert {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
  }

  .roadmap-hero__expert img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
  }

  .roadmap-hero__stats {
    max-width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin-top: 32px;
  }

  .roadmap-hero__stats > div { padding-inline: 7px; }
  .roadmap-hero__stats strong { font-size: 19px; }
  .roadmap-hero__stats span { font-size: var(--text-micro); letter-spacing: .04em; }

  .roadmap-hero__stage-links {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 18px;
    display: grid;
    width: min(74%, 250px);
    gap: 1px;
    transform: translateY(-50%);
  }

  .roadmap-hero__stage-links a {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 9px;
    align-items: baseline;
    min-height: 40px;
    padding: 8px 0;
    color: var(--white);
    text-shadow: 0 1px 12px rgb(0 0 0 / 90%);
  }

  .roadmap-hero__stage-links span {
    color: rgb(255 255 255 / 46%);
    font-size: 13px;
    font-weight: 700;
  }

  .roadmap-hero__stage-links strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
  }

  .roadmap-hero__stage-links a:hover strong,
  .roadmap-hero__stage-links a:focus-visible strong { text-decoration: underline; text-underline-offset: 4px; }

  .roadmap-directory__sidebar { margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter); }
  .roadmap-directory__sidebar {
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .roadmap-directory__sidebar.is-stuck {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .roadmap-stage-nav a { padding: 9px 12px; }
  .roadmap-stage-nav a > span { font-size: 13px; }
  .roadmap-stage-nav a > strong { font-size: 13px; }

  .roadmap-directory__content { padding: 80px 0 80px; }
  .roadmap-stage {
    --roadmap-card-padding: 20px;
    scroll-margin-top: 76px;
    margin-bottom: 72px;
  }
  .roadmap-stage__header { margin-bottom: 20px; }
  .roadmap-stage__identity .roadmap-stage__label { margin-bottom: 8px; font-size: 17px; }
  .roadmap-stage__identity h2 { font-size: clamp(30px, 8.5vw, 38px); line-height: 1.14; }
  .roadmap-stage__identity .roadmap-stage__name-en { margin-top: 9px; font-size: 12px; }

  .roadmap-stage__header--accent { padding-block: 20px; }

  .roadmap-stage__intro { max-width: none; margin-top: 20px; padding-top: 0; font-size: 15px; line-height: 1.7; }
  .roadmap-stage__relation { max-width: none; margin-top: 12px; font-size: 15px; line-height: 1.7; }
  .roadmap-stage__topics { gap: 10px; margin-top: 20px; padding-top: 18px; }
  .roadmap-stage__topics ul { gap: 7px; }
  .roadmap-stage__topics li { min-height: 28px; padding: 5px 10px; border-radius: 8px; font-size: 10px; }
  .roadmap-stage__modules { gap: 12px; }

  .roadmap-module-card { border-radius: 8px; }
  .roadmap-module-card:hover { transform: none; }
  .roadmap-module-card__body,
  .roadmap-module-card--with-thumbnail .roadmap-module-card__body {
    grid-template-areas:
      "content thumbnail";
    grid-template-columns: minmax(0, 1fr) 64px;
    align-items: start;
    gap: 5px 16px;
    padding: 20px;
  }

  .roadmap-module-card__content { grid-area: content; }
  .roadmap-module-card__cta { display: none; }

  .roadmap-module-card__thumbnail {
    display: block;
    grid-area: thumbnail;
    width: 64px;
    border-radius: 6px;
  }

  .roadmap-module-card__code { margin: 0 0 2px; font-size: 11px; line-height: 1.4; }
  .roadmap-module-card h3 { margin: 0; font-size: clamp(19px, 5.6vw, 23px); }
  .roadmap-module-card__name-en { margin-top: 9px; font-size: 10px; }
  .roadmap-module-card__description { margin-top: 11px; font-size: 12.5px; line-height: 1.6; -webkit-line-clamp: 3; }
  .roadmap-module-card__footer { margin-top: 14px; }

  .roadmap-module-card__stats {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
  }

  .roadmap-module-card__stats li,
  .roadmap-module-card__stats li:first-child {
    gap: 4px;
    padding: 0;
    border-left: 0;
    font-size: var(--text-micro);
    letter-spacing: 0;
    text-transform: none;
  }

  .roadmap-module-card__stats strong { font-size: 10px; }

  .roadmap-module-card__stats li:nth-child(n + 2)::before {
    margin: 0 3px;
    color: rgb(255 255 255 / 34%);
    content: "·";
  }

  .roadmap-module-card__stats li:nth-child(4) { display: none; }

  .roadmap-module-card__mobile-cta {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: fit-content;
    min-height: var(--tap-min);
    align-items: center;
    margin-top: 4px;
    padding: 0;
    border-radius: 0;
    color: rgb(255 255 255 / 82%);
    background: transparent;
    font-size: 10px;
    font-weight: 700;
  }

  .roadmap-module-card__mobile-cta .material-symbols-outlined {
    margin-left: 5px;
    font-size: 14px;
  }

  .roadmap-module-card__mobile-cta:hover,
  .roadmap-module-card__mobile-cta:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
}

@media (max-width: 479px) {
  .roadmap-hero__content { padding-block: 60px 24px; }
  .roadmap-hero h1 { max-width: 100%; font-size: clamp(32px, 10vw, 40px); }
  .roadmap-hero__description { max-width: 94%; }
  .roadmap-hero__stats > div { padding-inline: 8px; }
  .roadmap-directory__content { padding-top: 80px; }
  .roadmap-stage { --roadmap-card-padding: 18px; }
  .roadmap-module-card__body,
  .roadmap-module-card--with-thumbnail .roadmap-module-card__body {
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 4px 14px;
    padding: 18px;
  }

  .roadmap-module-card__thumbnail { width: 56px; }
}

.page-intro:empty,
.section-header__description:empty { display: none; }

@media (max-width: 1023px) {
  .module-feature-card { grid-template-columns: minmax(0, 1fr); height: auto; }
  .module-feature-card__summary { grid-template-rows: auto auto; }
  .module-feature-card__media,
  .module-feature-card__thumbnail { width: min(100%, 420px); min-width: 0; }
  .module-feature-card__outline { min-height: 350px; }
  .module-feature-card__outline::before { top: 0; right: 22px; bottom: auto; left: 22px; width: auto; height: 1px; }
  .module-feature-card__outline-body { max-height: 320px; }
}

@media (max-width: 767px) {
  .module-resource-section .learning-card__title { font-size: clamp(15px, 4.6vw, 20px); }
  .module-feature-card__summary,
  .module-feature-card__outline { padding: 14px; }
  .module-feature-card__copy p { -webkit-line-clamp: 4; }
  .module-feature-card__cta.bess-button { margin-top: 16px; }
  .module-feature-card__outline { min-height: 280px; }
  .module-feature-card__outline::before { right: 14px; left: 14px; }
  .module-feature-card__outline > header { min-height: 28px; padding-inline: 2px; }
  .module-feature-card__meta { gap: 5px 10px; }
  .module-feature-card__meta span + span::before { margin-right: 10px; }
  .module-feature-card__outline-body li a,
  .module-feature-card__outline-item { grid-template-columns: 26px minmax(0, 1fr); gap: 9px; }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .module-resource-section .learning-card__title { font-size: clamp(16px, 1.4vw, 19px); }
}

@media (max-width: 479px) {
  .module-resource-section > .section-header { gap: 8px; }
  .module-resource-section > .section-header .section-header__number,
  .module-resource-section > .section-header .section-header__title { font-size: 19px; }
}
