/* Research-forward UI: catalog hints, syllabus + lesson strips, Research Lab "Start here", nav subtitle */

/* —— Course / bundle cards —— */
.dm-catalog-research-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0.35rem 0 0.5rem;
  padding: 0.4rem 0.55rem;
  border-left: 3px solid rgba(47, 87, 239, 0.45);
  background: rgba(47, 87, 239, 0.06);
  border-radius: 0 0.35rem 0.35rem 0;
  color: #334155;
  line-height: 1.4;
  font-size: 0.8125rem;
}

.dm-catalog-research-hint i {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #2f57ef;
}

/* —— Syllabus callout —— */
.dm-syllabus-research-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(47, 87, 239, 0.07) 0%, rgba(185, 102, 231, 0.06) 100%);
  border: 1px solid rgba(47, 87, 239, 0.15);
  border-radius: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #334155;
}

.dm-syllabus-research-banner__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(47, 87, 239, 0.12);
  color: #2f57ef;
  font-size: 1.1rem;
}

.dm-syllabus-research-banner a {
  font-weight: 600;
  text-decoration: none;
}

.dm-syllabus-research-banner a:hover {
  text-decoration: underline;
}

/* —— Lesson “literature” strip —— */
.dm-lesson-literature {
  margin: 0.75rem 0 0;
  padding: 0.5rem 0.75rem;
  max-width: 40rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #475569;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.5rem;
}

.dm-lesson-literature a {
  font-weight: 600;
  text-decoration: none;
}

.dm-lesson-literature a:hover {
  text-decoration: underline;
}

/* —— Research Lab: Start here —— */
.dm-rlab-start {
  margin: 0 auto 2.5rem;
  max-width: 960px;
}

.dm-rlab-start__head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.dm-rlab-start__title {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-display, "Plus Jakarta Sans", system-ui, sans-serif);
  margin-bottom: 0.25rem;
}

.dm-rlab-start__lede {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0;
}

.dm-rlab-start__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .dm-rlab-start__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dm-rlab-start__card {
  display: block;
  height: 100%;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dm-rlab-start__card:hover {
  border-color: rgba(47, 87, 239, 0.35);
  box-shadow: 0 6px 24px rgba(47, 87, 239, 0.12);
  transform: translateY(-2px);
}

.dm-rlab-start__n {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2f57ef;
  margin-bottom: 0.35rem;
}

.dm-rlab-start__ct {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.dm-rlab-start__cm {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.dm-rlab-start__go {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2f57ef;
}

/* —— How we update page —— */
.dm-update-timeline__item {
  position: relative;
  padding-left: 3.25rem;
  margin-bottom: 2rem;
  padding-bottom: 0.25rem;
  border-left: 2px solid rgba(47, 87, 239, 0.2);
}

.dm-update-timeline__item:last-child {
  border-left-color: transparent;
  margin-bottom: 0;
}

.dm-update-timeline__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  margin-left: -1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f57ef, #4f64f0);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

/* —— Navbar Research Lab subtle subtitle (lg+) —— */
.btn-dm-research-lab .dm-nav-research-lab__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.btn-dm-research-lab .dm-nav-research-lab__sub {
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.8;
  letter-spacing: 0.02em;
  max-width: 8.5rem;
  white-space: normal;
}

@media (max-width: 991.98px) {
  .btn-dm-research-lab .dm-nav-research-lab__sub {
    display: none;
  }
}
