/*  Layout radio  */
.contenidorRadio {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: stretch;
  gap: 48px;
}
.panellPodcast {
  height: 100%;
  max-height: 520px;
}

/*  Columna esquerra radio (logo)  */
.columnaEsquerraRadio {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
  gap: 20px;
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombra);
  padding: 40px 28px;
  border-bottom: 4px solid var(--rosa);
}

.radioDesc {
  font-family: 'Lora', serif;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--gris-sub);
  text-align: center;
}

/*  Columna dreta radio (podcast)  */
.columnaDretaRadio {
  flex: 1;
  min-width: 0;
}

/*  Panell podcast  */
.panellPodcast {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombra);
  border-bottom: 4px solid var(--rosa);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.radioCarregant {
  padding: 40px;
  text-align: center;
  color: var(--gris-sub);
  font-size: 0.9rem;
}

/*  Imatge del podcast  */
.podcastImatge {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

/*  Cos del podcast  */
.podcastCos {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.podcastPrograma {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rosa);
}

.podcastTitol {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--negre);
  line-height: 1.4;
}

.podcastDesc {
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--gris-text);
}

/*  Player d'àudio  */
.podcastPlayer {
  width: 100%;
  margin-top: 8px;
  accent-color: var(--rosa);
}

/*  Botons inferiors  */
.podcastNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: var(--rosa-soft);
  border-top: 1px solid rgba(175,21,86,0.12);
  margin-top: auto;
}

.podcastData {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gris-sub);
  letter-spacing: 0.05em;
}

.podcastEnllac {
  display: inline-block;
  background: var(--rosa);
  color: var(--blanc);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transicio);
}

.podcastEnllac:hover {
  background: var(--rosa-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(175,21,86,0.3);
}

/*  Responsive radio  */
@media (max-width: 768px) {
  .contenidorRadio {
    flex-direction: column;
    gap: 24px;
  }

  .columnaEsquerraRadio {
    flex: none;
    width: 100%;
    flex-direction: row;
    padding: 20px 24px;
    gap: 20px;
  }

  .columnaEsquerraRadio .logoLateral {
    max-width: 100px;
  }

  .columnaEsquerraRadio .slogan {
    text-align: left;
    font-size: 0.9rem;
  }

  .radioDesc {
    display: none;
  }

  .podcastImatge {
    height: 160px;
  }

  .podcastCos {
    padding: 16px 18px 20px;
  }
}
/*  Skeleton loading podcast  */
.podcast-skeleton {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  height: 100%;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

.podcast-skeleton__img {
  width: 100%;
  height: 220px;
  background: #e0e0e0;
}

.podcast-skeleton__cos {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.podcast-skeleton__line {
  height: 14px;
  background: #e0e0e0;
  border-radius: 4px;
}

.podcast-skeleton__line--curt   { width: 30%; }
.podcast-skeleton__line--mitja  { width: 75%; }
.podcast-skeleton__line--llarg  { width: 95%; }
.podcast-skeleton__line--player {
  height: 40px;
  width: 100%;
  border-radius: 50px;
  margin-top: 8px;
}

@keyframes skeletonPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

[data-theme="dark"] .podcast-skeleton__img,
[data-theme="dark"] .podcast-skeleton__line {
  background: #555;  
}

@media (max-width: 768px) {
  .podcast-skeleton__img { height: 160px; }
  .podcast-skeleton__cos { padding: 16px 18px 20px; }
}

/* RADIO ERROR*/
.radioError {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  padding: 32px;
  text-align: center;
}

.radioErrorBtn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 24px;
  border: 2px solid var(--rosa);
  color: var(--rosa);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radioErrorBtn:hover {
  background: var(--rosa);
  color: #fff;
}