/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #374151;
  background: linear-gradient(135deg, #ebf8ff 0%, #e0e7ff 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0rem;
/* 	background:#ffffff; */
}

/* Header Styles - Non-sticky */
.header {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 2rem 0;
  /* Removed any sticky positioning */
  position: static;
  margin-top: 110px;
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
	margin-bottom: 2rem;
margin-top: 3rem;
	
}

.podcast-image img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-info h1 {
  font-size: 4.3rem;
  font-weight: 600 !important;
	font-family:'Poppins';
  color: #111827;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 2.25rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.description {
  color: #374151;
  line-height: 1.7;
  max-width: 70rem;
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #f3f4f6;
  color: #000000;
  padding: 0.25rem 0.99rem;
  border-radius: 9999px;
  font-size: 1.2rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
}

/* Main Content */
.main-content {
  padding: 3rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-header h2 {
  font-size: 3.5rem;
	font-family:"Poppins";
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #6b7280;
  font-size: 1.7rem;
}

/* Episodes per page selector */
.episodes-per-page {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
}

.episodes-per-page label {
  font-size: 1.5rem;
  color: #6b7280;
  white-space: nowrap;
}

.episodes-per-page select {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1.5rem;
  background: white;
  color: #374151;
  min-width: 60px;
}

.episodes-per-page select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e5e7eb;
  border-top: 3px solid #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Episodes Grid */
.episodes-grid {
  display: grid;
  gap: 0; /* Remove gaps between cards to make them touch */
  margin-bottom: 3rem;
}

.episode-card {
  background: white;
  border-radius: 0; /* Remove border radius to make cards touch */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Reduce shadow for cleaner look */
  border-bottom: 1px solid #e5e7eb; /* Add border between cards */
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-bottom: 2rem;
  max-width: 100%;
  padding: 1.5rem; /* Add padding inside card for spacing */
}

.episode-card:first-child {
  border-top-left-radius: 12px; /* Round top corners of first card */
  border-top-right-radius: 12px;
}

.episode-card:last-child {
  border-bottom-left-radius: 12px; /* Round bottom corners of last card */
  border-bottom-right-radius: 12px;
  border-bottom: none; /* Remove bottom border from last card */
}

.episode-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  z-index: 1; /* Ensure hovered card appears above others */
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.episode-content-wrapper {
  display: flex;
  flex-direction: column;
}

.episode-image {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px; /* Add border radius to image */
  margin-right: 1.5rem; /* Add margin between image and content */
}

.episode-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none; /* Remove transition to prevent blinking */
  opacity: 1;
  display: block;
}

.episode-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.play-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.play-btn:hover {
  background: white;
  transform: scale(1.05);
}

.play-btn i {
  color: #2563eb;
  font-size: 1rem;
  margin-left: 2px;
}

.episode-card:hover .episode-image img {
  transform: none;
}

.episode-info {
  padding: 0; /* Remove padding since card now has padding */
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

.episode-badge {
  display: inline-block;
  background: transparent;
  border: none;
  color: #6b7280;
  padding: 0;
  margin-bottom: 0.5rem;
  width: fit-content;
  font-size: 0.875rem;
  font-weight: 400;
}

.episode-title {
  font-size: 2.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
  display: block;
  line-height: 1.4;
}

.episode-title:hover {
  color: #2563eb;
}

.episode-description {
  color: #6b7280;
  margin-bottom: 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  font-size: 1.5rem;
}

.episode-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.topic-tag {
  background: #f8f9fa;
  color: #495057;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid #e9ecef;
}

.episode-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.episode-meta-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.episode-meta-info .duration {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.episode-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 1rem;
  bottom: 6.8rem;
	position:relative;
	        left: 60rem;

}

.episode-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
/* 	    top: 3.8rem; */
    position: relative;
}

.episode-actions .btn-primary {
  background: #1f2937;
  color: white;
  border: 1px solid #1f2937;
}

.episode-actions .btn-outline {
  background: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
}

.episode-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* buuton new play */

.episode-actions1 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 1rem;
  bottom: 6.8rem;
	position:relative;
	        left: 60rem;

}

.episode-actions1 .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
/* 	    top: 3.8rem; */
    position: relative;
}

.episode-actions1 .btn-primary {
  background: #1f2937;
  color: white;
  border: 1px solid #1f2937;
}

.episode-actions1 .btn-outline {
  background: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
}

.episode-actions1 .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.admin-controls {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.episode-card:hover .admin-controls {
  opacity: 1;
}

.upload-btn {
  background: rgba(37, 99, 235, 0.9);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.upload-btn:hover {
  background: rgba(29, 78, 216, 0.95);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 2.5rem 1.875rem;
  border-radius: 6px;
  font-size: 1.7rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: #111827;
  color: white;
}

.btn-primary:hover {
  background: #374151;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
}

.btn-outline:hover {
  background: #f9fafb;
  color: #374151;
  border-color: #9ca3af;
}

.btn-secondary {
  background: white;
  color: #2563eb;
  border: 1px solid #2563eb;
}

.btn-secondary:hover {
  background: #000000;
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn:disabled:hover {
  background: #f9fafb;
  color: #9ca3af;
  border-color: #d1d5db;
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin-top: 4rem;
}

.cta-card {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.cta-card h3 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-card p {
  color: #bfdbfe;
  margin-bottom: 2rem;
  font-size: 2.1rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

/* Pagination Styles */
.pagination-container {
  margin-top: 2rem;
  padding: 2rem 0;
  border-top: 1px solid #e5e7eb;
}

.pagination-info {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #6b7280;
  font-size: 1.1rem;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pagination-btn {
  min-width: 100px;
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
}

.page-number:hover {
  background: #f9fafb;
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-1px);
}

.page-number.active {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
}

.page-number.active:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #6b7280;
  font-weight: 500;
}

/* Episode Details Page Styles */
.episode-header {
  padding: 0rem 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
/*   margin-bottom: 2rem; */
/*   margin-top: 10rem; */
  transition: all 0.2s ease;
}

.back-link:hover {
  color: #2563eb;
  transform: translateX(-4px);
}

.episode-hero {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  margin-top: -15rem;
	background: #ffffff;
	padding-top: 4rem;
	padding-bottom: 6rem;
}

.episode-header .episode-image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.episode-header .episode-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.episode-meta {
  flex: 1;
}

.episode-badge {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.episode-meta h1 {
  font-size: 3.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
	font-family:"Poppins"
}

.episode-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1.5rem;
  color: #6b7280;
  font-weight: 500;
}

.episode-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.episode-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Episode Content */
.episode-content {
  padding: 0rem 0;
}

.content-grid {
  display: grid;
  gap: 2rem;
  max-width: 4xl;
  margin: 215px auto;
}

.content-card {
  background: white;
  margin-top: 19rem;
  margin-bottom: -10rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.content-card-header {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
	    margin-top: 0rem;
}

.content-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.content-card-body {
  padding: 2rem;
  margin-bottom: 6rem;
}

/* Guest Bio */
.guest-bio {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.guest-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 10%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guest-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guest-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.guest-title {
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 1rem;
}

.guest-description {
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.achievements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.achievements-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #374151;
}

.achievement-bullet {
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Show Notes */
.show-notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.show-notes-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.show-notes-list li:hover {
  background: #e2e8f0;
  transform: translateX(4px);
}

.note-number {
  background: #2563eb;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Quotes */
.quotes-list {
  display: grid;
  gap: 2rem;
}

.quote-item {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #2563eb;
  position: relative;
}

.quote-item::before {
  content: '"';
  font-size: 4rem;
  color: #2563eb;
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-family: serif;
  opacity: 0.3;
}

.quote-text {
  font-size: 1.6rem;
  font-style: italic;
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.quote-author {
  color: #6b7280;
  font-weight: 600;
  margin: 0;
}

/* Resources */
.resources-list {
  display: grid;
  gap: 1.5rem;
}

.resource-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.resource-item:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.resource-icon {
  color: #2563eb;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.resource-title {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
}

.resource-title:hover {
  text-decoration: underline;
}

.resource-description {
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* More Episodes */
.more-episodes {
  text-align: center;
  padding: 2rem;
}

.more-episodes p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

/* Not Found */
.not-found {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 500px;
  margin: 0 auto;
}

.not-found-icon {
  font-size: 4rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.not-found h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.not-found p {
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1.2rem;
}

/* Loading States */
.loading-placeholder {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}

.loading-placeholder i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.error-message {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
}

/* Notification styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #2563eb;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.3s ease;
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.close {
  color: #6b7280;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
  padding: 0.25rem;
  border-radius: 4px;
}

.close:hover,
.close:focus {
  color: #dc2626;
  background-color: #fef2f2;
}

.modal-body {
  padding: 2rem;
}

.loading-player {
  text-align: center;
  padding: 3rem 2rem;
  color: #6b7280;
}

.loading-player i {
  font-size: 2rem;
  margin-bottom: 1rem;
  animation: spin 1s linear infinite;
}

.loading-player p {
  margin: 0;
  font-weight: 500;
}

/* Modal animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive Design */
@media (min-width: 640px) {
  .section-title-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .episodes-per-page {
    align-self: flex-start;
  }

  .episode-actions {
    justify-content: flex-start;
  }

  .cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .header-content {
    flex-direction: row;
    align-items: center;
  }

  .episode-content-wrapper {
    flex-direction: row;
  }

  .episode-image {
    width: 192px;
    height: 192px;
    flex-shrink: 0;
  }

  .episode-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .episode-card {
    flex-direction: column;
    padding: 1rem; /* Reduce padding on mobile */
  }

  .episode-image {
    width: 100%;
    height: 192px;
    margin-right: 0; /* Remove margin on mobile */
    margin-bottom: 1rem; /* Add bottom margin on mobile */
  }

  .episode-info {
    min-height: auto;
  }

  .episode-hero {
    flex-direction: column;
    text-align: left;
  }

  .episode-header .episode-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    right: 130px;
  }

  .episode-meta h1 {
    font-size: 2rem;
  }

  .episode-actions {
    gap: 0.5rem;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .pagination-controls {
    flex-direction: column;
    gap: 1rem;
  }

  .pagination-numbers {
    order: -1;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .modal-header {
    padding: 1rem 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .close {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.375rem 0.75rem;
    font-size: 1.2rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .content-card {
    margin-top: 45rem;
    margin-bottom: -30rem;
  }
}
