/* Newstro Podcast Section Styles */
:root {
  --podcast-bg: #12141a;
  --podcast-card: #1c202a;
  --podcast-card-border: #2c3242;
  --podcast-red: #d32f2f;
  --podcast-red-hover: #b71c1c;
  --podcast-text-main: #f0f2f5;
  --podcast-text-muted: #9aa2b2;
}

body[data-page="podcast"] {
  background-color: var(--podcast-bg);
  color: var(--podcast-text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.podcast-main {
  min-height: 80vh;
}

/* Hero Section */
.podcast-hero {
  background: radial-gradient(circle at 75% 20%, rgba(211, 47, 47, 0.18), transparent 50%),
              linear-gradient(180deg, #181b24 0%, #12141a 100%);
  border-bottom: 1px solid var(--podcast-card-border);
  padding: 40px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-thumb-card {
  position: relative;
  background: var(--podcast-card);
  border: 1px solid var(--podcast-card-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, border-color 0.2s ease;
  width: 100%;
}

.hero-thumb-card:hover {
  border-color: rgba(211, 47, 47, 0.5);
  transform: translateY(-2px);
}

.hero-thumb-card .card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-thumb-card .card-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
}

.hero-thumb-card .card-bar-right {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--podcast-red);
}

.hero-thumb-card .thumb-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  display: block;
}

.hero-thumb-card .thumb-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.hero-thumb-card .thumb-meta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 18px;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.thumb-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--podcast-red);
}

.thumb-host {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--podcast-text-muted);
}

.cover-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(18, 20, 26, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--podcast-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--podcast-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.eyebrow-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--podcast-red);
  margin-bottom: 8px;
}

.podcast-title {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  color: #fff;
}

.podcast-subtitle {
  font-size: 17px;
  line-height: 1.5;
  color: var(--podcast-text-muted);
  margin: 0 0 18px 0;
  max-width: 650px;
}

.host-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 13px;
  color: #d8dde6;
  margin-bottom: 24px;
}

/* Player Card */
.player-card {
  background: var(--podcast-card);
  border: 1px solid var(--podcast-card-border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
}

.player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.player-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--podcast-red);
}

.player-timestamp {
  font-size: 12px;
  color: var(--podcast-text-muted);
}

.player-ep-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 18px 0;
  color: #fff;
  line-height: 1.4;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-play-main {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--podcast-red);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.4);
}

.btn-play-main:hover {
  background: var(--podcast-red-hover);
  transform: scale(1.05);
}

.scrubber-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.time-display {
  font-size: 12px;
  color: var(--podcast-text-muted);
  font-variant-numeric: tabular-nums;
}

.scrubber-wrap input[type="range"] {
  width: 100%;
  height: 6px;
  accent-color: var(--podcast-red);
  cursor: pointer;
}

.speed-wrap .btn-speed {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-vol {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}

.volume-wrap input[type="range"] {
  width: 75px;
  height: 4px;
  accent-color: var(--podcast-red);
  cursor: pointer;
}

/* Subscribe Bar */
.subscribe-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sub-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--podcast-text-muted);
}

.sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sub-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

/* Sections */
.briefing-stories, .podcast-archive {
  padding: 48px 0;
  border-bottom: 1px solid var(--podcast-card-border);
}

.section-head {
  margin-bottom: 28px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--podcast-red);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.section-kicker span {
  display: inline-block;
  width: 14px;
  height: 3px;
  background: var(--podcast-red);
}

.section-head h2 {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 32px;
  text-transform: uppercase;
  margin: 0 0 6px 0;
  color: #fff;
}

.section-head p {
  color: var(--podcast-text-muted);
  margin: 0;
  font-size: 15px;
}

/* Stories Grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.podcast-story-card {
  background: var(--podcast-card);
  border: 1px solid var(--podcast-card-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.podcast-story-card:hover {
  transform: translateY(-3px);
  border-color: rgba(211, 47, 47, 0.5);
}

.story-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.story-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-cat-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(18, 20, 26, 0.88);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 4px;
  border-left: 3px solid var(--podcast-red);
}

.story-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.story-content h3 {
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 8px 0;
}

.story-content h3 a {
  color: #fff;
  text-decoration: none;
}

.story-content h3 a:hover {
  color: var(--podcast-red);
}

.story-content p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--podcast-text-muted);
  margin: 0 0 14px 0;
  flex: 1;
}

.read-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--podcast-red);
  text-decoration: none;
}

.read-link:hover {
  text-decoration: underline;
}

/* Archive List */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.archive-row {
  background: var(--podcast-card);
  border: 1px solid var(--podcast-card-border);
  border-radius: 8px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.archive-meta {
  display: flex;
  flex-direction: column;
  width: 180px;
  flex-shrink: 0;
}

.archive-date {
  font-size: 12px;
  color: var(--podcast-text-muted);
}

.archive-duration {
  font-size: 13px;
  font-weight: 700;
  color: var(--podcast-red);
}

.archive-title {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.archive-title strong {
  font-size: 15px;
  color: #fff;
}

.archive-title span {
  font-size: 13px;
  color: var(--podcast-text-muted);
}

.archive-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-play-archive, .btn-download {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-play-archive:hover, .btn-download:hover {
  background: var(--podcast-red);
  border-color: var(--podcast-red);
}

/* Responsive adjustments */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-thumb-card {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
  }
  .podcast-title {
    font-size: 38px;
  }
  .archive-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
