/* ====================================================================
 * CSS样式文件 - 整理版
 * 文件：style.css
 * 描述：百度AI大赛网站样式文件，包含PC端和移动端响应式设计
 * 整理时间：2026-04-27
 * 结构说明：
 *   1. 基础样式重置
 *   2. 导航栏样式
 *   3. 页面内容区域样式
 *   4. 委员会和学校列表样式
 *   5. 页脚样式
 *   6. 项目符号列表样式
 *   7. 轮播组件样式
 *   8. 规则信息样式
 *   9. 移动端浮动面板和菜单样式
 *   10. 移动端响应式样式（750px以下）
 * ==================================================================== */

/* ===== 基础样式重置 ===== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: #DCE6FF;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

body {
    background-color: #011542;
    font-family: "Hiragino Sans GB", "Helvetica Neue", Helvetica, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

/* ===== 导航栏样式 ===== */
.nav {
    height: 64px;
    width: 100%;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
}

.logo>img {
    width: 190px;
}

/* 导航菜单列表样式 */
ul:not(.rules-list),
li:not(.rules-list li) {
    list-style: none;
    padding: 0px;
    display: flex;
    align-items: center;
}

li:not(.rules-list li) {
    float: left;
    margin: 0 30px;
    font-size: 14px;
    padding: 10px 0;

}

/* 当前激活的导航链接 */
.active {
    color: #4096FF;
}

/* 下拉菜单相关样式 */
.down-img {
    width: 16px;
    height: 16px;
    display: block;
    transition: all .3s ease;
}

.navbox {
    position: relative;
}

/* 下拉箭头样式 */
.down-img {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.3s;
}

/* 悬停时箭头旋转 */
.navbox:hover .down-img {
    transform: rotate(180deg);
}

/* 下拉菜单默认隐藏 */
.navlist {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    min-width: 120px;
    z-index: 99;
}

/* 下拉菜单链接 */
.navlist a {
    display: block;
    height: 40px;
    line-height: 40px;
    color: #DCE6FF;
    transition: background 0.3s;
}

/* 下拉菜单hover效果 */
.navlist a:hover {
    color: #409eff;
}

/* 悬停显示下拉菜单 */
.navbox:hover .navlist {
    display: block;
}

/* ===== 按钮样式 ===== */
.regBnt {
    margin-left: 180px;
    font-size: 14px;
    color: #fff;
    padding: 0 20px;
    height: 35px;
    border-radius: 30px;
    background: linear-gradient(90.00deg, rgba(64, 150, 255, 1), rgba(100, 180, 255, 1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.regBnt:hover {
    background: linear-gradient(90.00deg, rgba(100, 180, 255, 1), rgba(140, 200, 255, 1) 100%);
}

/* ===== 页面内容区域样式 ===== */
.banner>img {
    width: 100%;
}

/* 主要内容容器 */
.Introduction,
.award,
.schedule,
.Description,
.committee {
    max-width: 1000px;
    min-width: 750px;
    margin: 0 auto;
    margin-top: 50px;
    position: relative;
}

/* 标题样式 */
.title {
    display: flex;
    align-content: center;
    justify-content: center;
    color: #4096FF;
    align-items: center;
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: bolder;
}

.title>img {
    margin-right: 10px;
    width: 30px;
}

/* ===== 内容区域样式 ===== */
.contentInfo {
    padding: 30px 50px;
    font-size: 14px;
    line-height: 30px;
    color: #DCE6FF;
    background-image: url(../img/mainBg.jpg);
    border: #073163 1px solid;
}

/* 奖项列表样式 */
.awardList {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.awardItem {
    width: 32%;
}

.awardItem>img {
    width: 100%;
}

/* 赛事流程列表样式 */
.scheduleList {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 30px;
    align-items: center;
}

.note {
    color: #FDAD02;
}

.scheduleList>img {
    padding: 50px 0;
    width: 400px;
}

.scheduleList>p {
    text-align: center;
    margin-top: 0px;
}
.planImagesMb {
    display: none;
}
/* 更多按钮样式 */
.moreBtn {
    border: 1px solid #4096FF;
    padding: 4px 20px;
    color: #4096FF;
    font-size: 14px;
    display: block;
}

.moreBtn:hover {
    background-color: #4096FF;
    color: #fff;
}

/* 描述信息样式 */
.DescriptionInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(../img/mainBg.jpg);
    background-size: cover;
    border: #073163 1px solid;
    padding: 40px 50px;
}

.DescriptionInfo,
h2,
p {
    width: 100%;
}

.DescriptionInfo,
p {
    line-height: 24px;
    font-size: 14px;
    text-align: justify;
}

.DescriptionInfo,
h2 {
    font-weight: normal;
    margin-bottom: 10px;
}

.DescriptionInfo>.moreBtn {
    margin-top: 35px;
}

/* ===== 委员会和学校列表样式 ===== */
.committeeInfo>.title {
    margin-top: 30px;
    font-size: 18px;
    color: #DCE6FF;
}

.committeeList {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.committeeItem {
    display: flex;
    font-size: 12px;
    flex-direction: column;
    align-items: center;
    font-weight: normal;
    margin: 0 35px;
}

.committeeItem>img {
    margin-bottom: 20px;
    width: 80%;
}

.committeeList2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.committeeList2>.committeeItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: normal;
    margin: 35px 6px;
}

.shcoolList {
    font-size: 14px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.shcoolItem {
    padding: 12px 30px;
    margin: 10px 10px;
    background-color: #0A1F51;
}

/* ===== 页脚样式 ===== */
.footer {
    background-image: url(../img/footBg.jpg);
    background-size: cover;
    background-position: center;
}

.footerBottom {
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
    max-width: 1000px;
    line-height: 60px;
    border-top: 1px solid #28468C;
}

.footBox {
    margin: 0 auto;
    max-width: 1000px;
    font-size: 12px;
    display: flex;
    padding: 50px 0;
}

.footerLeft {
    width: 500px;
    display: flex;
    flex-wrap: wrap;
    font-weight: bold;
}

/* 页脚左侧内容样式 */
.footerLeft>div {
    margin-right: 30px;
    margin-bottom: 20px;
    color: #4096FF
}

.footerLeft>div>img {
    margin-top: 5px;
    width: 80%;
}

/* 页脚右侧内容样式 */
.footerRight {
    max-width: 600px;
}

.footerRight>p {
    line-height: 28px;
    margin: 0px;
    font-size: 12px;
}

.Statement {
    color: #4096FF;
    font-weight: normal;
}

/* ===== 项目符号列表样式（新增） ===== */
.rules-list {
    list-style-type: disc;
    margin: 0 0 4px 0;
    padding-left: 0;
    display: block !important;
    clear: both;
}

.rules-list li {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    text-align: left;
    display: list-item !important;
    padding-left: 0;
    margin-left: 0;
    list-style-position: outside;
    margin-left: 0.8em;
}

.rules-list li:last-child {
    margin-bottom: 0;
}

/* 🔥 终极方案：新增外层容器，设置最大宽度+内边距（Swiper永远无法覆盖） */
.swiper-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 50px;
    /* 给箭头预留空间，核心！ */
    position: relative;
}

/* 轮播主体：取消所有padding/margin，不与Swiper冲突 */
.newsSwiper {
    overflow: hidden;
    width: 100%;
}

/* 新闻卡片样式 */
.newsItem {
    display: block;
    color: #333;
}

/* 图片等比例容器，不变形 */
.newsPic {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
}

.newsPic img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsTitle {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

/* ===== 轮播组件样式 ===== */
/* 轮播箭头定位 */
.swiper-button-prev {
    left: 15px;
    transform: scale(0.8);
}

.swiper-button-next {
    right: 15px;
    transform: scale(0.8);
}

.MbBanner {
    display: none;
}

/* ===== 规则信息样式 ===== */
.title2 {
    font-size: 18px;
    color: #DCE6FF;
    font-weight: normal;
    margin-bottom: 8px;
    line-height: 30px;
    text-align: center;
}

.RulesInfo {
    padding: 30px 40px;
    line-height: 22px;
    color: #DCE6FF;
    box-sizing: border-box;
    border: 1px solid rgba(64, 150, 255, 0.35);
    border-radius: 12px;
    backdrop-filter: blur(36px);
    background: rgba(10, 31, 81, 0.85);
    margin-bottom: 50px;
    overflow: hidden;
}

.RulesInfo>p {
    margin: 0 0 8px 0;
    line-height: 20px;
    font-size: 14px;
}

.RulesInfo>p:last-child {
    margin-bottom: 0;
    clear: both;
}

/* 阶段提示标签 */
.tip {
    padding: 6px 10px;
    color: #fff;
    border-radius: 4px;
    background: rgba(64, 150, 255, 0.08);
    font-size: 12px;
    display: none;
}

.infotitle {
    font-size: 14px;
    color: #DCE6FF;
    font-weight: bold;
    line-height: 40px;
}

.time {
    font-size: 12px;
    line-height: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.time>img {
    margin-right: 5px;
}

/* ===== 移动端浮动面板和菜单样式 ===== */
.floatPanel {
    right: 30px;
    bottom: 30px;
    position: fixed;
    width: 100px;
    height: 120px;
    display: none;
}

.floatPanel a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 120px;
    line-height: 1;
    font-size: 20px;
    color: rgb(255, 255, 255);
    margin-bottom: 20px;
    overflow: hidden;
    background: rgba(0, 155, 255, 0.2);
    border-radius: 0.2rem;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(50, 155, 255, 0.3);
    border-image: initial;
    transition: 0.6s;
}

.floatPanel img {
    width: 60%;
    margin-bottom: 5px;
    transition: all 0.6s ease;
}

.floatPanel p {
    margin: 0;
    text-align: center;
}

/* 移动端遮罩层 */
.mask {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    top: 0;
    display: none;
}

/* 移动端菜单 */
.Mdmenu {
    background-color: #011542;
    width: 250px;
    position: absolute;
    right: 0;
    height: 100%;
    font-size: 26px;
    line-height: 40px;
    padding-left: 30px;
    padding-top: 30px;
    box-sizing: border-box;
    /* 核心：初始位置向右偏移 100%（隐藏在屏幕外） */
    transform: translateX(100%);
    /* 过渡动画：0.3s 平滑滑动，ease 缓动效果 */
    transition: transform 0.3s ease;
}

/* 移动端菜单项 */
.menuItem {
    padding: 30px 0;
}

/* 移动端菜单激活状态 */
.Mdmenu.active {
    transform: translateX(0);
    /* 偏移量归 0，显示在右侧 */
}

/* 新闻列表样式 */
.newsList {
    display: flex;
    justify-content: space-evenly;
    max-width: 1200px;
    padding-bottom: 80px;
    flex-direction: row;
    margin: 0 auto;
}

.newsTitle {
    text-align: center;
}

/* ===== 移动端响应式样式（750px以下） ===== */
@media (max-width: 750px) {
    .planImagesMb {
        display: block;
    }
    .planImages {
        display: none;
    }
    .committeeList2>.committeeItem {
        margin: 35px 30px;
        width:260px;
    }

    .newsItem {
        margin-bottom: 50px;
        width: 100%;
    }

    .newsTitle {
        font-size: 28px;
        line-height: 36px;
    }

    .time {
        font-size: 20px;
        line-height: 26px;
    }

    .floatPanel {
        display: block;
    }

    .title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .infotitle {
        font-size: 28px;
    }

    .title>img {
        width: 45px;
    }

    .moreBtn {
        border: 1px solid #4096FF;
        padding: 12px 30px;
        font-size: 24px;
    }

    .logo>img {
        width: 220px;
    }

    .regBnt {
        margin-left: 180px;
        font-size: 24px;
        color: #fff;
        padding: 12px 25px;
        height: 42px;

    }

    .scheduleList>img {
        width: 420px;
    }

    .committeeInfo>.title {
        font-size: 28px;
    }

    .committeeItem {
        font-size: 22px;
        max-width: 300px;
        text-align: center;
        word-wrap: break-word;
        line-height: 1.4;
    }

    .RulesInfo {
        margin: 30px 30px;
    }

    .RulesInfo>p {
        margin: 0 0 10px 0;
        line-height: 38px;
        font-size: 24px;
    }

    .RulesInfo>p:last-child {
        margin-bottom: 0;
        clear: both;
    }

    .infotitle {
        font-size: 28px;
        padding-bottom: 22px;
    }

    .title2 {
        font-size: 28px;
    }

    .Pcbanner {
        display: none;
    }

    .MbBanner {
        display: block;
    }

    .footBox {
        padding: 50px 50px;
        flex-direction: column;
    }

    .footerLeft {
        width: 100%;
        margin-bottom: 25px;
        justify-content: flex-start;
    }

    .footerLeft>div {
        font-size: 22px;
        margin-bottom: 22px;
        margin-right:50px;
    }

    .footerLeft>div>img {
        margin-top: 8px;
        width: 100%;
    }

    .Statement {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .committeeItem>img {
        width: 200px;
    }

    .scheduleList {
        padding: 0 40px;
        font-size: 22px;
        line-height: 32px;
    }

    .awardList {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .awardItem {
        width: 100%;
        padding: 22px 65px;
    }

    .nav ul {
        display: none;
    }

    .contentInfo {
        margin: 30px;
        font-size: 24px;
        line-height: 38px;
        background-size: cover;
    }

    .DescriptionInfo,
    p {
        font-size: 24px;
        line-height: 38px;
    }

    .DescriptionInfo {
        width: 690px;
        margin: 0 auto;
    }

    .shcoolList {
        font-size: 24px;
        line-height: 36px;
    }

    .footerRight>p {
        font-size: 20px;
        line-height: 32px;
        margin-bottom: 15px;
    }

    .footerBottom {
        font-size: 18px;
        line-height: 45px;
    }

    /* 移动端项目符号列表样式 */
    .rules-list {
        list-style-type: disc;
        margin: 0 0 5px 0;
        padding-left: 0;
        display: block !important;
        clear: both;
    }

    .rules-list li {
        font-size: 24px;
        line-height: 38px;
        margin-bottom: 0;
        text-align: left;
        display: list-item !important;
        padding-left: 0;
        margin-left: 0;
        list-style-position: outside;
        margin-left: 1.2em;
        text-indent: -1.2em;
    }

    .rules-list li:last-child {
        margin-bottom: 0;
    }
    
    .footerRight {
        max-width: 100%;
    }
    
    .nav {
        height: 90px;
    }
    
    .footer {
        background-size: cover;
    }
}