/*
Theme Name: Profit Pathways
Theme URI: https://myprofitpathways.com
Author: Profit Pathways
Description: Custom block theme for Profit Pathways — trainings for cleaning business owners. Warm boardroom meets cleaning-business war room. Brand tokens in theme.json.
Version: 0.1.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: profit-pathways
*/

/* ============================================================
   Component CSS. Colors/fonts/buttons come from theme.json.
   These classes are applied to Group/Cover blocks in templates.
   ============================================================ */

:root{
  --pp-grid:linear-gradient(rgba(34,76,60,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(34,76,60,.045) 1px,transparent 1px);
}
body{ -webkit-font-smoothing:antialiased; }
.pp-hand{ font-family:var(--wp--preset--font-family--caveat); font-weight:600; }
.pp-chev{ color:var(--wp--preset--color--rust); font-weight:900; letter-spacing:-3px; }
.pp-eyebrow{ font-weight:600; letter-spacing:.18em; text-transform:uppercase; font-size:12px; color:var(--wp--preset--color--rust); }
.pp-grid-bg{ background-image:var(--pp-grid); background-size:26px 26px; }

/* dark sections get the subtle grid texture overlay via this class */
.pp-dark{ position:relative; overflow:hidden; }
.pp-dark.pp-textured::before{ content:""; position:absolute; inset:0; background:var(--pp-grid); background-size:26px 26px; opacity:.4; pointer-events:none; }
.pp-dark > *{ position:relative; }

/* header */
.wp-block-template-part .pp-header{ position:sticky; top:0; z-index:50; }
.pp-logo img{ height:50px; width:auto; display:block; }
.pp-foot-logo img{ height:60px; width:auto; display:block; }

/* buttons: amber is default (theme.json). Helpers for variants */
.pp-btn-green .wp-block-button__link{ background:var(--wp--preset--color--bright-green)!important; color:#fff!important; }
.pp-btn-ghost-light .wp-block-button__link{ background:transparent!important; color:var(--wp--preset--color--cream)!important; border:2px solid rgba(250,244,234,.55)!important; }
.pp-btn-ghost-dark .wp-block-button__link{ background:transparent!important; color:var(--wp--preset--color--deep-green)!important; border:2px solid var(--wp--preset--color--deep-green)!important; }

/* polaroid photo frame */
.pp-polaroid{ background:var(--wp--preset--color--cream); padding:12px 12px 14px; border-radius:8px; box-shadow:0 32px 64px -30px rgba(0,0,0,.65); display:inline-block; }
.pp-polaroid img{ display:block; border-radius:4px; }
.pp-polaroid .pp-cap{ font-family:var(--wp--preset--font-family--caveat); font-weight:700; font-size:22px; color:var(--wp--preset--color--rust); text-align:center; margin-top:6px; line-height:1; }
.pp-rotate-r{ transform:rotate(1.6deg); } .pp-rotate-l{ transform:rotate(-1.5deg); }

/* sticky-note cards */
.pp-sticky{ background:#fff; border:1px solid var(--wp--preset--color--sand); border-radius:6px; padding:20px 22px; box-shadow:0 14px 30px -22px rgba(34,76,60,.5); }
.pp-sticky:nth-child(even){ transform:rotate(1deg); background:#FFFCF6; } .pp-sticky:nth-child(odd){ transform:rotate(-1deg); }
.pp-sticky .pp-q{ font-family:var(--wp--preset--font-family--caveat); font-weight:700; font-size:24px; color:var(--wp--preset--color--rust); line-height:1.1; }

/* course cards */
.pp-course{ background:#fff; border-radius:12px; border-left:7px solid var(--wp--preset--color--bright-green); padding:24px 26px 22px; box-shadow:0 18px 40px -30px rgba(34,76,60,.7); height:100%; }
.pp-tag{ display:inline-block; font-size:10.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--wp--preset--color--pine); background:var(--wp--preset--color--sand); padding:5px 10px; border-radius:6px; }
.pp-price{ font-family:var(--wp--preset--font-family--archivo); font-weight:900; font-size:26px; color:var(--wp--preset--color--deep-green); }

/* promise strip */
.pp-promise .pp-k{ font-family:var(--wp--preset--font-family--archivo); font-weight:800; font-size:17px; color:var(--wp--preset--color--amber); }

/* testimonials */
.pp-tq{ background:#fff; border-radius:14px; border-top:5px solid var(--wp--preset--color--amber); padding:24px 26px; box-shadow:0 18px 40px -30px rgba(34,76,60,.6); height:100%; }
.pp-stars{ color:var(--wp--preset--color--amber); font-size:16px; letter-spacing:3px; }
.pp-ava{ width:48px; height:48px; border-radius:50%; object-fit:cover; border:2px solid var(--wp--preset--color--bright-green); }
.pp-mono{ width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--wp--preset--font-family--archivo); font-weight:800; font-size:15px; color:#fff; background:var(--wp--preset--color--pine); border:2px solid var(--wp--preset--color--bright-green); }

/* faq */
.pp-faq details{ background:#fff; border:1px solid var(--wp--preset--color--sand); border-radius:12px; margin-bottom:14px; overflow:hidden; }
.pp-faq summary{ list-style:none; cursor:pointer; padding:20px 24px; font-family:var(--wp--preset--font-family--archivo); font-weight:700; font-size:18px; color:var(--wp--preset--color--pine); }
.pp-faq summary::-webkit-details-marker{ display:none; }
.pp-faq .pp-a{ padding:0 24px 22px; font-size:15px; color:#5b5347; }

/* course "what's inside" checklist + page bits */
.pp-inside{ list-style:none; margin-left:0; padding-left:0; }
.pp-inside li{ position:relative; padding:5px 0 5px 24px; color:var(--wp--preset--color--ink); }
.pp-inside li::before{ content:"\2713"; position:absolute; left:0; top:5px; color:var(--wp--preset--color--primary-green); font-weight:800; }
.pp-ava{ display:block; }
.pp-step-n{ font-family:var(--wp--preset--font-family--archivo); font-weight:900; font-size:34px; color:var(--wp--preset--color--bright-green); line-height:1; }
.pp-reframe{ background:#fff; border:2px dashed var(--wp--preset--color--bright-green); border-radius:16px; padding:28px 30px; }
.pp-reframe .big{ font-family:var(--wp--preset--font-family--archivo); font-weight:900; color:var(--wp--preset--color--deep-green); }
.pp-notfor{ border-left:4px solid var(--wp--preset--color--rust); padding:8px 0 8px 18px; }
.pp-buy{ background:rgba(250,244,234,.07); border:1px solid rgba(250,244,234,.28); border-radius:16px; padding:26px 28px; }
.pp-buy .pp-bprice{ font-family:var(--wp--preset--font-family--archivo); font-weight:900; font-size:46px; color:var(--wp--preset--color--cream); line-height:1; }
.pp-faq summary{ display:flex; justify-content:space-between; align-items:center; gap:16px; }
.pp-faq summary::after{ content:"+"; color:var(--wp--preset--color--rust); font-size:24px; font-weight:700; }
.pp-faq details[open] summary::after{ content:"\2013"; }
.pp-formcard{ background:#fff; border:1px solid var(--wp--preset--color--sand); border-radius:16px; padding:30px; }
.pp-formcard input,.pp-formcard textarea{ width:100%; font-family:var(--wp--preset--font-family--inter); font-size:15px; color:var(--wp--preset--color--ink); background:var(--wp--preset--color--cream); border:1px solid var(--wp--preset--color--taupe); border-radius:10px; padding:12px 14px; margin-bottom:6px; }

/* Breathing room inside the colored section boxes (pine, deep-green, sand)
   so text/content isn't flush against the colored edge. Cream sections blend
   with the page background, so they keep aligning with the header/footer. */
main section.wp-block-group.pp-dark,
main section.wp-block-group.has-sand-background-color{
  padding-left:clamp(28px,4vw,56px);
  padding-right:clamp(28px,4vw,56px);
}
