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

/* ── 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;
  --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 style neutralisers ───────────────────────────────── */
.hentry  { margin: 0 !important; }
.entry-content, .entry-header, .entry-footer { margin: 0 !important; }

/* Force card visuals over any WP/plugin overrides */
article.gg-post-card,
.gg-posts-list .gg-post-card,
.gg-blog-layout .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 14px 44px rgba(62,31,7,.11) !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !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
   ═══════════════════════════════════════════════════════════════════════════ */

.gg-header-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0.875rem 1.25rem;
  pointer-events: none;
}
@media(min-width:640px)  { .gg-header-wrap { padding: 0.875rem 2rem; } }
@media(min-width:1024px) { .gg-header-wrap { padding: 1rem 3rem; } }

.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);
  min-width: 0;
}

/* Logo */
.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; min-width: 0; 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;
  overflow: hidden;
  gap: 0;
  margin-left: 1rem;
  min-width: 0;
}

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

.gg-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  padding: 0.4rem 0.65rem;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  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);
  z-index: 210;
}
.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); white-space: nowrap; }

/* 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);
  flex-shrink: 0;
}
.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.125rem;
  border-radius: var(--r-full);
  background: var(--dark);
  color: var(--white);
  font-size: 0.775rem;
  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__link { font-size: 1.125rem; padding: 0.75rem 1rem; }
.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 — posts + sticky sidebar
   ═══════════════════════════════════════════════════════════════════════════ */

.gg-blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@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; }
}

/* Posts column — no max-width so it fills its grid cell */
.gg-posts-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   POST CARD
   ═══════════════════════════════════════════════════════════════════════════ */

.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 14px 44px rgba(62,31,7,.11) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
}
.gg-post-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 12px rgba(0,0,0,.06), 0 24px 60px rgba(62,31,7,.16) !important;
}

/* Image wrapper — clips zoom, maintains aspect ratio */
.gg-post-card__img-wrap {
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--cream-dark), var(--soft));
  flex-shrink: 0;
}
.gg-post-card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.55s ease !important;
  display: block !important;
}
.gg-post-card:hover .gg-post-card__img { transform: scale(1.07) !important; }

.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.75rem;
  border-radius: var(--r-full);
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
  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.375rem 1.625rem 1.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

/* Meta */
.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.0625rem, 2vw, 1.3125rem);
  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;
  flex: 1;
}

/* Discover More button */
.gg-post-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.625rem;
  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
   ═══════════════════════════════════════════════════════════════════════════ */

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

/* Base widget — clean card, no heavy shadow */
.gg-widget {
  background: var(--white) !important;
  border-radius: 1.125rem !important;
  padding: 1.25rem 1.25rem !important;
  box-shadow: 0 2px 12px rgba(62,31,7,.06), 0 1px 3px rgba(0,0,0,.04) !important;
  border: 1px solid rgba(234,216,193,.55) !important;
  list-style: none !important;
}

/* Widget title */
.gg-widget__title {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(26,26,26,.38) !important;
  margin: 0 0 0.875rem !important;
  padding: 0 0 0.625rem !important;
  border-bottom: 1px solid rgba(26,26,26,.07) !important;
  font-family: var(--font-head) !important;
  line-height: 1 !important;
}

/* ── Search widget ── */
.gg-sw-form { margin: 0; }
.gg-sw-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--cream-warm);
  border-radius: var(--r-full);
  border: 1.5px solid rgba(26,26,26,.09);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.gg-sw-wrap:focus-within {
  border-color: rgba(255,106,0,.4);
  box-shadow: 0 0 0 3px rgba(255,106,0,.1);
}
.gg-sw-input {
  flex: 1;
  padding: 0.6rem 0.875rem !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-size: 0.875rem !important;
  font-family: var(--font-body) !important;
  color: var(--dark) !important;
  min-width: 0;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
}
.gg-sw-input::placeholder { color: rgba(26,26,26,.35); }
.gg-sw-btn {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--dark) !important;
  border: none !important;
  color: var(--white);
  cursor: pointer;
  border-radius: 0 var(--r-full) var(--r-full) 0;
  transition: background var(--ease);
}
.gg-sw-btn:hover { background: var(--orange) !important; }

/* ── Recent posts list ── */
.gg-rp-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gg-rp-item {
  list-style: none !important;
  border-bottom: 1px solid rgba(26,26,26,.055);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}
.gg-rp-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.gg-rp-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity var(--ease);
}
.gg-rp-row:hover { opacity: 0.72; }
.gg-rp-thumb {
  width: 64px;
  height: 48px;
  border-radius: 0.625rem;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--cream-dark), var(--soft));
}
.gg-rp-thumb img,
.gg-rp-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.gg-rp-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--cream-dark), var(--soft)); }
.gg-rp-text { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; min-width: 0; }
.gg-rp-title {
  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-rp-date { font-size: 0.75rem; color: rgba(26,26,26,.38); }

/* ── Categories list ── */
.gg-cat-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.gg-cat-list__item { list-style: none !important; }
.gg-cat-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.625rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
}
.gg-cat-list__link:hover { background: rgba(255,106,0,.09); color: var(--orange); }
.gg-cat-list__name { flex: 1; min-width: 0; }
.gg-cat-list__count {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(26,26,26,.32);
  background: rgba(26,26,26,.055);
  padding: 0.125rem 0.5rem;
  border-radius: var(--r-full);
  flex-shrink: 0;
  margin-left: 0.5rem;
}

/* ── Dark CTA widget ── */
.gg-widget--cta {
  background:
    radial-gradient(circle at top right, rgba(255,140,66,.2), transparent 40%),
    linear-gradient(160deg, #2b1c11 0%, #1a120b 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 28px rgba(17,11,7,.22) !important;
}
.gg-cta-widget { display: flex; flex-direction: column; gap: 0.625rem; }
.gg-cta-widget__label { font-size: 0.9375rem; font-weight: 700; color: rgba(255,255,255,.92); line-height: 1.4; }
.gg-cta-widget__sub   { font-size: 0.8125rem; color: rgba(255,255,255,.45); line-height: 1.6; }
.gg-cta-widget__btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.575rem 1.125rem;
  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,.45);
  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);
  aspect-ratio: 16 / 9;
}
.gg-single__img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }

/* 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; } }
@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 — themed to match the design
   ═══════════════════════════════════════════════════════════════════════════ */

.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.5rem; color: var(--dark);
}

/* All text inputs + textarea */
.gg-comments .comment-form label {
  display: block; font-size: 0.8125rem; font-weight: 600;
  color: rgba(26,26,26,.55); margin-bottom: 0.375rem;
  letter-spacing: 0.01em;
}
.gg-comments .comment-form input[type="text"],
.gg-comments .comment-form input[type="email"],
.gg-comments .comment-form input[type="url"],
.gg-comments .comment-form textarea {
  width: 100% !important;
  padding: 0.75rem 1.125rem !important;
  border: 1.5px solid rgba(26,26,26,.1) !important;
  border-radius: var(--r-md) !important;
  background: var(--cream-warm) !important;
  font-family: var(--font-body) !important;
  font-size: 0.9375rem !important;
  color: var(--dark) !important;
  outline: none !important;
  transition: border-color var(--ease), box-shadow var(--ease) !important;
  margin-bottom: 1.125rem !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
}
.gg-comments .comment-form input[type="text"]:focus,
.gg-comments .comment-form input[type="email"]:focus,
.gg-comments .comment-form input[type="url"]:focus,
.gg-comments .comment-form textarea:focus {
  border-color: rgba(255,106,0,.45) !important;
  box-shadow: 0 0 0 4px rgba(255,106,0,.1) !important;
  background: var(--white) !important;
}

/* Checkbox row — "Save my name…" */
.gg-comments .comment-form-cookies-consent,
.gg-comments .comment-form p.comment-form-cookies-consent {
  display: flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  margin-bottom: 1.25rem !important;
  padding: 0.75rem 1rem !important;
  background: rgba(255,248,240,.6) !important;
  border-radius: var(--r-md) !important;
  border: 1px solid rgba(255,106,0,.12) !important;
}
.gg-comments .comment-form-cookies-consent input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border: 2px solid rgba(26,26,26,.2) !important;
  border-radius: 5px !important;
  background: var(--white) !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  transition: background var(--ease), border-color var(--ease) !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  flex-shrink: 0 !important;
}
.gg-comments .comment-form-cookies-consent input[type="checkbox"]:checked {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
}
.gg-comments .comment-form-cookies-consent input[type="checkbox"]:checked::after {
  content: '' !important;
  position: absolute !important;
  top: 2px !important; left: 5px !important;
  width: 5px !important; height: 9px !important;
  border: 2px solid white !important;
  border-top: none !important; border-left: none !important;
  transform: rotate(45deg) !important;
}
.gg-comments .comment-form-cookies-consent label {
  font-size: 0.8125rem !important;
  color: rgba(26,26,26,.6) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  cursor: pointer !important;
}

/* Submit button */
.gg-comments .comment-form .submit,
.gg-comments #submit {
  padding: 0.65rem 1.875rem !important;
  background: var(--dark) !important;
  color: var(--white) !important;
  border-radius: var(--r-full) !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  border: none !important;
  width: auto !important;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.gg-comments .comment-form .submit:hover,
.gg-comments #submit:hover {
  background: var(--orange) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(255,106,0,.3) !important;
}

/* Existing comments list */
.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%; }
.gg-comments .comment-body { padding: 0; }
.gg-comments .comment-meta { margin-bottom: 0.75rem; }
.gg-comments .comment-author .fn { font-size: 0.9375rem; font-weight: 700; color: var(--dark); }
.gg-comments .comment-metadata a { font-size: 0.75rem; color: rgba(26,26,26,.4); }
.gg-comments .comment-content { font-size: 0.9375rem; line-height: 1.7; color: rgba(26,26,26,.75); }
.gg-comments .reply a { font-size: 0.8125rem; font-weight: 600; color: var(--orange); margin-top: 0.5rem; display: inline-block; }
.gg-comments .comment-awaiting-moderation { font-size: 0.8125rem; color: rgba(26,26,26,.4); font-style: italic; }

/* ── 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) !important; border-radius: var(--r-xl) !important; overflow: hidden !important;
  box-shadow: var(--sh-soft) !important; display: flex; flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
  border: none !important; padding: 0 !important;
}
.gg-card:hover { transform: translateY(-4px); box-shadow: var(--sh-medium) !important; }
.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; object-position: center; 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); }

/* ═══════════════════════════════════════════════════════════════════════════
   CATEGORY / ARCHIVE PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.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; }

/* Category header */
.gg-cat-header {
  margin-bottom: 2.5rem;
  padding: 2rem 2.5rem;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-soft);
}
.gg-cat-header__inner { display: flex; flex-direction: column; align-items: flex-start; }
.gg-cat-header__back {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.8125rem; font-weight: 600;
  color: rgba(26,26,26,.45);
  padding: 0.35rem 0.875rem;
  border-radius: var(--r-full);
  background: rgba(26,26,26,.05);
  margin-bottom: 1.25rem;
  transition: background var(--ease), color var(--ease);
}
.gg-cat-header__back:hover { background: rgba(255,106,0,.1); color: var(--orange); }
.gg-cat-header__badge {
  display: inline-block; padding: 0.3rem 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__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900; letter-spacing: -0.06em; line-height: 1;
  color: var(--dark); margin-bottom: 0.5rem;
}
.gg-cat-header__desc { font-size: 1rem; color: rgba(26,26,26,.55); max-width: 560px; margin-bottom: 0.5rem; line-height: 1.6; }
.gg-cat-header__count {
  font-size: 0.875rem; font-weight: 700; color: var(--orange);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.gg-cat-header__count::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* Archive header */
.gg-archive-header {
  margin-bottom: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-soft);
  border-bottom: none;
}
.gg-archive-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 { font-size: 1rem; color: rgba(26,26,26,.6); max-width: 560px; }

/* Search page */
.gg-search-header { margin-bottom: 2rem; }
.gg-search-refine { margin-bottom: 2rem; }
.gg-search-form__wrap { position: relative; display: flex; max-width: 560px; }
.gg-search-form__input {
  flex: 1; padding: 0.75rem 3.25rem 0.75rem 1.25rem;
  border-radius: var(--r-full); border: 1.5px solid rgba(26,26,26,.1);
  background: var(--white); font-size: 1rem; font-family: var(--font-body);
  color: var(--dark); outline: none;
  box-shadow: var(--sh-soft);
  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.875rem; top: 50%; transform: translateY(-50%); color: var(--orange); display: flex; align-items: center; background: none; border: none; cursor: pointer; }

/* WP default search form */
.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); }

/* ═══════════════════════════════════════════════════════════════════════════
   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); }

/* ═══════════════════════════════════════════════════════════════════════════
   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; } }

.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 alignment ── */
.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; }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Mobile: cards full width, no sidebar next to them */
@media(max-width:1023px) {
  .gg-blog-layout,
  .gg-single-wrap,
  .gg-blog-grid-row {
    grid-template-columns: 1fr !important;
  }
  .gg-sidebar {
    position: static !important;
    max-height: none !important;
    overflow-y: visible !important;
  }
  .gg-posts-list { max-width: 100%; }
  .gg-cat-header { padding: 1.5rem; }
  .gg-single__card { padding: 1.5rem 1.25rem !important; }
  .gg-post-nav { grid-template-columns: 1fr !important; }
}

@media(max-width:639px) {
  .gg-main { padding-top: calc(var(--nav-h) + 1rem); padding-bottom: 3rem; }
  .gg-header__cta-btn { display: none; }
  .gg-related__grid { grid-template-columns: 1fr !important; }
  .gg-author-box { flex-direction: column; }
  .gg-footer__cta-banner { padding: 2.5rem 1.25rem; }
  .gg-footer__cta-heading { font-size: clamp(2rem, 8vw, 2.5rem); }
  .gg-single__title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .gg-cat-header__title { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .gg-widget { padding: 1rem 1.125rem !important; }
  .gg-post-card__body { padding: 1.125rem 1.25rem 1.375rem; }
}

/* Tablet adjustments */
@media(min-width:640px) and (max-width:1023px) {
  .gg-related__grid { grid-template-columns: repeat(2, 1fr) !important; }
}
