/* Podcast-only presentation. Shared header, navigation and footer keep the site palette. */
.cm-podcast {
  --podcast-forest: #244532;
  --podcast-leaf: #4f7056;
  --podcast-rice: #f2ead5;
  --podcast-clay: #9b6d2c;
  --podcast-paper: #fffdf7;
  --podcast-night: #f5f2e8;
  --podcast-surface: #fffdf7;
  --podcast-line: #e4e0d5;
  --podcast-accent: #eadfbd;
  --podcast-ink: #25352b;
  --podcast-muted: #67726b;
}

/* Editorial cover */
.cm-podcast .podcast-subhero {
  min-height: 205px;
  padding: 30px max(var(--cm-gutter), calc((100% - var(--cm-width)) / 2));
  background-position: center 48%;
}
.cm-podcast .podcast-subhero::before {
  z-index: 0;
  background: linear-gradient(90deg,rgba(0,37,25,.9) 0%,rgba(0,55,38,.75) 45%,rgba(0,55,38,.35) 75%,rgba(0,0,0,.15) 100%);
}
.cm-podcast .podcast-hero-copy { position: relative; z-index: 1; max-width: 760px; }
.cm-podcast .podcast-hero-kicker,
.cm-podcast .podcast-section-kicker {
  display: block;
  margin-bottom: 13px;
  color: var(--podcast-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
}
.cm-podcast .podcast-hero-kicker { color: #f0dfad; }
.cm-podcast .podcast-section-kicker { color: var(--podcast-leaf); }
.cm-podcast .podcast-subhero h1 {
  max-width: 720px;
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.cm-podcast .podcast-subhero p { max-width: 550px; color: #c7c7c7; font-size: 14px; }
.cm-podcast .podcast-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 21px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 3px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background-color .2s ease, border-color .2s ease;
}
.cm-podcast .podcast-hero-link:hover { background: rgba(255,255,255,.1); border-color: var(--podcast-accent); color: #fff; }
.cm-podcast .podcast-hero-link span { color: #f0dfad; font-size: 17px; }

/* Breadcrumb and page grid */
.cm-podcast .cm-breadcrumb {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 16px max(var(--cm-gutter), calc((100% - var(--cm-width)) / 2)) 0;
  background: var(--podcast-night);
  color: var(--podcast-muted);
  font-size: 12px;
}
.cm-podcast .cm-breadcrumb a { color: var(--podcast-leaf); }
.cm-podcast .cm-breadcrumb span { margin: 0 8px; }
.cm-podcast .podcast-trang {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 27px max(var(--cm-gutter), calc((100% - var(--cm-width)) / 2)) 68px;
  background: var(--podcast-night);
  align-items: start;
}
.cm-podcast .podcast-trang > .podcast-content { grid-column: 1 / -1; grid-row: 1; min-width: 0; }
.cm-podcast .podcast-trang > .podcast-episodes { grid-column: 1; grid-row: 2; min-width: 0; }
.cm-podcast .podcast-episodes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 26px; min-width: 0; }
.cm-podcast .podcast-episodes > .podcast-tieu-de,
.cm-podcast .podcast-episodes > .podcast-bo-loc { grid-column: 1 / -1; }
.cm-podcast .podcast-episodes > .tap-danh-sach { grid-column: 1 / span 9; grid-row: 3; min-width: 0; }
.cm-podcast .podcast-episodes > #podcast-result-count { grid-column: 1 / span 9; grid-row: 4; }
.cm-podcast .podcast-episodes > .podcast-sidebar { grid-column: 10 / -1; grid-row: 3 / span 2; min-width: 0; }

/* Featured audio player */
.cm-podcast .podcast-content .cm-audio-feature {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--podcast-surface);
  box-shadow: none;
  color: var(--podcast-ink);
}
.cm-podcast .cm-audio-feature > .podcast-feature-image-link {
  display: block;
  align-self: center;
  justify-self: center;
  box-sizing: border-box;
  width: calc(100% - 36px);
  margin: 16px 18px;
  border-radius: 6px;
}
.cm-podcast .podcast-feature-image-link img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 0;
  max-height: none;
  border-radius: inherit;
  object-fit: cover;
}
.cm-podcast .cm-audio-feature > .podcast-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 16px 18px;
}
.cm-podcast .cm-audio-feature .cm-kicker { color: var(--podcast-leaf); font-size: 10px; letter-spacing: .14em; }
.cm-podcast .cm-audio-feature h2 {
  margin: 8px 0;
  color: var(--podcast-ink);
  font-size: clamp(26px, 2.6vw, 33px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.cm-podcast .cm-audio-feature h2 a { color: inherit; text-decoration: none; }
.cm-podcast .cm-audio-feature h2 a:hover,
.cm-podcast .cm-audio-feature h2 a:focus-visible { color: var(--podcast-leaf); text-decoration: underline; text-underline-offset: 4px; }
.cm-podcast .cm-audio-feature p { max-width: 470px; margin: 0 0 8px; color: var(--podcast-muted); font-size: 13px; }
.cm-podcast .podcast-player { width: 100%; margin: 4px 0 6px; padding: 8px 10px 5px; border: 1px solid var(--podcast-line); border-radius: 5px; background: #f9f6ec; }
.cm-podcast .podcast-player-label { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; color: var(--podcast-leaf); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.cm-podcast .podcast-sound-mark { font: 18px Georgia, serif; }
.cm-podcast .podcast-player audio { display: block; width: 100%; height: 36px; color-scheme: light; accent-color: var(--podcast-accent); }
.cm-podcast .cm-audio-feature .cm-read-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 2px 0 5px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid var(--podcast-line);
  color: var(--podcast-ink);
  font-size: 13px;
  font-weight: 700;
}
.cm-podcast .cm-audio-feature .cm-read-link:hover { color: var(--podcast-leaf); border-color: var(--podcast-leaf); }
.cm-podcast .cm-audio-note { color: var(--podcast-muted); font-size: 10px; }

/* Episode listing */
.cm-podcast .podcast-tieu-de { margin: 0 0 20px; padding: 0; border: 0; }
.cm-podcast .podcast-tieu-de .podcast-section-kicker { margin-bottom: 8px; color: var(--podcast-leaf); font-size: 10px; }
.cm-podcast .podcast-tieu-de h2 { margin: 0; color: var(--podcast-ink); font-size: clamp(25px, 2.7vw, 33px); letter-spacing: -.035em; }
.cm-podcast .podcast-tieu-de p { margin: 9px 0 0; color: var(--podcast-muted); font-size: 13px; }
.cm-podcast .podcast-bo-loc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 19px; }
.cm-podcast .podcast-bo-loc button {
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid #cbd5c9;
  border-radius: 99px;
  background: transparent;
  color: #405148;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.cm-podcast .podcast-bo-loc button:hover { border-color: var(--podcast-leaf); color: var(--podcast-leaf); }
.cm-podcast .podcast-bo-loc button[aria-pressed="true"] { border-color: var(--podcast-accent); background: var(--podcast-accent); color: var(--podcast-forest); }
.cm-podcast .tap-danh-sach { display: grid; grid-template-columns: minmax(0, 1fr); gap: 17px; border: 0; }
.cm-podcast .tap-dong {
  display: grid;
  grid-template-columns: 183px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  min-width: 0;
  min-height: 226px;
  padding: 18px 23px;
  border: 1px solid var(--podcast-line);
  border-radius: 7px;
  background: var(--podcast-surface);
  box-shadow: none;
  transition: background-color .18s ease;
}
.cm-podcast .tap-dong[hidden] { display: none; }
.cm-podcast .tap-dong:hover { transform: none; border-color: #c9c1a7; background: #faf7ed; box-shadow: none; }
.cm-podcast .tap-anh-thu-nho { width: 183px; height: 183px; aspect-ratio: 1 / 1; border-radius: 6px; background-position: center; background-size: cover; }
.cm-podcast .tap-chu { min-width: 0; }
.cm-podcast .tap-chu .tag { display: inline-block; margin: 0 0 5px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--podcast-muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.cm-podcast .tap-chu h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin: 0 0 4px; color: var(--podcast-ink); font-size: 14px; line-height: 1.4; }
.cm-podcast .tap-dong:hover .tap-chu h3 { color: var(--podcast-ink); }
.cm-podcast .tap-chu > small { display: inline-block; padding: 0; border-radius: 0; background: transparent; color: var(--podcast-muted); font-size: 10px; }
.cm-podcast .tap-dong[data-podcast-audio="audio"] .tap-chu > small { background: transparent; color: var(--podcast-leaf); }
.cm-podcast .tap-chu p { margin: 4px 0 0; color: var(--podcast-muted); font-size: 11px; line-height: 1.5; }
.cm-podcast .tap-phat { display: flex; flex-direction: row; align-items: center; justify-self: start; gap: 8px; min-width: 64px; padding: 0; color: var(--podcast-forest); }
.cm-podcast .tap-phat span { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--podcast-accent); color: var(--podcast-forest); font-size: 13px; }
.cm-podcast .tap-phat small { color: var(--podcast-forest); font-size: 9px; font-weight: 700; white-space: nowrap; }
.cm-podcast .cm-list-note { margin: 14px 0 0; color: var(--podcast-muted); font-size: 11px; }

/* Recommendation and listening statistics rail */
.cm-podcast .podcast-sidebar { display: grid; align-content: start; gap: 18px; }
.cm-podcast .podcast-sidebar-block { padding: 18px; border: 1px solid var(--podcast-line); border-radius: 7px; background: var(--podcast-surface); }
.cm-podcast .podcast-side-kicker { display: block; margin-bottom: 8px; color: var(--podcast-leaf); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.cm-podcast .podcast-sidebar-block h2 { margin: 0; color: var(--podcast-ink); font-size: 18px; line-height: 1.3; }
.cm-podcast .podcast-sidebar-caption,
.cm-podcast .podcast-sidebar-empty { margin: 8px 0 12px; color: var(--podcast-muted); font-size: 11px; line-height: 1.55; }
.cm-podcast .podcast-sidebar-episode { display: grid; grid-template-columns: 27px minmax(0, 1fr) 12px; gap: 8px; align-items: start; padding: 10px 0; border-top: 1px solid var(--podcast-line); color: var(--podcast-ink); font-size: 11px; line-height: 1.4; }
.cm-podcast .podcast-sidebar-episode:hover { color: var(--podcast-leaf); }
.cm-podcast .podcast-sidebar-number { color: var(--podcast-leaf); font-weight: 700; }
.cm-podcast .podcast-sidebar-episode > span:last-child { color: var(--podcast-muted); }
.cm-podcast .podcast-sidebar-empty { margin-bottom: 0; padding: 12px; border-radius: 4px; background: #f9f6ec; }

@media (max-width: 900px) {
  .cm-podcast .podcast-trang { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cm-podcast .podcast-trang > .podcast-episodes { grid-column: 1; grid-row: 2; }
  .cm-podcast .podcast-episodes { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cm-podcast .podcast-episodes > .podcast-tieu-de,
  .cm-podcast .podcast-episodes > .podcast-bo-loc,
  .cm-podcast .podcast-episodes > .tap-danh-sach,
  .cm-podcast .podcast-episodes > #podcast-result-count,
  .cm-podcast .podcast-episodes > .podcast-sidebar { grid-column: 1; grid-row: auto; }
  .cm-podcast .podcast-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
  .cm-podcast .podcast-content .cm-audio-feature { grid-template-columns: minmax(180px, 220px) minmax(0, 1fr); }
  .cm-podcast .podcast-feature-image-link img { min-height: 0; }
  .cm-podcast .tap-dong { grid-template-columns: 160px minmax(0, 1fr) auto; min-height: 203px; gap: 22px; }
  .cm-podcast .tap-anh-thu-nho { width: 160px; height: 160px; }
}
@media (max-width: 640px) {
  .cm-podcast .podcast-subhero { min-height: 190px; padding: 24px 22px; background-position: 58% center; }
  .cm-podcast .podcast-subhero::before { background: linear-gradient(90deg, rgba(23,40,32,.86), rgba(38,59,46,.62)); }
  .cm-podcast .podcast-subhero h1 { max-width: 100%; font-size: clamp(35px, 10vw, 46px); }
  .cm-podcast .podcast-subhero p { max-width: 100%; font-size: 14px; }
  .cm-podcast .cm-breadcrumb { padding-inline: 18px; }
  .cm-podcast .podcast-trang { padding: 22px 18px 48px; gap: 28px; }
  .cm-podcast .podcast-content .cm-audio-feature { grid-template-columns: minmax(0, 130px) minmax(0, 1fr); border-radius: 7px; }
  .cm-podcast .cm-audio-feature > .podcast-feature-image-link { width: calc(100% - 24px); margin: 12px; }
  .cm-podcast .podcast-feature-image-link img { width: 100%; margin: 0; }
  .cm-podcast .cm-audio-feature > .podcast-feature-copy { padding: 12px; }
  .cm-podcast .cm-audio-feature h2 { margin: 6px 0; font-size: 21px; }
  .cm-podcast .cm-audio-feature p { margin-bottom: 8px; font-size: 11px; }
  .cm-podcast .podcast-player { grid-column: 1 / -1; margin-top: 6px; padding: 8px 9px 5px; }
  .cm-podcast .podcast-player-label { font-size: 8px; }
  .cm-podcast .podcast-player audio { height: 32px; }
  .cm-podcast .podcast-tieu-de h2 { font-size: 26px; }
  .cm-podcast .tap-dong { grid-template-columns: 126px minmax(0, 1fr); gap: 16px; min-height: 157px; padding: 14px; }
  .cm-podcast .tap-anh-thu-nho { width: 126px; height: 126px; }
  .cm-podcast .tap-chu h3 { font-size: 13px; }
  .cm-podcast .tap-chu p { display: none; }
  .cm-podcast .tap-phat { grid-column: 2; justify-content: flex-start; min-width: 0; margin-top: -3px; }
  .cm-podcast .tap-phat span { width: 25px; height: 25px; font-size: 12px; }
  .cm-podcast .podcast-sidebar { grid-template-columns: minmax(0, 1fr); }
  .cm-podcast .podcast-sidebar-block { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-podcast .podcast-hero-link,
  .cm-podcast .podcast-bo-loc button,
  .cm-podcast .tap-dong { transition: none; }
  .cm-podcast .tap-dong:hover { transform: none; }
}
