/* Video Carousel & Watch Page Styles
 * Extracted from style.css for conditional loading
 * Loaded on: watch page only
 */

/* ========================================
   VIDEO CAROUSEL & SEARCH
   ======================================== */

.video-search-section {
  position: relative;
  z-index: 10;
}

.video-search-input {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
  padding: 15px 25px;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 215, 0, 0.2);
  border-radius: 50px;
  background: var(--wp--preset--color--dark-charcoal);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--wp--preset--color--white);
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .video-search-input {
    max-width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }

  .video-search-section {
    padding: 0;
  }
}

.video-search-input:focus {
  outline: 2px solid var(--wp--preset--color--gold-bright);
  outline-offset: 2px;
  border-color: var(--wp--preset--color--gold-bright);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

.video-carousel-container {
  position: relative;
  padding: 20px 0;
}

.video-carousel-query .wp-block-post-template {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 30px;
  padding: 20px 5px 40px 5px; /* Bottom padding for shadow */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  margin: 0; /* Reset default list margin */
  list-style: none; /* Remove bullets */
}

.video-carousel-query .wp-block-post-template::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.video-carousel-query .wp-block-post-template li {
  flex: 0 0 320px;
  scroll-snap-align: center;
  transform-origin: center center;
  transition: all 0.3s ease;
}

/* Target the inner card for hover effects */
.video-carousel-query .wp-block-post-template li .carousel-item {
  height: 100%;
  cursor: pointer;
}

.video-carousel-query .wp-block-post-template li:hover {
  transform: translateY(-10px) scale(1.02);
  z-index: 5;
}

.video-carousel-query .wp-block-post-template li:hover .carousel-item {
  box-shadow: 0 15px 40px rgba(61, 40, 23, 0.15) !important;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--wp--preset--color--dark-charcoal);
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--wp--preset--color--gold-bright);
}

.carousel-nav:hover {
  background: var(--wp--preset--color--burgundy);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
  left: -25px;
}

.carousel-nav.next {
  right: -25px;
}

@media (max-width: 767px) {
  .carousel-nav {
    display: none; /* Hide nav buttons on mobile, use swipe */
  }
  .carousel-item {
    flex: 0 0 280px;
  }
}


/* ========================================
   WATCH PAGE - HERO SECTION
   ======================================== */

.watch-page {
  background-color: var(--wp--preset--color--rich-black);
}

.watch-hero {
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Compact hero for carousel-first layout */
.watch-hero--compact.watch-hero--compact {
  padding-top: var(--wp--preset--spacing--60);
  padding-bottom: var(--wp--preset--spacing--40);
}

.watch-hero__title {
  margin-bottom: 12px;
  line-height: 1.1;
}

.watch-hero__subtitle {
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Gold Shimmer Text Animation */
.gold-shimmer-text {
  background: linear-gradient(
    90deg,
    var(--wp--preset--color--gold-deep) 0%,
    var(--wp--preset--color--gold-bright) 25%,
    var(--wp--preset--color--gold-shimmer) 50%,
    var(--wp--preset--color--gold-bright) 75%,
    var(--wp--preset--color--gold-deep) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3s linear infinite;
}

@keyframes goldShimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* ========================================
   WATCH PAGE - PROMINENT CAROUSEL SECTION
   ======================================== */

.watch-carousel-section--prominent {
  position: relative;
  z-index: 10;
}

/* Results Header - Above Carousel */
.pl-results-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pl-results-header__count {
  font-size: 18px;
  font-weight: 600;
  color: var(--wp--preset--color--warm-gray);
  font-family: var(--wp--preset--font-family--heading);
}

.pl-results-header__search-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  color: var(--wp--preset--color--gold-bright);
  font-size: 14px;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

.pl-results-header__search-icon {
  font-size: 14px;
}

.pl-results-header.has-search-results .pl-results-header__count {
  color: var(--wp--preset--color--gold-bright);
}

.pl-results-header.has-no-results .pl-results-header__count {
  color: var(--wp--preset--color--warm-gray);
}

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

/* Prominent Carousel Styling */
.pl-carousel--prominent {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.pl-carousel--prominent .pl-carousel__nav {
  background: var(--wp--preset--color--gold-bright);
  color: var(--wp--preset--color--rich-black);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.pl-carousel--prominent .pl-carousel__nav:hover:not(.disabled) {
  background: var(--wp--preset--color--gold-shimmer);
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

/* ========================================
   WATCH PAGE - FILTER UI (Below Carousel)
   ======================================== */

.watch-filters {
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 20;
}

.watch-filters--below-carousel {
  margin-top: 0;
  border-radius: 16px;
}

.pl-filters {
  width: 100%;
  padding: 0;
}

.pl-filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.pl-filters__row:last-child {
  margin-bottom: 0;
}

.pl-filters__row--search {
  align-items: center;
}

/* Primary search row - larger and more prominent */
.pl-filters__row--primary {
  margin-bottom: 24px;
}

.pl-filters__row--dropdowns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  align-items: end;
}

.pl-filters__group--clear {
  display: flex;
  align-items: flex-end;
}

.pl-filters__group {
  flex: 1;
  min-width: 180px;
}

.pl-filters__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wp--preset--color--gold-bright); /* Changed from warm-gray for more pop on dark */
  margin-bottom: 6px;
  font-family: var(--wp--preset--font-family--heading);
}

.pl-filters__label.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pl-filters__select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  font-size: 15px;
  font-family: var(--wp--preset--font-family--body);
  border: 2px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  background-color: var(--wp--preset--color--dark-charcoal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFD700' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--wp--preset--color--white);
}

.pl-filters__select:hover {
  border-color: var(--wp--preset--color--gold-metallic);
}

.pl-filters__select:focus {
  outline: 2px solid var(--wp--preset--color--gold-bright);
  outline-offset: 2px;
  border-color: var(--wp--preset--color--gold-bright);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.pl-filters__search-group {
  flex: 2;
  min-width: 280px;
  position: relative;
  display: flex;
  align-items: center;
}

/* Large search group for primary search */
.pl-filters__search-group--large {
  flex: 1;
  min-width: 100%;
  max-width: 700px;
  margin: 0 auto;
  position: relative !important; /* Ensure positioning context */
  display: flex;
  align-items: center;
}

.pl-filters__input {
  width: 100%;
  padding: 14px 90px 14px 20px; /* Large right padding to clear absolute icon */
  font-size: 16px;
  font-family: var(--wp--preset--font-family--body);
  border: 2px solid rgba(255, 215, 0, 0.2);
  border-radius: 50px;
  background-color: var(--wp--preset--color--dark-charcoal);
  transition: all 0.3s ease;
  color: var(--wp--preset--color--white);
}

/* Large input for primary search */
.pl-filters__input--large {
  padding: 18px 60px 18px 28px;
  font-size: 18px;
  border-width: 3px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pl-filters__input::placeholder {
  color: var(--wp--preset--color--warm-gray);
}

.pl-filters__input:hover {
  border-color: var(--wp--preset--color--gold-metallic);
}

.pl-filters__input:focus {
  outline: 2px solid var(--wp--preset--color--gold-bright);
  outline-offset: 2px;
  border-color: var(--wp--preset--color--gold-bright);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
}

.pl-filters__input--large:focus {
  box-shadow:
    0 0 0 4px rgba(255, 215, 0, 0.25),
    0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Integrated search icon - making it look like part of the input box */
.pl-filters__search-btn {
  position: absolute !important; /* Force absolute to override global button styles */
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  color: var(--wp--preset--color--warm-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 5;
  padding: 8px;
}

.pl-filters__search-btn--large {
  right: 22px;
}

.pl-filters__search-btn:hover,
.pl-filters__search-btn:focus {
  background: transparent;
  color: var(--wp--preset--color--gold-bright);
  transform: translateY(-50%) scale(1.1);
}

.pl-filters__search-btn:focus-visible {
  outline: 2px solid var(--wp--preset--color--gold-bright);
  outline-offset: 2px;
}

.pl-filters__search-btn:active {
  transform: translateY(-50%) scale(0.95);
  transition: transform 0.1s ease;
}

.pl-filters__clear {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--wp--preset--font-family--heading);
  border: 2px solid var(--wp--preset--color--warm-gray);
  border-radius: 8px;
  background: transparent;
  color: var(--wp--preset--color--warm-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.pl-filters__clear:hover {
  border-color: var(--wp--preset--color--burgundy);
  color: var(--wp--preset--color--burgundy);
}

/* Active Filters Tags */
.pl-filters__active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pl-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  background: var(--wp--preset--color--warm-beige);
  border-radius: 20px;
  color: var(--wp--preset--color--dark-charcoal);
}

.pl-filter-tag__remove {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: var(--wp--preset--color--warm-gray);
  color: var(--wp--preset--color--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  transition: background 0.2s ease;
}

.pl-filter-tag__remove:hover {
  background: var(--wp--preset--color--burgundy);
}

/* Results Info */
.pl-results-info {
  font-size: 14px;
  color: var(--wp--preset--color--warm-gray);
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 500;
}

.pl-results-info__count.error {
  color: var(--wp--preset--color--burgundy);
}

/* ========================================
   WATCH PAGE - CAROUSEL
   ======================================== */

.pl-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* PRD 5.3: Enable smooth horizontal scrolling */
.pl-carousel__track-wrapper {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  /* Hide scrollbar for cleaner look */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.pl-carousel__track-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* PRD 5.3: Cards flow naturally with scroll-snap */
.pl-carousel__track {
  display: flex;
  gap: 24px;
  padding: 10px 0; /* Room for hover shadow */
}

.pl-carousel__nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--gold-deep);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.pl-carousel__nav:hover:not(.disabled) {
  background: var(--wp--preset--color--gold-bright);
  color: var(--wp--preset--color--rich-black);
  transform: scale(1.1);
}

.pl-carousel__nav.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pl-carousel__nav svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  stroke: currentColor !important;
}

.pl-carousel__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 20px;
  color: var(--wp--preset--color--warm-gray);
}

.pl-carousel__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--wp--preset--color--gold-bright);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.pl-carousel__empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--wp--preset--color--warm-gray);
}

.pl-carousel__empty p {
  margin-bottom: 16px;
  font-size: 16px;
}

.pl-carousel__empty-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--wp--preset--font-family--heading);
  border: 2px solid var(--wp--preset--color--gold-bright);
  border-radius: 8px;
  background: transparent;
  color: var(--wp--preset--color--gold-deep);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pl-carousel__empty-btn:hover {
  background: var(--wp--preset--color--gold-bright);
  color: var(--wp--preset--color--rich-black);
}

/* Pagination Dots */
.pl-carousel__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.pl-carousel__dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.pl-carousel__dot:hover {
  background: var(--wp--preset--color--gold-metallic);
}

.pl-carousel__dot.active {
  background: var(--wp--preset--color--gold-bright);
  transform: scale(1.2);
}

/* ========================================
   WATCH PAGE - EPISODE CARDS
   ======================================== */

/* Support both class names - PRD 5.1: Larger cards */
.pl-card,
.pl-episode-card {
  flex: 0 0 calc(25% - 18px);
  min-width: 320px; /* Increased from 280px */
  max-width: 400px; /* Increased from 360px */
  background: var(--wp--preset--color--rich-black); /* PRD 5.6: Dark background */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: none; /* US-103: Removed border for cleaner look */
  scroll-snap-align: start; /* PRD 5.3: Snap cards when scrolling */
}

.pl-card:hover,
.pl-episode-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
}

.pl-card__link,
.pl-episode-card__link,
.has-rich-black-background-color .pl-card__link,
.has-rich-black-background-color .pl-episode-card__link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  box-shadow: none !important;
  border-bottom: none !important;
}

.pl-card__image-wrapper,
.pl-episode-card__thumbnail {
  position: relative;
  aspect-ratio: 16 / 9; /* Updated to 16:9 to match YouTube thumbnail format */
  overflow: hidden;
  background: linear-gradient(135deg, var(--wp--preset--color--rich-black) 0%, #2a2a2a 100%);
}

.pl-card__image,
.pl-episode-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pl-card:hover .pl-card__image,
.pl-episode-card:hover .pl-episode-card__thumbnail img {
  transform: scale(1.08);
}

/* Placeholder when no image */
.pl-episode-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--wp--preset--color--rich-black) 0%, #333 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pl-episode-card__placeholder::after {
  content: "▶";
  font-size: 48px;
  color: var(--wp--preset--color--gold-bright);
  opacity: 0.3;
}

.pl-card__badge,
.pl-episode-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--wp--preset--font-family--heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--wp--preset--color--gold-bright);
  color: var(--wp--preset--color--rich-black);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.pl-card__overlay,
.pl-episode-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pl-card:hover .pl-card__overlay,
.pl-episode-card:hover .pl-episode-card__overlay {
  opacity: 1;
}

.pl-card__play-icon,
.pl-episode-card__play-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wp--preset--color--gold-bright);
  color: var(--wp--preset--color--rich-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.pl-card:hover .pl-card__play-icon,
.pl-episode-card:hover .pl-episode-card__play-icon {
  transform: scale(1);
}

.pl-card__content,
.pl-episode-card__content {
  padding: 12px 16px; /* PRD 5.5: Reduced padding for more thumbnail space */
  background: var(--wp--preset--color--rich-black); /* PRD 5.6: Dark background */
}

.pl-card__title,
.pl-episode-card__title {
  font-size: 14px; /* PRD 5.5: Slightly smaller for compact look */
  font-weight: 700;
  font-family: var(--wp--preset--font-family--heading);
  color: var(--wp--preset--color--gold-bright); /* PRD 5.6: Gold text on dark */
  margin: 0 0 8px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Episode Card Meta Section */
.pl-episode-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.pl-episode-card__meta-icon {
  margin-right: 6px;
  font-size: 12px;
  opacity: 0.85;
}

.pl-card__guests,
.pl-episode-card__guests {
  font-size: 12px;
  color: var(--wp--preset--color--gold-shimmer); /* PRD 5.6: Bright gold on dark */
  font-weight: 600;
  display: flex;
  align-items: center;
}

.pl-episode-card__location {
  font-size: 12px;
  color: var(--wp--preset--color--warm-gray);
  display: flex;
  align-items: center;
}

.pl-card__excerpt,
.pl-episode-card__excerpt {
  font-size: 12px;
  color: var(--wp--preset--color--warm-gray);
  margin: 6px 0 0 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pl-episode-card__date {
  font-size: 0.75rem;
  color: var(--wp--preset--color--warm-gray);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0.75;
}

/* Pagination Styles */
.pl-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pl-pagination__btn {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--wp--preset--font-family--heading);
  border: 2px solid var(--wp--preset--color--gold-bright);
  border-radius: 8px;
  background: transparent;
  color: var(--wp--preset--color--gold-bright);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pl-pagination__btn:hover {
  background: var(--wp--preset--color--gold-bright);
  color: var(--wp--preset--color--rich-black);
}

.pl-pagination__btn--prev,
.pl-pagination__btn--next {
  padding: 10px 20px;
}

.pl-pagination__arrow {
  font-size: 12px;
}

.pl-pagination__current {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--wp--preset--font-family--heading);
  background: var(--wp--preset--color--gold-bright);
  color: var(--wp--preset--color--rich-black);
  border-radius: 8px;
}

.pl-pagination__ellipsis {
  padding: 0 8px;
  color: var(--wp--preset--color--warm-gray);
}

/* Active Filter Tags */
.pl-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pl-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  color: var(--wp--preset--color--gold-deep);
}

.pl-active-filter__remove {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: var(--wp--preset--color--warm-gray);
  color: var(--wp--preset--color--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  transition: background 0.2s ease;
}

.pl-active-filter__remove:hover {
  background: var(--wp--preset--color--burgundy);
}

/* ========================================
   WATCH PAGE - MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
  .pl-card,
  .pl-episode-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 260px;
  }
}

@media (max-width: 1023px) {
  .pl-card,
  .pl-episode-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 240px;
  }

  .pl-carousel__nav {
    width: 40px;
    height: 40px;
  }

  .pl-filters__row--dropdowns {
    grid-template-columns: repeat(2, 1fr);
  }

  .pl-pagination {
    gap: 6px;
  }

  .pl-pagination__btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .pl-filters__row {
    flex-direction: column;
    gap: 12px;
  }

  .pl-filters__group {
    min-width: 100%;
  }

  .pl-filters__row--dropdowns {
    grid-template-columns: 1fr;
  }

  .pl-filters__search-group {
    min-width: 100%;
  }

  .pl-filters__search-group--large {
    max-width: 100%;
  }

  .pl-filters__input--large {
    padding: 16px 55px 16px 20px;
    font-size: 16px;
  }

  .pl-filters__search-btn--large {
    width: 44px;
    height: 44px;
  }

  .pl-filters__clear {
    width: 100%;
  }

  .pl-carousel {
    position: relative; /* Positioning context for absolute nav buttons */
    isolation: isolate; /* Create stacking context so z-index works predictably */
  }

  /* Reset z-index on card links inside carousel — blog-cards.css applies
     position: relative; z-index: 25 to links on dark backgrounds, which creates
     stacking contexts that render above the nav arrows */
  .pl-carousel .pl-card a,
  .pl-carousel .pl-episode-card a,
  .pl-carousel .pl-card__link {
    z-index: auto;
  }

  .pl-carousel--prominent {
    padding: 16px;
    border-radius: 16px;
  }

  /* Track-wrapper fills carousel; scroll-snap on wrapper so JS navigate() works */
  .pl-carousel__track-wrapper {
    width: 100%;
    min-width: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .pl-carousel__track-wrapper::-webkit-scrollbar {
    display: none;
  }

  /* Overlay carousel arrows on mobile — positioned over the card area
     !important needed to override style.css global button rule (lines 3713-3731)
     which applies padding/border-radius/font-size !important to ALL <button> elements */
  .pl-carousel--prominent .pl-carousel__nav.pl-carousel__nav--prev,
  .pl-carousel--prominent .pl-carousel__nav.pl-carousel__nav--next {
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    min-height: 0 !important;
    font-size: 0 !important;
    z-index: 100;
    background: rgba(0, 0, 0, 0.65) !important;
    border: 2px solid rgba(255, 215, 0, 0.6) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    opacity: 0.9;
    transition: opacity 0.2s ease, background 0.2s ease;
    color: var(--wp--preset--color--gold-bright);
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .pl-carousel--prominent .pl-carousel__nav svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .pl-carousel--prominent .pl-carousel__nav.pl-carousel__nav--prev:hover,
  .pl-carousel--prominent .pl-carousel__nav.pl-carousel__nav--next:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.75);
    border-color: var(--wp--preset--color--gold-bright);
    transform: translateY(-50%) scale(1.05);
  }

  .pl-carousel--prominent .pl-carousel__nav.pl-carousel__nav--prev {
    left: 8px;
  }

  .pl-carousel--prominent .pl-carousel__nav.pl-carousel__nav--next {
    right: 8px;
  }

  .pl-card,
  .pl-episode-card {
    flex: 0 0 75vw; /* Fixed viewport-relative width for reliable scroll-snap */
    min-width: 240px;
    max-width: 300px;
    scroll-snap-align: start;
  }

  /* Track expands to content width; wrapper handles horizontal scroll */
  .pl-carousel__track {
    overflow: visible;
    width: max-content;
    padding: 10px 0 10px 4px; /* Left padding so first card isn't flush */
    transform: none !important; /* Disable JS transform on mobile */
  }

  .watch-hero__title {
    font-size: clamp(24px, 5vw, 40px) !important;
  }

  .watch-hero--compact.watch-hero--compact {
    padding-top: var(--wp--preset--spacing--40);
    padding-bottom: var(--wp--preset--spacing--30);
  }

  .pl-results-header {
    flex-direction: column;
    gap: 10px;
  }

  .pl-results-header__count {
    font-size: 16px;
  }

  .pl-pagination__btn--prev,
  .pl-pagination__btn--next {
    padding: 8px 14px;
  }
}

@media (max-width: 480px) {
  .watch-filters.watch-filters {
    padding: 20px 16px;
  }

  .pl-card__content,
  .pl-episode-card__content {
    padding: 14px;
  }

  .pl-card__title,
  .pl-episode-card__title {
    font-size: 14px;
  }

  .pl-episode-card__meta {
    gap: 2px;
  }

  .pl-episode-card__guests {
    font-size: 12px;
  }

  .pl-episode-card__excerpt {
    display: none; /* Hide excerpt on very small screens */
  }

  .pl-filters__input--large {
    padding: 14px 50px 14px 18px;
    font-size: 15px;
  }

  .pl-card,
  .pl-episode-card {
    flex: 0 0 72vw;
    min-width: 220px;
    max-width: 280px;
  }
}

/* ========================================
   SINGLE EPISODE PAGE STYLES
   ======================================== */

.single-episode {
  background-color: var(--wp--preset--color--cream);
}

/* Breadcrumb Styles */
.single-episode .pl-breadcrumbs {
  font-size: 14px;
  color: var(--wp--preset--color--warm-gray);
  font-family: var(--wp--preset--font-family--body);
}

.single-episode .pl-breadcrumbs a {
  color: var(--wp--preset--color--gold-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

.single-episode .pl-breadcrumbs a:hover {
  color: var(--wp--preset--color--gold-bright);
  text-decoration: underline;
}

.single-episode .pl-breadcrumbs .separator {
  margin: 0 10px;
  color: var(--wp--preset--color--warm-gray);
  opacity: 0.6;
}

.single-episode .pl-breadcrumbs .current {
  color: var(--wp--preset--color--dark-charcoal);
  font-weight: 600;
}

/* Episode Hero - Enhanced */
.episode-hero {
  position: relative;
  overflow: hidden;
}

/* Add subtle gold accent to hero */
.episode-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--wp--preset--color--gold-deep),
    var(--wp--preset--color--gold-bright),
    var(--wp--preset--color--gold-deep)
  );
}

.episode-title {
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Episode Meta Info */
.episode-hero .wp-block-post-date,
.episode-hero .wp-block-post-terms {
  font-family: var(--wp--preset--font-family--heading);
  letter-spacing: 0.5px;
}

.episode-hero.episode-hero .wp-block-post-terms a {
  color: var(--wp--preset--color--gold-bright);
  text-decoration: none;
  transition: all 0.2s ease;
}

.episode-hero .wp-block-post-terms a:hover {
  text-decoration: underline;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Two Column Layout */
.episode-content-columns.episode-content-columns {
  align-items: flex-start;
}

.episode-main-content {
  min-width: 0;
}

/* Episode Description */
.episode-description.episode-description h2,
.episode-topics.episode-topics h3,
.episode-location.episode-location h3 {
  color: var(--wp--preset--color--gold-shimmer);
  font-family: var(--wp--preset--font-family--heading);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.episode-description.episode-description h2 {
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
  color: var(--wp--preset--color--gold-bright);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.episode-description.episode-description h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--wp--preset--gradient--gold-shimmer);
  border-radius: 2px;
}

/* Topic Tags - hide comma separators */
.episode-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0; /* Collapse comma text nodes */
}

.episode-topic-tags a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(45, 45, 45, 0.6);
  color: var(--wp--preset--color--cream);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.episode-topic-tags a:hover {
  background: var(--wp--preset--gradient--gold-shimmer);
  color: var(--wp--preset--color--rich-black);
  border-color: var(--wp--preset--color--gold-bright);
  transform: translateY(-2px);
  box-shadow: var(--wp--custom--shadows--gold-glow);
}

/* Location Tags - hide comma separators */
.episode-location-tags {
  font-size: 0; /* Collapse comma text nodes */
}

.episode-location-tags a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wp--preset--color--warm-gray);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.episode-location-tags a:hover {
  color: var(--wp--preset--color--gold-bright);
  transform: translateX(5px);
}

.episode-location-tags a::before {
  content: "📍";
}

/* ========================================
   GUEST SIDEBAR (F11)
   ======================================== */

.episode-sidebar {
  position: sticky;
  top: 120px;
}

.episode-guests-section {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.episode-guests-section.episode-guests-section h3 {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--wp--preset--color--warm-beige);
}

/* Guest Sidebar from Shortcode */
.pl-guest-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pl-guest-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  background: var(--wp--preset--color--rich-black);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pl-guest-card:hover {
  background: var(--wp--preset--color--warm-beige);
  transform: translateY(-2px);
}

.pl-guest-card__image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--wp--preset--color--gold-bright);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  margin-bottom: 12px;
}

.pl-guest-card__name {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--wp--preset--font-family--heading);
  color: var(--wp--preset--color--dark-charcoal);
  margin: 0 0 6px 0;
}

.pl-guest-card__bio {
  font-size: 13px;
  color: var(--wp--preset--color--warm-gray);
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.pl-guest-card__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.pl-guest-card__link {
  font-size: 12px;
  color: var(--wp--preset--color--gold-deep);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.pl-guest-card__link:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--wp--preset--color--gold-bright);
}

.pl-guest-sidebar__empty {
  text-align: center;
  padding: 20px;
  color: var(--wp--preset--color--warm-gray);
  font-style: italic;
}

/* Guest Sidebar Links */
.pl-guest-sidebar__name a {
  color: var(--wp--preset--color--gold-shimmer);
  text-decoration: none;
  transition: all 0.2s ease;
}

.pl-guest-sidebar__name a:hover {
  color: var(--wp--preset--color--gold-bright);
  text-decoration: underline;
}

/* ========================================
   RELATED CONTENT (F12)
   ======================================== */

.related-content-section h2 {
  margin-bottom: 8px;
}

.pl-related-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pl-related-card {
  background: var(--wp--preset--color--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.pl-related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
}

.pl-related-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pl-related-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--wp--preset--color--rich-black);
}

.pl-related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pl-related-card:hover .pl-related-card__image img {
  transform: scale(1.08);
}

.pl-related-card__content {
  padding: 20px;
}

.pl-related-card__type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wp--preset--color--gold-deep);
  margin-bottom: 8px;
}

.pl-related-card__title {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--wp--preset--font-family--heading);
  color: var(--wp--preset--color--dark-charcoal);
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pl-related-card__excerpt {
  font-size: 14px;
  color: var(--wp--preset--color--warm-gray);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pl-related-content__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--wp--preset--color--warm-gray);
  font-style: italic;
}

/* Episode Navigation - matches Related Content section */
.episode-navigation {
  background: var(--wp--preset--color--dark-charcoal);
  border-top: 2px solid var(--wp--preset--color--gold-deep);
}

.episode-nav-prev,
.episode-nav-next {
  display: block;
}

.episode-nav-prev a,
.episode-nav-next a {
  display: block;
  padding: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.episode-nav-prev a:hover,
.episode-nav-next a:hover {
  background: rgba(212, 175, 55, 0.15);
}

.wp-block-post-navigation-link .post-navigation-link__label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  opacity: 0.7;
}

.wp-block-post-navigation-link .post-navigation-link__title {
  font-size: 15px;
  font-weight: 600;
}

/* ========================================
   SINGLE EPISODE - MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 1023px) {
  .episode-content-columns.episode-content-columns {
    flex-direction: column;
  }

  .episode-main-content.episode-main-content,
  .episode-sidebar.episode-sidebar {
    flex-basis: 100%;
    width: 100%;
  }

  .episode-sidebar {
    position: static;
    margin-top: var(--wp--preset--spacing--40);
  }

  .pl-related-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .pl-related-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .episode-guests-section.episode-guests-section {
    padding: 20px;
  }

  .pl-guest-card {
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }

  .pl-guest-card__image {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .pl-guest-card__content {
    flex: 1;
  }

  .pl-guest-card__links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .episode-navigation.episode-navigation .wp-block-columns {
    flex-direction: column;
    gap: 16px;
  }

  .episode-nav-next.episode-nav-next a {
    text-align: left;
  }
}

/* Landing Page Styles */
.has-shadow {
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.has-shadow:hover {
  box-shadow:
    0 12px 32px rgba(255, 215, 0, 0.3),
    0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}


/* ========================================
   WATCH PAGE STYLES
   ======================================== */
.watch-page {
  background: var(--wp--preset--color--rich-black);
}

.watch-hero {
  text-align: center;
}

.watch-hero__title {
  text-align: center;
}

.watch-hero__subtitle {
  text-align: center;
}

/* ========================================
   PAGE-SPECIFIC STYLES
   ======================================== */

/* Ensure content is readable on dark backgrounds */
.has-rich-black-background-color h1,
.has-rich-black-background-color h2,
.has-rich-black-background-color h3,
.has-rich-black-background-color h4 {
  color: var(--wp--preset--color--gold-bright);
}

.has-rich-black-background-color p,
.has-rich-black-background-color li {
  color: var(--wp--preset--color--white) !important;
}

/* Explicit color classes should override default dark background colors */
.has-rich-black-background-color .has-white-color,
.has-rich-black-background-color h1.has-white-color,
.has-rich-black-background-color h2.has-white-color,
.has-rich-black-background-color h3.has-white-color,
.has-rich-black-background-color h4.has-white-color,
.has-rich-black-background-color p.has-white-color {
  color: var(--wp--preset--color--white) !important;
}

.has-rich-black-background-color .has-champagne-color,
.has-rich-black-background-color p.has-champagne-color {
  color: var(--wp--preset--color--champagne) !important;
}

.has-rich-black-background-color .has-gold-bright-color,
.has-rich-black-background-color h1.has-gold-bright-color,
.has-rich-black-background-color h2.has-gold-bright-color,
.has-rich-black-background-color h3.has-gold-bright-color,
.has-rich-black-background-color p.has-gold-bright-color {
  color: var(--wp--preset--color--primary) !important;
}

.has-rich-black-background-color .has-gold-deep-color,
.has-rich-black-background-color p.has-gold-deep-color {
  color: var(--wp--preset--color--gold-deep) !important;
}

/* Override warm-gray on dark backgrounds for accessibility */
.has-rich-black-background-color .has-warm-gray-color,
.has-rich-black-background-color p.has-warm-gray-color {
  color: var(--wp--preset--color--warm-gray) !important; /* Light gray for subtitles - WCAG AA compliant */
}

/* Same overrides for dark-charcoal backgrounds */
.has-dark-charcoal-background-color .has-white-color,
.has-dark-charcoal-background-color h1.has-white-color,
.has-dark-charcoal-background-color h2.has-white-color,
.has-dark-charcoal-background-color h3.has-white-color,
.has-dark-charcoal-background-color h4.has-white-color,
.has-dark-charcoal-background-color p.has-white-color {
  color: var(--wp--preset--color--white) !important;
}

.has-dark-charcoal-background-color .has-champagne-color,
.has-dark-charcoal-background-color p.has-champagne-color {
  color: var(--wp--preset--color--champagne) !important;
}

.has-dark-charcoal-background-color .has-gold-bright-color,
.has-dark-charcoal-background-color h1.has-gold-bright-color,
.has-dark-charcoal-background-color h2.has-gold-bright-color,
.has-dark-charcoal-background-color h3.has-gold-bright-color,
.has-dark-charcoal-background-color p.has-gold-bright-color {
  color: var(--wp--preset--color--primary) !important;
}

.has-dark-charcoal-background-color .has-gold-deep-color,
.has-dark-charcoal-background-color p.has-gold-deep-color {
  color: var(--wp--preset--color--gold-deep) !important;
}

.has-dark-charcoal-background-color .has-warm-gray-color,
.has-dark-charcoal-background-color p.has-warm-gray-color {
  color: var(--wp--preset--color--warm-gray) !important;
}

/* Image styling on dark backgrounds */
.has-rich-black-background-color .wp-block-image img {
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Ensure proper text colors on white/light backgrounds */
.has-white-background-color .has-warm-gray-color,
.has-white-background-color p.has-warm-gray-color,
.has-cream-background-color .has-warm-gray-color,
.has-cream-background-color p.has-warm-gray-color {
  color: #6b6b6b !important;
}

.has-white-background-color .has-dark-charcoal-color,
.has-white-background-color h1.has-dark-charcoal-color,
.has-white-background-color h2.has-dark-charcoal-color,
.has-white-background-color h3.has-dark-charcoal-color,
.has-white-background-color h4.has-dark-charcoal-color,
.has-white-background-color p.has-dark-charcoal-color,
.has-cream-background-color .has-dark-charcoal-color,
.has-cream-background-color h1.has-dark-charcoal-color,
.has-cream-background-color h2.has-dark-charcoal-color,
.has-cream-background-color h3.has-dark-charcoal-color,
.has-cream-background-color h4.has-dark-charcoal-color,
.has-cream-background-color p.has-dark-charcoal-color {
  color: var(--wp--preset--color--dark-charcoal) !important;
}


/* ========================================
   EPISODE FILTERS & CARDS (Watch Page)
   ======================================== */

/* Episode Filter Styles — base .pl-filters and .pl-filters__row defined above (line ~281) */

.pl-filters__group {
  display: flex;
  flex-direction: column;
}

.pl-filters__label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--wp--preset--color--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pl-filters__select,
.pl-filters__input {
  padding: 12px 16px;
  border: 2px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--wp--preset--font-family--body);
  background: var(--wp--preset--color--dark-charcoal);
  color: var(--wp--preset--color--white);
  transition: all 0.3s ease;
}

.pl-filters__select:focus,
.pl-filters__input:focus {
  outline: 2px solid var(--wp--preset--color--gold-bright);
  outline-offset: 2px;
  border-color: var(--wp--preset--color--gold-bright);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.pl-filters__search-group {
  position: relative;
  flex: 1;
}

/* Ensure Watch Page Carousel Wrapper supports smooth horizontal scroll */
.pl-carousel__track-wrapper {
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pl-carousel__track-wrapper::-webkit-scrollbar {
  display: none;
}

/* Duplicate definition removed - consolidated above */

.pl-filters__clear {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pl-filters__clear:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

/* Active Filters */
.pl-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pl-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 12px;
  background: var(--wp--preset--color--gold-bright);
  color: var(--wp--preset--color--rich-black);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pl-active-filter__remove {
  background: none;
  border: none;
  color: var(--wp--preset--color--rich-black);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.pl-active-filter__remove:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Results Info */
.pl-results-info {
  text-align: center;
  padding: 1rem 0;
}

.pl-results-info__count {
  font-size: 18px;
  font-weight: 600;
  color: var(--wp--preset--color--warm-gray);
}

/* Episode Cards - restored to flex for carousel support */
.pl-carousel__track {
  display: flex !important;
  gap: 24px;
  padding: 10px 0;
  min-width: 100%;
}

.pl-episode-card {
  background: var(--wp--preset--color--dark-charcoal);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: none; /* US-103: Removed border for cleaner look */
}

.pl-episode-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wp--custom--shadows--card);
}

.pl-episode-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.pl-episode-card__thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--wp--preset--color--rich-black);
}

.pl-episode-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pl-episode-card:hover .pl-episode-card__thumbnail img {
  transform: scale(1.05);
}

.pl-episode-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--wp--preset--color--gold-bright);
  color: var(--wp--preset--color--rich-black);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pl-episode-card__content {
  padding: 1.5rem;
}

.pl-episode-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--wp--preset--color--white);
  line-height: 1.4;
}

.pl-episode-card__guests {
  font-size: 14px;
  color: var(--wp--preset--color--warm-gray);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.pl-episode-card__excerpt {
  font-size: 14px;
  color: var(--wp--preset--color--warm-gray);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Loading State */
.pl-carousel__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  gap: 1rem;
}

.pl-carousel__spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f3f4f6;
  border-top-color: var(--wp--preset--color--gold-bright);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Empty State */
.pl-carousel__empty {
  text-align: center;
  padding: 4rem 2rem;
}

.pl-carousel__empty p {
  font-size: 18px;
  color: var(--wp--preset--color--warm-gray);
  margin-bottom: 1.5rem;
}

.pl-carousel__empty-btn {
  padding: 12px 24px;
  background: var(--wp--preset--color--gold-bright);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pl-carousel__empty-btn:hover {
  background: var(--wp--preset--color--gold-deep);
  transform: scale(1.05);
}

/* Pagination */
.pl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 0;
}

.pl-pagination__btn {
  padding: 8px 16px;
  background: var(--wp--preset--color--dark-charcoal);
  border: 2px solid rgba(255, 215, 0, 0.2);
  border-radius: 6px;
  color: var(--wp--preset--color--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pl-pagination__btn:hover {
  background: var(--wp--preset--color--gold-bright);
  border-color: var(--wp--preset--color--gold-bright);
  color: var(--wp--preset--color--rich-black);
}

.pl-pagination__current {
  padding: 8px 16px;
  background: var(--wp--preset--color--gold-bright);
  color: var(--wp--preset--color--rich-black);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .pl-filters__row {
    grid-template-columns: 1fr;
  }

  .pl-filters__row--search {
    flex-direction: column;
    align-items: stretch;
  }

  .pl-carousel__track {
    display: flex !important;
    overflow: visible; /* Wrapper handles scroll, not track */
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .pl-episode-card__title {
    font-size: 16px;
  }

  .pl-episode-card__content {
    padding: 1rem;
  }
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .video-carousel-container *,
  .pl-episode-card *,
  .pl-filters * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

