/* Custom CSS for Podcasts page - Clean and Simple */

/* Base styles */
* {
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  color: #1f2937;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
}

/* Main content */
.podcasts-main {
  padding-top: 3rem;
  color: #1f2937;
  background: #fdfaf6;
  margin: 0;
}

/* Section styles */
.podcasts-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1rem 3rem 1rem;
}

/* Heading styles */
.podcasts-title {
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #913000;
}

/* Error message */
.error-message {
  background-color: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #b91c1c;
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  border-radius: 4px;
}

/* Grid layout */
.podcasts-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

/* Grid responsive breakpoints */
@media (min-width: 640px) {
  .podcasts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .podcasts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Podcast card styles */
.podcast-card {
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.podcast-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* Podcast image */
.podcast-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

/* Podcast content */
.podcast-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.podcast-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #913000;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.podcast-description {
  color: #374151;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Read more button */
.read-more-btn {
  color: #ffffff;
  background-color: #ffc42e;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: auto;
  text-align: center;
}

.read-more-btn:hover {
  background-color: #913000;
  color: #ffffff;
  transform: scale(1.05);
}

/* No podcasts message */
.no-podcasts {
  text-align: center;
  color: #374151;
  font-size: 1.125rem;
  grid-column: 1 / -1;
  padding: 2rem;
}

/* Loading state */
.loading {
  text-align: center;
  color: #6b7280;
  font-size: 1.125rem;
  padding: 2rem;
  grid-column: 1 / -1;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .podcasts-section {
    padding: 0.75rem 0.25rem 2rem 0.25rem;
  }
  
  .podcasts-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .podcasts-grid {
    gap: 0.375rem;
  }
  
  .podcast-content {
    padding: 1rem;
  }
  
  .podcast-title {
    font-size: 1.2rem;
  }
  
  .podcast-description {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
  
  .read-more-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}

@media (min-width: 768px) {
  .podcasts-section {
    padding: 1rem 0.5rem 2rem 0.5rem;
  }
  
  .podcasts-title {
    font-size: 2.5rem;
  }
  
  .podcasts-grid {
    gap: 0.5rem;
  }
  
  .podcast-image {
    height: 180px;
  }
  
  .podcast-content {
    padding: 1.25rem;
  }
  
  .podcast-title {
    font-size: 1.3rem;
  }
  
  .podcast-description {
    font-size: 0.9rem;
  }
  
  .read-more-btn {
    font-size: 0.85rem;
    padding: 0.625rem 1.125rem;
  }
}

@media (min-width: 1024px) {
  .podcasts-section {
    padding: 1rem 0.25rem 2rem 0.25rem;
  }
  
  .podcasts-title {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
  }
  
  .podcasts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
  }
  
  .podcast-image {
    height: 180px;
  }
  
  .podcast-content {
    padding: 1.5rem;
  }
  
  .podcast-title {
    font-size: 1.25rem;
  }
  
  .podcast-description {
    font-size: 1rem;
  }
  
  .read-more-btn {
    font-size: 0.875rem;
    padding: 0.75rem 1.25rem;
  }
}