/**
 * Podcast & Video Catalogue Section - Redesigned from Figma
 * Layout: Large featured left + 2 horizontal cards right + 3 medium cards bottom
 */

.podcast-section-redesign {
  padding: var(--space-16) 0;
  background-color: var(--color-white);
}

/* Main Grid Layout */
.podcast-grid-redesign {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

/* Featured Large Video (Left - spans 2 rows) */
.podcast-featured {
  grid-row: span 2;
  position: relative;
}

.podcast-featured-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-gray-900);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.podcast-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.podcast-featured-image:hover img {
  transform: scale(1.05);
}

.podcast-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  pointer-events: none;
}

/* Play Button Overlay (Large) */
.podcast-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  opacity: 0;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 8px;
}

.podcast-featured-image:hover .podcast-play-overlay {
  opacity: 1;
}

.podcast-play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Type Badge (Video/Podcast) */
.podcast-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 2;
}

.podcast-badge-video {
  background-color: #fb2c36;
  color: white;
}

.podcast-badge-podcast {
  background-color: #ad46ff;
  color: white;
}

/* Duration Badge */
.podcast-duration {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
}

/* Featured Content Overlay */
.podcast-featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  color: white;
  z-index: 2;
}

.podcast-meta-inline {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.podcast-episode {
  display: inline-block;
  padding: 4px 8px;
  background: var(--color-primary);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.podcast-date {
  font-size: 14px;
  opacity: 0.9;
}

.podcast-featured-content h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-2);
  line-height: var(--line-height-tight);
  color: white;
}

.podcast-host {
  font-size: var(--font-size-sm);
  opacity: 0.9;
  margin-bottom: var(--space-3);
}

.podcast-views {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-size-sm);
}

/* Side Items (Right - 2 horizontal cards) */
.podcast-side-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.podcast-card-horizontal {
  display: flex;
  gap: var(--space-4);
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  cursor: pointer;
  height: 160px;
}

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

.podcast-card-image-small {
  position: relative;
  width: 128px;
  height: 128px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 16px;
}

.podcast-card-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.podcast-card-horizontal:hover .podcast-card-image-small img {
  transform: scale(1.1);
}

/* Play Button Small */
.podcast-play-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  color: var(--color-primary);
  cursor: pointer;
  opacity: 0;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
}

.podcast-card-horizontal:hover .podcast-play-small {
  opacity: 1;
}

.podcast-play-small:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: white;
}

/* Duration Small */
.podcast-duration-small {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* Card Content Small */
.podcast-card-content-small {
  flex: 1;
  padding: 16px 16px 16px 0;
  display: flex;
  flex-direction: column;
}

.podcast-badge-small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  width: fit-content;
  margin-bottom: var(--space-2);
}

.podcast-badge-small.podcast-badge-video {
  background-color: #ffe2e2;
  color: #e7000b;
}

.podcast-badge-small.podcast-badge-podcast {
  background-color: #f3e8ff;
  color: #9810fa;
}

.podcast-card-content-small h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gray-900);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-host-small {
  font-size: 12px;
  color: var(--color-gray-600);
  margin-bottom: var(--space-2);
}

.podcast-meta-small {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 12px;
  color: var(--color-gray-600);
  margin-top: auto;
}

.podcast-meta-small span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Bottom Row (3 medium cards) */
.podcast-bottom-row {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.podcast-card-medium {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  cursor: pointer;
}

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

.podcast-card-image-medium {
  position: relative;
  width: 100%;
  height: 192px;
  overflow: hidden;
}

.podcast-card-image-medium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.podcast-card-medium:hover .podcast-card-image-medium img {
  transform: scale(1.05);
}

/* Play Button Medium */
.podcast-play-medium {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  color: var(--color-primary);
  cursor: pointer;
  opacity: 0;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
}

.podcast-card-medium:hover .podcast-play-medium {
  opacity: 1;
}

.podcast-play-medium:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: white;
}

/* Badge Medium */
.podcast-badge-medium {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 2;
}

.podcast-badge-medium.podcast-badge-video {
  background-color: #fb2c36;
  color: white;
}

.podcast-badge-medium.podcast-badge-podcast {
  background-color: #ad46ff;
  color: white;
}

/* Duration Medium */
.podcast-duration-medium {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

/* Card Content Medium */
.podcast-card-content-medium {
  padding: var(--space-4);
}

.podcast-meta-inline-small {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.podcast-episode-small {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-gray-100);
  color: var(--color-gray-700);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.podcast-date-small {
  font-size: 12px;
  color: var(--color-gray-600);
}

.podcast-card-content-medium h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gray-900);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-2);
}

.podcast-host-medium {
  font-size: 14px;
  color: var(--color-gray-600);
  margin-bottom: var(--space-3);
}

.podcast-views-small {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--color-gray-600);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .podcast-grid-redesign {
    grid-template-columns: 1fr;
  }
  
  .podcast-featured {
    grid-row: auto;
  }
  
  .podcast-featured-image {
    min-height: 360px;
  }
  
  .podcast-bottom-row {
    grid-column: span 1;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .podcast-section-redesign {
    padding: var(--space-12) 0;
  }
  
  .podcast-featured-image {
    min-height: 280px;
  }
  
  .podcast-play-overlay {
    width: 64px;
    height: 64px;
  }
  
  .podcast-featured-content {
    padding: var(--space-4);
  }
  
  .podcast-featured-content h3 {
    font-size: var(--font-size-lg);
  }
  
  .podcast-card-horizontal {
    height: auto;
    flex-direction: column;
  }
  
  .podcast-card-image-small {
    width: 100%;
    height: 160px;
    margin: 0;
    border-radius: 0;
  }
  
  .podcast-card-content-small {
    padding: var(--space-4);
  }
  
  .podcast-bottom-row {
    grid-template-columns: 1fr;
  }
  
  .podcast-card-image-medium {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .podcast-featured-image {
    min-height: 240px;
  }
  
  .podcast-play-overlay {
    width: 48px;
    height: 48px;
  }
  
  .podcast-play-overlay svg {
    width: 24px;
    height: 24px;
  }
}
