/* ============================================
   WG18 - 琥珀暖阳主题 (Amber Glow)
   MacCMS V10 Template Stylesheet
   温暖舒适的暖色调设计
   ============================================ */

:root {
    --amber: #F59E0B;
    --amber-light: #FBBF24;
    --amber-dark: #D97706;
    --orange: #EA580C;
    --warm-50: #FFFBEB;
    --warm-100: #FEF3C7;
    --warm-200: #FDE68A;
    --warm-800: #92400E;
    --warm-900: #78350F;
    --brown: #7C2D12;
    --cream: #FEFCE8;
    --text: #451A03;
    --text-light: #78350F;
    --text-muted: #A16207;
    --white: #FFFFFF;
    --shadow: rgba(245, 158, 11, 0.15);
    --shadow-lg: rgba(245, 158, 11, 0.25);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--warm-50) 0%, var(--cream) 50%, var(--warm-100) 100%);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 导航栏 ==================== */
.header {
    background: linear-gradient(135deg, var(--warm-900) 0%, var(--brown) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow-lg);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--amber-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    padding: 10px 18px;
    color: var(--warm-100);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(251, 191, 36, 0.2);
    color: var(--amber-light);
}

.nav-contact {
    background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.nav-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 100%) !important;
}

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

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--amber-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==================== 首页横幅 ==================== */
.hero {
    background: linear-gradient(135deg, var(--warm-900) 0%, var(--brown) 50%, var(--warm-800) 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--amber-light);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--warm-200);
    margin-bottom: 32px;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--amber-light);
    color: var(--amber-light);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--amber-light);
}

.stat-card .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
}

.stat-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stat-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--amber-light);
    margin-bottom: 4px;
}

.stat-card p {
    color: var(--warm-200);
    font-size: 0.9rem;
}

/* ==================== 特性区块 ==================== */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .label {
    display: inline-block;
    background: linear-gradient(135deg, var(--warm-100) 0%, var(--warm-200) 100%);
    color: var(--warm-800);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: linear-gradient(145deg, var(--white) 0%, var(--warm-50) 100%);
    border: 1px solid var(--warm-100);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow);
    border-color: var(--amber);
}

.feature-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--warm-100) 0%, var(--warm-200) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover .icon {
    background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
}

.feature-card .icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.feature-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==================== 数据展示 ==================== */
.showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--warm-100) 0%, var(--warm-50) 100%);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.showcase-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.4s ease;
}

.showcase-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px var(--shadow-lg);
}

.showcase-item .img {
    height: 160px;
    overflow: hidden;
}

.showcase-item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-item:hover .img img {
    transform: scale(1.1);
}

.showcase-item .info {
    padding: 24px;
    text-align: center;
    background: linear-gradient(180deg, var(--white) 0%, var(--warm-50) 100%);
}

.showcase-item .info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--amber-dark);
    margin-bottom: 6px;
}

.showcase-item .info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==================== 文章列表 ==================== */
.articles {
    padding: 100px 0;
    background: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--warm-100);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-lg);
    border-color: var(--amber);
}

.article-card .thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: block;
}

.article-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .thumb img {
    transform: scale(1.1);
}

.article-card .thumb .date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

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

.article-card .content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .content h3 a:hover {
    color: var(--amber-dark);
}

.article-card .content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--amber-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.article-card .read-more:hover {
    color: var(--orange);
    gap: 10px;
}

/* ==================== CTA区块 ==================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--warm-900) 0%, var(--brown) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(251,191,36,0.1)"/></svg>');
    background-size: 50px 50px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section h2 .highlight {
    color: var(--amber-light);
}

.cta-section p {
    color: var(--warm-200);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.cta-tags {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cta-tags span {
    color: var(--warm-200);
    font-size: 0.95rem;
}

/* ==================== 页脚 ==================== */
.footer {
    background: linear-gradient(180deg, var(--warm-900) 0%, #1C0A00 100%);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo span {
    color: var(--amber);
}

.footer-brand > p {
    color: var(--warm-200);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--amber);
    border-color: var(--amber);
    transform: translateY(-3px);
}

.footer-col h5 {
    color: var(--amber-light);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-col a {
    display: block;
    color: var(--warm-200);
    font-size: 0.95rem;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--amber);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(251, 191, 36, 0.15);
    padding-top: 30px;
    text-align: center;
}

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

/* ==================== 列表页 ==================== */
.page-banner {
    background: linear-gradient(135deg, var(--warm-900) 0%, var(--brown) 100%);
    padding: 60px 0;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--warm-200);
    font-size: 0.95rem;
}

.breadcrumb a:hover {
    color: var(--amber-light);
}

.breadcrumb span {
    color: var(--warm-200);
}

.page-banner h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.page-banner h1 .highlight {
    color: var(--amber-light);
}

.page-banner p {
    color: var(--warm-200);
    font-size: 1.05rem;
}

.list-section {
    padding: 60px 0 100px;
}

.list-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

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

.list-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    border: 1px solid var(--warm-100);
    transition: all 0.4s ease;
}

.list-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px var(--shadow-lg);
    border-color: var(--amber);
}

.list-card .thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
    display: block;
}

.list-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.list-card:hover .thumb img {
    transform: scale(1.08);
}

.list-card .thumb .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.list-card .info {
    padding: 20px;
}

.list-card .info time {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.list-card .info h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-card .info h2 a:hover {
    color: var(--amber-dark);
}

.list-card .info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--warm-200);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0 12px;
}

.pagination a:hover,
.pagination a.active {
    background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
    border-color: var(--amber);
    color: var(--white);
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 8px 25px var(--shadow);
    border: 1px solid var(--warm-100);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--warm-100);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hot-list {
    list-style: none;
}

.hot-list li {
    margin-bottom: 16px;
}

.hot-list li:last-child {
    margin-bottom: 0;
}

.hot-list a {
    display: flex;
    gap: 14px;
    align-items: center;
}

.hot-list .thumb {
    width: 70px;
    height: 55px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.hot-list .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hot-list a:hover .thumb img {
    transform: scale(1.1);
}

.hot-list .txt h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-list a:hover .txt h4 {
    color: var(--amber-dark);
}

.hot-list .txt time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    background: var(--warm-50);
    border: 1px solid var(--warm-200);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--white);
}

.widget-cta {
    background: linear-gradient(135deg, var(--warm-900) 0%, var(--brown) 100%);
    text-align: center;
    border: none;
}

.widget-cta .widget-title {
    color: var(--amber-light);
    border-bottom-color: rgba(251, 191, 36, 0.3);
    justify-content: center;
}

.widget-cta p {
    color: var(--warm-200);
    margin-bottom: 8px;
}

.widget-cta .cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-top: 16px;
    transition: all 0.3s ease;
}

.widget-cta .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

/* ==================== 详情页 ==================== */
.article-section {
    padding: 60px 0 100px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.article-main {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px var(--shadow);
    overflow: hidden;
    border: 1px solid var(--warm-100);
}

.article-header {
    padding: 36px;
    border-bottom: 1px solid var(--warm-100);
}

.article-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-meta a {
    color: var(--amber-dark);
}

.article-meta a:hover {
    color: var(--orange);
}

.article-summary {
    margin: 0 36px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--warm-50) 0%, var(--warm-100) 100%);
    border-left: 4px solid var(--amber);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 30px;
    display: flex;
    gap: 14px;
}

.article-summary i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.article-summary p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.article-body {
    padding: 36px;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.9;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--text);
    margin: 32px 0 16px;
    font-weight: 700;
}

.article-body h2 {
    font-size: 1.5rem;
}

.article-body h3 {
    font-size: 1.25rem;
}

/* 文章内容图片自动居中 */
.article-body img {
    max-width: 100% !important;
    height: auto !important;
    margin: 24px auto !important;
    display: block !important;
    border-radius: var(--radius-sm);
}

.article-body p:has(img) {
    text-align: center;
}

.article-body a {
    color: var(--amber-dark);
    border-bottom: 1px solid var(--amber);
}

.article-body a:hover {
    color: var(--orange);
}

.article-body blockquote {
    background: var(--warm-50);
    border-left: 4px solid var(--amber);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-light);
}

.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

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

.article-footer {
    padding: 30px 36px;
    background: var(--warm-50);
    border-top: 1px solid var(--warm-100);
}

.article-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.article-actions button {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--warm-200);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.article-actions button:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--white);
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.article-tags strong {
    color: var(--text);
    font-size: 0.95rem;
}

.article-tags a {
    background: var(--white);
    border: 1px solid var(--warm-200);
    color: var(--text-light);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--white);
}

/* 相关推荐 */
.related-section {
    margin-top: 40px;
    padding: 0 36px 36px;
}

.related-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-item {
    display: flex;
    gap: 14px;
    background: var(--white);
    padding: 14px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px var(--shadow);
    border: 1px solid var(--warm-100);
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-lg);
    border-color: var(--amber);
}

.related-item .thumb {
    width: 90px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.related-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item .txt h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item:hover .txt h4 {
    color: var(--amber-dark);
}

.related-item .txt time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 作者卡片 */
.widget-author {
    text-align: center;
}

.widget-author .avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--amber);
    padding: 3px;
    background: var(--white);
}

.widget-author .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.widget-author h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.widget-author > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.widget-author .follow {
    display: inline-block;
    background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
    color: var(--white);
    padding: 10px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.widget-author .follow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}

/* ==================== 返回顶部 ==================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .list-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }
    
    .logo img {
        height: 36px;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--warm-900);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    
    .nav-contact {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero {
        padding: 50px 0 70px;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .features-grid,
    .showcase-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .list-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-banner h1 {
        font-size: 1.8rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .article-header,
    .article-body,
    .article-footer {
        padding: 24px;
    }
    
    .article-header h1 {
        font-size: 1.4rem;
    }
    
    .article-summary {
        margin: 0 24px;
    }
    
    .related-section {
        padding: 0 24px 24px;
    }
    
    .article-meta {
        gap: 12px;
    }
    
    .article-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .stat-card {
        padding: 18px;
    }
    
    .stat-card h3 {
        font-size: 1.4rem;
    }
    
    .feature-card {
        padding: 24px 18px;
    }
    
    .cta-tags {
        flex-direction: column;
        gap: 10px;
    }
}