@charset "UTF-8";
.podify-episodes-grid, .podify-episodes-grid * {
  box-sizing: border-box;
}
.podify-episodes-grid {
  display: grid;
  gap: 32px;
  width: 100%;
  margin-bottom: 40px;
}

.podify-cols-1 { grid-template-columns: 1fr; }
.podify-cols-2 { grid-template-columns: repeat(2, 1fr); }
.podify-cols-3 { grid-template-columns: repeat(3, 1fr); }
.podify-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .podify-cols-3, .podify-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .podify-cols-2, .podify-cols-3, .podify-cols-4 { grid-template-columns: 1fr; }
}

.podify-episode-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  height: 100%;
}

.podify-episode-card:hover {
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
}

.podify-episode-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f1f5f9;
}

.podify-episode-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.podify-episode-card:hover .podify-episode-media img {
  /* No scale on hover */
}

.podify-episode-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.podify-episode-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.podify-episode-title {
  font-size: 19px;
  line-height: 1.4;
  margin: 0;
  font-weight: 700;
}

.podify-episode-title a {
  color: #1e293b; /* Default dark color */
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.8em;
  transition: color 0.2s ease;
}

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

.podify-episode-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b; /* Default grey color */
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.podify-episode-desc.podify-clamp-2 {
  -webkit-line-clamp: 2;
  max-height: 3.2em; /* 2 lines * 1.6 line-height */
}

.podify-episode-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.podify-episode-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.podify-play-action-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.podify-play-action-btn:hover {
  transform: scale(1.15);
}

.podify-play-action-btn svg {
  width: 38px;
  height: 38px;
}

.podify-episode-duration {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.podify-read-more,
.podify-load-more {
  position: relative;
  overflow: hidden;
}

.podify-read-more:before,
.podify-read-more:after,
.podify-load-more:before,
.podify-load-more:after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.podify-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #2563eb;
  color: #fff !important;
  border-radius: 8px !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  line-height: 1;
}

.podify-read-more:hover {
  background: #1d4ed8;
}

.podify-episode-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.podify-category-pill {
  display: inline-block;
  padding: 4px 12px;
  background: #f1f5f9;
  color: #475569;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.podify-episode-card:hover .podify-category-pill {
  background: #e0f2fe;
  color: #0369a1;
}

.podify-load-more-wrap {
  text-align: center;
  margin-top: 40px;
}

.podify-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: #0b5bd3;
  color: #fff !important;
  border: none;
  border-radius: 8px !important; /* Force proper border radius */
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  min-height: 50px; /* Ensure visibility */
}

.podify-load-more:hover {
  background: #0044a0;
}
.podify-load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Sticky Player Styles */
.podify-sticky-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.05);
  z-index: 99999;
  padding: 0;
  display: none; /* Hidden by default */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.podify-sticky-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  height: 80px;
  gap: 20px;
}

/* Left: Controls */
.podify-sticky-controls {
  display: flex;
  align-items: center;
  width: 250px;
  flex-shrink: 0;
}
.podify-sticky-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f5f9;
  margin-right: 16px;
  flex-shrink: 0;
}
.podify-sticky-thumb img { width: 100%; height: 100%; object-fit: cover; }
.podify-sticky-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#podify-sticky-title {
  font-weight: 600;
  font-size: 15px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
#podify-sticky-subtitle {
  font-size: 13px;
  color: #64748b;
}

/* Center: Waveform */
.podify-sticky-progress-container {
  flex-grow: 1;
  height: 45px;
  position: relative;
  /* background: #f8fafc; */ /* Optional bg for debug */
}
#podify-sticky-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Right: Time, Volume */
.podify-sticky-right {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
#podify-sticky-time {
  font-variant-numeric: tabular-nums;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}
.podify-volume-btn {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}
.podify-volume-btn:hover { color: #0f172a; }

/* Volume Slider */
.podify-volume-slider,
.podify-sp-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 60px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.podify-volume-slider:hover,
.podify-sp-volume-slider:hover {
    opacity: 1;
}
.podify-volume-slider::-webkit-slider-thumb,
.podify-sp-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #0b5bd3;
    border-radius: 50%;
    cursor: pointer;
}
.podify-volume-slider::-moz-range-thumb,
.podify-sp-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #0b5bd3;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Large Play Btn override */
.podify-play-btn-large {
  background: #0b5bd3;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.1s;
}
.podify-play-btn-large:active { transform: scale(0.95); }

/* Responsive */
@media (max-width: 768px) {
  .podify-sticky-inner { flex-direction: column; height: auto; padding: 12px; gap: 12px; }
  .podify-sticky-controls { width: 100%; }
  .podify-sticky-progress-container { width: 100%; height: 40px; }
  .podify-sticky-right { width: 100%; justify-content: space-between; }
}

/* Single Player Card Styles */
.podify-single-player-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  max-width: 800px;
}
.podify-sp-inner {
  display: flex;
  padding: 20px;
  gap: 20px;
  align-items: center;
}
.podify-sp-cover {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
}
.podify-sp-placeholder {
  width: 100%; height: 100%;
  background: #cbd5e1;
  display: flex; align-items: center; justify-content: center;
}
.podify-sp-placeholder::after { content: "🎙️"; font-size: 32px; opacity: 0.3; }

.podify-sp-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.podify-sp-meta { margin-bottom: 12px; }
.podify-sp-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0b5bd3;
  margin-bottom: 4px;
}
.podify-sp-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  font-family: "Very Vogue", serif;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .podify-sp-inner { flex-direction: column; text-align: center; }
  .podify-sp-controls-top { justify-content: center; }
  .podify-sp-cover { width: 100%; height: auto; aspect-ratio: 16/9; max-width: 300px; margin: 0 auto; }
  .podify-sp-content { width: 100%; }
}

/* Force hide audio elements */
audio.podify-episode-audio, 
#podify-sticky-audio,
.podify-single-player audio,
.podify-sticky-player audio {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    z-index: -1 !important;
}
