/* ==========================================================================
   sessionCard Component Styles
   Matches reference card:
   - Rounded border card
   - Top preview box with centered circular play button
   - Bottom header row with bold title and pill duration badge
   - Bottom description paragraph
   ========================================================================== */

.session-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 8px 8px 12px 8px;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  user-select: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.session-card:hover {
  border-color: #dce1e8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.session-card:active {
  transform: scale(0.995);
}

/* Video / Session Preview Area */
.session-card-preview {
  width: 100%;
  aspect-ratio: 16 / 9.6;
  background-color: #f7f8fa;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.session-card-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Bottom Right Circular Play Button */
.session-card-play-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
  z-index: 3;
}

.session-card:hover .session-card-play-btn {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.session-card-play-icon {
  width: 18px;
  height: 18px;
  fill: #374151;
  /* Visual optical centering of the play triangle */
  margin-left: -1.5px;
  display: block;
}

/* Card Body / Content Details */
.session-card-content {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

/* Header row: Title + Duration Badge */
.session-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.session-card-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
  flex: 1;
}

.session-card-duration {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  background-color: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 1.5px 7px;
  white-space: nowrap;
  line-height: 1.3;
  flex-shrink: 0;
}

/* Description paragraph (Subheading) */
.session-card-description {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 400;
  color: #1f2937;
  line-height: 1.42;
  margin-top: 5px;
  margin-bottom: 0;
}