/* ============================================
   暖阳坊 - 前台主样式
   温暖、大气、适合中老年人阅读
   ============================================ */

/* CSS变量 */
:root {
    --color-primary: #D4A574;
    --color-primary-dark: #C49564;
    --color-primary-darker: #B8864A;
    --color-secondary: #8B4513;
    --color-bg: #FFF8F0;
    --color-bg-white: #FFFFFF;
    --color-bg-light: #FFF5EB;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-border: #E8DDD0;
    --color-success: #4CAF50;
    --color-danger: #D32F2F;
    --color-warning: #FF9800;
    --color-info: #2196F3;
    --font-body: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    --font-heading: 'Noto Serif SC', 'Microsoft YaHei', serif;
    --radius: 12px;
    --shadow: 0 4px 16px rgba(139, 69, 19, 0.08);
    --shadow-lg: 0 8px 32px rgba(139, 69, 19, 0.12);
    --transition: all 0.3s ease;
}

/* 基础样式重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.4;
    color: var(--color-secondary);
}

h1 { font-size: 2rem; margin-bottom: 16px; }
h2 { font-size: 1.6rem; margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.2rem; margin-bottom: 10px; }

p {
    margin-bottom: 14px;
}

ul, ol {
    margin-bottom: 14px;
    padding-left: 24px;
}

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

/* ============ 顶部通知栏 ============ */
.top-bar {
    background: var(--color-secondary);
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
    text-align: center;
    letter-spacing: 1px;
}

/* ============ 主头部 ============ */
.main-header {
    background: var(--color-bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-secondary);
    text-decoration: none;
}

.logo:hover {
    color: var(--color-secondary);
    transform: none;
}

.logo-icon {
    font-size: 36px;
}

/* 导航 */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 10px 16px;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary-dark);
    background: var(--color-bg-light);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============ 主内容区 ============ */
.main-content {
    min-height: calc(100vh - 300px);
}

/* ============ 轮播图 ============ */
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 32px;
    background: var(--color-bg-light);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    padding: 60px 48px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slide p {
    font-size: 1.1rem;
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 5;
    color: var(--color-secondary);
}

.slider-arrow:hover {
    background: #fff;
    box-shadow: var(--shadow);
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

/* ============ 内容网格 ============ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    margin-bottom: 40px;
}

/* ============ 分类区域 ============ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--color-primary);
}

.section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.section-header .more-link {
    color: var(--color-text-muted);
    font-size: 15px;
}

.section-header .more-link:hover {
    color: var(--color-primary);
}

/* ============ 文章卡片 ============ */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.article-card {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--color-bg-light);
    display: block;
}

.article-card .card-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-bg-light), var(--color-border));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--color-primary);
}

.article-card .card-body {
    padding: 20px;
}

.article-card .card-category {
    display: inline-block;
    background: var(--color-bg-light);
    color: var(--color-primary-dark);
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

.article-card .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
}

.article-card .card-title a {
    color: var(--color-text);
}

.article-card .card-title a:hover {
    color: var(--color-primary-dark);
}

.article-card .card-excerpt {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--color-text-muted);
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.article-card .card-meta .author {
    color: var(--color-primary-dark);
    font-weight: 500;
}

/* 文章列表样式 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-list-item {
    display: flex;
    gap: 20px;
    background: var(--color-bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.article-list-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.article-list-item .list-image {
    width: 280px;
    min-height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.article-list-item .list-image-placeholder {
    width: 280px;
    min-height: 200px;
    background: linear-gradient(135deg, var(--color-bg-light), var(--color-border));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.article-list-item .list-body {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-list-item .list-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.article-list-item .list-title a {
    color: var(--color-text);
}

.article-list-item .list-title a:hover {
    color: var(--color-primary-dark);
}

.article-list-item .list-excerpt {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-list-item .list-meta {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============ 侧边栏 ============ */
.sidebar .sidebar-widget {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
}

.widget-article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-article-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.widget-article-item:last-child {
    border-bottom: none;
}

.widget-article-item .article-rank {
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-bg-light);
    color: var(--color-text-muted);
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    flex-shrink: 0;
}

.widget-article-item .article-rank.top {
    background: var(--color-primary);
    color: #fff;
}

.widget-article-item a {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.5;
}

.widget-article-item .article-date {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* 侧边栏CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--color-bg-light), #FFF0E0) !important;
    border: 2px solid var(--color-primary);
    text-align: center;
}

.sidebar-cta p {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

/* ============ 按钮 ============ */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.btn-secondary {
    background: var(--color-bg-light);
    color: var(--color-secondary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-danger {
    background: var(--color-danger);
    color: #fff;
}

.btn-success {
    background: var(--color-success);
    color: #fff;
}

/* ============ 分页 ============ */
.pagination {
    text-align: center;
    margin: 32px 0;
}

.pagination ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 8px;
    padding: 0;
}

.pagination li a {
    display: inline-flex;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 500;
}

.pagination li a:hover {
    background: var(--color-bg-light);
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.pagination li a.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.pagination li.dots {
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
}

/* ============ 文章详情页 ============ */
.article-detail {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.article-detail .detail-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-border);
}

.article-detail .detail-category {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.article-detail .detail-title {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--color-text);
}

.article-detail .detail-meta {
    display: flex;
    gap: 24px;
    color: var(--color-text-muted);
    font-size: 15px;
    flex-wrap: wrap;
}

.article-detail .detail-content {
    font-size: 18px;
    line-height: 2;
    color: var(--color-text);
}

.article-detail .detail-content h2 {
    font-size: 1.5rem;
    margin: 28px 0 14px;
    color: var(--color-secondary);
    padding-left: 14px;
    border-left: 4px solid var(--color-primary);
}

.article-detail .detail-content h3 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
    color: var(--color-secondary);
}

.article-detail .detail-content p {
    margin-bottom: 16px;
    text-indent: 2em;
}

.article-detail .detail-content img {
    border-radius: 8px;
    margin: 20px 0;
    max-width: 100%;
    height: auto;
}

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

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

.article-detail .detail-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 12px 20px;
    margin: 20px 0;
    background: #FFF9F0;
    border-radius: 0 8px 8px 0;
    color: #5D4E37;
}

.article-detail .detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-detail .detail-content table th,
.article-detail .detail-content table td {
    border: 1px solid #E0D5C8;
    padding: 10px 14px;
    text-align: left;
}

.article-detail .detail-content table th {
    background: #FFF5EB;
    font-weight: 600;
}

.article-detail .detail-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.article-detail .detail-content strong {
    color: var(--color-secondary);
}

/* 案例详情富文本样式 */
.case-detail .detail-content {
    font-size: 18px;
    line-height: 2;
    color: var(--color-text);
}

.case-detail .detail-content h2,
.case-detail .detail-content h3,
.case-detail .detail-content p,
.case-detail .detail-content img,
.case-detail .detail-content ul,
.case-detail .detail-content ol,
.case-detail .detail-content blockquote,
.case-detail .detail-content table,
.case-detail .detail-content a,
.case-detail .detail-content strong {
    /* 继承文章详情样式 */
}

.case-detail .detail-content h2 {
    font-size: 1.5rem;
    margin: 28px 0 14px;
    color: var(--color-secondary);
    padding-left: 14px;
    border-left: 4px solid var(--color-primary);
}

.case-detail .detail-content h3 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
    color: var(--color-secondary);
}

.case-detail .detail-content p { margin-bottom: 16px; text-indent: 2em; }
.case-detail .detail-content img { border-radius: 8px; margin: 20px 0; max-width: 100%; height: auto; }
.case-detail .detail-content ul, .case-detail .detail-content ol { padding-left: 24px; margin-bottom: 16px; }
.case-detail .detail-content li { margin-bottom: 6px; }
.case-detail .detail-content blockquote { border-left: 4px solid var(--color-primary); padding: 12px 20px; margin: 20px 0; background: #FFF9F0; border-radius: 0 8px 8px 0; color: #5D4E37; }
.case-detail .detail-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.case-detail .detail-content table th, .case-detail .detail-content table td { border: 1px solid #E0D5C8; padding: 10px 14px; text-align: left; }
.case-detail .detail-content table th { background: #FFF5EB; font-weight: 600; }
.case-detail .detail-content a { color: var(--color-primary); text-decoration: underline; }
.case-detail .detail-content strong { color: var(--color-secondary); }

/* 相关文章 */
.related-articles {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-list li {
    border-bottom: 1px dashed #E8DDD0;
    padding: 12px 0;
}

.related-list li:last-child {
    border-bottom: none;
}

.related-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.related-list li a:hover {
    background: #FFF5EB;
}

.related-list .related-title {
    font-size: 15px;
    color: var(--color-text);
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 16px;
}

.related-list li a:hover .related-title {
    color: var(--color-primary);
}

.related-list .related-meta {
    font-size: 13px;
    color: #A09080;
    white-space: nowrap;
}

/* ============ 案例卡片 ============ */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-card .case-body {
    padding: 24px;
}

.case-card .case-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.case-card .case-title a {
    color: var(--color-text);
}

.case-card .case-excerpt {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============ 页面头部 ============ */
.page-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    padding: 48px 0;
    margin-bottom: 32px;
}

.page-header h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.page-header p {
    font-size: 16px;
    opacity: 0.85;
}

/* ============ 表单 ============ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg-white);
    color: var(--color-text);
    transition: var(--transition);
    font-family: var(--font-body);
    line-height: 1.5;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.form-hint {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 6px;
}

/* ============ 分类筛选标签 ============ */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-tag {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-bg-white);
    border: 2px solid var(--color-border);
    border-radius: 24px;
    color: var(--color-text);
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ============ 关于/联系页面 ============ */
.about-content,
.contact-content {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    line-height: 2;
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 17px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.contact-info-list li:last-child {
    border-bottom: none;
}

/* ============ 页脚 ============ */
.main-footer {
    background: var(--color-secondary);
    color: #ddd;
    padding: 48px 0 0;
    margin-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 32px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
}

.footer-col p {
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #ccc;
    font-size: 15px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* ============ Toast消息 ============ */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    background: var(--color-bg-white);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 12px;
    font-size: 16px;
    max-width: 360px;
    animation: slideIn 0.3s ease;
}

.toast.success { border-left: 4px solid var(--color-success); }
.toast.error { border-left: 4px solid var(--color-danger); }
.toast.info { border-left: 4px solid var(--color-info); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============ 咨询表单容器 ============ */
.consult-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.consult-form-wrapper h2 {
    text-align: center;
    margin-bottom: 8px;
}

.consult-form-wrapper > p {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

/* ============ 知识学习页网格 ============ */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.learning-category-card {
    background: var(--color-bg-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.learning-category-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.learning-category-card .category-icon {
    font-size: 56px;
    margin-bottom: 16px;
    display: block;
}

.learning-category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.learning-category-card p {
    color: var(--color-text-light);
    font-size: 15px;
    margin-bottom: 16px;
}

/* ============ 空状态 ============ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
}

.empty-state .empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.empty-state p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* ============ 面包屑 ============ */
.breadcrumb {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--color-text-muted);
}

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

.breadcrumb span {
    margin: 0 8px;
}
