/* ═══════════════════════════════════════════════════════════
   CARD GRID — equal-height cards via CSS Grid + flex column
═══════════════════════════════════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 900px;
}

.neon-card {
  background: #0a101e;
  border-radius: 20px;
  padding: 0;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.6s var(--ease) both;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}

.neon-card:nth-child(2) {
  animation-delay: 0.1s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.neon-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(0, 200, 154, 0.35),
    0 20px 48px rgba(0, 200, 154, 0.14),
    0 4px 16px rgba(0, 0, 0, 0.4);
}

.neon-card::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: var(--primary-color);
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.neon-card:hover::before {
  opacity: 0.11;
}

.card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition:
    transform 0.6s var(--ease),
    filter 0.4s ease;
  display: block;
}

.neon-card:hover .card-thumb img {
  transform: scale(1.07);
  filter: brightness(0.65) saturate(1.1);
}

.thumb-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, #0a101e 100%);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.play-btn {
  width: 52px;
  height: 52px;
  background: rgba(0, 200, 154, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(0, 200, 154, 0.4);
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    background var(--t);
}

.play-btn svg {
  width: 18px;
  height: 18px;
  color: #fff;
  margin-left: 3px;
}

.neon-card:hover .play-btn {
  transform: scale(1.15);
  background: var(--primary-color);
  box-shadow:
    0 0 0 8px rgba(0, 200, 154, 0.15),
    0 0 28px rgba(0, 200, 154, 0.45);
}

.card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 11px;
}

.card-tag::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--primary-color);
  display: inline-block;
}

.card-title {
  font-family: var(--title-font);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 14px;
  transition: color var(--t);
}

.neon-card:hover .card-title {
  color: #fff;
}

.card-spacer {
  flex: 1;
}

.card-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.meta-author {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.meta-time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

.meta-time svg {
  width: 11px;
  height: 11px;
}

.listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1px solid rgba(0, 200, 154, 0.35);
  border-radius: 50px;
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.3px;
  background: transparent;
  cursor: pointer;
  transition:
    background var(--t),
    border-color var(--t),
    color var(--t),
    box-shadow var(--t),
    gap var(--t);
}

.listen-btn svg {
  width: 12px;
  height: 12px;
  transition: transform var(--t);
}

.neon-card:hover .listen-btn {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 200, 154, 0.35);
  gap: 10px;
}

.neon-card:hover .listen-btn svg {
  transform: translateX(2px);
}

.neon-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.012) 2px,
    rgba(255, 255, 255, 0.012) 4px
  );
  pointer-events: none;
  z-index: 1;
  border-radius: 20px;
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.podcast-detail__hero {
  background: var(--night);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.podcast-detail__hero::before {
  content: "";
  position: absolute;
  right: -150px;
  top: -150px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 200, 154, 0.13) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.podcast-detail__hero::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.08) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.podcast-detail__hero-grain {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.013) 3px,
    rgba(255, 255, 255, 0.013) 4px
  );
  pointer-events: none;
}

/*
  FIX 1: .podcast-detail__hero-inner already carries Bootstrap's .container class.
  Removed hardcoded max-width:900px and padding:0 24px — Bootstrap .container
  handles all width/padding correctly at every breakpoint.
*/
.podcast-detail__hero-inner {
  position: relative;
  z-index: 1;
}

.podcast-detail__breadcrumb-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* FIX: allow wrap on very narrow screens */
  gap: 6px 8px;
  font-size: 12px;
  margin-bottom: 20px;
}

.podcast-detail__breadcrumb-row a {
  color: rgba(255, 255, 255, 0.4);
}
.podcast-detail__breadcrumb-row a:hover {
  color: var(--primary-color);
}
.podcast-detail__breadcrumb-row .podcast-detail__sep {
  color: rgba(255, 255, 255, 0.18);
}
.podcast-detail__breadcrumb-row .podcast-detail__cur {
  color: var(--primary-color);
  font-weight: 600;
}

.podcast-detail__pod-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px var(--gap-20);
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--gap-20);
  background: rgba(0, 200, 154, 0.15);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  text-transform: uppercase;
}

.podcast-detail__pod-tag .podcast-detail__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: pulseGlow 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 200, 154, 0.6);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 200, 154, 0);
  }
}

.podcast-detail__hero-title {
  font-family: var(--title-font);
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 30px;
  max-width: 840px;
}

.podcast-detail__hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px; /* FIX: tighter row-gap so wrapping looks clean */
  margin-bottom: 30px;
}

.podcast-detail__hm-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.podcast-detail__hm-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  object-fit: cover;
  flex-shrink: 0;
}

.podcast-detail__hm-author-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.podcast-detail__hm-div {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.podcast-detail__hm-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.podcast-detail__hm-chip i {
  color: var(--primary-color);
  font-size: 12px;
}

.podcast-detail__hm-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 1px;
}

.podcast-detail__hm-rating {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 4px;
}

.podcast-detail__hero-thumb {
  position: relative;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  margin-top: 36px;
  box-shadow: 0 -12px 48px rgba(0, 200, 154, 0.07);
}

.podcast-detail__hero-thumb img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.7) saturate(1.1);
  display: block;
}

.podcast-detail__hero-thumb-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7, 16, 31, 0.55) 0%,
    transparent 55%
  );
}

.podcast-detail__ep-mark {
  position: absolute;
  right: 28px;
  bottom: 18px;
  font-family: var(--title-font);
  font-size: 80px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   CONTENT AREA
═══════════════════════════════════════════════════════════ */
/*
  FIX 2: .podcast-detail__content-area already carries Bootstrap's .container class.
  Removed padding: 0 24px 80px (the left/right padding doubled with Bootstrap's own
  container padding). Now only controls bottom spacing.
*/
.podcast-detail__content-area {
  background: var(--smoke);
  padding-bottom: 60px;
}

/*
  FIX 3: .podcast-detail__content-inner is inside .container — removing the
  redundant max-width:900px + margin:0 auto that was fighting Bootstrap's layout.
*/
.podcast-detail__content-inner {
  /* intentionally no max-width or margin override — container handles it */
}

/* ═══════════════════════════════════════════════════════════
   PLAYER CARD
═══════════════════════════════════════════════════════════ */
.podcast-detail__player-card {
  background: var(--night2);
  border-radius: 0 0 24px 24px;
  border: 1px solid rgba(0, 200, 154, 0.15);
  border-top: none;
  padding: 32px 36px 36px;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 200, 154, 0.05);
  animation: riseUp 0.7s var(--ease) both;
}

@keyframes riseUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.podcast-detail__player-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 154, 0.1), transparent 70%);
  pointer-events: none;
}

.podcast-detail__player-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.009) 2px,
    rgba(255, 255, 255, 0.009) 4px
  );
  pointer-events: none;
  border-radius: 0 0 24px 24px;
}

.podcast-detail__ap-row {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.podcast-detail__ap-play {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--primary-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.podcast-detail__ap-play:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 0 10px rgba(0, 200, 154, 0.13),
    0 6px 20px rgba(0, 200, 154, 0.4);
}

.podcast-detail__ap-play i {
  color: var(--white);
  font-size: 20px;
  margin-left: 3px;
}
.podcast-detail__ap-play.playing i {
  margin-left: 0;
}

/* FIX 4: min-width:0 allows the track to shrink properly in flex layout */
.podcast-detail__ap-track {
  flex: 1;
  min-width: 0;
}

/* FIX 5: Prevent long title from overflowing on small screens */
.podcast-detail__ap-name {
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podcast-detail__ap-show {
  font-size: 11px;
  color: var(--primary-color);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.podcast-detail__ap-bar {
  position: relative;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  overflow: visible;
  margin-bottom: 7px;
}

.podcast-detail__ap-fill {
  height: 100%;
  border-radius: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
  transition: width 0.2s linear;
  position: relative;
}

.podcast-detail__ap-fill::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 8px rgba(0, 200, 154, 0.7);
  opacity: 0;
  transition: opacity 0.2s;
}

.podcast-detail__ap-bar:hover .podcast-detail__ap-fill::after {
  opacity: 1;
}

.podcast-detail__ap-times {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
}

.podcast-detail__ap-vol {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.podcast-detail__vol-ico {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: color 0.2s;
}

.podcast-detail__vol-ico:hover {
  color: var(--primary-color);
}

input[type="range"].podcast-detail__vol-range {
  width: 80px;
  height: 3px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

input[type="range"].podcast-detail__vol-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
}

.podcast-detail__ap-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.podcast-detail__ap-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 50px;
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  white-space: nowrap; /* FIX: prevent button text wrapping */
}

.podcast-detail__ap-btn.primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 200, 154, 0.3);
}

.podcast-detail__ap-btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.podcast-detail__ap-btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
}

.podcast-detail__ap-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.podcast-detail__ap-btn.outline {
  background: transparent;
  border: 1px solid rgba(0, 200, 154, 0.35);
  color: var(--primary-color);
}

.podcast-detail__ap-btn.outline:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* FIX 6: share icons no longer push to auto margin on all screens */
.podcast-detail__share-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.podcast-detail__s-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}

.podcast-detail__s-ico:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* ═══════════════════════════════════════════════════════════
   DESCRIPTION BLOCK
═══════════════════════════════════════════════════════════ */
.podcast-detail__desc-block {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  animation: riseUp 0.7s 0.15s var(--ease) both;
}

.podcast-detail__db-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.podcast-detail__db-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--primary-color);
}

.podcast-detail__db-title {
  font-family: var(--title-font);
  font-size: var(--font-size-24);
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 14px;
}

.podcast-detail__db-text {
  font-size: var(--text-md);
  line-height: 1.85;
  color: var(--gray-600);
}

.podcast-detail__db-text em {
  color: var(--primary-color);
  font-style: normal;
  font-weight: 600;
}

/* FIX 7: author-strip wraps on small screens so View Profile button never overflows */
.podcast-detail__author-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--border);
}

.podcast-detail__as-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  flex-shrink: 0;
}

.podcast-detail__as-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--txt);
}

.podcast-detail__as-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.podcast-detail__as-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color);
  border: 1px solid rgba(0, 200, 154, 0.3);
  padding: 7px 16px;
  border-radius: 50px;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}

.podcast-detail__as-link:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.podcast-detail__meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--border);
}

.podcast-detail__mt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--smoke);
  color: var(--gray-600);
  border: 1px solid var(--border);
  transition: all 0.25s;
  cursor: default;
}

.podcast-detail__mt-chip i {
  color: var(--primary-color);
  font-size: 11px;
}

.podcast-detail__mt-chip:hover {
  background: rgba(0, 200, 154, 0.08);
  border-color: rgba(0, 200, 154, 0.25);
  color: var(--primary-color);
}

/* ═══════════════════════════════════════════════════════════
   RATING BLOCK
═══════════════════════════════════════════════════════════ */
.podcast-detail__rating-block {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  animation: riseUp 0.7s 0.25s var(--ease) both;
}

.podcast-detail__block-title {
  font-family: var(--title-font);
  font-size: var(--font-size-24);
  font-weight: 700;
  color: var(--txt);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.podcast-detail__block-title .podcast-detail__ct {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--muted);
}

.podcast-detail__block-bar {
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  margin-bottom: 28px;
}

.podcast-detail__rating-grid {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.podcast-detail__rg-score {
  font-family: var(--title-font);
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  color: var(--txt);
}

.podcast-detail__rg-score small {
  font-size: 22px;
  color: var(--muted);
  font-weight: 400;
}

.podcast-detail__rg-stars {
  color: #fbbf24;
  font-size: 20px;
  letter-spacing: 2px;
  margin: 4px 0;
}

.podcast-detail__rg-count {
  font-size: 13px;
  color: var(--muted);
}

.podcast-detail__rg-bars {
  flex: 1;
  min-width: 200px;
}

.podcast-detail__rb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.podcast-detail__rb-label {
  font-size: 12px;
  color: var(--muted);
  width: 28px;
  flex-shrink: 0;
}

.podcast-detail__rb-track {
  flex: 1;
  height: 7px;
  background: var(--smoke);
  border-radius: 4px;
  overflow: hidden;
}

.podcast-detail__rb-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
}

.podcast-detail__rb-n {
  font-size: 11px;
  color: var(--muted);
  width: 18px;
  text-align: right;
}

.podcast-detail__rating-input {
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.podcast-detail__ri-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.podcast-detail__ri-label a {
  color: var(--primary-color);
  font-weight: 600;
}

.podcast-detail__ri-stars {
  display: flex;
  gap: 8px;
}

.podcast-detail__ri-star {
  font-size: 30px;
  color: var(--secondary-extra-light);
  cursor: pointer;
  line-height: 1;
  transition:
    color 0.15s,
    transform 0.15s;
}

.podcast-detail__ri-star:hover,
.podcast-detail__ri-star.podcast-detail__on,
.podcast-detail__ri-star.on {
  color: #fbbf24;
  transform: scale(1.12);
}

.podcast-detail__ri-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  min-height: 16px;
}

/* ═══════════════════════════════════════════════════════════
   COMMENTS BLOCK
═══════════════════════════════════════════════════════════ */
.podcast-detail__comments-block {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  animation: riseUp 0.7s 0.35s var(--ease) both;
}

.podcast-detail__comments-empty {
  text-align: center;
  padding: 36px 0 28px;
}

.podcast-detail__ce-ico {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--smoke);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: var(--secondary-extra-light);
}

.podcast-detail__ce-title {
  font-family: var(--title-font);
  font-size: var(--text-md);
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 5px;
}

.podcast-detail__ce-sub {
  font-size: 13px;
  color: #b9c5d3;
}

.podcast-detail__reply-form {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 32px;
}

.podcast-detail__rf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.podcast-detail__rf-title {
  font-family: var(--title-font);
  font-size: var(--font-size-24);
  font-weight: 700;
  color: var(--txt);
}

.podcast-detail__rf-cancel {
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.podcast-detail__rf-cancel:hover {
  color: #ef4444;
}

.podcast-detail__form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.podcast-detail__fg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.podcast-detail__fg label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}
.podcast-detail__fg label .podcast-detail__req {
  color: var(--primary-color);
}

.podcast-detail__fg input,
.podcast-detail__fg textarea {
  padding: 12px 16px;
  font-family: var(--body-font);
  font-size: var(--text-sm);
  background: var(--smoke);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--txt);
  outline: none;
  width: 100%; /* FIX: ensure inputs never overflow their grid cell */
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.2s;
}

.podcast-detail__fg input:focus,
.podcast-detail__fg textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 200, 154, 0.1);
  background: var(--white);
}

.podcast-detail__fg textarea {
  resize: vertical;
  min-height: 120px;
}

.podcast-detail__submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.podcast-detail__submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--body-font);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 18px rgba(0, 200, 154, 0.32);
  letter-spacing: 0.3px;
}

.podcast-detail__submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 200, 154, 0.42);
}

.podcast-detail__submit-note {
  font-size: 12px;
  color: var(--muted);
}
.podcast-detail__submit-note a {
  color: var(--primary-color);
}

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════════════════════ */
.podcast-detail__newsletter-band {
  background: linear-gradient(
    135deg,
    var(--night) 0%,
    #0e2338 60%,
    #0b2a22 100%
  );
  border-radius: 24px;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
  animation: riseUp 0.7s 0.45s var(--ease) both;
}

.podcast-detail__newsletter-band::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 154, 0.14), transparent 65%);
  pointer-events: none;
}

.podcast-detail__newsletter-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.013) 3px,
    rgba(255, 255, 255, 0.013) 4px
  );
  pointer-events: none;
}

.podcast-detail__nl-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.podcast-detail__nl-copy {
  max-width: 460px;
}

.podcast-detail__nl-title {
  font-family: var(--title-font);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 10px;
}

.podcast-detail__nl-sub {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* FIX 8: replaced inline min-width:280px with a proper class */
.podcast-detail__nl-form-wrap {
  min-width: 280px;
  flex: 1;
}

.podcast-detail__nl-form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.podcast-detail__nl-input {
  padding: 13px 20px;
  font-family: var(--body-font);
  font-size: var(--text-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: var(--white);
  outline: none;
  min-width: 240px;
  flex: 1;
  transition:
    border-color 0.25s,
    background 0.25s;
}

.podcast-detail__nl-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.podcast-detail__nl-input:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.12);
}

.podcast-detail__nl-btn {
  padding: 13px 28px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--body-font);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0, 200, 154, 0.32);
}

.podcast-detail__nl-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.podcast-detail__nl-small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.32);
  margin-top: 10px;
}
.podcast-detail__nl-small a {
  color: var(--primary-color);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 991px
═══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .podcast-detail__nl-inner {
    justify-content: center;
    text-align: center;
  }

  .podcast-detail__nl-copy {
    max-width: none;
  }

  .podcast-detail__nl-form-wrap {
    min-width: 0;
    width: 100%;
  }

  .podcast-detail__nl-form-row {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 768px
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .podcast-detail__hero {
    padding: 40px 0 0;
  }

  .podcast-detail__player-card {
    padding: 22px 22px 26px;
  }

  .podcast-detail__desc-block,
  .podcast-detail__rating-block,
  .podcast-detail__comments-block {
    padding: 26px 22px;
  }

  .podcast-detail__newsletter-band {
    padding: 36px 28px;
  }

  /* Hide volume control — not usable on touch */
  .podcast-detail__ap-vol {
    display: block;
  }

  /* FIX 9: share icons no longer float right — they fall naturally in the wrap */
  .podcast-detail__share-icons {
    margin-left: 0;
  }

  /* FIX 10: collapse 2-col form at 768px (wider than 560 from original) */
  .podcast-detail__form-2col {
    grid-template-columns: 1fr;
  }

  /* Card grid single column at tablet */
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 640px
═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .podcast-detail__hero-thumb img {
    aspect-ratio: 16 / 7;
  } /* FIX 11: slightly taller on mobile */

  /* Newsletter email input goes full width */
  .podcast-detail__nl-input {
    min-width: 100%;
    width: 100%;
  }

  .podcast-detail__nl-form-row {
    flex-direction: column;
    gap: 10px;
  }

  .podcast-detail__nl-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Card grid */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 480px
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .podcast-detail__hero {
    padding: 28px 0 0;
  }
  .podcast-detail__hero-title {
    font-size: 22px;
  }
  .podcast-detail__hero-thumb img {
    aspect-ratio: 16 / 8;
  } /* FIX 12: more height on very small screens */
  .podcast-detail__ep-mark {
    font-size: 52px;
    right: 16px;
    bottom: 10px;
  }

  /* FIX 13: hide vertical dividers in meta row — they look broken when items wrap */
  .podcast-detail__hm-div {
    display: none;
  }

  .podcast-detail__hero-meta {
    gap: 10px;
  }

  /* Player */
  .podcast-detail__ap-play {
    width: 46px;
    height: 46px;
  }
  .podcast-detail__ap-play i {
    font-size: 16px;
  }
  .podcast-detail__ap-name {
    font-size: 13px;
  }

  .podcast-detail__ap-btn {
    padding: 8px 13px;
    font-size: 11px;
  }

  /* FIX 14: actions wrap cleanly on small screens */
  .podcast-detail__ap-actions {
    gap: 8px;
  }
  .podcast-detail__share-icons {
    margin-left: 0;
  }

  /* Blocks */
  .podcast-detail__player-card {
    padding: 18px 16px 20px;
  }

  .podcast-detail__desc-block,
  .podcast-detail__rating-block,
  .podcast-detail__comments-block {
    padding: 20px 16px;
  }

  .podcast-detail__newsletter-band {
    padding: 28px 18px;
    border-radius: 16px;
  }

  /* FIX 15: author strip stacks on small screens */
  .podcast-detail__author-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .podcast-detail__as-link {
    margin-left: 0;
  }

  .podcast-detail__rg-score {
    font-size: 48px;
  }

  .podcast-detail__submit-btn {
    width: 100%;
    justify-content: center;
  }
  .podcast-detail__submit-note {
    font-size: 11px;
  }

  .card-body {
    padding: 16px 18px 18px;
  }
  .card-title {
    font-size: 15px;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — LARGE  ≥ 1024px
═══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .card-grid {
    max-width: 960px;
  }
}
