/* PodPilot V1 — responsive overrides (design preserved on desktop) */

*, *::before, *::after { box-sizing: border-box; }

.pp-body {
  margin: 0 !important;
  padding: 0 !important;
  background: #FBF7F0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pp-page {
  overflow-x: hidden;
}

.pp-page a { transition: opacity 0.15s ease; }
.pp-page a:hover { opacity: 0.75; }

/* Header / nav — exact match to podpilot-home.dc.html */
.pp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(237, 233, 254, 0.7);
  font-family: Inter, sans-serif;
}

.pp-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.pp-nav a {
  transition: opacity 0.15s ease;
}

.pp-nav a:hover {
  opacity: 0.75;
}

.pp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.pp-logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(140px, 32vw);
  object-fit: contain;
}

.pp-logo-img--footer {
  height: 32px;
  max-width: 140px;
}

.pp-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.pp-nav-link {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  text-decoration: none;
  white-space: nowrap;
}

.pp-nav-link--active {
  color: #6D28D9;
  font-weight: 600;
}

.pp-nav-cta {
  background: #6D28D9;
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 100px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.pp-nav-cta--mobile {
  display: block;
  text-align: center;
  margin-top: 12px;
}

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.18); }
  50% { transform: scaleY(1); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.pp-page summary { list-style: none; }
.pp-page summary::-webkit-details-marker { display: none; }

.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.2s ease, padding-bottom 0.3s ease; opacity: 0; }
.faq-header { cursor: pointer; user-select: none; }
.faq-header:hover .faq-question { color: #6D28D9; }

/* Mobile nav */
.pp-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.pp-nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #1C1028;
}

.pp-nav-mobile {
  display: none;
  background: rgba(251, 247, 240, 0.98);
  border-top: 1px solid rgba(237, 233, 254, 0.7);
  padding: 16px clamp(16px, 4vw, 40px) 24px;
  flex-direction: column;
  gap: 4px;
}

.pp-nav-mobile.pp-nav-mobile--open {
  display: flex;
}

.pp-nav-mobile .pp-nav-link {
  font-size: 16px;
  padding: 12px 8px;
  border-radius: 8px;
}

body.pp-nav-open { overflow: hidden; }

/* Contact Form 7 */
.pp-cf7-wrap .wpcf7-form-control-wrap { display: block; width: 100%; }
.pp-cf7-wrap input[type="text"],
.pp-cf7-wrap input[type="email"],
.pp-cf7-wrap input[type="tel"],
.pp-cf7-wrap textarea {
  width: 100%;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: #1C1028;
  background: #fff;
  font-family: 'Inter', sans-serif;
}
.pp-cf7-wrap input:focus,
.pp-cf7-wrap textarea:focus {
  outline: none;
  border-color: #6D28D9 !important;
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12);
}
.pp-cf7-wrap textarea { resize: vertical; min-height: 140px; }
.pp-cf7-wrap label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1C1028;
  margin-bottom: 8px;
}
.pp-cf7-wrap .wpcf7-form p { margin-bottom: 24px; }
.pp-cf7-wrap input[type="submit"],
.pp-cf7-wrap .wpcf7-submit {
  background: #6D28D9;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.25);
}
.pp-cf7-wrap .wpcf7-response-output {
  font-family: 'Inter', sans-serif;
  border-radius: 12px;
  margin: 16px 0 0;
}

/* Blog single content */
.pp-post-content h2,
.pp-post-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1C1028;
  letter-spacing: -0.5px;
}
.pp-post-content p,
.pp-post-content li {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: #4B4563;
  line-height: 1.8;
}

/* Home hero — index.php only */
.pp-home-hero__art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pp-pod-player__btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #6D28D9;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.15s ease;
}

.pp-pod-player__btn--lg {
  width: 52px;
  height: 52px;
  box-shadow: 0 4px 16px rgba(109, 40, 217, 0.3);
}

.pp-pod-player__btn:hover {
  opacity: 0.88;
}

.pp-pod-player__icon--pause {
  display: none;
}

.pp-pod-player--playing .pp-pod-player__icon--play {
  display: none;
}

.pp-pod-player--playing .pp-pod-player__icon--pause {
  display: block;
}

.pp-pod-player__waves > div {
  animation-play-state: paused;
}

.pp-pod-player--playing .pp-pod-player__waves > div {
  animation-play-state: running;
}

.pp-episode-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .pp-episode-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pp-episode-gallery__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .pp-home-hero {
    padding-top: clamp(48px, 10vw, 88px) !important;
    padding-bottom: clamp(56px, 10vw, 104px) !important;
    padding-left: clamp(16px, 4vw, 40px) !important;
    padding-right: clamp(16px, 4vw, 40px) !important;
  }

  .pp-home-hero__grid {
    grid-template-columns: 1fr !important;
    gap: clamp(40px, 8vw, 72px) !important;
  }

  .pp-home-hero__visual {
    order: -1;
  }

  .pp-home-hero__headline {
    font-size: clamp(32px, 8vw, 56px) !important;
    letter-spacing: -1.5px !important;
  }

  .pp-home-hero__content p[style*="max-width:500px"] {
    max-width: 100% !important;
  }

  .pp-home-hero__card {
    width: min(304px, 100%) !important;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .pp-home-hero__cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .pp-home-hero__cta-row a {
    text-align: center !important;
  }

  .pp-home-hero__blob {
    opacity: 0.5;
  }
}

/* Home image banner — index.php only */
.pp-home-image__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(109, 40, 217, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  object-fit: cover;
  aspect-ratio: 1200 / 640;
  background: linear-gradient(135deg, #EDE9FE 0%, #F3F4F6 100%);
}

@media (max-width: 640px) {
  .pp-home-image {
    padding-bottom: 40px !important;
  }

  .pp-home-image__img {
    border-radius: 16px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 1100px) {
  .pp-nav-links--desktop,
  .pp-nav-cta--desktop { display: none !important; }
  .pp-nav-toggle { display: flex; flex-shrink: 0; }
}

@media (min-width: 1101px) {
  .pp-nav-toggle { display: none !important; }
  .pp-nav-mobile { display: none !important; }
  .pp-nav-cta--mobile { display: none !important; }
}

@media (max-width: 960px) {

  .pp-page section[style*="grid-template-columns:1.15fr"],
  .pp-page section[style*="grid-template-columns:1fr 1fr"],
  .pp-page section[style*="grid-template-columns:repeat(3"],
  .pp-page div[style*="grid-template-columns:1fr 1fr"],
  .pp-page div[style*="grid-template-columns:repeat(3"],
  .pp-page div[style*="grid-template-columns:2fr"],
  .pp-footer-grid {
    grid-template-columns: 1fr !important;
  }

  .pp-page section[style*="padding:80px"],
  .pp-page section[style*="padding:88px"],
  .pp-page section[style*="padding:64px"] {
    padding-left: clamp(16px, 4vw, 40px) !important;
    padding-right: clamp(16px, 4vw, 40px) !important;
  }

  .pp-page h1[style*="font-size:56px"],
  .pp-page h1[style*="font-size:52px"] {
    font-size: clamp(32px, 8vw, 52px) !important;
    letter-spacing: -1.5px !important;
  }

  .pp-page h2[style*="font-size:44px"],
  .pp-page h2[style*="font-size:38px"],
  .pp-page h2[style*="font-size:36px"] {
    font-size: clamp(28px, 6vw, 44px) !important;
  }

  .pp-page h3[style*="font-size:36px"] {
    font-size: clamp(26px, 5vw, 36px) !important;
  }

  .pp-page section[style*="grid-template-columns:1.15fr 0.85fr"] > div:last-child {
    order: -1;
  }
}

@media (max-width: 640px) {
  .pp-footer-grid { gap: 32px !important; }

  .pp-page div[style*="display:flex"][style*="gap:16px"][style*="justify-content:center"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .pp-page div[style*="display:flex"][style*="gap:16px"][style*="justify-content:center"] > a {
    text-align: center !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-page *, .pp-page *::before, .pp-page *::after {
    animation: none !important;
    transition: none !important;
  }
}
