/* 健康资讯列表页样式 */
.health_info_list {
    padding: 60px 0;
}

/* 搜索框样式 */
.health_info_list #searchTag {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px;
    cursor: pointer;
}

.health_info_list .content_box {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 20px);
}

.health_info_grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    list-style: none;
    padding: 0;
    overflow: inherit;
}

.health_info_grid li {
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid rgba(4, 7, 8, 0.15);
    border-radius: 0.889rem;
    overflow: hidden;
    background-color: #FFF;
    transition: all 0.3s ease;
}

.health_info_grid li.no_data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0;
    color: #999;
}

/* 分页样式 - 使用和tag一样的颜色 */
.pagination_wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(4, 7, 8, 0.15);
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination .page_prev,
.pagination .page_next {
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(4, 7, 8, 0.15);
    background-color: #FFF;
    border-radius: 0.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.889rem;
}

.pagination .page_prev:hover,
.pagination .page_next:hover {
    background-color: #FFF;
    border-color: rgba(4, 7, 8, 0.3);
    color: #333;
}

.pagination .page_num {
    display: inline-block;
    min-width: 40px;
    height: auto;
    line-height: 1.5;
    text-align: center;
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(4, 7, 8, 0.15);
    background-color: #FFF;
    border-radius: 0.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.889rem;
}

.pagination .page_num:hover {
    background-color: #FFF;
    border-color: rgba(4, 7, 8, 0.3);
    color: #333;
}

.pagination .page_num.current {
    background-color: #FFF;
    border-color: rgba(4, 7, 8, 0.3);
    color: #333;
    cursor: default;
    font-weight: 500;
}

.pagination .page_dots {
    padding: 0 0.5rem;
    color: rgba(4, 7, 8, 0.5);
    font-size: 0.889rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .health_info_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .health_info_grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .pagination .page_prev,
    .pagination .page_next {
        padding: 0.2rem 0.5rem;
        font-size: 0.889rem;
    }

    .pagination .page_num {
        min-width: 35px;
        height: auto;
        line-height: 1.5;
        padding: 0.2rem 0.5rem;
        font-size: 0.889rem;
    }
}

