/* /learn surface: video cards on the news-grid chrome, plus the show
   page's player. Card/typography basics come from marketing/news.css. */

.learn-card,
.learn-card:hover {
  text-decoration: none;
}

.learn-card-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0d1b2e, #16283f);
  overflow: hidden;
}

.learn-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.learn-play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0d1b2e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}

.learn-card:hover .learn-play-badge {
  transform: scale(1.08);
}

.learn-play-badge .iconify {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.learn-duration-chip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.learn-player-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 40px rgba(13, 27, 46, 0.18);
}

.learn-player {
  display: block;
  width: 100%;
  height: auto;
}

.learn-player-meta {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.learn-more-title {
  margin: 3rem 0 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.learn-back-link {
  color: inherit;
  text-decoration: none;
}

.learn-back-link:hover {
  text-decoration: underline;
}
