/* Community Guru (Goldie Gurus) — Phase 1
   Directory + per-guru pages + follow. Rendered by community-guru.js into #gcGuruApp. */
#gcGuruApp{ --gg-gold:#F5A623; --gg-gold-dark:#C97C0A; --gg-teal:#0A7E8C; --gg-teal-dark:#086B77;
  --gg-cream:#FFF9F0; --gg-ink:#1a1a1a; --gg-muted:#666; --gg-border:#e8e0d4; --gg-border-cream:#F0E6D2;
  --gg-accent:var(--gg-teal); --gg-accent-dark:var(--gg-teal-dark);
  font-size:18px; color:var(--gg-ink); }
#gcGuruApp *{ box-sizing:border-box; }

/* hero */
.gg-hero{ position:relative; border-radius:18px; overflow:hidden; margin:0 0 26px; min-height:300px;
  display:flex; align-items:center; color:#fff; }
.gg-hero .gg-hero-inner{ padding:34px 40px; max-width:600px; position:relative; z-index:1; }
.gg-hero .gg-eyebrow{ display:inline-block; font-size:14px; font-weight:800; letter-spacing:1.5px;
  text-transform:uppercase; color:#FFE0A3; margin:0 0 10px; text-shadow:0 1px 4px rgba(0,0,0,.4); }
.gg-hero h1{ margin:0 0 8px; font-size:38px; color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.35); }
.gg-hero p{ margin:0 0 20px; font-size:18px; color:#fff; max-width:470px; text-shadow:0 1px 5px rgba(0,0,0,.35); }
.gg-hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* buttons */
.gg-btn{ display:inline-flex; align-items:center; gap:8px; justify-content:center; border:none;
  border-radius:10px; font-size:17px; font-weight:700; cursor:pointer; padding:13px 22px; min-height:48px;
  text-decoration:none; transition:transform .12s, background .12s; }
.gg-btn:hover{ transform:translateY(-1px); }
.gg-btn-gold{ background:var(--gg-gold); color:#222; }
.gg-btn-gold:hover{ background:var(--gg-gold-dark); color:#fff; }
.gg-btn-primary{ background:var(--gg-accent); color:#fff; }
.gg-btn-primary:hover{ background:var(--gg-accent-dark); color:#fff; }
.gg-btn-ghost{ background:rgba(255,255,255,.18); color:#fff; border:2px solid #fff; }
.gg-btn-outline{ background:#fff; color:var(--gg-accent); border:2px solid var(--gg-accent); }
.gg-btn-sub[data-on="true"]{ background:#1a8f5a; color:#fff; }
.gg-btn-sub[data-on="true"]::before{ content:"\2713  "; }

.gg-section-title{ font-size:24px; font-weight:800; margin:30px 0 14px; display:flex; align-items:center; gap:10px; }
.gg-pill{ font-size:12px; font-weight:700; background:var(--gg-gold); color:#222; border-radius:20px; padding:3px 10px; text-transform:uppercase; letter-spacing:.5px; }

/* directory grid */
.gg-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
@media(max-width:760px){ .gg-grid{ grid-template-columns:1fr; } }
.gg-card{ background:#fff; border:1px solid var(--gg-border); border-radius:18px; overflow:hidden;
  display:flex; flex-direction:column; transition:transform .15s, box-shadow .15s; }
.gg-card:hover{ transform:translateY(-4px); box-shadow:0 10px 30px rgba(0,0,0,.1); }
.gg-card .gg-band{ height:8px; }
.gg-card .gg-body{ padding:22px; display:flex; flex-direction:column; gap:14px; flex:1; }
.gg-head{ display:flex; gap:16px; align-items:center; cursor:pointer; }
.gg-avatar{ width:84px; height:84px; border-radius:50%; flex:none; box-shadow:0 3px 10px rgba(0,0,0,.18); position:relative; }
.gg-avatar img{ width:100%; height:100%; object-fit:contain; border-radius:50%; display:block; }
.gg-avatar .gg-vbadge{ position:absolute; bottom:-2px; right:-2px; background:var(--gg-gold); color:#222;
  width:26px; height:26px; border-radius:50%; display:grid; place-items:center; font-size:14px; border:2px solid #fff; }
.gg-name{ font-size:22px; font-weight:800; margin:0; line-height:1.15; }
.gg-title{ font-size:15px; color:var(--gg-accent); font-weight:700; margin:2px 0 0; }
.gg-headline{ font-size:17px; margin:0; font-style:italic; color:var(--gg-ink); }
.gg-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.gg-chip{ font-size:13.5px; background:var(--gg-cream); border:1px solid var(--gg-border-cream); border-radius:20px; padding:5px 12px; color:#5a513f; font-weight:600; }
.gg-card-actions{ display:flex; gap:10px; margin-top:auto; }
.gg-card-actions .gg-btn{ flex:1; font-size:16px; padding:11px 14px; min-height:46px; }

/* topic chips */
.gg-cats{ display:flex; flex-wrap:wrap; gap:10px; margin:10px 0 28px; }
.gg-cat{ background:#fff; border:1px solid var(--gg-border); border-radius:12px; padding:12px 16px; font-weight:700; font-size:16px; color:#2b2b2b; cursor:pointer; transition:background .15s, border-color .15s; }
button.gg-cat:hover{ background:#FFF6E6; border-color:var(--gg-gold, #E8983A); }
.gg-cat.empty{ background:repeating-linear-gradient(45deg,#fff,#fff 8px,#fcf7ee 8px,#fcf7ee 16px); color:#999; border-style:dashed; cursor:default; }
.gg-recruit{ background:#fff; border:2px dashed var(--gg-gold); border-radius:18px; padding:26px; text-align:center; margin:8px 0 20px; }
.gg-recruit h3{ margin:0 0 6px; font-size:22px; } .gg-recruit p{ margin:0 0 16px; color:var(--gg-muted); }

/* guru detail page */
.gg-page-hero{ border-radius:18px; overflow:hidden; color:#fff; padding:0; min-height:240px; display:flex; align-items:center; margin:0 0 22px; }
.gg-ph-inner{ display:flex; gap:26px; align-items:center; padding:34px 36px; position:relative; z-index:1; }
.gg-ph-avatar{ width:128px; height:128px; border-radius:50%; flex:none; box-shadow:0 4px 14px rgba(0,0,0,.35); overflow:hidden; background:#fff; }
.gg-ph-avatar img{ width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.gg-ph-text h1{ margin:0; font-size:34px; color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.6), 0 1px 2px rgba(0,0,0,.5); }
.gg-ph-text .gg-role{ font-size:17px; font-weight:700; opacity:.98; margin:4px 0 10px; text-shadow:0 1px 6px rgba(0,0,0,.6); }
.gg-ph-meta{ display:flex; flex-wrap:wrap; gap:8px; }
.gg-ph-meta .gg-chip{ background:rgba(255,255,255,.18); border-color:rgba(255,255,255,.35); color:#fff; }
.gg-back{ background:none; border:none; color:var(--gg-accent); font-weight:700; font-size:16px; cursor:pointer; padding:4px 0; margin:0 0 12px; }
.gg-page-grid{ display:grid; grid-template-columns:2fr 1fr; gap:28px; }
.gg-page-grid.gg-has-rail{ grid-template-columns:190px minmax(0,2fr) 1fr; }
@media(max-width:1080px){ .gg-page-grid.gg-has-rail{ grid-template-columns:2fr 1fr; } .gg-month-rail{ display:none !important; } }
@media(max-width:820px){ .gg-page-grid, .gg-page-grid.gg-has-rail{ grid-template-columns:1fr; } }
/* Left-rail month/date article archive */
.gg-month-rail{ position:sticky; top:88px; align-self:start; max-height:calc(100vh - 108px); overflow-y:auto; padding-right:4px; }
.gg-month-rail h4{ font-size:12px; font-weight:800; letter-spacing:1.3px; text-transform:uppercase; color:var(--gg-accent,#0A7E8C); margin:0 0 14px; }
.gg-month-group{ margin-bottom:6px; }
.gg-month-title{ display:flex; align-items:center; gap:8px; width:100%; background:none; border:0; margin:0; padding:6px 4px; cursor:pointer; font-family:inherit; font-weight:700; font-size:15px; color:#38291A; text-align:left; border-radius:8px; }
.gg-month-title:hover{ background:rgba(10,126,140,.07); }
.gg-month-caret{ font-size:11px; color:var(--gg-accent,#0A7E8C); transition:transform .15s ease; flex:0 0 auto; }
.gg-month-group.open .gg-month-caret{ transform:rotate(90deg); }
.gg-month-label{ flex:1 1 auto; }
.gg-month-count{ flex:0 0 auto; font-weight:600; font-size:12px; color:#8a7f6e; background:#f0ece3; border-radius:10px; padding:1px 8px; }
.gg-month-items{ display:none; padding:2px 0 8px; }
.gg-month-group.open .gg-month-items{ display:block; }
.gg-month-item{ display:flex; gap:9px; align-items:baseline; font-size:13.5px; color:#5b5b5b; text-decoration:none; padding:6px 9px; border-radius:8px; line-height:1.35; }
.gg-month-item:hover{ background:rgba(10,126,140,.10); color:var(--gg-accent-dark,#086B77); }
.gg-month-day{ flex:0 0 auto; font-weight:800; font-size:12px; color:var(--gg-accent,#0A7E8C); min-width:20px; text-align:right; }
.gg-month-name{ flex:1 1 auto; }
.gg-panel{ background:#fff; border:1px solid var(--gg-border); border-radius:16px; padding:22px 24px; margin-bottom:22px; }
.gg-panel h2{ margin:0 0 14px; font-size:22px; }
.gg-bio{ font-size:17.5px; color:#3a3a3a; }
.gg-article{ border-bottom:1px solid var(--gg-border-cream); padding:14px 0; }
.gg-article:last-child{ border-bottom:none; }
.gg-article .gg-atitle{ font-weight:700; font-size:17px; cursor:pointer; margin:0; }
.gg-article .gg-atitle:hover{ color:var(--gg-accent); }
.gg-article .gg-aexcerpt{ margin:5px 0 0; color:var(--gg-muted); font-size:15.5px; }
.gg-article .gg-abody{ margin:12px 0 0; font-size:16.5px; color:#333; white-space:pre-line; display:none; }
.gg-article.open .gg-abody{ display:block; }
.gg-side{ background:#fff; border:1px solid var(--gg-border); border-radius:16px; padding:20px 22px; margin-bottom:20px; }
.gg-side h3{ margin:0 0 12px; font-size:18px; }
.gg-statline{ display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px dashed var(--gg-border-cream); font-size:16px; }
.gg-statline:last-child{ border:none; } .gg-statline b{ color:var(--gg-accent); }
.gg-disclaimer{ font-size:13.5px; color:#999; background:#fbf7ef; border:1px solid var(--gg-border-cream); border-radius:10px; padding:12px 14px; margin-top:10px; }
.gg-soon{ display:inline-block; font-size:12px; font-weight:700; color:#8a8170; background:#f1ece3; border:1px solid var(--gg-border); border-radius:14px; padding:3px 10px; }

.gg-loading,.gg-empty{ text-align:center; color:var(--gg-muted); padding:40px; }
.gg-toast{ position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px); opacity:0;
  background:#222; color:#fff; padding:13px 22px; border-radius:30px; font-size:15px; font-weight:600;
  box-shadow:0 8px 24px rgba(0,0,0,.3); transition:.25s; z-index:9999; pointer-events:none; }
.gg-toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ---- Mobile hero: STACK layout. The desktop hero overlays text on a
        text-left / people-right photo via `cover`, which on a narrow phone
        crops the right-most person out. On mobile we instead show the FULL
        photo (no horizontal crop -> all four people visible) as a band on
        top, with the headline + buttons in a solid block below.
        The guru JS sets the photo as an INLINE `background` shorthand, so
        these overrides need !important to win over it. ---- */
@media(max-width:600px){
  .gg-hero{
    display:block !important;
    min-height:0 !important;
    border-radius:14px;
    overflow:hidden;
    margin-bottom:20px;
    background-color:#3a2606 !important;
    background-image:url('../images/guru-hero.jpg') !important; /* drop side gradient on mobile */
    background-repeat:no-repeat !important;
    background-size:100% auto !important;       /* full width => nobody cropped */
    background-position:top center !important;
    padding-top:53.5% !important;               /* reserves the photo band (image is ~1.87:1) */
  }
  .gg-hero .gg-hero-inner{
    padding:20px 22px 24px;
    background:#3a2606;
    max-width:none;
  }
  .gg-hero h1{ font-size:26px; line-height:1.2; }
  .gg-hero p{ font-size:16px; max-width:none; margin-bottom:18px; }
  .gg-hero-actions{ gap:10px; }
  .gg-hero .gg-btn{ width:100%; padding:13px 16px; font-size:16px; }
}

/* ============================================================
   v1.1.0 — WP article link-out, Helpful Links, Ask a Guru Q&A
   ============================================================ */
a.gg-article-link{ display:block; text-decoration:none; color:inherit; border-radius:12px;
  padding:14px 16px; margin:0 -16px; transition:background .15s; }
a.gg-article-link:hover{ background:#FFF4E0; }
a.gg-article-link .gg-atitle{ color:var(--gg-accent, #0A7E8C); cursor:pointer; }
.gg-aread{ display:inline-block; margin-top:6px; font-size:15.5px; font-weight:700;
  color:var(--gg-accent, #0A7E8C); }

.gg-res{ padding:13px 0; border-bottom:1px solid #F0E6D6; }
.gg-res:last-child{ border-bottom:none; }
.gg-res-intro{ font-size:15.5px; color:#666; margin:0 0 6px; }
.gg-res-label{ font-size:17.5px; font-weight:700; color:var(--gg-accent, #0A7E8C); text-decoration:none; }
a.gg-res-label:hover{ text-decoration:underline; }
.gg-res-phone{ display:inline-block; margin-left:10px; font-size:16px; font-weight:600; color:#555; }
.gg-res-note{ font-size:15.5px; color:#666; margin:4px 0 0; line-height:1.45; }

.gg-side-p{ font-size:15.5px; color:#555; line-height:1.5; margin:0 0 12px; }
.gg-ask-ta{ width:100%; box-sizing:border-box; margin-top:12px; padding:12px; font-size:17px;
  font-family:inherit; line-height:1.5; border:2px solid #E5D9C5; border-radius:10px; resize:vertical; }
.gg-ask-ta:focus{ outline:none; border-color:var(--gg-accent, #0A7E8C); }
.gg-ask-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:8px; gap:10px; }
.gg-ask-foot span{ font-size:14.5px; color:#888; }
.gg-ask-note{ font-size:14px; color:#888; line-height:1.45; margin:10px 0 0; }

/* Become-a-Goldie-Guru application modal */
.gg-modal-ov{ position:fixed; inset:0; z-index:100000; background:rgba(30,20,5,.55); display:flex; align-items:flex-start; justify-content:center; padding:24px 16px; overflow-y:auto; }
.gg-modal{ position:relative; background:#fff; border-radius:18px; max-width:560px; width:100%; padding:26px 28px; box-shadow:0 24px 60px -20px rgba(0,0,0,.5); display:flex; flex-direction:column; max-height:calc(100vh - 48px); }
.gg-mform{ display:flex; flex-direction:column; min-height:0; flex:1 1 auto; }
.gg-modal-body{ flex:1 1 auto; overflow-y:auto; min-height:0; display:flex; flex-direction:column; gap:13px; padding-right:2px; }
.gg-modal-foot{ flex:0 0 auto; padding-top:14px; margin-top:12px; border-top:1px solid #eadfcb; }
/* The base .gg-btn-primary only paints anchors, so <button> submits render
   transparent (white-on-white = invisible). Give button CTAs an explicit fill. */
button.gg-btn.gg-btn-primary{ background:#0A7E8C; color:#fff; border:none; cursor:pointer; }
button.gg-btn.gg-btn-primary:hover{ background:#086573; }
.gg-modal-foot .gg-btn{ width:100%; font-size:18px; padding:14px; border-radius:12px; }
.gg-modal-x{ position:absolute; top:12px; right:12px; z-index:3; width:40px; height:40px; display:flex; align-items:center; justify-content:center; background:#efe3c8; border:1.5px solid #d9c69f; border-radius:50%; font-size:26px; line-height:1; color:#5b4a2e; cursor:pointer; padding:0; box-shadow:0 1px 3px rgba(0,0,0,.12); }
.gg-modal-x:hover{ background:#e4d1a6; color:#2b2b2b; border-color:#c5781e; }
.gg-modal-x:focus-visible{ outline:2px solid #c5781e; outline-offset:2px; }
.gg-modal-title{ font-size:24px; margin:0 0 8px; color:#2b2b2b; padding-right:44px; }
.gg-modal-lead{ font-size:16.5px; color:#555; line-height:1.5; margin:0 0 16px; }
.gg-modal-points{ list-style:none; padding:0; margin:0 0 20px; display:flex; flex-direction:column; gap:10px; }
.gg-modal-points li{ background:#FBF3E4; border:1px solid #EAD9B8; border-radius:12px; padding:11px 14px; font-size:15px; line-height:1.5; color:#5b4a2e; }
.gg-modal-points strong{ color:#C5781E; }
.gg-form{ display:flex; flex-direction:column; gap:14px; }
.gg-flabel{ display:flex; flex-direction:column; gap:5px; font-weight:700; font-size:15.5px; color:#3a2e1f; }
.gg-fhint{ font-weight:400; color:#8a7a63; font-size:13.5px; }
.gg-input{ width:100%; box-sizing:border-box; padding:12px 13px; font-size:17px; border:1px solid var(--gg-border,#e6ddcb); border-radius:10px; font-family:inherit; color:#2b2b2b; background:#fff; }
.gg-input:focus{ outline:none; border-color:#C5781E; box-shadow:0 0 0 3px rgba(197,120,30,.15); }
.gg-input.gg-invalid{ border-color:#B4472F; box-shadow:0 0 0 3px rgba(180,71,47,.14); }
.gg-ta{ resize:vertical; min-height:110px; }
.gg-hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.gg-form-msg{ color:#B4472F; font-size:14.5px; }
.gg-form-msg:empty{ display:none; }
.gg-modal-thanks{ text-align:center; padding:10px 0; }
.gg-modal-check{ font-size:44px; margin-bottom:6px; }
@media(max-width:520px){ .gg-modal{ padding:24px 18px; } .gg-modal-title{ font-size:21px; } }

/* Guru Desk */
.gg-desk-entry{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; background:linear-gradient(90deg,#FFF3DC,#FBE7C2); border:1px solid #EAD9B8; border-radius:14px; padding:15px 20px; margin:0 0 20px; }
.gg-desk-entry strong{ font-size:18px; color:#2b2b2b; display:block; }
.gg-desk-sub{ font-size:14.5px; color:#6b5a3e; }
.gg-desk{ max-width:760px; margin:0 auto; }
.gg-desk-back{ display:inline-block; color:#0A7E8C; cursor:pointer; font-weight:700; margin-bottom:8px; text-decoration:none; }
.gg-desk-back:hover{ text-decoration:underline; }
.gg-desk-title{ font-size:28px; margin:6px 0 4px; color:#2b2b2b; }
.gg-desk-lead{ color:#666; font-size:16px; line-height:1.5; margin:0 0 20px; }
.gg-desk-item{ background:#fff; border:1px solid var(--gg-border,#e6ddcb); border-radius:14px; padding:16px 18px; margin:0 0 14px; }
.gg-desk-meta{ font-size:13.5px; color:#8a7a63; margin-bottom:6px; }
.gg-desk-q{ font-size:17px; color:#2b2b2b; line-height:1.5; margin-bottom:10px; }
.gg-desk-ta{ margin-bottom:8px; }
.gg-desk-foot{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.gg-desk-msg{ color:#B4472F; font-size:14px; }
.gg-desk-empty{ color:#888; font-size:15.5px; padding:6px 0 18px; }
.gg-desk-donemsg{ color:#2F7D50; font-weight:700; font-size:16px; padding:6px 0; }

.gg-qa{ padding:16px 0; border-bottom:1px solid #F0E6D6; }
.gg-qa:last-child{ border-bottom:none; }
.gg-qa-q{ font-size:17.5px; color:#333; line-height:1.55; margin:0 0 10px; }
.gg-qa-who{ font-weight:700; color:#8a6d3b; }
.gg-qa-a{ background:#F4FAFB; border-left:4px solid var(--gg-accent, #0A7E8C); border-radius:0 10px 10px 0;
  padding:12px 14px; }
.gg-qa-a p{ font-size:17px; color:#333; line-height:1.6; margin:6px 0 0; }
.gg-qa-badge{ display:inline-block; background:var(--gg-accent, #0A7E8C); color:#fff; font-size:13.5px;
  font-weight:700; padding:3px 10px; border-radius:999px; letter-spacing:.02em; }
.gg-qa-mine{ background:#FFF4E0; border-radius:10px; padding:12px 14px; font-size:16px; color:#6b5320;
  margin:0 0 14px; }
