/* ═══════════════════════════════════════════════════════════
   GlancePeak WordPress Theme — Main Stylesheet
   Matches glancepeak.com design system exactly
   ═══════════════════════════════════════════════════════════ */

:root {
  --g:   #16A34A;
  --gd:  #15803D;
  --gl:  #DCFCE7;
  --gxl: #F0FDF4;
  --dk:  #1c1c1c;
  --wh:  #ffffff;
  --of:  #F7F7F7;
  --bd:  #E8E8E8;
  --mu:  #6B7280;
  --md:  #4B5563;
  --fh:  'Poppins',    sans-serif;
  --fb:  'Montserrat', sans-serif;
  --r:   12px;
  --rl:  20px;
  --sh:  0 4px 24px rgba(0,0,0,.07);
  --shl: 0 8px 48px rgba(0,0,0,.12);
  --max: 1200px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--fb); font-size: 16px; line-height: 1.6; color: var(--dk); background: var(--wh); overflow-x: hidden; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--g); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gd); }
ul, ol { list-style: none; }

/* ── LAYOUT ── */
.gp-con { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.gp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fb); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 8px; cursor: pointer;
  transition: all .2s; text-decoration: none; border: none;
  white-space: nowrap; line-height: 1;
}
.gp-btn-primary { background: var(--g); color: var(--wh); }
.gp-btn-primary:hover { background: var(--gd); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(22,163,74,.35); color: var(--wh); }
.gp-btn-outline  { background: transparent; color: var(--dk); border: 2px solid var(--bd); }
.gp-btn-outline:hover { border-color: var(--dk); color: var(--dk); transform: translateY(-1px); }
.gp-btn-white   { background: var(--wh); color: var(--dk); }
.gp-btn-white:hover { background: var(--gl); color: var(--dk); }
.gp-btn-dark    { background: var(--dk); color: var(--wh); }
.gp-btn-dark:hover { background: #2d2d2d; color: var(--wh); }
.gp-btn-full    { width: 100%; justify-content: center; }

/* ── TAGS / BADGES ── */
.gp-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--g); animation: gp-pulse 2s infinite; }
@keyframes gp-pulse { 0%,100% { opacity:1; } 50% { opacity:.4; } }
.gp-section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gl); color: var(--gd);
  font-family: var(--fb); font-weight: 600; font-size: 13px;
  padding: 6px 14px; border-radius: 100px; letter-spacing: .02em;
  margin-bottom: 14px;
}
.gp-section-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--g); }

/* ══════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════ */
.gp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--dk); border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all .3s;
}
.gp-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.gp-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.gp-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.gp-nav-icon { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.gp-nav-icon img { width: 100%; height: 100%; object-fit: cover; }
.gp-nav-text { font-family: var(--fh); font-size: 1.3rem; font-weight: 700; color: var(--wh); letter-spacing: -.01em; }
.gp-nav-text span { color: var(--g); }
.gp-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.gp-nav-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.gp-nav-links a:hover { color: var(--wh); }
.gp-nav-active { color: var(--g) !important; }
.gp-nav-right { display: flex; align-items: center; gap: 12px; }
.gp-nav-cta { padding: 10px 22px; font-size: 14px; }

/* Search trigger */
.gp-search-trigger {
  width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s; font-size: 15px;
}
.gp-search-trigger:hover { background: rgba(255,255,255,.15); color: var(--wh); }

/* Hamburger */
.gp-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px; background: none; border: none;
}
.gp-hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all .3s; }
.gp-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gp-hamburger.open span:nth-child(2) { opacity: 0; }
.gp-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.gp-mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--dk); z-index: 999; padding: 32px 24px;
  flex-direction: column; gap: 0; overflow-y: auto;
}
.gp-mobile-menu.open { display: flex; }
.gp-mobile-menu a {
  color: rgba(255,255,255,.85); text-decoration: none; font-size: 18px;
  font-weight: 500; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s;
}
.gp-mobile-menu a:hover { color: var(--g); }
.gp-mobile-search { display: flex; gap: 10px; margin-top: 20px; }
.gp-mobile-search input {
  flex: 1; padding: 12px 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px; color: white; font-family: var(--fb); font-size: 14px; outline: none;
}
.gp-mobile-search input::placeholder { color: rgba(255,255,255,.4); }
.gp-mobile-search button {
  padding: 12px 18px; background: var(--g); border: none; border-radius: 8px;
  color: white; cursor: pointer; font-size: 15px;
}

/* ══════════════════════════════════════════════
   SEARCH OVERLAY
   ══════════════════════════════════════════════ */
.gp-search-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 2000;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 100px;
  opacity: 0; visibility: hidden; transition: all .3s;
  backdrop-filter: blur(4px);
}
.gp-search-overlay.open { opacity: 1; visibility: visible; }
.gp-search-overlay-inner { width: 100%; max-width: 680px; padding: 0 24px; }
.gp-search-form { display: flex; flex-direction: column; gap: 16px; }
.gp-search-input-wrap {
  display: flex; align-items: center; background: var(--wh);
  border-radius: var(--r); overflow: hidden; border: 2px solid var(--g);
}
.gp-search-icon { padding: 0 16px; color: var(--mu); font-size: 16px; flex-shrink: 0; }
.gp-search-input {
  flex: 1; padding: 18px 0; font-family: var(--fb); font-size: 18px;
  border: none; outline: none; color: var(--dk); background: transparent;
}
.gp-search-input::placeholder { color: var(--mu); }
.gp-search-close {
  padding: 0 18px; background: none; border: none; cursor: pointer;
  color: var(--mu); font-size: 18px; transition: color .2s;
}
.gp-search-close:hover { color: var(--dk); }
.gp-search-submit { align-self: flex-start; padding: 14px 28px; }

/* Live results */
.gp-live-results {
  background: var(--wh); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shl); margin-top: 8px; display: none;
}
.gp-live-results.active { display: block; }
.gp-lr-item {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 20px;
  border-bottom: 1px solid var(--bd); text-decoration: none; transition: background .2s;
}
.gp-lr-item:last-child { border-bottom: none; }
.gp-lr-item:hover { background: var(--gxl); }
.gp-lr-cat { font-size: 11px; font-weight: 700; color: var(--g); text-transform: uppercase; letter-spacing: .08em; }
.gp-lr-title { font-size: 15px; font-weight: 600; color: var(--dk); line-height: 1.3; }
.gp-lr-excerpt { font-size: 13px; color: var(--mu); }
.gp-lr-empty, .gp-lr-loading {
  padding: 24px 20px; text-align: center; color: var(--mu); font-size: 14px;
}
.gp-lr-all { display: block; padding: 14px 20px; text-align: center; background: var(--of); font-size: 14px; font-weight: 600; color: var(--g); border-top: 2px solid var(--bd); }
.gp-lr-all:hover { background: var(--gl); }

/* Search category links */
.gp-search-cats { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.gp-search-cats-label { font-size: 13px; color: rgba(255,255,255,.4); font-weight: 600; }
.gp-search-cats a { font-size: 13px; color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); padding: 5px 12px; border-radius: 100px; transition: all .2s; text-decoration: none; }
.gp-search-cats a:hover { background: var(--g); color: white; }

/* ══════════════════════════════════════════════
   BLOG HERO (home.php)
   ══════════════════════════════════════════════ */
.gp-blog-hero {
  padding: 140px 0 60px; background: var(--dk); position: relative; overflow: hidden;
}
.gp-blog-hero::before {
  content: ''; position: absolute; bottom: -200px; right: -100px;
  width: 500px; height: 500px; background: radial-gradient(circle,rgba(22,163,74,.1) 0%,transparent 70%);
  pointer-events: none;
}
.gp-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22,163,74,.15); border: 1px solid rgba(22,163,74,.3);
  color: #4ADE80; font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
}
.gp-blog-hero h1 { font-family: var(--fh); font-size: clamp(1.9rem,5vw,3rem); font-weight: 800; color: var(--wh); letter-spacing: -.02em; margin-bottom: 20px; line-height: 1.15; }
.gp-blog-hero h1 span { color: var(--g); }
.gp-blog-hero-sub { font-size: 17px; color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 32px; max-width: 720px; }

/* Hero search */
.gp-hero-search-form { margin-bottom: 28px; }
.gp-hero-search-wrap {
  display: flex; align-items: center; background: var(--wh);
  border-radius: var(--rl); overflow: hidden; max-width: 640px;
  border: 2px solid rgba(22,163,74,.3); box-shadow: 0 4px 32px rgba(0,0,0,.3);
}
.gp-hero-search-icon { padding: 0 18px; color: var(--mu); font-size: 16px; flex-shrink: 0; }
.gp-hero-search-input {
  flex: 1; padding: 16px 0; font-family: var(--fb); font-size: 16px;
  border: none; outline: none; color: var(--dk); background: transparent;
}
.gp-hero-search-input::placeholder { color: var(--mu); }
.gp-hero-search-btn { border-radius: 0; padding: 16px 24px; font-size: 14px; }

/* Category filter pills */
.gp-cat-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.gp-cat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65); font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all .2s;
}
.gp-cat-pill:hover, .gp-cat-pill.active {
  background: var(--gl); border-color: var(--g); color: var(--gd);
}

/* ══════════════════════════════════════════════
   BLOG LAYOUT (two column with sidebar)
   ══════════════════════════════════════════════ */
.gp-blog-layout { padding: 60px 0 96px; background: var(--of); }
.gp-blog-grid-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.gp-posts-col {}

/* ══════════════════════════════════════════════
   FEATURED POST (first on home)
   ══════════════════════════════════════════════ */
.gp-featured-post {
  background: var(--wh); border-radius: var(--rl);
  overflow: hidden; margin-bottom: 32px; box-shadow: var(--sh);
  border: 1px solid var(--bd); display: grid; grid-template-columns: 1fr 1fr;
  transition: all .3s;
}
.gp-featured-post:hover { transform: translateY(-3px); box-shadow: var(--shl); }
.gp-fp-thumb-wrap { position: relative; overflow: hidden; }
.gp-fp-thumb { width: 100%; height: 100%; object-fit: cover; min-height: 280px; transition: transform .4s; }
.gp-featured-post:hover .gp-fp-thumb { transform: scale(1.03); }
.gp-fp-cat-badge {
  position: absolute; top: 16px; left: 16px;
  color: white; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px; text-transform: uppercase; letter-spacing: .06em;
}
.gp-fp-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 0; }
.gp-fp-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--g); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.gp-fp-meta { font-size: 13px; color: var(--mu); margin-bottom: 12px; display: flex; gap: 8px; }
.gp-fp-title { font-family: var(--fh); font-size: 1.5rem; font-weight: 700; color: var(--dk); line-height: 1.25; margin-bottom: 14px; }
.gp-fp-title a { color: var(--dk); text-decoration: none; transition: color .2s; }
.gp-fp-title a:hover { color: var(--g); }
.gp-fp-excerpt { font-size: 14px; color: var(--md); line-height: 1.7; margin-bottom: 22px; flex: 1; }

/* ══════════════════════════════════════════════
   POST CARD GRID
   ══════════════════════════════════════════════ */
.gp-posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 40px; }
.gp-post-card { background: var(--wh); border: 1px solid var(--bd); border-radius: var(--rl); overflow: hidden; transition: all .3s; display: flex; flex-direction: column; }
.gp-post-card:hover { transform: translateY(-4px); box-shadow: var(--shl); }
.gp-card-thumb-wrap { position: relative; overflow: hidden; }
.gp-card-thumb { width: 100%; height: 200px; object-fit: cover; transition: transform .4s; display: block; }
.gp-post-card:hover .gp-card-thumb { transform: scale(1.03); }
.gp-card-cat-badge {
  position: absolute; top: 12px; left: 12px;
  color: white; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: .06em;
}
.gp-card-thumb-placeholder {
  height: 200px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.gp-card-placeholder-icon { font-size: 2rem; opacity: .5; }
.gp-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.gp-card-meta { font-size: 12px; color: var(--mu); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.gp-card-sep { color: var(--bd); }
.gp-card-title { font-family: var(--fh); font-size: 1rem; font-weight: 700; color: var(--dk); line-height: 1.3; margin-bottom: 10px; }
.gp-card-title a { color: var(--dk); text-decoration: none; }
.gp-card-title a:hover { color: var(--g); }
.gp-card-excerpt { font-size: 13px; color: var(--md); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.gp-card-read-more { font-size: 13px; font-weight: 700; color: var(--g); display: flex; align-items: center; gap: 4px; margin-top: auto; }
.gp-card-read-more:hover { color: var(--gd); }

/* ══════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════ */
.gp-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.gp-sidebar-widget { background: var(--wh); border: 1px solid var(--bd); border-radius: var(--rl); overflow: hidden; }
.gp-widget-title {
  font-family: var(--fh); font-size: 14px; font-weight: 700;
  padding: 16px 20px; border-bottom: 1px solid var(--bd);
  color: var(--dk); text-transform: uppercase; letter-spacing: .06em;
}

/* Sidebar search */
.gp-sidebar-search-form { padding: 16px 20px; }
.gp-sidebar-search-wrap { display: flex; border: 1px solid var(--bd); border-radius: var(--r); overflow: hidden; }
.gp-sidebar-search-input { flex: 1; padding: 10px 14px; font-family: var(--fb); font-size: 14px; border: none; outline: none; color: var(--dk); }
.gp-sidebar-search-wrap button { padding: 10px 16px; background: var(--g); border: none; cursor: pointer; color: white; font-size: 14px; transition: background .2s; }
.gp-sidebar-search-wrap button:hover { background: var(--gd); }

/* Sidebar CTA */
.gp-widget-cta { background: var(--dk); border: none; }
.gp-sidebar-cta { padding: 24px 20px; text-align: center; }
.gp-cta-icon { font-size: 2rem; margin-bottom: 12px; }
.gp-sidebar-cta h4 { font-family: var(--fh); font-size: .95rem; font-weight: 700; color: var(--wh); margin-bottom: 10px; line-height: 1.3; }
.gp-sidebar-cta p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 16px; }
.gp-cta-note { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 8px !important; margin-bottom: 0 !important; }

/* Category list */
.gp-cat-list { padding: 8px 0; }
.gp-cat-item a {
  display: flex; align-items: center; gap: 10px; padding: 10px 20px;
  font-size: 14px; color: var(--md); text-decoration: none; transition: all .2s;
}
.gp-cat-item a:hover, .gp-cat-item.gp-cat-active a { background: var(--gxl); color: var(--gd); }
.gp-cat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.gp-cat-count { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--mu); background: var(--of); padding: 2px 8px; border-radius: 100px; }

/* Recent posts */
.gp-recent-list { padding: 8px 0; }
.gp-recent-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--bd); }
.gp-recent-item:last-child { border-bottom: none; }
.gp-recent-thumb { flex-shrink: 0; }
.gp-recent-thumb img { width: 60px; height: 44px; object-fit: cover; border-radius: 6px; }
.gp-recent-title { font-size: 13px; font-weight: 600; color: var(--dk); line-height: 1.4; display: block; margin-bottom: 4px; text-decoration: none; }
.gp-recent-title:hover { color: var(--g); }
.gp-recent-date { font-size: 11px; color: var(--mu); }

/* Tag cloud */
.gp-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 20px; }
.gp-topic-tag {
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px;
  background: var(--of); color: var(--md); border: 1px solid var(--bd);
  text-decoration: none; transition: all .2s;
}
.gp-topic-tag:hover { background: var(--gl); border-color: var(--g); color: var(--gd); }

/* Sidebar services */
.gp-sidebar-services { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.gp-ss-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--r); border: 1px solid var(--bd); background: var(--of);
  font-size: 13px; font-weight: 600; color: var(--md); text-decoration: none;
  transition: all .2s;
}
.gp-ss-item:hover { border-color: var(--ss-c, var(--g)); color: var(--ss-c, var(--g)); background: var(--wh); }
.gp-ss-item span { font-size: 15px; }

/* ══════════════════════════════════════════════
   SINGLE POST
   ══════════════════════════════════════════════ */
.gp-post-hero {
  padding: 130px 0 40px; background: var(--dk); position: relative; overflow: hidden;
}
.gp-post-hero::before {
  content: ''; position: absolute; bottom: -150px; right: -80px;
  width: 400px; height: 400px; background: radial-gradient(circle,rgba(22,163,74,.08) 0%,transparent 70%);
  pointer-events: none;
}
.gp-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: rgba(255,255,255,.4); flex-wrap: wrap; }
.gp-breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.gp-breadcrumb a:hover { color: var(--g); }
.gp-breadcrumb span { color: rgba(255,255,255,.2); }
.gp-post-cat-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; padding: 5px 14px;
  border-radius: 100px; margin-bottom: 18px;
  border: 1px solid transparent; text-transform: uppercase; letter-spacing: .06em;
}
.gp-post-title {
  font-family: var(--fh); font-size: clamp(1.7rem,4vw,2.8rem); font-weight: 800;
  color: var(--wh); line-height: 1.2; margin-bottom: 24px; letter-spacing: -.02em;
  max-width: 820px;
}
.gp-post-meta-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.gp-post-author { display: flex; align-items: center; gap: 12px; }
.gp-author-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(22,163,74,.3); flex-shrink: 0; }
.gp-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gp-author-name { font-size: 14px; font-weight: 700; color: var(--wh); display: block; }
.gp-author-role { font-size: 12px; color: rgba(255,255,255,.45); }
.gp-post-meta-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gp-post-date, .gp-post-read-time, .gp-post-updated {
  font-size: 13px; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 6px;
}
.gp-post-featured-img { background: var(--of); padding: 0; }
.gp-post-featured-img .gp-con { padding: 0 24px; }
.gp-post-hero-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 0 0 var(--rl) var(--rl); }

/* Post layout */
.gp-post-layout { padding: 60px 0 80px; background: var(--of); }
.gp-post-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.gp-post-content-col {}

/* Post body — WordPress content styles */
.gp-post-article { background: var(--wh); border-radius: var(--rl); padding: 40px; border: 1px solid var(--bd); margin-bottom: 28px; }
.gp-post-body h2 { font-family: var(--fh); font-size: 1.5rem; font-weight: 700; color: var(--dk); margin: 36px 0 16px; line-height: 1.25; padding-top: 8px; }
.gp-post-body h3 { font-family: var(--fh); font-size: 1.2rem; font-weight: 700; color: var(--dk); margin: 28px 0 12px; }
.gp-post-body h4 { font-family: var(--fh); font-size: 1rem; font-weight: 700; color: var(--dk); margin: 22px 0 10px; }
.gp-post-body p { font-size: 16px; color: var(--md); line-height: 1.8; margin-bottom: 20px; }
.gp-post-body ul, .gp-post-body ol { padding-left: 22px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.gp-post-body ul { list-style: disc; }
.gp-post-body ol { list-style: decimal; }
.gp-post-body li { font-size: 16px; color: var(--md); line-height: 1.7; }
.gp-post-body a { color: var(--g); font-weight: 600; }
.gp-post-body a:hover { color: var(--gd); }
.gp-post-body strong, .gp-post-body b { color: var(--dk); }
.gp-post-body blockquote {
  border-left: 4px solid var(--g); background: var(--gxl);
  padding: 20px 24px; margin: 28px 0; border-radius: 0 var(--r) var(--r) 0;
}
.gp-post-body blockquote p { color: var(--gd); font-style: italic; font-size: 17px; margin-bottom: 0; }
.gp-post-body img { width: 100%; border-radius: var(--r); margin: 24px 0; }
.gp-post-body code {
  font-family: 'Courier New', monospace; font-size: 14px;
  background: var(--of); padding: 2px 8px; border-radius: 4px; color: var(--dk); border: 1px solid var(--bd);
}
.gp-post-body pre {
  background: var(--dk); color: #e2e8f0; padding: 24px; border-radius: var(--r);
  overflow-x: auto; margin: 24px 0; font-size: 14px; line-height: 1.6;
}
.gp-post-body pre code { background: none; border: none; padding: 0; color: inherit; }
.gp-post-body table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.gp-post-body th { background: var(--dk); color: white; padding: 12px 16px; text-align: left; font-size: 13px; font-weight: 700; }
.gp-post-body td { padding: 12px 16px; border-bottom: 1px solid var(--bd); font-size: 14px; color: var(--md); }
.gp-post-body tr:nth-child(even) td { background: var(--of); }
.gp-post-body hr { border: none; border-top: 2px solid var(--bd); margin: 36px 0; }
.gp-post-body .wp-block-image { margin: 24px 0; }
.gp-post-body .wp-block-image figcaption { text-align: center; font-size: 13px; color: var(--mu); margin-top: 8px; }
.gp-post-body .wp-block-pullquote { border-top: 4px solid var(--g); border-bottom: 4px solid var(--g); padding: 28px 0; margin: 36px 0; text-align: center; }
.gp-post-body .wp-block-pullquote p { font-family: var(--fh); font-size: 1.3rem; color: var(--dk); font-style: italic; }

/* Tags */
.gp-post-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--bd); }
.gp-tags-label { color: var(--mu); font-size: 14px; }
.gp-post-tag {
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px;
  background: var(--of); color: var(--md); border: 1px solid var(--bd);
  text-decoration: none; transition: all .2s;
}
.gp-post-tag:hover { background: var(--gl); border-color: var(--g); color: var(--gd); }

/* Share row */
.gp-post-share { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.gp-share-label { font-size: 13px; font-weight: 600; color: var(--mu); }
.gp-share-btns { display: flex; gap: 8px; }
.gp-share-btn {
  width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 14px; text-decoration: none;
  transition: all .2s; border: 1px solid var(--bd); color: var(--mu);
  background: var(--of); cursor: pointer;
}
.gp-share-twitter:hover  { background: #000; border-color: #000; color: white; }
.gp-share-linkedin:hover { background: #0077B5; border-color: #0077B5; color: white; }
.gp-share-facebook:hover { background: #1877F2; border-color: #1877F2; color: white; }
.gp-share-copy:hover     { background: var(--g); border-color: var(--g); color: white; }
.gp-share-copy.copied::after { content: '✓'; font-size: 13px; font-weight: 700; color: var(--g); }

/* Mid-post CTA */
.gp-mid-cta { background: var(--dk); border-radius: var(--rl); padding: 28px 32px; margin-bottom: 28px; }
.gp-mid-cta-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.gp-mid-cta-icon { font-size: 2rem; flex-shrink: 0; }
.gp-mid-cta-body h3 { font-family: var(--fh); font-size: 1rem; font-weight: 700; color: white; margin-bottom: 6px; }
.gp-mid-cta-body p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.5; margin: 0; }

/* Author box */
.gp-author-box {
  display: flex; align-items: flex-start; gap: 20px; background: var(--wh);
  border-radius: var(--rl); padding: 28px 32px; border: 1px solid var(--bd);
  margin-bottom: 28px;
}
.gp-author-box-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gl); flex-shrink: 0; }
.gp-author-box-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mu); margin-bottom: 4px; }
.gp-author-box-name { font-family: var(--fh); font-size: 1rem; font-weight: 700; color: var(--dk); margin-bottom: 10px; }
.gp-author-box-bio { font-size: 14px; color: var(--md); line-height: 1.7; margin-bottom: 14px; }
.gp-author-box-links { display: flex; gap: 16px; }
.gp-author-box-links a { font-size: 13px; font-weight: 600; color: var(--g); text-decoration: none; }
.gp-author-box-links a:hover { color: var(--gd); }

/* Post navigation */
.gp-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.gp-post-nav-item {
  background: var(--wh); border: 1px solid var(--bd); border-radius: var(--r);
  padding: 18px 20px; text-decoration: none; display: flex; flex-direction: column;
  gap: 6px; transition: all .2s;
}
.gp-post-nav-item:hover { border-color: var(--g); box-shadow: var(--sh); }
.gp-post-nav-next { text-align: right; }
.gp-nav-label { font-size: 12px; font-weight: 700; color: var(--mu); text-transform: uppercase; letter-spacing: .06em; }
.gp-nav-label i { font-size: 11px; }
.gp-nav-title { font-size: 14px; font-weight: 600; color: var(--dk); line-height: 1.4; }

/* ══════════════════════════════════════════════
   RELATED POSTS
   ══════════════════════════════════════════════ */
.gp-related-posts { padding: 60px 0 96px; background: var(--of); }
.gp-related-header { margin-bottom: 36px; }
.gp-related-header h2 { font-family: var(--fh); font-size: 1.5rem; font-weight: 700; color: var(--dk); }
.gp-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.gp-related-card { background: var(--wh); border: 1px solid var(--bd); border-radius: var(--rl); overflow: hidden; transition: all .3s; }
.gp-related-card:hover { transform: translateY(-3px); box-shadow: var(--shl); }
.gp-rel-thumb-wrap { overflow: hidden; }
.gp-rel-thumb { width: 100%; height: 170px; object-fit: cover; transition: transform .4s; display: block; }
.gp-related-card:hover .gp-rel-thumb { transform: scale(1.03); }
.gp-rel-body { padding: 18px; }
.gp-rel-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 6px; }
.gp-rel-title { font-family: var(--fh); font-size: .95rem; font-weight: 700; color: var(--dk); line-height: 1.35; margin-bottom: 8px; display: block; }
.gp-rel-title a { color: var(--dk); text-decoration: none; }
.gp-rel-title a:hover { color: var(--g); }
.gp-rel-date { font-size: 12px; color: var(--mu); }

/* ══════════════════════════════════════════════
   ARCHIVE HERO
   ══════════════════════════════════════════════ */
.gp-archive-hero { padding: 130px 0 48px; background: var(--dk); position: relative; }
.gp-archive-cat-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 100px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.gp-archive-title { font-family: var(--fh); font-size: clamp(1.7rem,4vw,2.6rem); font-weight: 800; color: var(--wh); margin-bottom: 14px; line-height: 1.2; letter-spacing: -.02em; }
.gp-archive-desc { font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 24px; max-width: 640px; }

/* ══════════════════════════════════════════════
   SEARCH HERO
   ══════════════════════════════════════════════ */
.gp-search-hero { padding: 130px 0 40px; background: var(--dk); }
.gp-search-title { font-family: var(--fh); font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 800; color: var(--wh); margin-bottom: 10px; line-height: 1.2; }
.gp-search-title span { color: var(--g); }
.gp-search-count { font-size: 16px; color: rgba(255,255,255,.55); margin-bottom: 24px; }
.gp-search-count strong { color: var(--wh); }
.gp-search-suggestions { margin-top: 20px; }
.gp-ss-label { font-size: 14px; color: var(--mu); margin-bottom: 10px; }

/* ══════════════════════════════════════════════
   EMPTY / 404 STATES
   ══════════════════════════════════════════════ */
.gp-no-posts {
  background: var(--wh); border: 1px solid var(--bd); border-radius: var(--rl);
  padding: 56px 40px; text-align: center;
}
.gp-no-posts-ico { font-size: 3rem; display: block; margin-bottom: 16px; }
.gp-no-posts h2 { font-family: var(--fh); font-size: 1.5rem; color: var(--dk); margin-bottom: 12px; }
.gp-no-posts p { font-size: 15px; color: var(--md); line-height: 1.7; margin-bottom: 24px; }

.gp-404-section { padding: 130px 0 96px; background: var(--dk); }
.gp-404-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.gp-404-num { font-family: var(--fh); font-size: 8rem; font-weight: 800; color: var(--g); line-height: 1; display: block; margin-bottom: 0; }
.gp-404-title { font-family: var(--fh); font-size: 2rem; font-weight: 700; color: var(--wh); margin-bottom: 14px; }
.gp-404-sub { font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 28px; }
.gp-404-search { display: flex; gap: 12px; margin-bottom: 24px; }
.gp-404-search input {
  flex: 1; padding: 14px 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px; color: white; font-family: var(--fb); font-size: 15px; outline: none;
}
.gp-404-search input::placeholder { color: rgba(255,255,255,.35); }
.gp-404-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.gp-404-cats { margin-top: 8px; }
.gp-404-cats-label { font-size: 14px; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.gp-404-cats .gp-tag-cloud { justify-content: center; }
.gp-404-cats .gp-topic-tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }
.gp-404-cats .gp-topic-tag:hover { background: var(--g); border-color: var(--g); color: white; }

/* ══════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════ */
.gp-pagination { margin: 40px 0 0; }
.pagination-inner { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pagination-inner a, .pagination-inner span {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: all .2s;
  font-family: var(--fb);
}
.pagination-inner a { background: var(--wh); border: 1px solid var(--bd); color: var(--md); }
.pagination-inner a:hover { border-color: var(--g); color: var(--g); background: var(--gxl); }
.pagination-inner .current { background: var(--g); border: 1px solid var(--g); color: white; }
.pagination-inner .dots { background: transparent; border: none; color: var(--mu); }

/* ══════════════════════════════════════════════
   COMMENTS
   ══════════════════════════════════════════════ */
.gp-comments-wrap { background: var(--wh); border-radius: var(--rl); padding: 36px; border: 1px solid var(--bd); margin-bottom: 28px; }
.comments-title { font-family: var(--fh); font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; color: var(--dk); }
.comment-list { list-style: none; display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.comment-body { background: var(--of); border-radius: var(--r); padding: 20px; }
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-weight: 700; font-size: 14px; color: var(--dk); }
.comment-meta { font-size: 12px; color: var(--mu); }
.comment-content p { font-size: 14px; color: var(--md); line-height: 1.7; }
.reply a { font-size: 13px; font-weight: 600; color: var(--g); }
.comment-respond { margin-top: 28px; }
.comment-reply-title { font-family: var(--fh); font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: var(--dk); }
.comment-form label { display: block; font-size: 13px; font-weight: 600; color: var(--dk); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--bd); border-radius: var(--r);
  font-family: var(--fb); font-size: 14px; color: var(--dk); background: var(--wh);
  outline: none; transition: border-color .2s; margin-bottom: 14px;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(22,163,74,.1); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit { background: var(--g); color: white; border: none; padding: 13px 28px; border-radius: 8px; font-family: var(--fb); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s; }
.comment-form .submit:hover { background: var(--gd); }

/* ══════════════════════════════════════════════
   BLOG CTA STRIP
   ══════════════════════════════════════════════ */
.gp-blog-cta-strip { background: var(--g); padding: 24px 0; }
.gp-cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.gp-cta-strip-text strong { display: block; font-size: 16px; font-weight: 700; color: white; margin-bottom: 2px; }
.gp-cta-strip-text span { font-size: 14px; color: rgba(255,255,255,.8); }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.gp-footer { background: #111; border-top: 1px solid rgba(255,255,255,.06); }
.gp-footer-main { padding: 56px 0 40px; }
.gp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.gp-fb p { color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.7; margin: 12px 0 18px; }
.gp-footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.gp-footer-logo-icon { width: 30px; height: 30px; border-radius: 7px; overflow: hidden; flex-shrink: 0; }
.gp-footer-logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.gp-footer-logo-text { font-family: var(--fh); font-size: 1.1rem; font-weight: 700; color: var(--wh); }
.gp-footer-logo-text span { color: var(--g); }
.gp-footer-social { display: flex; gap: 9px; margin-bottom: 18px; }
.gp-footer-social a {
  width: 32px; height: 32px; border-radius: 7px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 13px; text-decoration: none; transition: all .2s;
}
.gp-footer-social a:hover { background: var(--g); color: white; }
.gp-footer-certs { display: flex; flex-direction: column; gap: 10px; }
.gp-footer-certs img { height: 52px; width: auto; max-width: 150px; object-fit: contain; opacity: .85; }
.gp-scpn { background: white; border-radius: 5px; padding: 5px 8px; height: 44px !important; opacity: 1 !important; }
.gp-fc h4 { font-family: var(--fh); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.gp-fc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.gp-fc ul li a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 13px; transition: color .2s; }
.gp-fc ul li a:hover { color: var(--g); }
.gp-footer-contact { display: flex; flex-direction: column; gap: 10px; }
.gp-fci { display: flex; align-items: flex-start; gap: 9px; }
.gp-fci i { color: var(--g); font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.gp-fci span { color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.5; }
.gp-fci a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.gp-fci a:hover { color: var(--g); }
.gp-footer-bottom { border-top: 1px solid rgba(255,255,255,.06); }
.gp-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; flex-wrap: wrap; gap: 12px; }
.gp-footer-bottom-inner p { color: rgba(255,255,255,.3); font-size: 12px; }
.gp-footer-bottom-links { display: flex; gap: 18px; }
.gp-footer-bottom-links a { color: rgba(255,255,255,.3); font-size: 12px; text-decoration: none; transition: color .2s; }
.gp-footer-bottom-links a:hover { color: var(--g); }

/* ══════════════════════════════════════════════
   PAGE TEMPLATE
   ══════════════════════════════════════════════ */
.gp-page-layout { padding: 130px 0 96px; }
.gp-page-header { margin-bottom: 36px; }
.gp-page-title { font-family: var(--fh); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; color: var(--dk); }
.gp-page-body { font-size: 16px; color: var(--md); line-height: 1.8; }
.gp-page-body h2 { font-family: var(--fh); font-size: 1.5rem; font-weight: 700; color: var(--dk); margin: 32px 0 14px; }
.gp-page-body p { margin-bottom: 18px; }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .gp-blog-grid-wrap, .gp-post-grid { grid-template-columns: 1fr; }
  .gp-sidebar { position: static; }
  .gp-related-grid { grid-template-columns: repeat(2,1fr); }
  .gp-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .gp-nav-links, .gp-nav-right .gp-nav-cta { display: none; }
  .gp-hamburger { display: flex; }
  .gp-featured-post { grid-template-columns: 1fr; }
  .gp-fp-thumb { min-height: 220px; }
  .gp-posts-grid { grid-template-columns: 1fr; }
  .gp-related-grid { grid-template-columns: 1fr; }
  .gp-mid-cta-inner { grid-template-columns: 1fr; text-align: center; }
  .gp-author-box { flex-direction: column; }
  .gp-post-nav { grid-template-columns: 1fr; }
  .gp-footer-grid { grid-template-columns: 1fr; }
  .gp-footer-bottom-inner { flex-direction: column; text-align: center; }
  .gp-cta-strip-inner { flex-direction: column; text-align: center; }
  .gp-blog-hero h1 { font-size: 1.9rem; }
  .gp-post-title { font-size: 1.7rem; }
  .gp-post-meta-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .gp-hero-search-wrap { flex-direction: column; border-radius: var(--r); }
  .gp-hero-search-btn { border-radius: var(--r); }
  .gp-blog-layout { padding: 40px 0 60px; }
  .gp-404-search { flex-direction: column; }
  .gp-post-article { padding: 24px; }
  .gp-post-body h2 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .gp-cat-pills { gap: 6px; }
  .gp-cat-pill { font-size: 12px; padding: 6px 12px; }
  .pagination-inner a, .pagination-inner span { min-width: 36px; height: 36px; font-size: 13px; }
}
