.podcast-container {
  border: 1px solid #ccc;
  padding: 1em;
  max-width: 700px;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  margin: 1em auto;
}

.podcast-header {
  display: flex;
  gap: 1em;
  margin-bottom: 1.5em;
  align-items: flex-start;
  flex-direction: row;
}

.podcast-cover {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.podcast-info {
  flex: 1;
}

.podcast-title {
  margin-top: 0;
  text-decoration: none;
}

.podcast-description {
  margin-bottom: 0;
}

.podcast-episode {
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px solid #ddd;
}

.podcast-episode-title {
  text-decoration: none;
  /* color: #0073aa; */
}

.podcast-episode-meta {
  font-size: 0.85em;
  color: #666;
}

.podcast-episode-description {
  font-size: 0.95em;
  color: #333;
}

.podcast-episode-links {
  font-size: 0.85em;
}

.podcast-episode-links a {
  margin-right: 1em;
}

.podcast-episode-link-btn {
  display: inline-block;
  margin-right: 1em;
  margin-bottom: 0.5em;
  padding: 7px 16px;
  background-color: #0073aa;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95em;
  cursor: pointer;
  transition: background 0.2s;
}

.podcast-episode-link-btn:hover {
  background-color: #005177;
  color: #fff;
  text-decoration: none;
}

.podcast-load-more {
  margin-top: 1em;
  padding: 8px 16px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.podcast-load-more:hover {
  background-color: #005177;
}

.podcast-back-button {
  margin-top: 1em;
  padding: 8px 16px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.podcast-back-button:hover {
  background-color: #005177;
}

.podcast-audio {
  width: 100%;
  margin: 1em 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  background: #f4f4f4;
  min-height: 44px;
}

.podcast-audio:focus {
  outline: 2px solid #0073aa;
  outline-offset: 2px;
}

/* Скрыть стандартный фон и сделать компактнее */
audio::-webkit-media-controls-panel {
  background-color: #f4f4f4;
  border-radius: 8px;
}

/* Увеличить элементы управления на мобильных */
@media (max-width: 768px) {
  .podcast-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .podcast-cover {
    width: 120px;
    height: 120px;
  }

  .podcast-container {
    margin: 1em;
    padding: 0.8em;
  }

  .podcast-audio {
    min-height: 56px;
  }
}

/* Sticky-плеер (если понадобится, добавить класс .podcast-audio-sticky на audio) */
.podcast-audio-sticky {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.12);
}

/* Loading and error states */
.podcast-loading,
.podcast-error {
  color: #666;
  text-align: center;
  padding: 1em;
}

.podcast-title-link {
  color: #222;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.2s;
}
.podcast-title-link:hover {
  color: #0073aa;
  text-decoration: underline;
} 