/* ==========================================================================
   iammatthew.ca — Dark, Techy, Creative Portfolio Theme
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a26;
    --bg-card: #14141e;
    --bg-card-hover: #1c1c2a;

    --text-primary: #e4e4ed;
    --text-secondary: #9494a8;
    --text-muted: #5e5e72;

    --accent: #00e88f;
    --accent-dim: rgba(0, 232, 143, 0.15);
    --accent-secondary: #a855f7;
    --accent-secondary-dim: rgba(168, 85, 247, 0.15);

    --border: #2a2a3a;
    --border-light: #1e1e2e;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --content-width: 720px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--text-primary);
}

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

ul, ol {
    list-style: none;
}

/* ---------- Utilities ---------- */
.accent {
    color: var(--accent);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.blink {
    animation: blink 1s infinite;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 232, 143, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    gap: 2px;
}

.site-logo:hover {
    color: var(--text-primary);
}

.logo-bracket {
    color: var(--accent);
}

.logo-text {
    color: var(--text-primary);
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-item a {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-item a:hover {
    color: var(--text-primary);
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 1px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 64px;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-greeting {
    margin-bottom: 16px;
}

.code-comment {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

/* Terminal Window */
.terminal-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-family: var(--font-mono);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.terminal-body {
    padding: 20px;
    font-size: 0.875rem;
    line-height: 1.8;
}

.terminal-body p {
    margin-bottom: 4px;
}

.prompt {
    color: var(--accent);
    margin-right: 8px;
}

.terminal-output {
    color: var(--text-secondary);
    padding-left: 20px;
}

.terminal-cursor {
    color: var(--accent);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
    padding: 100px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section-link {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.section-link:hover {
    color: var(--accent);
}

/* ==========================================================================
   Project Cards
   ========================================================================== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.project-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 232, 143, 0.08);
}

.project-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.project-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-light);
}

.project-card-image--empty {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card-icon {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.terminal-line {
    color: var(--accent);
}

.project-card-content {
    padding: 24px;
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.project-card-excerpt {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 4px 10px;
    border-radius: 4px;
}

.project-card-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition);
}

.project-card:hover .project-card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent);
}

/* ==========================================================================
   Post Cards
   ========================================================================== */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.post-card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.post-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.post-card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.post-card-image--empty {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-card-icon {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--text-muted);
}

.post-card-content {
    padding: 20px;
}

.post-card-tag {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: inline-block;
}

.post-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
}

.post-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.post-card-meta {
    display: flex;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   About Teaser
   ========================================================================== */
.section-about-teaser {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.about-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-teaser-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 16px 0 28px;
    line-height: 1.7;
}

.code-block {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    line-height: 2;
    background: var(--bg-primary);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.code-keyword { color: var(--accent-secondary); }
.code-var { color: var(--text-primary); }
.code-key { color: var(--accent); }
.code-string { color: #f9a825; }

/* ==========================================================================
   Single Post / Page
   ========================================================================== */
.post-header,
.page-header {
    padding: 140px 0 60px;
    text-align: center;
}

.post-header-inner,
.page-header-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px;
}

.post-header-tag {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: inline-block;
}

.post-title,
.page-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-meta {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
    justify-content: center;
}

.post-feature-image {
    max-width: 960px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.post-feature-image img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.post-feature-image figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Post Body Content */
.post-body {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px 80px;
}

.post-content h2 {
    font-size: 1.75rem;
    margin: 48px 0 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.post-content h3 {
    font-size: 1.375rem;
    margin: 36px 0 12px;
    font-weight: 600;
}

.post-content p {
    margin-bottom: 24px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.post-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 4px 0 4px 24px;
    margin: 32px 0;
}

.post-content blockquote p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-primary);
}

.post-content code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.post-content pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 32px 0;
    overflow-x: auto;
}

.post-content pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.7;
}

.post-content img {
    border-radius: var(--radius);
    margin: 32px 0;
}

.post-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 48px 0;
}

/* Post Footer */
.post-footer {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px 60px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tag {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.post-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Related Posts */
.section-related {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Tag Archive
   ========================================================================== */
.tag-header {
    padding: 140px 0 60px;
    text-align: center;
}

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

.tag-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tag-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.tag-count {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.tag-archive .section-inner {
    padding-bottom: 80px;
}

/* ==========================================================================
   Author Archive
   ========================================================================== */
.author-header {
    padding: 140px 0 60px;
    text-align: center;
}

.author-header-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 2px solid var(--accent);
}

.author-name {
    font-size: 2rem;
    margin-bottom: 12px;
}

.author-bio {
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

.author-archive .section-inner {
    padding-bottom: 80px;
}

/* ==========================================================================
   Error Page
   ========================================================================== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.error-inner {
    max-width: 500px;
}

.error-code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.error-title {
    font-size: 6rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 16px;
}

.error-message {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.error-terminal {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: left;
    margin-bottom: 32px;
    line-height: 1.8;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    padding: 40px 0 80px;
}

.pagination-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.pagination-prev,
.pagination-next {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.pagination-prev:hover,
.pagination-next:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination-info {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-top: 8px;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-heading {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-secondary);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 24px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        order: -1;
    }

    .about-teaser {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .site-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(12px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .site-nav.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .nav-item a {
        font-size: 1.25rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .nav-toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .nav-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .nav-toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

    .post-title,
    .page-title {
        font-size: 2rem;
    }

    .tag-title {
        font-size: 1.75rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

    .error-title {
        font-size: 4rem;
    }
}

/* ==========================================================================
   Ghost-specific overrides
   ========================================================================== */
.kg-card {
    margin: 32px 0;
}

.kg-width-wide {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.kg-width-full {
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.kg-width-full img {
    width: 100%;
}

.kg-image-card img {
    border-radius: var(--radius);
}

.kg-bookmark-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}

.kg-bookmark-card:hover {
    border-color: var(--accent);
}

.kg-bookmark-container {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.kg-bookmark-content {
    padding: 20px;
    flex: 1;
}

.kg-bookmark-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.kg-bookmark-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.kg-bookmark-thumbnail {
    width: 200px;
    min-height: 160px;
}

.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kg-gallery-card {
    display: grid;
    gap: 8px;
}

.kg-gallery-row {
    display: flex;
    gap: 8px;
}

.kg-gallery-image img {
    border-radius: var(--radius);
}
