/* ================================================================
   GROWTH PARTNER — Design System (Lovable editorial)
   grpa.lovable.app → WordPress child theme
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --gp-bg:           #ffffff;
  --gp-fg:           #111827;
  --gp-primary:      #1a1a2e;
  --gp-accent:       #f97316;
  --gp-accent-glow:  #fb923c;
  --gp-muted:        #f8f6f3;
  --gp-muted-fg:     #6b7280;
  --gp-border:       #e5e7eb;
  --gp-warm:         #f5f3ef;
  --gp-cream:        #faf9f7;
  --gp-navy:         #1a1a2e;
  --gp-navy-light:   #252545;
  --gp-card:         #ffffff;
  --gp-radius:       12px;
  --gp-shadow:       0 4px 20px rgba(0,0,0,0.08);
  --gp-shadow-lg:    0 8px 40px rgba(0,0,0,0.12);
  --gp-shadow-orange:0 4px 24px rgba(249,115,22,0.25);
  --gp-font-h:       'Lora', Georgia, serif;
  --gp-font-b:       'Inter', system-ui, sans-serif;
  --gp-font-mono:    'JetBrains Mono', 'Courier New', monospace;
}

/* ── Base ───────────────────────────────────────────────────── */
body { font-family: var(--gp-font-b); font-size:16px; line-height:1.75; color:var(--gp-fg); background:var(--gp-bg); }
*, *::before, *::after { box-sizing: border-box; }
img { max-width:100%; height:auto; }
a { text-decoration: none; }

/* Admin bar compensation */
.admin-bar .gp-nav { top: 32px; }
@media (max-width:782px) { .admin-bar .gp-nav { top:46px; } }

/* ── Container ──────────────────────────────────────────────── */
.gp-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.gp-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .2s, box-shadow .2s;
}
.gp-nav.scrolled {
  border-bottom: 1px solid var(--gp-border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.gp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.gp-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.gp-nav-logo-badge {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gp-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--gp-font-h);
  font-weight: 700; font-size: 14px;
}
.gp-nav-logo-text {
  font-family: var(--gp-font-h);
  font-size: 18px; font-weight: 700;
  color: var(--gp-fg);
  letter-spacing: -.02em;
}
.gp-nav-links { display: flex; align-items: center; gap: 2rem; }
.gp-nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--gp-muted-fg);
  text-decoration: none;
  transition: color .15s;
}
.gp-nav-link:hover { color: var(--gp-fg); }
.gp-nav-nl {
  font-size: 14px; font-weight: 500;
  color: var(--gp-accent);
  text-decoration: none;
  transition: color .15s;
}
.gp-nav-nl:hover { color: var(--gp-accent-glow); }
.gp-nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  color: var(--gp-fg);
}
.gp-nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--gp-border);
  background: var(--gp-bg);
  padding-bottom: 16px;
}
.gp-nav-mobile.open { display: flex; }
.gp-nav-ml {
  padding: 12px 24px;
  font-size: 14px; font-weight: 500;
  color: var(--gp-muted-fg);
  text-decoration: none;
  transition: color .15s;
}
.gp-nav-ml:hover { color: var(--gp-fg); }
.gp-nav-ml.accent { color: var(--gp-accent); }

@media (max-width:768px) {
  .gp-nav-links { display: none; }
  .gp-nav-toggle { display: block; }
}

/* ── Sections ───────────────────────────────────────────────── */
.gp-section    { padding: 80px 0; background: var(--gp-bg); position: relative; }
.gp-section-sm { padding: 64px 0; background: var(--gp-bg); position: relative; }
.gp-warm  { background: var(--gp-warm); }
.gp-cream { background: var(--gp-cream); }
.gp-navy  { background: linear-gradient(135deg, var(--gp-navy) 0%, var(--gp-navy-light) 100%); }
.gp-border-y { border-top:1px solid var(--gp-border); border-bottom:1px solid var(--gp-border); }
.gp-border-t { border-top:1px solid var(--gp-border); }

/* ── Accent label (overline) ────────────────────────────────── */
.gp-overline {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gp-accent);
  margin-bottom: 16px;
}
.gp-overline::before {
  content: '';
  display: block;
  width: 48px; height: 3px;
  background: var(--gp-accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.gp-label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gp-accent);
  margin-bottom: 8px;
}

/* ── Headings ───────────────────────────────────────────────── */
.gp-h1 {
  font-family: var(--gp-font-h);
  font-size: clamp(2rem,4vw,3.25rem);
  font-weight: 700; line-height: 1.15;
  color: var(--gp-fg);
  margin: 0 0 24px;
}
.gp-h2 {
  font-family: var(--gp-font-h);
  font-size: clamp(1.75rem,3vw,2rem);
  font-weight: 700; line-height: 1.2;
  color: var(--gp-fg);
  margin: 0;
}
.gp-h3 {
  font-family: var(--gp-font-h);
  font-size: 20px; font-weight: 600;
  color: var(--gp-fg);
  margin: 0 0 8px;
}
.gp-h2-navy { color: rgba(240,240,240,0.95); }

/* Hero highlight underline */
.gp-highlight {
  position: relative;
  display: inline;
}
.gp-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0;
  width: 100%; height: 10px;
  background: rgba(249,115,22,0.2);
  border-radius: 3px;
  z-index: -1;
}

/* ── Hero ───────────────────────────────────────────────────── */
.gp-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
@media (min-width:1024px) { .gp-hero { padding: 96px 0; } }

.gp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width:1024px) {
  .gp-hero-grid { grid-template-columns: 1fr 1fr; }
}

.gp-hero-sub {
  font-size: 18px;
  color: var(--gp-muted-fg);
  max-width: 480px;
  margin: 0 0 32px;
}
.gp-hero-ctas {
  display: flex; flex-wrap: wrap;
  gap: 16px; margin-bottom: 32px;
}
.gp-trust {
  display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--gp-muted-fg);
}
.gp-trust-live {
  display: inline-flex; align-items: center; gap: 6px;
}
.gp-trust-live::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: gp-pulse 3s ease-in-out infinite;
}
.gp-trust-sep { color: var(--gp-border); }

/* Hero image */
.gp-hero-img-col {
  position: relative;
  display: none;
}
@media (min-width:1024px) { .gp-hero-img-col { display: block; } }

.gp-hero-bg-rot {
  position: absolute;
  inset: -16px;
  background: rgba(249,115,22,0.1);
  border-radius: 24px;
  transform: rotate(3deg);
}
.gp-hero-img {
  position: relative;
  border-radius: 16px;
  box-shadow: var(--gp-shadow-lg);
  width: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.gp-hero-img-placeholder {
  position: relative;
  border-radius: 16px;
  box-shadow: var(--gp-shadow-lg);
  min-height: 400px;
  background: var(--gp-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating badges */
.gp-float {
  position: absolute;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--gp-shadow);
  animation: gp-float-anim 6s ease-in-out infinite;
}
.gp-float-white {
  background: var(--gp-card);
  border: 1px solid var(--gp-border);
}
.gp-float-orange {
  background: var(--gp-accent);
  color: #fff;
  box-shadow: var(--gp-shadow-orange);
  animation-delay: 2s;
}
.gp-float-num {
  font-family: var(--gp-font-h);
  font-size: 24px; font-weight: 700;
  line-height: 1;
}
.gp-float-lbl { font-size: 12px; color: var(--gp-muted-fg); margin-top: 4px; }
.gp-float-orange .gp-float-lbl { color: rgba(255,255,255,0.85); }

/* ── Buttons ────────────────────────────────────────────────── */
.gp-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--gp-primary);
  color: #fff;
  font-size: 14px; font-weight: 600;
  border-radius: var(--gp-radius);
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
  border: none; cursor: pointer;
}
.gp-btn-primary:hover {
  box-shadow: var(--gp-shadow);
  color: #fff;
  transform: translateY(-1px);
}
.gp-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--gp-border);
  color: var(--gp-fg);
  font-size: 14px; font-weight: 600;
  border-radius: var(--gp-radius);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
  background: transparent;
}
.gp-btn-outline:hover { border-color: var(--gp-accent); box-shadow: var(--gp-shadow); color: var(--gp-fg); }
.gp-btn-muted {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--gp-muted);
  color: var(--gp-fg);
  font-size: 14px; font-weight: 600;
  border-radius: var(--gp-radius);
  text-decoration: none;
  transition: box-shadow .2s;
  border: none; cursor: pointer;
}
.gp-btn-muted:hover { box-shadow: var(--gp-shadow); color: var(--gp-fg); }
.gp-link-accent {
  font-size: 14px; font-weight: 500;
  color: var(--gp-accent);
  text-decoration: none;
  transition: color .15s;
}
.gp-link-accent:hover { color: var(--gp-accent-glow); }

/* ── Section header row ─────────────────────────────────────── */
.gp-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap; gap: 16px;
}
.gp-see-all {
  font-size: 14px; font-weight: 500;
  color: var(--gp-accent);
  text-decoration: none;
  transition: color .15s;
}
.gp-see-all:hover { color: var(--gp-accent-glow); }

/* ── Grids ──────────────────────────────────────────────────── */
.gp-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width:768px)  { .gp-grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1024px) { .gp-grid-3 { grid-template-columns: repeat(3,1fr); } }

.gp-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width:1024px) { .gp-grid-2 { grid-template-columns: 1fr 1fr; } }

/* ── Article card ───────────────────────────────────────────── */
.gp-article-card {
  display: block;
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius);
  padding: 24px;
  background: var(--gp-card);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .25s;
  height: 100%;
}
.gp-article-card:hover {
  border-color: var(--gp-accent);
  box-shadow: var(--gp-shadow);
  transform: translateY(-4px);
}
.gp-art-cat {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.gp-art-cat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gp-accent);
  flex-shrink: 0;
}
.gp-art-cat-text {
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gp-muted-fg);
}
.gp-art-title {
  font-family: var(--gp-font-h);
  font-size: 20px; font-weight: 600;
  color: var(--gp-fg);
  line-height: 1.3;
  margin: 0 0 8px;
  transition: color .2s;
}
.gp-article-card:hover .gp-art-title { color: var(--gp-accent); }
.gp-art-excerpt {
  font-size: 14px; color: var(--gp-muted-fg);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gp-art-meta {
  display: flex; align-items: center;
  justify-content: space-between;
  font-size: 12px; color: var(--gp-muted-fg);
}
.gp-art-date {
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--gp-muted);
}

/* ── Tool Review Card ───────────────────────────────────────── */
.gp-tool-card {
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius);
  background: var(--gp-card);
  overflow: hidden;
}
.gp-tool-head { padding: 24px; }
.gp-tool-title-row {
  display: flex; align-items: center;
  gap: 16px; margin-bottom: 16px;
}
.gp-tool-logo {
  width: 40px; height: 40px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--gp-muted);
}
.gp-tool-name {
  font-family: var(--gp-font-h);
  font-size: 18px; font-weight: 600;
  color: var(--gp-fg);
  margin: 0 0 4px;
}
.gp-tool-rating-row {
  display: flex; align-items: center;
  gap: 10px; flex-wrap: wrap;
}
.gp-stars { color: var(--gp-accent); letter-spacing: 1px; font-size: 15px; }
.gp-rating-val { font-size: 14px; color: var(--gp-muted-fg); }
.gp-cat-pill {
  font-size: 11px; font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--gp-muted);
  color: var(--gp-muted-fg);
}
.gp-features {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.gp-feat {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 14px;
}
.gp-check { color: var(--gp-accent); font-weight: 700; line-height: 1.75; }
.gp-feat-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.gp-feat-key { font-weight: 600; color: var(--gp-fg); }
.gp-feat-val { color: var(--gp-muted-fg); }

/* Affiliate block */
.gp-aff {
  background: var(--gp-muted);
  padding: 20px 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.gp-aff-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gp-muted-fg);
}
.gp-promo {
  display: block; width: 100%;
  font-family: var(--gp-font-mono);
  font-size: 14px;
  background: var(--gp-bg);
  border: 1px solid var(--gp-border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--gp-fg);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s;
  letter-spacing: .05em;
}
.gp-promo:hover { border-color: var(--gp-accent); }
.gp-promo.copied { color: #22c55e; border-color: #22c55e; }
.gp-cta {
  display: block; width: 100%;
  text-align: center;
  background: var(--gp-accent);
  color: #fff;
  font-weight: 600; font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--gp-radius);
  text-decoration: none;
  transition: opacity .15s, box-shadow .15s;
}
.gp-cta:hover { opacity: .9; box-shadow: var(--gp-shadow-orange); color: #fff; }
.gp-review-link {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--gp-muted-fg);
  text-decoration: none;
  transition: color .15s;
}
.gp-review-link:hover { color: var(--gp-fg); }

/* ── Stats ──────────────────────────────────────────────────── */
.gp-stats {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 32px;
  text-align: center;
}
@media (min-width:768px) { .gp-stats { grid-template-columns: repeat(4,1fr); } }
.gp-stat-val {
  font-family: var(--gp-font-h);
  font-size: clamp(2rem,4vw,2.5rem);
  font-weight: 700; line-height: 1;
  color: var(--gp-fg);
  margin-bottom: 8px;
}
.gp-stat-lbl { font-size: 14px; color: var(--gp-muted-fg); }

/* ── Featured tool section (navy) ───────────────────────────── */
.gp-featured-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.gp-feat-tag {
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  color: rgba(240,240,240,0.9);
  font-size: 12px; font-weight: 500;
}
.gp-featured-desc {
  color: rgba(235,235,235,0.88);
  max-width: 420px;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
}

/* ── Newsletter ─────────────────────────────────────────────── */
.gp-nl-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  color: var(--gp-accent);
  font-size: 12px; font-weight: 500;
  margin-bottom: 24px;
}
.gp-nl-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gp-accent);
  animation: gp-pulse 3s ease-in-out infinite;
}
.gp-nl-sub {
  color: rgba(235,235,235,0.78);
  font-size: 14px;
  margin: 0 0 32px;
}
.gp-nl-form {
  display: flex; gap: 12px;
  max-width: 480px; margin: 0 auto 16px;
}
.gp-nl-input {
  flex: 1;
  padding: 14px 16px;
  border-radius: var(--gp-radius);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(240,240,240,0.9);
  font-size: 14px; font-family: var(--gp-font-b);
  outline: none;
  transition: border-color .2s;
}
.gp-nl-input::placeholder { color: rgba(240,240,240,0.35); }
.gp-nl-input:focus { border-color: var(--gp-accent); }
.gp-nl-btn {
  padding: 14px 24px;
  background: var(--gp-accent);
  color: #fff;
  font-weight: 700; font-size: 14px;
  border: none; border-radius: var(--gp-radius);
  cursor: pointer; white-space: nowrap;
  font-family: var(--gp-font-b);
  transition: box-shadow .2s;
}
.gp-nl-btn:hover { box-shadow: var(--gp-shadow-orange); }
.gp-nl-note { font-size: 12px; color: rgba(235,235,235,0.52); text-align: center; }
.gp-nl-note a { color: inherit; text-decoration: underline; }

/* ── About teaser ───────────────────────────────────────────── */
.gp-about {
  display: flex; flex-direction: column;
  align-items: center; gap: 24px;
  max-width: 640px; margin: 0 auto;
  text-align: center;
}
@media (min-width:768px) {
  .gp-about { flex-direction: row; text-align: left; }
}
.gp-avatar-wrap { position: relative; flex-shrink: 0; }
.gp-avatar-glow {
  position: absolute; inset: -8px;
  background: rgba(249,115,22,0.2);
  border-radius: 50%;
}
.gp-avatar {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--gp-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--gp-font-h);
  font-weight: 700; font-size: 28px;
  color: #fff;
  overflow: hidden;
}
.gp-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.gp-about-bio { color: var(--gp-muted-fg); margin: 0 0 12px; font-size: 15px; }

/* ── Footer ─────────────────────────────────────────────────── */
.gp-footer { border-top: 1px solid var(--gp-border); padding: 64px 0 0; }
.gp-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px; margin-bottom: 48px;
}
@media (min-width:768px) { .gp-footer-grid { grid-template-columns: repeat(3,1fr); } }
.gp-footer-col h4 {
  font-family: var(--gp-font-h);
  font-weight: 600; font-size: 15px;
  color: var(--gp-fg);
  margin: 0 0 16px;
}
.gp-footer-col ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.gp-footer-col a {
  font-size: 14px; color: var(--gp-muted-fg);
  text-decoration: none; transition: color .15s;
}
.gp-footer-col a:hover { color: var(--gp-fg); }
.gp-footer-bottom {
  border-top: 1px solid var(--gp-border);
  padding: 24px 0;
  font-size: 12px; color: var(--gp-muted-fg);
}
.gp-footer-bottom a { color: inherit; }

/* ── Utilities ──────────────────────────────────────────────── */
.gp-tc { text-align: center; }
.gp-mt-10 { margin-top: 40px; }
.gp-mb-4  { margin-bottom: 16px; }
.gp-mb-6  { margin-bottom: 24px; }
.gp-mb-8  { margin-bottom: 32px; }
.gp-mb-12 { margin-bottom: 48px; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes gp-float-anim {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes gp-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gp-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .6; }
}
.gp-fade-up { animation: gp-fade-up .8s ease-out forwards; }

/* ── Single post layout ─────────────────────────────────────── */
.gp-single-wrap {
  max-width: 768px;
  margin: 0 auto;
  padding: 64px 1.5rem 80px;
}
.gp-single-header { margin-bottom: 40px; }
.gp-single-title {
  font-family: var(--gp-font-h);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700; line-height: 1.2;
  color: var(--gp-fg); margin: 16px 0 24px;
}
.gp-post-meta {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--gp-muted-fg);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gp-border);
  margin-bottom: 32px;
}
.gp-post-meta-author {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--gp-fg);
}
.gp-post-meta-sep { color: var(--gp-border); }
.gp-post-thumb {
  border-radius: var(--gp-radius);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--gp-shadow);
}
.gp-post-thumb img { display: block; width: 100%; height: auto; }
.gp-post-body { line-height: 1.8; }
.gp-post-body h2 {
  font-family: var(--gp-font-h);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 700; line-height: 1.3;
  color: var(--gp-fg); margin: 48px 0 16px;
}
.gp-post-body h3 {
  font-family: var(--gp-font-h);
  font-size: 1.25rem; font-weight: 600; line-height: 1.4;
  color: var(--gp-fg); margin: 36px 0 12px;
}
.gp-post-body h4 {
  font-size: 1.05rem; font-weight: 600;
  color: var(--gp-fg); margin: 24px 0 8px;
}
.gp-post-body p { margin: 0 0 20px; }
.gp-post-body ul, .gp-post-body ol {
  margin: 0 0 20px; padding-left: 24px;
}
.gp-post-body li { margin-bottom: 8px; line-height: 1.7; }
.gp-post-body strong { font-weight: 600; color: var(--gp-fg); }
.gp-post-body em { font-style: italic; }
.gp-post-body a {
  color: var(--gp-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s;
}
.gp-post-body a:hover { color: var(--gp-accent-glow); }
.gp-post-body blockquote {
  border-left: 4px solid var(--gp-accent);
  padding: 16px 24px; margin: 32px 0;
  background: var(--gp-muted);
  border-radius: 0 var(--gp-radius) var(--gp-radius) 0;
  font-style: italic; color: var(--gp-muted-fg);
}
.gp-post-body img {
  border-radius: var(--gp-radius);
  box-shadow: var(--gp-shadow);
  margin: 32px auto; display: block;
}
.gp-post-body pre {
  background: var(--gp-fg); color: #e5e7eb;
  padding: 24px; border-radius: var(--gp-radius);
  overflow-x: auto; font-family: var(--gp-font-mono);
  font-size: 13px; margin: 32px 0; line-height: 1.6;
}
.gp-post-body code {
  font-family: var(--gp-font-mono); font-size: .875em;
  background: var(--gp-muted); padding: 2px 6px;
  border-radius: 4px; color: var(--gp-fg);
}
.gp-post-body pre code { background: none; padding: 0; color: inherit; }
.gp-post-body table {
  width: 100%; border-collapse: collapse;
  margin: 32px 0; font-size: 14px;
  border-radius: var(--gp-radius); overflow: hidden;
}
.gp-post-body th {
  background: var(--gp-muted); padding: 10px 16px;
  text-align: left; font-weight: 600;
  border: 1px solid var(--gp-border);
}
.gp-post-body td { padding: 10px 16px; border: 1px solid var(--gp-border); }
.gp-post-body tr:hover td { background: var(--gp-muted); }
.gp-post-body hr { border: none; border-top: 1px solid var(--gp-border); margin: 48px 0; }
.gp-post-body .wp-block-image { margin: 32px 0; }
.gp-post-body .wp-block-image img { box-shadow: var(--gp-shadow); border-radius: var(--gp-radius); }

/* Author bio */
.gp-author-card {
  display: flex; align-items: flex-start;
  gap: 20px; margin-top: 64px;
  padding: 32px; border-radius: var(--gp-radius);
  background: var(--gp-muted);
  border: 1px solid var(--gp-border);
}
.gp-author-card-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gp-primary); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--gp-font-h); font-weight: 700;
  font-size: 20px; color: #fff; overflow: hidden;
}
.gp-author-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gp-author-card-name {
  font-family: var(--gp-font-h); font-weight: 600;
  font-size: 16px; color: var(--gp-fg); margin: 0 0 6px;
}
.gp-author-card-bio { font-size: 14px; color: var(--gp-muted-fg); margin: 0 0 10px; }

/* Post navigation (prev/next) */
.gp-post-nav {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 48px;
  border-top: 1px solid var(--gp-border); padding-top: 48px;
}
.gp-post-nav-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px; border-radius: var(--gp-radius);
  border: 1px solid var(--gp-border); text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.gp-post-nav-item:hover { border-color: var(--gp-accent); box-shadow: var(--gp-shadow); }
.gp-post-nav-item.next { text-align: right; }
.gp-post-nav-dir { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gp-accent); }
.gp-post-nav-title { font-family: var(--gp-font-h); font-size: 15px; font-weight: 600; color: var(--gp-fg); line-height: 1.4; }

/* ── Archive / Category pages ───────────────────────────────── */
.gp-archive-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--gp-border);
  margin-bottom: 64px;
}
.gp-archive-title {
  font-family: var(--gp-font-h);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; color: var(--gp-fg);
  margin: 8px 0 12px;
}
.gp-archive-desc { font-size: 16px; color: var(--gp-muted-fg); max-width: 560px; margin: 0; }
.gp-archive-count {
  font-size: 13px; color: var(--gp-muted-fg);
  margin-top: 16px;
}

/* Pagination */
.gp-pagination {
  display: flex; align-items: center;
  justify-content: center; gap: 8px;
  margin-top: 64px; padding-top: 48px;
  border-top: 1px solid var(--gp-border);
}
.gp-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--gp-border);
  color: var(--gp-fg); text-decoration: none;
  transition: border-color .2s, background .2s;
}
.gp-pagination .page-numbers:hover { border-color: var(--gp-accent); color: var(--gp-accent); }
.gp-pagination .page-numbers.current {
  background: var(--gp-primary); border-color: var(--gp-primary);
  color: #fff;
}
.gp-pagination .page-numbers.dots { border: none; width: auto; }

/* ── Standard page layout ───────────────────────────────────── */
.gp-page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 1.5rem 80px;
}
.gp-page-title {
  font-family: var(--gp-font-h);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700; line-height: 1.2;
  color: var(--gp-fg); margin: 0 0 32px;
  padding-bottom: 24px; border-bottom: 1px solid var(--gp-border);
}
.gp-page-body { line-height: 1.8; }
.gp-page-body h2 { font-family: var(--gp-font-h); font-size: 1.6rem; font-weight: 700; margin: 40px 0 16px; color: var(--gp-fg); }
.gp-page-body h3 { font-family: var(--gp-font-h); font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; color: var(--gp-fg); }
.gp-page-body p { margin: 0 0 20px; }
.gp-page-body ul, .gp-page-body ol { margin: 0 0 20px; padding-left: 24px; }
.gp-page-body li { margin-bottom: 8px; line-height: 1.7; }
.gp-page-body a { color: var(--gp-accent); text-decoration: underline; text-underline-offset: 3px; }
.gp-page-body a:hover { color: var(--gp-accent-glow); }
.gp-page-body strong { font-weight: 600; color: var(--gp-fg); }
.gp-page-body blockquote { border-left: 4px solid var(--gp-accent); padding: 16px 24px; margin: 32px 0; background: var(--gp-muted); border-radius: 0 var(--gp-radius) var(--gp-radius) 0; font-style: italic; color: var(--gp-muted-fg); }
.gp-page-body img { border-radius: var(--gp-radius); box-shadow: var(--gp-shadow); margin: 24px 0; }
.gp-page-body table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 14px; }
.gp-page-body th { background: var(--gp-muted); padding: 10px 16px; text-align: left; font-weight: 600; border: 1px solid var(--gp-border); }
.gp-page-body td { padding: 10px 16px; border: 1px solid var(--gp-border); }

/* ── Suppress Kadence header/footer ─────────────────────────── */
.site-header-wrap,
.kadence-sticky-header,
.kadence-header { display: none !important; }
.site-footer-wrap { display: none !important; }
/* Remove Kadence body margin-top */
.admin-bar .site-header-wrap { display: none !important; }
