/* PC 精品课详情 */
.page-course-premium-detail .pc-main {
  padding: 24px 0 64px;
}

.cpd-dashboard {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
}

.cpd-dashboard__bg {
  position: absolute;
  inset: 0;
}

.cpd-dashboard__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpd-dashboard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(158, 69, 69, 0.92) 0%, rgba(194, 88, 88, 0.88) 42%, rgba(80, 40, 40, 0.9) 100%);
}

.cpd-dashboard__content {
  position: relative;
  z-index: 1;
  padding: 32px 36px 28px;
  color: #fff;
}

.cpd-dashboard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.cpd-dashboard__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.cpd-dashboard__intro-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  text-decoration: none;
  transition: background var(--transition);
}

.cpd-dashboard__intro-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cpd-dashboard__intro-link i {
  font-size: 10px;
}

.cpd-dashboard__summary {
  margin: 0 0 24px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.cpd-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.cpd-dashboard__stat {
  text-align: center;
  padding: 14px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cpd-dashboard__stat--full {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 12px 16px;
}

.cpd-dashboard__stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}

.cpd-dashboard__stat--full .cpd-dashboard__stat-value {
  margin: 0;
  font-size: 15px;
}

.cpd-dashboard__stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

.cpd-dashboard__stat--full .cpd-dashboard__stat-label {
  margin: 0;
}

.cpd-dashboard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cpd-dashboard__trial {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #6b2424;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.cpd-dashboard__trial:hover {
  transform: translateY(-1px);
}

.cpd-dashboard__trial i {
  font-size: 18px;
}

a.cpd-dashboard__trial {
  text-decoration: none;
}

.cpd-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  color: var(--text-secondary);
}

.cpd-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cpd-meta-bar i {
  color: var(--text-muted);
}

.cpd-meta-bar .fa-star {
  color: #F59E0B;
}

.cpd-tags-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 4px;
}

.cpd-price-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.cpd-side-premium {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.cpd-side-premium:first-of-type {
  border-top: none;
  padding-top: 0;
}

.cpd-side-premium__cover {
  width: 100px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.cpd-side-premium__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpd-side-premium__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cpd-side-premium__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 1024px) {
  .cpd-dashboard__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cpd-dashboard__content {
    padding: 24px 20px;
  }

  .cpd-dashboard__title {
    font-size: 20px;
  }

  .cpd-dashboard__top {
    flex-direction: column;
  }
}
