:root {
    --primary: #15336e;
    --secondary: #866A2D;
    --accent: #f7b733;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --transition: all 0.3s ease;
    --shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f6f7;
    color: #333;
    line-height: 1.6;
}

.w {
    max-width: 93.75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.space {
    height: 3.75rem;
}

.header-placeholder {
    height: 5rem;
    background: linear-gradient(to right, var(--primary), #2a5298);
}

/* Banner 区域 */
.indexBanner {
    position: relative;
    height: 40vh;
    min-height: 18.75rem;
    overflow: hidden;
    border-radius: 0 0 1.25rem 1.25rem;
    box-shadow: var(--shadow);
}

.indexBanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
    color: white;
}

.banner-overlay h1 {
    font-size: 40px;
    margin-bottom: 0.9375rem;
    text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
}

.banner-overlay p {
    font-size: 19.2px;
    max-width: 43.75rem;
    opacity: 0.9;
}

/* 卡片区域 */
.indexCardContainer {
    margin-top: -32px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.sessionCard {
    display: flex;
    gap: 10px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    border-radius: 0.9375rem;
    transition: var(--transition);
}

.sessionCard:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-hover);
}

.sessionCard::before {
    border: 0.0625rem solid #e0e0e0;
    border-radius: 50%;
    content: "";
    display: block;
    width: 480px;
    height: 480px;
    left: -10%;
    position: absolute;
    top: 10%;
    z-index: 1;
}

.sessionCardLeft {
    width: 100%;
    padding: 30px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.sessionCardLeft .sessionCardLeftTitle {
    font-size: 32px;
    font-weight: 700;
    width: 30%;
    color: var(--primary);
    position: relative;
    padding-bottom: 0.9375rem;
}

.sessionCardLeft .sessionCardLeftTitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 0.25rem;
    background: var(--secondary);
    border-radius: 0.125rem;
}

.sessionCardLeft .sessionCardLeftContent {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.sessionCardLeft .sessionCardLeftContent p {
    font-size: 17.6px;
    font-weight: 400;
    color: var(--gray);
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-indent: 2em;
}

.sessionCardLeft .sessionCardLeftContent .sessionCardLeftContentButton {
    width: 50%;
    padding: 16px;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0.3125rem;
    transition: var(--transition);
    cursor: pointer;
}

.sessionCardLeft .sessionCardLeftContent .sessionCardLeftContentButton:hover {
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.3125rem 0.9375rem rgba(134, 106, 45, 0.3);
}

.sessionCardLeft .sessionCardLeftContent .sessionCardLeftContentButton a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.sessionCardRight {
    width: 55%;
    overflow: hidden;
    position: relative;
}

.sessionCardRight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4.375rem;
    height: 4.375rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: var(--secondary);
    font-size: 2.625rem;
}

/* 奖项覆盖区域 */
.awardReach {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(26, 42, 108, 0.9), rgba(26, 42, 108, 0.9)), url('/static/image/bg.png');
    background-size: cover;
    background-position: center;
    gap: 32px;
    padding: 80px 0;
    border-radius: 0.9375rem;
    box-shadow: var(--shadow);
}

.awardReach .awardReachTitle {
    font-size: 40px;
    color: white;
    position: relative;
    padding-bottom: 0.9375rem;
}

.awardReach .awardReachTitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 0.25rem;
    background: var(--accent);
    border-radius: 0.125rem;
}

.awardReachNumScroll .awardReachNumScrollContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
}

.awardReachNumScroll .awardReachNumScrollContainer .awardReachNumScrollItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.875rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.625rem;
    backdrop-filter: blur(0.3125rem);
    transition: var(--transition);
}

.awardReachNumScroll .awardReachNumScrollContainer .awardReachNumScrollItem:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-0.5rem);
}

.awardReachNumScroll .awardReachNumScrollContainer .awardReachNumScrollItem .awardReachNumScrollItemNum {
    font-size: 64px;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.awardReachNumScroll .awardReachNumScrollContainer .awardReachNumScrollItem .awardReachNumScrollItemTitle {
    font-size: 19.2px;
    font-weight: 600;
    color: white;
    margin-top: 0.9375rem;
}

.awardReachNumScrollItemNum .unit {
    font-size: 32px;
    font-weight: 600;
    color: var(--accent);
}

/* 新闻区域 */
.news-section {
    background: white;
    border-radius: 0.9375rem;
    padding: 3.125rem 0 !important;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.3125rem;
    background: linear-gradient(to right, var(--secondary), var(--accent));
}

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

.section-header h2 {
    font-size: 35.2px;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 0.9375rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 0.25rem;
    background: var(--secondary);
    border-radius: 0.125rem;
}

.section-header p {
    font-size: 17.6px;
    color: var(--gray);
    max-width: 43.75rem;
    margin: 0.9375rem auto 0;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
    padding: 0 1.25rem;
}

.news-card {
    background: #fff;
    border-radius: 0.625rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 0.0625rem solid var(--light-gray);
}

.news-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-hover);
}

.news-image {
    height: 12.5rem;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 0.9375rem;
    right: 0.9375rem;
    background: rgba(26, 42, 108, 0.85);
    color: white;
    padding: 0.3125rem 0.75rem;
    border-radius: 1.25rem;
    font-size: 14.4px;
    font-weight: 600;
}

.news-content {
    padding: 1.5625rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-tag {
    display: inline-block;
    background: rgba(134, 106, 45, 0.1);
    color: var(--secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1.25rem;
    font-size: 13.6px;
    font-weight: 600;
    margin-bottom: 0.9375rem;
}

.news-title {
    font-size: 22.4px;
    color: var(--dark);
    margin-bottom: 0.9375rem;
    transition: var(--transition);
}

.news-title:hover {
    color: var(--primary);
}

.news-excerpt {
    color: var(--gray);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.9375rem;
    border-top: 0.0625rem solid var(--light-gray);
    margin-top: auto;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.author-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
}

.author-name {
    font-size: 15.2px;
    font-weight: 600;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary);
    gap: 0.5rem;
}

.view-all-news {
    text-align: center;
    margin-top: 2.5rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.875rem;
    background: linear-gradient(to right, var(--primary), #2a5298);
    color: white;
    border-radius: 1.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.view-all-btn:hover {
    transform: translateY(-0.3125rem);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(to right, #2a5298, var(--primary));
}

.view-all-btn i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.view-all-btn:hover i {
    transform: translateX(0.3125rem);
}

/* 大赛日程区域 */
.competitionSchedule {
    margin-top: 64px;
    text-align: center;
    padding: 1.875rem;
    background: white;
    border-radius: 0.9375rem;
    box-shadow: var(--shadow);
}

.competitionSchedule h2 {
    font-size: 35.2px;
    color: var(--primary);
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.9375rem;
}

.competitionSchedule h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 0.25rem;
    background: var(--secondary);
    border-radius: 0.125rem;
}

/* 时间轴容器样式 */
.timeline-container {
    padding: 3.125rem 0;
    background-color: #f9f9f9;
    margin-bottom: 2.5rem;
}

.timeline {
    position: relative;
    max-width: 75rem;
    margin: 0 auto;
    padding: 1.25rem 0;
}

/* 中心线 */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0.25rem;
    background: linear-gradient(to bottom, var(--accent), var(--secondary));
    border-radius: 0.25rem;
    transform: translateX(-50%);
    box-shadow: 0 0 0.625rem rgba(71, 118, 230, 0.3);
}

/* 时间轴项目样式 */
.timeline-item {
    position: relative;
    margin-bottom: 3.75rem;
    width: 100%;
    display: flex;
}

/* 交替布局 */
.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 1.875rem);
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 1.875rem);
}

/* 时间点样式 */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 1.25rem;
    width: 1.5rem;
    height: 1.5rem;
    background: #ffffff;
    border: 0.25rem solid var(--secondary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 0.25rem rgba(148, 135, 18, 0.3);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background: var(--secondary);
    box-shadow: 0 0 0 0.5rem rgba(148, 135, 18, 0.3);
    transform: translateX(-50%) scale(1.2);
}

/* 日期标签样式 */
.timeline-date {
    position: absolute;
    top: 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent);
    padding: 0.3125rem 0.9375rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.25rem;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: calc(50% + 2.5rem);
}

.timeline-item:nth-child(even) .timeline-date {
    left: calc(50% + 2.5rem);
}

/* 内容卡片样式 */
.timeline-content {
    background: #ffffff;
    padding: 1.5625rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 28.125rem;
    transition: all 0.4s ease;
    position: relative;
    border-left: 0.3125rem solid var(--accent);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 0.3125rem solid var(--secondary);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    background: #ffffff;
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -0.625rem;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -0.625rem;
}

.timeline-content h3 {
    margin: 0 0 0.625rem;
    font-size: 1.25rem;
    color: #333333;
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
}

/* 悬浮效果 */
.timeline-item:hover .timeline-content {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.9375rem 2.1875rem rgba(0, 0, 0, 0.15);
}

/* 响应式调整 */
@media (max-width: 48rem) {
    .timeline::before {
        left: 1.875rem;
    }

    .timeline-item {
        padding-left: 4.375rem !important;
        padding-right: 0 !important;
        justify-content: flex-start !important;
    }

    .timeline-dot {
        left: 1.875rem;
    }

    .timeline-date {
        position: relative;
        top: 0;
        left: 0 !important;
        right: auto !important;
        display: inline-block;
        margin-bottom: 0.625rem;
    }

    .timeline-content {
        max-width: 100%;
    }

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

    .timeline-item:nth-child(even) .timeline-content {
        border-right: none;
        border-left: 0.3125rem solid var(--secondary);
    }
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.buttons button {
    padding: 0.875rem 2.1875rem;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    color: #fff;
    border: none;
    border-radius: 1.875rem;
    cursor: pointer;
    font-size: 17.6px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.buttons button:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.5rem 1.25rem rgba(134, 106, 45, 0.4);
}

.buttons button i {
    font-size: 19.2px;
}

/* 响应式设计 */
@media screen and (max-width: 68.75rem) {
    .sessionCard::before {
        width: 320px;
        height: 320px;
        top: 15%;
    }
}

@media screen and (max-width: 62rem) {
    .sessionCardLeft {
        padding: 48px;
    }

    .sessionCardLeft .sessionCardLeftTitle {
        font-size: 28.8px;
    }

    .awardReachNumScroll .awardReachNumScrollContainer .awardReachNumScrollItem .awardReachNumScrollItemNum {
        font-size: 56px;
    }
}

@media screen and (max-width: 48rem) {
    .sessionCard {
        flex-direction: column-reverse;
        gap: 0;
    }

    .sessionCard .sessionCardLeft {
        width: 100%;
        padding: 32px;
    }

    .sessionCard .sessionCardRight {
        width: 100%;
        height: 18.75rem;
    }

    .sessionCardLeft .sessionCardLeftTitle,
    .sessionCardLeft .sessionCardLeftContent {
        width: 100%;
    }

    .sessionCard::before {
        top: 55%;
        left: -20%;
    }

    .awardReachNumScroll .awardReachNumScrollContainer {
        grid-template-columns: repeat(1, 1fr);
    }

    .awardReachNumScroll .awardReachNumScrollContainer .awardReachNumScrollItem {
        padding: 1.875rem;
    }

    .banner-overlay h1 {
        font-size: 32px;
    }

    .banner-overlay p {
        font-size: 16px;
    }

    .indexBanner {
        height: 35vh;
    }

    .news-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 36rem) {
    .sessionCardLeft .sessionCardLeftTitle {
        font-size: 25.6px;
    }

    .sessionCardLeft .sessionCardLeftContent p {
        font-size: 16px;
    }

    .awardReach .awardReachTitle {
        font-size: 32px;
    }

    .competitionSchedule h2 {
        font-size: 28.8px;
    }

    .scheduleItem {
        min-width: 100%;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .buttons button {
        width: 100%;
        max-width: 18.75rem;
    }
}

.footer {
    background: linear-gradient(to right, #15336e, #2a5298);
    color: white;
    padding: 3.75rem 0 1.25rem;
    margin-top: auto;
}

.footer-container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem;
}

.footer-brand h2 {
    font-size: 35.2px;
    margin-bottom: 0.625rem;
    position: relative;
    display: inline-block;
}

.footer-brand h2::after {
    content: '';
    position: absolute;
    bottom: -0.625rem;
    left: 0;
    width: 3.75rem;
    height: 0.1875rem;
    background: #866a2d;
}

.footer-brand p {
    font-size: 17.6px;
    letter-spacing: 0.1875rem;
    opacity: 0.8;
    margin-top: 0.9375rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5625rem;
}

.contact-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.contact-group h3 {
    font-size: 20.8px;
    margin-bottom: 0.3125rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.contact-group h3 i {
    color: #866a2d;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.9375rem;
    margin-bottom: 0.5rem;
}

.contact-detail i {
    color: #ffd700;
    min-width: 1.25rem;
    margin-top: 0.1875rem;
}

.contact-detail span {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 1.25rem;
}

.copyright {
    font-size: 15.2px;
    opacity: 0.8;
}

.beian {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.9375rem;
    border-radius: 0.3125rem;
    font-size: 14.4px;
}

.social-links {
    display: flex;
    gap: 0.9375rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 19.2px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #866a2d;
    transform: translateY(-0.1875rem);
}

@media (max-width: 48rem) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-title h2 {
        font-size: 32px;
    }

    .header-content {
        flex-direction: column;
        gap: 1.25rem;
    }
}

@media (max-width: 30rem) {
    .contact-detail {
        /*flex-direction: column;*/
        gap: 0.3125rem;
    }
}

.contactDetails {
    display: contents;
}

.contactList {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 60px;
}

.contactItem {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contactItem:hover {
    background-color: #f1f1f1;
}

.contactItem dt {
    font-weight: bold;
    color: #15336e;
    min-width: 80px;
    text-align: left;
}

.contactItem dd {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.sessionCardLeftContentButtonGroup {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 30px;
}
