.parvande-hero {
  display: grid;
  grid-template-columns: 42% 1fr;
  border-bottom: 0.5px solid var(--border);
  direction: ltr;
  min-height: 600px;
  align-items: stretch;
}

.parvande-poster {
  position: relative;
  background: var(--black);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 48px;
}

.parvande-poster img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 560px;
  display: block;
}

.parvande-info {
  padding: 64px var(--pad-h-lg) 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-left: none;
  direction: rtl;
}

.parvande-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--bone);
  line-height: 1.35;
  margin-bottom: 14px;
}

.parvande-subtitle {
  font-size: 14px;
  color: rgba(243, 235, 221, 0.5);
  margin-bottom: 24px;
  line-height: 1.6;
}

.parvande-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 28px;
  max-width: 500px;
}

.parvande-meta {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--gray);
  text-transform: uppercase;
}

.meta-value {
  font-size: 13px;
  color: var(--bone);
}

.guests-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.guests-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guest-tag {
  font-size: 12px;
  color: var(--bone);
  border: 0.5px solid var(--border2);
  padding: 4px 12px;
  opacity: 0.8;
  transition: all 0.2s;
}

.guest-tag:hover {
  color: var(--yellow);
  border-color: rgba(255, 217, 37, 0.3);
  opacity: 1;
}

.episodes-bar {
  padding: 48px var(--pad-h) 20px;
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: rtl;
}

.episodes-title {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gray);
  text-transform: uppercase;
}

.episodes-count {
  font-size: 12px;
  color: rgba(243, 235, 221, 0.35);
}

.episodes-list {
  border-bottom: 0.5px solid var(--border);
}

.episode-row {
  border-bottom: 0.5px solid rgba(243, 235, 221, 0.05);
  transition: background 0.2s;
  direction: rtl;
}

.episode-row:last-child {
  border-bottom: none;
}

.episode-row:hover {
  background: rgba(243, 235, 221, 0.025);
}

.episode-row.playing {
  background: rgba(255, 217, 37, 0.03);
  border-right: 1.5px solid rgba(255, 217, 37, 0.5);
}

.episode-top {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  padding: 22px var(--pad-h);
  gap: 24px;
}

.ep-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.ep-seq {
  font-size: 20px;
  font-weight: 900;
  color: rgba(243, 235, 221, 0.2);
  line-height: 1;
}

.ep-label {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.08em;
}

.ep-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ep-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--bone);
  flex-shrink: 0;
  border: 0.5px solid var(--border2);
  overflow: hidden;
}

.ep-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(243, 235, 221, 0.88);
  line-height: 1.45;
  margin-bottom: 4px;
  transition: color 0.2s;
  text-decoration: none;
  display: block;
}

.episode-row:hover .ep-title {
  color: var(--bone);
}

.ep-guest {
  font-size: 12px;
  color: var(--gray);
}

.ep-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  direction: ltr;
  flex-shrink: 0;
}

.ep-icon-btn {
  background: none;
  border: none;
  color: rgba(119, 115, 106, 0.45);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s;
  border-radius: 2px;
  text-decoration: none;
}

.ep-icon-btn:hover {
  color: var(--gray);
}

.ep-icon-btn svg {
  width: 16px;
  height: 16px;
}

.ep-play-btn {
  background: none;
  border: none;
  color: rgba(119, 115, 106, 0.45);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s;
  border-radius: 2px;
  flex-shrink: 0;
}

.ep-play-btn:hover {
  color: var(--gray);
}

.ep-play-btn svg {
  width: 17px;
  height: 17px;
}

.ep-desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--pad-h) 0 108px;
}

.ep-desc.open {
  max-height: 240px;
  padding: 0 var(--pad-h) 16px 108px;
}

.ep-desc-text {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.9;
  border-top: 0.5px solid var(--border);
  padding-top: 12px;
}

#player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  border-top: 0.5px solid var(--border2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 200;
  direction: ltr;
}

#player-bar.visible {
  transform: translateY(0);
}

.player-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px var(--pad-h);
  gap: 20px;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: rtl;
  min-width: 0;
}

.player-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--bone);
  flex-shrink: 0;
  overflow: hidden;
}

.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-ep-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--bone);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-ep-guest {
  font-size: 12px;
  color: var(--gray);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
  flex-shrink: 0;
}

.player-btn {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
  display: flex;
}

.player-btn:hover {
  color: var(--yellow);
}

.player-btn svg {
  width: 16px;
  height: 16px;
}

.player-main-btn {
  background: var(--yellow);
  border: none;
  color: var(--black);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.player-main-btn:hover {
  opacity: 0.85;
}

.player-main-btn svg {
  width: 14px;
  height: 14px;
}

.player-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  justify-content: flex-end;
}

.progress-bar {
  flex: 1;
  height: 3px;
  background: var(--border2);
  border-radius: 2px;
  cursor: pointer;
  min-width: 100px;
  max-width: 200px;
}

.progress-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.time-label {
  font-size: 12px;
  color: var(--gray);
  white-space: nowrap;
}

.player-spotify {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.spotify-link {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.06em;
  border: 0.5px solid var(--border2);
  padding: 4px 10px;
  transition: all 0.2s;
  border-radius: 2px;
}

.spotify-link:hover {
  color: var(--yellow);
  border-color: rgba(255, 217, 37, 0.3);
}

.player-close {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  padding: 4px;
  display: flex;
  transition: color 0.2s;
}

.player-close:hover {
  color: var(--yellow);
}

.player-close svg {
  width: 14px;
  height: 14px;
}

body.single-case {
  width: auto;
  max-width: none;
  margin: 0;
  background: var(--black);
}

body.single-case article.single-case {
  width: min(1238px, calc(100% - 180px));
  max-width: none;
  margin: 0 auto;
  padding: 82px 0 0;
}

body.single-case .parvande-hero {
  display: grid;
  grid-template-columns: 426px 610px;
  justify-content: space-between;
  align-items: start;
  gap: 0;
  min-height: 0;
  padding: 0 0 136px;
  border: 0;
  direction: ltr;
}

body.single-case .parvande-poster {
  grid-column: 1;
  width: 426px;
  padding: 0;
  background: transparent;
  justify-content: flex-start;
  align-items: flex-start;
}

body.single-case .parvande-poster img,
body.single-case .parvande-poster-placeholder {
  width: 426px;
  height: 604px;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
}

body.single-case .parvande-info {
  grid-column: 2;
  width: 610px;
  padding: 30px 0 0;
  border: 0;
  direction: rtl;
  text-align: right;
  justify-content: flex-start;
}

body.single-case .parvande-title {
  max-width: 610px;
  margin: 0 0 22px;
  font-family: var(--font-fa);
  font-size: 64px;
  font-weight: 900;
  line-height: 1.17;
  color: #f3ebdd;
  text-align: right;
}

body.single-case .parvande-subtitle {
  margin: 0 0 26px;
  font-family: var(--font-fa);
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  color: rgba(119, 117, 111, 0.92);
  text-align: right;
}

body.single-case .parvande-desc {
  max-width: 610px;
  margin: 0;
  font-family: var(--font-fa);
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  color: rgba(119, 117, 111, 0.92);
  text-align: justify;
  text-align-last: right;
}

body.single-case .parvande-info-bottom {
  width: 100%;
  margin-top: 88px;
  text-align: center;
}

body.single-case .parvande-meta {
  justify-content: center;
  margin: 0 0 76px;
}

body.single-case .meta-item {
  align-items: center;
  gap: 1px;
}

body.single-case .meta-label,
body.single-case .guests-label {
  margin: 0 0 8px;
  font-family: var(--font-fa);
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: 0;
  color: rgba(119, 117, 111, 0.9);
  text-align: center;
  text-transform: none;
}

body.single-case .meta-value {
  font-family: var(--font-fa);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
  color: #f3ebdd;
}

body.single-case .guests-list {
  justify-content: center;
  gap: 14px 20px;
}

body.single-case .guest-tag {
  min-width: 118px;
  padding: 7px 15px 8px;
  border: 1px solid rgba(119, 117, 111, 0.74);
  border-radius: 5px;
  font-family: var(--font-fa);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  color: rgba(237, 233, 223, 0.64);
  text-align: center;
  opacity: 1;
}

body.single-case .episodes-bar {
  width: 610px;
  margin: 0 0 48px auto;
  padding: 0;
  border: 0;
  justify-content: center;
}

body.single-case .episodes-title {
  display: block;
  width: 100%;
  font-family: var(--font-fa);
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: 0;
  color: rgba(119, 117, 111, 0.9);
  text-align: center;
  text-transform: none;
}

body.single-case .episodes-count {
  display: none;
}

body.single-case .episodes-list {
  width: min(1048px, 100%);
  margin: 0 0 126px auto;
  padding: 0;
  border: 0;
}

body.single-case .episode-row {
  border: 0;
  background: transparent;
}

body.single-case .episode-row:hover,
body.single-case .episode-row.playing {
  background: transparent;
  border: 0;
}

body.single-case .episode-top {
  display: grid;
  grid-template-columns: 306px minmax(0, 560px) 44px;
  gap: 46px;
  align-items: center;
  padding: 0 0 70px;
  direction: ltr;
}

body.single-case .ep-actions {
  grid-column: 1;
  grid-row: 1;
  width: 306px;
  display: flex;
  justify-content: space-between;
  gap: 0;
  direction: ltr;
}

body.single-case .ep-info {
  grid-column: 2;
  grid-row: 1;
  display: block;
  min-width: 0;
  direction: rtl;
  text-align: right;
}

body.single-case .ep-info > div:last-child {
  min-width: 0;
}

body.single-case .ep-avatar {
  display: none;
}

body.single-case .ep-num-col {
  grid-column: 3;
  grid-row: 1;
  align-items: flex-end;
  justify-content: center;
  direction: rtl;
}

body.single-case .ep-seq {
  font-family: var(--font-fa);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  color: #f3ebdd;
}

body.single-case .ep-label {
  margin-top: 6px;
  font-family: var(--font-fa);
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: 0;
  color: rgba(119, 117, 111, 0.9);
}

body.single-case .ep-title {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-fa);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.34;
  color: #f3ebdd;
  text-align: right;
}

body.single-case .ep-guest {
  margin: 0;
  font-family: var(--font-fa);
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  color: rgba(119, 117, 111, 0.9);
  text-align: right;
}

body.single-case .ep-icon-btn,
body.single-case .ep-play-btn {
  width: 55px;
  height: 55px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(119, 117, 111, 0.72);
  opacity: 1;
}

body.single-case .ep-icon-btn svg,
body.single-case .ep-play-btn svg {
  width: 55px;
  height: 55px;
  stroke-width: 1.15;
}

body.single-case .ep-icon-btn-disabled {
  pointer-events: none;
}

body.single-case .ep-desc {
  width: 560px;
  margin: -42px 90px 46px 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.single-case .ep-desc-text {
  font-family: var(--font-fa);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(119, 117, 111, 0.9);
  text-align: justify;
  text-align-last: right;
}

@media (max-width: 1179px) {
  body.single-case article.single-case {
    width: min(100% - 48px, 940px);
  }

  body.single-case .parvande-hero {
    grid-template-columns: minmax(280px, 426px) minmax(0, 1fr);
    gap: 54px;
    padding-bottom: 96px;
  }

  body.single-case .parvande-poster,
  body.single-case .parvande-poster img,
  body.single-case .parvande-poster-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 426 / 604;
  }

  body.single-case .parvande-info {
    width: auto;
  }

  body.single-case .parvande-title {
    font-size: 48px;
  }

  body.single-case .episodes-list {
    width: 100%;
  }

  body.single-case .episode-top {
    grid-template-columns: 240px minmax(0, 1fr) 38px;
    gap: 28px;
  }

  body.single-case .ep-actions {
    width: 240px;
  }
}

@media (max-width: 768px) {
  body.single-case article.single-case {
    width: calc(100% - 36px);
  }

  body.single-case article.single-case {
    padding-top: 42px;
  }

  body.single-case .parvande-hero {
    grid-template-columns: 1fr;
    direction: rtl;
    gap: 34px;
    padding-bottom: 70px;
  }

  body.single-case .parvande-poster,
  body.single-case .parvande-info {
    grid-column: auto;
    width: 100%;
  }

  body.single-case .parvande-poster img,
  body.single-case .parvande-poster-placeholder {
    max-width: 426px;
    margin: 0 auto;
  }

  body.single-case .parvande-info {
    padding-top: 0;
  }

  body.single-case .parvande-title {
    font-size: 38px;
  }

  body.single-case .parvande-subtitle,
  body.single-case .parvande-desc,
  body.single-case .meta-label,
  body.single-case .guests-label,
  body.single-case .episodes-title,
  body.single-case .guest-tag,
  body.single-case .ep-label,
  body.single-case .ep-guest {
    font-size: 15px;
    line-height: 1.75;
  }

  body.single-case .parvande-info-bottom {
    margin-top: 52px;
  }

  body.single-case .episodes-bar {
    width: 100%;
    margin-bottom: 38px;
  }

  body.single-case .episode-top {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 46px;
    direction: rtl;
  }

  body.single-case .ep-num-col {
    grid-column: 1;
    align-items: center;
  }

  body.single-case .ep-info {
    grid-column: 2;
  }

  body.single-case .ep-actions {
    grid-column: 2;
    grid-row: 2;
    width: min(260px, 100%);
    justify-content: space-between;
    margin-top: 12px;
  }

  body.single-case .ep-title {
    font-size: 20px;
  }

  body.single-case .ep-icon-btn,
  body.single-case .ep-play-btn,
  body.single-case .ep-icon-btn svg,
  body.single-case .ep-play-btn svg {
    width: 38px;
    height: 38px;
  }

  body.single-case .ep-desc {
    width: auto;
    margin: -26px 50px 36px 0;
  }
}

@media (min-width: 1180px) {
  body.single-case .parvande-hero {
    grid-template-columns: 426px 687px;
  }

  body.single-case .parvande-poster {
    transform: translate(23px, 13px);
  }

  body.single-case .parvande-info {
    width: 687px;
  }

  body.single-case .parvande-info-top {
    width: 687px;
    transform: translateX(-47px);
  }

  body.single-case .parvande-title {
    max-width: 687px;
    font-size: 59px;
  }

  body.single-case .parvande-subtitle,
  body.single-case .parvande-desc {
    max-width: 687px;
  }

  body.single-case .parvande-info-bottom {
    margin-top: 145px;
    transform: translateX(111px);
    text-align: right;
  }

  body.single-case .parvande-meta {
    display: block;
    margin: 0 0 76px;
    text-align: right;
  }

  body.single-case .meta-item {
    align-items: flex-start;
  }

  body.single-case .meta-label,
  body.single-case .guests-label {
    text-align: right;
  }

  body.single-case .guests-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    direction: rtl;
    white-space: nowrap;
  }

  body.single-case .guest-tag {
    flex: 0 0 auto;
  }

  body.single-case .episodes-bar {
    width: 687px;
    margin: 0 0 48px auto;
    justify-content: flex-start;
    transform: translateX(111px);
  }

  body.single-case .episodes-title {
    text-align: right;
  }

  body.single-case .episodes-list {
    width: min(1238px, 100%);
    margin: 0 auto 126px;
  }

  body.single-case .episode-top {
    grid-template-columns: 426px minmax(0, 560px) 44px;
    justify-content: space-between;
    gap: 0;
  }

  body.single-case .ep-actions {
    width: 426px;
    transform: translateX(23px);
  }

  body.single-case .ep-info,
  body.single-case .ep-num-col {
    transform: translateX(111px);
  }
}

@media (min-width: 1180px) {
  body.single-case .parvande-info-top,
  body.single-case .parvande-info-bottom,
  body.single-case .episodes-bar,
  body.single-case .ep-info,
  body.single-case .ep-num-col {
    transform: translateX(90px);
  }

  body.single-case .parvande-title {
    font-size: 35px;
    font-weight: 900;
    line-height: 1.28;
  }

  body.single-case .parvande-subtitle,
  body.single-case .parvande-desc {
    margin-right: 0;
  }

  body.single-case .ep-actions {
    width: 426px;
    transform: translateX(23px);
    justify-content: space-between;
    gap: 0;
  }

  body.single-case .ep-icon-btn,
  body.single-case .ep-play-btn,
  body.single-case .ep-icon-btn svg,
  body.single-case .ep-play-btn svg {
    width: 52px;
    height: 52px;
  }
}

body.single-case .ep-full-text {
  display: inline-block;
  margin-inline-start: 8px;
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
}

body.single-case .ep-full-text:hover,
body.single-case .ep-full-text:focus {
  color: var(--yellow);
}

body.single-case .ep-video {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.24s ease, opacity 0.24s ease, margin 0.24s ease;
}

body.single-case .ep-video[hidden] {
  display: none;
}

body.single-case .ep-video.open {
  max-height: 360px;
  opacity: 1;
}

body.single-case .ep-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
  border: 1px solid rgba(237, 232, 220, 0.14);
}

body.single-case .ep-video-frame iframe,
body.single-case .ep-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

body.single-case .ep-video-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 18px;
  text-decoration: none;
}

@media (min-width: 1180px) {
  body.single-case .ep-actions {
    width: 426px;
    transform: translateX(23px);
    justify-content: center;
    gap: 58px;
  }

  body.single-case .ep-icon-btn,
  body.single-case .ep-play-btn,
  body.single-case .ep-icon-btn svg,
  body.single-case .ep-play-btn svg {
    width: 49px;
    height: 49px;
  }

  body.single-case .ep-video {
    width: 426px;
    margin: -42px 0 46px 0;
    transform: translateX(23px);
  }
}

@media (max-width: 1179px) {
  body.single-case .ep-actions {
    justify-content: center;
    gap: 42px;
  }

  body.single-case .ep-icon-btn,
  body.single-case .ep-play-btn,
  body.single-case .ep-icon-btn svg,
  body.single-case .ep-play-btn svg {
    width: 36px;
    height: 36px;
  }

  body.single-case .ep-video {
    width: min(426px, 100%);
    margin: -18px auto 34px;
  }
}

@media (max-width: 768px) {
  body.single-case .ep-actions {
    gap: 28px;
  }

  body.single-case .ep-icon-btn,
  body.single-case .ep-play-btn,
  body.single-case .ep-icon-btn svg,
  body.single-case .ep-play-btn svg {
    width: 34px;
    height: 34px;
  }
}
