/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    background-color: #AF0F12;
    min-height: 100vh;
    color: #333;
}

/* 头部样式 */
.header {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.header img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.hdzt-text {
    position: relative;
    color: #9B7560;
    font-size: 16px;
    line-height: 30px;
    text-align: justify;
    text-indent: 2em;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 主内容区域 */
.main-content {
    max-width: 1200px;
    margin: -27vw auto 0;
    padding: 20px;
    position: relative;
    z-index: 5;
}

/* 通用部分样式 */
.section {
    margin-bottom: 100px;
    position: relative;
    box-sizing: border-box;
    border: 6px solid #f6c687;
}

.section-title {
    position: absolute;
    width: 400px;
    height: 95px;
    left: 50%;
    top: -45px;
    /* 标题高度的一半 */
    margin-left: -174px;
    /* 宽度的一半 */
    z-index: 2;
    text-align: center;
    line-height: 62px;
}

.section-title img {
    width: 400px;
    height: 95px;
    display: block;
}

.section-content {
    padding-top: 50px;
    padding-bottom: 25px;
    background: #fff;
    box-sizing: border-box;
    padding-left: 35px;
    padding-right: 35px;
    position: relative;
}

/* 活动资讯内容区域需要额外样式 */
.hdzx .section-content {
    padding-top: 50px;
    padding-left: 25px;
    padding-right: 25px;
    background: #fff;
}

/* 新闻布局 - 左右分栏 */
.news-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 左侧轮播图容器 */
.carousel-container {
    flex: 0 0 52%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    /* 5:3 宽高比 */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

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

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    padding: 20px 15px 10px;
    font-size: 14px;
    line-height: 1.5;
}



/* 右侧文章列表容器 */
.article-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-section-title {
    color: #C62828;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-section-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.article-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 15px;
    border: 1px dashed #E8C894;
}



.article-dot {
    color: #C62828;
    font-size: 20px;
    line-height: 24px;
    margin-right: 8px;
    flex-shrink: 0;
}

.article-link {
    color: #333;
    font-size: 15px;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.article-link:hover {
    color: #C62828;
    text-decoration: underline;
}

.view-more {
    margin-top: 20px;
    padding-top: 15px;
    text-align: center;
}

.view-more-link {
    color: #C62828;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.view-more-link:hover {
    color: #8B0000;
}

.content-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 征集类别部分 */
.zjlb {
    margin-top: 80px;
    margin-bottom: 60px;
    /* 增加顶部间距 */
}

.zjlb-content {
    padding-top: 50px;
    padding-bottom: 25px;
    padding-left: 25px;
    padding-right: 25px;
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.category-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-item:nth-child(1),
.category-item:nth-child(2),
.category-item:nth-child(3) {
    grid-column: span 2;
}

.category-item:nth-child(4),
.category-item:nth-child(5) {
    grid-column: span 3;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item img {
    width: 100%;
    height: auto;
    display: block;
}


/* 申报信息部分 */
.sbtj-area {
    margin-top: 0px;
    padding: 20px;
    border: 3px solid #F3EADE;
    margin-bottom: 30px;
    background-color: #FEF8F0;
}

.sbtj-area:last-of-type {
    margin-bottom: 0;
}

.area-title {
    color: #C62828;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.area-content {
    color: #666;
    font-size: 16px;
    line-height: 28px;
    text-align: justify;
    text-indent: 2em;
    margin-bottom: 20px;
}

/* 申报推荐卡片 */
.sbtj-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.sbtj-card {
    background: #B82629;
    border: 2px solid #E8C894;
    padding: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.sbtj-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(184, 38, 41, 0.4);
}

.card-title {
    width: 196px;
    height: 48px;
    background-image: url('https://kunming.cn/ztalbum/statics/2025/20251205ynznlzbhd/images/titleBg2.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: #b90c11;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 48px;
    margin: 0 auto;
    padding: 0;
}

.card-content {
    color: #FFF;
    font-size: 16px;
    line-height: 24px;
    text-align: justify;
    text-indent: 2em;
    margin-top: 16px;
    padding: 0;
}

/* 申报信息底部按钮 */
.sbbx-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f6c687;
}

.sbbx-btn {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sbbx-btn:hover {
    transform: translateY(-5px);
}

.sbbx-btn img {
    width: 100%;
    height: auto;
    display: block;
}

/* 两栏布局 */
.process-guide {
    margin-bottom: 40px;
}

.two-column {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 40px;
    position: relative;
}

.column-title {
    text-align: center;
    margin-bottom: 20px;
}

.column-title img {
    max-width: 200px;
    height: auto;
}

.column-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 底部按钮区域 */
.bottom-buttons {
    margin: 40px 0;
    text-align: center;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bottom-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
}

.bottom-btn:hover {
    transform: scale(1.1);
}

.bottom-btn img {
    width: 250px;
    height: auto;
    display: block;
}



/* 响应式设计 - 仅540px断点 */
@media only screen and (max-width: 540px) {
    body {
        min-width: 320px;
        overflow-x: hidden;
    }

    /* 头部 */
    .header {
        width: 160%;
        margin-left: -30%;
    }

    /* 主内容区域 */
    .main-content {
        width: 100%;
        box-sizing: border-box;
        padding: 15px;
        margin-top: -57vw;
    }

    /* Section通用样式 */
    .section {
        margin-bottom: 20px;
        margin-top: 37px;
    }

    /* Section标题 - 使用绝对定位 */
    .section-title {
        width: 134px;
        height: 31px;
        top: -23px;
        margin-left: -67px;
        line-height: 31px;
    }

    .section-title img {
        width: 160px;
        height: 44px;
        display: block;
    }

    /* Section内容 */
    .section-content {
        padding: 25px 15px 15px;
    }

    /* 活动主题 */
    .hdzt {
        margin-top: 65px;
    }

    /* 活动主题文本 */
    .hdzt-text {
        font-size: 12px;
        line-height: 18px;
        padding: 15px 15px 15px;
    }

    /* 活动资讯内容 */
    .hdzx .section-content {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        padding: 25px 15px 15px;
    }

    /* 新闻布局改为垂直布局 */
    .news-layout {
        flex-direction: column;
        gap: 20px;
    }

    .carousel-container {
        flex: 0 0 100%;
        width: 100%;
    }

    .carousel-wrapper {
        padding-bottom: 56.25%;
        /* 16:9 宽高比 */
    }

    .carousel-caption {
        font-size: 12px;
        padding: 15px 10px 8px;
    }



    .article-list-container {
        width: 100%;
    }

    .article-section-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .article-section-desc {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .article-item {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .article-dot {
        font-size: 16px;
        line-height: 20px;
        margin-right: 6px;
    }

    .article-link {
        font-size: 13px;
        line-height: 20px;
    }

    .view-more {
        margin-top: 15px;
        padding-top: 12px;
    }

    .view-more-link {
        font-size: 12px;
    }

    /* 征集类别 */
    .zjlb {
        margin-top: 71px;
    }

    .zjlb-content {
        background: rgba(255, 255, 255, 0.95);
        padding: 25px 15px 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .category-item:nth-child(4),
    .category-item:nth-child(5) {
        grid-column: span 1;
    }

    .category-item img {
        width: 100%;
    }

    /* 申报信息部分 */
    .sbtj-area {
        margin-bottom: 20px;
    }

    .area-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .area-content {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 15px;
    }

    /* 申报推荐卡片 */
    .sbtj-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 15px;
    }

    .sbtj-card {
        padding: 12px 15px;
    }

    .card-title {
        width: 98px;
        height: 24px;
        font-size: 14px;
        line-height: 24px;
        background-size: cover;
    }

    .card-content {
        font-size: 12px;
        line-height: 18px;
        margin-top: 8px;
    }

    /* 申报信息底部按钮 */
    .sbbx-buttons {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
        padding-top: 20px;
    }

    /* 两栏布局 */
    .process-guide {
        margin-bottom: 20px;
    }

    .two-column {
        flex-direction: column;
        gap: 12px;
    }

    .column {
        min-width: unset;
        padding: 25px 15px 15px;
        /* 保持与其他section-content相同的padding */
        border-radius: 15px;
    }

    .column-title {
        margin-bottom: 15px;
    }

    .column-title img {
        max-width: 98px;
        height: 24px;
    }

    .column-content img {
        border-radius: 8px;
    }

    /* 底部按钮 */
    .bottom-buttons {
        margin: 20px 0;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .bottom-btn img {
        width: 140px;
    }
  
  .tt{ display: none; }
}