/* ============================================================
   LEARNING & DEVELOPMENT PAGE STYLES
   ============================================================ */

.learning-main { padding-top: 60px; }

.page-header {
  padding: var(--sp-24) var(--sp-8) var(--sp-16);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  bottom: -150px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.12;
  filter: blur(80px);
  pointer-events: none;
}
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 200;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}
.page-title em { font-style: normal; font-weight: 200; color: var(--gold-light); }
.page-subtitle { font-size: 1rem; color: var(--text-secondary); }

/* ── Jump Nav ── */
.jump-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 60px;
  z-index: 50;
}
.jump-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-8);
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.jump-link {
  display: block;
  padding: var(--sp-4) var(--sp-6);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.jump-link:hover {
  color: var(--text-primary);
  border-color: var(--gold);
}

/* ── Section wrapper ── */
.ld-section { padding: var(--sp-10) 0; }
#course-map { padding-top: var(--sp-16); }
.ld-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-8);
}
.section-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: calc(-1 * var(--sp-4));
  margin-bottom: var(--sp-8);
}

/* ── Chart Container ── */
.chart-container {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto var(--sp-6);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-lg);
  background: var(--surface-2);
  padding: 50px 50px 50px 60px;  /* balanced padding */
  overflow: visible;
}

#courseChart {
  display: block;
  width: 100% !important;
  aspect-ratio: 1;
}

.ql {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-3);
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid var(--border);
}

/* ── Chart axis labels ── */
.chart-container::before {
  content: '→ course duration';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.chart-container::after {
  content: 'level of difficulty →';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Legend ── */
.chart-legend {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.legend-item::before {
  content: '●';
  font-size: 0.8rem;
}
.legend-item--analytics::before { color: #7da3c8; }
.legend-item--science::before   { color: var(--burgundy-light); }
.legend-item--foundations::before { color: var(--text-muted); }
.legend-item--viz::before       { color: var(--gold); }

/* ── Course Layout ── */
.course-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

/* ── Course List ── */
.course-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  counter-reset: none;
}

.course-list-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  border: 1px solid transparent;
}
.course-list-item:hover {
  background: var(--surface-2);
  border-color: var(--border);
  transform: translateX(3px);
}
.course-list-item.active {
  background: var(--surface-3);
  border-color: var(--gold);
}

.course-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  width: 20px;
  flex-shrink: 0;
  text-align: right;
}
.course-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.course-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex: 1;
}
.course-list-item.active .course-name { color: var(--text-primary); }

/* ── Detail Panel ── */
.course-detail-panel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  min-height: 280px;
  padding: var(--sp-6);
  position: static;
}

.course-detail-empty {
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.course-detail-content { display: flex; flex-direction: column; gap: var(--sp-3); }
.cd-category { }
.cd-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.cd-platform {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}
.cd-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
}
.cd-meta {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.cd-meta-item {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}
.cd-meta-item strong {
  color: var(--text-secondary);
}

/* ── Cert Grid ── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-3);
}

.cert-tile {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: border-color var(--t-fast);
}
.cert-tile:hover { border-color: var(--border-mid); }

.cert-tile-name {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ── Credentials List ── */
.cred-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.cred-list-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-6);
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: border-color var(--t-mid);
}
.cred-list-item:hover { border-color: var(--gold); }

.cred-list-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--surface-3);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.cred-list-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}
.cred-list-issuer {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}
.cred-list-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cred-list-img-slot {
  width: 100px; height: 70px;
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
}
.cred-list-img-slot img { width: 100%; height: 100%; object-fit: cover; }
.cred-list-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--surface-3), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
}

/* ── Events ── */
.event-list { display: flex; flex-direction: column; gap: var(--sp-4); }

.event-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-6);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-mid);
}
.event-card:hover { border-color: var(--border-mid); }

.event-img-slot {
  height: 160px;
  overflow: hidden;
}
.event-img-slot img { width: 100%; height: 100%; object-fit: cover; }
.event-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--surface-3), var(--navy));
}

.event-body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.event-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.event-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.event-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.placeholder-note {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-style: italic;
  margin-top: var(--sp-4);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .course-layout { grid-template-columns: 1fr; }
  .course-detail-panel { position: static; }
  .chart-container { padding: 50px 20px 50px 50px; }
  .cred-list-item { grid-template-columns: auto 1fr; }
  .cred-list-img-slot { display: none; }
}
@media (max-width: 600px) {
  .ld-inner { padding: 0 var(--sp-4); }
  .event-card { grid-template-columns: 1fr; }
  .event-img-slot { height: 180px; }
  .event-body { padding: var(--sp-4); }
  .chart-container { padding: 40px 12px 40px 44px; }
  .ql { font-size: 0.55rem; padding: 2px 5px; }
}

/* ── Course Certificate Cards ── */
.course-cert-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.course-cert-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: border-color var(--t-mid);
}
.course-cert-card:hover { border-color: var(--border-mid); }
.course-cert-card--placeholder { opacity: 0.6; }

.course-cert-header {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
  align-items: start;
}

.course-cert-img-slot {
  width: 80px;
  height: 60px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-3);
  flex-shrink: 0;
}
.course-cert-img-slot img { width: 100%; height: 100%; object-fit: cover; }
.course-cert-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--surface-3), var(--navy));
}

.course-cert-meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.course-cert-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.course-cert-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

.course-cert-links {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.course-cert-bullets {
  list-style: none;
  padding-left: var(--sp-4);
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.course-cert-bullets li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  padding-left: var(--sp-2);
}
.course-cert-bullets li::before {
  content: '';
}

/* ── Credential link ── */
.cred-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.cred-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── Event card with video ── */
.event-card--video {
  grid-template-columns: 1fr;
  flex-direction: column;
}

.event-video-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-3);
}

.event-video-slot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3);
}

.event-card--video .event-body {
  padding: var(--sp-6);
}

.event-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}

.event-bullets li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: var(--sp-4);
  border-left: 2px solid var(--border);
}

.event-bullets li strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ── Chart tooltip callout ── */
.chart-tooltip {
  position: absolute;
  background: var(--surface-3);
  border: 1px solid var(--gold);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
/* Arrow pointing downward toward the dot */
.chart-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--gold);
}



/* ── Featured event card (speaker entry) ── */
.event-card--featured {
  grid-template-columns: 1fr;
  flex-direction: column;
  border-color: var(--border-mid);
}
.event-card--featured:hover {
  border-color: var(--gold);
}

.event-featured-media {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2px;
  height: 260px;
  overflow: hidden;
}

.event-featured-hero {
  overflow: hidden;
}
.event-featured-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  overflow: hidden;
}
.event-featured-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-featured-video {
  position: relative;
  overflow: hidden;
}
.event-featured-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Inline event video (small, within event-body) ── */
.event-video-inline {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: var(--sp-4);
  background: var(--surface-3);
}
.event-video-inline video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Event links ── */
.event-links {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
}
.event-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.event-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 600px) {
  .event-featured-media {
    grid-template-columns: 1fr;
    height: auto;
  }
  .event-featured-hero { height: 200px; }
  .event-featured-grid {
    height: 160px;
  }
}

/* ── Inline video with YouTube link overlay ── */
.event-video-link {
  display: block;
  position: relative;
  text-decoration: none;
}
.event-video-link:hover .event-video-overlay {
  opacity: 1;
}
.event-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,9,8,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-mid);
  border-radius: var(--r-md);
}
.event-video-yt {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ── Event media marquee (auto-scroll, pause on hover) ── */
.event-marquee {
  overflow: hidden;
  background: var(--surface-3);
  height: 260px;                /* fixed height — critical */
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.event-marquee-track {
  display: flex;
  flex-direction: row;          /* explicit: always horizontal */
  align-items: stretch;
  gap: 3px;
  height: 100%;
  width: max-content;
  animation: eventMarqueeScroll 24s linear infinite;
}

.event-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes eventMarqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.event-marquee-item {
  flex: 0 0 auto;
  height: 260px;
  width: auto;
  min-width: 80px;
  max-width: 420px;
  overflow: hidden;
  background: var(--surface-3);
  position: relative;
  display: block;
}

.event-marquee-item img {
  height: 260px;
  width: auto;
  max-width: 420px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.event-marquee-item--video {
  width: 420px;
  height: 260px;
}

.event-marquee-item--video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-marquee-item--video a {
  display: block;
  position: absolute;
  inset: 0;
}

.event-marquee-item--video:hover .event-video-overlay {
  opacity: 1;
}

/* ── Course cert header: image on the right ── */
.course-cert-header--img-right {
  grid-template-columns: 1fr auto;
}
.course-cert-header--img-right .course-cert-meta {
  order: 1;
}
.course-cert-header--img-right .course-cert-img-slot,
.course-cert-header--img-right .course-cert-img-pair {
  order: 2;
}

/* ── Expand on hover/click for credential thumbnails in L&D ── */
/* cred-list-img-slot (professional credentials) */
.cred-list-img-slot.cred-img-wrapper {
  height: 70px;
  width: 100px;
}
.cred-list-img-slot.cred-img-wrapper.expanded {
  height: var(--expanded-h, 300px);
  width: 100%;
}
.cred-list-img-slot.cred-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cred-list-img-slot.cred-img-wrapper.expanded img {
  object-fit: contain;
  height: auto;
}

/* course-cert-img-slot: hover overlay + expand */
.course-cert-img-slot.cred-img-wrapper {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;          /* always hidden - no spilling */
  border-radius: var(--r-sm);
  transition: width 0.55s cubic-bezier(0.4,0,0.2,1),
              height 0.55s cubic-bezier(0.4,0,0.2,1);
}
.course-cert-img-slot.cred-img-wrapper.expanded {
  width: 100%;
  height: var(--expanded-h, 180px);  /* JS sets this, capped to 180px desktop max */
  border-radius: var(--r-sm);
}
.course-cert-img-slot.cred-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.course-cert-img-slot.cred-img-wrapper.expanded img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--surface-3);
}
/* Ensure overlay sits on top */
.course-cert-img-slot.cred-img-wrapper .cred-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(125,29,63,0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-mid);
  pointer-events: none;
}
.course-cert-img-slot.cred-img-wrapper .cred-img-overlay::after {
  content: "⤢";
  font-size: 1.4rem;
  color: rgba(255,255,255,0);
  transition: color var(--t-mid);
}
.course-cert-img-slot.cred-img-wrapper:hover .cred-img-overlay {
  background: rgba(125,29,63,0.35);
}
.course-cert-img-slot.cred-img-wrapper:hover .cred-img-overlay::after {
  color: rgba(255,255,255,0.9);
}
.course-cert-img-slot.cred-img-wrapper.expanded .cred-img-overlay {
  display: none;
}

/* ── Course type legend ── */
.course-type-legend {
  display: flex;
  gap: var(--sp-6);
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--sp-4) 0 var(--sp-2);
}
.course-type-legend .ql {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  background: none;
  border: none;
  padding: 0;
}
.course-type-legend .ql-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Mimo dual certificate image pair ── */
.course-cert-img-pair {
  display: flex;
  flex-direction: row;
  gap: var(--sp-1);
  flex-shrink: 0;
}
.course-cert-img-pair .course-cert-img-slot.cred-img-wrapper {
  width: 45px;
  height: 65px;
}

/* ── Course detail panel: type badge replacing category color ── */
.cd-type-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-1);
}
.cd-type-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cd-type-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cd-cat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--border-mid);
  padding-left: var(--sp-2);
  border-left: 1px solid var(--border);
}

/* MIMO expanded: handled via inline styles in JS (portrait images need direct override) */

/* ── Brief summary label in detail panel ── */
.cd-desc-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

/* Course detail panel: full width when list is removed */
.course-detail-panel {
  margin-top: var(--sp-4);
}

/* ── Tag gap fix in course detail panel ── */
.course-detail-panel .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* ── Anthropic three-thumbnail row ── */
.course-cert-img-trio,
.course-cert-img-multi {
  display: flex;
  flex-direction: row;
  gap: var(--sp-1);
  flex-shrink: 0;
  order: 2;
}

.course-cert-img-trio .course-cert-img-slot {
  width: 60px;
  height: 45px;
}

.course-cert-img-multi .course-cert-img-slot {
  width: 48px;
  height: 36px;
}
