/* Section styles extracted from the Next build's HomeStyles (styled-jsx global).
   These style the marketing sections the PHP templates render. */

/* Hero */
.hero-media { display: grid; gap: 18px; }
.page-hero .split { align-items: start; }
.hero-image-shell { border-radius: 10px; box-shadow: 0 24px 64px rgba(36,59,57,0.10); min-height: 420px; overflow: hidden; position: relative; }
.hero-photo { height: 100%; object-fit: cover; object-position: center; width: 100%; }
.hero-logo-card { background: #fff; border: 1px solid rgba(29,161,158,0.18); border-radius: 8px; bottom: 18px; box-shadow: 0 8px 24px rgba(36,59,57,0.10); left: 18px; max-width: 252px; padding: 14px; position: absolute; }
.hero-logo-card p { color: var(--navy); font-size: 14px; font-weight: 700; line-height: 1.45; margin: 0; }

/* Proof strip */
.proof-strip { background: var(--surface-2); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); padding: 30px 0; }
.proof-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: grid; gap: 4px; }
.stat strong { color: var(--navy); font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.stat span { color: var(--muted); font-size: 13px; }

/* Section head */
.section-head { margin-bottom: 40px; max-width: 680px; }
.section-head.center-text { margin-left: auto; margin-right: auto; text-align: center; }

/* Persona cards */
.persona-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.persona-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; display: grid; gap: 10px; padding: 28px 24px; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.persona-card:hover { border-color: rgba(29,161,158,0.4); box-shadow: 0 8px 28px rgba(29,161,158,0.10); transform: translateY(-2px); }
.persona-num { color: var(--blue); font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; opacity: 0.6; text-transform: uppercase; }
.persona-audience { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.persona-card h3 { color: var(--navy); font-size: 20px; margin: 0; }
.persona-card p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }
.persona-cta { color: var(--blue); font-size: 13px; font-weight: 800; margin-top: 4px; }

/* Pillar cards */
.pillar-card { transition: transform 0.2s ease, border-color 0.2s ease; }
.pillar-card:hover { border-color: rgba(29,161,158,0.4); transform: translateY(-3px); }

/* How-it-works steps */
.how-steps { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.how-step-card { align-items: start; display: flex; gap: 14px; }
.how-step-card .timeline-num { flex-shrink: 0; }
.step-link { color: var(--blue); display: inline-block; font-size: 13px; font-weight: 800; margin-top: 8px; }

/* Why ESS / comparison */
.why-ess-intro { display: grid; gap: 20px; margin-bottom: 28px; max-width: 820px; }
.efap-compare { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.compare-col { border-radius: 6px; display: grid; gap: 8px; padding: 16px; }
.compare-col-ess { background: #f6faf9; border: 1px solid rgba(29,161,158,0.25); }
.compare-col-efap { background: var(--surface-2); border: 1px solid var(--line); }
.compare-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 4px; text-transform: uppercase; }
.compare-label-ess { color: var(--green); }
.compare-label-efap { color: var(--muted); }
.compare-row { align-items: flex-start; display: flex; font-size: 13px; gap: 7px; line-height: 1.4; }
.compare-check { color: var(--green); flex-shrink: 0; font-weight: 900; }
.compare-x { color: var(--muted); flex-shrink: 0; font-weight: 900; }
.compare-row-muted { color: var(--muted); }

/* Privacy panel */
.privacy-card { display: grid; gap: 10px; }

/* Resource cards */
.resource-card { display: grid; gap: 10px; transition: transform 0.2s ease, border-color 0.2s ease; }
.resource-card:hover { border-color: rgba(29,161,158,0.4); transform: translateY(-3px); }
.resource-card .eyebrow { justify-self: start; }
.resource-card strong { color: var(--blue); font-size: 13px; font-weight: 800; }

/* Responsive */
@media (max-width: 920px) {
  .persona-grid { grid-template-columns: 1fr; }
  .efap-compare { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-steps { grid-template-columns: 1fr; }
}

/* ---- Blog: single-post prose + card thumbnails (native WP posts) ---- */
.resource-thumb { width: 100%; height: 180px; object-fit: cover; border-radius: 4px; margin-bottom: 4px; }
.ess-prose { max-width: 760px; margin: 0 auto; font-family: var(--font-body); color: var(--ink); font-size: 18px; line-height: 1.7; }
.ess-prose h2 { font-family: var(--font-display); color: var(--navy); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin: 38px 0 12px; }
.ess-prose h3 { font-family: var(--font-display); color: var(--navy); font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.ess-prose p { margin: 0 0 18px; }
.ess-prose ul, .ess-prose ol { margin: 0 0 18px; padding-left: 22px; }
.ess-prose li { margin: 0 0 8px; }
.ess-prose a { color: var(--blue); text-decoration: underline; }
.single-back { max-width: 760px; margin: 34px auto 0; }
.single-back a { color: var(--blue); font-weight: 700; text-decoration: none; }
.single-back a:hover { text-decoration: underline; }
.single-cta { max-width: 760px; margin: 0 auto; text-align: center; }
.single-cta .hero-actions { justify-content: center; margin-top: 18px; }
