/* ==============================================================
   Guide template — shared by every article under /guides/.
   Modeled on guaranteedsaleedmonton.com/guides/*: breadcrumb, a
   category tag, single centered column, a STICKY agent-contact
   card running alongside the body (not a full-height sidebar —
   it starts after the intro and floats with the article), an
   inline pull-quote callout, FAQ via native <details>, related
   content, footer.
   No hero photo: this site has no rights-cleared image for this
   topic, and a stat band pulled from real City data is more
   honest for a data-driven guide than a stock photo would be.
   ============================================================== */

.guide { max-width: 900px; margin: 0 auto; padding: 0 var(--pad) 80px; }

.guide__crumb {
  padding: 22px 0 0;
  font-size: 0.82rem;
  color: var(--ink-3);
}
.guide__crumb a:hover { color: var(--accent); }

.guide__tag {
  display: inline-block;
  margin-top: 22px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 14px;
}

.guide h1 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  max-width: 20ch;
}
.guide__lede {
  margin-top: 14px;
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--ink-2);
}

/* ---------- real-data hero band (replaces a stock photo) ---------- */

.guide__stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 26px);
}
.guide__stats .gstat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -.02em;
}
.guide__stats .gstat span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--ink-2);
  line-height: 1.4;
}
.guide__stats-src {
  grid-column: 1 / -1;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--ink-3);
}
@media (max-width: 620px) {
  .guide__stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- two-column body: article + sticky sidebar ---------- */

.guide__layout {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 820px) {
  .guide__layout { grid-template-columns: 1fr; gap: 28px; }
  .guide__side { order: 3; }
}

.guide__body h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin: 34px 0 12px;
}
.guide__body h2:first-child { margin-top: 0; }
.guide__body p { color: var(--ink-2); font-size: 0.98rem; line-height: 1.7; margin-bottom: 14px; }
.guide__body ul { margin: 0 0 16px 20px; color: var(--ink-2); font-size: 0.98rem; line-height: 1.7; }
.guide__body li { margin-bottom: 6px; }
.guide__body strong { color: var(--ink); }

.guide__quote {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}

/* sticky agent-contact card */
.guide__side { position: sticky; top: 24px; }
.guide__card {
  background: var(--surface);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  padding: 22px;
}
.guide__card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}
.guide__card .k {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
.guide__card h3 { font-size: 1.08rem; margin: 8px 0 8px; }
.guide__card p { font-size: 0.86rem; color: var(--ink-2); margin-bottom: 16px; line-height: 1.5; }
.guide__card .btn { display: block; text-align: center; width: 100%; font-size: 0.86rem; padding: 12px 16px; }
.guide__card .btn--ghost {
  border: 1px solid var(--grid);
  border-radius: 999px;
  margin-top: 8px;
}

/* ---------- FAQ (native <details>, matches report.html's pattern) ---------- */

.guide__faq { margin-top: 48px; }
.guide__faq h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 18px; }
.guide__faq details {
  border-top: 1px solid var(--grid);
  padding: 16px 0;
}
.guide__faq details:last-child { border-bottom: 1px solid var(--grid); }
.guide__faq summary {
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.guide__faq summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; flex: none; }
.guide__faq details[open] summary::after { content: "–"; }
.guide__faq summary::-webkit-details-marker { display: none; }
.guide__faq p { margin-top: 10px; color: var(--ink-2); font-size: 0.92rem; line-height: 1.6; }

/* ---------- related / next steps ---------- */

.guide__next { margin-top: 48px; }
.guide__next h2 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin-bottom: 16px; }
.guide__nextGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.guide__nextCard {
  background: var(--surface);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.guide__nextCard .k { font-size: 0.7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.guide__nextCard h4 { font-size: 1rem; margin: 6px 0 6px; }
.guide__nextCard p { font-size: 0.86rem; color: var(--ink-2); margin: 0; }
.guide__nextCard--soon { opacity: 0.55; }

/* ---------- bottom CTA band ---------- */

.guide__cta {
  margin-top: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 34px);
  text-align: center;
}
.guide__cta h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 10px; }
.guide__cta p { color: rgba(255,255,255,.9); max-width: 54ch; margin: 0 auto 20px; font-size: 0.95rem; }
.guide__cta .btn { background: #fff; color: var(--accent); font-weight: 700; }
.guide__cta .btn:hover { background: #f4f4f2; }
