/*
  Estilos para la sección de podcasts y reproductores
*/
.podcasts-main {
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto 2rem auto;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
}
.podcasts-title {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}
.podcasts-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.7rem;
  margin-bottom: 2.5rem;
}
.podcasts-category-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  padding: 0.3rem 1.1rem;
  border-radius: 1.2rem;
  transition:
    background 0.2s,
    color 0.2s;
  cursor: pointer;
}
.podcasts-category-link:hover,
.podcasts-category-link.active {
  background: #9e9e9e;
  color: #fff;
}
.podcast-category-section {
  margin-bottom: 3.5rem;
}
.podcast-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #9e9e9e;
}
.podcast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  justify-content: flex-start;
}

.podcast-block {
  flex: 1 1 calc(33.333% - 1.5rem);
  max-width: calc(33.333% - 1.5rem);
  min-width: 260px;
  box-sizing: border-box;
  margin-bottom: 0;
}
.podcast-block {
  display: grid;
  grid-template-rows: auto auto auto auto;
  grid-template-columns: 1fr;
  background: #f7f7f7;
  border-radius: 1rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  padding: 1.2rem 1rem;
  gap: 0.7rem;
}
.podcast-block img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 0.7rem;
  margin: 0 auto;
  display: block;
}
.podcast-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #222;
  margin: 0.2rem 0 0.1rem 0;
}
.podcast-date {
  font-size: 0.98rem;
  color: #666;
  margin-bottom: 0.2rem;
}
.podcast-audio {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  display: block;
}
@media (max-width: 900px) {
  .podcast-list {
    gap: 1.2rem;
  }
  .podcast-block {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
    min-width: 180px;
  }
  .podcasts-main {
    padding: 1.2rem 0.5rem;
  }
  .podcasts-title {
    font-size: 1.5rem;
  }
  .podcast-category-title {
    font-size: 1.1rem;
  }
}
@media (max-width: 600px) {
  .podcast-list {
    flex-direction: column;
    gap: 1rem;
  }
  .podcast-block {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0.7rem 0.2rem;
  }
  .podcasts-main {
    padding: 0.7rem 0.1rem;
  }
  .podcasts-categories {
    gap: 0.5rem;
    font-size: 0.98rem;
  }
  .podcast-title {
    font-size: 1rem;
  }
}
