.content {
    width: 1200px;
    margin: 0 auto;
}

.content .box {
    padding: 20px;
}

.box .pad {
    padding: 10px;
}

.box .bord {
    border: 1px solid #DCDFE6;
    margin-right: 10px;
    border-radius: 5px;
}

.bord .title {
    padding: 10px;
}

.bord .title h3 {
    margin: 0;
    color: white;
    line-height: 30px;
}

.bord .title h3 span {
    float: right;
}

.bord .title h3 span a {
    color: white;
    font-size: 14px;
}

.box a {
    color: #000;
    text-decoration: none;
}

.box a:hover {
    color: #75c16f;
}

.text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    letter-spacing: 1px;
    color: black;
    margin: 10px 0px;
    text-align: left;
}

.daytext {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    letter-spacing: 1px;
    color: black;
    margin: 10px 0px;
    text-align: left;
    line-height: 30px;
}

.hotspan .hotitem {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    letter-spacing: 1px;
    color: black;
    margin: 10px 0px;
    text-align: left;
}

.hotspan h3 {
    margin-top: 0px;
    margin-bottom: 0px;
}

.highlight {
    background-color: #fff;
}


.index-box {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.el-header {
    border-bottom: 1px solid #d3dce6;
    box-sizing: border-box;
    background-color: #fff;
    line-height: 60px;
}



.el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 200px;
    margin: 0;
}

.el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
}

.header-box {
    width: 1200px;
    margin: 0 auto;
}



.viewspan {
    font-size: 14px;
    color: #c0c4cc;
    width: 60px;
    display: block;
    line-height: 40px;
}

.atext {
    display: flex;
    margin-top: 10px;
    line-height: 30px;
}

.righttitle {
    padding: 10px;
}

.righttitle img {
    width: 100%;
    padding-bottom: 10px;
}

[v-cloak] {
    display: none !important;
}

.tag_f_s {
    font-size: 14px;
}

.tag_box {
    display: flex;
}

.tag_box_i {
    flex: 1;
    padding: 0px 10px;
}

.tag_box_i a {
    padding: 0px 10px 0px 0px;
    color: #666
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #67C23A;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.subbann {
    padding: 0 20px 0 0;
    font-size: 14px;
}

.subbann_i {
    padding: 0 0 10px 0;
}

.subbann_i a {
    display: block;
    width: 100%;
    color: #333;
}

.subbann_i img {
    height: 151px;
    width: 269px;
    border-radius: 5px;
}

.top_box {
    background: linear-gradient(rgb(221 241 210), #fff);
    padding: 10px;
    border-radius: 5px;
}

.zximg {
    width: 200px;
    height: 134px;
    border-radius: 5px;
}

/* 导航栏样式 */
.navbar {
    background-color: #ffffff !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #198754;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 导航栏响应式样式 */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0.5rem 1rem;
    }

    .navbar-nav {
        align-items: flex-start;
    }

    .nav-link {
        padding: 0.5rem 0;
    }

    .nav-link::after {
        bottom: 0;
        left: 0;
        transform: none;
    }

    .navbar-nav .nav-link.active::after,
    .navbar-nav .nav-link:hover::after {
        width: 50px;
    }

    .d-flex {
        width: 100%;
    }
}

/* 轮播图样式 */
.carousel {
    /* margin-top: 20px; */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

/* 服务卡片样式 */
.card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-title {
    color:black;
    font-weight: 600;
}

/* 资讯样式 */
.content-area {
    animation: fadeIn 1s ease-in;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.news-section {
    background: linear-gradient(45deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-section img {
    height: 160px;
    object-fit: cover;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel {
        margin-top: 66px;
    }
    
    .card-img-top {
        height: 160px;
    }
}

/* 问答模块样式 */
.qa-card {
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.qa-tag {
    background: #198754;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.answer-tag {
    background: #ffc107;
}

/* 健康专题样式 */
.topic-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 20px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.topic-card:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.topic-icon {
    color: #198754;
}

/* 合作伙伴样式 */
.partner-logo {
    max-height: 60px;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .qa-card, .topic-card {
        padding: 1rem;
    }
    
    .partner-logo {
        max-height: 40px;
    }
}

/* 图片尺寸限制 */
.carousel .carousel-inner img {
    height: 400px;
    object-fit: cover;
}

.card-img-top {
    height: 180px !important;
    object-fit: cover;
}

.news-section .img-fluid {
    height: 120px !important;
    width: 100%;
    object-fit: cover;
}

.partner-logo {
    height: 50px !important;
    width: auto;
    object-fit: contain;
}

.f_qr .phone_qr {
    width: 100px;
    height: 100px;
}

/* 响应式图片调整 */
@media (max-width: 768px) {
    .carousel .carousel-inner img {
        height: 200px;
    }
    
    .card-img-top {
        height: 140px !important;
    }
    
    .news-section .img-fluid {
        height: 100px !important;
    }
    
    .partner-logo {
        height: 40px !important;
    }
    
    .f_qr .phone_qr {
        width: 80px;
        height: 80px;
    }
}

.service-section {
    /* display: none; */
}

.service-section {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ranking-section {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin: 2rem auto;
}

.qa-section {
    background: linear-gradient(-45deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.topic-section {
    background: linear-gradient(90deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.partner-section {
    background: linear-gradient(-90deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card {
    transition: transform 0.3s ease;
}

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

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #198754, transparent);
}

/* 重新定义各区块样式 */
.container.service-section {
    position: relative;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    z-index: 1;
}

.container.news-section {
    position: relative;
    background: linear-gradient(45deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    z-index: 1;
}

.container.ranking-section {
    position: relative;
    background: linear-gradient(-135deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    z-index: 1;
}

.container.qa-section {
    position: relative;
    background: linear-gradient(-45deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    z-index: 1;
}

.container.topic-section {
    position: relative;
    background: linear-gradient(90deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    z-index: 1;
}

.container.partner-section {
    position: relative;
    background: linear-gradient(-90deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    z-index: 1;
}

/* 添加各区块之间的间距 */
.container.service-section,
.container.news-section,
.container.ranking-section,
.container.qa-section,
.container.topic-section,
.container.partner-section {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

/* 为每个区块添加hover效果 */
.container.service-section:hover,
.container.news-section:hover,
.container.ranking-section:hover,
.container.qa-section:hover,
.container.topic-section:hover,
.container.partner-section:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* 添加背景纹理 */
.content-area {
    position: relative;
    background-image: 
        linear-gradient(to bottom, 
            rgba(248, 249, 250, 0.9), 
            rgba(255, 255, 255, 0.9)
        );
    padding: 20px 0;
}

.content-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(#f8f9fa 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
}

/* 修改body背景样式 */
body {
    position: relative;
    background: linear-gradient(125deg, rgba(248, 249, 250, 0.9), rgba(255, 255, 255, 0.95)) !important;
    min-height: 100vh;
}

/* 移除之前的背景相关代码 */
body::before,
body::after {
    display: none;
}

/* 移除背景动画 */
@keyframes gradientBG,
@keyframes dotAnimation,
@keyframes dotAnimation2 {
    display: none;
}

/* 确保内容在动态背景之上 */
#app {
    position: relative;
    z-index: 1;
}

.container-fluid {
    position: relative;
    z-index: 2;
}

/* 修改所有区块的背景透明度 */
.container.service-section,
.container.news-section,
.container.ranking-section,
.container.qa-section,
.container.topic-section,
.container.partner-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(248, 249, 250, 0.7)) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 修改卡片背景透明度 */
.card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.qa-card {
    background: rgba(248, 249, 250, 0.8) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.topic-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* 确保内容区域不会遮挡背景 */
.content-area {
    background: transparent !important;
}

.content-area::before {
    display: none;
}

/* 调整body背景样式优先级 */
body {
    position: relative;
    background: linear-gradient(45deg, #f8f9fa, #ffffff) !important;
    animation: gradientBG 15s ease infinite;
    background-size: 400% 400% !important;
    min-height: 100vh;
}

/* 移除qa-section相关样式 */
.qa-section, .qa-card, .qa-tag, .answer-tag {
    display: block;
}

/* 调整文章卡片样式 */
.article-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

/* 文章分类标签样式 */
.category-tag {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    display: inline-block;
    margin-right: 8px;
}

/* 文章列表样式优化 */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* 阅读时间标记 */
.read-time {
    color: #757575;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.read-time:before {
    content: '⏱';
    margin-right: 5px;
}

/* 修改主题色为更适合健康科普的绿色系 */
:root {
    --primary-color: #43a047;
    --secondary-color: #81c784;
    --accent-color: #c8e6c9;
}


/* 文章卡片样式优化 */
.article-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

/* 健康科普分类标签 */
.category-tag {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    display: inline-block;
    margin-right: 8px;
}

/* 阅读量和发布时间样式 */
.article-meta {
    color: #757575;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-meta i {
    margin-right: 4px;
}

/* 每日养生建议样式 */
.daily-tip-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.daily-tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.daily-tip-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.daily-tip-card h5 {
    color: #333;
    margin-bottom: 10px;
}

.daily-tip-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* 季节健康样式 */
.season-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

.season-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.season-tips {
    list-style: none;
    padding: 0;
}

.season-tips li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.season-tips li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* 营养食谱样式 */
.recipe-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

.recipe-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-content {
    padding: 20px;
}

.recipe-desc {
    color: #666;
    font-size: 0.9rem;
    margin: 10px 0;
}

.recipe-tag {
    display: inline-block;
    padding: 4px 8px;
    margin-right: 8px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.8rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .daily-tip-card, .season-card, .recipe-card {
        margin-bottom: 20px;
    }
    
    .recipe-img {
        height: 160px;
    }
}

/* 模块通用美化 */
.container {
    position: relative;
}

.section-heading {
    position: relative;
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
}

.section-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

/* 卡片美化 */
.card {
    border: none;
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    box-shadow: 5px 5px 15px #d1d1d1, -5px -5px 15px #ffffff;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 8px 8px 20px #c1c1c1, -8px -8px 20px #ffffff;
}

/* 健康专题美化 */
.topic-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.topic-card:hover::before {
    opacity: 0.1;
}

.topic-icon {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

/* 季节健康美化 */
.season-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
}

.season-card.spring {
    background: linear-gradient(145deg, #f1f8e9, #dcedc8);
}

.season-card.summer {
    background: linear-gradient(145deg, #e3f2fd, #bbdefb);
}

.season-tips li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.season-tips li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 营养食谱美化 */
.recipe-card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.recipe-img {
    transition: all 0.5s ease;
    filter: brightness(0.95);
}

.recipe-card:hover .recipe-img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-tag {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 每日养生建议美化 */
.daily-tip-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.daily-tip-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color) 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
}

.daily-tip-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 文章列表美化 */
.article-list .card {
    border-radius: 20px;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.article-meta i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* 动画效果增强 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.topic-card, .daily-tip-card {
    animation: float 6s ease-in-out infinite;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .section-heading {
        margin-bottom: 2rem;
    }
    
    .topic-card, .daily-tip-card, .recipe-card {
        margin-bottom: 1.5rem;
    }
}

/* 分类导航样式 */
.category-section {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.main-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-tag {
    padding: 0.5rem 1.5rem;
    background: #f8f9fa;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.category-tag:hover {
    background: #28a745;
    color: white;
}

.category-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    height: 100%;
}

.category-title {
    color: #28a745;
    margin-bottom: 1rem;
    font-weight: bold;
}

.category-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.sub-category {
    padding: 0.35rem;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #2e7d32; /* 改为绿色系 */
    text-decoration: none;
}

.sub-category:hover {
    color: #43a047; /* 悬停时的颜色 */
}

.category-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.25rem;
    flex-shrink: 0;
}

/* 榜单模块样式 */
.ranking-section {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.ranking-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ranking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.ranking-header {
    padding: 15px 20px;
    color: white;
    font-weight: bold;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.2s;
}

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

.ranking-item:hover {
    background: #f8f9fa;
}

.ranking-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    margin-right: 12px;
}

.ranking-number-1 {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
}

.ranking-number-2 {
    background: linear-gradient(45deg, #C0C0C0, #A9A9A9);
    color: white;
}

.ranking-number-3 {
    background: linear-gradient(45deg, #CD7F32, #8B4513);
    color: white;
}

.ranking-content {
    flex: 1;
}

.ranking-title {
    font-size: 14px;
    color: #333;
    margin: 0;
}

.ranking-meta {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.ranking-value {
    font-size: 13px;
    font-weight: 500;
}

/* 模块动态背景动画 */
.container.ranking-section,
.container.news-section,
.container.topic-section,
.container.daily-tips-section,
.container.seasonal-section,
.container.recipe-section {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 修改所有区块的背景样式 */
.container.service-section,
.container.news-section,
.container.ranking-section,
.container.qa-section,
.container.topic-section,
.container.partner-section {
    background: #ffffff !important;
    border-radius: 15px;
    padding: 30px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 移除所有动态背景相关代码 */
.container.ranking-section::before,
.container.news-section::before,
.container.topic-section::before,
.container.daily-tips-section::before,
.container.seasonal-section::before,
.container.recipe-section::before,
.container.ranking-section::after,
.container.news-section::after,
.container.topic-section::after,
.container.daily-tips-section::after,
.container.seasonal-section::after,
.container.recipe-section::after {
    display: none;
}

/* 移除所有动画效果 */
@keyframes waveRotate,
@keyframes gradientFlow,
@keyframes pulseEffect,
@keyframes twinkle,
@keyframes seasonChange,
@keyframes bubbleRise,
@keyframes rotateGradient,
@keyframes patternMove {
    display: none;
}

/* 分类导航样式调整 */
.category-section {
    padding: 1.5rem;
}

.category-card {
    padding: 1rem;
}

.category-content {
    gap: 0.5rem;
}

.sub-category {
    padding: 0.35rem;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #2e7d32; /* 改为绿色系 */
    text-decoration: none;
}

.sub-category:hover {
    color: #43a047; /* 悬停时的颜色 */
}


.category-title {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.guide-images .guide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    text-align: center;
    font-size: 1.1rem;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.guide-images a {
    position: relative;
    transition: transform 0.3s;
}

.guide-images a:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.guide-images img {
    height: 110px;
    width: 100%;
    object-fit: cover;
}
.morning-tip {
    background-color: #f8d7da;
}

.noon-tip {
    background-color: #d1ecf1;
}

.night-tip {
    background-color: #d4edda;
}

.habit-tip {
    background-color: #fff3cd;
}
