/* Podcast section: soft mint (#C9E4DE) & lavender (#DBCDF0) editorial light theme. */
.portfolio-podcast {
  background: radial-gradient(ellipse at top left, rgba(219, 205, 240, 0.95) 0%, transparent 48%),
              radial-gradient(ellipse at bottom right, rgba(201, 228, 222, 0.95) 0%, transparent 50%),
              linear-gradient(135deg, var(--theme-lavender-soft) 0%, var(--theme-bg) 50%, var(--theme-mint-soft) 100%);
  border-top: 1px solid var(--glass-border);
  color: var(--theme-ink-body);
  padding: 94px 0;
  scroll-margin-top: 110px;
}

.portfolio-podcast .section-header {
  margin-bottom: 42px;
}

.portfolio-podcast .section-sub-title {
  color: var(--theme-plum);
}

.portfolio-podcast .section-title {
  color: var(--theme-ink);
}

.portfolio-podcast .section-header p {
  max-width: 680px;
  margin: 16px auto 18px;
  color: var(--theme-ink-body);
  font-size: 15px;
  line-height: 1.75;
}

.portfolio-podcast .section-header strong {
  color: var(--theme-ink);
  font-weight: 600;
}

.podcast-channels {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
}

.podcast-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--theme-teal);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: color 0.25s ease;
}

.podcast-channel-link:hover {
  color: var(--theme-plum);
}

.podcast-channel-sep {
  color: var(--theme-ink-muted);
}

/* Featured / Active Spotlight Stage */
.podcast-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  padding: 30px;
  border-radius: 26px;
  border: 1.5px solid var(--glass-border);
  border-top: 4px solid var(--theme-teal);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  align-items: center;
}

.podcast-player-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--theme-ink);
  border: 1px solid var(--theme-mint-border);
}

.podcast-player-facade,
.podcast-player-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.podcast-player-facade[hidden],
.podcast-player-frame[hidden] {
  display: none;
}

.podcast-stage-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.podcast-player-facade:hover .podcast-stage-thumb {
  transform: scale(1.03);
}

.podcast-player-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.18) 45%,
    rgba(0, 0, 0, 0.38) 100%
  );
  pointer-events: none;
}

.podcast-stage-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--theme-mint-border);
  color: var(--theme-teal);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.podcast-duration-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(29, 36, 43, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.podcast-play-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--theme-teal), var(--theme-plum));
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 34px rgba(31, 94, 91, 0.4), 0 0 0 10px rgba(201, 228, 222, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.podcast-play-trigger svg {
  margin-left: 3px;
}

.podcast-play-trigger:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: linear-gradient(135deg, var(--theme-teal-hover), var(--theme-plum-hover));
  box-shadow: 0 14px 40px rgba(83, 65, 117, 0.45), 0 0 0 14px rgba(219, 205, 240, 0.55);
}

.podcast-player-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Stage Body */
.podcast-stage-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.podcast-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.podcast-role-badge.is-hosted {
  background: var(--theme-mint);
  border: 1px solid var(--theme-mint-border);
  color: var(--theme-teal);
}

.podcast-role-badge.is-guest {
  background: var(--theme-lavender);
  border: 1px solid var(--theme-lavender-border);
  color: var(--theme-plum);
}

.podcast-meta-item {
  color: var(--theme-ink-muted);
  font-size: 13px;
  font-weight: 500;
}

.podcast-meta-item + .podcast-meta-item::before {
  content: "\2022";
  margin-right: 12px;
  color: var(--theme-mint-border);
}

.podcast-stage-title {
  margin: 0;
  color: var(--theme-ink);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.28;
}

.podcast-stage-with {
  margin: -4px 0 0;
  color: var(--theme-teal);
  font-size: 14px;
  font-weight: 600;
}

.podcast-stage-summary {
  margin: 0;
  color: var(--theme-ink-body);
  font-size: 14.5px;
  line-height: 1.72;
}

/* Interactive Key Moments / Chapters */
.podcast-chapters {
  padding-top: 12px;
  border-top: 1px solid var(--theme-border);
}

.podcast-chapters[hidden] {
  display: none;
}

.podcast-chapters-label {
  display: block;
  margin-bottom: 10px;
  color: var(--theme-ink-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

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

.podcast-chapter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--theme-mint-border);
  background: var(--theme-mint-soft);
  color: var(--theme-ink);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.podcast-chapter-btn:hover,
.podcast-chapter-btn.is-active {
  border-color: var(--theme-teal);
  background: var(--theme-mint);
  color: var(--theme-ink);
}

.podcast-chapter-time {
  color: var(--theme-teal);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.podcast-chapter-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Stage CTA Row */
.podcast-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.podcast-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--theme-teal), var(--theme-plum));
  color: #ffffff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.podcast-btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--theme-teal-hover), var(--theme-plum-hover));
  box-shadow: 0 10px 26px rgba(31, 94, 91, 0.28);
}

.podcast-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--theme-lavender-border);
  background: var(--theme-lavender-soft);
  color: var(--theme-plum);
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.podcast-btn-secondary:hover {
  border-color: var(--theme-plum);
  color: #ffffff;
  background: var(--theme-plum);
}

/* Episode Library & Filter Controls */
.podcast-library {
  margin-top: 42px;
}

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

.podcast-library-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.podcast-library-title {
  margin: 0;
  color: var(--theme-ink);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  font-weight: 700;
}

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

.podcast-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.podcast-filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--theme-mint-border);
  background: var(--theme-surface);
  color: var(--theme-ink-body);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.podcast-filter-btn span {
  opacity: 0.72;
}

.podcast-filter-btn:hover {
  border-color: var(--theme-teal);
  color: var(--theme-teal);
}

.podcast-filter-btn.is-active {
  border-color: var(--theme-teal);
  background: var(--theme-mint);
  color: var(--theme-teal);
  font-weight: 600;
}

/* Episode Cards Grid */
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.podcast-card {
  min-width: 0;
  border-radius: 20px;
  border: 1.5px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.podcast-card[hidden] {
  display: none;
}

.podcast-card:hover {
  transform: translateY(-3px);
  border-color: #ffffff;
  box-shadow: var(--glass-shadow-hover);
}

.podcast-card.is-active {
  border-color: var(--glass-border);
  background: linear-gradient(135deg, rgba(219, 205, 240, 0.62), rgba(201, 228, 222, 0.62));
}

.podcast-card-trigger {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  height: 100%;
  padding: 14px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  align-items: center;
  cursor: pointer;
}

.podcast-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 11px;
  overflow: hidden;
  background: var(--theme-mint-soft);
}

.podcast-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.podcast-card:hover .podcast-card-thumb img {
  transform: scale(1.06);
}

.podcast-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--theme-teal);
  color: var(--theme-teal);
  display: grid;
  place-items: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.podcast-card-play svg {
  margin-left: 2px;
}

.podcast-card:hover .podcast-card-play,
.podcast-card.is-active .podcast-card-play {
  background: var(--theme-teal);
  color: #ffffff;
  transform: translate(-50%, -50%) scale(1.06);
}

.podcast-card-duration {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(29, 36, 43, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.podcast-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.podcast-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 10px;
}

.podcast-card-show {
  color: var(--theme-plum);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.podcast-card-date {
  color: var(--theme-ink-muted);
  font-size: 11.5px;
}

.podcast-card-title {
  margin: 0;
  color: var(--theme-ink);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-card-with {
  margin: 0;
  color: var(--theme-ink-body);
  font-size: 12.5px;
}

.podcast-card-cue {
  margin-top: 2px;
  color: var(--theme-teal);
  font-size: 12.5px;
  font-weight: 600;
}

.podcast-noscript {
  margin-top: 20px;
  color: var(--theme-ink-muted);
  text-align: center;
  font-size: 14px;
}

.podcast-noscript a {
  color: var(--theme-teal);
  text-decoration: underline;
}

.portfolio-podcast a:focus-visible,
.portfolio-podcast button:focus-visible {
  outline: 2px solid var(--theme-teal);
  outline-offset: 2px;
}

/* Keep the desktop navigation single-row with the added Podcast link */
@media (min-width: 992px) {
  .header-container .main-menu > ul {
    gap: clamp(8px, 0.9vw, 18px);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header-container {
    max-width: 100%;
    padding-inline: 16px;
  }
  .header-container > .row {
    gap: 8px;
    --bs-gutter-x: 0.75rem;
  }
  .header-container > .row > div:first-child {
    gap: 12px;
  }
  .header-container .logo,
  .header-container .logo img {
    max-width: 96px;
  }
  .header-container .main-menu > ul {
    gap: 8px;
  }
  .header-container .main-menu > ul > li > a {
    font-size: 10px;
    letter-spacing: 0;
  }
  .header-container .moblide-header .header-right .btn-primary .btn-wrapper {
    padding-inline: 12px;
    font-size: 12px;
  }
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
  .podcast-stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    padding: 24px;
  }

  .podcast-card-trigger {
    grid-template-columns: 164px minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 991px) {
  .portfolio-podcast {
    padding: 64px 0;
  }

  .podcast-stage {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }

  .podcast-grid {
    grid-template-columns: 1fr;
  }

  .podcast-card-trigger {
    grid-template-columns: 196px minmax(0, 1fr);
  }
}

@media (max-width: 575px) {
  .portfolio-podcast .section-title {
    font-size: 30px;
  }

  .podcast-stage {
    padding: 16px;
    border-radius: 18px;
  }

  .podcast-play-trigger {
    width: 60px;
    height: 60px;
  }

  .podcast-play-trigger svg {
    width: 22px;
    height: 22px;
  }

  .podcast-card-trigger {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .podcast-chapter-text {
    white-space: normal;
  }
}
