/* Podcast Banner Styles - Section Card Style */

.podcast-banner {
  width: 100%;
  margin: 3rem 0;
}

.podcast-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.podcast-section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: var(--font-weight-normal);
  color: var(--text-accent);
  margin-bottom: 3rem;
}

.podcast-card {
  background: var(--banner2-bg);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal) var(--cubic-smooth);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.podcast-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.podcast-card-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* Podcast Information Section (Left Side) */
.podcast-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 20;
}

.podcast-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: var(--font-weight-normal);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-accent);
}

.podcast-description {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.podcast-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.podcast-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.podcast-meta-item::before {
  content: '•';
  color: var(--hsi-orange);
  font-weight: bold;
}

.podcast-meta-item:first-child::before {
  display: none;
}

/* Podcast Player Section (Right Side) */
.podcast-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 15;
}

.audio-player {
  width: 100%;
  max-width: 320px;
  height: 50px;
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal) var(--cubic-smooth);

}

.audio-player:hover {
  /* background: rgba(255, 255, 255, 0.15); */
  border-color: var(--hsi-accent);
  transform: scale(1.12);
    box-shadow: var(--shadow-xl);
}

.audio-player:focus {
  outline: 2px solid var(--hsi-orange);
  outline-offset: 2px;
}

/* Custom audio player controls styling */
.audio-player::-webkit-media-controls-panel {
  background-color: transparent;
}

.audio-player::-webkit-media-controls-play-button,
.audio-player::-webkit-media-controls-pause-button {
  background-color: var(--hsi-orange);
  border-radius: 50%;
}

.audio-player::-webkit-media-controls-timeline {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  margin: 0 10px;
}

.audio-player::-webkit-media-controls-current-time-display,
.audio-player::-webkit-media-controls-time-remaining-display {
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.75rem;
}

.audio-player::-webkit-media-controls-volume-slider {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 25px;
}

/* Player Status and Controls */
.player-status {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-primary);
}

.player-controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  justify-content: center;
}

.player-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-normal) var(--cubic-smooth);
  font-size: 1rem;
  backdrop-filter: blur(5px);
}

.player-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--hsi-orange);
  color: var(--text-accent);
  transform: scale(1.1);
}

.player-btn:focus {
  outline: 2px solid var(--hsi-orange);
  outline-offset: 2px;
}

.player-btn:active {
  transform: scale(0.95);
}

.player-btn.active {
  background: var(--hsi-orange);
  border-color: var(--hsi-orange);
  color: white;
}

/* Error and Loading States */
.podcast-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-family: var(--font-primary);
}

.podcast-error h4 {
  font-family: var(--font-heading);
  color: var(--text-accent);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.podcast-error p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.podcast-error .retry-btn {
  background: var(--hsi-orange);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.podcast-error .retry-btn:hover {
  background: var(--hsi-blue);
  transform: translateY(-2px);
}

.podcast-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--text-secondary);
  font-family: var(--font-primary);
}

/* Background Decorative Elements */
.podcast-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(50%, -50%);
  pointer-events: none;
}

.podcast-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, 50%);
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .podcast-banner {
    margin: 2rem 0;
  }
  
  .podcast-content {
    padding: 0 1rem;
  }
  
  .podcast-section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .podcast-card {
    padding: 2rem;
  }
  
  .podcast-card-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .podcast-info {
    order: 1;
  }
  
  .podcast-player {
    order: 2;
  }
  
  .podcast-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .podcast-description {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
  
  .audio-player {
    max-width: 100%;
    height: 45px;
  }
  
  .podcast-meta {
    justify-content: center;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .podcast-section-title {
    font-size: 1.75rem;
  }
  
  .podcast-card {
    padding: 1.5rem;
  }
  
  .podcast-title {
    font-size: 1.25rem;
  }
  
  .podcast-description {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .audio-player {
    height: 40px;
  }
  
  .player-controls {
    gap: 0.5rem;
  }
  
  .player-btn {
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
  }
  
  .podcast-meta {
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
  }
  
  .podcast-meta-item::before {
    display: none;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  .podcast-banner,
  .audio-player,
  .player-btn {
    transition: none;
  }
  
  .podcast-banner:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .podcast-banner {
    border: 2px solid currentColor;
  }
  
  .audio-player {
    border-color: currentColor;
    background: rgba(0, 0, 0, 0.8);
  }
  
  .player-btn {
    border-color: currentColor;
    background: rgba(0, 0, 0, 0.8);
  }
}

/* Print styles */
@media print {
  .podcast-banner {
    background: none !important;
    border: 2px solid #000;
    box-shadow: none;
  }
  
  .podcast-player {
    display: none;
  }
  
  .podcast-content {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}