/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    /* 新排版响应式 - 1200px */
    .image-triple, .image-pair {
        gap: 10px;
        
    /* 新排版响应式 */
    .image-pair {
        flex-direction: column !important;
        
    /* 新排版响应式 */
    .image-single {
        padding-bottom: 60%; /* 约1.7:1 宽高比，更适合移动设备竖屏显示 */
    }
    
    .image-single .feed-image {
        height: 100% !important;
        min-height: 100% !important;
    }
    
    /* 图文穿插响应式 */
    .interleaved-row {
        flex-direction: column !important;
        text-align: center;
    }
    
    .interleaved-image {
        flex: none;
        width: 100%;
    }
    
    .interleaved-image .feed-image {
        height: 180px;
    }
    
    .image-pair .feed-image {
        height: 150px !important;
        min-height: 150px !important;
    }
    
    .image-triple .feed-image {
        height: 140px !important;
        min-height: 140px !important;
    }
    
    .image-multi .feed-image {
        height: 140px !important;
        min-height: 140px !important;
    }
    
    .quote-section {
        padding: 15px !important;
    }
    
    .quote-text {
        font-size: 14px !important;
    }
    
    /* 图文穿插响应式 */
    .interleaved-image .feed-image {
        height: 140px !important;
        min-height: 140px !important;
    }
    
    .interleaved-text h3 {
        font-size: 16px !important;
    }
}
    
    .image-pair .feed-image {
        height: 200px;
    }
    
    .image-triple {
        gap: 10px;
    }
    
    .image-triple .feed-image {
        height: 160px;
    }
    
    .image-multi {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    
    .image-multi .feed-image {
        height: 180px;
    }
}
    
    .image-single {
        padding-bottom: 35%; /* 约2.9:1 宽高比，在大屏幕上也保持适中大小 */
    }
    
    .image-pair .feed-image {
        height: 220px;
    }
    
    .image-triple .feed-image {
        height: 180px;
    }
    
    .image-multi {
        gap: 10px;
    }
    
    .image-multi .feed-image {
        height: 160px;
    }
    
    .quote-section {
        padding: 20px 25px;
    }
    
    .quote-text {
        font-size: 16px;
    }
    
    /* 图文穿插响应式 */
    .interleaved-row {
        gap: 15px;
    }
    
    .interleaved-image {
        flex: 0 0 45%;
    }
    
    .interleaved-image .feed-image {
        height: 180px;
    }
}

:root {
    --primary-color: #e63946; /* 红色logo主色调 */
    --secondary-color: #1d3557; /* 深蓝色辅助色 */
    --text-color: #333; /* 主要文字颜色 */
    --light-text: #666; /* 次要文字颜色 */
    --background-color: #f8f9fa; /* 背景色 */
    --card-color: #fff; /* 卡片背景色 */
    --border-color: #ddd; /* 边框颜色 */
    --success-color: #4caf50; /* 成功色 */
    --warning-color: #ff9800; /* 警告色 */
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* 头部样式 */
.header {
    background-color: var(--card-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

/* 头部样式 */
.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background-image: url('logo.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

/* logo链接样式 - 移除下划线 */
.logo-link {
    text-decoration: none;
    display: inline-block;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: 10px;
}

.nav-links li {
    margin-left: 30px;
}

/* 右侧功能区样式 */
.right-functions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-grow: 1;
}

/* 城市选择器样式 */
.city-selector {
    position: relative;
    margin-right: 20px;
}

.current-city {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.current-city:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.city-arrow {
    font-size: 12px;
    transition: transform 0.3s;
}

.city-selector:hover .city-arrow {
    transform: rotate(180deg);
}

.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.city-selector:hover .city-dropdown {
    display: block;
}

.city-list {
    padding: 15px;
}

.city-title {
    font-size: 12px;
    color: var(--light-text);
    margin-bottom: 10px;
    font-weight: 500;
}

.hot-cities {
    margin-bottom: 20px;
}

.city-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-item {
    padding: 6px 12px;
    border-radius: 15px;
    background-color: var(--background-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.city-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.city-item.active {
    background-color: var(--primary-color);
    color: white;
}

/* 搜索框样式 */
.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

/* 发现页头部横幅样式 */


/* 功能链接图标样式 */
.function-link i.icon {
    margin-right: 5px;
    font-size: 16px;
    display: inline-block;
    width: 18px;
    text-align: center;
}

.search-input {
    padding: 8px 15px;
    padding-right: 40px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    transition: border-color 0.3s;
    font-size: 14px;
    width: 260px; /* 增加宽度以提高比例协调性 */
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-button {
    background: none;
    border: none;
    border-radius: 0 20px 20px 0;
    padding: 5px 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-color);
    background-color: transparent;
}

/* 功能文案样式 */
.function-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.function-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: color 0.3s;
}

.function-link:hover {
    color: var(--primary-color);
}

.function-divider {
    color: #ccc;
    font-size: 14px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* 统一头部横幅基础样式 - 保持专业感 */
.banner, .question-banner, .discover-banner {
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    color: white;
    transition: transform 0.3s ease;
}

/* 首页横幅 - 专业设计渐变方案，采用经典蓝灰配色，传达专业、可信、稳重的品牌形象 */
.banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 60px 0; /* 增加内边距，提升视觉舒适度 */
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* 添加柔和阴影增强层次感 */
}

/* 添加微妙的纹理效果，增强专业感 */
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    z-index: 0;
}

/* 优化标题样式，提升专业性与可读性 */
.banner h1 {
    font-size: 42px;
    margin-bottom: 24px;
    color: white;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* 优化副标题样式，增强可读性 */
.banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 36px;
    max-width: 800px;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    font-weight: 400;
}

/* 优化按钮样式，提升转化率 */
.banner .btn {
    background-color: white;
    color: #1e3a8a;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
}

/* 添加按钮悬停效果 */
.banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background-color: #f8fafc;
}

/* 问答页横幅 - 柔和蓝色调，传达亲和力与专业 */
.question-banner {
    background: linear-gradient(135deg, #4d5ef6 0%, #3e2799 100%);
}

/* 发现页横幅 - 专业蓝色调，传达信任与可靠 */
.discover-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}

/* 添加微妙的纹理效果，增强专业感和深度 */
.discover-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

/* 增强标题的专业性和层次感 */
.discover-banner h1 {
    font-size: 42px;
    margin-bottom: 24px;
    color: white;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    line-height: 1.2;
    font-family: 'Arial', sans-serif;
}

/* 优化副标题样式，增强可读性 */
.discover-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 课程页横幅 - 专业绿色调，传达成长与专业 */
.course-banner {
    background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    color: white;
    transition: transform 0.3s ease;
}

/* 课程页横幅装饰效果 */
.course-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    z-index: 0;
}

/* 课程页横幅标题样式 */
.course-banner h1 {
    font-size: 40px;
    margin-bottom: 22px;
    color: white;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
}

.course-banner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* 添加装饰性元素增强专业感 */
.banner::before, .question-banner::before, .discover-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    z-index: 0;
}

/* 标题样式 */
.banner h1, .question-banner h1, .discover-banner h1 {
    font-size: 40px;
    margin-bottom: 22px;
    color: white;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
}

.banner p, .question-banner p, .discover-banner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* 主要行动按钮 - 增强视觉吸引力和点击冲动 */
.btn {
    display: inline-block;
    padding: 15px 38px;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 35px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.1), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.btn:hover::before {
    left: 100%;
}

/* 底部转化区域按钮样式 */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* 电话咨询按钮 - 主要行动按钮 */
.btn-phone {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-phone:hover {
    background-color: #c1121f;
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* 在线提问按钮 - 主要行动按钮 */
.btn-ask {
    background-color: white;
    color: var(--primary-color);
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-ask:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px) scale(1.03);
}

/* 预约试听按钮 - 强调行动按钮 */
.btn-course {
    background-color: var(--warning-color);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-course:hover {
    background-color: #e68900;
    box-shadow: 0 7px 21px rgba(255, 152, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* 板块样式 */
.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

/* 左对齐标题样式 */
.section-title.left-aligned {
    text-align: left;
}

.card-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.card {
    width: 23.5%;
    background-color: var(--card-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s;
    border: 2px solid transparent;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary-color);
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 120px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* courses.html页面特定样式 - 照片区域优化 */
.courses-page .card-image {
    height: 180px; /* 优化为更适合照片的高度 */
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa; /* 默认背景色，无红底 */
    border-radius: 6px 6px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
    color: transparent; /* 隐藏原有文字 */
    transition: all 0.3s ease;
}

/* courses.html页面特定样式 - 课程分类标签优化 */
.courses-page .card {
    position: relative;
}

.courses-page .card-image {
    position: relative;
    z-index: 1;
}

.courses-page .category-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.2); /* 非常浅的半透明黑色背景，避免抢眼球 */
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.courses-page .card:hover .category-tag {
    background-color: rgba(0, 0, 0, 0.3); /* 悬停时稍微加深一点背景色，保持低对比度 */
    transform: none;
    box-shadow: none;
}

/* 照片占位区域内容样式 */
.courses-page .card-image::before {
    content: "📷";
    font-size: 48px;
    margin-bottom: 8px;
    display: block;
    transition: transform 0.3s ease;
}

/* 删除照片占位区域文字 */
.courses-page .card-image::after {
    content: "";
    display: none;
}

/* 鼠标悬停效果 */
.courses-page .card-image:hover {
    background-color: #e9ecef;
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.courses-page .card-image:hover::before {
    transform: scale(1.1);
}

/* 删除悬停时的照片占位区域文字效果 */
.courses-page .card-image:hover::after {
    content: "";
    display: none;
}

.card-image:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-align: center;
}

/* 服务简介样式 */
.service-intro {
    font-size: 13px;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* 服务列表样式 */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}



/* 驾驶技能区域样式 */
.driving-section {
    margin-top: 30px;
}

.driving-section .card-container {
    justify-content: space-between;
    margin-bottom: 50px;
}

/* 驾驶技能卡片样式 - 整体偏弱，与核心服务板块有明显区分 */
.driving-card {
    width: 23.5%;
    background-color: #fcfcfc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

/* 朋友圈杂志风排版样式 */
.feed-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.feed-item {
    background-color: var(--card-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feed-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feed-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 10px;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 2px;
}

.post-time {
    font-size: 12px;
    color: var(--light-text);
}

/* 杂志风排版通用样式 */
.magazine-layout {
    position: relative;
    overflow: hidden;
}

/* 图片网格样式 */
.image-grid {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.image-grid.horizontal {
    flex-direction: row;
}

.image-grid.center-row {
    justify-content: center;
}

.image-card {
    flex: 1;
    min-width: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.single-image {
    width: 100%;
}

/* 图片+文字组合样式 */
.image-text-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.image-text-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.image-text-row.single-item {
    justify-content: center;
}

.image-text-item {
    flex: 1;
    min-width: 200px;
}

.image-text-item.full-width {
    min-width: 100%;
}

.text-content {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
}

/* 白图间隔样式 */
.white-space-images {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.white-space-images .feed-image {
    flex: 1;
    border-radius: 8px;
}

/* 纯文字区域样式 */
.text-only-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid var(--primary-color);
}

.text-only-section p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--secondary-color);
}

/* 互动按钮样式 */
.feed-actions {
    display: flex;
    justify-content: space-around;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.feed-action {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    color: var(--light-text);
}

.feed-action:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
}

.driving-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.driving-card::before {
    height: 3px;
    background-color: #ccc;
}

/* 小车驾照卡片 - 柔和的灰色系 */
.driving-card:nth-child(1) {
    border-color: #f5f5f5;
}

.driving-card:nth-child(1) .card-image {
    background-color: #f5f5f5;
    color: #666;
}

.driving-card:nth-child(1) .card-image:hover {
    background-color: #e8e8e8;
    color: #333;
}

/* 货车驾照卡片 - 柔和的蓝色系 */
.driving-card:nth-child(2) {
    border-color: #f8fafc;
}

.driving-card:nth-child(2) .card-image {
    background-color: #f8fafc;
    color: #475569;
}

.driving-card:nth-child(2) .card-image:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

/* 客车驾照卡片 - 柔和的绿色系 */
.driving-card:nth-child(3) {
    border-color: #f0fdf4;
}

.driving-card:nth-child(3) .card-image {
    background-color: #f0fdf4;
    color: #166534;
}

.driving-card:nth-child(3) .card-image:hover {
    background-color: #dcfce7;
    color: #15803d;
}

/* 摩托车驾照卡片 - 柔和的黄色系 */
.driving-card:nth-child(4) {
    border-color: #fffbeb;
}

.driving-card:nth-child(4) .card-image {
    background-color: #fffbeb;
    color: #92400e;
}

.driving-card:nth-child(4) .card-image:hover {
    background-color: #fef9c3;
    color: #78350f;
}



/* 驾驶技能卡片内容区域样式 */
.driving-card .card-content {
    padding: 14px;
}

.driving-card .service-intro {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    text-align: center;
}

.driving-card .service-list {
    margin-top: 10px;
}

.driving-card .service-list li {
    font-size: 13px;
    padding: 4px 0;
    color: #666;
}

.driving-card .card-btn {
    font-size: 12px;
    padding: 7px 18px;
    background-color: var(--secondary-color); /* 使用页面辅助色，更适合整体风格 */
    color: white;
    transition: background-color 0.3s ease;
}

.driving-card .card-btn:hover {
    background-color: #444;
}

/* 核心服务板块特定样式 - 优化比例感和视觉和谐 */
.card-container .card:nth-child(1) .card-image {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.card-container .card:nth-child(2) .card-image {
    background-color: #e6f0fa;
    color: #1d3557;
    font-weight: normal;
}

.card-container .card:nth-child(3) .card-image {
    background-color: #d9e8f5;
    color: #1d3557;
    font-weight: normal;
}

.card-container .card:nth-child(4) .card-image {
    background-color: #c9dced;
    color: #1d3557;
    font-weight: normal;
}

/* 鼠标悬停效果 - 卡片变红效果 */
.card-container .card:nth-child(2) .card-image:hover,
.card-container .card:nth-child(3) .card-image:hover,
.card-container .card:nth-child(4) .card-image:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 20px !important;
}

.driving-courses-section .course-price {
    text-align: center;
    font-size: 20px;
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.service-list li {
    padding: 6px 0;
    text-align: center;
    font-size: 15px;
    color: var(--text-color);
    border-bottom: 1px solid #f0f0f0;
}

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

.card-description {
    color: var(--light-text);
    margin-bottom: 20px;
}

.card-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
}

/* 卡片操作区域样式 */
.card-actions {
    text-align: center;
    margin-top: 20px;
}

.card-actions .card-btn {
    margin: 0 5px;
}

/* 服务内容切换样式 */
.service-content {
    display: none;
}

.service-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 服务标签样式 */
.service-tab {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 10px;
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.service-tab:hover {
    color: var(--primary-color);
}

.service-tab.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    font-weight: bold;
}

/* 列表页样式 - 样式已调换 */
.category-nav {
    background-color: var(--card-color);
    border-radius: 12px;
    padding: 15px 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.category-nav a {
    text-decoration: none;
    color: var(--text-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    margin-right: 12px;
}

.category-nav button {
    text-decoration: none;
    color: var(--text-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    margin-right: 12px;
}

.category-nav a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.list-container {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.list-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

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

.list-image {
    width: 100px;
    height: 80px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
}

.list-content {
    flex: 1;
}

.list-title {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.list-meta {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 10px;
}

.list-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

/* 详情页样式 */
.detail-container {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.detail-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-align: center;
}

.detail-meta {
    text-align: center;
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.detail-content {
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

.detail-content p,
.detail-content ol,
.detail-content li {
    letter-spacing: 0.5px;
    line-height: 1.8;
}

.detail-content h2 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: var(--secondary-color);
}

.detail-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.action-btn {
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover {
    color: var(--primary-color);
}

/* 点赞按钮激活状态 */
.action-btn.like-btn.active {
    color: var(--primary-color);
}

.action-btn.like-btn.active svg path {
    fill: var(--primary-color);
}

/* 收藏按钮激活状态 */
.action-btn.favorite-btn.active {
    color: #ff9800;
}

.action-btn.favorite-btn.active svg path {
    fill: #ff9800;
}

/* 课程详情页样式 */
.course-header {
    display: flex;
    margin-bottom: 30px;
}

.course-image {
    width: 40%;
    height: 250px;
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 24px;
}

.course-info {
    flex: 1;
}

.course-price {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.course-meta {
    margin-bottom: 20px;
}

.course-meta-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-outline {
    margin-bottom: 30px;
}

.outline-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.instructor {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    background-color: #f0f0f0;
    border-radius: 50%;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 24px;
}

.instructor-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.instructor-info p {
    color: var(--light-text);
}

.reviews {
    margin-top: 30px;
}

.review-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.review-rating {
    color: #ff9800;
    margin-bottom: 5px;
}

/* 页脚样式 */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-column {
    width: 30%;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 10px 0;
    font-size: 14px;
}

.footer-links {
    margin: 15px 0;
    font-size: 13px;
}

.footer-links a,
.footer-certifications a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-certifications a:hover {
    color: white;
}

.footer-links span,
.footer-certifications span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 4px;
}

.footer-certifications {
        margin: 10px 0;
        font-size: 13px;
    }

/* 评论区域高亮动画 */
.answer-comments.highlight {
    animation: highlight 2s ease-in-out;
}

@keyframes highlight {
    0% { background-color: rgba(255, 152, 0, 0.1); }
    50% { background-color: rgba(255, 152, 0, 0.3); }
    100% { background-color: transparent; }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .container {
        width: 900px;
    }
    .card {
        width: 48%;
    }
    
    /* 发现页头部横幅响应式 */
    .discover-banner {
        padding: 50px 0;
    }
    
    .discover-banner h1 {
        font-size: 32px;
    }
    
    .discover-banner p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
    }
    .nav-links {
        display: none;
    }
    .card {
        width: 100%;
    }
    .course-header {
        flex-direction: column;
    }
    .course-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .footer-content {
        flex-direction: column;
    }
    .footer-column {
        width: 100%;
        margin-bottom: 30px;
    }
    
    /* 统一横幅响应式调整 */
    .banner, .question-banner, .discover-banner {
        padding: 50px 0;
    }
    
    .banner h1, .question-banner h1, .discover-banner h1 {
        font-size: 30px;
    }
    
    .banner p, .question-banner p, .discover-banner p {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .banner h1 {
        font-size: 28px;
    }
    .banner p {
        font-size: 16px;
    }
    .section-title {
        font-size: 24px;
    }
    .detail-title {
        font-size: 24px;
    }
    
    /* 统一横幅响应式调整 */
    .banner, .question-banner, .discover-banner {
        padding: 40px 0;
    }
    
    .banner h1, .question-banner h1, .discover-banner h1 {
        font-size: 26px;
    }
    
    .banner p, .question-banner p, .discover-banner p {
        font-size: 14px;
    }
}

/* 问答页面特定样式 */
/* 问题统计样式 - 缩小间距并左对齐 */

/* 相似提问样式 */
.related-questions {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    margin-top: 12px;
    line-height: 1.5;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-radius: 6px;
    text-align: left;
    box-sizing: border-box;
}

.related-question {
    color: #666;
    transition: all 0.3s ease;
    padding: 6px 12px;
    background-color: #fff;
    border-radius: 16px;
    border: 1px solid #e1e5e9;
    cursor: pointer;
    margin-right: 10px;
}

.related-question:hover {
    color: #0066cc;
    background-color: #f0f7ff;
    border-color: #0066cc;
    transform: translateY(-1px);
}

.related-question:hover {
    color: #0066cc;
    background-color: #f0f7ff;
    border-color: #0066cc;
    transform: translateY(-1px);
}

/* 问题详情页标题样式 */
.detail-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* 问题内容区域样式 */
.detail-content {
    margin-bottom: 30px;
    margin-top: 20px;
}

.detail-content p:first-child {
    margin-top: 0;
}
.question-stats {
    display: flex;
    gap: 10px; /* 缩小间距从20px到10px */
    font-size: 14px;
    color: var(--light-text);
    justify-content: flex-start; /* 确保左对齐 */
}

.question-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 3px; /* 图标和数字之间的间距 */
    padding: 0; /* 重置关注页面中统计项的内边距 */
    background-color: transparent; /* 重置背景色 */
    margin: 0; /* 重置外边距 */
    border-radius: 0; /* 重置圆角 */
}

.question-stats .stat-item:hover {
    transform: none; /* 禁用悬停效果 */
    box-shadow: none; /* 禁用阴影效果 */
}

/* 问答详情页特定样式 */
/* 回答项样式 */
.answer-item {
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

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

.answer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.expert-info {
    display: flex;
    align-items: center;
}

.expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 24px;
}

.expert-details h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.expert-title {
    color: var(--primary-color);
    margin-bottom: 3px;
    font-weight: 500;
}

.expert-company {
    color: var(--light-text);
    font-size: 14px;
}

.answer-time {
    color: var(--light-text);
    font-size: 14px;
}

.answer-content {
    margin-bottom: 20px;
    line-height: 1.8;
}

.answer-content h4 {
    font-size: 18px;
    margin: 20px 0 10px 0;
    color: var(--secondary-color);
}

.answer-content ol,
.answer-content ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.answer-content li {
    margin-bottom: 8px;
}

.answer-actions {
    margin-top: 20px;
}

/* 评论区样式 */
.answer-comments {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

.answer-comments h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.comment-list {
    margin-bottom: 20px;
}

.comment-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

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

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 14px;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 500;
    margin-right: 10px;
}

.comment-time {
    color: var(--light-text);
    font-size: 14px;
}

.comment-form {
    margin-top: 20px;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 15px;
}

.comment-submit {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
}

/* 查看更多回答按钮 */
.more-answers {
    text-align: center;
    margin-top: 30px;
}

/* 相关问题样式 */
.related-questions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.related-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.related-link {
    text-decoration: none;
    color: var(--text-color);
}

.related-link h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.related-meta {
    font-size: 14px;
    color: var(--light-text);
    display: flex;
    gap: 15px;
}

/* 面包屑导航样式 - 优化版本 */
.breadcrumb {
    margin: 15px 0 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--light-text);
    background-color: #f8f9fa;
    border-radius: 6px;
    display: inline-block;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* 面包屑分隔符 */
.breadcrumb > span {
    color: #aaa;
    margin: 0 6px;
}

/* 问题元数据样式 */
.meta-item {
    margin-right: 20px;
}

.meta-tag {
    display: inline-block;
    margin-right: 10px;
    margin-top: 10px;
}

.meta-tag a {
    display: inline-block;
    padding: 3px 12px;
    background-color: #fff2f0;
    color: var(--primary-color);
    border-radius: 15px;
    text-decoration: none;
    font-size: 14px;
}

/* 用户评价样式 */
.testimonials {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.testimonial-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-prev,
.testimonial-next {
    background-color: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.testimonial-container {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    min-height: 200px;
    position: relative;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-text {
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.testimonial-author {
    text-align: right;
    font-size: 16px;
    color: var(--light-text);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 热点新闻样式 */
.hot-news-section {
    margin: 30px auto 50px;
}

.hot-news-container {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-top: 10px; /* 调整标题与内容间距 */
}

.hot-news-title {
    text-align: left;
    font-size: 24px;
    margin-bottom: 0; /* 移除底部margin */
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    gap: 15px;
    padding: 10px 0;
}

.hot-news-title .follow-link {
    color: var(--light-text); /* 非激活状态颜色 */
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.hot-news-title .follow-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.hot-news-title .section-divider {
    color: var(--light-text);
    font-size: 16px;
}

.hot-news-title .hot-tag {
    color: var(--light-text);
}

.hot-news-title .hot-tag.active {
    color: var(--primary-color); /* 激活状态颜色 */
    font-weight: bold;
}

/* 热点新闻区域的特定刷新按钮样式 */
.hot-news-title .refresh-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-left: auto;
    padding: 5px;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.hot-news-title .refresh-btn:hover {
    color: var(--primary-color);
    background: none;
    border: none;
}

.hot-news-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.hot-news-row:last-child {
    margin-bottom: 0;
}

/* 关注页面样式 */
.follow-section {
    margin: 40px auto;
}

.follow-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.follow-card {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.follow-subtitle {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.follow-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.hot-follows {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.follow-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: var(--background-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.follow-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.follow-icon {
    font-size: 24px;
    margin-right: 15px;
}

.follow-info {
    flex: 1;
}

.follow-name {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 500;
}

.follow-desc {
    font-size: 14px;
    color: var(--light-text);
}

.follow-btn {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.follow-btn:hover {
    background-color: #c1121f;
    transform: translateY(-2px);
}

.follow-btn.followed {
    background-color: #4caf50;
}

.follow-btn.followed:hover {
    background-color: #3d8b40;
}

.followed-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    padding: 15px;
    border-left: 4px solid var(--primary-color);
    background-color: var(--background-color);
    border-radius: 0 6px 6px 0;
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.news-title {
    font-size: 16px;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.news-title:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--light-text);
}

.follow-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--background-color);
    border-radius: 8px;
    flex: 1;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--light-text);
}

.follow-chart {
    height: 300px;
    background-color: var(--background-color);
    border-radius: 8px;
    padding: 20px;
}

.hot-news-item {
    flex: 0 0 calc(25% - 15px);
    margin-right: 15px;
    margin-bottom: 15px;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-news-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hot-news-row .hot-news-item:nth-child(4n) {
    margin-right: 0;
}

/* 工具区域样式 */
/* 工具区域容器样式 */
.tools-section {
    margin: 30px auto 70px;
}

/* 工具区域标题样式 - 左侧对齐 */
.tools-section .section-title {
    text-align: left;
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 500;
}

/* 工具卡片容器样式 */
.tools-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0;
}

/* 工具卡片样式 - 弱化视觉效果 */
.tool-card {
    flex: 0 0 calc(16.666% - 12px);
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

/* 工具卡片悬停效果 */
.tool-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

/* 工具链接样式 */
.tool-link {
    color: var(--light-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
    display: block;
    transition: color 0.3s ease;
}

/* 工具链接悬停效果 */
.tool-link:hover {
    color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .hot-news-item {
        flex: 0 0 calc(33.333% - 10px);
    }
    
    .hot-news-row .hot-news-item:nth-child(4n) {
        margin-right: 15px;
    }
    
    .hot-news-row .hot-news-item:nth-child(3n) {
        margin-right: 0;
    }
    
    .tool-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .hot-news-item {
        flex: 0 0 calc(50% - 7.5px);
    }
    
    .hot-news-row .hot-news-item:nth-child(3n) {
        margin-right: 15px;
    }
    
    .hot-news-row .hot-news-item:nth-child(2n) {
        margin-right: 0;
    }
    
    .tool-card {
        flex: 0 0 calc(33.333% - 13.33px);
    }
}

@media (max-width: 768px) {
    .tool-card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .hot-news-item {
        flex: 0 0 100%;
        margin-right: 0;
    }
}

/* 朋友圈杂志风排版样式 */
.feed-container {
    background-color: var(--card-color) !important;
    border-radius: 12px !important;
    padding: 40px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
    margin: 30px auto !important;
    max-width: 1200px !important;
}

.feed-container h2 {
    text-align: center !important;
    margin-bottom: 40px !important;
    color: var(--secondary-color) !important;
    font-size: 28px !important;
    font-weight: bold !important;
}

.feed-item {
    padding: 30px !important;
    border-bottom: 1px solid var(--border-color) !important;
    margin-bottom: 40px !important;
    background-color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.feed-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.feed-header {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 25px !important;
}

.user-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background-color: var(--primary-color) !important;
    margin-right: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 24px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
}

.user-info {
    flex: 1 !important;
}

.user-name {
    font-weight: bold !important;
    margin-bottom: 5px !important;
    color: var(--text-color) !important;
    font-size: 18px !important;
}

.post-time {
    font-size: 14px !important;
    color: var(--light-text) !important;
}

.feed-content {
    margin-bottom: 25px !important;
    line-height: 1.8 !important;
    color: var(--text-color) !important;
    font-size: 16px !important;
}

/* 杂志风排版样式 */
.magazine-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 统一图片样式，覆盖内联样式 */
.feed-image {
    width: 100% !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    background-color: #f0f0f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--light-text) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.feed-image:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}

.feed-image span {
    font-size: 16px !important;
    color: #666 !important;
}

.single-image .feed-image {
    width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    background-color: #f0f0f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--light-text) !important;
}

/* 互动按钮样式 */
.feed-actions {
    display: flex !important;
    justify-content: space-between !important;
    padding: 0 10px !important;
    margin-top: 20px !important;
}

.feed-action {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--light-text) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
}

.feed-action:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px) !important;
}

.section-divider {
    text-align: center !important;
    margin: 40px 0 20px !important;
    position: relative !important;
}

.section-divider::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    height: 1px !important;
    background-color: var(--border-color) !important;
}

.section-divider span {
    position: relative !important;
    background-color: var(--background-color) !important;
    padding: 0 20px !important;
    color: var(--light-text) !important;
}

/* 加载更多按钮样式 */
.load-more {
    text-align: center !important;
    margin-top: 50px !important;
    margin-bottom: 30px !important;
}

.load-more-btn {
    width: auto !important;
    padding: 15px 40px !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(211, 38, 38, 0.3) !important;
}

.load-more-btn:hover {
    background-color: #c1121f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(211, 38, 38, 0.4) !important;
}

/* L型排版 */
.l-layout .image-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
}

.l-layout .image-text-row {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

.l-layout .image-text-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

.l-layout .white-space-images {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

/* F型排版 */
.f-layout .image-text-row {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
}

.f-layout .image-grid.horizontal {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

.f-layout .text-only-section {
    background-color: #f8f9fa !important;
    padding: 25px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    line-height: 1.8 !important;
}

/* T型排版 */
.t-layout .top-image {
    width: 100% !important;
    margin-bottom: 20px !important;
}

.t-layout .bottom-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

/* E型排版 */
.e-layout .image-text-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

.e-layout .bottom-image {
    width: 100% !important;
}

/* 三型排版 */
.three-layout .three-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

.three-layout .three-grid .image-text-item:first-child {
    grid-row: span 2 !important;
}

.three-layout .three-grid .image-text-item:first-child .feed-image {
    height: 300px !important;
    min-height: 300px !important;
}

/* 通用图片和文本样式 */
.image-card {
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease !important;
}

.image-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.image-text-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    background-color: white !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease !important;
}

.image-text-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.text-content {
    line-height: 1.8 !important;
    padding: 0 15px 15px !important;
    margin: 0 !important;
    font-size: 14px !important;
    color: var(--text-color) !important;
}

/* 为不同布局添加特色背景渐变 */
/* L型布局图片背景 */
.l-layout .feed-image {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
}

/* F型布局图片背景 */
.f-layout .feed-image {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%) !important;
}

/* T型布局图片背景 */
.t-layout .feed-image {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%) !important;
}

/* E型布局图片背景 */
.e-layout .feed-image {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%) !important;
}

/* 三型布局图片背景 */
.three-layout .feed-image {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%) !important;
}

/* 新的排版样式 - 纯文字内容 */
.feed-content {
    padding: 15px 0;
    line-height: 1.8;
}

.feed-content.text-heavy {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.feed-content.text-heavy p {
    margin-bottom: 15px;
    font-size: 16px;
}

.feed-content.text-heavy p:last-child {
    margin-bottom: 0;
}

/* 单图内容样式 */
.image-single {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 30%; /* 约3.3:1 宽高比，PC端不占太大空间 */
}

.image-single:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-single .feed-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: filter 0.3s ease;
}

.image-single .feed-image:hover {
    filter: brightness(1.05);
}

/* 双图内容样式 */
.image-pair {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.image-pair .feed-image {
    flex: 1;
    height: 240px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.image-pair .feed-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    filter: brightness(1.05);
}

/* 三图内容样式 */
.image-triple {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.image-triple .feed-image {
    flex: 1;
    height: 200px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.image-triple .feed-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    filter: brightness(1.05);
}

/* 多图内容样式 */
.image-multi {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.image-multi .feed-image {
    height: 180px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.image-multi .feed-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    filter: brightness(1.05);
}

/* 引用式排版样式 */
.quote-section {
    background-color: #f0f7ff;
    border-left: 4px solid #4facfe;
    padding: 25px 30px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.quote-text {
    font-style: italic;
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.6;
}

.quote-author {
    text-align: right;
    font-size: 14px;
    color: var(--light-text);
    font-weight: 500;
}

/* 图文穿插排版样式 */
.image-text-interleaved {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.interleaved-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.interleaved-row:nth-child(odd) {
    flex-direction: row;
}

.interleaved-row:nth-child(even) {
    flex-direction: row-reverse;
}

.interleaved-image {
    flex: 0 0 40%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.interleaved-image .feed-image {
    height: 200px;
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.interleaved-image .feed-image:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.interleaved-text {
    flex: 1;
    line-height: 1.8;
}

.interleaved-text h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 18px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .feed-container {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
    
    /* 新排版响应式 */
    .image-triple, .image-pair {
        gap: 10px;
    }
    
    .image-single .feed-image {
        height: 280px;
    }
    
    .image-pair .feed-image {
        height: 220px;
    }
    
    .image-triple .feed-image {
        height: 180px;
    }
    
    .image-multi {
        gap: 10px;
    }
    
    .image-multi .feed-image {
        height: 160px;
    }
    
    .quote-section {
        padding: 20px 25px;
    }
    
    .quote-text {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .feed-container {
        padding: 30px !important;
    }
    
    /* L型排版响应式 */
    .l-layout .image-grid,
    .l-layout .image-text-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* F型排版响应式 */
    .f-layout .image-text-row {
        flex-direction: column !important;
    }
    
    /* T型排版响应式 */
    .t-layout .bottom-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* E型排版响应式 */
    .e-layout .image-text-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* 三型排版响应式 */
    .three-layout .three-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .three-layout .three-grid .image-text-item:first-child {
        grid-row: span 1 !important;
    }
    
    .three-layout .three-grid .image-text-item:first-child .feed-image {
        height: 200px !important;
        min-height: 200px !important;
    }
}

@media (max-width: 768px) {
    .feed-container {
        padding: 20px !important;
    }
    
    .feed-container h2 {
        font-size: 24px !important;
    }
    
    .feed-item {
        padding: 20px !important;
    }
    
    .user-avatar {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
    
    /* L型排版响应式 */
    .l-layout .image-grid,
    .l-layout .image-text-grid,
    .l-layout .white-space-images {
        grid-template-columns: 1fr !important;
    }
    
    .l-layout .image-text-row {
        flex-direction: column !important;
    }
    
    /* F型排版响应式 */
    .f-layout .image-grid.horizontal {
        flex-direction: column !important;
    }
    
    /* T型排版响应式 */
    .t-layout .bottom-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* 三型排版响应式 */
    .three-layout .three-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* 调整按钮间距 */
    .feed-actions {
        justify-content: space-around !important;
    }
    
    /* 新排版响应式 */
    .image-pair {
        flex-direction: column !important;
        gap: 15px;
    }
    
    .image-pair .feed-image {
        height: 180px;
    }
    
    .image-triple {
        flex-direction: column !important;
        gap: 15px;
    }
    
    .image-triple .feed-image {
        height: 160px;
    }
    
    .image-multi {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .image-multi .feed-image {
        height: 160px;
    }
    
    .quote-section {
        padding: 15px 20px;
    }
    
    .quote-text {
        font-size: 15px;
    }
    
    /* 图文穿插响应式 */
    .interleaved-row {
        flex-direction: column !important;
        text-align: center;
    }
    
    .interleaved-image {
        flex: none;
        width: 100%;
    }
    
    .interleaved-image .feed-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    /* 调整卡片内边距 */
    .feed-container {
        padding: 15px !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    
    /* 调整排版元素间距 */
    .magazine-layout {
        gap: 15px !important;
    }
    
    /* 调整图片高度 */
    .single-image .feed-image,
    .three-layout .three-grid .image-text-item:first-child .feed-image {
        height: 150px !important;
        min-height: 150px !important;
    }
    
    .feed-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .user-avatar {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
    
    .feed-actions {
        flex-wrap: wrap !important;
    }
    
    .feed-action {
        margin-bottom: 10px !important;
    }
    
    /* 新排版响应式 */
    .image-single .feed-image {
        height: 180px !important;
        min-height: 180px !important;
    }
    
    .image-pair .feed-image {
        height: 150px !important;
        min-height: 150px !important;
    }
    
    .image-triple .feed-image {
        height: 140px !important;
        min-height: 140px !important;
    }
    
    .image-multi .feed-image {
        height: 140px !important;
        min-height: 140px !important;
    }
    
    .quote-section {
        padding: 15px !important;
    }
    
    .quote-text {
        font-size: 14px !important;
    }
}

/* 二级筛选功能样式 - 样式已调换 */
.secondary-filter {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.filter-section {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.filter-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-right: 15px;
    min-width: 50px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-option {
    text-decoration: none;
    color: var(--text-color);
    margin-right: 20px;
    font-weight: normal;
    padding-bottom: 5px;
}

.filter-option:hover {
    color: var(--primary-color);
}

.filter-option.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* 二级筛选响应式设计 */
@media (max-width: 768px) {
    .secondary-filter {
        padding: 12px 20px;
        flex-wrap: wrap;
    }
    
    .filter-section {
        margin-bottom: 15px;
        width: 100%;
    }
    
    .filter-label {
        margin-bottom: 10px;
    }
    
    .filter-options {
        width: 100%;
    }
}

/* 卡片按钮样式优化 */
.card-btn {
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: white;
    border: none; /* 移除黑边 */
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.2);
}

.card-btn:hover {
    background-color: #c1121f; /* 鼠标划过效果：颜色变深 */
    transform: translateY(-2px); /* 鼠标划过效果：轻微上移 */
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3); /* 鼠标划过效果：阴影加深 */
}

.card-btn:active {
    transform: translateY(0); /* 点击时回到原位 */
}

/* 回答界面样式 */
.answer-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.answer-modal.active {
    display: flex;
}

.answer-modal-content {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.answer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.answer-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
}

.answer-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--light-text);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.answer-modal-close:hover {
    background-color: var(--background-color);
    color: var(--text-color);
}

.answer-editor {
    margin-bottom: 25px;
}

.answer-textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.answer-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.answer-editor-tools {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.editor-tool {
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.editor-tool:hover {
    background-color: var(--background-color);
    color: var(--text-color);
}

.answer-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.cancel-btn {
    padding: 10px 24px;
    background-color: var(--background-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background-color: #e9ecef;
}

.submit-answer-btn {
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-answer-btn:hover {
    background-color: #c1121f;
}