/* =========================================
   BREEZE — Ghost Theme CSS
   Tuuli-inspired clean personal blog theme
   ========================================= */

/* ========== CSS Variables & Theming ========== */
:root,
[data-theme="light"] {
    --bg: #ffffff;
    --bg-alt: #f7f7f7;
    --bg-accent: #eef5f1;
    --text: #1a1a2e;
    --text-2: #4b5563;
    --text-3: #9ca3af;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --primary: #16a34a;
    --primary-rgb: 22,163,74;
    --primary-hover: #15803d;
    --card-bg: #ffffff;
    --card-hover: #f9fafb;
    --hero-bg: #eef5f1;
    --tag-bg: rgba(var(--primary-rgb), 0.08);
    --tag-text: var(--primary);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --max-w: 1200px;
    --max-w-narrow: 720px;
    --header-h: 68px;
    --ease: 0.2s ease;
}

[data-theme="dark"] {
    --bg: #0f172a;
    --bg-alt: #1e293b;
    --bg-accent: #162032;
    --text: #f1f5f9;
    --text-2: #94a3b8;
    --text-3: #64748b;
    --border: #334155;
    --border-light: #1e293b;
    --primary: #22c55e;
    --primary-rgb: 34,197,94;
    --primary-hover: #16a34a;
    --card-bg: #1e293b;
    --card-hover: #263348;
    --hero-bg: #162032;
    --tag-bg: rgba(var(--primary-rgb), 0.15);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text); background: var(--bg); line-height: 1.7; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; transition: color var(--ease); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* ========== Layout ========== */
.br-container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.br-container-narrow { max-width: var(--max-w-narrow); }
.br-main { flex: 1; }

/* ========== Header ========== */
.br-header {
    position: relative;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--ease);
}
.br-header.is-sticky { position: sticky; top: 0; }
.br-header.is-floating {
    position: sticky;
    top: 0;
    background: transparent;
    border-bottom: none;
}
.br-header.is-floating.is-scrolled {
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

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

.br-logo img { max-height: 34px; width: auto; }
.br-logo-text { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }

.br-nav { display: flex; align-items: center; }
.br-nav .nav { list-style: none; display: flex; align-items: center; gap: 2px; }
.br-nav .nav li a {
    display: block; padding: 7px 13px;
    font-size: 0.88rem; font-weight: 500;
    color: var(--text-2); border-radius: var(--radius-sm);
    transition: all var(--ease);
}
.br-nav .nav li a:hover { color: var(--text); background: var(--bg-alt); }

.br-header-actions { display: flex; align-items: center; gap: 10px; }
.br-btn-text {
    font-size: 0.88rem; font-weight: 500;
    color: var(--text-2); padding: 7px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--ease);
}
.br-btn-text:hover { color: var(--text); }
.br-btn-primary,
.br-btn.br-btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.88rem; font-weight: 600;
    color: #fff; background: var(--primary);
    padding: 8px 20px; border: none;
    border-radius: var(--radius);
    cursor: pointer; white-space: nowrap;
    transition: all var(--ease);
}
.br-btn-primary:hover { background: var(--primary-hover); }

.br-member-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* Hamburger */
.br-hamburger {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 36px; height: 36px;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    padding: 6px; border-radius: var(--radius-sm);
}
.br-hamburger:hover { background: var(--bg-alt); }
.br-hamburger span {
    display: block; width: 20px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all var(--ease);
}
.br-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.br-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.br-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.br-mobile-menu {
    display: none; position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--bg); z-index: 99;
    overflow-y: auto; padding: 24px;
}
.br-mobile-menu[aria-hidden="false"] { display: block; }
.br-mobile-menu .nav { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.br-mobile-menu .nav li a {
    display: block; padding: 12px 16px;
    font-size: 1.02rem; font-weight: 500;
    color: var(--text); border-radius: var(--radius-sm);
}
.br-mobile-menu .nav li a:hover { background: var(--bg-alt); }
.br-mobile-menu-actions {
    margin-top: 24px; padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 12px;
}
.br-mobile-menu-actions .br-btn-primary { text-align: center; padding: 12px; }

/* ========== Hero ========== */
.br-hero { background: var(--hero-bg); padding: 56px 0; }
.br-hero-content { max-width: 580px; }
.br-hero-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; }
.br-hero-title {
    font-size: 2.15rem; font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.2;
    margin-bottom: 14px;
}
.br-hero-description { font-size: 1.02rem; color: var(--text-2); line-height: 1.75; margin-bottom: 24px; }
.br-hero-description a { color: var(--primary); font-weight: 600; }

.br-hero-form, .br-newsletter-form {
    display: flex; gap: 8px; max-width: 400px;
}
.br-hero-input, .br-newsletter-input {
    flex: 1; padding: 11px 16px;
    font-size: 0.93rem; font-family: var(--font-sans);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg); color: var(--text);
    outline: none; transition: border-color var(--ease);
}
.br-hero-input:focus, .br-newsletter-input:focus { border-color: var(--primary); }

.br-form-message { font-size: 0.87rem; margin-top: 8px; }
.br-form-success { color: var(--primary); }
.br-form-error { color: #ef4444; }

/* ========== Section Titles ========== */
.br-section-title {
    font-size: 1.1rem; font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 20px; padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

/* ========== Featured Section ========== */
.br-featured-section { padding: 44px 0 0; }
.br-featured-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.br-featured-card {
    display: flex; flex-direction: column; gap: 10px;
    padding: 18px; background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all var(--ease);
}
.br-featured-card:hover { border-color: var(--border); box-shadow: var(--shadow-md); }
.br-featured-card-img img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); }

.br-featured-card-meta-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.br-featured-card-tag {
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--tag-text); background: var(--tag-bg);
    padding: 2px 10px; border-radius: 20px;
}
.br-featured-card-title { font-size: 1rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; }
.br-featured-card-title a:hover { color: var(--primary); }
.br-featured-card-excerpt { font-size: 0.87rem; color: var(--text-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.br-featured-card-meta { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-3); margin-top: auto; }
.br-featured-card-meta a { font-weight: 500; color: var(--text-2); }

/* ========== Post Feed ========== */
.br-posts-section { padding: 44px 0; }

/* List */
.br-post-feed.is-list { display: flex; flex-direction: column; }
.br-post-feed.is-list .br-post-card {
    display: grid; grid-template-columns: auto 1fr;
    gap: 18px; align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-light);
}
.br-post-feed.is-list .br-post-card:first-child { padding-top: 0; }
.br-post-feed.is-list .br-post-card:last-child { border-bottom: none; }
.br-post-feed.is-list .br-post-card-image-link { order: -1; }
.br-post-feed.is-list .br-post-card-image { width: 68px; height: 68px; object-fit: cover; border-radius: var(--radius-sm); }

/* Grid */
.br-post-feed.is-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.br-post-feed.is-grid .br-post-card { display: flex; flex-direction: column; gap: 14px; }
.br-post-feed.is-grid .br-post-card-image { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); }

/* Post Card Shared */
.br-post-card-meta-top { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.br-post-card-tag {
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--tag-text); background: var(--tag-bg);
    padding: 2px 10px; border-radius: 20px;
    transition: all var(--ease);
}
.br-post-card-tag:hover { background: var(--primary); color: #fff; }

.br-post-card-badge {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--text-3);
}
.br-post-card-badge svg { width: 12px; height: 12px; }
.br-badge-paid { color: var(--primary); }
.br-badge-members { color: var(--text-3); }

.br-post-card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; margin-bottom: 3px; }
.br-post-card-title a:hover { color: var(--primary); }
.br-post-card-excerpt {
    font-size: 0.9rem; color: var(--text-2); line-height: 1.6; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.br-post-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--text-3); }
.br-post-card-meta-left { display: flex; align-items: center; gap: 8px; }
.br-post-card-author { font-weight: 500; color: var(--text-2); }
.br-post-card-reading-time { font-size: 0.78rem; }

/* ========== Pagination ========== */
.br-pagination { padding: 0 0 44px; }
.br-pagination .br-container { display: flex; align-items: center; justify-content: center; gap: 20px; }
.br-pagination a {
    font-size: 0.88rem; font-weight: 600; color: var(--primary);
    padding: 7px 16px; border: 1px solid var(--border);
    border-radius: var(--radius); transition: all var(--ease);
}
.br-pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.br-pagination-info { font-size: 0.85rem; color: var(--text-3); }

/* ========== Topics ========== */
.br-topics-section { padding: 0 0 44px; }
.br-topics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.br-topic-card {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px; background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all var(--ease);
}
.br-topic-card:hover { border-color: var(--border); box-shadow: var(--shadow-md); }
.br-topic-icon { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.br-topic-name { font-size: 0.97rem; font-weight: 700; margin-bottom: 3px; }
.br-topic-desc { font-size: 0.83rem; color: var(--text-2); line-height: 1.5; margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.br-topic-count { font-size: 0.78rem; color: var(--text-3); font-weight: 500; }

/* ========== Newsletter CTA ========== */
.br-newsletter {
    padding: 56px 0; background: var(--bg-alt);
    text-align: center;
}
.br-newsletter-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.br-newsletter-desc { color: var(--text-2); margin-bottom: 20px; }
.br-newsletter-form { margin: 0 auto; justify-content: center; }

/* ========== Single Post ========== */
.br-post-header { padding: 44px 0 22px; }
.br-post-tag {
    display: inline-block; font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--tag-text); background: var(--tag-bg);
    padding: 3px 14px; border-radius: 20px; margin-bottom: 14px;
}
.br-post-title {
    font-size: 2.15rem; font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 14px;
}
.br-post-excerpt { font-size: 1.1rem; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; }
.br-post-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.86rem; color: var(--text-3); }
.br-post-meta-authors { display: flex; align-items: center; gap: 8px; }
.br-post-meta-author { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; color: var(--text-2); }
.br-post-meta-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* Feature Image */
.br-post-feature-image { margin-bottom: 36px; }
.br-post-feature-image img { width: 100%; max-height: 540px; object-fit: cover; border-radius: var(--radius-lg); }
.br-post-feature-image figcaption { text-align: center; font-size: 0.83rem; color: var(--text-3); margin-top: 10px; }

/* Post Body with TOC Layout */
.br-post-body-inner { display: flex; gap: 48px; align-items: flex-start; }
.br-post-body-inner.has-toc .br-post-content { flex: 1; min-width: 0; }

/* Table of Contents */
.br-toc {
    width: 220px; flex-shrink: 0;
    position: sticky; top: calc(var(--header-h) + 24px);
    max-height: calc(100vh - var(--header-h) - 48px);
    overflow-y: auto;
}
.br-toc-inner { padding: 16px 0; }
.br-toc-heading {
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--text-3); margin-bottom: 12px;
}
.br-toc-nav a {
    display: block; padding: 5px 0 5px 12px;
    font-size: 0.83rem; color: var(--text-3);
    border-left: 2px solid var(--border-light);
    transition: all var(--ease); line-height: 1.4;
}
.br-toc-nav a:hover,
.br-toc-nav a.is-active {
    color: var(--primary);
    border-left-color: var(--primary);
}
.br-toc-nav a.br-toc-h3 { padding-left: 24px; font-size: 0.8rem; }

/* ========== Ghost Content (gh-content) ========== */
.gh-content { font-size: 1.02rem; line-height: 1.8; padding-bottom: 44px; }
.gh-content > * + * { margin-top: 1.5em; }
.gh-content h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 2.5em; line-height: 1.3; }
.gh-content h3 { font-size: 1.2rem; font-weight: 700; margin-top: 2em; line-height: 1.3; }
.gh-content h4 { font-size: 1.05rem; font-weight: 700; margin-top: 1.5em; }
.gh-content a { color: var(--primary); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.gh-content a:hover { text-decoration-thickness: 2px; }
.gh-content strong { font-weight: 700; }
.gh-content em { font-style: italic; }
.gh-content ul, .gh-content ol { padding-left: 1.5em; }
.gh-content li + li { margin-top: 0.4em; }
.gh-content blockquote {
    border-left: 3px solid var(--primary); padding: 4px 0 4px 20px;
    font-style: italic; color: var(--text-2);
}
.gh-content pre {
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px 20px;
    overflow-x: auto; font-size: 0.88rem; line-height: 1.6;
}
.gh-content code { font-size: 0.9em; background: var(--bg-alt); padding: 2px 6px; border-radius: 4px; }
.gh-content pre code { background: transparent; padding: 0; }
.gh-content hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }
.gh-content img { border-radius: var(--radius); }
.gh-content figure { margin: 2em 0; }
.gh-content figcaption { text-align: center; font-size: 0.83rem; color: var(--text-3); margin-top: 8px; }

/* Ghost Editor Cards — complement card_assets: true */
.gh-content .kg-callout-card { background: var(--bg-accent); border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: flex-start; gap: 10px; }
.gh-content .kg-toggle-card { border: 1px solid var(--border); border-radius: var(--radius); }
.gh-content .kg-gallery-container { display: flex; flex-direction: column; gap: 10px; }
.gh-content .kg-gallery-row { display: flex; gap: 10px; }
.gh-content .kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.gh-content .kg-bookmark-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.gh-content .kg-bookmark-container { display: flex; text-decoration: none; }
.gh-content .kg-bookmark-content { padding: 14px 18px; flex: 1; }
.gh-content .kg-bookmark-title { font-weight: 700; font-size: 0.93rem; }
.gh-content .kg-bookmark-description { font-size: 0.83rem; color: var(--text-2); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gh-content .kg-bookmark-metadata { font-size: 0.78rem; color: var(--text-3); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.gh-content .kg-bookmark-icon { width: 16px; height: 16px; }
.gh-content .kg-bookmark-thumbnail { width: 160px; flex-shrink: 0; }
.gh-content .kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

/* Width classes for images/embeds */
.gh-content .kg-width-wide {
    max-width: min(1040px, calc(100vw - 48px));
    margin-left: calc(50% - min(520px, calc(50vw - 24px)));
}
.gh-content .kg-width-full {
    max-width: 100vw; width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Buttons and product cards */
.gh-content .kg-button-card { text-align: center; }
.gh-content .kg-button-card a {
    display: inline-block; padding: 10px 24px; background: var(--primary);
    color: #fff; font-weight: 600; border-radius: var(--radius);
    text-decoration: none; transition: background var(--ease);
}
.gh-content .kg-button-card a:hover { background: var(--primary-hover); }

/* ========== Post Share ========== */
.br-post-share {
    padding-bottom: 28px; border-bottom: 1px solid var(--border-light);
    margin-bottom: 28px; display: flex; align-items: center; gap: 16px;
}
.br-share-label { font-size: 0.88rem; font-weight: 600; color: var(--text-2); }
.br-share-links { display: flex; gap: 12px; }
.br-share-links a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border-light);
    color: var(--text-3); transition: all var(--ease);
}
.br-share-links a:hover { color: var(--primary); border-color: var(--primary); }

/* ========== Author Card ========== */
.br-author-section { padding-bottom: 44px; }
.br-author-section-heading {
    font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--text-3); margin-bottom: 14px;
}
.br-author-card { display: flex; gap: 14px; align-items: flex-start; }
.br-author-card-image img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.br-author-card-content h4 { font-size: 0.97rem; font-weight: 700; margin-bottom: 3px; }
.br-author-card-content h4 a:hover { color: var(--primary); }
.br-author-card-content p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; margin-bottom: 4px; }
.br-author-card-link { font-size: 0.83rem; font-weight: 600; color: var(--primary); }

/* ========== Comments ========== */
.br-comments { padding-bottom: 44px; }
.br-comments-heading { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }

/* ========== Related Posts ========== */
.br-related-posts { padding: 44px 0; border-top: 1px solid var(--border-light); }

/* ========== Archive Pages (tag, author) ========== */
.br-archive-header { text-align: center; padding: 44px 0 28px; border-bottom: 1px solid var(--border-light); margin-bottom: 28px; }
.br-archive-icon { width: 52px; height: 52px; margin: 0 auto 14px; object-fit: contain; }
.br-archive-title { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.br-archive-description { font-size: 0.97rem; color: var(--text-2); max-width: 480px; margin: 0 auto 6px; }
.br-archive-count { font-size: 0.83rem; color: var(--text-3); font-weight: 500; }
.br-author-avatar-large { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; }
.br-author-location { font-size: 0.86rem; color: var(--text-3); display: block; margin-top: 4px; }

/* ========== Page ========== */
.br-page-header { padding: 44px 0 22px; }
.br-page-title { font-size: 2.15rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 14px; }
.br-page-excerpt { font-size: 1.1rem; color: var(--text-2); }
.br-page-content { padding-bottom: 44px; }
.br-page-content-no-header { padding-top: 0; }
.br-page-content-no-header > .br-container > .kg-width-full:first-child { margin-top: calc(-1 * var(--header-h)); }
.br-page-feature-image { margin-bottom: 36px; }
.br-page-feature-image img { width: 100%; max-height: 540px; object-fit: cover; border-radius: var(--radius-lg); }

/* ========== Error Page ========== */
.br-error-page { text-align: center; padding: 100px 0; }
.br-error-code { font-size: 5rem; font-weight: 800; color: var(--text-3); line-height: 1; margin-bottom: 12px; }
.br-error-message { font-size: 1.2rem; color: var(--text-2); margin-bottom: 6px; }
.br-error-description { color: var(--text-3); margin-bottom: 28px; }

/* ========== Footer ========== */
.br-footer { border-top: 1px solid var(--border-light); padding: 28px 0; }
.br-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.br-footer-brand img { max-height: 26px; }
.br-footer-nav .nav, .br-footer-secondary-nav .nav {
    list-style: none; display: flex; flex-wrap: wrap;
    justify-content: center; gap: 2px;
}
.br-footer-nav .nav li a, .br-footer-secondary-nav .nav li a {
    font-size: 0.85rem; font-weight: 500;
    color: var(--text-2); padding: 3px 10px;
    border-radius: var(--radius-sm); transition: color var(--ease);
}
.br-footer-nav .nav li a:hover, .br-footer-secondary-nav .nav li a:hover { color: var(--text); }
.br-footer-copy { font-size: 0.8rem; color: var(--text-3); }
.br-footer-copy a { color: var(--text-2); }
.br-footer-copy a:hover { color: var(--text); }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .br-featured-feed { grid-template-columns: repeat(2, 1fr); }
    .br-toc { display: none; }
    .br-post-body-inner { gap: 0; }
}
@media (max-width: 768px) {
    .br-nav { display: none; }
    .br-hamburger { display: flex; }
    .br-btn-text:not(.br-mobile-menu-actions .br-btn-text) { display: none; }
    .br-hero { padding: 36px 0; }
    .br-hero-title { font-size: 1.7rem; }
    .br-hero-form, .br-newsletter-form { flex-direction: column; }
    .br-featured-feed { grid-template-columns: 1fr; }
    .br-post-feed.is-grid { grid-template-columns: 1fr; }
    .br-topics-grid { grid-template-columns: 1fr; }
    .br-post-title, .br-page-title { font-size: 1.7rem; }
    .br-post-feature-image img, .br-page-feature-image img { border-radius: var(--radius); }
    .gh-content .kg-width-wide { max-width: 100%; margin-left: 0; }
    .gh-content .kg-bookmark-container { flex-direction: column; }
    .gh-content .kg-bookmark-thumbnail { width: 100%; height: 160px; }
}
@media (max-width: 480px) {
    .br-container { padding: 0 16px; }
    .br-hero-title { font-size: 1.45rem; }
    .br-post-feed.is-list .br-post-card { grid-template-columns: 1fr; }
    .br-post-feed.is-list .br-post-card-image { width: 100%; height: 160px; }
}

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