/* ============================================================
   PATH TO WELLNESS — RESOURCES PAGE STYLES
   Append this to your global stylesheet (WPCode / path-to-wellness.css).
   Every rule is scoped under .ptw-resources so it can't collide with
   the homepage. Section backgrounds & padding are handled inside the
   Elementor containers, so they are intentionally NOT set here.
   ============================================================ */

:root{
  --forest-green:#2E4A3B; --deep-forest:#243C30;
  --text-primary:#20302A; --text-secondary:#4A5A52;
  --sage:#7E9C8A; --soft-sage:#DCE6DE; --mist:#ECF1ED;
  --oat:#F6F3EC; --oat-deep:#EFEADF; --white:#FFFFFF; --border:#E2DDD1;
  --clay:#C2806E; --soft-rose:#E8D2C8;
  --radius-card:18px; --radius-lg:28px;
  --shadow-soft:0 10px 30px rgba(36,60,48,.06);
  --shadow-hover:0 16px 40px rgba(36,60,48,.10);
}

/* Layout + shared type ------------------------------------- */
.ptw-resources .wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.ptw-resources h1,.ptw-resources h2,.ptw-resources h3{
  font-family:'Fraunces',Georgia,serif;font-weight:500;line-height:1.15;
  color:var(--text-primary);letter-spacing:-.01em;margin:0;
}
.ptw-resources p{color:var(--text-secondary);margin:0;line-height:1.65}
.ptw-resources .eyebrow{
  font-family:'Mulish',sans-serif;font-weight:700;font-size:13px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--clay);
  margin-bottom:16px;display:inline-block;
}

/* Buttons -------------------------------------------------- */
.ptw-resources .btn{
  display:inline-flex;align-items:center;gap:8px;font-family:'Mulish',sans-serif;
  font-weight:700;font-size:15px;padding:15px 30px;border-radius:100px;
  border:1.5px solid transparent;cursor:pointer;transition:all .2s ease;text-decoration:none;
}
.ptw-resources .btn-primary{background:var(--forest-green);color:#fff}
.ptw-resources .btn-primary:hover{background:var(--deep-forest);transform:translateY(-1px)}
.ptw-resources .btn:focus-visible{outline:3px solid var(--clay);outline-offset:2px}

/* Intro ---------------------------------------------------- */
.ptw-resources .res-intro{text-align:center}
.ptw-resources .res-intro h1{font-size:clamp(38px,5vw,58px);margin-bottom:20px}
.ptw-resources .res-intro p{font-size:19px;max-width:620px;margin:0 auto}

/* Shared section head -------------------------------------- */
.ptw-resources .section-head{text-align:center;max-width:640px;margin:0 auto 54px}
.ptw-resources .section-head h2{font-size:clamp(30px,4vw,42px);margin-bottom:14px}
.ptw-resources .section-head p{font-size:17px}

/* Featured guide / lead magnet ----------------------------- */
.ptw-resources .featured-card{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);overflow:hidden;display:grid;grid-template-columns:1fr 1.1fr;
}
.ptw-resources .featured-visual{
  background:linear-gradient(150deg,var(--soft-sage),var(--mist));
  display:flex;align-items:center;justify-content:center;padding:48px;min-height:340px;
}
.ptw-resources .guide-cover{
  background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-hover);
  width:210px;aspect-ratio:3/4;display:flex;flex-direction:column;justify-content:space-between;padding:26px;
}
.ptw-resources .guide-cover .k{font-family:'Mulish',sans-serif;font-weight:700;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--clay)}
.ptw-resources .guide-cover .t{font-family:'Fraunces',serif;font-size:24px;color:var(--forest-green);line-height:1.2}
.ptw-resources .guide-cover .b{font-size:12px;color:var(--sage);font-weight:600}
.ptw-resources .featured-body{padding:52px 48px;display:flex;flex-direction:column;justify-content:center}
.ptw-resources .featured-body h2{font-size:32px;margin-bottom:14px}
.ptw-resources .featured-body ul{list-style:none;margin:18px 0 26px;padding:0}
.ptw-resources .featured-body li{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px;font-size:15px;color:var(--text-secondary)}
.ptw-resources .featured-body li svg{flex-shrink:0;margin-top:3px}
.ptw-resources .capture{display:flex;gap:10px;flex-wrap:wrap}
.ptw-resources .capture input{
  flex:1;min-width:220px;font-family:'Mulish',sans-serif;font-size:15px;padding:14px 18px;
  border:1.5px solid var(--border);border-radius:100px;background:#fff;color:var(--text-primary);
}
.ptw-resources .capture input:focus{outline:none;border-color:var(--sage)}
.ptw-resources .fineprint{font-size:12.5px;color:var(--sage);margin-top:12px}

/* Guides & downloads --------------------------------------- */
.ptw-resources .cat-label{
  font-family:'Mulish',sans-serif;font-weight:700;font-size:13px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--sage);margin-bottom:22px;display:flex;align-items:center;gap:14px;
}
.ptw-resources .cat-label::after{content:"";flex:1;height:1px;background:var(--border)}
.ptw-resources .card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ptw-resources .g-card{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);
  box-shadow:var(--shadow-soft);padding:32px;display:flex;flex-direction:column;
  transition:transform .2s ease,box-shadow .2s ease;
}
.ptw-resources .g-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover)}
.ptw-resources .card-icon{width:52px;height:52px;border-radius:14px;background:var(--mist);display:flex;align-items:center;justify-content:center;margin-bottom:20px;color:var(--forest-green)}
.ptw-resources .g-card h3{font-size:22px;margin-bottom:10px}
.ptw-resources .g-card p{font-size:14.5px;flex:1;margin-bottom:22px}
.ptw-resources .download{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--forest-green);text-decoration:none}
.ptw-resources .download:hover{color:var(--deep-forest)}

/* Meditation audio library --------------------------------- */
.ptw-resources .audio-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.ptw-resources .audio-card{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);
  box-shadow:var(--shadow-soft);padding:24px 26px;display:flex;flex-direction:column;gap:14px;
}
.ptw-resources .audio-top{display:flex;align-items:center;gap:16px}
.ptw-resources .audio-badge{flex-shrink:0;width:48px;height:48px;border-radius:50%;background:var(--mist);display:flex;align-items:center;justify-content:center;color:var(--forest-green)}
.ptw-resources .audio-meta h3{font-size:18px;margin-bottom:2px}
.ptw-resources .audio-meta .len{font-size:12.5px;font-weight:600;color:var(--sage)}
.ptw-resources .audio-card audio{width:100%;height:40px}

/* Follow along --------------------------------------------- */
.ptw-resources .res-follow{text-align:center}
.ptw-resources .ig-embed{margin:34px 0 28px;min-height:60px}
.ptw-resources .ig-note{font-size:12.5px;color:var(--sage);margin-bottom:24px}
.ptw-resources .socials{display:flex;justify-content:center;gap:14px}
.ptw-resources .social{width:46px;height:46px;border-radius:50%;border:1.5px solid var(--border);display:flex;align-items:center;justify-content:center;color:var(--forest-green);transition:all .2s ease}
.ptw-resources .social:hover{background:var(--forest-green);color:#fff;border-color:var(--forest-green)}

/* Final CTA ------------------------------------------------ */
.ptw-resources .res-cta{text-align:center}
.ptw-resources .res-cta .eyebrow{color:var(--soft-rose)}
.ptw-resources .res-cta h2{color:#fff;font-size:clamp(30px,4vw,44px);margin-bottom:16px}
.ptw-resources .res-cta p{color:var(--soft-sage);font-size:18px;max-width:520px;margin:0 auto 30px}
.ptw-resources .res-cta .btn-primary{background:#fff;color:var(--forest-green)}
.ptw-resources .res-cta .btn-primary:hover{background:var(--oat)}

/* Responsive ----------------------------------------------- */
@media(max-width:900px){
  .ptw-resources .featured-card{grid-template-columns:1fr}
  .ptw-resources .featured-visual{min-height:260px;padding:36px}
  .ptw-resources .featured-body{padding:38px 30px}
  .ptw-resources .card-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .ptw-resources .card-grid,.ptw-resources .audio-grid{grid-template-columns:1fr}
}