

.podcasts-page {
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: 24px;
  overflow-x: clip;
}

.podcasts-showcase {
  position: relative;
  z-index: 1;
  overflow: visible;
  margin-bottom: 8px;
}

.podcasts-showcase__stage {
  position: relative;
  isolation: isolate;
  perspective: 1400px;
  overflow: visible;
  padding: 20px 0 28px;
}

.podcasts-showcase__swiper {
  overflow: visible;
  padding: 8px 0 16px;
}

.podcasts-showcase__swiper .swiper-wrapper {
  align-items: center;
}

.podcasts-showcase__swiper .swiper-slide {
  width: min(78%, 560px);
  height: auto;
  flex-shrink: 0;
}

.podcasts-showcase__swiper .swiper-slide .podcast-player {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  backface-visibility: hidden;
}

.podcasts-showcase__swiper .swiper-slide .podcast-player__glow {
  inset: -6%;
  opacity: 0.45;
}

.podcasts-showcase__swiper .swiper-slide:not(.swiper-slide-active) .podcast-player {
  filter: saturate(0.86) brightness(0.92);
  opacity: 0.92;
  cursor: pointer;
}

.podcasts-showcase__swiper .swiper-slide-active .podcast-player {
  filter: none;
  opacity: 1;
  z-index: 4;
}

.podcasts-showcase__swiper .swiper-slide:not(.swiper-slide-active) .podcast-player__stage,
.podcasts-showcase__swiper .swiper-slide:not(.swiper-slide-active) .podcast-player__controls,
.podcasts-showcase__swiper .swiper-slide:not(.swiper-slide-active) .podcast-player__big-play {
  pointer-events: none;
}

.podcasts-showcase__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-inline: 4px;
}

.podcasts-showcase__hint {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.5;
}

.podcasts-showcase__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.podcasts-showcase__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(42, 42, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(26, 26, 34, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.podcasts-showcase__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(175, 26, 21, 0.22);
}

.podcasts-showcase__btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}



.podcast-player {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.podcast-player__glow {
  position: absolute;
  inset: -18%;
  background: radial-gradient(ellipse at 50% 40%, var(--accent-glow), transparent 62%);
  z-index: -1;
  pointer-events: none;
}

.podcast-player__frame {
  border-radius: 22px;
  overflow: hidden;
  background: #101014;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.podcast-player__stage {
  position: relative;
  min-height: 240px;
  padding: 18px 20px 24px;
  overflow: hidden;
}

.podcast-player__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.podcast-player__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(175, 26, 21, 0.42), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(212, 128, 128, 0.28), transparent),
    linear-gradient(160deg, #2a1818 0%, #101014 100%);
}

.podcast-player--theme-react .podcast-player__gradient {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(56, 132, 255, 0.42), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(120, 196, 255, 0.28), transparent),
    linear-gradient(160deg, #142238 0%, #0d1218 100%);
}

.podcast-player--theme-data .podcast-player__gradient {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(34, 168, 108, 0.42), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(120, 220, 170, 0.28), transparent),
    linear-gradient(160deg, #12241c 0%, #0b1210 100%);
}

.podcast-player--theme-career .podcast-player__gradient {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(196, 120, 48, 0.42), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(255, 196, 120, 0.28), transparent),
    linear-gradient(160deg, #2a1d12 0%, #120d08 100%);
}

.podcast-player--theme-mindset .podcast-player__gradient {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(148, 88, 220, 0.42), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(196, 160, 255, 0.28), transparent),
    linear-gradient(160deg, #221a32 0%, #100d18 100%);
}

.podcast-player--theme-product .podcast-player__gradient {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(220, 88, 120, 0.4), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(255, 160, 180, 0.26), transparent),
    linear-gradient(160deg, #2a1420 0%, #120a10 100%);
}

.podcast-player--theme-startup .podcast-player__gradient {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(40, 180, 200, 0.4), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(120, 220, 230, 0.26), transparent),
    linear-gradient(160deg, #122428 0%, #0a1214 100%);
}

.podcast-player--theme-softskills .podcast-player__gradient {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(220, 160, 48, 0.4), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(255, 210, 120, 0.26), transparent),
    linear-gradient(160deg, #2a2210 0%, #141008 100%);
}

.podcast-player__grid {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 32px 32px;
}

.podcast-player__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.podcast-player__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  background: rgba(239, 68, 68, 0.85);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
}

.podcast-player__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: blink 2s ease-in-out infinite;
}

.podcast-player__badge--archive {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.podcast-player__format {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

.podcast-player__body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 120px;
}

.podcast-player__disc-wrap {
  position: relative;
  flex-shrink: 0;
}

.podcast-player__disc {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(145deg, #2a2a34 0%, #14141a 100%);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.6s linear;
}

.podcast-player.is-playing .podcast-player__disc {
  animation: podcast-disc-spin 8s linear infinite;
}

@keyframes podcast-disc-spin {
  to { transform: rotate(360deg); }
}

.podcast-player__disc-groove {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

.podcast-player__avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  z-index: 1;
}

.podcast-player__mic {
  position: absolute;
  bottom: -4px;
  left: -4px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.podcast-player__visual {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.podcast-player__wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 56px;
  opacity: 0.55;
  transition: opacity 0.35s ease;
}

.podcast-player.is-playing .podcast-player__wave-bars {
  opacity: 0.95;
}

.podcast-player__wave-bars span {
  flex: 1;
  max-width: 5px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  animation: podcast-wave 0.9s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.04s);
  animation-play-state: paused;
}

.podcast-player.is-playing .podcast-player__wave-bars span {
  animation-play-state: running;
}

.podcast-player:not(.is-playing) .podcast-player__wave-bars span {
  animation: none;
  height: 10px;
}

@keyframes podcast-wave {
  0%, 100% { height: 10px; }
  50% { height: calc(12px + (var(--i) % 5) * 8px); }
}

.podcast-player__host strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}

.podcast-player__host small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.podcast-player__big-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 5;
  transition: opacity 0.4s;
}

.podcast-player__big-play-ring {
  position: absolute;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  animation: play-ring 2.5s ease-out infinite;
}

.podcast-player__big-play-icon {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border-radius: 50%;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.32);
  transition: transform 0.35s var(--ease-spring), background 0.3s;
}

.podcast-player__big-play:hover .podcast-player__big-play-icon {
  transform: scale(1.08);
  background: #fff;
}

.podcast-player__big-play .icon-pause { display: none; }

.podcast-player.is-playing .podcast-player__big-play {
  opacity: 0;
  pointer-events: none;
}

.podcast-player__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(15, 15, 20, 0.6) 0%, #0f0f14 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.podcast-player__ctrl {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--ease-spring);
}

.podcast-player__ctrl:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.05);
}

.podcast-player__ctrl--skip {
  position: relative;
  font-size: 0.58rem;
  font-weight: 800;
}

.podcast-player__ctrl--skip span {
  position: absolute;
  bottom: 4px;
  font-size: 0.52rem;
}

.podcast-player__ctrl--speed {
  width: auto;
  min-width: 40px;
  padding: 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
}

.podcast-player__ctrl .icon-pause-sm { display: none; }
.podcast-player.is-playing .podcast-player__ctrl .icon-play-sm { display: none; }
.podcast-player.is-playing .podcast-player__ctrl .icon-pause-sm { display: block; }

.podcast-player__progress {
  flex: 1;
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  cursor: pointer;
  overflow: visible;
}

.podcast-player__buffer {
  position: absolute;
  inset: 0;
  width: 45%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: inherit;
}

.podcast-player__fill {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--progress, 12%);
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
  border-radius: inherit;
}

.podcast-player__thumb {
  position: absolute;
  top: 50%;
  right: calc(var(--progress, 12%) - 6px);
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.podcast-player__time {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
}

.podcast-player__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 16px;
  background: #0c0c10;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.podcast-player__episode-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--brand-light);
  background: rgba(175, 26, 21, 0.18);
}

.podcast-player__title h4 {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
}

.podcast-player__listeners {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}



.podcasts-catalog {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: 16px;
  clear: both;
}

body[data-zonya-page='podcasts'] .footer {
  margin-top: 56px;
}

.podcasts-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.podcasts-catalog__empty {
  grid-column: 1 / -1;
  padding: 32px 24px;
  border-radius: 18px;
  border: 1px dashed rgba(42, 42, 42, 0.12);
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
  color: var(--text-muted);
}

.podcast-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border-radius: 18px;
  border: 1.5px solid rgba(42, 42, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(26, 26, 34, 0.06);
  cursor: pointer;
  text-align: right;
  font-family: inherit;
  transition:
    transform 0.28s var(--ease-spring),
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.podcast-box:hover {
  transform: translateY(-3px);
  border-color: rgba(175, 26, 21, 0.2);
  box-shadow: 0 16px 34px rgba(26, 26, 34, 0.1);
}

.podcast-box.is-active {
  border-color: rgba(175, 26, 21, 0.45);
  box-shadow:
    0 14px 34px rgba(175, 26, 21, 0.12),
    0 0 0 1px rgba(175, 26, 21, 0.08) inset;
  transform: translateY(-4px);
}

.podcast-box__art {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
}

.podcast-box__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 72% 28%, rgba(175, 26, 21, 0.55), transparent 58%),
    linear-gradient(155deg, #1d1d2a 0%, #0d0d14 100%);
}

.podcast-box--theme-react .podcast-box__gradient {
  background:
    radial-gradient(ellipse 80% 70% at 72% 28%, rgba(56, 132, 255, 0.55), transparent 58%),
    linear-gradient(155deg, #142238 0%, #0d1218 100%);
}

.podcast-box--theme-data .podcast-box__gradient {
  background:
    radial-gradient(ellipse 80% 70% at 72% 28%, rgba(34, 168, 108, 0.55), transparent 58%),
    linear-gradient(155deg, #12241c 0%, #0b1210 100%);
}

.podcast-box--theme-career .podcast-box__gradient {
  background:
    radial-gradient(ellipse 80% 70% at 72% 28%, rgba(196, 120, 48, 0.55), transparent 58%),
    linear-gradient(155deg, #2a1d12 0%, #120d08 100%);
}

.podcast-box--theme-mindset .podcast-box__gradient {
  background:
    radial-gradient(ellipse 80% 70% at 72% 28%, rgba(148, 88, 220, 0.55), transparent 58%),
    linear-gradient(155deg, #221a32 0%, #100d18 100%);
}

.podcast-box--theme-product .podcast-box__gradient {
  background:
    radial-gradient(ellipse 80% 70% at 72% 28%, rgba(220, 88, 120, 0.55), transparent 58%),
    linear-gradient(155deg, #2a1420 0%, #120a10 100%);
}

.podcast-box--theme-startup .podcast-box__gradient {
  background:
    radial-gradient(ellipse 80% 70% at 72% 28%, rgba(40, 180, 200, 0.55), transparent 58%),
    linear-gradient(155deg, #122428 0%, #0a1214 100%);
}

.podcast-box--theme-softskills .podcast-box__gradient {
  background:
    radial-gradient(ellipse 80% 70% at 72% 28%, rgba(220, 160, 48, 0.55), transparent 58%),
    linear-gradient(155deg, #2a2210 0%, #141008 100%);
}

.podcast-box__disc {
  position: absolute;
  inset: auto auto 10px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.podcast-box__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.podcast-box__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.podcast-box__series {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--brand);
}

.podcast-box__new {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(175, 26, 21, 0.12);
  color: #c92a24;
}

.podcast-box__episode {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
}

.podcast-box__title {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.35em;
}

.podcast-box__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.podcast-box__host {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podcast-box__duration {
  flex-shrink: 0;
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .podcasts-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .podcasts-catalog__grid {
    grid-template-columns: 1fr;
  }

  .podcasts-showcase__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .podcast-player__body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .podcast-player__host {
    text-align: center;
  }

  .podcast-player__footer {
    flex-direction: column;
  }

  .podcast-player__listeners {
    align-items: flex-start;
  }
}
