/* ============================================================
   jeremytalksdata Ghost Theme — screen.css
   Brand palette matched to jeremytalksdata.ca
   ============================================================ */

/* ── Design Tokens ────────────────────────────────────────── */
:root {
    --forest-dark:   #1a2e23;
    --forest-mid:    #2e4a38;
    --forest-light:  #3d6149;
    --gold:          #c9913a;
    --gold-light:    #dfb06a;
    --gold-pale:     rgba(201, 145, 58, 0.12);
    --ink:           #0f1412;
    --ink-soft:      #3a3d39;
    --slate-light:   #f8fafc;
    --white:         #ffffff;
    --border:        rgba(0, 0, 0, 0.07);
    --border-dark:   rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --max-width:    1100px;
    --post-width:   720px;
    --gap:          clamp(1.5rem, 4vw, 2.5rem);
    --section-gap:  clamp(3rem, 8vw, 6rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.1vw, 1.0625rem);
    line-height: 1.7;
    color: var(--ink);
    background: var(--slate-light);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--forest-dark);
    border-bottom: 1px solid rgba(201, 145, 58, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gap);
    height: 64px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Logo */
.site-logo img {
    height: 36px;
    width: auto;
}

.logo-wordmark {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-jeremy { color: var(--white); }
.logo-talks  { color: var(--gold); }
.logo-data   { color: var(--white); opacity: 0.7; }

/* Nav */
.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.site-nav .nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.site-nav .nav li a,
.site-nav .nav a {
    display: block;
    padding: 0.4rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.site-nav .nav li a:hover,
.site-nav .nav a:hover {
    color: var(--gold);
    background: rgba(201, 145, 58, 0.08);
}

.site-nav .nav li.nav-current a {
    color: var(--gold);
}

.nav-cta {
    margin-left: 0.75rem;
    padding: 0.45rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink) !important;
    background: var(--gold);
    border-radius: 4px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(201, 145, 58, 0.35);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Section Label (mono uppercase gold tag) ──────────────── */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.75rem;
}

/* ── Index Hero ───────────────────────────────────────────── */
.index-hero {
    position: relative;
    background-color: var(--forest-dark);
    background-image:
        radial-gradient(at 0% 0%, rgba(201, 145, 58, 0.15) 0, transparent 50%),
        linear-gradient(to bottom, var(--forest-dark), #0a110d);
    padding: clamp(3rem, 8vw, 5.5rem) var(--gap);
    overflow: hidden;
}

.index-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.index-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    max-width: 640px;
    margin-bottom: 1rem;
}

.index-hero-sub {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
}

/* Animated data bars — decorative */
.hero-data-bars {
    position: absolute;
    right: var(--gap);
    bottom: 0;
    top: 0;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding-bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.25;
}

.hero-data-bars span {
    display: block;
    width: 8px;
    background: var(--gold);
    border-radius: 2px 2px 0 0;
    animation: data-pulse 2s ease-in-out infinite;
}

.hero-data-bars span:nth-child(1)  { height: 40%; animation-delay: 0.0s; }
.hero-data-bars span:nth-child(2)  { height: 65%; animation-delay: 0.2s; }
.hero-data-bars span:nth-child(3)  { height: 30%; animation-delay: 0.4s; }
.hero-data-bars span:nth-child(4)  { height: 80%; animation-delay: 0.6s; }
.hero-data-bars span:nth-child(5)  { height: 55%; animation-delay: 0.8s; }
.hero-data-bars span:nth-child(6)  { height: 70%; animation-delay: 1.0s; }
.hero-data-bars span:nth-child(7)  { height: 45%; animation-delay: 1.2s; }
.hero-data-bars span:nth-child(8)  { height: 90%; animation-delay: 1.4s; }
.hero-data-bars span:nth-child(9)  { height: 35%; animation-delay: 1.6s; }
.hero-data-bars span:nth-child(10) { height: 60%; animation-delay: 1.8s; }

@keyframes data-pulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 0.9; transform: scaleY(1.12); }
}

/* ── Post Feed ────────────────────────────────────────────── */
.post-feed-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-gap) var(--gap);
}

.post-feed-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 1.75rem;
}

/* ── Post Card ────────────────────────────────────────────── */
.post-card {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s ease,
                box-shadow 0.35s ease;
}

.post-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.12);
}

.post-card-image-link { display: block; overflow: hidden; }

.post-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image {
    transform: scale(1.04);
}

.post-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.6rem;
}

.post-card-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.post-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-pale);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

.post-tag:hover {
    background: var(--gold);
    color: var(--ink);
}

.post-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
}

.post-card-title a {
    transition: color 0.2s;
}

.post-card-title a:hover { color: var(--forest-mid); }

.post-card-excerpt {
    font-size: 0.9375rem;
    color: var(--ink-soft);
    line-height: 1.6;
    flex: 1;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(15, 20, 18, 0.45);
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.post-card-sep { opacity: 0.5; }

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: var(--section-gap);
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.pagination-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--forest-mid);
    padding: 0.5rem 1.25rem;
    border: 1.5px solid var(--forest-mid);
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.pagination-btn:hover {
    background: var(--forest-mid);
    color: var(--white);
}

.pagination-info {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--ink-soft);
    opacity: 0.6;
}

/* ── Tag / Archive Header ─────────────────────────────────── */
.tag-header {
    background-color: var(--forest-dark);
    background-image: linear-gradient(to bottom, var(--forest-dark), #0a110d);
    padding: clamp(2.5rem, 6vw, 4rem) var(--gap);
}

.tag-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.tag-header-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.tag-header-desc {
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin-bottom: 0.5rem;
}

.tag-post-count {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Single Post ──────────────────────────────────────────── */
.post-full-header {
    background-color: var(--forest-dark);
    background-image:
        radial-gradient(at 100% 0%, rgba(201, 145, 58, 0.1) 0, transparent 50%),
        linear-gradient(to bottom, var(--forest-dark), #0d1e14);
    padding: clamp(3rem, 8vw, 5rem) var(--gap);
}

.post-full-header-inner {
    max-width: var(--post-width);
    margin: 0 auto;
}

.post-full-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.post-full-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-full-custom-excerpt {
    font-size: clamp(1rem, 1.3vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.post-full-byline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-full-byline-meta {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.byline-sep { opacity: 0.4; }

/* Feature image */
.post-full-image {
    max-width: var(--post-width);
    margin: 2.5rem auto 0;
    padding: 0 var(--gap);
}

.post-full-image img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.post-full-image figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--ink-soft);
    opacity: 0.6;
    margin-top: 0.6rem;
    font-style: italic;
}

/* Post content */
.post-full-content {
    max-width: var(--post-width);
    margin: 3rem auto 0;
    padding: 0 var(--gap);
}

/* ── Ghost Content Styles ─────────────────────────────────── */
.gh-content {
    font-size: clamp(1rem, 1.15vw, 1.0625rem);
    line-height: 1.8;
    color: var(--ink);
}

.gh-content > * + * { margin-top: 1.5em; }

.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4 {
    font-family: var(--font-display);
    line-height: 1.25;
    color: var(--ink);
    margin-top: 2.5em;
    margin-bottom: 0.5em;
}

.gh-content h2 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); }
.gh-content h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

.gh-content a {
    color: var(--forest-mid);
    text-decoration: underline;
    text-decoration-color: rgba(46, 74, 56, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.gh-content a:hover {
    color: var(--gold);
    text-decoration-color: var(--gold);
}

.gh-content strong { font-weight: 700; }
.gh-content em     { font-style: italic; }

.gh-content blockquote {
    border-left: 3px solid var(--gold);
    padding: 0.75em 1.5em;
    background: rgba(201, 145, 58, 0.05);
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: var(--ink-soft);
}

.gh-content pre,
.gh-content code {
    font-family: var(--font-mono);
}

.gh-content code {
    background: rgba(26, 46, 35, 0.07);
    padding: 0.15em 0.45em;
    border-radius: 3px;
    font-size: 0.875em;
    color: var(--forest-mid);
}

.gh-content pre {
    background: var(--forest-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 1.5rem;
    border-radius: 6px;
    overflow-x: auto;
    border: 1px solid rgba(201, 145, 58, 0.15);
}

.gh-content pre code {
    background: none;
    padding: 0;
    font-size: 0.875em;
    color: inherit;
}

.gh-content ul, .gh-content ol {
    padding-left: 1.75em;
}

.gh-content li + li { margin-top: 0.4em; }

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

.gh-content figure { margin: 2em 0; }

.gh-content figure figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--ink-soft);
    opacity: 0.6;
    margin-top: 0.6rem;
    font-style: italic;
}

.gh-content img {
    border-radius: 6px;
    margin: 0 auto;
}

/* Data/table styling */
.gh-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    overflow-x: auto;
    display: block;
}

.gh-content th {
    background: var(--forest-dark);
    color: var(--white);
    text-align: left;
    padding: 0.65rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gh-content td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--ink-soft);
}

.gh-content tr:hover td {
    background: rgba(201, 145, 58, 0.04);
}

/* Post footer tags */
.post-full-footer {
    max-width: var(--post-width);
    margin: 3rem auto 0;
    padding: 1.5rem var(--gap) 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tags-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    opacity: 0.5;
}

/* ── Subscribe CTA ────────────────────────────────────────── */
.subscribe-cta {
    background: var(--forest-dark);
    background-image: linear-gradient(135deg, var(--forest-dark), var(--forest-mid));
    margin-top: var(--section-gap);
    padding: clamp(3rem, 7vw, 4.5rem) var(--gap);
    text-align: center;
}

.subscribe-cta-inner {
    max-width: 520px;
    margin: 0 auto;
}

.subscribe-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.subscribe-cta-text {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.75rem;
    font-size: 1rem;
}

.btn-gold {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    background: var(--gold);
    border-radius: 4px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 145, 58, 0.4);
}

/* ── Post Navigation ──────────────────────────────────────── */
.post-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem var(--gap);
}

.post-nav-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.post-nav-item:hover {
    border-color: var(--gold);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.post-nav-next { text-align: right; }

.post-nav-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

.post-nav-title {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--ink);
    line-height: 1.3;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
    background: var(--ink);
    padding: clamp(2.5rem, 6vw, 3.5rem) var(--gap);
    border-top: 1px solid rgba(201, 145, 58, 0.2);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
}

.footer-brand {
    flex: 1;
    min-width: 180px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin-left: auto;
}

.footer-nav .nav,
.footer-nav a {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.footer-nav .nav li a,
.footer-nav a {
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-nav .nav li a:hover,
.footer-nav a:hover {
    color: var(--gold);
}

.footer-copy {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy a {
    color: rgba(201, 145, 58, 0.6);
    transition: color 0.2s;
}

.footer-copy a:hover { color: var(--gold); }

/* ── Ghost Portal / Member UI ─────────────────────────────── */
.gh-portal-trigger { display: none !important; } /* hide default bubble */

/* ── Utilities ────────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--forest-dark);
        border-top: 1px solid rgba(201, 145, 58, 0.15);
        padding: 1rem var(--gap);
        gap: 0.25rem;
    }

    .site-nav.is-open { display: flex; }

    .site-nav .nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .site-nav .nav li { width: 100%; }

    .site-nav .nav li a,
    .site-nav .nav a {
        padding: 0.65rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        display: block;
        text-align: center;
        padding: 0.65rem 1rem;
    }

    .hero-data-bars { display: none; }

    .post-feed-inner {
        grid-template-columns: 1fr;
    }

    .post-nav-inner {
        grid-template-columns: 1fr;
    }

    .post-nav-next { text-align: left; }

    .footer-inner { flex-direction: column; }
    .footer-nav { margin-left: 0; }
}

@media (max-width: 480px) {
    .post-full-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
}

/* ── Koenig Editor — Required Classes ────────────────────── */

/* Wide images (~1200px) */
.kg-width-wide {
    position: relative;
    width: 85vw;
    min-width: 100%;
    margin: 2rem calc(50% - 42.5vw);
}

/* Full-bleed images (100vw) */
.kg-width-full {
    position: relative;
    width: 100vw;
    margin: 2rem calc(50% - 50vw);
}

.kg-width-wide img,
.kg-width-full img {
    width: 100%;
    border-radius: 4px;
}

/* Koenig card base */
.kg-card { margin: 2rem 0; }

/* Gallery */
.kg-gallery-container { display: flex; flex-direction: column; gap: 0.5rem; margin: 2rem 0; }
.kg-gallery-row       { display: flex; gap: 0.5rem; }
.kg-gallery-image     { flex: 1; min-width: 0; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }

/* Bookmark card */
.kg-bookmark-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    margin: 2rem 0;
}
.kg-bookmark-container {
    display: flex;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s;
}
.kg-bookmark-card:hover { border-color: var(--gold); }
.kg-bookmark-content { flex: 1; padding: 1.25rem; }
.kg-bookmark-title    { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.35rem; }
.kg-bookmark-description { font-size: 0.875rem; color: var(--ink-soft); opacity: 0.75; margin-bottom: 0.5rem; }
.kg-bookmark-metadata { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.7rem; color: rgba(15,20,18,0.4); }
.kg-bookmark-icon     { width: 14px; height: 14px; }
.kg-bookmark-thumbnail { flex-shrink: 0; width: 160px; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

/* Callout card */
.kg-callout-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    background: rgba(201,145,58,0.07);
    border-left: 3px solid var(--gold);
    margin: 2rem 0;
}
.kg-callout-emoji { font-size: 1.25rem; line-height: 1.6; flex-shrink: 0; }
.kg-callout-text  { font-size: 0.975rem; line-height: 1.7; }

/* Toggle card */
.kg-toggle-card { border: 1px solid var(--border); border-radius: 6px; padding: 1rem 1.25rem; margin: 2rem 0; }
.kg-toggle-heading { font-family: var(--font-display); font-size: 1rem; font-weight: 600; cursor: pointer; }
.kg-toggle-content { margin-top: 0.75rem; font-size: 0.95rem; color: var(--ink-soft); }

/* Button card */
.kg-btn-accent {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: var(--gold);
    color: var(--ink);
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.2s;
}
.kg-btn-accent:hover { background: var(--gold-light); }

/* Video card */
.kg-video-card { margin: 2rem 0; }
.kg-video-card video { width: 100%; border-radius: 6px; }

/* Audio card */
.kg-audio-card { margin: 2rem 0; border: 1px solid var(--border); border-radius: 6px; padding: 1rem; }

/* Product card */
.kg-product-card { border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; margin: 2rem 0; display: flex; gap: 1.5rem; }
.kg-product-card-image { width: 100px; flex-shrink: 0; }
.kg-product-card-image img { width: 100%; border-radius: 4px; }
.kg-product-card-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.kg-product-card-rating { color: var(--gold); margin-bottom: 0.5rem; }
.kg-product-card-description { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.75rem; }

/* Header card (v2) */
.kg-header-card {
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--forest-dark);
    border-radius: 6px;
    margin: 2rem 0;
}
.kg-header-card h2 { font-family: var(--font-display); color: #fff; font-size: 2rem; margin-bottom: 0.75rem; }
.kg-header-card p  { color: rgba(255,255,255,0.65); }

/* ── Print ────────────────────────────────────────────────── */
@media print {
    .site-header, .site-footer, .subscribe-cta, .post-nav { display: none; }
    .post-full-content { max-width: 100%; padding: 0; }
}
