.academy-intro-title-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.academy-intro-title-row > h1,
.academy-intro-title-row > h2,
.academy-intro-title-row > h3,
.academy-intro-title-row > .course-name,
.academy-intro-title-row > .player-course-hero-title {
  flex: 1 1 260px;
  margin: 0;
}

.academy-intro-title-row .course-title a {
  color: inherit;
  text-decoration: none;
}

.academy-intro-title-row .course-title a:hover,
.academy-intro-title-row .course-title a:focus-visible {
  color: #f6be39;
  text-decoration: underline;
}

.academy-intro-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 1px solid rgba(246, 190, 57, .58);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(246, 190, 57, .1);
  color: #f6d77b;
  font: 700 12px/1.25 Inter, sans-serif;
  cursor: pointer;
  margin-top: 7px;
}

.academy-intro-trigger::before { content: "▶"; font-size: 10px; }
.academy-intro-trigger:hover,
.academy-intro-trigger:focus-visible {
  background: #f6be39;
  color: #111827;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.course-card .academy-intro-title-row .academy-intro-trigger {
  white-space: nowrap;
  padding: 6px 9px;
  font-size: 11px;
}

.course-body .academy-intro-trigger {
  background: #fff7e4;
  color: #17324a;
  border-color: #b68e28;
}

.course-body .academy-intro-trigger:hover,
.course-body .academy-intro-trigger:focus-visible {
  background: #e0b53c;
  color: #102638;
  outline-color: #17324a;
}

.academy-intro-dialog {
  width: min(900px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 1px solid rgba(246, 190, 57, .35);
  border-radius: 20px;
  background: #111827;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .7);
}

.academy-intro-dialog::backdrop { background: rgba(3, 7, 18, .82); }
.academy-intro-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}
.academy-intro-dialog-head h2 { margin: 0; color: #fff; font: 700 21px/1.2 Inter, sans-serif; }
.academy-intro-dialog-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: 700 22px/1 Inter, sans-serif;
  cursor: pointer;
}
.academy-intro-dialog-close:hover,
.academy-intro-dialog-close:focus-visible { background: #f6be39; color: #111827; }
.academy-intro-dialog video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.academy-intro-dialog p {
  margin: 0;
  padding: 14px 20px 18px;
  color: #d1d5db;
  font: 400 14px/1.55 Inter, sans-serif;
}

@media (max-width: 640px) {
  .academy-intro-dialog-head { padding: 12px 14px; }
  .academy-intro-dialog-head h2 { font-size: 17px; }
  .academy-intro-dialog p { padding: 12px 14px 16px; }
}
