/* ============================================================
   GG Layout Skin (Phase 3) — Premium Tech Studio
   Scoped: only applies inside .gg-phase3 wrappers
   Reversible: remove CSS enqueue
============================================================ */

.gg-phase3 {
  /* Design tokens */
  --gg-bg: #ffffff;
  --gg-surface: rgba(255,255,255,0.92);
  --gg-text: #0b1220;
  --gg-muted: #536174;
  --gg-border: rgba(15, 23, 42, 0.12);

  --gg-radius: 18px;
  --gg-radius-lg: 28px;
  --gg-gap: 18px;

  --gg-shadow: 0 12px 34px rgba(15, 23, 42, 0.10);
  --gg-shadow-soft: 0 10px 26px rgba(15, 23, 42, 0.08);
  --gg-shadow-hover: 0 18px 52px rgba(15, 23, 42, 0.14);

  /* Accent palette (used via data-accent) */
  --gg-violet: 124 58 237;
  --gg-cyan: 6 182 212;
  --gg-amber: 245 158 11;
  --gg-slate: 71 85 105;

  color: var(--gg-text);
}

.gg-phase3 * { box-sizing: border-box; }
.gg-phase3 a { text-decoration: none; }
.gg-phase3 a:hover { text-decoration: none; }

.gg-phase3 .gg-home-shell { padding: 18px 16px 56px; }
.gg-phase3 .gg-hero,
.gg-phase3 .gg-bento { max-width: 1160px; margin: 0 auto; }

/* --------------------------------------------
   HERO (Headline + subhead + 2 CTAs + tech bg)
-------------------------------------------- */
.gg-phase3 .gg-hero {
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: var(--gg-radius-lg);
  box-shadow: var(--gg-shadow);
  overflow: hidden;

  /* Tech background: gradient + soft glows + subtle grid */
  background:
    radial-gradient(900px 420px at 18% 22%, rgba(124,58,237,0.22), transparent 60%),
    radial-gradient(780px 420px at 78% 40%, rgba(6,182,212,0.18), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.86));
  position: relative;
}

.gg-phase3 .gg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Subtle "circuit/grid" texture */
  background-image:
    linear-gradient(to right, rgba(15,23,42,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 70%);
  opacity: 0.55;
}

.gg-phase3 .gg-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  padding: 28px;
  align-items: center;
}

@media (max-width: 900px) {
  .gg-phase3 .gg-hero__inner { grid-template-columns: 1fr; }
}

/* Big headline */
.gg-phase3 .gg-hero__copy h1,
.gg-phase3 .gg-hero__copy h2,
.gg-phase3 .gg-home-hero__title {
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

/* Subheadline */
.gg-phase3 .gg-hero__copy p,
.gg-phase3 .gg-home-hero__subhead {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--gg-muted);
  max-width: 66ch;
}

/* Visual block: looks like an abstract “AI studio” glass panel */
.gg-phase3 .gg-hero__visual {
  border-radius: 22px;
  height: 240px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background:
    radial-gradient(circle at 35% 30%, rgba(124,58,237,0.40), transparent 55%),
    radial-gradient(circle at 70% 45%, rgba(6,182,212,0.34), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.20));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

/* --------------------------------------------
   CTA BUTTON SYSTEM (Primary + Secondary)
-------------------------------------------- */
.gg-phase3 .gg-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: -0.01em;
  border: 1px solid #111827;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(15,23,42,0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.gg-phase3 .gg-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(15,23,42,0.12);
  background: #0f172a;
  border-color: #0f172a;
}

/* Primary CTA (first CTA in hero) */
.gg-phase3 .gg-hero .gg-home-hero__cta.gg-cta,
.gg-phase3 .gg-hero .gg-cta:first-of-type {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  box-shadow: 0 18px 40px rgba(15,23,42,0.16);
}

/* Secondary CTA (add class gg-home-hero__cta--secondary in markup if possible; if not, use nth-of-type) */
.gg-phase3 .gg-home-hero__cta--secondary {
  background: rgba(255,255,255,0.92);
  color: var(--gg-text);
  border-color: rgba(15,23,42,0.12);
}
.gg-phase3 .gg-home-hero__cta--secondary:hover {
  background: rgba(255,255,255,0.96);
  color: var(--gg-text);
  border-color: rgba(15,23,42,0.16);
}

/* If you can’t add class, this catches a second CTA placed next to the first */
.gg-phase3 .gg-hero a.gg-cta + a.gg-cta {
  background: rgba(255,255,255,0.92);
  color: var(--gg-text);
  border-color: rgba(15,23,42,0.12);
}
.gg-phase3 .gg-hero a.gg-cta + a.gg-cta:hover {
  background: rgba(255,255,255,0.96);
  color: var(--gg-text);
  border-color: rgba(15,23,42,0.16);
}

/* --------------------------------------------
   SECTIONS / HEADERS
-------------------------------------------- */
.gg-phase3 .gg-home-section {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius-lg);
  background: var(--gg-surface);
  box-shadow: var(--gg-shadow-soft);
}

.gg-phase3 .gg-home-section__header {
  margin-bottom: 12px;
}

.gg-phase3 .gg-home-section__title {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.gg-phase3 .gg-home-section__lead {
  margin: 0;
  color: var(--gg-muted);
  line-height: 1.55;
}

/* --------------------------------------------
   GRID + 3-CARD STANDARD
   Your HTML uses .gg-hub-grid
-------------------------------------------- */
.gg-phase3 .gg-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gg-gap);
}

@media (max-width: 980px) {
  .gg-phase3 .gg-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .gg-phase3 .gg-hub-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------
   CARD SYSTEM (Core Four, Picks, Latest, etc.)
-------------------------------------------- */
.gg-phase3 .gg-card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
  padding: 14px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.gg-phase3 .gg-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--gg-shadow-hover);
  border-color: rgba(15,23,42,0.16);
}

/* Accent glow (based on data-accent attr) */
.gg-phase3 .gg-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
  background:
    radial-gradient(520px 240px at 20% 15%, rgba(124,58,237,0.18), transparent 55%),
    radial-gradient(520px 260px at 85% 55%, rgba(6,182,212,0.14), transparent 60%);
}
.gg-phase3 .gg-card:hover::before { opacity: 1; }

/* Card titles and text */
.gg-phase3 .gg-card-title,
.gg-phase3 .gg-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.gg-phase3 .gg-card-blurb,
.gg-phase3 .gg-card p {
  margin: 0 0 10px;
  color: var(--gg-muted);
  line-height: 1.5;
  font-size: 14px;
}

/* Card CTA inside cards */
.gg-phase3 .gg-card-cta {
  display: inline-flex;
  margin-top: 2px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #111827;
  border: 1px solid #111827;
  color: #ffffff;
  font-weight: 600;
}
.gg-phase3 .gg-card-cta:hover {
  background: #0f172a;
  border-color: #0f172a;
}

/* --------------------------------------------
   CORE FOUR HUBS: Make them “big tiles”
   (Use on the section where you list Voice/Writing/Video/Image)
-------------------------------------------- */
.gg-phase3 .gg-home-section--bento .gg-hub-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .gg-phase3 .gg-home-section--bento .gg-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .gg-phase3 .gg-home-section--bento .gg-hub-grid { grid-template-columns: 1fr; }
}

.gg-phase3 .gg-home-section--bento .gg-card {
  padding: 16px;
  border-radius: 20px;
}

/* --------------------------------------------
   GEM PICKS: Add “Visit Site” secondary button style
   (When you add a 2nd link inside the card later)
-------------------------------------------- */
.gg-phase3 .gg-card .gg-cta--secondary,
.gg-phase3 .gg-card a.gg-cta + a.gg-cta {
  background: rgba(255,255,255,0.92);
  color: var(--gg-text);
  border-color: rgba(15,23,42,0.14);
  box-shadow: 0 10px 22px rgba(15,23,42,0.07);
}

/* --------------------------------------------
   TRUST SECTION: Make UL look like icon bullets
-------------------------------------------- */
.gg-phase3 .gg-home-section--trust .gg-home-trust {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px) {
  .gg-phase3 .gg-home-section--trust .gg-home-trust { grid-template-columns: 1fr; }
}

.gg-phase3 .gg-home-section--trust .gg-home-trust li {
  position: relative;
  padding: 12px 12px 12px 44px;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 16px;
  background: rgba(255,255,255,0.90);
  color: var(--gg-muted);
  line-height: 1.5;
}

.gg-phase3 .gg-home-section--trust .gg-home-trust li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--gg-violet), 0.95), rgba(var(--gg-cyan), 0.75));
  box-shadow: 0 10px 22px rgba(124,58,237,0.18);
  font-weight: 800;
}

/* --------------------------------------------
   HEADER / NAV polish (GeneratePress-safe)
   (visual-only; won’t break menu behavior)
-------------------------------------------- */
body.home .site-header {
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

body.home .main-navigation .inside-navigation.grid-container {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Optional: hide default page title "Home" from theme on homepage (avoid double H1) */
body.home .entry-header .entry-title {
  display: none;
}
/* ============================================================
   CARD COLOR ACCENTS (Phase 3)
   Uses data-accent attribute on .gg-card
   Subtle SaaS-style color, not loud gradients
============================================================ */

/* Base: add a soft tinted border + top glow */
.gg-phase3 .gg-card {
  position: relative;
  background: #ffffff;
}

/* Accent strip (top) */
.gg-phase3 .gg-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
  opacity: 0.85;
}

/* ------------------------------------------------------------
   VIOLET (Voice / ElevenLabs / AI Studio)
------------------------------------------------------------ */
.gg-phase3 .gg-card[data-accent="violet"] {
  border-color: #e2e8f0;
}
.gg-phase3 .gg-card[data-accent="violet"]::after {
  background: #7c3aed;
}

/* ------------------------------------------------------------
   CYAN (Video / Descript)
------------------------------------------------------------ */
.gg-phase3 .gg-card[data-accent="cyan"] {
  border-color: #e2e8f0;
}
.gg-phase3 .gg-card[data-accent="cyan"]::after {
  background: #0891b2;
}

/* ------------------------------------------------------------
   AMBER (Writing / Jasper)
------------------------------------------------------------ */
.gg-phase3 .gg-card[data-accent="amber"] {
  border-color: #e2e8f0;
}
.gg-phase3 .gg-card[data-accent="amber"]::after {
  background: #d97706;
}

/* ------------------------------------------------------------
   SLATE (Comparisons / Neutral)
------------------------------------------------------------ */
.gg-phase3 .gg-card[data-accent="slate"] {
  border-color: #e2e8f0;
}
.gg-phase3 .gg-card[data-accent="slate"]::after {
  background: #475569;
}

/* ------------------------------------------------------------
   LIME (Best-for / Creator roles)
------------------------------------------------------------ */
.gg-phase3 .gg-card[data-accent="lime"] {
  border-color: #e2e8f0;
}
.gg-phase3 .gg-card[data-accent="lime"]::after {
  background: #65a30d;
}

/* ------------------------------------------------------------
   HOVER: slightly enhance color (very subtle)
------------------------------------------------------------ */
.gg-phase3 .gg-card:hover {
  box-shadow:
    0 18px 48px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(15,23,42,0.04);
}

/* Optional: slightly tint CTA inside card to match accent */
.gg-phase3 .gg-card[data-accent="violet"] .gg-card-cta {
  color: #ffffff;
}
.gg-phase3 .gg-card[data-accent="cyan"] .gg-card-cta {
  color: #ffffff;
}
.gg-phase3 .gg-card[data-accent="amber"] .gg-card-cta {
  color: #ffffff;
}
.gg-phase3 .gg-card[data-accent="slate"] .gg-card-cta {
  color: #ffffff;
}
.gg-phase3 .gg-card[data-accent="lime"] .gg-card-cta {
  color: #ffffff;
}
/* ============================================================
   FORCE ACCENTS (no pseudo elements)
   Robust: inset top strip + tinted border
============================================================ */

/* Ensure cards can show inset strip cleanly */
.gg-phase3 .gg-card {
  border-width: 1px !important;
  border-style: solid !important;
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

/* Violet */
.gg-phase3 .gg-card[data-accent="violet"]{
  border-color: #e2e8f0 !important;
  box-shadow:
    inset 0 5px 0 rgba(124,58,237,0.90),
    0 12px 28px rgba(15,23,42,0.08) !important;
}

/* Cyan */
.gg-phase3 .gg-card[data-accent="cyan"]{
  border-color: #e2e8f0 !important;
  box-shadow:
    inset 0 5px 0 rgba(6,182,212,0.90),
    0 12px 28px rgba(15,23,42,0.08) !important;
}

/* Amber */
.gg-phase3 .gg-card[data-accent="amber"]{
  border-color: #e2e8f0 !important;
  box-shadow:
    inset 0 5px 0 rgba(245,158,11,0.95),
    0 12px 28px rgba(15,23,42,0.08) !important;
}

/* Slate */
.gg-phase3 .gg-card[data-accent="slate"]{
  border-color: #e2e8f0 !important;
  box-shadow:
    inset 0 5px 0 rgba(71,85,105,0.90),
    0 12px 28px rgba(15,23,42,0.08) !important;
}

/* Lime */
.gg-phase3 .gg-card[data-accent="lime"]{
  border-color: #e2e8f0 !important;
  box-shadow:
    inset 0 5px 0 rgba(132,204,22,0.95),
    0 12px 28px rgba(15,23,42,0.08) !important;
}

/* Hover keeps the accent strip but lifts */
.gg-phase3 .gg-card:hover{
  box-shadow:
    inset 0 5px 0 rgba(15,23,42,0.08),
    0 18px 48px rgba(15,23,42,0.14) !important;
}
/* ============================================================
   GUARANTEED ACCENT STRIP (border-top)
   If any other CSS overrides box-shadow, this still shows.
============================================================ */

.gg-phase3 .gg-card[data-accent]{
  border-top-width: 6px !important;
  border-top-style: solid !important;
}

/* Per-accent top strip */
.gg-phase3 .gg-card[data-accent="violet"]{ border-top-color: rgba(124,58,237,0.95) !important; }
.gg-phase3 .gg-card[data-accent="cyan"]  { border-top-color: rgba(6,182,212,0.95) !important; }
.gg-phase3 .gg-card[data-accent="amber"] { border-top-color: rgba(245,158,11,0.98) !important; }
.gg-phase3 .gg-card[data-accent="slate"] { border-top-color: rgba(71,85,105,0.92) !important; }
.gg-phase3 .gg-card[data-accent="lime"]  { border-top-color: rgba(132,204,22,0.95) !important; }

/* Also force a slightly tinted border so you see “life” */
.gg-phase3 .gg-card[data-accent="violet"]{ border-color: #e2e8f0 !important; }
.gg-phase3 .gg-card[data-accent="cyan"]  { border-color: #e2e8f0 !important; }
.gg-phase3 .gg-card[data-accent="amber"] { border-color: #e2e8f0 !important; }
.gg-phase3 .gg-card[data-accent="slate"] { border-color: #e2e8f0 !important; }
.gg-phase3 .gg-card[data-accent="lime"]  { border-color: #e2e8f0 !important; }

/* ============================================================
   ACCENT OVERRIDE (highest specificity)
   Wins against gadgetgems-main.css / review-v2.css overrides
============================================================ */

.gg-phase3 .gg-hub .gg-hub-grid .gg-card[data-accent]{
  /* Visible accent bar even if border/shadow overridden */
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 10px, rgba(255,255,255,0.96) 10px) !important;

  border: 1px solid #e2e8f0 !important;
  border-top-width: 8px !important;
  border-top-style: solid !important;

  box-shadow: 0 12px 28px rgba(15,23,42,0.08) !important;
  border-radius: 18px !important;
}

/* Per accent */
.gg-phase3 .gg-hub .gg-hub-grid .gg-card[data-accent="violet"]{
  border-top-color: rgba(124,58,237,0.98) !important;
  border-color: #e2e8f0 !important;
}
.gg-phase3 .gg-hub .gg-hub-grid .gg-card[data-accent="cyan"]{
  border-top-color: rgba(6,182,212,0.98) !important;
  border-color: #e2e8f0 !important;
}
.gg-phase3 .gg-hub .gg-hub-grid .gg-card[data-accent="amber"]{
  border-top-color: rgba(245,158,11,0.99) !important;
  border-color: #e2e8f0 !important;
}
.gg-phase3 .gg-hub .gg-hub-grid .gg-card[data-accent="slate"]{
  border-top-color: rgba(71,85,105,0.96) !important;
  border-color: #e2e8f0 !important;
}
.gg-phase3 .gg-hub .gg-hub-grid .gg-card[data-accent="lime"]{
  border-top-color: rgba(132,204,22,0.98) !important;
  border-color: #e2e8f0 !important;
}

/* Make CTA inside cards pop a bit */
.gg-phase3 .gg-hub .gg-hub-grid .gg-card .gg-card-cta.gg-cta{
  box-shadow: none !important;
  border-color: #111827 !important;
  background: #111827 !important;
  color: #ffffff !important;
}
/* ============================================================
   ACCENT OVERRIDE (highest specificity)
   Wins against gadgetgems-main.css / review-v2.css overrides
============================================================ */

.gg-phase3 .gg-hub .gg-hub-grid .gg-card[data-accent]{
  /* Visible accent bar even if border/shadow overridden */
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 10px, rgba(255,255,255,0.96) 10px) !important;

  border: 1px solid #e2e8f0 !important;
  border-top-width: 8px !important;
  border-top-style: solid !important;

  box-shadow: 0 12px 28px rgba(15,23,42,0.08) !important;
  border-radius: 18px !important;
}

/* Per accent */
.gg-phase3 .gg-hub .gg-hub-grid .gg-card[data-accent="violet"]{
  border-top-color: rgba(124,58,237,0.98) !important;
  border-color: #e2e8f0 !important;
}
.gg-phase3 .gg-hub .gg-hub-grid .gg-card[data-accent="cyan"]{
  border-top-color: rgba(6,182,212,0.98) !important;
  border-color: #e2e8f0 !important;
}
.gg-phase3 .gg-hub .gg-hub-grid .gg-card[data-accent="amber"]{
  border-top-color: rgba(245,158,11,0.99) !important;
  border-color: #e2e8f0 !important;
}
.gg-phase3 .gg-hub .gg-hub-grid .gg-card[data-accent="slate"]{
  border-top-color: rgba(71,85,105,0.96) !important;
  border-color: #e2e8f0 !important;
}
.gg-phase3 .gg-hub .gg-hub-grid .gg-card[data-accent="lime"]{
  border-top-color: rgba(132,204,22,0.98) !important;
  border-color: #e2e8f0 !important;
}

/* Make CTA inside cards pop a bit */
.gg-phase3 .gg-hub .gg-hub-grid .gg-card .gg-card-cta.gg-cta{
  box-shadow: none !important;
  border-color: #111827 !important;
  background: #111827 !important;
  color: #ffffff !important;
}
/* ============================================================
   ABSOLUTE ACCENT BAR (TOP LAYER — GUARANTEED)
   Renders above all inner wrappers / backgrounds
============================================================ */

.gg-phase3 .gg-card {
  position: relative !important;
  overflow: hidden !important;
}

/* Accent bar */
.gg-phase3 .gg-card[data-accent]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 6px;
  z-index: 20;

  pointer-events: none;
}

/* Accent colors */
.gg-phase3 .gg-card[data-accent="violet"]::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.gg-phase3 .gg-card[data-accent="cyan"]::before {
  background: linear-gradient(90deg, #06b6d4, #67e8f9);
}
.gg-phase3 .gg-card[data-accent="amber"]::before {
  background: linear-gradient(90deg, #f59e0b, #fde68a);
}
.gg-phase3 .gg-card[data-accent="slate"]::before {
  background: linear-gradient(90deg, #475569, #94a3b8);
}
.gg-phase3 .gg-card[data-accent="lime"]::before {
  background: linear-gradient(90deg, #84cc16, #bef264);
}

/* Push inner content down so bar is visible */
.gg-phase3 .gg-card > * {
  position: relative;
  z-index: 10;
}
.gg-phase3 .gg-card > *:first-child {
  padding-top: 6px;
}
/* =========================================================
   PHASE 3 — HOME HERO v2 (CSS-only)
   Goals: modern hero panel, better hierarchy, subtle tech feel
   ========================================================= */

.gg-phase3 .gg-home-hero {
  position: relative;
  border-radius: 22px;
  padding: 44px 44px 40px;
  overflow: hidden;

  /* soft “studio” gradient */
  background:
    radial-gradient(1200px 500px at 15% 15%, rgba(124,58,237,0.12), rgba(255,255,255,0) 60%),
    radial-gradient(900px 420px at 85% 30%, rgba(6,182,212,0.10), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.86));
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow:
    0 16px 40px rgba(2, 6, 23, 0.06),
    0 1px 0 rgba(255,255,255,0.8) inset;
}

/* subtle “visual” block on the right (no image needed) */
.gg-phase3 .gg-home-hero::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 28px;
  width: min(44%, 420px);
  height: min(72%, 260px);
  border-radius: 18px;

  background:
    radial-gradient(280px 180px at 30% 20%, rgba(124,58,237,0.20), rgba(255,255,255,0) 70%),
    radial-gradient(260px 180px at 70% 60%, rgba(6,182,212,0.16), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.65));
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow:
    0 18px 35px rgba(2, 6, 23, 0.08);
  pointer-events: none;
}

/* keep copy from stretching too wide */
.gg-phase3 .gg-home-hero__title,
.gg-phase3 .gg-home-hero__subhead {
  max-width: 640px;
}

/* typography upgrade */
.gg-phase3 .gg-home-hero__title {
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.gg-phase3 .gg-home-hero__subhead {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(15,23,42,0.72);
  margin-bottom: 22px;
}

/* CTA: modern pill, not heavy black block */
.gg-phase3 .gg-home-hero__cta.gg-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 16px;
  border-radius: 999px;

  background: rgba(15,23,42,0.92);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;

  box-shadow:
    0 10px 24px rgba(2, 6, 23, 0.18),
    0 1px 0 rgba(255,255,255,0.10) inset;
  border: 1px solid rgba(255,255,255,0.10);
}

.gg-phase3 .gg-home-hero__cta.gg-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(2, 6, 23, 0.22),
    0 1px 0 rgba(255,255,255,0.10) inset;
}

/* mobile: remove right visual block so content breathes */
@media (max-width: 768px) {
  .gg-phase3 .gg-home-hero {
    padding: 30px 22px;
  }
  .gg-phase3 .gg-home-hero::after {
    display: none;
  }
  .gg-phase3 .gg-home-hero__subhead {
    font-size: 16px;
  }
}
.gg-phase3 .gg-home-section--best-for:first-of-type .gg-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.86));
}
/* HERO TEXT CLARITY FIX */
.gg-phase3 .gg-home-hero__title,
.gg-phase3 .gg-home-hero__subhead {
  position: relative;
  z-index: 2;
}

/* push visual panel slightly right */
.gg-phase3 .gg-home-hero::after {
  right: 18px;
  top: 32px;
  opacity: 0.85;
}
/* HERO LAYOUT REBALANCE */
.gg-phase3 .gg-home-hero {
  padding: 48px 36px 44px 48px;
}
/* HERO CTA POLISH */
.gg-phase3 .gg-home-hero__cta.gg-cta {
  background: linear-gradient(
    135deg,/* CORE FOUR SECTION FRAME */
.gg-phase3 .gg-home-section--best-for {
  padding: 28px 24px 32px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.92));
  border: 1px solid rgba(15,23,42,0.08);
}

    rgba(15,23,42,0.95),
    rgba(15,23,42,0.85)
  );
}

.gg-phase3 .gg-home-hero__cta.gg-cta:hover {
  transform: translateY(-1px) scale(1.02);
}/* CORE FOUR CARD DEPTH */
.gg-phase3 .gg-home-section--best-for .gg-card {
  box-shadow:
    0 14px 28px rgba(2, 6, 23, 0.06),
    0 1px 0 rgba(255,255,255,0.9) inset;
}

.gg-phase3 .gg-home-section--best-for .gg-card:hover {
  transform: translateY(-2px);
}

/* Markdown-only Studio styling */
.gg-page--studio hr {
  margin: 18px 0;
  border: 0;
  border-top: 1px solid rgba(0,0,0,.08);
}

.gg-page--studio h1 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.gg-page--studio h2 {
  margin-top: 22px;
  font-size: 22px;
}

.gg-page--studio p {
  line-height: 1.65;
}

/* Turn the “Explore …” link line into pills */
.gg-page--studio p a[href^="/ai-content-studio/"] {
  display: inline-block;
  padding: 8px 10px;
  margin: 6px 8px 0 0;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
}

.gg-page--studio p a[href^="/ai-content-studio/"]:hover {
  text-decoration: underline;
}

/* Core Four list → “cards” */
.gg-page--studio h2 + p + ul,
.gg-page--studio h2 + ul {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}

.gg-page--studio ul > li {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 12px 12px;
  margin: 10px 0;
}

.gg-page--studio ul > li strong {
  font-size: 16px;
}

.gg-page--studio ul > li a {
  text-decoration: none;
}

.gg-page--studio ul > li a:hover {
  text-decoration: underline;
}

/* ============================================================
   AI Content Studio Hub (Markdown-only) — Phase 3
   Dark premium shell + “Power Cards” from UL/LI
============================================================ */

.gg-hub--ai-content-studio {
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124,58,237,0.10), rgba(0,0,0,0)),
    radial-gradient(900px 500px at 80% 0%, rgba(6,182,212,0.08), rgba(0,0,0,0));
}

.gg-hub--ai-content-studio .gg-hub__inner,
.gg-hub--ai-content-studio .gg-page,
.gg-hub--ai-content-studio .gg-hub {
  color: #111827;
}

/* Hero */
.gg-hub--ai-content-studio h1 {
  font-size: 40px;
  line-height: 1.1;
  margin: 4px 0 10px;
  letter-spacing: -0.02em;
}

.gg-hub--ai-content-studio h1 + p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(0,0,0,0.68);
  max-width: 72ch;
}

/* Section spacing */
.gg-hub--ai-content-studio hr {
  border: 0;
  border-top: 1px solid rgba(15,23,42,0.12);
  margin: 18px 0;
}

.gg-hub--ai-content-studio h2 {
  margin-top: 22px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

/* “Four Pillars” list → 4 power cards */
.gg-hub--ai-content-studio h2 + ul {
  list-style: none;
  padding-left: 0;
  margin: 14px 0 6px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.gg-hub--ai-content-studio h2 + ul > li {
  grid-column: span 3;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px 14px 12px;
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
  backdrop-filter: blur(10px);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.gg-hub--ai-content-studio h2 + ul > li:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15,23,42,0.12);
  border-color: rgba(15,23,42,0.18);
}

.gg-hub--ai-content-studio h2 + ul > li strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
  color: #111827;
}

.gg-hub--ai-content-studio h2 + ul > li a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #111827;
  background: #111827;
  text-decoration: none;
  color: #ffffff;
}

.gg-hub--ai-content-studio h2 + ul > li a:hover {
  background: #0f172a;
  border-color: #0f172a;
}

/* Master Stack table */
.gg-hub--ai-content-studio table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
}

.gg-hub--ai-content-studio th,
.gg-hub--ai-content-studio td {
  padding: 12px 12px;
  border-bottom: 1px solid #e2e8f0;
}

.gg-hub--ai-content-studio th {
  text-align: left;
  font-weight: 600;
  color: #111827;
}

.gg-hub--ai-content-studio tr:last-child td {
  border-bottom: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .gg-hub--ai-content-studio h2 + ul > li { grid-column: span 6; }
}
@media (max-width: 650px) {
  .gg-hub--ai-content-studio h2 + ul > li { grid-column: span 12; }
  .gg-hub--ai-content-studio h1 { font-size: 32px; }
}
/* ============================================================
   AI Content Studio HUB — Micro Polish (Markdown-only)
   Scope: hub only
============================================================ */

/* Keep hub content readable + centered */
.gg-hub--ai-content-studio .gg-hub__inner,
.gg-hub--ai-content-studio .gg-page,
.gg-hub--ai-content-studio .gg-hub {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Premium “blueprint grid” overlay */
.gg-hub--ai-content-studio {
  position: relative;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124,58,237,0.10), rgba(0,0,0,0)),
    radial-gradient(900px 500px at 80% 0%, rgba(6,182,212,0.08), rgba(0,0,0,0)),
    linear-gradient(180deg, #ffffff, #f8fafc);
}
.gg-hub--ai-content-studio::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15,23,42,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.3;
  mask-image: radial-gradient(900px 420px at 50% 0%, rgba(0,0,0,1), rgba(0,0,0,0));
}

/* Hero spacing + typography */
.gg-hub--ai-content-studio h1 {
  margin-top: 10px;
  margin-bottom: 10px;
}
.gg-hub--ai-content-studio h1 + p {
  margin-top: 0;
  margin-bottom: 12px;
  max-width: 74ch;
}

/* Headings: tighter + more “product” */
.gg-hub--ai-content-studio h2 {
  margin-top: 26px;
  margin-bottom: 12px;
}
.gg-hub--ai-content-studio hr {
  margin: 18px 0 22px;
}

/* Four Pillars “power cards” improvements */
.gg-hub--ai-content-studio h2 + ul {
  margin-top: 14px;
  margin-bottom: 2px;
}

.gg-hub--ai-content-studio h2 + ul > li {
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
  transform: translateY(0);
}

/* Bigger emoji feel (without HTML) */
.gg-hub--ai-content-studio h2 + ul > li > p:first-child,
.gg-hub--ai-content-studio h2 + ul > li strong {
  letter-spacing: -0.01em;
}

/* CTA pills inside cards */
.gg-hub--ai-content-studio h2 + ul > li a {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}
.gg-hub--ai-content-studio h2 + ul > li a:hover {
  background: #0f172a;
  border-color: #0f172a;
}

/* Per-card glow accents (order-based) */
.gg-hub--ai-content-studio h2 + ul > li:hover { box-shadow: 0 18px 42px rgba(15,23,42,0.12); border-color: rgba(15,23,42,0.18); }

/* Master Stack table readability */
.gg-hub--ai-content-studio table {
  box-shadow: 0 18px 46px rgba(15,23,42,0.12);
}
.gg-hub--ai-content-studio th {
  background: #f1f5f9;
}
.gg-hub--ai-content-studio td,
.gg-hub--ai-content-studio th {
  color: #111827;
}

/* Make the “#1 Gem” column pop slightly */
.gg-hub--ai-content-studio table td:nth-child(2) {
  font-weight: 600;
}

/* Latest feed spacing (shortcode output area) */
.gg-hub--ai-content-studio .gg-hub-index,
.gg-hub--ai-content-studio .gg-hub-section--tools,
.gg-hub--ai-content-studio .gg-hub-section--comparisons {
  margin-top: 10px;
}

/* Mobile: reduce grid density */
@media (max-width: 650px) {
  .gg-hub--ai-content-studio::before { opacity: .22; background-size: 52px 52px; }
}
/* ============================================================
   AI Content Studio HUB — Micro Polish (Markdown-only)
   Scope: only the main hub wrapper
============================================================ */

.gg-hub.gg-hub--ai-content-studio {
  position: relative;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124,58,237,0.10), rgba(0,0,0,0)),
    radial-gradient(900px 500px at 80% 0%, rgba(6,182,212,0.08), rgba(0,0,0,0)),
    linear-gradient(180deg, #ffffff, #f8fafc);
  border-radius: 0;
}

/* Subtle “blueprint grid” overlay */
.gg-hub.gg-hub--ai-content-studio::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(15,23,42,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.3;
  mask-image: radial-gradient(900px 420px at 50% 0%, rgba(0,0,0,1), rgba(0,0,0,0));
}

/* Keep content centered */
.gg-hub.gg-hub--ai-content-studio > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  color: #111827;
}

/* Hero */
.gg-hub.gg-hub--ai-content-studio h1{
  font-size: 40px;
  line-height: 1.08;
  margin: 12px 0 10px;
  letter-spacing: -0.02em;
}
.gg-hub.gg-hub--ai-content-studio h1 + p{
  margin: 0 0 16px;
  max-width: 74ch;
  color: rgba(0,0,0,0.68);
  line-height: 1.7;
}

/* Section rhythm */
.gg-hub.gg-hub--ai-content-studio hr{
  border: 0;
  border-top: 1px solid rgba(15,23,42,0.12);
  margin: 18px 0 22px;
}
.gg-hub.gg-hub--ai-content-studio h2{
  margin: 22px 0 12px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

/* Four Pillars list => power cards grid */
.gg-hub.gg-hub--ai-content-studio h2 + ul{
  list-style:none;
  padding-left:0;
  margin: 14px 0 6px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}

.gg-hub.gg-hub--ai-content-studio h2 + ul > li{
  grid-column: span 3;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 14px 14px 12px;
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
  backdrop-filter: blur(10px);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.gg-hub.gg-hub--ai-content-studio h2 + ul > li:hover{
  transform: translateY(-2px);
  border-color: rgba(15,23,42,0.18);
}

/* Ensure each card has consistent vertical rhythm */
.gg-hub.gg-hub--ai-content-studio h2 + ul > li p{
  margin: 0;
  color: rgba(0,0,0,0.7);
  line-height: 1.55;
}

/* Title line */
.gg-hub.gg-hub--ai-content-studio h2 + ul > li strong{
  font-size: 18px;
  color: #111827;
}

/* CTA pill */
.gg-hub.gg-hub--ai-content-studio h2 + ul > li a{
  display:inline-block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #111827;
  background: #111827;
  text-decoration:none;
  color: #ffffff;
}
.gg-hub.gg-hub--ai-content-studio h2 + ul > li a:hover{
  background: #0f172a;
  border-color: #0f172a;
}

/* Per-card glow accents (order-based) */
.gg-hub.gg-hub--ai-content-studio h2 + ul > li:hover{ box-shadow: 0 18px 42px rgba(15,23,42,0.12); border-color: rgba(15,23,42,0.18); }

/* Master Stack table */
.gg-hub.gg-hub--ai-content-studio table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(15,23,42,0.12);
}
.gg-hub.gg-hub--ai-content-studio th,
.gg-hub.gg-hub--ai-content-studio td{
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
  color: #111827;
}
.gg-hub.gg-hub--ai-content-studio th{
  background: #f1f5f9;
  text-align:left;
}
.gg-hub.gg-hub--ai-content-studio tr:last-child td{ border-bottom: 0; }
.gg-hub.gg-hub--ai-content-studio td:nth-child(2){ font-weight: 600; }

/* Responsive */
@media (max-width: 1100px){
  .gg-hub.gg-hub--ai-content-studio h2 + ul > li{ grid-column: span 6; }
}
@media (max-width: 650px){
  .gg-hub.gg-hub--ai-content-studio h2 + ul > li{ grid-column: span 12; }
  .gg-hub.gg-hub--ai-content-studio h1{ font-size: 32px; }
  .gg-hub.gg-hub--ai-content-studio::before{ opacity: .22; background-size: 52px 52px; }
}
/* ============================================================
   STUDIO HUB: paint the OUTER wrappers too (GeneratePress)
   so the dark shell is visible beyond the inner div.
============================================================ */

body.page-id-197 .site-content,
body.page-id-197 .content-area,
body.page-id-197 .site-main,
body.page-id-197 .inside-article,
body.page-id-197 .entry-content {
  background: #ffffff !important;
}

/* Remove “boxed article” feel so hub looks like a proper hub */
body.page-id-197 .site-content,
body.page-id-197 .content-area,
body.page-id-197 .site-main,
body.page-id-197 .inside-article,
body.page-id-197 .entry-content {
  padding: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* ============================================================
   VOICE SUB-HUB — Phase 3 Studio shell (markdown-only)
   Scope: voice sub-hub wrapper only
============================================================ */
.gg-hub.gg-hub--voice {
  position: relative;
  max-width: 1100px;
  margin: 12px auto 24px;
  padding: 26px 18px 30px;
  color: #111827;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(124,58,237,0.12), rgba(0,0,0,0)),
    radial-gradient(900px 420px at 85% 0%, rgba(6,182,212,0.10), rgba(0,0,0,0)),
    linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15,23,42,0.12);
}
.gg-hub.gg-hub--voice::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15,23,42,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.3;
  mask-image: radial-gradient(900px 420px at 50% 0%, rgba(0,0,0,1), rgba(0,0,0,0));
}

.gg-hub.gg-hub--voice h1 {
  font-size: 38px;
  line-height: 1.12;
  margin: 6px 0 10px;
  letter-spacing: -0.02em;
}
.gg-hub.gg-hub--voice h2 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.gg-hub.gg-hub--voice p {
  line-height: 1.7;
}

.gg-hub.gg-hub--voice p a[href^="#"] {
  display: inline-block;
  margin: 6px 10px 0 0;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #111827;
  text-decoration: none;
  color: #ffffff;
  background: #111827;
}
.gg-hub.gg-hub--voice p a[href^="#"]:hover {
  border-color: #0f172a;
  background: #0f172a;
}

.gg-hub.gg-hub--voice .gg-card {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #111827;
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}
.gg-hub.gg-hub--voice .gg-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15,23,42,0.18);
  box-shadow:
    0 20px 50px rgba(124,58,237,0.16),
    0 16px 40px rgba(6,182,212,0.14);
}
.gg-hub.gg-hub--voice .gg-card .gg-card-cta.gg-cta {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.gg-hub.gg-hub--voice .gg-quick-picks__title {
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 12px;
}
.gg-hub.gg-hub--voice .gg-quick-picks .gg-hub-grid {
  gap: 16px;
}

.gg-hub.gg-hub--voice .gg-compare-links {
  border: 1px solid rgba(15,23,42,0.12);
  background: #ffffff;
}
.gg-hub.gg-hub--voice .gg-compare-links__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}
@media (max-width: 700px) {
  .gg-hub.gg-hub--voice .gg-compare-links__list {
    grid-template-columns: 1fr;
  }
}

.gg-hub.gg-hub--voice .gg-hub-index {
  margin-top: 10px;
}
.gg-hub.gg-hub--voice .gg-hub-index__tab {
  border-color: rgba(0,0,0,0.12);
  color: #111827;
  background: rgba(0,0,0,0.04);
}
.gg-hub.gg-hub--voice .gg-hub-index__tab.is-active {
  background: rgba(0,0,0,0.08);
}
/* ============================================================
   AI CONTENT STUDIO — FINAL POLISH (Hub + Sub-hubs only)
   Scope: .gg-hub--ai-content-studio + .gg-hub--voice|writing|video|image
============================================================ */

/* ---------- Shared “Studio Surface” ---------- */
.gg-hub--ai-content-studio,
.gg-hub--voice,
.gg-hub--writing,
.gg-hub--video,
.gg-hub--image {
  --gg-studio-bg: #ffffff;
  --gg-studio-surface: rgba(255,255,255,0.96);
  --gg-studio-border: rgba(0,0,0,0.12);
  --gg-studio-text: #111827;
  --gg-studio-muted: rgba(0,0,0,0.68);
  --gg-studio-link: #2563eb;

  position: relative;
  color: var(--gg-studio-text);
}

/* Give the studio area a premium dark canvas (inside page shell) */
.gg-page--studio {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.96) 100%);
  border-radius: 18px;
}

/* Blueprint grid overlay (subtle) */
.gg-hub--ai-content-studio::before,
.gg-hub--voice::before,
.gg-hub--writing::before,
.gg-hub--video::before,
.gg-hub--image::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15,23,42,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.3;
  border-radius: 18px;
}

/* Ensure content sits above overlay */
.gg-hub--ai-content-studio > *,
.gg-hub--voice > *,
.gg-hub--writing > *,
.gg-hub--video > *,
.gg-hub--image > * {
  position: relative;
  z-index: 1;
}

/* ---------- Typography + Section Rhythm ---------- */
.gg-hub--ai-content-studio h1,
.gg-hub--voice h1,
.gg-hub--writing h1,
.gg-hub--video h1,
.gg-hub--image h1 {
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.gg-hub--ai-content-studio h1 + p,
.gg-hub--voice h1 + p,
.gg-hub--writing h1 + p,
.gg-hub--video h1 + p,
.gg-hub--image h1 + p {
  color: var(--gg-studio-muted);
  font-size: 16px;
  max-width: 72ch;
}

.gg-hub--ai-content-studio h2,
.gg-hub--voice h2,
.gg-hub--writing h2,
.gg-hub--video h2,
.gg-hub--image h2 {
  margin-top: 26px;
  margin-bottom: 12px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.gg-hub--ai-content-studio hr,
.gg-hub--voice hr,
.gg-hub--writing hr,
.gg-hub--video hr,
.gg-hub--image hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(15,23,42,0.08), rgba(15,23,42,0.18), rgba(15,23,42,0.08));
  margin: 18px 0;
}

/* Links */
.gg-hub--ai-content-studio a,
.gg-hub--voice a,
.gg-hub--writing a,
.gg-hub--video a,
.gg-hub--image a {
  color: var(--gg-studio-link);
}

.gg-hub--ai-content-studio a:hover,
.gg-hub--voice a:hover,
.gg-hub--writing a:hover,
.gg-hub--video a:hover,
.gg-hub--image a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Grid Cards (Latest Reviews + Related + Pillars) ---------- */
.gg-hub-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

/* Force multi-column grids on studio pages (avoid single-column rectangles) */
.gg-page--studio .gg-hub-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
}

.gg-hub-grid .gg-card,
.gg-hub-grid .gg-card--tile {
  grid-column: span 4;
  --gg-card-accent: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
  padding: 16px 16px 14px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.gg-hub-grid .gg-card:hover,
.gg-hub-grid .gg-card--tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15,23,42,0.12);
  border-color: rgba(15,23,42,0.18);
}

.gg-hub-grid .gg-card-title,
.gg-hub-grid h3 {
  color: #111827;
  font-size: 16px;
  line-height: 1.25;
  margin: 0 0 6px 0;
}

.gg-hub-grid .gg-card-blurb,
.gg-hub-grid p {
  color: #475569;
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0 0 10px 0;
}

/* CTA button style inside cards */
.gg-hub-grid .gg-cta,
.gg-hub-grid .gg-card-cta.gg-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #111827;
  border: 1px solid #111827;
  color: #ffffff;
  text-decoration: none;
}

.gg-hub-grid .gg-cta:hover,
.gg-hub-grid .gg-card-cta.gg-cta:hover {
  background: #0f172a;
  border-color: #0f172a;
  text-decoration: none;
}

/* Sub-hub cards: match homepage top accent strip (voice/writing/video/image only) */
.gg-hub--voice .gg-hub-grid .gg-card,
.gg-hub--writing .gg-hub-grid .gg-card,
.gg-hub--video .gg-hub-grid .gg-card,
.gg-hub--image .gg-hub-grid .gg-card,
.gg-hub--voice .gg-hub-grid .gg-card--tile,
.gg-hub--writing .gg-hub-grid .gg-card--tile,
.gg-hub--video .gg-hub-grid .gg-card--tile,
.gg-hub--image .gg-hub-grid .gg-card--tile {
  --gg-card-accent: #475569;
  box-shadow:
    inset 0 4px 0 var(--gg-card-accent),
    0 12px 28px rgba(15,23,42,0.08);
}

.gg-hub--voice .gg-hub-grid .gg-card:hover,
.gg-hub--writing .gg-hub-grid .gg-card:hover,
.gg-hub--video .gg-hub-grid .gg-card:hover,
.gg-hub--image .gg-hub-grid .gg-card:hover,
.gg-hub--voice .gg-hub-grid .gg-card--tile:hover,
.gg-hub--writing .gg-hub-grid .gg-card--tile:hover,
.gg-hub--video .gg-hub-grid .gg-card--tile:hover,
.gg-hub--image .gg-hub-grid .gg-card--tile:hover {
  box-shadow:
    inset 0 4px 0 var(--gg-card-accent),
    0 18px 42px rgba(15,23,42,0.12);
}

.gg-hub--voice .gg-hub-grid .gg-card[data-accent="violet"],
.gg-hub--writing .gg-hub-grid .gg-card[data-accent="violet"],
.gg-hub--video .gg-hub-grid .gg-card[data-accent="violet"],
.gg-hub--image .gg-hub-grid .gg-card[data-accent="violet"] {
  --gg-card-accent: #7c3aed;
}
.gg-hub--voice .gg-hub-grid .gg-card[data-accent="amber"],
.gg-hub--writing .gg-hub-grid .gg-card[data-accent="amber"],
.gg-hub--video .gg-hub-grid .gg-card[data-accent="amber"],
.gg-hub--image .gg-hub-grid .gg-card[data-accent="amber"] {
  --gg-card-accent: #d97706;
}
.gg-hub--voice .gg-hub-grid .gg-card[data-accent="cyan"],
.gg-hub--writing .gg-hub-grid .gg-card[data-accent="cyan"],
.gg-hub--video .gg-hub-grid .gg-card[data-accent="cyan"],
.gg-hub--image .gg-hub-grid .gg-card[data-accent="cyan"] {
  --gg-card-accent: #0891b2;
}
.gg-hub--voice .gg-hub-grid .gg-card[data-accent="slate"],
.gg-hub--writing .gg-hub-grid .gg-card[data-accent="slate"],
.gg-hub--video .gg-hub-grid .gg-card[data-accent="slate"],
.gg-hub--image .gg-hub-grid .gg-card[data-accent="slate"] {
  --gg-card-accent: #475569;
}

/* Accent map for hub cards (shared palette) */
.gg-hub-grid .gg-card[data-accent="violet"] { --gg-card-accent: #7c3aed; }
.gg-hub-grid .gg-card[data-accent="amber"] { --gg-card-accent: #d97706; }
.gg-hub-grid .gg-card[data-accent="cyan"]  { --gg-card-accent: #0891b2; }
.gg-hub-grid .gg-card[data-accent="slate"] { --gg-card-accent: #475569; }
/* Responsive */
@media (max-width: 960px) {
  .gg-hub-grid .gg-card,
  .gg-hub-grid .gg-card--tile { grid-column: span 6; }
}
@media (max-width: 640px) {
  .gg-hub-grid .gg-card,
  .gg-hub-grid .gg-card--tile { grid-column: span 12; }
}

/* ---------- Accent glow (data-accent) ---------- */
.gg-hub-grid .gg-card[data-accent="violet"]:hover { box-shadow: inset 0 4px 0 var(--gg-card-accent), 0 18px 42px rgba(15,23,42,0.12); }
.gg-hub-grid .gg-card[data-accent="amber"]:hover  { box-shadow: inset 0 4px 0 var(--gg-card-accent), 0 18px 42px rgba(15,23,42,0.12); }
.gg-hub-grid .gg-card[data-accent="cyan"]:hover   { box-shadow: inset 0 4px 0 var(--gg-card-accent), 0 18px 42px rgba(15,23,42,0.12); }
.gg-hub-grid .gg-card[data-accent="slate"]:hover  { box-shadow: inset 0 4px 0 var(--gg-card-accent), 0 18px 42px rgba(15,23,42,0.12); }

/* ---------- Master Stack table polish ---------- */
.gg-hub--ai-content-studio table,
.gg-hub--voice table,
.gg-hub--writing table,
.gg-hub--video table,
.gg-hub--image table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.12);
}

.gg-hub--ai-content-studio th,
.gg-hub--ai-content-studio td,
.gg-hub--voice th, .gg-hub--voice td,
.gg-hub--writing th, .gg-hub--writing td,
.gg-hub--video th, .gg-hub--video td,
.gg-hub--image th, .gg-hub--image td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(15,23,42,0.12);
  color: #111827;
  font-size: 13.5px;
}

.gg-hub--ai-content-studio th,
.gg-hub--voice th,
.gg-hub--writing th,
.gg-hub--video th,
.gg-hub--image th {
  color: #111827;
  background: #f1f5f9;
  font-weight: 650;
}

.gg-hub--ai-content-studio tr:last-child td,
.gg-hub--voice tr:last-child td,
.gg-hub--writing tr:last-child td,
.gg-hub--video tr:last-child td,
.gg-hub--image tr:last-child td {
  border-bottom: 0;
}

/* ---------- Related block spacing ---------- */
.gg-related {
  margin-top: 28px;
}

.gg-related h2 {
  margin-top: 0;
}

/* ---------- Sub-hub grid rhythm (writing/video/image) ---------- */
.gg-page--studio .gg-hub--voice h2 + .gg-hub-grid,
.gg-page--studio .gg-hub--writing h2 + .gg-hub-grid,
.gg-page--studio .gg-hub--video h2 + .gg-hub-grid,
.gg-page--studio .gg-hub--image h2 + .gg-hub-grid {
  margin-top: 8px;
}

.gg-page--studio .gg-hub--voice .gg-hub-grid,
.gg-page--studio .gg-hub--writing .gg-hub-grid,
.gg-page--studio .gg-hub--video .gg-hub-grid,
.gg-page--studio .gg-hub--image .gg-hub-grid {
  margin-bottom: 18px;
}

.gg-hub--ai-content-studio .gg-hub-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
}

.gg-hub--ai-content-studio .gg-hub-grid .gg-card:not(.gg-card--hero),
.gg-hub--ai-content-studio .gg-hub-grid .gg-card--tile {
  grid-column: span 4 !important;
}

@media (max-width: 960px) {
  .gg-hub--ai-content-studio .gg-hub-grid .gg-card:not(.gg-card--hero),
  .gg-hub--ai-content-studio .gg-hub-grid .gg-card--tile {
    grid-column: span 6 !important;
  }
}

@media (max-width: 640px) {
  .gg-hub--ai-content-studio .gg-hub-grid .gg-card:not(.gg-card--hero),
  .gg-hub--ai-content-studio .gg-hub-grid .gg-card--tile {
    grid-column: span 12 !important;
  }
}

.gg-page--studio .gg-hub--voice .gg-hub-grid .gg-card,
.gg-page--studio .gg-hub--writing .gg-hub-grid .gg-card,
.gg-page--studio .gg-hub--video .gg-hub-grid .gg-card,
.gg-page--studio .gg-hub--image .gg-hub-grid .gg-card,
.gg-page--studio .gg-hub--voice .gg-hub-grid .gg-card--tile,
.gg-page--studio .gg-hub--writing .gg-hub-grid .gg-card--tile,
.gg-page--studio .gg-hub--video .gg-hub-grid .gg-card--tile,
.gg-page--studio .gg-hub--image .gg-hub-grid .gg-card--tile {
  grid-column: span 4 !important;
}

@media (max-width: 960px) {
  .gg-page--studio .gg-hub--voice .gg-hub-grid .gg-card,
  .gg-page--studio .gg-hub--writing .gg-hub-grid .gg-card,
  .gg-page--studio .gg-hub--video .gg-hub-grid .gg-card,
  .gg-page--studio .gg-hub--image .gg-hub-grid .gg-card,
  .gg-page--studio .gg-hub--voice .gg-hub-grid .gg-card--tile,
  .gg-page--studio .gg-hub--writing .gg-hub-grid .gg-card--tile,
  .gg-page--studio .gg-hub--video .gg-hub-grid .gg-card--tile,
  .gg-page--studio .gg-hub--image .gg-hub-grid .gg-card--tile {
    grid-column: span 6 !important;
  }
}

@media (max-width: 640px) {
  .gg-page--studio .gg-hub--voice .gg-hub-grid .gg-card,
  .gg-page--studio .gg-hub--writing .gg-hub-grid .gg-card,
  .gg-page--studio .gg-hub--video .gg-hub-grid .gg-card,
  .gg-page--studio .gg-hub--image .gg-hub-grid .gg-card,
  .gg-page--studio .gg-hub--voice .gg-hub-grid .gg-card--tile,
  .gg-page--studio .gg-hub--writing .gg-hub-grid .gg-card--tile,
  .gg-page--studio .gg-hub--video .gg-hub-grid .gg-card--tile,
  .gg-page--studio .gg-hub--image .gg-hub-grid .gg-card--tile {
    grid-column: span 12 !important;
  }
}

.gg-page--studio .gg-hub--voice ul.gg-top-reviews,
.gg-page--studio .gg-hub--writing ul.gg-top-reviews,
.gg-page--studio .gg-hub--video ul.gg-top-reviews,
.gg-page--studio .gg-hub--image ul.gg-top-reviews {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
