/* ==========================================================================
   GeeksGrow WordPress Theme — Main Stylesheet v1.3
   ========================================================================== */

/* ── Tokens ────────────────────────────────────────────────────────────────── */
:root {
  --orange:      #ff6a00;
  --orange-alt:  #ff8c42;
  --cream:       #f5e9d8;
  --cream-bg:    #f7ecde;
  --cream-warm:  #fff0df;
  --cream-dark:  #efe2d0;
  --soft:        #eadbc8;
  --ink:         #1a1a1a;
  --dark:        #1a120b;
  --white:       #ffffff;
  --gray-mid:    #2b2018;

  --font-head: 'Poppins', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Avenir Next', 'Segoe UI', sans-serif;

  --r-sm:   0.75rem;
  --r-md:   1.25rem;
  --r-lg:   1.75rem;
  --r-xl:   2rem;
  --r-full: 9999px;

  --sh-soft:   0 8px 28px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.03);
  --sh-medium: 0 20px 55px rgba(0,0,0,.11), 0 6px 16px rgba(0,0,0,.05);
  --sh-card:   0 16px 50px rgba(62,31,7,.09);
  --sh-dark:   0 28px 80px rgba(17,11,7,.32);

  --nav-h: 72px;   /* height reserved for fixed header */
  --wrap:  1280px;
  --ease:  0.25s ease;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: linear-gradient(180deg, #f7ecde 0%, var(--cream) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--dark); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: rgba(255,106,0,.18); color: var(--dark); }

/* ── WordPress default overrides — neutralise hentry/post styles ── */
.hentry { margin: 0 !important; }
article.gg-post-card,
.gg-posts-list .gg-post-card {
  background: #ffffff !important;
  border-radius: 1.5rem !important;
  overflow: hidden !important;
  box-shadow: 0 4px 6px rgba(0,0,0,.04), 0 12px 40px rgba(62,31,7,.10) !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  color: inherit !important;
}

/* ── Page wrapper ──────────────────────────────────────────────────────────── */
.gg-page { overflow-x: hidden; }

.gg-container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media(min-width:640px)  { .gg-container { padding: 0 2rem; } }
@media(min-width:1024px) { .gg-container { padding: 0 3rem; } }

.gg-main {
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER — floating pill, exactly like main site
   ═══════════════════════════════════════════════════════════════════════════ */

/* Outer band — full width, fixed */
.gg-header-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0.875rem 1.25rem;
  pointer-events: none;   /* clicks pass through the band gap */
}
@media(min-width:640px)  { .gg-header-wrap { padding: 0.875rem 2rem; } }
@media(min-width:1024px) { .gg-header-wrap { padding: 1rem 3rem; } }

/* The pill itself */
.gg-header {
  pointer-events: all;
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.625rem 0.5rem 1.5rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(234,216,193,.9);
  background: linear-gradient(180deg,rgba(255,248,238,.97),rgba(246,233,215,.92));
  box-shadow: 0 16px 50px rgba(26,18,11,.13), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

/* ── Logo / wordmark ── */
.gg-logo { display: flex; align-items: center; flex-shrink: 0; }
.gg-logo__text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1;
  white-space: nowrap;
}

/* ── Nav list ── */
.gg-nav { display: none; flex: 1; overflow: hidden; }
@media(min-width:1024px) { .gg-nav { display: flex; align-items: center; } }

.gg-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;      /* NEVER wrap */
  overflow: hidden;
  gap: 0;
  margin-left: 1rem;
}

.gg-nav__item { flex-shrink: 0; position: relative; }

.gg-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  padding: 0.4rem 0.7rem;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(26,18,11,.7);
  white-space: nowrap;
  transition: background var(--ease), color var(--ease);
}
.gg-nav__link:hover,
.gg-nav__item.is-active > .gg-nav__link {
  background: rgba(255,106,0,.1);
  color: var(--dark);
}
.gg-nav__chevron { width: 8px; height: 5px; flex-shrink: 0; transition: transform var(--ease); }
.gg-nav__item.has-dropdown:hover .gg-nav__chevron { transform: rotate(180deg); }

/* Dropdown */
.gg-nav__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 190px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid rgba(26,26,26,.06);
  box-shadow: var(--sh-medium);
  list-style: none;
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
}
.gg-nav__item.has-dropdown:hover > .gg-nav__dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.gg-nav__dropdown .gg-nav__link { display: block; border-radius: var(--r-sm); }

/* ── Header actions ── */
.gg-header__actions {
  display: flex; align-items: center; gap: 0.375rem;
  margin-left: auto; flex-shrink: 0;
}

.gg-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--r-full);
  color: rgba(26,18,11,.6);
  transition: background var(--ease), color var(--ease);
}
.gg-icon-btn:hover { background: rgba(255,106,0,.1); color: var(--dark); }

.gg-header__cta-btn {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-full);
  background: var(--dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.gg-header__cta-btn:hover {
  background: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255,106,0,.35);
  color: var(--white);
}

/* Burger */
.gg-burger {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 24px; height: 17px; flex-shrink: 0;
}
@media(min-width:1024px) { .gg-burger { display: none; } }
.gg-burger span {
  display: block; height: 2px; background: var(--dark); border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.gg-burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.gg-burger.is-open span:nth-child(2) { opacity: 0; }
.gg-burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
.gg-nav.is-open {
  display: flex; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(247,236,222,.97); backdrop-filter: blur(18px);
  padding: 2rem 1.5rem; overflow-y: auto; z-index: 199;
}
.gg-nav.is-open .gg-nav__list { flex-direction: column; align-items: stretch; flex-wrap: wrap; overflow: visible; margin-left: 0; }
.gg-nav.is-open .gg-nav__dropdown { position: static; transform: none; opacity: 1; pointer-events: auto; box-shadow: none; border: none; background: transparent; padding-left: 1rem; }

/* Search dropdown */
.gg-search-drop {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 199;
  background: rgba(247,236,222,.97); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(26,26,26,.07); padding: 0.75rem 0;
}
.gg-search-drop__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
@media(min-width:640px)  { .gg-search-drop__inner { padding: 0 2rem; } }
@media(min-width:1024px) { .gg-search-drop__inner { padding: 0 3rem; } }
.gg-search-drop__inner form { flex: 1; position: relative; display: flex; }
.gg-search-drop__input {
  flex: 1; padding: 0.625rem 3rem 0.625rem 1.125rem;
  border-radius: var(--r-full); border: 1.5px solid rgba(26,26,26,.1);
  background: var(--white); font-size: 0.9375rem; font-family: var(--font-body);
  color: var(--dark); outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.gg-search-drop__input:focus { border-color: rgba(255,106,0,.5); box-shadow: 0 0 0 4px rgba(255,106,0,.1); }
.gg-search-drop__submit {
  position: absolute; right: 0.875rem; top: 50%; transform: translateY(-50%);
  color: var(--orange); display: flex; align-items: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG LAYOUT — single column posts + sticky sidebar
   ═══════════════════════════════════════════════════════════════════════════ */

.gg-blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
/* sidebar always renders AFTER .gg-posts-list in DOM → goes to right column on desktop */
@media(min-width:1024px) {
  .gg-blog-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
@media(min-width:1280px) {
  .gg-blog-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

.gg-posts-list { display: flex; flex-direction: column; gap: 2rem; min-width: 0; max-width: 720px; }

/* ═══════════════════════════════════════════════════════════════════════════
   POST CARD — matches the reference card (3rd image)
   • Full-width rounded image with zoom on hover
   • Category bubble top-left
   • Orange author name · date · read time
   • Bold title
   • Excerpt text
   • Dark pill "Discover More →" button
   ═══════════════════════════════════════════════════════════════════════════ */

.gg-post-card {
  background: var(--white) !important;
  border-radius: 1.5rem !important;
  overflow: hidden !important;
  box-shadow: 0 4px 6px rgba(0,0,0,.04), 0 12px 40px rgba(62,31,7,.10) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.gg-post-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 8px 12px rgba(0,0,0,.06), 0 24px 60px rgba(62,31,7,.16) !important;
}

/* Image wrapper — rounded top corners, clips zoom */
.gg-post-card__img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  /* no border-radius here — parent clips it */
  background: linear-gradient(135deg, var(--cream-dark), var(--soft));
}
.gg-post-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gg-post-card:hover .gg-post-card__img { transform: scale(1.06); }

.gg-post-card__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--cream-dark), var(--soft));
}

/* Category bubble */
.gg-post-card__cat {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-full);
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
  /* background set by .cat-* colour classes */
  background: #5b3af5;
}

/* Category colour overrides */
.cat-ai           { background: #5b3af5; }
.cat-technology,
.cat-tech         { background: #0066cc; }
.cat-business     { background: #0a7c3e; }
.cat-finance      { background: #c47700; }
.cat-earning-tips { background: #e63946; }
.cat-market       { background: #e63946; }
.cat-knowledge    { background: #6b46c1; }
.cat-personal-growth { background: #0891b2; }
.cat-jobs         { background: #7c3aed; }
.cat-freelancing  { background: #b45309; }
.cat-uncategorized { background: var(--dark); }

/* Card body */
.gg-post-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Meta row */
.gg-post-card__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem;
  font-size: 0.8125rem; font-weight: 500;
}
.gg-post-card__author { color: var(--orange); font-weight: 600; }
.gg-post-card__dot    { color: rgba(26,26,26,.3); }
.gg-post-card__meta time,
.gg-post-card__meta span:not(.gg-post-card__author):not(.gg-post-card__dot) {
  color: rgba(26,26,26,.5); font-weight: 400;
}

/* Title */
.gg-post-card__title {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.gg-post-card__title a { color: var(--dark); transition: color var(--ease); }
.gg-post-card__title a:hover { color: var(--orange); }

/* Excerpt */
.gg-post-card__excerpt {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(26,26,26,.6);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Discover More button */
.gg-post-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.5rem;
  padding: 0.625rem 1.375rem;
  border-radius: var(--r-full);
  background: var(--dark);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  width: fit-content;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.gg-post-card__btn:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,106,0,.32);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR — sticky, well-spaced widgets
   ═══════════════════════════════════════════════════════════════════════════ */

.gg-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  position: sticky;
  top: calc(var(--nav-h) + 1.25rem);
}

.gg-widget {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.375rem 1.5rem;
  box-shadow: var(--sh-soft);
}
.gg-widget__title {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(26,26,26,.4);
  margin-bottom: 1rem; padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(26,26,26,.07);
}

/* Search */
.gg-search-widget__wrap { position: relative; display: flex; }
.gg-search-widget__input {
  flex: 1; padding: 0.6rem 2.75rem 0.6rem 1rem;
  border-radius: var(--r-full); border: 1.5px solid rgba(26,26,26,.1);
  background: var(--cream-warm); font-size: 0.875rem; font-family: var(--font-body); color: var(--dark);
  outline: none; transition: border-color var(--ease), box-shadow var(--ease);
}
.gg-search-widget__input:focus { border-color: rgba(255,106,0,.5); box-shadow: 0 0 0 3px rgba(255,106,0,.1); }
.gg-search-widget__btn {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  color: var(--orange); display: flex; align-items: center;
}

/* Recent posts with thumbs */
.gg-recent-posts { list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }
.gg-recent-posts__item { padding-bottom: 0.875rem; border-bottom: 1px solid rgba(26,26,26,.055); }
.gg-recent-posts__item:last-child { border-bottom: none; padding-bottom: 0; }
.gg-recent-posts__row { display: flex; align-items: flex-start; gap: 0.75rem; transition: opacity var(--ease); }
.gg-recent-posts__row:hover { opacity: 0.78; }
.gg-recent-posts__thumb {
  width: 64px; height: 48px; border-radius: 0.5rem; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--cream-dark), var(--soft));
}
.gg-recent-posts__img { width: 100%; height: 100%; object-fit: cover; }
.gg-recent-posts__text { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; min-width: 0; }
.gg-recent-posts__link {
  font-size: 0.8125rem; font-weight: 600; color: var(--dark); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gg-recent-posts__date { font-size: 0.75rem; color: rgba(26,26,26,.4); }

/* Categories */
.gg-cat-list { list-style: none; display: flex; flex-direction: column; gap: 0.125rem; }
.gg-cat-list__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.4375rem 0.75rem; border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--dark);
  transition: background var(--ease), color var(--ease);
}
.gg-cat-list__link:hover { background: rgba(255,106,0,.08); color: var(--orange); }
.gg-cat-list__count {
  font-size: 0.75rem; font-weight: 600; color: rgba(26,26,26,.35);
  background: rgba(26,26,26,.05); padding: 0.15rem 0.5rem; border-radius: var(--r-full);
}

/* Dark CTA widget */
.gg-widget--cta {
  background:
    radial-gradient(circle at top right, rgba(255,140,66,.18), transparent 36%),
    linear-gradient(180deg, rgba(43,28,17,.99), var(--dark));
  box-shadow: var(--sh-dark);
}
.gg-cta-widget { display: flex; flex-direction: column; gap: 0.75rem; }
.gg-cta-widget__label { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,.9); line-height: 1.4; }
.gg-cta-widget__sub   { font-size: 0.8125rem; color: rgba(255,255,255,.48); line-height: 1.55; }
.gg-cta-widget__btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 1.25rem; background: #25d366; color: var(--white);
  border-radius: var(--r-full); font-size: 0.875rem; font-weight: 700; width: fit-content;
  transition: transform var(--ease), box-shadow var(--ease);
}
.gg-cta-widget__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,.4); color: var(--white); }

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════════════════════════════ */

.gg-single-wrap {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start;
}
@media(min-width:1024px) { .gg-single-wrap { grid-template-columns: minmax(0,1fr) 300px; } }
@media(min-width:1280px) { .gg-single-wrap { grid-template-columns: minmax(0,1fr) 320px; } }

.gg-single { min-width: 0; }

/* Breadcrumb */
.gg-breadcrumb { display: flex; align-items: center; gap: 0.375rem; flex-wrap: wrap; font-size: 0.8125rem; margin-bottom: 1.125rem; }
.gg-breadcrumb__link { color: rgba(26,26,26,.5); transition: color var(--ease); }
.gg-breadcrumb__link:hover { color: var(--orange); }
.gg-breadcrumb__cat { color: var(--orange); font-weight: 500; }
.gg-breadcrumb__sep { color: rgba(26,26,26,.25); }
.gg-breadcrumb__current { color: var(--dark); font-weight: 500; }

.gg-single__cat {
  display: inline-block; padding: 0.275rem 0.75rem; border-radius: var(--r-full);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--dark); color: var(--white); margin-bottom: 0.875rem;
}

.gg-single__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.05em; line-height: 1.08; margin-bottom: 1.5rem;
}

.gg-single__meta {
  display: flex; align-items: center; gap: 0.875rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid rgba(26,26,26,.08); margin-bottom: 1.5rem;
}
.gg-single__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.gg-single__author { font-size: 0.9375rem; font-weight: 700; color: var(--dark); display: block; }
.gg-single__meta-sub { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; font-size: 0.8125rem; color: rgba(26,26,26,.5); }

/* Featured image */
.gg-single__featured-image { border-radius: var(--r-xl); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--sh-medium); }
.gg-single__img { width: 100%; height: auto; display: block; }

/* ── White card wrapping post body ── */
.gg-single__card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--sh-card);
}
@media(min-width:768px) { .gg-single__card { padding: 3rem 3rem; } }
@media(max-width:639px) { .gg-single__card { padding: 1.5rem 1.25rem; } }

/* Typography inside card */
.gg-single__content { font-size: 1.0625rem; line-height: 1.82; color: rgba(26,26,26,.85); }
.gg-single__content h2 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); font-weight: 800; letter-spacing: -0.04em; margin: 2.5rem 0 1rem; }
.gg-single__content h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 700; letter-spacing: -0.03em; margin: 2rem 0 0.75rem; }
.gg-single__content h4 { font-size: 1.125rem; font-weight: 700; margin: 1.75rem 0 0.5rem; }
.gg-single__content p { margin-bottom: 1.5rem; }
.gg-single__content ul, .gg-single__content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.gg-single__content li { margin-bottom: 0.5rem; }
.gg-single__content a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.gg-single__content a:hover { color: var(--dark); }
.gg-single__content blockquote {
  border-left: 4px solid var(--orange); padding: 1rem 1.5rem; margin: 2rem 0;
  background: rgba(255,106,0,.05); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic; color: rgba(26,26,26,.75);
}
.gg-single__content pre {
  background: var(--dark); color: #f5e9d8; padding: 1.5rem;
  border-radius: var(--r-md); overflow-x: auto; font-size: 0.9rem; line-height: 1.7; margin: 2rem 0;
}
.gg-single__content code { background: rgba(255,106,0,.1); color: var(--orange); padding: 0.1em 0.4em; border-radius: 4px; font-size: 0.875em; }
.gg-single__content pre code { background: none; color: inherit; padding: 0; }
.gg-single__content img { border-radius: var(--r-md); margin: 1.5rem 0; box-shadow: var(--sh-soft); max-width: 100%; }
.gg-single__content table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.9375rem; }
.gg-single__content th, .gg-single__content td { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(26,26,26,.08); text-align: left; }
.gg-single__content th { font-weight: 700; background: rgba(26,26,26,.03); }
.gg-single__content hr { border: none; border-top: 1px solid rgba(26,26,26,.09); margin: 2.5rem 0; }

/* Tags */
.gg-single__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(26,26,26,.07); }
.gg-single__tags-label { font-size: 0.8125rem; font-weight: 600; color: rgba(26,26,26,.5); }
.gg-tag { padding: 0.3rem 0.875rem; background: rgba(26,26,26,.05); border-radius: var(--r-full); font-size: 0.8125rem; font-weight: 500; color: var(--dark); transition: background var(--ease), color var(--ease); }
.gg-tag:hover { background: rgba(255,106,0,.12); color: var(--orange); }

/* Author box */
.gg-author-box { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.625rem; background: rgba(255,248,240,.72); border-radius: var(--r-lg); border: 1px solid rgba(255,106,0,.1); }
.gg-author-box__avatar { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.gg-author-box__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); margin-bottom: 0.2rem; }
.gg-author-box__name  { font-size: 1.125rem; font-weight: 800; margin-bottom: 0.4rem; }
.gg-author-box__bio   { font-size: 0.875rem; color: rgba(26,26,26,.6); line-height: 1.6; }

/* Post nav */
.gg-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(26,26,26,.08); }
@media(max-width:639px) { .gg-post-nav { grid-template-columns: 1fr; } }
.gg-post-nav__link { display: flex; flex-direction: column; gap: 0.375rem; padding: 1rem 1.25rem; background: var(--cream-warm); border-radius: var(--r-md); transition: transform var(--ease), box-shadow var(--ease); }
.gg-post-nav__link:hover { transform: translateY(-3px); box-shadow: var(--sh-medium); }
.gg-post-nav__link--next { align-items: flex-end; text-align: right; }
.gg-post-nav__dir { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); }
.gg-post-nav__link--next .gg-post-nav__dir { justify-content: flex-end; }
.gg-post-nav__title { font-size: 0.875rem; font-weight: 700; color: var(--dark); line-height: 1.35; }

/* Comments */
.gg-comments { margin-top: 2.5rem; }
.gg-comments .comment-reply-title, .gg-comments #reply-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.25rem; }
.gg-comments .comment-form input,
.gg-comments .comment-form textarea { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid rgba(26,26,26,.1); border-radius: var(--r-md); background: var(--cream-warm); font-family: var(--font-body); font-size: 0.9375rem; color: var(--dark); outline: none; transition: border-color var(--ease), box-shadow var(--ease); margin-bottom: 1rem; }
.gg-comments .comment-form input:focus, .gg-comments .comment-form textarea:focus { border-color: rgba(255,106,0,.45); box-shadow: 0 0 0 4px rgba(255,106,0,.1); }
.gg-comments .comment-form .submit { padding: 0.625rem 1.75rem; background: var(--dark); color: var(--white); border-radius: var(--r-full); font-size: 0.9375rem; font-weight: 600; cursor: pointer; border: none; width: auto; transition: background var(--ease), transform var(--ease); }
.gg-comments .comment-form .submit:hover { background: var(--orange); transform: translateY(-2px); }
.gg-comments .comment-list { list-style: none; padding: 0; }
.gg-comments .comment { padding: 1.25rem; border-radius: var(--r-md); background: var(--cream-warm); margin-bottom: 1rem; }
.gg-comments .comment .avatar { border-radius: 50%; }

/* ── Related ── */
.gg-related { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(26,26,26,.08); }
.gg-related__heading { font-size: clamp(1.25rem, 2.5vw, 1.625rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 1.75rem; }
.gg-related__heading span { color: var(--orange); margin-left: 0.5rem; }
.gg-related__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:640px) { .gg-related__grid { grid-template-columns: repeat(3,1fr); } }

/* Card used in related/archive */
.gg-card {
  background: var(--white); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-soft); display: flex; flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.gg-card:hover { transform: translateY(-4px); box-shadow: var(--sh-medium); }
.gg-card__image-wrap { display: block; position: relative; overflow: hidden; aspect-ratio: 16/10; background: linear-gradient(135deg,var(--cream-dark),var(--soft)); }
.gg-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gg-card:hover .gg-card__image { transform: scale(1.05); }
.gg-card__cat { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.275rem 0.7rem; border-radius: var(--r-full); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; background: var(--dark); color: var(--white); z-index: 2; }
.gg-card__body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.gg-card__meta { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; font-size: 0.8rem; }
.gg-card__author { color: var(--orange); font-weight: 600; }
.gg-card__dot { color: rgba(26,26,26,.3); }
.gg-card__date, .gg-card__read-time { color: rgba(26,26,26,.5); font-weight: 400; }
.gg-card__title { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.gg-card__title-link { color: var(--dark); transition: color var(--ease); }
.gg-card__title-link:hover { color: var(--orange); }
.gg-card__excerpt { font-size: 0.875rem; color: rgba(26,26,26,.58); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gg-card__cta { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 0.5rem; padding: 0.5rem 1.125rem; background: var(--dark); color: var(--white); border-radius: var(--r-full); font-size: 0.8125rem; font-weight: 600; width: fit-content; transition: background var(--ease), transform var(--ease); }
.gg-card__cta:hover { background: var(--orange); transform: translateY(-2px); color: var(--white); }

/* ═══════════════════════════════════════════════════════════════════════════
   ARCHIVE / SEARCH / CATEGORY
   ═══════════════════════════════════════════════════════════════════════════ */

.gg-blog-grid-row { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media(min-width:1024px) { .gg-blog-grid-row { grid-template-columns: minmax(0,1fr) 300px; } }
.gg-blog-grid { display: flex; flex-direction: column; gap: 2rem; }

.gg-archive-header, .gg-cat-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(26,26,26,.08); }
.gg-archive-header__title, .gg-cat-header__title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.05em; margin-bottom: 0.5rem; }
.gg-archive-header__query { color: var(--orange); }
.gg-archive-header__desc, .gg-cat-header__desc { font-size: 1rem; color: rgba(26,26,26,.6); max-width: 560px; }
.gg-cat-header__back { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8125rem; font-weight: 600; color: rgba(26,26,26,.5); margin-bottom: 1rem; transition: color var(--ease); }
.gg-cat-header__back:hover { color: var(--orange); }
.gg-cat-header__badge { display: inline-block; padding: 0.275rem 0.875rem; border-radius: var(--r-full); font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: var(--dark); color: var(--white); margin-bottom: 0.875rem; }
.gg-cat-header__count { font-size: 0.875rem; color: var(--orange); font-weight: 600; margin-top: 0.5rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   PAGINATION / MISC
   ═══════════════════════════════════════════════════════════════════════════ */

.gg-pagination { margin: 2.5rem 0 0; }
.gg-pagination__list { display: flex; align-items: center; justify-content: center; gap: 0.375rem; list-style: none; flex-wrap: wrap; }
.gg-pagination__item a,
.gg-pagination__item span { display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 0.875rem; border-radius: var(--r-full); font-size: 0.875rem; font-weight: 600; color: var(--dark); background: var(--white); box-shadow: var(--sh-soft); transition: background var(--ease), color var(--ease), transform var(--ease); }
.gg-pagination__item a:hover { background: rgba(255,106,0,.1); color: var(--orange); transform: translateY(-2px); }
.gg-pagination__item .current { background: var(--dark); color: var(--white); }

.gg-no-results { max-width: 560px; margin: 3rem auto; text-align: center; padding: 3rem 2rem; background: var(--white); border-radius: var(--r-xl); box-shadow: var(--sh-soft); }
.gg-no-results__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 0.75rem; }

.gg-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.gg-404__inner { text-align: center; max-width: 560px; padding: 3rem 2rem; }
.gg-404__num { display: block; font-size: clamp(6rem,15vw,10rem); font-family: var(--font-head); font-weight: 900; letter-spacing: -0.06em; line-height: 0.9; color: var(--orange); margin-bottom: 1rem; }
.gg-404__title { font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 0.875rem; }
.gg-404__desc { font-size: 1rem; color: rgba(26,26,26,.6); margin-bottom: 2rem; }
.gg-404__actions { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.gg-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1.5rem; border-radius: var(--r-full); font-size: 0.9375rem; font-weight: 600; transition: background var(--ease), transform var(--ease), box-shadow var(--ease); }
.gg-btn--primary { background: var(--dark); color: var(--white); }
.gg-btn--primary:hover { background: var(--orange); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,106,0,.35); color: var(--white); }
.gg-btn--secondary { background: var(--white); color: var(--dark); border: 1.5px solid rgba(26,26,26,.1); }
.gg-btn--secondary:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

/* Search forms */
.gg-search-refine { margin-bottom: 2rem; }
.search-form { display: flex; gap: 0.5rem; }
.search-field { flex: 1; padding: 0.625rem 1rem; border-radius: var(--r-full); border: 1.5px solid rgba(26,26,26,.1); background: var(--cream-warm); font-size: 0.9375rem; font-family: var(--font-body); color: var(--dark); outline: none; transition: border-color var(--ease), box-shadow var(--ease); }
.search-field:focus { border-color: rgba(255,106,0,.5); box-shadow: 0 0 0 4px rgba(255,106,0,.1); }
.search-submit { padding: 0.625rem 1.5rem; background: var(--dark); color: var(--white); border-radius: var(--r-full); font-size: 0.875rem; font-weight: 600; cursor: pointer; border: none; transition: background var(--ease); }
.search-submit:hover { background: var(--orange); }
.gg-search-form__wrap { position: relative; display: flex; max-width: 480px; }
.gg-search-form__input { flex: 1; padding: 0.625rem 3rem 0.625rem 1.125rem; border-radius: var(--r-full); border: 1.5px solid rgba(26,26,26,.1); background: var(--cream-warm); font-size: 0.9375rem; font-family: var(--font-body); color: var(--dark); outline: none; transition: border-color var(--ease), box-shadow var(--ease); }
.gg-search-form__input:focus { border-color: rgba(255,106,0,.5); box-shadow: 0 0 0 4px rgba(255,106,0,.1); }
.gg-search-form__btn { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--orange); display: flex; align-items: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.gg-footer { margin-top: 4rem; }

.gg-footer__cta-banner {
  background:
    radial-gradient(circle at top right, rgba(255,140,66,.18), transparent 36%),
    linear-gradient(180deg,rgba(43,28,17,.99),var(--dark));
  padding: 4rem 1.25rem; position: relative; overflow: hidden;
}
.gg-footer__cta-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at center,rgba(255,255,255,.06) 0px,rgba(255,255,255,.06) 2px,transparent 2px,transparent 14px);
  opacity: 0.22;
}
.gg-footer__cta-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; display: flex; flex-direction: column; gap: 2rem; position: relative; z-index: 1; }
@media(min-width:1024px) { .gg-footer__cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

.gg-footer__cta-heading { font-size: clamp(2.5rem,6vw,4.5rem); font-weight: 900; letter-spacing: -0.06em; line-height: 0.95; text-transform: uppercase; color: var(--white); }
.gg-footer__cta-heading em { font-style: normal; color: var(--orange); display: block; }
.gg-footer__cta-stats { display: flex; flex-direction: column; gap: 1.5rem; }
@media(min-width:640px) { .gg-footer__cta-stats { flex-direction: row; gap: 2.5rem; } }
.gg-footer__cta-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.gg-footer__cta-stat-num { font-size: 2.5rem; font-weight: 900; font-family: var(--font-head); letter-spacing: -0.05em; color: var(--white); line-height: 1; }
.gg-footer__cta-stat-label { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,.45); }
.gg-footer__cta-stat-label--sm { font-size: 0.875rem; line-height: 1.6; text-transform: none; letter-spacing: 0; max-width: 280px; color: rgba(255,255,255,.48); }

.gg-footer__bottom { background: var(--dark); padding: 3rem 1.25rem 1.5rem; }
.gg-footer__bottom-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media(min-width:768px)  { .gg-footer__bottom-inner { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px) { .gg-footer__bottom-inner { grid-template-columns: 1.5fr 1fr 1fr; } }

/* Footer wordmark */
.gg-footer__logo { display: inline-flex; align-items: center; margin-bottom: 0.875rem; }
.gg-footer__logo-word {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}
.gg-footer__tagline { font-size: 0.875rem; color: rgba(255,255,255,.38); line-height: 1.6; max-width: 280px; margin-bottom: 1.25rem; }
.gg-footer__social { display: flex; gap: 0.75rem; }
.gg-footer__social-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r-full); background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); transition: background var(--ease), color var(--ease); }
.gg-footer__social-link:hover { background: var(--orange); color: var(--white); }
.gg-footer__nav-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.gg-footer__nav-list a { font-size: 0.875rem; color: rgba(255,255,255,.48); font-weight: 500; transition: color var(--ease); }
.gg-footer__nav-list a:hover { color: var(--orange); }
.gg-footer__copy-bar { max-width: var(--wrap); margin: 2rem auto 0; padding: 1.25rem 1rem 0; border-top: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.gg-footer__copy { font-size: 0.8125rem; color: rgba(255,255,255,.3); }
.gg-footer__copy a { color: rgba(255,255,255,.48); transition: color var(--ease); }
.gg-footer__copy a:hover { color: var(--orange); }
.gg-footer__copy--right { text-align: right; }

/* ── WP Core ── */
.alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.wp-caption-text { font-size: 0.8125rem; color: rgba(26,26,26,.5); text-align: center; margin-top: 0.5rem; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; width: 1px; overflow: hidden; position: absolute; }

/* Gutenberg */
.wp-block-image img { border-radius: var(--r-md); }
.wp-block-quote { border-left: 4px solid var(--orange); padding: 1rem 1.5rem; background: rgba(255,106,0,.05); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.wp-block-separator { border-color: rgba(26,26,26,.1); }
.wp-block-code { background: var(--dark); color: #f5e9d8; border-radius: var(--r-md); font-size: 0.9rem; }

/* Focus */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
