/* 云南乡土文化能人网站 - 四部分页面框架样式 */

/* 自定义字体引入 */
@font-face {
    font-family: '方正隶变简体';
    src: url('../fonts/FZLBJW.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 容器样式 - 固定1920px宽度 */
.container {
    width: 1920px;
    max-width: 100%;
    margin: 0 auto;
}

/* 第一部分 - bg1.png背景 */
.section1-1 {
    height: auto;
    background-image: url('../images/data/bg1_1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.section-1 {
    height: 1490px;
    background-image: url('../images/data/bg1.png');
    background-position: center;
    background-repeat: no-repeat;
}
.section-1 .section-content {
    height: 1490px;
}
.section-1 .section-content .title {
    display: block;
}


/* 第二部分 - bg2.png背景 */
.section-2 {
    height: 875px;
    display: block;
    background-image: url('../images/data/bg2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/* 第三部分 - bg3.png背景 */
.section-3 {
    background-image: url('../images/data/bg3.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 55px 0;
}

/* 第四部分 - bg4.png背景 */
.section-4 {
    height: 1100px;
    background-image: url('../images/data/bg4.png');
    background-position: center;
    background-repeat: no-repeat;
}

/* 视频专区样式 */
.video-section-header {
    padding-top: 65px;
    text-align: center;
    margin-bottom: 35px;
}

.video-section-header .section-title-img {
    max-width: 300px;
    height: auto;
}

/* 视频播放器容器 */
.video-player-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}
.video-player-container a .main-img{
    width: 1080px;
    height: 610px;
    max-width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: #000;
}

.main-video-player {
    width: 1080px;
    height: 610px;
    max-width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: #000;
}

/* 视频列表容器 */
.video-list-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-list-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.video-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.video-list::-webkit-scrollbar {
    height: 6px;
}

.video-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.video-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.video-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 视频项样式 */
.video-item {
    flex: 0 0 255px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.video-item.active {
    border: 3px solid #D4AF37;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.video-thumbnail {
    width: 100%;
    height: 185px;
    overflow: hidden;
    position: relative;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

/* 导航按钮样式 */
.video-nav-btn {
    width: 30px;
    height: 55px;
    border: none;
    background: #cea05c;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-nav-btn:hover {
    background: #D4AF37;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.video-nav-btn:active {
    transform: scale(0.95);
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D4A574, #B8956A);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #B8956A, #A0845C);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* 页面加载动画 */
.back-to-top {
    animation: slideInRight 0.8s ease-out 0.5s both;
}


/* 内容板块样式 */
.content-sections {
    display: block;
    max-width: 1400px;
    height: 430px;
    margin-left: auto;
    margin-right: auto;
}

/* 资讯动态板块 - 占2/3宽度 */
.news-section {
    width: 980px;
    height: 430px;
    display: block;
    float: left;
    border-radius: 12px;
}

/* 活动交流板块 - 占1/3宽度 */
.activity-section {
    width: 360px;
    height: 430px;
    display: block;
    float: right;
}

/* 板块标题样式 */
.section-header {
    width: 100%;
    height: 48px;
    margin: 40px auto;
}

.section-icon img{
    width: 100%;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #212121;
    font-family: 'FZLBJW';
    margin: 0;
}

/* 资讯列表样式 */
.news-list {
    margin-bottom: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 2px solid rgba(191, 129, 61, 0.15);
    transition: all 0.3s ease;
}

.news-item:hover {
    background: rgba(191, 129, 61, 0.05);
    padding-left: 10px;
    border-radius: 6px;
}

.news-title {
    font-size: 18px;
    color: #212121;
    height: 60px;
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
}

.news-title:hover {
    color: #97262c;
}

.more-link:hover {
    color: #7a1f24;
    text-decoration: underline;
}

/* 活动交流样式 */
.activity-list {
    margin-bottom: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 2px solid rgba(191, 129, 61, 0.15);
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(191, 129, 61, 0.05);
    padding-left: 10px;
    border-radius: 6px;
}

.activity-title {
    font-size: 18px;
    color: #212121;
    height: 60px;
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
}

.activity-title:hover {
    color: #97262c;
}

/* 资讯内容区域布局 */
.news-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 轮播图容器样式 */
.news-carousel {
    flex: 0 0 45%;
}

.carousel-container {
    position: relative;
    width: 455px;
    height: 350px;
    overflow: hidden;
    background: #fff;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

.carousel-image {
    width: 455px;
    height: 305px;
    object-fit: cover;
}

.carousel-caption {
    padding-left: 20px;
    background-color: #e7dfc7;
    height: 45px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.carousel-caption a {
    font-size: 18px;
    color: #bf813d;
    line-height: 20px;
    margin: 0;
    text-decoration: none;
    flex: 1;
}

/* 轮播图页码样式 */
.carousel-page-number {
    font-size: 20px;
    color: #fff;
    background-color: #c85951;
    padding: 10px 12px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 15px;
}

/* 轮播图导航按钮 */
.carousel-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: #75533d;
    /* 按钮半透明背景 */
    opacity: 0.8;
    border: none;
    font-size: 40px;
    line-height: 66px;
    color: #fff8ce;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(191, 129, 61, 0.9);
    color: #fff8ce;
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
}

.carousel-prev {
    left: 0px;
    border-radius: 0 50px 50px 0;
    width: 33px;
    height: 66px;
    padding-bottom: 4px;
    padding-right: 3px;
}

.carousel-next {
    right: 0px;
    border-radius: 50px 0 0 50px;
    width: 33px;
    height: 66px;
    padding-bottom: 4px;
    padding-left: 3px;
}

/* 新闻列表调整 */
.news-list {
    flex: 1;
    margin-bottom: 20px;
}

/* 特别策划样式 */
#swp1 .swiper-button-next, .swiper-button-prev{
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    background-color: rgba(191, 129, 61, 0.8);
    border: none;
    width: 40px;
    height: 50px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 10px 30px;
}
#swp1 .swiper-button-prev{
    padding-bottom: 4px;
    left: 18px;
    width: 40px;
    height: 50px;
    border-radius: 0 15px 15px 0;
    background-size: 10px 30px;
}
#swp1 .swiper-button-next{
    padding-bottom: 4px;
    right: 18px;
    width: 40px;
    height: 50px;
    border-radius: 15px 0 0 15px;
}
.special-planning-header {
    text-align: center;
    padding-top: 80px;
    margin-bottom: 40px;
}

.section-title-img {
    max-width: 300px;
    height: auto;
}

/* 特别策划轮播图容器 */
.special-carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.special-carousel {
    position: relative;
    width: 1285px;
    height: 555px;
    overflow: hidden;
}

.special-slides {
    position: relative;
    height: 555px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 1285px;
    height: 515px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.special-slide.active {
    opacity: 1;
    z-index: 2;
}

/* 特别策划卡片样式 */
.special-card {
    position: relative;
    width: 290px;
    height: 515px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-right: 30px;
}

.special-card:last-child {
    margin-right: 0;
}

.special-slide.active .special-card:hover {
    transform: translateY(-10px) scale(1.07) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
    z-index: 100 !important;
    position: relative !important;
}

.special-image {
    width: 100%;
    height: 515px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.special-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    text-align: center;
    background: #240807;
    /* 内容半透明背景 */
    opacity: 0.8;
    backdrop-filter: blur(5px);
}

.special-subtitle {
    font-size: 16px;
    color: #cda757;
    line-height: 1.5;
    text-decoration: none;
    margin: 0;
}

/* 特别策划导航按钮 */
.special-btn {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    background: rgba(191, 129, 61, 0.8);
    border: none;
    width: 40px;
    height: 50px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-btn:hover {
    background: rgba(191, 129, 61, 1);
    transform: translateY(-50%) scale(1.1);
}

.special-prev {
    padding-bottom: 4px;
    left: 18px;
    border-radius: 0 15px 15px 0;
}

.special-next {
    padding-bottom: 4px;
    right: 18px;
    border-radius: 15px 0 0 15px;
}

/* 能人风采板块样式 */
.talent-showcase-section {
    margin-bottom: 80px;
}

.talent-header {
    text-align: center;
    margin-bottom: 40px;
}

/* 地区标签样式 */
.region-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.region-tag {
    color: #212121;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.region-tag:hover {
    color: #97262c;
}

.region-tag.active {
    color: #97262c;
}

.region-tag:not(:last-child)::after {
    content: "|";
    margin-left: 10px;
    color: #212121;
}

/* 切换条样式 */
.talent-tabs {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    padding: 4px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.talent-tab {
    flex: 1;
    height: 4px;
    text-align: center;
    cursor: pointer;
    background-color: #8c7261;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin-right: 4px;
}

.talent-tab.active {
    background-color: #c7a261;
}

.talent-tab:hover:not(.active) {
    background-color: #8c7261;
}

/* 人物卡片样式 */
.swiper-container{
    width: 1285px;
}
/* .swp2{
    display: none;
} */
.swp2.swiper-container{
    width: 1285px;
    padding: 50px 0;
}
.swp2.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
    bottom: 0px;
}
.swp2 .swiper-pagination-bullet.swiper-pagination-bullet-active{
    background: #c7a261;
    opacity: 1;
}
.swp2 .swiper-pagination-bullet{
    width: 80px;
    height: 5px;
    opacity: 1;
    border-radius: 0;
    background: #8c7261;
}
.talent-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.talent-card {
    background: #f6f2ed;
    border-radius: 15px;
    padding: 18px;
    text-align: center;
    width: 220px;
    height: 400px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(205, 167, 87, 0.2);
}

.talent-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: #cda757;
}

.talent-card a {
    text-decoration: none;
}

.talent-avatar {
    width: 180px;
    height: 260px;
    margin: 0 auto 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(205, 167, 87, 0.3);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.talent-info {
    text-align: center;
}

.talent-name {
    font-size: 24px;
    font-weight: bold;
    color: #8b6914;
    margin: 0 0 6px 0;
}

.talent-description {
    font-size: 18px;
    color: #666;
    line-height: 1.2;
    margin: 0;
}

/* 遗产保护板块样式 */
.heritage-protection-section {
    margin-top: 80px;
}

.heritage-header {
    text-align: center;
    margin-bottom: 50px;
}

.heritage-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 遗产保护轮播图样式 */
.heritage-carousel-container {
    position: relative;
    width: 520px;
    height: 350px;
    overflow: hidden;
    background: #fff;
}

.heritage-carousel {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.heritage-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.heritage-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
}

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

.heritage-image {
    width: 520px;
    height: 305px;
    object-fit: cover;
}


.heritage-caption {
    padding-left: 20px;
    background-color: #e7dfc7;
    height: 45px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.heritage-caption a {
    font-size: 18px;
    color: #bf813d;
    line-height: 20px;
    margin: 0;
    text-decoration: none;
    flex: 1;
}

/* 轮播图页码样式 */
.heritage-page {
    font-size: 20px;
    color: #fff;
    background-color: #c85951;
    padding: 10px 12px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 15px;
}

/* 遗产保护导航按钮 */
.heritage-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: #75533d;
    /* 按钮半透明背景 */
    opacity: 0.8;
    border: none;
    font-size: 40px;
    line-height: 66px;
    color: #fff8ce;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heritage-btn:hover {
    background: rgba(191, 129, 61, 0.9);
    color: #fff8ce;
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
}

.heritage-prev {
    left: 0px;
    border-radius: 0 50px 50px 0;
    width: 33px;
    height: 66px;
    padding-bottom: 4px;
    padding-right: 3px;
}

.heritage-next {
    right: 0px;
    border-radius: 50px 0 0 50px;
    width: 33px;
    height: 66px;
    padding-bottom: 4px;
    padding-left: 3px;
}

/* 遗产保护文章列表样式 */
.heritage-articles {
    flex: 1;
    max-width: 600px;
}


.main-article-title {
    font-size: 24px;
    font-weight: bold;
    color: #212121;
    line-height: 2;
    margin: 0;
    text-decoration: none;
}

.heritage-news-list {
    font-size: 18px;
    color: #212121;
    height: 60px;
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
}

.heritage-news-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 2px solid rgba(191, 129, 61, 0.15);
    transition: all 0.3s ease;
}

.heritage-news-item:hover {
    background: rgba(191, 129, 61, 0.05);
    padding-left: 10px;
    border-radius: 6px;
}
.heritage-news-title {
    color: #212121;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.5;
    transition: color 0.3s ease;
    flex: 1;
}

.heritage-news-title:hover {
    color: #97262c;
}

/* 云岭文化骨干分页样式 */
.ylwhgg_page{
    height: 50px;
    text-align: center;
    margin-top: 20px;
}
.ylwhgg_page a{
    border: 1px solid var(--main-gray-color-light);
    color: var(--font-black-color);
    padding: 0 10px;
}
.ylwhgg_page span{
    background-color: var(--main-theme-color);
    color: var(--font-white-color);
    padding: 2px 10px;
}
@media screen and (max-width: 768px) {
    .carousel-image {
        width: 100%;
        height: 305px;
        object-fit: cover;
    }
    .section1-1{
        background: url(../images/data/bg.jpg) repeat-y center center;
    }
    .news-section{
        width: 100%;
        height: auto;
    }
    .news-content{
        flex-wrap: wrap;
    }
    .section-header{
        width: 100%;
        height: 30px;
        margin: 20px auto;
        text-align: center;
    }
    .section-header img{
        height: 100%;
        width: auto;
    }
    .news-carousel{
        flex: 0 0 100%;
    }
    .carousel-container{
        width: 100%;
    }
    .carousel-slides{
        width: 100%;
    }
    .container{
        width: 100%;
    }
    .swiper-container{
        width: 100%;
    }
    .swp2.swiper-container{
        width: 100%;
        padding: 20px 10px 50px;
    }
    .section-2{
        height: auto;
        padding-bottom: 50px;
    }
    .region-tags{
        display: flex;
        flex-wrap: nowrap;
        justify-content: start;
        gap: 15px;
        padding: 0 20px;
        overflow-x: scroll;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    .talent-card{
        height: auto !important;
        padding: 10px;
    }
    .talent-name{
        font-size: 16px;
    }
    .talent-description{
        font-size: 14px;
    }
    .talent-header{
        height: 30px;
    }
    .talent-header img{
        height: 100%;
        width: auto;
    }
    .talent-avatar{
        width: auto;
        height: auto;
    }
    .region-tag{
        min-width: 55px;
    }
    .region-tag:nth-child(12){
        min-width: 90px;
    }
    .heritage-content{
        flex-wrap: wrap;
    }
    .heritage-header{
        height: 30px;
        margin-bottom: 30px;
    }
    .heritage-header img{
        width: auto;
        height: 100%;
    }
    .heritage-news-list{
        height: auto;
    }
    .heritage-carousel-container{
        flex: 0 0 100%;
        width: auto;
        height: auto;
    }
    .heritage-carousel{
        width: 100%;
        height: 240px;
    }
    .heritage-slides{
        width: 100%;
        height: 100%;
    }
    .heritage-slide{
        width: 100%;
    }
    .heritage-image{
        width: auto;
        height: auto;
    }
    .video-player-container a .main-img{
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .video-list-container{
        max-width: 100%;
    }
    .video-section-header{
        padding-top: 0;
        height: 30px;
    }
    .video-section-header img{
        width: auto;
        height: 100% !important;
    }
    .section-4{
        padding-top: 30px;
        height: auto;
    }
    .talent-showcase-section{
        margin-bottom: 30px;
    }
    .heritage-protection-section{
        margin-top: 30px;
    }
    .special-planning-header{
        height: 30px;
        margin-bottom: 20px;
    }
    .special-image{
        height: 680px;
    }
    .section-title-img{
        width: 38%;
    }
    .activity-section{
        height: 365px;
    }
    .heritage-carousel-container{
        background: initial;
    }
    .swiper-container.swp-container{
        padding-top: 70px;
    }
}

