/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

a {
  color: #1a1a1a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  border-bottom: 1px solid #e5e5e5;
  padding: 2.5rem 1rem;
}

.header-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.show-artwork img {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.header-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}

.site-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.site-subtitle {
  color: #666;
  font-size: 0.95rem;
}

.site-author {
  color: #888;
  font-size: 0.85rem;
}

.subscribe-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.subscribe-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.subscribe-links a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.subscribe-links a.btn-apple {
  background-color: #872ec4;
}

.subscribe-links a.btn-spotify {
  background-color: #1db954;
}

.subscribe-links a.btn-rss {
  background-color: #f26522;
}

/* Main */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

/* Episode list (index) */
.season-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.75rem 0 0.5rem;
  border-bottom: 2px solid #e5e5e5;
  margin-top: 0.5rem;
}

.season-heading:first-child {
  margin-top: 0;
  padding-top: 1.25rem;
}

.episodes-list {
  display: flex;
  flex-direction: column;
}

a.episode-card {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}

a.episode-card:hover {
  text-decoration: none;
  background-color: #fafafa;
}

.episode-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
}

a.episode-card:hover .episode-title {
  text-decoration: underline;
}

.episode-meta {
  font-size: 0.8rem;
  color: #888;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

.episode-subtitle {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* Episode page */
.episode {
  padding-top: 1.5rem;
}

.episode-header {
  margin-bottom: 1.5rem;
}

.episode-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* Audio player */
.audio-player {
  margin-bottom: 1.5rem;
}

.audio-player audio {
  width: 100%;
}

/* Episode content */
.episode-content {
  margin-bottom: 2rem;
  line-height: 1.7;
}

.episode-content p {
  margin-bottom: 1rem;
}

.episode-content ul,
.episode-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.episode-content li {
  margin-bottom: 0.35rem;
}

.episode-content h2,
.episode-content h3,
.episode-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.episode-content a {
  color: #0066cc;
}

.episode-content a:hover {
  text-decoration: underline;
}

/* Download link */
.episode-download {
  margin-bottom: 1.5rem;
}

.episode-download a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
}

.episode-download a:hover {
  background-color: #444;
  text-decoration: none;
}

/* Back link */
.back-link {
  display: inline-block;
  font-size: 0.9rem;
  color: #888;
  text-decoration: none;
}

.back-link:hover {
  color: #333;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.site-footer p {
  font-size: 0.8rem;
  color: #999;
}

/* Responsive */
@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .show-artwork img {
    width: 120px;
    height: 120px;
  }

  .header-info {
    align-items: center;
  }

  .subscribe-links {
    justify-content: center;
  }

  .site-title {
    font-size: 1.3rem;
  }

  .episode-header h1 {
    font-size: 1.3rem;
  }
}
