/* ============================================================
   小蜜蜂技术博客皮肤（bee-blog）· 51bee.com
   品牌色取自 51bee-logo：蜂蜜黄 #FFB800 / 深金 #E89B00 /
   蜂巢深蓝 #24303F / 墨色 #1F2937
   适配：桌面 ≥1280px / 平板 768px / 手机 375px
   ============================================================ */

:root {
    --bee-yellow: #FFB800;
    --bee-gold: #E89B00;
    --bee-honey: #FFD76A;
    --bee-ink: #24303F;
    --bee-ink-soft: #1F2937;
    --bee-gray: #6B7280;
    --bee-gray-light: #9CA3AF;
    --bee-bg: #FDFBF4;
    --bee-card: #FFFFFF;
    --bee-border: #EEE7D6;
    --bee-link: #B47D00;
    --bee-link-hover: #E89B00;
    --bee-radius: 14px;
    --bee-radius-sm: 8px;
    --bee-shadow: 0 2px 12px rgba(36, 48, 63, 0.07);
    --bee-shadow-hover: 0 6px 22px rgba(232, 155, 0, 0.16);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Microsoft YaHei", "Noto Sans SC", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--bee-ink-soft);
    background: var(--bee-bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--bee-link);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--bee-link-hover);
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

/* ── 布局壳 ── */
.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 56px;
}

/* ── 顶部导航 ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 244, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bee-border);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    height: 58px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bee-ink);
    font-weight: 800;
    font-size: 20px;
    white-space: nowrap;
}

.site-logo img {
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(36, 48, 63, 0.18);
}

.site-logo-text {
    letter-spacing: 1px;
}

.site-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--bee-gold);
    background: rgba(255, 184, 0, 0.12);
    border: 1px solid rgba(232, 155, 0, 0.3);
    border-radius: 999px;
    padding: 3px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

.badge-hex {
    font-size: 8px;
    color: var(--bee-yellow);
}

.site-nav {
    margin-left: auto;
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

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

.nav-list a {
    display: block;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--bee-ink);
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--bee-gold);
    background: rgba(255, 184, 0, 0.12);
}

.nav-toggle {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
}

.site-search-form {
    display: flex;
    align-items: center;
    background: var(--bee-card);
    border: 1px solid var(--bee-border);
    border-radius: 999px;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.site-search-form:focus-within {
    border-color: var(--bee-yellow);
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.18);
}

.site-search-form input {
    width: 132px;
    border: none;
    outline: none;
    padding: 7px 4px 7px 14px;
    font-size: 13px;
    background: transparent;
    color: var(--bee-ink-soft);
}

.site-search-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 34px;
    border: none;
    background: var(--bee-yellow);
    color: #fff;
    cursor: pointer;
    margin: 3px;
    border-radius: 999px;
}

.site-search-form button:hover {
    background: var(--bee-gold);
}

/* ── 通用按钮 ── */
.btn {
    display: inline-block;
    padding: 10px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bee-yellow), var(--bee-gold));
    color: #fff;
    box-shadow: 0 4px 14px rgba(232, 155, 0, 0.35);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 155, 0, 0.45);
}

.btn-secondary {
    background: var(--bee-card);
    color: var(--bee-ink);
    border: 1px solid var(--bee-border);
}

.btn-secondary:hover {
    color: var(--bee-gold);
    border-color: rgba(232, 155, 0, 0.5);
}

/* ── Hero 区块 ── */
.block-hero {
    position: relative;
    text-align: center;
    padding: 64px 24px 56px;
    margin-bottom: 40px;
    border-radius: var(--bee-radius);
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 215, 106, 0.35) 0, transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(255, 184, 0, 0.22) 0, transparent 46%),
        linear-gradient(180deg, #FFFFFF 0%, #FFF9E8 100%);
    border: 1px solid var(--bee-border);
    overflow: hidden;
}

.blog-hero .hero-bee {
    display: block;
    margin: 0 auto 18px;
    filter: drop-shadow(0 6px 16px rgba(36, 48, 63, 0.18));
}

.hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bee-gold);
    background: rgba(255, 184, 0, 0.14);
    border: 1px dashed rgba(232, 155, 0, 0.45);
    border-radius: 999px;
}

.block-hero h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--bee-ink);
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.hero-subtitle {
    max-width: 640px;
    margin: 0 auto 26px;
    font-size: 17px;
    color: var(--bee-gray);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── 首页分节 ── */
.home-section {
    margin-bottom: 56px;
}

.home-section--alt {
    background: linear-gradient(180deg, rgba(255, 249, 232, 0.6), rgba(253, 251, 244, 0.2));
    border: 1px solid var(--bee-border);
    border-radius: var(--bee-radius);
    padding: 36px 28px 20px;
}

.section-head {
    margin-bottom: 26px;
}

.section-head h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--bee-ink);
    position: relative;
    padding-left: 16px;
}

.section-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 22px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--bee-yellow), var(--bee-gold));
}

.section-lead {
    margin-top: 8px;
    padding-left: 16px;
    color: var(--bee-gray);
    font-size: 15px;
}

/* ── 分类卡片 ── */
.blog-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.blog-cat-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    background: var(--bee-card);
    border: 1px solid var(--bee-border);
    border-radius: var(--bee-radius);
    padding: 24px 22px;
    box-shadow: var(--bee-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bee-shadow-hover);
    border-color: rgba(232, 155, 0, 0.4);
}

.cat-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 22px;
    background: rgba(255, 184, 0, 0.13);
    border-radius: 12px;
    margin-bottom: 12px;
}

.blog-cat-card h3 {
    font-size: 18px;
    color: var(--bee-ink);
    margin-bottom: 6px;
}

.blog-cat-card p {
    font-size: 13.5px;
    color: var(--bee-gray);
    line-height: 1.6;
}

/* ── 分类最新文章卡片 ── */
.blog-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.blog-latest-card {
    min-width: 0;
    overflow: hidden;
    background: var(--bee-card);
    border: 1px solid var(--bee-border);
    border-radius: var(--bee-radius);
    padding: 20px 22px;
    box-shadow: var(--bee-shadow);
}

.blog-latest-card h3 {
    font-size: 16px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid rgba(255, 184, 0, 0.35);
}

.blog-latest-card h3 a {
    color: var(--bee-ink);
}

.blog-latest-card h3 a:hover {
    color: var(--bee-gold);
}

.blog-latest-card ul {
    list-style: none;
}

.blog-latest-card li {
    padding: 7px 0;
    border-bottom: 1px dashed var(--bee-border);
}

.blog-latest-card li:last-child {
    border-bottom: none;
}

.blog-latest-card li a {
    display: block;
    font-size: 14px;
    line-height: 1.55;
    color: var(--bee-ink-soft);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-latest-card li a:hover {
    color: var(--bee-link-hover);
}

/* ── 首页 CTA ── */
.home-cta {
    margin-bottom: 24px;
}

.cta-band {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px 32px;
    border-radius: var(--bee-radius);
    background: linear-gradient(120deg, var(--bee-ink) 0%, #35455A 60%, #46586F 100%);
    color: #F5F1E6;
    box-shadow: 0 10px 30px rgba(36, 48, 63, 0.28);
}

.cta-bee {
    flex-shrink: 0;
}

.cta-band h2 {
    font-size: 21px;
    margin-bottom: 6px;
    color: #FFFFFF;
}

.cta-band p {
    font-size: 14px;
    opacity: 0.86;
}

.cta-band a {
    color: var(--bee-honey);
}

.cta-band .btn {
    margin-left: auto;
    flex-shrink: 0;
}

/* ── 文章列表页 ── */
.page-header {
    margin-bottom: 28px;
    padding: 30px 26px;
    background: linear-gradient(120deg, var(--bee-ink) 0%, #35455A 100%);
    border-radius: var(--bee-radius);
    color: #FFFFFF;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
}

.page-desc {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 253, 244, 0.75);
}

.search-page-header .site-search-form {
    margin-top: 18px;
    max-width: 420px;
}

.search-page-header .site-search-form input {
    width: 100%;
    flex: 1;
    color: #F5F1E6;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.article-items {
    grid-column: 1 / -1;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.article-item {
    display: flex;
    flex-direction: column;
    background: var(--bee-card);
    border: 1px solid var(--bee-border);
    border-radius: var(--bee-radius);
    padding: 22px 24px;
    box-shadow: var(--bee-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.article-item--cover {
    padding: 0 0 18px;
    overflow: hidden;
}

.article-cover-link {
    display: block;
}

.article-cover {
    display: block;
    width: 100%;
    height: 188px;
    object-fit: cover;
    background: rgba(255, 184, 0, 0.08);
}

.article-item--cover .article-item-body {
    padding: 16px 22px 0;
}

.article-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--bee-shadow-hover);
}

.article-item a h2 {
    font-size: 18px;
    line-height: 1.5;
    color: var(--bee-ink);
    margin-bottom: 10px;
}

.article-item a:hover h2 {
    color: var(--bee-link-hover);
}

.article-summary {
    font-size: 14px;
    color: var(--bee-gray);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.article-item-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--bee-gray-light);
}

.article-time {
    font-size: 13px;
    color: var(--bee-gray-light);
}

.article-pagination {
    grid-column: 1 / -1;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: var(--bee-gray);
}

.empty-hint {
    grid-column: 1 / -1;
    padding: 40px 20px;
    text-align: center;
    color: var(--bee-gray-light);
    background: var(--bee-card);
    border: 1px dashed var(--bee-border);
    border-radius: var(--bee-radius);
}

.search-meta {
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--bee-gray);
}

.search-results .article-items {
    grid-template-columns: 1fr;
}

/* ── 文章详情 ── */
.article-hero {
    margin-bottom: 24px;
}

.article-back-link {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--bee-gray);
}

.article-back-link:hover {
    color: var(--bee-gold);
}

.article-hero h1 {
    font-size: 32px;
    line-height: 1.4;
    font-weight: 800;
    color: var(--bee-ink);
    margin-bottom: 14px;
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 184, 0, 0.35);
}

.article-meta {
    font-size: 13.5px;
    color: var(--bee-gray);
}

.article-panel {
    background: var(--bee-card);
    border: 1px solid var(--bee-border);
    border-radius: var(--bee-radius);
    padding: 34px 38px;
    box-shadow: var(--bee-shadow);
}

.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--bee-ink-soft);
    word-break: break-word;
}

.article-body h2 {
    font-size: 23px;
    color: var(--bee-ink);
    margin: 34px 0 14px;
    padding-left: 12px;
    border-left: 4px solid var(--bee-yellow);
}

.article-body h3 {
    font-size: 19px;
    color: var(--bee-ink);
    margin: 26px 0 10px;
}

.article-body p {
    margin: 0 0 16px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 16px;
    padding-left: 26px;
}

.article-body li {
    margin-bottom: 6px;
}

.article-body blockquote {
    margin: 18px 0;
    padding: 14px 20px;
    background: rgba(255, 184, 0, 0.08);
    border-left: 4px solid var(--bee-yellow);
    border-radius: 0 var(--bee-radius-sm) var(--bee-radius-sm) 0;
    color: var(--bee-ink);
}

.article-body blockquote p {
    margin: 0;
}

.article-body a {
    text-decoration: underline;
    text-decoration-color: rgba(232, 155, 0, 0.45);
    text-underline-offset: 3px;
}

.article-body img {
    border-radius: var(--bee-radius-sm);
    margin: 10px 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14.5px;
}

.article-body th,
.article-body td {
    border: 1px solid var(--bee-border);
    padding: 9px 13px;
    text-align: left;
}

.article-body th {
    background: rgba(255, 184, 0, 0.12);
    color: var(--bee-ink);
}

.article-body code {
    font-family: "JetBrains Mono", "Fira Code", Consolas, "Courier New", monospace;
    font-size: 0.9em;
    background: rgba(255, 184, 0, 0.14);
    color: #9A6A00;
    padding: 2px 7px;
    border-radius: 5px;
}

.article-body pre {
    background: var(--bee-ink);
    color: #E9EDF2;
    border-radius: var(--bee-radius-sm);
    padding: 18px 20px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.7;
    margin: 18px 0;
}

.article-body pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

/* 代码复制按钮（main.js 注入 .code-block 包裹） */
.code-block {
    position: relative;
    margin: 18px 0;
}

.code-block pre {
    margin: 0;
}

.code-copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #E9EDF2;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.code-block:hover .code-copy-btn {
    opacity: 1;
}

.code-copy-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.code-copy-btn.copied {
    background: var(--bee-yellow);
    border-color: var(--bee-yellow);
    color: var(--bee-ink);
}

.article-share {
    margin-top: 26px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(120deg, rgba(255, 184, 0, 0.12), rgba(255, 215, 106, 0.18));
    border: 1px dashed rgba(232, 155, 0, 0.45);
    border-radius: var(--bee-radius);
    font-size: 15px;
    color: var(--bee-ink);
}

.article-share .btn {
    margin-left: auto;
}

/* ── 设计器区块（皮肤设计器 / 示例数据） ── */
.block-rich-text {
    background: var(--bee-card);
    border: 1px solid var(--bee-border);
    border-radius: var(--bee-radius);
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: var(--bee-shadow);
}

.block-rich-text .product-card,
.page-content .product-card {
    margin: 20px 0;
    padding: 18px 20px;
    border: 1px solid var(--bee-border);
    border-radius: var(--bee-radius);
    background: rgba(255, 184, 0, 0.06);
}

.block-rich-text .product-card--featured,
.page-content .product-card--featured {
    border-color: rgba(232, 155, 0, 0.45);
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.14), rgba(255, 253, 244, 0.9));
}

.block-rich-text .product-card h3,
.page-content .product-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.block-rich-text .product-tagline,
.page-content .product-tagline {
    color: var(--bee-gray);
    margin: 0 0 10px;
}

.block-rich-text .product-links,
.page-content .product-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 8px;
}

.article-body .product-hero {
    margin: 0 0 24px;
    border-radius: var(--bee-radius);
    overflow: hidden;
    background: rgba(255, 184, 0, 0.08);
}

.article-body .product-hero img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    background: linear-gradient(180deg, #fff7e0, #fff);
}

.article-body .product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 22px 0;
}

.article-body .product-shot {
    margin: 0;
    background: #111827;
    border-radius: 12px;
    overflow: hidden;
}

.article-body .product-shot img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
}

.article-body .product-shot figcaption {
    padding: 8px 10px 10px;
    font-size: 12px;
    color: #e5e7eb;
    text-align: center;
}

.article-body .product-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 8px;
}

.block-feature-grid {
    margin-bottom: 32px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 14px;
}

.feature-card {
    background: var(--bee-card);
    border: 1px solid var(--bee-border);
    border-radius: var(--bee-radius);
    padding: 20px;
    box-shadow: var(--bee-shadow);
}

.feature-card h3 {
    font-size: 17px;
    color: var(--bee-ink);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--bee-gray);
    line-height: 1.7;
}

/* ── 错误页 ── */
.error-page {
    text-align: center;
    padding: 90px 20px;
}

.error-code {
    font-size: 88px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--bee-yellow), var(--bee-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.error-title {
    font-size: 26px;
    color: var(--bee-ink);
    margin-bottom: 10px;
}

.error-message {
    color: var(--bee-gray);
    margin-bottom: 8px;
}

.error-path code {
    background: rgba(36, 48, 63, 0.06);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--bee-gray);
}

.error-actions {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

/* ── 页脚 ── */
.site-footer {
    background: var(--bee-ink);
    color: rgba(245, 241, 230, 0.8);
    margin-top: auto;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 46px 20px 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.footer-logo em {
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    color: var(--bee-honey);
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 15px;
    color: var(--bee-yellow);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: rgba(245, 241, 230, 0.78);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--bee-yellow);
}

.footer-wechat {
    font-size: 14px;
    line-height: 2;
}

.wechat-name {
    display: inline-block;
    padding: 2px 12px;
    border: 1px dashed rgba(255, 215, 106, 0.55);
    border-radius: 999px;
    color: var(--bee-honey);
    font-weight: 600;
}

.footer-github {
    display: inline-block;
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--bee-honey);
}

.footer-copy {
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(245, 241, 230, 0.5);
}

.footer-beian {
    margin-top: 6px;
}

.footer-beian a {
    color: rgba(245, 241, 230, 0.5);
    text-decoration: none;
}

.footer-beian a:hover {
    color: var(--bee-yellow);
}

.footer-stats {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
    font-size: 12.5px;
    line-height: 1.7;
    color: rgba(245, 241, 230, 0.45);
}

.footer-stats b {
    color: var(--bee-honey);
    font-weight: 600;
    margin: 0 2px;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1400px) {
    .site-badge {
        display: none;
    }
}

@media (max-width: 1024px) {
    .blog-cat-grid,
    .blog-latest-grid,
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-body .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1180px) {
    .nav-toggle {
        display: block;
    }

    .nav-toggle summary {
        list-style: none;
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }

    .nav-toggle summary::-webkit-details-marker {
        display: none;
    }

    .nav-toggle-icon,
    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--bee-ink);
        border-radius: 2px;
        position: relative;
        transition: transform 0.2s ease;
    }

    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .nav-toggle-icon::before {
        top: -6px;
    }

    .nav-toggle-icon::after {
        top: 6px;
    }

    .nav-list {
        display: none;
    }

    .nav-toggle[open] ~ .nav-list,
    details.nav-toggle[open] + .nav-list {
        display: flex;
        position: absolute;
        top: 58px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
        gap: 2px;
        padding: 12px 20px 16px;
        background: var(--bee-bg);
        border-bottom: 1px solid var(--bee-border);
        box-shadow: 0 12px 24px rgba(36, 48, 63, 0.12);
    }
}

@media (max-width: 768px) {
    .site-badge {
        display: none;
    }

    .site-search-form input {
        width: 110px;
    }

    .block-hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .blog-cat-grid,
    .blog-latest-grid,
    .feature-grid,
    .article-list,
    .article-items,
    .article-body .product-gallery {
        grid-template-columns: 1fr;
    }

    .article-hero h1 {
        font-size: 24px;
    }

    .article-panel {
        padding: 22px 18px;
    }

    .cta-band {
        flex-direction: column;
        text-align: center;
    }

    .cta-band .btn {
        margin-left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle summary {
        list-style: none;
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }

    .nav-toggle summary::-webkit-details-marker {
        display: none;
    }

    .nav-toggle-icon,
    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--bee-ink);
        border-radius: 2px;
        position: relative;
        transition: transform 0.2s ease;
    }

    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .nav-toggle-icon::before {
        top: -6px;
    }

    .nav-toggle-icon::after {
        top: 6px;
    }

    .nav-list {
        display: none;
    }

    .nav-toggle[open] ~ .nav-list,
    details.nav-toggle[open] + .nav-list {
        display: flex;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px 20px 16px;
        background: var(--bee-bg);
        border-bottom: 1px solid var(--bee-border);
        box-shadow: 0 12px 24px rgba(36, 48, 63, 0.12);
    }

    .nav-list a {
        padding: 10px 14px;
        border-radius: var(--bee-radius-sm);
    }
}
