/* PPG Members — public profile (from the approved template) */
.ppg-profile{
  /* ---- BRAND SETTINGS: change these to match your logo ---- */
  --ppg-primary:#1f3a5f;      /* main dark color (hero, headings) */
  --ppg-accent:#e8a33d;       /* buttons, highlights */
  --ppg-bg:#f6f4ef;           /* page background */
  --ppg-card:#ffffff;
  --ppg-text:#2b2b2b;
  --ppg-muted:#6b7280;
  --ppg-line:#e5e1d8;
  --ppg-radius:14px;
  --ppg-head:'Playfair Display',Georgia,serif;
  --ppg-body:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  font-family:var(--ppg-body);color:var(--ppg-text);background:var(--ppg-bg);
  line-height:1.6;font-size:16px;
}
.ppg-profile *,.ppg-profile *::before,.ppg-profile *::after{box-sizing:border-box}
.ppg-profile img{max-width:100%;display:block}
.ppg-profile a{color:inherit}
.ppg-profile h1,.ppg-profile h2,.ppg-profile h3{font-family:var(--ppg-head);color:var(--ppg-primary);line-height:1.2;margin:0}
.ppg-profile .ppg-wrap{max-width:1140px;margin:0 auto;padding:0 20px}
.ppg-profile section{padding:64px 0}
.ppg-profile .ppg-eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ppg-accent);margin:0 0 10px}
.ppg-profile .ppg-h2{font-size:clamp(1.6rem,3vw,2.2rem);margin-bottom:24px}

/* Breadcrumb */
.ppg-profile .ppg-crumb{font-size:.85rem;color:var(--ppg-muted);padding:18px 0}
.ppg-profile .ppg-crumb a{text-decoration:none;color:var(--ppg-primary);font-weight:600}

/* Buttons */
.ppg-profile .ppg-btn{display:inline-flex;align-items:center;gap:8px;padding:13px 24px;border-radius:999px;font-weight:600;font-size:.95rem;text-decoration:none;border:2px solid transparent;transition:.2s;cursor:pointer}
.ppg-profile .ppg-btn-primary{background:var(--ppg-accent);color:#1a1a1a}
.ppg-profile .ppg-btn-primary:hover{filter:brightness(.92)}
.ppg-profile .ppg-btn-ghost{border-color:rgba(255,255,255,.55);color:#fff}
.ppg-profile .ppg-btn-ghost:hover{background:rgba(255,255,255,.1)}
.ppg-profile .ppg-btn-outline{border-color:var(--ppg-primary);color:var(--ppg-primary)}
.ppg-profile .ppg-btn-outline:hover{background:var(--ppg-primary);color:#fff}
.ppg-profile svg{width:18px;height:18px;flex:none}

/* ---------- HERO ---------- */
.ppg-profile .ppg-hero{background:var(--ppg-primary);color:#fff;padding:56px 0 0;position:relative;overflow:hidden}
.ppg-profile .ppg-hero::after{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;border-radius:50%;background:var(--ppg-accent);opacity:.12}
.ppg-profile .ppg-hero-grid{display:grid;grid-template-columns:340px 1fr;gap:48px;align-items:end;position:relative;z-index:1}
.ppg-profile .ppg-photo{aspect-ratio:4/5;border-radius:var(--ppg-radius) var(--ppg-radius) 0 0;overflow:hidden;background:#d9d4c7}
.ppg-profile .ppg-photo img{width:100%;height:100%;object-fit:cover}
.ppg-profile .ppg-hero-info{padding-bottom:48px}
.ppg-profile .ppg-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);padding:6px 14px;border-radius:999px;font-size:.8rem;font-weight:600;margin-bottom:16px}
.ppg-profile .ppg-hero h1{color:#fff;font-size:clamp(2.2rem,5vw,3.4rem);margin-bottom:6px}
.ppg-profile .ppg-title{font-size:1.15rem;opacity:.9;margin:0 0 4px}
.ppg-profile .ppg-company{font-size:1rem;opacity:.75;margin:0 0 22px;display:flex;align-items:center;gap:6px}
.ppg-profile .ppg-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:26px}
.ppg-profile .ppg-contact-row{display:flex;flex-wrap:wrap;gap:10px 26px;font-size:.95rem}
.ppg-profile .ppg-contact-row a{display:inline-flex;align-items:center;gap:8px;text-decoration:none;opacity:.9}
.ppg-profile .ppg-contact-row a:hover{opacity:1;text-decoration:underline}

/* Quick facts strip */
.ppg-profile .ppg-facts{background:var(--ppg-card);border-bottom:1px solid var(--ppg-line);padding:0}
.ppg-profile .ppg-facts-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.ppg-profile .ppg-fact{padding:24px 20px;border-left:1px solid var(--ppg-line)}
.ppg-profile .ppg-fact:first-child{border-left:0}
.ppg-profile .ppg-fact span{display:block;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:var(--ppg-muted);font-weight:600}
.ppg-profile .ppg-fact strong{font-size:1.05rem;color:var(--ppg-primary)}

/* ---------- ABOUT ---------- */
.ppg-profile .ppg-about-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:48px;align-items:start}
.ppg-profile .ppg-about p{margin:0 0 16px}
.ppg-profile .ppg-quote{background:var(--ppg-card);border-left:5px solid var(--ppg-accent);border-radius:var(--ppg-radius);padding:28px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
.ppg-profile .ppg-quote p{font-family:var(--ppg-head);font-size:1.3rem;color:var(--ppg-primary);margin:0 0 12px;line-height:1.4}
.ppg-profile .ppg-quote small{color:var(--ppg-muted)}
.ppg-profile .ppg-social{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.ppg-profile .ppg-social a{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--ppg-primary);color:#fff}
.ppg-profile .ppg-social a:hover,.ppg-profile .ppg-social a:focus-visible{background:var(--ppg-accent);color:#1a1a1a}

/* ---------- SERVICES ---------- */
.ppg-profile .ppg-alt{background:var(--ppg-card)}
.ppg-profile .ppg-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.ppg-profile .ppg-card{background:var(--ppg-bg);border:1px solid var(--ppg-line);border-radius:var(--ppg-radius);padding:28px}
.ppg-profile .ppg-icon{width:48px;height:48px;border-radius:12px;background:var(--ppg-primary);color:var(--ppg-accent);display:grid;place-items:center;margin-bottom:16px}
.ppg-profile .ppg-icon svg{width:24px;height:24px}
.ppg-profile .ppg-card h3{font-size:1.2rem;margin-bottom:8px}
.ppg-profile .ppg-card p{margin:0;color:var(--ppg-muted);font-size:.95rem}

/* ---------- REFERRALS ---------- */
.ppg-profile .ppg-ref-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.ppg-profile .ppg-ref{background:var(--ppg-card);border-radius:var(--ppg-radius);padding:28px;border:1px solid var(--ppg-line)}
.ppg-profile .ppg-ref h3{font-size:1.15rem;margin-bottom:14px;display:flex;align-items:center;gap:10px}
.ppg-profile .ppg-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.ppg-profile .ppg-tags li{background:var(--ppg-bg);border:1px solid var(--ppg-line);padding:7px 14px;border-radius:999px;font-size:.88rem;font-weight:500}
.ppg-profile .ppg-ref.ppg-highlight{background:var(--ppg-primary);color:#fff;border:0}
.ppg-profile .ppg-ref.ppg-highlight h3{color:#fff}
.ppg-profile .ppg-ref.ppg-highlight .ppg-tags li{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2)}

/* ---------- CREDENTIALS / INVOLVEMENT ---------- */
.ppg-profile .ppg-three{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.ppg-profile .ppg-list{list-style:none;padding:0;margin:0}
.ppg-profile .ppg-list li{padding:12px 0;border-bottom:1px solid var(--ppg-line);display:flex;gap:10px}
.ppg-profile .ppg-list li::before{content:"";flex:none;width:8px;height:8px;margin-top:9px;border-radius:50%;background:var(--ppg-accent)}
.ppg-profile .ppg-list h3{font-size:1.15rem;margin-bottom:6px}

/* ---------- TESTIMONIALS ---------- */
.ppg-profile .ppg-testi{background:var(--ppg-bg);border-radius:var(--ppg-radius);padding:28px;border:1px solid var(--ppg-line);display:flex;flex-direction:column}
.ppg-profile .ppg-stars{color:var(--ppg-accent);letter-spacing:2px;margin-bottom:10px}
.ppg-profile .ppg-testi p{margin:0 0 18px;flex:1}
.ppg-profile .ppg-testi strong{color:var(--ppg-primary);display:block}
.ppg-profile .ppg-testi small{color:var(--ppg-muted)}

/* ---------- LOCATION ---------- */
.ppg-profile .ppg-loc-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:0;background:var(--ppg-card);border-radius:var(--ppg-radius);overflow:hidden;border:1px solid var(--ppg-line)}
.ppg-profile .ppg-loc-info{padding:36px}
.ppg-profile .ppg-loc-info dl{margin:20px 0 24px}
.ppg-profile .ppg-loc-info dt{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:var(--ppg-muted);font-weight:600;margin-top:14px}
.ppg-profile .ppg-loc-info dd{margin:2px 0 0;font-weight:500}
.ppg-profile .ppg-map{min-height:340px;background:#e9e5dc}
.ppg-profile .ppg-map iframe{width:100%;height:100%;min-height:340px;border:0;display:block}

/* ---------- CTA ---------- */
.ppg-profile .ppg-cta{background:var(--ppg-primary);color:#fff;text-align:center}
.ppg-profile .ppg-cta h2{color:#fff;font-size:clamp(1.7rem,3.4vw,2.5rem);margin-bottom:12px}
.ppg-profile .ppg-cta p{opacity:.85;max-width:620px;margin:0 auto 28px}
.ppg-profile .ppg-cta .ppg-hero-actions{justify-content:center;margin:0}

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px){
  .ppg-profile .ppg-hero-grid{grid-template-columns:1fr;gap:28px}
  .ppg-profile .ppg-photo{max-width:320px;margin:0 auto;border-radius:var(--ppg-radius)}
  .ppg-profile .ppg-hero-info{text-align:center;padding-bottom:44px}
  .ppg-profile .ppg-company,.ppg-profile .ppg-hero-actions,.ppg-profile .ppg-contact-row{justify-content:center}
  .ppg-profile .ppg-facts-grid{grid-template-columns:1fr 1fr}
  .ppg-profile .ppg-fact:nth-child(3){border-left:0}
  .ppg-profile .ppg-fact{border-top:1px solid var(--ppg-line)}
  .ppg-profile .ppg-about-grid,.ppg-profile .ppg-ref-grid,.ppg-profile .ppg-loc-grid{grid-template-columns:1fr}
  .ppg-profile .ppg-cards,.ppg-profile .ppg-three{grid-template-columns:1fr}
  .ppg-profile section{padding:48px 0}
}

/* ---------- PLUGIN ADDITIONS ---------- */
.ppg-profile .ppg-photo-empty{width:100%;height:100%;display:grid;place-items:center;font-family:var(--ppg-head);font-size:5rem;color:var(--ppg-primary);background:#e9e5dc}
.ppg-profile .ppg-notice{background:#fff6e5;color:#6b4a0c;border-bottom:1px solid #f1d9a6;padding:12px 0;font-size:.92rem}
.ppg-profile .ppg-notice a{font-weight:600}
.ppg-profile .ppg-facts-grid.ppg-n3{grid-template-columns:repeat(3,1fr)}
.ppg-profile .ppg-facts-grid.ppg-n2{grid-template-columns:repeat(2,1fr)}
.ppg-profile .ppg-facts-grid.ppg-n1{grid-template-columns:1fr}
.ppg-profile .ppg-about-grid.ppg-solo{grid-template-columns:1fr}
.ppg-profile .ppg-ref-grid.ppg-solo{grid-template-columns:1fr}
.ppg-profile .ppg-loc-grid.ppg-solo{grid-template-columns:1fr}

/* Directory */
.ppg-profile.ppg-directory{background:transparent}
.ppg-profile .ppg-dir-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:28px}
.ppg-profile .ppg-dir-search{flex:1;max-width:360px;padding:12px 16px;border:1px solid #d6d1c5;border-radius:999px;font:400 .97rem var(--ppg-body);background:#fff}
.ppg-profile .ppg-dir-search:focus{outline:none;border-color:var(--ppg-primary);box-shadow:0 0 0 3px rgba(31,58,95,.15)}
.ppg-profile .ppg-dir-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px}
.ppg-profile .ppg-dir-card{background:var(--ppg-card);border:1px solid var(--ppg-line);border-radius:var(--ppg-radius);overflow:hidden;text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.ppg-profile .ppg-dir-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.08)}
.ppg-profile .ppg-dir-photo{aspect-ratio:4/5;background:#e9e5dc;overflow:hidden}
.ppg-profile .ppg-dir-photo img{width:100%;height:100%;object-fit:cover}
.ppg-profile .ppg-dir-photo .ppg-photo-empty{font-size:3.5rem}
.ppg-profile .ppg-dir-body{padding:18px 20px 22px}
.ppg-profile .ppg-dir-body h3{font-size:1.2rem;margin-bottom:4px}
.ppg-profile .ppg-dir-body p{margin:0;font-size:.9rem;color:var(--ppg-muted)}
.ppg-profile .ppg-dir-ind{display:inline-block;margin-top:10px;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ppg-accent)}
.ppg-profile .ppg-dir-empty{color:var(--ppg-muted);padding:20px 0}

/* ★ My Network buttons */
.ppg-profile button.ppg-btn{font-family:var(--ppg-body);background:transparent;line-height:1.2}
.ppg-profile .ppg-btn.ppg-net-toggle.is-in{background:rgba(255,255,255,.14);border-color:var(--ppg-accent);color:#fff}
.ppg-profile .ppg-dir-item{position:relative;display:flex}
.ppg-profile .ppg-dir-item .ppg-dir-card{flex:1}
.ppg-profile .ppg-dir-star{position:absolute;top:10px;right:10px;z-index:2;border:0;border-radius:999px;padding:7px 12px;font:600 .78rem var(--ppg-body);background:rgba(255,255,255,.94);color:var(--ppg-primary);box-shadow:0 4px 12px rgba(0,0,0,.12);cursor:pointer}
.ppg-profile .ppg-dir-star:hover{background:#fff}
.ppg-profile .ppg-dir-star.is-in{background:var(--ppg-primary);color:#fff}
.ppg-profile .ppg-dir-star:disabled,.ppg-profile .ppg-net-toggle:disabled{opacity:.6;cursor:wait}

/* My Network control: "Add" button, or "In My Network" badge + "Remove" under it */
.ppg-net{display:inline-flex;flex-direction:column;align-items:flex-start;gap:6px;vertical-align:top}
.ppg-net-badge{display:inline-flex;align-items:center;gap:4px;padding:8px 14px;border-radius:999px;background:var(--ppg-accent,#F4EC32);color:#0A0B0D;font:600 .85rem var(--ppg-body,inherit);white-space:nowrap}
.ppg-net-remove{background:none;border:0;padding:0 2px;font:600 .8rem var(--ppg-body,inherit);color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;opacity:.85}
.ppg-net-remove:hover{opacity:1}
.ppg-net-remove:disabled{opacity:.5;cursor:wait}
.ppg-profile .ppg-dir-net{position:absolute;top:10px;right:10px;z-index:2;align-items:flex-end}
.ppg-profile .ppg-dir-net .ppg-dir-star{position:static}
.ppg-profile .ppg-dir-net .ppg-net-badge{padding:7px 12px;font-size:.78rem;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.ppg-profile .ppg-dir-net .ppg-net-remove{background:rgba(255,255,255,.94);color:#0A0B0D;text-decoration:none;padding:5px 10px;border-radius:999px;font-size:.74rem;box-shadow:0 4px 12px rgba(0,0,0,.10)}
