/* 基础样式 */
:root {
    --primary-color: #1890ff;
    --primary-hover: #40a9ff;
    --text-color: #333;
    --bg-color: #EDF5FF;
    --white: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
}

/* 头部样式 */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: #1890ff;
    font-size: 20px;
    font-weight: bold;
}

.logo img {
    height: 32px;
    margin-right: 8px;
}

/* 主内容区域 */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 200px;
    padding-bottom: 0px;
    padding-left: 15px;
    padding-right: 15px;
}

/* 搜索区域 */
.search-container {
    max-width: 650px;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.search-logo {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-logo img {
    height: 80px;
    margin-right: 15px;
}

.search-logo h1 {
    font-size: 30px;
    margin: 0;
}

.searchBox .search {
    position: relative;
    margin: auto;
    margin-top: 15px;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(225, 225, 225, 0.3);
    width: 100%;
    max-width: 600px;
    height: 54px;
    border-radius: 54px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.searchBox .search input {
    flex: 1;
    height: 100%;
    border-radius: 54px;
    border: none;
    font-size: 18px;
    box-sizing: border-box;
    padding-left: 24px;
    color: #333;
    background-color: transparent;
    outline: none;
}

.searchBox .search .btn {
    width: 40px;
    height: 40px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 搜索标签样式 */
.search-tags {
    margin-top: 30px;
}

.search-tags a{
   color: #1b5bca;
}

/* 块区域样式 */
.block {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    margin-top: 30px;
    overflow: hidden;
}

.block .list {
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.block .item {
    display: flex;
    align-items: center;
    color: #4b4b4b;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 15px;
}

.block .item:hover {
    background-color: #f8f9fa;
    color: #1890ff;
}

/* 页脚样式 */
.footerBox {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 30px 0;
    font-size: 14px;
    color: #6c757d;
    background-color: #EDF5FF;
    text-align: center;
    width: 100%;
    /* margin-top: 100px; */
}

.footerBox .box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footerBox p {
    margin: 8px 0;
    line-height: 1.6;
}

.footerBox a {
    color: #007bff;
    text-decoration: none;
    margin: 0 8px;
}

.footerBox a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.home.homeNO
 {
    display: flex;
     max-width: 50%;

}

.home {
    margin-top: 20px;
    text-align: left;
}

.home.homeNO .block {
    margin: 0 6px;
    flex: 1;
    /* width: 0; */
}

.home .block {
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(225, 225, 225, 0.3);
    margin-bottom: 20px;
    padding-top: 20px;
}

.home .nav {
    position: relative;
    font-size: 18px;
    font-weight: bold;
    color: var(--theme-color);
    padding: 0 20px 4px;
    display: flex;
    align-items: center;
}
.home .content {
    min-height: 200px;

}

.home.homeNO .content .list
 {
    padding: 20px 30px;
}

.home .content .list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* 添加均匀的间距 */
    justify-content: space-between; /* 让item均匀分布 */
}

.home.homeNO .content .list .item {
    width: 100%;
    margin: 0;
    border-radius: 0;
    text-align: left;
    max-width: 282px;
}

.home .content .list .item {
    position: relative;
    display: block;
    width: 130.8px;
    margin: 8px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    text-align: center;
    padding: 2px 0;
    transition: all .5s;
}
a {
    color: inherit;
    text-decoration: inherit;
    cursor: pointer;
}


/* 响应式设计 */
@media (max-width: 1025px) {
    .main {
        padding-top: 100px !important;
    }
    
    .searchBox .search {
        margin-top: 10px !important;
        height: 44px !important;
    }
    
    .block .list {
        display: grid !important;
        grid-template-columns: 2fr !important;
        gap: 10px !important;
    }
    
    .block .item {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
    }
    
    .block .item:nth-child(n+9) {
        display: none !important;
    }

    .home.homeNO
    {
        display: flex;
        max-width: 100%;
        min-width: 90%;

    }

    /* 页脚样式 */
    .footerBox {
    
        margin-top: 10px; 

    }
}