/* =====================================================
   PAULINO STRATEGIES — Ghost Theme
   Design System: Black / Cream / Lime
   Font: Inter
   ===================================================== */

/* ── RESET & ROOT ──────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:      #0a0a0a;
  --dark:       #1b1c1c;
  --lime:       #e4fe7b;
  --lime-dim:   rgba(228, 254, 123, 0.15);
  --lime-glow:  rgba(228, 254, 123, 0.20);
  --cream:      #ffffe6;
  --border-d:   rgba(153, 153, 153, 0.20);
  --border-l:   rgba(27, 28, 28, 0.15);
  /* Ghost injects --gh-font-heading and --gh-font-body when custom fonts are set */
  --font:       var(--gh-font-body, Inter), "Inter Placeholder", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head:  var(--gh-font-heading, Inter), "Inter Placeholder", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:     6px;
  --max-w:      1100px;
  --article-w:  720px;
  --pad-x:      80px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; width: auto; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── PROGRESS BAR ──────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--lime);
  z-index: 9999;
  transition: width 0.1s linear;
  display: none; /* shown only on post pages via JS */
}
.post-template #progress-bar { display: block; }

/* ── CURSOR GLOW ───────────────────────────────────── */
#glow {
  position: fixed;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 254, 123, 0.05) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  transition: left 0.06s, top 0.06s;
}

/* ── SCROLL REVEAL ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible        { opacity: 1; transform: translateY(0); }
.reveal-d1             { transition-delay: 0.08s; }
.reveal-d2             { transition-delay: 0.16s; }
.reveal-d3             { transition-delay: 0.24s; }
.reveal-d4             { transition-delay: 0.32s; }

/* ── SECTION TAG ───────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}
.section-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--lime);
  flex-shrink: 0;
}
.section-tag.dk {
  color: var(--dark);
}
.section-tag.dk::before {
  background: var(--dark);
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { opacity: 1; }

.btn-lime {
  background: var(--lime);
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(228, 254, 123, 0.2);
}
.btn-lime:hover {
  box-shadow: 0 8px 28px rgba(228, 254, 123, 0.35);
}

.arr {
  display: inline-block;
  transition: transform 0.2s;
}
.btn:hover .arr { transform: translateX(4px); }

/* =====================================================
   NAVIGATION
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-d);
  height: 64px;
}

.site-header-inner {
  max-width: calc(var(--max-w) + var(--pad-x) * 2);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-img {
  height: 28px;
  width: auto;
}
.logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--cream);
}

.site-nav { flex: 1; }
.nav-list {
  display: flex;
  gap: 2px;
  align-items: center;
}
.nav-list a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 230, 0.6);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-list a:hover,
.nav-list a.current {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.07);
}

.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.btn-subscribe {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  background: var(--lime);
  padding: 8px 18px;
  border-radius: var(--radius);
  letter-spacing: -0.2px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-subscribe:hover { opacity: 0.85; }

.btn-contact {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
  background: transparent;
  padding: 8px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--lime);
  letter-spacing: -0.2px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.btn-contact:hover {
  background: var(--lime);
  color: var(--dark);
}

.btn-account {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 230, 0.6);
  padding: 9px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-d);
  transition: color 0.2s, border-color 0.2s;
}
.btn-account:hover { color: var(--cream); border-color: rgba(153, 153, 153, 0.5); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HOME PAGE
   ===================================================== */

/* ── HOME HERO ─────────────────────────────────────── */
.home-hero {
  background: var(--cream);
  padding: 88px var(--pad-x) 80px;
  border-bottom: 1px solid var(--border-l);
}
.home-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: end;
}
.home-hero-text { max-width: 680px; }
.home-hero-headline {
  font-size: 58px;
  font-weight: 700;
  letter-spacing: -3.5px;
  line-height: 1.04;
  color: var(--dark);
  margin-bottom: 20px;
}
.home-hero-sub {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(27, 28, 28, 0.72);
}
.home-hero-cover { flex-shrink: 0; }
.home-cover-img {
  width: 320px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ── FEATURED SECTION ──────────────────────────────── */
.featured-section {
  background: var(--black);
  padding: 88px var(--pad-x);
  border-bottom: 1px solid var(--border-d);
}
.featured-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 32px;
}
.featured-post-image-link { display: block; overflow: hidden; border-radius: var(--radius); }
.featured-post-image-wrap { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); }
.featured-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-post-image-link:hover .featured-post-image { transform: scale(1.04); }

.featured-post-content { display: flex; flex-direction: column; gap: 20px; }
.featured-post-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--cream);
}
.featured-post-title a { transition: color 0.2s; }
.featured-post-title a:hover { color: var(--lime); }
.featured-post-excerpt {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 230, 0.65);
}
.featured-post-meta {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 230, 0.4);
  display: flex;
  align-items: center;
  gap: 4px;
}
.bull { color: var(--lime); }

/* ── POSTS SECTION ─────────────────────────────────── */
.posts-section {
  background: var(--cream);
  padding: 88px var(--pad-x);
}
.posts-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.posts-hdr { margin-bottom: 48px; }
.posts-hdr-title {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -1.6px;
  line-height: 1.15;
  color: var(--dark);
}

/* ── POST FEED LAYOUTS ─────────────────────────────── */
.post-feed.Grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-l);
  border: 1px solid var(--border-l);
  border-radius: var(--radius);
  overflow: hidden;
}
.post-feed.List {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-l);
  border-radius: var(--radius);
  overflow: hidden;
}
.post-feed.Magazine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border-l);
  border: 1px solid var(--border-l);
  border-radius: var(--radius);
  overflow: hidden;
}
.post-feed.Magazine .post-card:first-child {
  grid-column: 1 / -1;
}

/* ── POST CARD ─────────────────────────────────────── */
.post-card {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
  position: relative;
}
.post-card:hover { background: #f5f5d5; }

.post-feed.List .post-card {
  flex-direction: row;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-l);
}
.post-feed.List .post-card:last-child { border-bottom: none; }

.post-card-image-link {
  display: block;
  overflow: hidden;
}
.post-feed.Grid .post-card-image-link,
.post-feed.Magazine .post-card-image-link {
  aspect-ratio: 16/9;
}
.post-feed.List .post-card-image-link {
  width: 240px;
  flex-shrink: 0;
  aspect-ratio: 4/3;
}

.post-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.post-card:hover .post-card-image { transform: scale(1.04); }

.post-card-content {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.post-feed.List .post-card-content { padding: 24px; }

.post-card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--dark);
  padding: 3px 8px;
  border-radius: 3px;
  transition: background 0.2s;
}
.post-card-tag:hover { background: rgba(27, 28, 28, 0.85); }

.post-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.25;
  color: var(--dark);
  flex: 1;
}
.post-card-title-link { transition: color 0.2s; }
.post-card-title-link:hover { color: rgba(27, 28, 28, 0.65); }

.post-card-excerpt {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(27, 28, 28, 0.65);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-l);
}
.post-card-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.post-card-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.post-card-author {
  font-size: 12px;
  font-weight: 600;
  color: rgba(27, 28, 28, 0.7);
}
.post-card-date,
.post-card-read-time {
  font-size: 12px;
  font-weight: 500;
  color: rgba(27, 28, 28, 0.45);
  white-space: nowrap;
}

/* Pagination is styled in the PAGINATION PARTIAL section below */

/* =====================================================
   POST PAGE
   ===================================================== */
.post-page { background: var(--black); }

/* ── ARTICLE HEADER ────────────────────────────────── */
.article-header {
  background: var(--cream);
  padding: 80px var(--pad-x) 64px;
  border-bottom: 1px solid var(--border-l);
}
.article-header-inner {
  max-width: var(--article-w);
  margin: 0 auto;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}
.article-meta .post-card-tag { margin-right: 4px; }
.article-meta-sep {
  color: rgba(27, 28, 28, 0.3);
  font-size: 13px;
}
.article-date,
.article-read-time {
  font-size: 13px;
  font-weight: 500;
  color: rgba(27, 28, 28, 0.55);
}

.article-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 24px;
}

.article-excerpt {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(27, 28, 28, 0.72);
  margin-bottom: 32px;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.article-author-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s;
}
.article-author-wrap:hover { opacity: 0.75; }
.article-author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-l);
}
.article-author-avatar--placeholder {
  background: var(--dark);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.article-author-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(27, 28, 28, 0.8);
}

/* ── FEATURE IMAGE ─────────────────────────────────── */
.article-feature-image {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
}
.article-feature-image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}
.article-image-caption {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 230, 0.45);
  padding: 12px var(--pad-x);
  background: var(--black);
  font-style: italic;
}

/* ── ARTICLE BODY ──────────────────────────────────── */
.article-body-wrap {
  padding: 72px var(--pad-x);
}
.article-body {
  max-width: var(--article-w);
  margin: 0 auto;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 230, 0.88);
}

/* Ghost Content Styles */
.gh-content > * + * { margin-top: 1.5em; }

.gh-content h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--cream);
  margin-top: 2.5em;
  margin-bottom: 0.75em;
}
.gh-content h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--cream);
  margin-top: 2em;
  margin-bottom: 0.6em;
}
.gh-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--cream);
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}

.gh-content p { color: rgba(255, 255, 230, 0.82); }

.gh-content a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(228, 254, 123, 0.4);
  transition: text-decoration-color 0.2s;
}
.gh-content a:hover { text-decoration-color: var(--lime); }

.gh-content strong { color: var(--cream); font-weight: 700; }
.gh-content em { font-style: italic; }

.gh-content ul,
.gh-content ol {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gh-content ul { list-style: disc; }
.gh-content ol { list-style: decimal; }
.gh-content li { color: rgba(255, 255, 230, 0.82); }
.gh-content li::marker { color: var(--lime); }

.gh-content blockquote {
  border-left: 3px solid var(--lime);
  padding: 4px 0 4px 28px;
  margin: 2em 0;
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 230, 0.75);
}

.gh-content pre {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-d);
  border-radius: var(--radius);
  padding: 24px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
}
.gh-content code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", monospace;
  font-size: 0.875em;
  background: rgba(228, 254, 123, 0.1);
  color: var(--lime);
  padding: 2px 6px;
  border-radius: 3px;
}
.gh-content pre code {
  background: none;
  color: rgba(255, 255, 230, 0.88);
  padding: 0;
}

.gh-content hr {
  border: none;
  border-top: 1px solid var(--border-d);
  margin: 3em 0;
}

.gh-content figure { margin: 2.5em 0; }
.gh-content figure img { border-radius: var(--radius); max-width: 100%; height: auto; }
.gh-content figcaption {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 230, 0.4);
  margin-top: 12px;
  font-style: italic;
}

/* ── ARTICLE TAGS FOOTER ───────────────────────────── */
.article-tags-footer {
  max-width: var(--article-w);
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border-d);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-tag-pill {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 230, 0.6);
  border: 1.5px solid var(--border-d);
  padding: 6px 14px;
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.article-tag-pill:hover {
  color: var(--lime);
  border-color: rgba(228, 254, 123, 0.4);
  background: var(--lime-dim);
}

/* ── AUTHOR BOX ────────────────────────────────────── */
.author-box {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border-d);
  border-bottom: 1px solid var(--border-d);
  padding: 48px var(--pad-x);
}
.author-box-inner {
  max-width: var(--article-w);
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.author-box-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-d);
}
.author-box-avatar--placeholder {
  background: var(--dark);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}
.author-box-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.author-box-bio {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 230, 0.6);
  margin-bottom: 12px;
}
.author-box-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
  transition: opacity 0.2s;
}
.author-box-link:hover { opacity: 0.75; }

/* ── RELATED POSTS ─────────────────────────────────── */
.related-posts {
  background: var(--cream);
  padding: 88px var(--pad-x);
  border-top: 1px solid var(--border-d);
}
.related-posts-inner { max-width: var(--max-w); margin: 0 auto; }

/* ── SUBSCRIBE CTA ─────────────────────────────────── */
.subscribe-cta {
  background: var(--lime);
  padding: 88px var(--pad-x);
}
.subscribe-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.subscribe-cta .section-tag { color: rgba(27, 28, 28, 0.55); }
.subscribe-cta .section-tag::before { background: rgba(27, 28, 28, 0.55); }
.subscribe-cta-headline {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 16px;
  max-width: 640px;
}
.subscribe-cta-body {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(27, 28, 28, 0.72);
  margin-bottom: 32px;
  max-width: 560px;
}
.subscribe-cta .btn-lime {
  background: var(--dark);
  color: var(--cream);
  box-shadow: none;
}
.subscribe-cta .btn-lime:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3); }

/* =====================================================
   ARCHIVE PAGES (tag / author)
   ===================================================== */
.archive-page { background: var(--black); }

.archive-header {
  background: var(--cream);
  padding: 80px var(--pad-x) 64px;
  border-bottom: 1px solid var(--border-l);
}
.archive-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.archive-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 16px;
}
.archive-description {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(27, 28, 28, 0.65);
  max-width: 600px;
  margin-bottom: 16px;
}
.archive-count {
  font-size: 14px;
  font-weight: 600;
  color: rgba(27, 28, 28, 0.45);
}
.archive-count-num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--dark);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

/* Author archive extras */
.archive-header--author .archive-header-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.author-profile-image-wrap { margin-bottom: 24px; }
.author-profile-image {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-l);
}
.author-profile-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.author-location,
.author-website,
.author-social {
  font-size: 13px;
  font-weight: 500;
  color: rgba(27, 28, 28, 0.5);
  transition: color 0.2s;
}
.author-website:hover,
.author-social:hover { color: var(--dark); }

.posts-section--archive {
  background: var(--cream);
  padding: 64px var(--pad-x);
}

/* =====================================================
   STATIC PAGE
   ===================================================== */
.page-page { background: var(--black); }

/* =====================================================
   ERROR PAGE
   ===================================================== */
.error-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--pad-x);
}
.error-page-inner { text-align: center; max-width: 480px; }
.error-num {
  font-size: 120px;
  font-weight: 700;
  letter-spacing: -8px;
  color: rgba(228, 254, 123, 0.15);
  line-height: 1;
  margin-bottom: 24px;
}
.error-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--cream);
  margin-bottom: 16px;
}
.error-message {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 230, 0.55);
  margin-bottom: 40px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border-d);
  padding: 64px var(--pad-x) 48px;
}
.site-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand { margin-bottom: 40px; }
.footer-logo { display: inline-block; margin-bottom: 16px; }
.logo-img--light { filter: brightness(0) invert(1); }
.footer-tagline {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 230, 0.45);
  max-width: 400px;
}

.footer-nav { margin-bottom: 48px; }
.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.footer-nav-list a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 230, 0.5);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.footer-nav-list a:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-d);
}
.footer-copy {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 230, 0.35);
  flex: 1;
}
.footer-social {
  color: rgba(255, 255, 230, 0.35);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-social:hover { color: var(--lime); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  :root { --pad-x: 56px; }
  .home-hero-headline { font-size: 46px; letter-spacing: -2.5px; }
  .post-feed.Grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .featured-post { grid-template-columns: 1fr; gap: 36px; }
  .article-title { font-size: 36px; letter-spacing: -1.5px; }
}

@media (max-width: 768px) {
  :root { --pad-x: 28px; }

  /* Nav */
  .site-nav,
  .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.open {
    display: block;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-d);
    padding: 16px 28px;
    z-index: 199;
  }
  .site-nav.open .nav-list { flex-direction: column; gap: 4px; }
  .site-nav.open .nav-list a { padding: 12px 16px; font-size: 15px; }

  .mobile-nav-ctas {
    display: flex;
    gap: 12px;
    padding: 16px 0 4px;
    border-top: 1px solid var(--border-d);
    margin-top: 12px;
  }
  .mobile-nav-ctas .btn-subscribe,
  .mobile-nav-ctas .btn-contact {
    flex: 1;
    justify-content: center;
    font-size: 15px;
    padding: 12px 24px;
  }

  /* Home */
  .home-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .home-hero-headline { font-size: 36px; letter-spacing: -1.5px; }
  .home-hero-cover { display: none; }

  /* Feeds */
  .post-feed.Grid,
  .post-feed.Magazine { grid-template-columns: 1fr; }
  .post-feed.List .post-card { flex-direction: column; }
  .post-feed.List .post-card-image-link { width: 100%; aspect-ratio: 16/9; }

  /* Article */
  .article-header { padding: 56px var(--pad-x) 48px; }
  .article-title { font-size: 30px; letter-spacing: -1px; }
  .article-excerpt { font-size: 16px; }
  .article-body { font-size: 16px; }
  .article-body-wrap { padding: 48px var(--pad-x); }

  .author-box-inner { flex-direction: column; }

  /* Subscribe */
  .subscribe-cta-headline { font-size: 30px; letter-spacing: -1px; }

  /* Archive */
  .archive-title { font-size: 36px; letter-spacing: -1.5px; }

  /* Footer */
  .site-footer { padding: 48px var(--pad-x) 36px; }

  #glow { display: none; }
}

@media (max-width: 480px) {
  :root { --pad-x: 20px; }

  .home-hero { padding: 56px var(--pad-x) 48px; }
  .home-hero-headline { font-size: 28px; letter-spacing: -0.8px; }

  .featured-section,
  .posts-section,
  .related-posts,
  .subscribe-cta,
  .author-box,
  .archive-header,
  .posts-section--archive { padding-top: 56px; padding-bottom: 56px; }

  .article-title { font-size: 26px; }
  .subscribe-cta-headline { font-size: 26px; }
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #glow { display: none; }
  #progress-bar { transition: none; }
  .post-card-image,
  .featured-post-image { transition: none; }
}

/* =====================================================
   MEMBERS / ACCESS
   ===================================================== */
.members-cta {
  background: rgba(228, 254, 123, 0.06);
  border: 1px solid rgba(228, 254, 123, 0.2);
  border-radius: var(--radius);
  padding: 48px;
  margin: 0 auto;
  max-width: var(--article-w);
  text-align: center;
}
.members-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.members-cta-headline {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--cream);
}
.members-cta-body {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 230, 0.6);
  max-width: 440px;
}
.members-cta-signin {
  font-size: 14px;
  color: rgba(255, 255, 230, 0.4);
  margin-top: 4px;
}
.members-cta-signin a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =====================================================
   PAGINATION PARTIAL
   ===================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.pagination-prev,
.pagination-next {
  font-size: 14px;
  font-weight: 600;
  color: rgba(27, 28, 28, 0.6);
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-l);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pagination-prev:hover,
.pagination-next:hover {
  color: var(--dark);
  border-color: rgba(27, 28, 28, 0.35);
  background: rgba(27, 28, 28, 0.04);
}
.pagination-info {
  font-size: 13px;
  font-weight: 600;
  color: rgba(27, 28, 28, 0.4);
  letter-spacing: 0.05em;
}

/* =====================================================
   ACCENT COLOR SUPPORT
   Ghost injects @site.accent_color as a CSS variable
   via {{ghost_head}} when set in Admin > Branding
   ===================================================== */
:root {
  /* Fallback to lime if no accent color is set */
  --accent: var(--ghost-accent-color, var(--lime));
}

/* =====================================================
   SEARCH BUTTON
   ===================================================== */
.header-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 230, 0.55);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.header-search-btn:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.07);
}

/* =====================================================
   NAV ACTIVE LINK
   ===================================================== */
.nav-link--active {
  color: var(--cream) !important;
  background: rgba(255, 255, 255, 0.07);
}

/* =====================================================
   VISIBILITY BADGES ON POST CARDS
   ===================================================== */
.post-card-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
}
.post-card-badge--paid {
  background: var(--lime);
  color: var(--dark);
}
.post-card-badge--members {
  background: rgba(255, 255, 230, 0.1);
  color: rgba(255, 255, 230, 0.6);
  border: 1px solid var(--border-d);
}

/* =====================================================
   SHARE LINK
   ===================================================== */
.article-share-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(27, 28, 28, 0.5);
  margin-left: auto;
  transition: color 0.2s;
}
.article-share-link:hover { color: var(--dark); }

/* =====================================================
   SUBSCRIBE FORM (inline on post page)
   ===================================================== */
.subscribe-form { width: 100%; max-width: 520px; }
.subscribe-form-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.subscribe-form-email {
  flex: 1;
  min-width: 200px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(27, 28, 28, 0.25);
  background: rgba(27, 28, 28, 0.06);
  color: var(--dark);
  transition: border-color 0.2s;
  outline: none;
}
.subscribe-cta .subscribe-form-email {
  color: var(--dark);
}
.subscribe-form-email:focus { border-color: var(--dark); }
.subscribe-form-email::placeholder { color: rgba(27, 28, 28, 0.4); }
.subscribe-form-error {
  font-size: 13px;
  color: #e25050;
  margin-top: 8px;
}
.subscribe-form[data-members-form].success .subscribe-form-default,
.subscribe-form[data-members-form].loading .subscribe-form-default { display: none; }
.subscribe-form[data-members-form].loading .subscribe-form-loading { display: inline !important; }
.subscribe-form[data-members-form].success .subscribe-form-success { display: inline !important; }
.subscribe-form[data-members-form].error .subscribe-form-error { display: block !important; }
.subscribe-cta-signin {
  font-size: 13px;
  color: rgba(27, 28, 28, 0.5);
  margin-top: 12px;
}
.subscribe-cta-signin a {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =====================================================
   COMMENTS
   ===================================================== */
.article-comments {
  border-top: 1px solid var(--border-d);
  padding: 64px var(--pad-x);
}
.article-comments-inner {
  max-width: var(--article-w);
  margin: 0 auto;
}

/* =====================================================
   CONTENT CTA (paywall partial)
   ===================================================== */
.content-cta {
  background: rgba(228, 254, 123, 0.06);
  border: 1px solid rgba(228, 254, 123, 0.2);
  border-radius: var(--radius);
  padding: 56px 48px;
  margin: 0 auto;
  max-width: var(--article-w);
  text-align: center;
}
.content-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.content-cta .section-tag { color: var(--lime); }
.content-cta .section-tag::before { background: var(--lime); }
.content-cta-headline {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--cream);
  max-width: 440px;
}
.content-cta-body {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 230, 0.6);
  max-width: 440px;
}
.content-cta-actions { margin-top: 8px; }
.content-cta-signin {
  font-size: 13px;
  color: rgba(255, 255, 230, 0.4);
  margin-top: 4px;
}
.content-cta-signin a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =====================================================
   GHOST CARD STYLES (kg-card)
   GScan validates: gallery, image, embed, bookmark, etc.
   ===================================================== */

/* Base */
.gh-content .kg-card { margin: 2.5em 0; }
.gh-content .kg-card + .kg-card { margin-top: 0; }

/* ── Image card ─────────────────────────────────────── */
.gh-content .kg-image-card img {
  border-radius: var(--radius);
  max-width: 100%;
  height: auto;
}
.gh-content .kg-image-card figcaption {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 230, 0.4);
  margin-top: 10px;
  font-style: italic;
}

/* ── Gallery card ───────────────────────────────────── */
.gh-content .kg-gallery-card { width: 100%; }
.gh-content .kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gh-content .kg-gallery-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: center;
}
.gh-content .kg-gallery-image {
  flex: 1;
  min-width: 0;
}
.gh-content .kg-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 3px;
}

/* ── Embed card ─────────────────────────────────────── */
.gh-content .kg-embed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gh-content .kg-embed-card iframe,
.gh-content .kg-embed-card > * {
  max-width: 100%;
}
.gh-content .kg-embed-card > [style*="padding-bottom"] {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.gh-content .kg-embed-card > [style*="padding-bottom"] iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ── Bookmark card ──────────────────────────────────── */
.gh-content .kg-bookmark-card {
  width: 100%;
}
.gh-content .kg-bookmark-container {
  display: flex;
  text-decoration: none;
  border: 1px solid var(--border-d);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.2s;
}
.gh-content .kg-bookmark-container:hover {
  background: rgba(255, 255, 255, 0.06);
}
.gh-content .kg-bookmark-content {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gh-content .kg-bookmark-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
}
.gh-content .kg-bookmark-description {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 230, 0.55);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gh-content .kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.gh-content .kg-bookmark-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.gh-content .kg-bookmark-author,
.gh-content .kg-bookmark-publisher {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 230, 0.4);
}
.gh-content .kg-bookmark-thumbnail {
  width: 160px;
  flex-shrink: 0;
}
.gh-content .kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Video card ─────────────────────────────────────── */
.gh-content .kg-video-card { position: relative; }
.gh-content .kg-video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.gh-content .kg-video-container video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Audio card ─────────────────────────────────────── */
.gh-content .kg-audio-card {
  border: 1px solid var(--border-d);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
}
.gh-content .kg-audio-card audio {
  width: 100%;
}

/* ── File card ──────────────────────────────────────── */
.gh-content .kg-file-card {
  border: 1px solid var(--border-d);
  border-radius: var(--radius);
  overflow: hidden;
}
.gh-content .kg-file-card-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: background 0.2s;
}
.gh-content .kg-file-card-container:hover { background: rgba(255, 255, 255, 0.06); }
.gh-content .kg-file-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
}
.gh-content .kg-file-card-caption {
  font-size: 13px;
  color: rgba(255, 255, 230, 0.5);
}
.gh-content .kg-file-card-metadata {
  font-size: 12px;
  color: rgba(255, 255, 230, 0.35);
  margin-top: 2px;
}
.gh-content .kg-file-card-icon { flex-shrink: 0; color: var(--lime); }

/* ── Button card ────────────────────────────────────── */
.gh-content .kg-button-card {
  display: flex;
  justify-content: center;
}
.gh-content .kg-button-card a.kg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--dark);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.gh-content .kg-button-card a.kg-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.gh-content .kg-button-card a.kg-btn-accent {
  background: var(--lime);
  color: var(--dark);
}

/* ── Callout card ───────────────────────────────────── */
.gh-content .kg-callout-card {
  display: flex;
  gap: 16px;
  border-radius: var(--radius);
  padding: 24px;
}
.gh-content .kg-callout-card-grey   { background: rgba(255, 255, 255, 0.05); }
.gh-content .kg-callout-card-white  { background: rgba(255, 255, 230, 0.06); border: 1px solid var(--border-d); }
.gh-content .kg-callout-card-blue   { background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.25); }
.gh-content .kg-callout-card-green  { background: rgba(228, 254, 123, 0.08); border: 1px solid rgba(228, 254, 123, 0.2); }
.gh-content .kg-callout-card-yellow { background: rgba(234, 179, 8, 0.12); border: 1px solid rgba(234, 179, 8, 0.25); }
.gh-content .kg-callout-card-red    { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.25); }
.gh-content .kg-callout-card-pink   { background: rgba(236, 72, 153, 0.12); border: 1px solid rgba(236, 72, 153, 0.25); }
.gh-content .kg-callout-card-purple { background: rgba(168, 85, 247, 0.12); border: 1px solid rgba(168, 85, 247, 0.25); }
.gh-content .kg-callout-emoji { font-size: 22px; flex-shrink: 0; line-height: 1.5; }
.gh-content .kg-callout-text { font-size: 16px; font-weight: 500; line-height: 1.7; color: var(--cream); }

/* ── Toggle card ────────────────────────────────────── */
.gh-content .kg-toggle-card {
  border: 1px solid var(--border-d);
  border-radius: var(--radius);
  overflow: hidden;
}
.gh-content .kg-toggle-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  user-select: none;
}
.gh-content .kg-toggle-heading-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--cream);
}
.gh-content .kg-toggle-card-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  color: rgba(255, 255, 230, 0.5);
  transition: transform 0.25s;
}
.gh-content .kg-toggle-card[data-kg-toggle-state="open"] .kg-toggle-card-icon {
  transform: rotate(180deg);
}
.gh-content .kg-toggle-content {
  display: none;
  padding: 16px 20px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 230, 0.75);
}
.gh-content .kg-toggle-card[data-kg-toggle-state="open"] .kg-toggle-content {
  display: block;
}

/* ── Header card ────────────────────────────────────── */
.gh-content .kg-header-card {
  position: relative;
  padding: 64px 48px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.gh-content .kg-header-card.kg-style-dark  { background: var(--dark); color: var(--cream); }
.gh-content .kg-header-card.kg-style-light { background: var(--cream); color: var(--dark); }
.gh-content .kg-header-card.kg-style-accent { background: var(--lime); color: var(--dark); }
.gh-content .kg-header-card.kg-style-image { color: var(--cream); }
.gh-content .kg-header-card-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.gh-content .kg-header-card-heading {
  position: relative; z-index: 1;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.gh-content .kg-header-card.kg-size-small .kg-header-card-heading { font-size: 26px; }
.gh-content .kg-header-card.kg-size-medium .kg-header-card-heading { font-size: 36px; }
.gh-content .kg-header-card.kg-size-large .kg-header-card-heading { font-size: 48px; }
.gh-content .kg-header-card-subheading {
  position: relative; z-index: 1;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  opacity: 0.78;
}
.gh-content .kg-header-card-button {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--dark);
  text-decoration: none;
  margin-top: 8px;
  transition: opacity 0.2s;
}
.gh-content .kg-header-card-button:hover { opacity: 0.85; }

/* ── Product card ───────────────────────────────────── */
.gh-content .kg-product-card {
  border: 1px solid var(--border-d);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
}
.gh-content .kg-product-card-image {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.gh-content .kg-product-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}
.gh-content .kg-product-card-rating {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
}
.gh-content .kg-product-card-rating-active { color: var(--lime); }
.gh-content .kg-product-card-rating-inactive { color: var(--border-d); }
.gh-content .kg-product-card-description {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 230, 0.65);
  line-height: 1.65;
  margin-bottom: 16px;
}
.gh-content .kg-product-card-button {
  display: inline-flex;
  padding: 10px 20px;
  background: var(--lime);
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}

/* ── Signup card ────────────────────────────────────── */
.gh-content .kg-signup-card {
  border-radius: var(--radius);
  overflow: hidden;
  padding: 48px;
  background: rgba(228, 254, 123, 0.06);
  border: 1px solid rgba(228, 254, 123, 0.2);
  text-align: center;
}
.gh-content .kg-signup-card-heading {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--cream);
  margin-bottom: 12px;
}
.gh-content .kg-signup-card-subheading {
  font-size: 16px;
  color: rgba(255, 255, 230, 0.6);
  margin-bottom: 24px;
  line-height: 1.65;
}
.gh-content .kg-signup-card-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--lime);
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.gh-content .kg-signup-card-button:hover { opacity: 0.85; }

/* ── Blockquote alt card ────────────────────────────── */
.gh-content .kg-blockquote-alt {
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  color: rgba(255, 255, 230, 0.75);
  border-left: 3px solid var(--lime);
  padding: 4px 0 4px 28px;
  margin: 2em 0;
}

/* ── NFT card ───────────────────────────────────────── */
.gh-content .kg-nft-card a {
  display: block;
  border: 1px solid var(--border-d);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.2s;
}
.gh-content .kg-nft-card a:hover { background: rgba(255, 255, 255, 0.06); }
.gh-content .kg-nft-image { width: 100%; height: auto; }
.gh-content .kg-nft-metadata { padding: 16px 20px; }
.gh-content .kg-nft-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}
.gh-content .kg-nft-collection-name {
  font-size: 13px;
  color: rgba(255, 255, 230, 0.45);
}

/* ── Width modifiers (override per-card if needed) ─── */
.gh-content .kg-width-wide {
  margin-left: calc(50% - 45vw);
  margin-right: calc(50% - 45vw);
  max-width: 90vw;
}
.gh-content .kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}
.gh-content .kg-width-full figcaption { padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* =====================================================
   TOPIC FILTER BAR
   ===================================================== */
.topic-filter {
  position: sticky;
  top: 64px;
  z-index: 190;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-d);
}
.topic-filter-inner {
  max-width: calc(var(--max-w) + var(--pad-x) * 2);
  margin: 0 auto;
  padding: 12px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.topic-filter-inner::-webkit-scrollbar { display: none; }
.topic-pill {
  flex-shrink: 0;
  display: inline-block;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--cream);
  background: transparent;
  border: 1.5px solid var(--border-d);
  border-radius: 20px;
  padding: 6px 16px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.topic-pill:hover,
.topic-pill.active {
  background: var(--lime);
  color: var(--dark);
  border-color: var(--lime);
}
