/* 导航栏样式 */
.event-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #ff6b6b;
    color: #fff;
    font-size: 12px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Banner */
.bannerCont {
    height: 300px;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.bannerContCompetition {
    background: url(../images/banner_competition.jpg) no-repeat center;
    background-size: cover;
}

/* 基础布局 */
.main {
    padding: 30px 0;
    background: #f5f5f5;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.wrap {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* 左侧布局 */
.contLeft {
    float: left;
    width: 260px;
    margin-right: 40px;
    position: relative;
}

/* 右侧布局 */
.contRight {
    float: right;
    width: 900px;
    position: relative;
    z-index: 1;
}

/* 右侧头部 */
.contRightH {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contRightTit {
    float: left;
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

.contRightH p {
    float: right;
    color: #999;
}

.contRightH p a {
    color: #999;
}

.contRightH p a:hover {
    color: #00CA9D;
}

/* 左侧标题 */
.contLeftTit {
    width: 100%;
    height: 116px;
    text-align: center;
    background: rgba(0,202,175,0.95);
    color: #fff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}

.contLeftTit span {
    display: block;
    padding-top: 22px;
}

.contLeftTit span i {
    font-size: 24px;
}

.contLeftTit h2 {
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    margin-top: 6px;
}

.contLeftTit h3 {
    font-size: 12px;
    line-height: 18px;
}

/* 左侧导航 */
.contLeftNav {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.contLeftNav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contLeftNav ul li {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.contLeftNav ul li:last-child {
    border-bottom: none;
}

.contLeftNav ul li h3 {
    margin: 0;
}

.contLeftNav ul li h3 a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contLeftNav ul li h3 a:hover {
    color: #00CA9D;
    background: #f9f9f9;
}

.contLeftNav ul li.on h3 a {
    color: #fff;
    background: #00CA9D;
}

/* 内容区域基础样式 */
.section-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 25px;
    min-height: 500px;
    position: relative;
}

/* Section 样式 */
.section {
    display: none;
}

.section.active {
    display: block;
}

/* 赛事介绍部分 */
.competitionIntro {
    margin-bottom: 30px;
}

.competitionIntro p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* 参赛指南部分 */
.guideSteps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* 大赛赛道部分 */
.projectList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* 最新动态部分 */
.newsList {
    margin-top: 30px;
}

.timelineItem {
    position: relative;
    padding: 20px 0;
    border-left: 2px solid #e0e0e0;
    margin-left: 20px;
    margin-bottom: 30px;
}

.timelineDate {
    position: absolute;
    left: -70px;
    background: #fff;
    padding: 5px 10px;
    font-weight: bold;
    color: #333;
}

.timelineContent {
    margin-left: 30px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timelineContent h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.timelineContent p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.newsDetails {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.newsDetails h5 {
    color: #444;
    margin-bottom: 10px;
    font-size: 16px;
}

.newsDetails ul {
    list-style: none;
    padding-left: 0;
}

.newsDetails ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #666;
}

.newsDetails ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
}

.projectShowcase {
    margin-top: 20px;
}

.showcaseItem {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.showcaseItem h5 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.projectTags {
    margin-top: 15px;
}

.projectTags span {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f4ff;
    color: #007bff;
    border-radius: 15px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.sectionTitle {
    color: #333;
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

/* 赛事介绍 */
.competitionIntro {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.competitionHighlights {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}

.highlight {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.highlight i {
    font-size: 36px;
    color: #00CA9D;
    margin-bottom: 20px;
}

.highlight h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.highlight p {
    color: #666;
    margin-bottom: 15px;
}

.highlight ul {
    text-align: left;
    padding-left: 20px;
}

.highlight ul li {
    color: #666;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.highlight ul li:before {
    content: '•';
    color: #00CA9D;
    position: absolute;
    left: 0;
    top: 0;
}

/* 参赛指南 */
.guideSteps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}

.step {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.step i {
    font-size: 36px;
    color: #00CA9D;
    margin-bottom: 20px;
}

.step h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.step p {
    color: #666;
    margin-bottom: 20px;
}

.stepDetail {
    text-align: left;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.stepDetail h5 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.stepDetail ul {
    padding-left: 20px;
}

.stepDetail ul li {
    color: #666;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.stepDetail ul li:before {
    content: '•';
    color: #00CA9D;
    position: absolute;
    left: 0;
    top: 0;
}

/* 大赛赛道 */
.projectCategories {
    margin-bottom: 30px;
    text-align: center;
}

.category {
    display: inline-block;
    padding: 8px 20px;
    margin: 0 10px;
    color: #666;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category.active,
.category:hover {
    background: #00CA9D;
    color: #fff;
}

.projectList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.projectCard {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.projectCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.projectImg {
    height: 200px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.projectImg i {
    color: #00CA9D;
    transition: transform 0.3s ease;
}

.projectCard:hover .projectImg i {
    transform: scale(1.1);
}

.projectOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projectCard:hover .projectOverlay {
    opacity: 1;
}

.projectType {
    color: #fff;
    background: #00CA9D;
    padding: 5px 15px;
    border-radius: 15px;
    margin-bottom: 10px;
}

.projectLink {
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    padding: 5px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.projectLink:hover {
    background: #fff;
    color: #00CA9D;
}

.projectInfo {
    padding: 20px;
}

.projectInfo h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.projectInfo p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.projectTags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.projectTags span {
    background: #f0f2f5;
    color: #666;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .wrap {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .contLeft {
        width: 220px;
        margin-right: 30px;
    }
    .contRight {
        width: calc(100% - 250px);
    }
    .projectList {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .contLeft {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    .contRight {
        float: none;
        width: 100%;
    }
    .contLeftTit {
        position: relative;
        top: 0;
        margin-bottom: 20px;
        border-radius: 4px;
    }
    .competitionHighlights,
    .guideSteps {
        flex-direction: column;
    }
    .highlight,
    .step {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .wrap {
        padding: 0 15px;
    }
    .section-container {
        padding: 20px;
    }
    .sectionTitle {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .bannerCont {
        height: 300px;
    }
    .projectList {
        grid-template-columns: 1fr;
    }
    .category {
        margin: 5px;
    }
}

/* 新闻列表样式 */
.newsItem {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
}

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

.newsDate {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.newsContent {
    position: relative;
}

.newsContent h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    padding-right: 80px;
}

.newsTag {
    position: absolute;
    top: 0;
    right: 0;
    background: #00CA9D;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.newsContent p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.newsHighlights {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.newsHighlights h5 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.newsHighlights ul {
    list-style: none;
    padding-left: 0;
}

.newsHighlights ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #666;
}

.newsHighlights ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #00CA9D;
}

.newsMore {
    display: inline-block;
    color: #00CA9D;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsMore:hover {
    color: #008B6B;
}

.newsMore i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.newsMore:hover i {
    transform: translateX(5px);
}
