/*
Theme Name:   baoxie-shufa
Template:     shufa
*/

@charset "utf-8";
/*首页*/
.example ol{
	position: absolute;
	width: 80px;
	height: 20px;
	margin: 5px;
	background:  transparent;;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}
.example ol li.seleted{
	background: #1AA4CA;
}
.luara-{
	position:relative;
	padding:0;
	overflow: hidden;
}
.luara- ul{
	padding: 0;
	margin: 0;
}
.luara- ul li{
	display: none;
	width: 500px;
	height: 300px;
	line-height: 300px;
	overflow: hidden;
	text-align: center;
}
.luara- ul a{
	text-align: center;
	vertical-align: middle;
	display: inline-block;
}
.luara- ul li:first-child{
	display:block;
}
.luara- ul img{
	height: 100%;
	vertical-align: middle;
	display: inline-block;
}
.com-logo img{
    min-height: 150px;
    max-height:200px;
    width:auto;
    display:block;
}
/* 背景图 */
.sy-box {
    background-image: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), url('static/images/bx-bg.jpeg');
    background-repeat: no-repeat ;
    background-position: center top ;
    background-attachment: fixed ; 
    background-size: cover ; 
}
@media screen and (max-width: 768px) {
    .sy-box {
        background-size: auto 100% !important; 
        background-position: 80% top !important; 
    }
    
    .example, 
    .example ul, 
    .example ul li {
        width: 100% !important;
        height: auto !important; 
        max-height: none !important;
        line-height: normal !important; 
    }

    .example {
        aspect-ratio: 500 / 334; 
        overflow: hidden;
        position: relative;
    }

    .example ul li img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover; 
        display: block;
    }

    .example ol {
        width: auto !important;
        left: 50%;
        transform: translateX(-50%);
        bottom: 5px;
        margin: 0 !important;
    }
}

/*轮播图样式-wan*/
.dynamic-pic,.dynamic-list,.event-01,.event-02{
	float: left;
	width: 50%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.dynamic-list ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
.dynamic-pic,.event-01{
	padding-right: 30px;
}
.dynamic-list,.event-02{
	padding-left: 30px;
}
.dynamic-pic img{
	width: 100%;
	height:auto;
	display: block;
}
.sy-news-border {
    width: 100%;
    border-bottom: 1px dotted #986c33;
    padding: 20px 0;         
    margin: 0;
    position: relative;
}
.dynamic-news {
    font-size: 18px;
    color: #333;
    display: block;
    width: calc(100% - 110px);
    line-height: 1.5;         
    white-space: normal;      
    overflow: hidden;
    text-decoration: ellipsis;
    padding: 0;
}
.dynamic-news:hover{
	color: #986C33;
	text-decoration: none;
}
.sy-news-border span{
	position: absolute;
	right: 30px;
	bottom: 15px;
}
.dynamic-news.leader-news {
    font-size: 18px;
    color: #333;
    display: block;
    width: 100%;
    line-height: 1.5;         
    white-space: normal;      
    overflow: visible;
    text-decoration: none;
    padding: 0;
}

/* 首页的移动端自适应调整 */
@media screen and (max-width: 768px) {
    
    .dynamic-pic, 
    .dynamic-list, 
    .event-01, 
    .event-02 {
        width: 100% ;
        float: none ;
        padding-left: 0 ;
        padding-right: 0 ;
        margin-bottom: 20px;
    }

    .leader-grid ul {
        justify-content: space-between; /* 两端对齐 */
        margin: 0; 
    }
    
    .leader-item {
        /* 手机端依然保持一行2个，但宽度自适应，减去间距 */
        width: calc(50% - 10px); 
        margin: 0 0 15px 0;
    }

    .leader-pic-box {
        width: 100%;
        max-width: 150px; 
        height: auto;     
        aspect-ratio: 3 / 4; 
        margin: 0 auto 5px;
    }

    .leader-name {
        font-size: 13px;
        white-space: normal; /* 允许换行 */
        line-height: 1.2;
    }

    .dynamic-list .sy-news-border {
        padding: 12px 0;
    }
    
    .dynamic-news {
        font-size: 16px; /* 手机端标题稍微缩小一点 */
    }
    .com-logo img{
        max-height: 20px;
    }
}

/* 悬浮窗样式 */
.side-float-bar {
    position: fixed;
    right: 20px;
    bottom: 150px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-item {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: 1px solid #986C33; /* 使用你网站的主题棕色 */
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.side-item:hover {
    background-color: #986C33;
}

/* 图标容器居中布局 */
.side-icon-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.side-text {
    font-size: 10px;
    color: #986C33;
    line-height: 1;
    margin-top: 2px;
}

.side-item:hover .side-text, 
.side-item:hover .icon-top, 
.side-item:hover .icon-wechat {
    color: #fff;
    border-color: #fff;
}

/* 纯CSS绘制图标 - 公众号 */
.icon-wechat {
    width: 18px;
    height: 14px;
    border: 2px solid #986C33;
    border-radius: 3px;
    position: relative;
}
.icon-wechat::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #986C33;
    left: 3px; top: 3px;
    box-shadow: 7px 0 0 #986C33;
}

/* 纯CSS绘制图标 - 返回顶部箭头 */
.icon-top {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid #986C33;
    margin-bottom: 2px;
}

/* 二维码弹出框 */
.qr-code-popup {
    position: absolute;
    right: 60px;
    bottom: -10px;
    width: 140px;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}
.qr-code-popup::after {
    content: '';
    position: absolute;
    right: -6px;
    bottom: 25px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: rotate(45deg);
    border-right: 1px solid #eee;
    border-top: 1px solid #eee;
}
.qr-code-popup img {
    width: 120px;
    height: 120px;
    display: block;
    margin-bottom: 5px;
}
.qr-code-popup p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* 鼠标经过显示二维码 */
.qr-code-item:hover .qr-code-popup {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

/* 返回顶部初始隐藏 */
.back-to-top {
    display: none; 
}

/* --- 移动端适配 (缩小) --- */
@media screen and (max-width: 768px) {
    .side-float-bar {
        right: 10px;
        bottom: 80px;
    }
    .side-item {
        width: 40px;
        height: 40px;
    }
    .side-text {
        display: none; /* 手机端隐藏文字只留图标 */
    }
    .qr-code-popup {
        right: 50px;
    }
}

/* 产业基地等移动端调整 */
@media screen and (max-width: 768px) {
    
    /* === 产业基地（Orbit轮播图） === */
    div.orbit-wrapper {
        padding: 0 !important;
        height: auto !important;
    }

    div.orbit {
        margin-left: 0 !important;
        margin-top: 20px !important;
        width: 100% !important;
        height: 240px !important; 
        overflow: hidden;
    }

    div.orbit a img {
        /* 强制图片居中显示，并缩小到 80% 宽度，留出左右给箭头 */
        width: 85% !important;
        height: auto !important;
        aspect-ratio: 4 / 3;
        left: 50% !important; 
        top: 0 !important;
        transform: translateX(-50%) !important; /* 强制水平居中 */
        position: absolute !important;
        z-index: 10;
        border-width: 2px !important;
    }

    /* 箭头 */
    div.slider-nav span {
        width: 35px !important;
        height: 60px !important;
        top: 50% !important;
        margin-top: -30px !important; /* 垂直居中 */
        background-size: 80% !important;
        z-index: 100;
    }

    div.slider-nav span.left {
        left: 0px !important;
        background-position: left center !important;
    }

    div.slider-nav span.right {
        right: 0px !important;
        background-position: right center !important;
    }

    /* 标题盒子 */
    .com-title-box {
        display: block !important; /* 手机端取消 flex，改回块级 */
        text-align: left;
        padding: 10px 15px !important;
    }
    .com-title-more {
        float: right;
        margin-top: -30px; 
    }

    /* === 移动端华表获奖作品展示、视频互动 === */
    .award-carousel-container ul.award-carousel-list li {
        width: 150px !important;       
        padding-left: 10px !important; 
    }
    .award-carousel-wrapper .prev { 
        left: -5px !important;     /* 贴近边缘 */
    }
    .award-carousel-wrapper .next { 
        right: -5px !important;    /* 贴近边缘 */
    }

    /* === 3. 四会名企 (无缝滚动)  === */
    .marqueeleft {
        width: 100% !important;    
        margin: 20px auto !important;
    }
    
    /* === 4. 防止未来开启备用模块时崩溃 === */
    #wrapper-02, #carousel {
        width: 100% !important;
    }
}

/*行业资讯*/
.event-sub-title{
	font-size: 18px;
	text-align: center;
	color: #333;
	line-height: 30px;
	font-weight: bold;
}
.event-01{
	border-right: 1px solid #986C33;
}
.event-more{
	float: right;
	font-size: 14px;
	padding-top: 20px;
	color: #a80110;
}
.event-more:hover{
	color: #986C33;
}
/*产业基地轮播图*/
div.orbit-wrapper { 
	position: relative; 
	overflow: visible; 
}
div.orbit { 
	position: relative; 
	overflow: hidden;
	margin-left: 110px;
	margin-top: 40px;
}
div.orbit span { 
	display:none;
}
div.orbit a img{ 
	position: absolute; 
	display:block;
	z-index: 100;
	width: 350px;
	height: 280px;
	box-shadow: 0 3px 8px rgba(0,0,0,0.5); 
	padding:3px; 
	border: #986C33 1px solid; 
	background:#fff;
	object-fit: cover;
	object-position: center;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
div.orbit-wrapper h4{ 
	display: none; 
}
div.timer {
	display: none;
}
div.slider-nav { 
	display: block; 
}
div.slider-nav span { 
	width: 40px; 
	height: 120px;  
	color: #fff; 
	text-align: center; 
	position: absolute; 
	z-index: 100; 
	top: 110px; 
	cursor: pointer; 
	text-indent:-9999px;
}
div.slider-nav span.right { 
	right: -60px; 
	background: url(static/images/sy-arrow-right.png) no-repeat right center; 
}
div.slider-nav span.left { 
	left:0;
	background: url(static/images/sy-arrow-left.png) no-repeat left center; 
}

/*视频互动*/
.video-interaction-carousel .award-img-box {
    position: relative;
    background-color: #ffffff; /* 视频加载前显示黑色背景 */
    cursor: pointer;
    display: block;
    overflow: hidden;
}

/* 播放按钮遮罩层：全覆盖且初始透明度 */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15); 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    z-index: 5;
}

/* 播放图标：纯 CSS 绘制的高级圆形图标 */
.play-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(152, 108, 51, 0.85); 
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* 播放图标内部的白色三角形 */
.play-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%; 
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px; 
    border-color: transparent transparent transparent #ffffff;
}

/* --- 悬停互动效果 --- */

/* 遮罩变深 */
.award-img-box:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* 图标放大并变色 */
.award-img-box:hover .play-icon {
    transform: scale(1.15);
    background-color: #986C33; 
    box-shadow: 0 0 20px rgba(152, 108, 51, 0.6);
}

/* 底图缩放 */
.award-img-box:hover img {
    transform: scale(1.1);
}

/* 标题在视频互动下美观 */
.video-interaction-carousel .award-author-title {
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
}

.video-interaction-carousel li:hover .award-author-title {
    color: #986C33;
}

/*领导班子网格*/
.leader-grid {
    width: 100%;
    margin: 0 auto;
}

.leader-grid ul {
    display: flex;
    flex-wrap: wrap;
    margin: -10px; /* 负边距抵消内边距 */
    padding: 0;
    list-style: none;
}

.leader-item {
    width: calc(50% - 20px);  
    margin: 10px;           
    text-align: center;
    box-sizing: border-box;
}

/* 图片框：固定高度，宽度自适应 */
.leader-pic-box {
    width: 150px;
    height: 200px;
    margin-left: auto;  
    margin-right: auto;   
    overflow: hidden;
    margin-bottom: 8px;
    background-color: #f8f8f8;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.leader-pic-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;         
    object-position: center;    
    transition: transform 0.3s ease; 
}

.leader-pic-box img:hover {
    transform: scale(1.05);     /* 悬停微放大，增加交互感 */
}

/* 姓名样式 */
.leader-name {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    padding: 0 5px;
    white-space: nowrap;    
    overflow: hidden;
    text-overflow: ellipsis;  
    background-color: transparent; /* 背景透明 */
    font-weight: 500;
}

/* 动画模板页面的自适应 */
@media screen and (max-width: 768px) {
    .text-content-mobile {
        padding: 5px 0 20px 0;
        text-align: justify; /* 两端对齐，边缘更整齐 */
        line-height: 2;      /* 增大行间距，适合阅读 */
        font-size: 15px;     /* 字号微调 */
        color: #444;
    }
    
    /* 防止文章内部如果有大图撑爆屏幕 */
    .text-content-mobile img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
        margin: 10px auto;
        border-radius: 4px;
    }
}

/*华表获奖作品展示 - 2行3列网格*/
.award-carousel-container {
	overflow: hidden;
	width: 100%;
    padding: 0 40px;
     box-sizing: border-box;
}
.award-carousel-container ul.award-carousel-list {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: flex-start; 
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 5px;
}
.award-carousel-container ul.award-carousel-list li {
    flex: 0 0 auto;   
    width: 260px;    
    text-align: center;
    box-sizing: border-box;
    padding: 0 10px;
}

/* 华表获奖作品展示 - 左右箭头统一控制 */
.award-carousel-wrapper .prev, 
.award-carousel-wrapper .next {
    display: block;
    z-index: 1000;
    overflow: hidden;
    width: 30px;
    height: 60px;
    margin-left: 0 !important; 
    position: absolute;
    top: 50%; 
    transform: translateY(-50%);
}

.award-carousel-wrapper .prev {
	background: url(static/images/sy-arrow-left.png) no-repeat;
	background-size: 60%;
	background-position: left center;
	left: 5px;
}
.award-carousel-wrapper .prev:hover {
	left: -5px;
}			
.award-carousel-wrapper .next {
	background: url(static/images/sy-arrow-right.png) no-repeat;
	background-size: 60%;
	background-position: right center;
	right: 5px;
}
.award-carousel-wrapper .next:hover {
	right: -5px;
}
.award-group-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    text-align: center;
    padding: 20px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.sy-main-bg {
    background-repeat: repeat-y;
    overflow: hidden; 
	padding:10px;
}

/* 关键裁剪规则：容器大小固定，图片等比拉伸裁剪 */
.award-img-box {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3; /* 设置固定的宽高比，比如 4:3 或 1:1 */
	overflow: hidden;    
	background-color: #f5f5f5; 
}

.award-img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;      /* 自动等比例缩放并填满容器，多余部分裁剪 */
	object-position: center;/* 确保主体居中不被裁掉 */
	display: block;
	transition: transform 0.3s ease; 
}

.award-img-box:hover img {
	transform: scale(1.05);  
}

/* 标题文字样式 */
.award-author-title {
	display: block;
	margin-top: 12px;
	font-size: 14px;
	color: #333;
	text-decoration: none;
	line-height: 1.5;
	white-space: nowrap;      /* 标题过长则不换行 */
	overflow: hidden;         /* 标题过长隐藏 */
	text-overflow: ellipsis;  /* 标题过长显示省略号 */
}
.award-author-title:hover {
	color: #0056b3;           /* 鼠标悬浮时的文字颜色 */
}

#wrapper-02 .prev, #wrapper-02 .next {
	display: block;
	z-index: 1000;
	overflow: hidden;
	width: 30px;
	height: 60px;
	margin-left: 10px;
	position: absolute;
	top: 70px;				
}
#wrapper-02 .prev {
	background: url(static/images/sy-arrow-left.png) no-repeat;
	background-size: 60%;
	background-position: left center;
	left: 0;
}
#wrapper-02 .prev:hover {
	left: -5px;
}			
#wrapper-02 .next {
	background: url(static/images/sy-arrow-right.png) no-repeat;
	background-size: 60%;
	background-position: right center;
	right: 0;
}
#wrapper-02 .next:hover {
	right: -5px;
}				

/*四会名企*/
.marqueeleft{
	height:70px;
	width:1080px;
	overflow:hidden;
	margin:40px auto;
}
.marqueeleft ul{
	float:left;
}
.marqueeleft li{
	float:left;
	margin:0 20px;
	display:inline;
	width:110px;
	height:70px;
	overflow:hidden;
}
.marqueeleft li .pic{
	display: inline-block;
	/*border:#ccc 1px solid;*/
	width:110px;
	height:70px;
	padding:2px;
	overflow:hidden;
	text-align: center;
}
.marqueeleft .pic img{
	width: 100%;
	height: 100%;
	vertical-align: middle;
	display: inline-block;
	object-fit:contain;
}
/*---------协会概况-----------*/
.concept1 { 
	width: 1080px; 
	margin: 0 auto; 
	overflow: hidden; 
	position: relative;
}
.concept1 .concept-wrap1 { 
	width: 1080px; 
	margin: 40px auto; 
	position: relative;
}
.concept-wrap1 .con-item1{ 
	position: relative; 
	float: left; 
	overflow: hidden;
}
.sfgl-jz{
	width: 75px;
	height: 870px;
	z-index: 999;
}
.sfgl-jz-right{
	width: 75px;
	height: 870px;
	position: absolute;
	right: -1px;
	top:0;
	display: none;
}
.concept-wrap1 .con-item1 img { 
	cursor: pointer; 
	width: 100%;
	display: block;
}
.concept-wrap1 .con-box1 { 
	background: url('static/images/sfgl-jz-bg.jpg') no-repeat center 0; 
	-webkit-background-size: cover; 	
	-moz-background-size: cover; 
	-o-background-size: cover; 
	background-size: cover; 
	width: 855px; 
	height: 820px;
	display: block; 
	border: 1px solid #986C33;
	position: absolute; 
	top: 25px; 
	left: 75px;
}
/*协会简介内容*/
.sx-intro{
	width: 700px;
	margin: 20px auto;
	color: #333;
	overflow-x: hidden;
}
.name-list{
	height: 780px;
	overflow-y: auto;
	scrollbar-base-color: #986C33;
	scrollbar-arrow-color: #fff;
}
.con-box1 h3{
	font-size: 24px;
	text-align: center;
	margin-bottom: 20px;
}
.sx-intro p{
	font-size: 16px;
	line-height: 48px;
	text-align: justify;
}
.sx-intro .sx-margin{
	margin-top: 20px;
}
/*协会动态*/
.sx-hd-list{
	width: 100%;
	border-bottom: 1px solid #986C33;
	position: relative;
}
.sx-hd-list a{
	font-size: 16px;
	color: #333;
	line-height: 50px;
	display: block;
	width: 80%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sx-news-date{
	font-size: 14px;
	color: #4c4c4c;
	position: absolute;
	right: 0;
	bottom: 16px;
}
.sx-hd-list a:hover { 
	color: #986C33; 
}
.page-box{
	width:400px;
	margin: 0 auto;
}
.page-float{
	float:left;
	margin: 0 10px;
}
.page{
	display: block;
	width: 30px;
	height: 30px;
	font-size: 20px;
	color: #bfbfbf;
	text-align: center;
	line-height: 30px;
	background-color: #fff;
	border: 1px solid #986C33;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.page:hover{
	background-color: #897660;
	color: #fff;
}
.page-float .current-page{
	background-color: #897660;
}
.current-page{
	background-color: #897660;
}
.news-kist-iframe{
	width: 855px;
	height: 810px;
	border: none;
}
/*主席团名单*/
.sx-padding{
	padding:0 50px;
	width: 740px;
}

.sx-padding h4{
	font-size: 16px;
	font-weight: bolder;
	padding: 20px 0 10px 0;
}
.sx-padding p{
	font-size: 14px;
	line-height: 26px;
	color: #4C4C4C;
}
/*协会动态-详情页*/
.com-title-more .crumbs{
	float: left;
	color: #000;
}
.sx-detail-title{
	width: 80px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.crumbs:hover{
	color: #986C33;
}
.sx-nr-title{
	font-size: 30px;
	color: #000;
	text-align: center;
	padding: 20px 0 60px 0;
}
.article-content h5{
	font-size: 20px;
	color: #333;
	text-indent: 40px;
	line-height: 36px;
}
.article-content p{
	font-size: 18px;
	color: #4c4c4c;
	text-indent: 40px;
	line-height: 30px;
}
.sx-nr-text a{
	color: #4c4c4c;
}
.sx-nr-text:hover a{
	color: #986C33;
}
.sx-nr-date{
	float: right;	
	padding: 30px 0;
}
.sx-btn{
	width: 192px;
	margin: 80px auto;
}
.sx-btn a{
	border: 1px solid #473619;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	text-align: center;
	font-size: 30px;
	color: #473619;
	background-color: #fff;
	padding: 10px 20px;
}
.sx-btn a:hover{
	background-color: #473619;
	color: #fff;
}

/*-----------会员风采-------------------*/
.caution{
	text-align: right;
	font-size: 18px;
	line-height: 30px;
	margin-bottom: 10px;
	color: #333;
	font-weight: bold;
}
.member-style-box{
	float: left;
	margin: 0 5px;
	margin-bottom: 10px;
}
.member-style-pic{
	display: block;
	width: 170px;
	height: 210px;
	line-height: 210px;
}
.member-style-pic img{
	width: 100%;
	vertical-align: middle;
	display:inline-block;
}
.member-name{
	display: block;
	text-align: center;
	font-size: 18px;
	color: #333;
	line-height: 40px;
}
.member-name:hover{
	color: #986C33;
}
/*会员风采页码边距*/
.member-page{
	margin-left: auto;
	margin-right: auto;
	margin-top: 60px;
	margin-bottom: 100px;
}
/*会员风采---个人详情*/
.personal-head-nav,.train-head-nav{
	position: absolute;
	top:170px;
	left: 50%;
	margin-left: -540px;
}
.personal-nav,.train-nav{
	float: right;
}
.personal-nav-item,.train-nav-item{
	float: left;
	padding: 0 20px;
}
.personal-float{
	float: left;
	width: 50%;
}
.personal-pic{
	width: 170px;
	margin: 0 auto;
}
.personal-pic img{
	width: 100%;
}
.personal-text{
	width: 80%;
	font-size: 16px;
	color: #333;
	text-indent: 32px;
	line-height: 38px;
	text-align: justify;
}
.personal-text .personal-name{
	font-size: 30px;
	color: #000;
	padding: 0 5px;
}
/*个人作品*/
/*图片点击放大*/
.personal-works-float{
	float: left;
	margin-bottom: 30px;
	width: 33.33%;
}
.imgContainer{
	cursor: pointer;
	width: 300px;
	height: 390px;
	line-height: 390px;
	padding: 3px;
	background-color: #fff;
	border: 1px solid #986C33;
	margin: 0 auto;
	overflow: hidden;
}
.imgContainer img{
	width: 100%;
	display: inline-block;
	vertical-align: middle;
}
.expander-container.open {
  visibility: visible;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
  z-index: 999999;
}
.expander-container:before,
.expander-container {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.expander-siv.show {
  -webkit-transition: all 1000ms ease;
  -moz-transition: all 1000ms ease;
  -o-transition: all 1000ms ease;
  -ms-transition: all 1000ms ease;
  transition: all 1000ms ease;
  z-index: 100;
  pointer-events: all;
  visibility: visible;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.expander-siv {
  -webkit-transition: all 1000ms ease;
  -moz-transition: all 1000ms ease;
  -o-transition: all 1000ms ease;
  -ms-transition: all 1000ms ease;
  transition: all 1000ms ease;
  z-index: -1;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
}
.expander-container {
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -ms-perspective: 1000;
  perspective: 1000;
  z-index: -1;
  text-align: center;
  visibility: hidden;
}
.expander-container > div {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.expander-container img {
  width: auto;
  height: auto;
  max-width: 95%;
  max-height: 95%;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.expander-siv.theme.dark {
  background-color: rgba(0, 0, 0, 0.79);
}
.expander-container.theme.dark img {
  -webkit-box-shadow: 0px 0px 10px #000000;
  -moz-box-shadow: 0px 0px 10px #000000;
  box-shadow: 0px 0px 10px #000000;
}
.expander-container.open.turn3d img {
  -o-transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  transform: rotateY(0deg);
}
.expander-container.open.rotate img {
  -o-transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}
.expander-container.fade img {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
}
.expander-container.open.fade img {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.expander-container.open.diamond img {
  -o-transform: rotateX(360deg) rotateY(-360deg);
  -webkit-transform: rotateX(360deg) rotateY(-360deg);
  -moz-transform: rotateX(360deg) rotateY(-360deg);
  -ms-transform: rotateX(360deg) rotateY(-360deg);
  transform: rotateX(360deg) rotateY(-360deg);
}

/**/
/*荣誉*/
.personal-honor{
	float: left;
	width: 50%;
	font-size: 16px;
	color: #000;
}
.honor-right{
	padding-right: 30px;
	border-right: 1px solid #986C33;
}
.honor-left{
	padding-left: 30px;
}
.honor-list{
	margin-bottom: 20px;
	position: relative;
}
.honor-rank{
	position: absolute;
	right: 0;
	bottom: 0;
}

/*图片翻转*/
@-webkit-keyframes flipOutYtest {
  from {
    -webkit-transform:  perspective(1400px);
    -moz-transform:  perspective(1400px);
    -ms-transform:  perspective(1400px);
    -o-transform:  perspective(1400px);
    transform:  perspective(1400px);
  }

  40% {
    -webkit-transform:  perspective(1400px) rotate3d(0, 1, 0, 60deg);
    -moz-transform:  perspective(1400px) rotate3d(0, 1, 0, 60deg);
    -ms-transform:  perspective(1400px) rotate3d(0, 1, 0, 60deg);
    -o-transform:  perspective(1400px) rotate3d(0, 1, 0, 60deg);
    transform:  perspective(1400px) rotate3d(0, 1, 0, 60deg);
    opacity: 1;
  }

  50% {
    -webkit-transform: perspective(1400px) rotate3d(0, 1, 0, 90deg);
    -moz-transform: perspective(1400px) rotate3d(0, 1, 0, 90deg);
    -ms-transform: perspective(1400px) rotate3d(0, 1, 0, 90deg);
    -o-transform: perspective(1400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(1400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0;
  }

  to {
    -webkit-transform: perspective(1400px) rotate3d(0, 1, 0, 180deg);
    -moz-transform: perspective(1400px) rotate3d(0, 1, 0, 180deg);
    -ms-transform: perspective(1400px) rotate3d(0, 1, 0, 180deg);
    -o-transform: perspective(1400px) rotate3d(0, 1, 0, 180deg);
    transform: perspective(1400px) rotate3d(0, 1, 0, 180deg);
    opacity: 0;
  }
}
.test{
  -webkit-animation: flipOutYtest 0.75s linear;
  -moz-animation: flipOutYtest 0.75s linear;
  animation: flipOutYtest 0.75s linear;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes flipInYtest {
  from {
    -webkit-transform: perspective(1400px) rotate3d(0, 1, 0, -180deg);
    -moz-transform: perspective(1400px) rotate3d(0, 1, 0, -180deg);
    -ms-transform: perspective(1400px) rotate3d(0, 1, 0, -180deg);
    -o-transform: perspective(1400px) rotate3d(0, 1, 0, -180deg);
    transform: perspective(1400px) rotate3d(0, 1, 0, -180deg);
    opacity: 0;
  }

  50% {
    -webkit-transform: perspective(1400px) rotate3d(0, 1, 0, -90deg);
    -moz-transform: perspective(1400px) rotate3d(0, 1, 0, -90deg);
    -ms-transform: perspective(1400px) rotate3d(0, 1, 0, -90deg);
    -o-transform: perspective(1400px) rotate3d(0, 1, 0, -90deg);
    transform: perspective(1400px) rotate3d(0, 1, 0, -90deg);
    opacity: 0;
  }
  60% {
    -webkit-transform: perspective(1400px) rotate3d(0, 1, 0, -60deg);
    -moz-transform: perspective(1400px) rotate3d(0, 1, 0, -60deg);
    -ms-transform: perspective(1400px) rotate3d(0, 1, 0, -60deg);
    -o-transform: perspective(1400px) rotate3d(0, 1, 0, -60deg);
    transform: perspective(1400px) rotate3d(0, 1, 0, -60deg);
    opacity: 1;
  }

  to {
    -webkit-transform: perspective(1400px);
    -moz-transform: perspective(1400px);
    -ms-transform: perspective(1400px);
    -o-transform: perspective(1400px);
    transform: perspective(1400px);
    opacity: 1;
  }
}
.test2{
  -webkit-animation: flipInYtest 0.75s linear;
  animation: flipInYtest 0.75s linear;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.well{ 
	width: 1080px;  
	min-height: 450px;
  	margin-left: auto; 
  	margin-right: auto; 
  	margin-bottom: 30px;
  	height: auto; 
}
.well .well-item{ 
	position: relative; 
	float: left; 
	width: 300px; 
	min-height: 400px; 
	margin: 0 30px;
}
.well .well-item img{
  width: 100%;
  min-height: 400px;
}
.correct{
  position: absolute;
  width: 100%;
}
.opposite{
  min-height: 400px;
  width: 100%;
}
.opposite div{
  min-height: 400px;
  width: 100%;
}
.opposite-content{
  display: table;
  width: 100%;
  min-height: 400px;
  background-color: #D95E22;
}
.opposite-content-text{ 
	display: table-cell; 
	vertical-align: middle; 
	text-align: center; 
	color: white; 
	font-size: 24px; 
}

/*---------教育培训-----------------*/
.train-pic-box{
	width:32%;
	float: left;
	margin: 0 0.5%;
}
.train-pic{
	width: 350px;
	width: 100%;
}
.train-pic img{
	width: 350px;
	display: block;
}
.train-text{
	display: block;
	text-align: center;
	font-size: 16px;
	color: #333;
	padding: 20px 0;
}
.train-text:hover{
	color: #986C33;
}
.train-page{
	margin-top: 30px;
	margin-bottom: 60px;
	margin-left: auto;
	margin-right: auto;
}
/*培训基地-内页*/
.train-base-pic{
	width: 450px;
	margin: 0 auto;
}
.train-base-pic img{
	width: 100%;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}
.train-base-title{
	font-size: 24px;
	text-align: center;
	color: #333;
	line-height: 36px;
}
.train-base-text{
	padding: 0 10px;
	font-size: 16px;
	line-height: 30px;
	text-indent: 32px;
	color: #333;
}




/*联系我们*/
.contact-content-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 0;
}

.center-wrap {
    flex: 1;
    min-width: 320px; /* 保证手机端自动换行 */
    padding: 0 30px;
    box-sizing: border-box;
}

/* 左侧：联系信息美化 */
.contact-info-title {
    font-size: 22px;
    color: #333;
    font-weight: bold;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 5px solid #986C33; /* 主题棕色竖线 */
    line-height: 1.2;
}

/* 列表行间距优化 */
.contact-content-area p {
    font-size: 16px;
    line-height: 2.2; /* 增大行间距，更易读 */
    color: #444;
    margin-bottom: 10px;
    border-bottom: 1px dashed #eee; /* 增加极淡的下划线作为视觉分割 */
}

/* 右侧：二维码区域美化 */
.erweima-wrap {
    display: flex;
    flex-direction: column;
    align-items: center; /* 强制所有子元素水平居中 */
    justify-content: center;
    height: 100%;
}

.erweima-wrap span {
    display: block;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* 增加阴影，更有立体感 */
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.erweima-wrap span:hover {
    transform: translateY(-5px); /* 鼠标经过微动效 */
}

.erweima-wrap img {
    width: 160px !important;
    height: 160px !important;
    display: block;
}

.erweima-wrap > p {
    margin-top: 15px !important;
    font-size: 15px !important;
    color: #888 !important;
    font-weight: bold;
    letter-spacing: 2px;
    border: none !important; /* 取消二维码下方文字的下划线 */
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .center-wrap {
        padding: 0 15px;
        margin-bottom: 40px;
    }
    .contact-info-title {
        font-size: 18px;
    }
}

/*会员中心*/
.hy-nr-title{
	font-size: 24px;
	color: #000;
	text-align: center;
	padding: 20px 0 60px 0;
}
.hy-nr-text p{
	font-size: 16px;
	color: #4c4c4c;
	line-height: 40px;
}
.enclosure{
	font-size: 16px;
	color: #000;
	line-height: 100px;
}
.enclosure a{
	color: #0010e8;
}
/*精品鉴赏--获奖作品*/
.yb-name ul li{
	border-top: 1px dotted #897660;
	padding: 30px 0;
}
.yb-name ul li:first-child{
	border: none;
}
.yb-name span{
	display: block;
	font-size: 16px;
	float: left;
	width: 30px;
	margin-right: 60px;
	font-weight: bold;
	color: #333;
	padding: 10px 0;
}
.yb-name .yb-name-list{
	float: right;
	width: 980px;
}
.yb-name .yb-name-list a{
	text-align: center;
	font-size: 16px;
	float: left;
	color: #333;
	white-space: nowrap;
	padding: 10px 18px;
}
.yb-name .yb-name-list a:hover{
	text-decoration: underline;
	color: #897660;
}

/*作品详情页*/
.yb-title-box{
	margin: 50px 0;
}
.yb-title{
	font-size: 30px;
	color: #333;
	text-align: center;
}
.yb-works p{
	font-size: 16px;
	text-align: center;
}
.yb-works-box{
	width: 300px;
	margin: 0 auto;
}
.yb-works-float{
	/*float: left;*/
	margin-bottom: 30px;
	/*width: 33.33%;*/
}
.yb-works-float .imgContainer{
	width: 300px;
	height: 390px;
	line-height: 390px;
 	text-align: center;
}
.yb-works-float .imgContainer img{
	width:100%;
 	display: inline-block;
 	vertical-align:middle;
}
.yb-works-float p{
	font-weight: bold;
	color: #333;
	font-size: 18px;
	text-align: center;
	line-height: 30px;
}

.train-box {
    display: flex;
    flex-wrap: wrap;       /* 开启弹性盒子自动换行 */
}
.train-pic-box {
    float: none !important; /* 取消传统的左浮动，避免高度卡位 */
    margin-bottom: 30px;
}
.train-pic {
    width: 100% !important;
    aspect-ratio: 4 / 3;   /* 强制锁定缩略图的宽高比（4:3），高度绝对统一 */
    overflow: hidden;
    background-color: #f5f5f5;
}
.train-pic img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;     /* 图片自动裁剪居中，绝不变形 */
}
.train-text {
    display: block;
    white-space: nowrap;   
    overflow: hidden;
    text-overflow: ellipsis; 
    padding: 15px 5px !important;
    text-align: center;
}

/* --- 搜索框美化与定位 --- */
.mbg_topnav {
    display: inline-block !important;
    float: none !important;
    vertical-align: middle;
}

/* 搜索框容器：绝对定位到右上角，不占菜单地方 */
.custom-search-box {
    position: absolute;
    right: 0;
    top: 50%; 
    z-index: 999;
}

/* 搜索框外观 */
#searchform {
    display: flex;
    align-items: center;
    border: 1px solid #986C33; /* 统一主题棕色 */
    background: #fff;
    border-radius: 20px; /* 圆角设计更现代 */
    overflow: hidden;
    padding: 2px 2px 2px 10px;
    width: 150px; /* 限制总宽度 */
    transition: all 0.3s;
}

/* 鼠标点击输入框时略微增长 */
#searchform:focus-within {
    width: 200px;
    border-color: #d95e22;
}

#searchform input[type="text"] {
    border: none !important;
    outline: none !important;
    background: transparent;
    width: 100%;
    height: 24px;
    font-size: 13px;
    color: #666;
}

#searchform button[type="submit"] {
    background: #986C33;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 0 12px;
    height: 24px;
    line-height: 24px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 5px;
    transition: background 0.3s;
}

#searchform button[type="submit"]:hover {
    background: #897660;
}

/* 移动端适配：手机上隐藏或改为正常流 */
@media (max-width: 768px) {
    .custom-search-box {
        position: static;
        width: 100%;
        margin: 10px 0;
    }
    #searchform {
        width: 100%;
    }
}

/* 菜单样式 */
.mbg_topnav, .com-nav-bg {
    border-radius: 8px !important;
}

/* 首页（最左侧）：左上、左下变圆 */
.mbg_topnav > li:first-child,
.mbg_topnav > li:first-child > a {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

/* 党群工作（最右侧）：右上、右下变圆 */
.mbg_topnav > li:last-child,
.mbg_topnav > li:last-child > a,
.mbg_topnav > li:last-of-type,
.mbg_topnav > li:last-of-type > a {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}




/* --- 搜索页面全局变量 --- */
:root {
    --primary-brown: #986C33;
    --primary-orange: #d95e22;
    --text-main: #333333;
    --text-muted: #888888;
    --bg-light: #f9f9f9;
    --card-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* --- 搜索页 Banner 样式 --- */
.search-page-banner {
    width: 100%;
    height: 320px; /* Banner 的总高度，足够容纳导航栏并留出空白 */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f4ede5; /* 图片加载不出来时的备用浅棕底色 */
    clear: both; /* 强制清除上方导航栏的浮动干扰 */
}

/* 容器布局 */
.search-page-container {
    padding-top: 40px; /* 因为上面有 Banner 挡着了，这里的留白就可以变小，不再显得空旷 */
    padding-bottom: 60px;
    background-color: var(--bg-light);
    min-height: 70vh;
    position: relative;
    z-index: 10;
}

.custom-search-box {
    z-index: 9999; /* 确保搜索框始终在最前面 */
}

/* 头部样式 */
.search-header {
    margin-bottom: 40px;
    border-bottom: 2px solid var(--primary-brown);
    padding-bottom: 15px;
}

.search-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.search-result-title {
    font-size: 26px;
    margin: 0;
    color: var(--text-main);
}

.search-result-title .label { color: var(--primary-brown); }
.search-result-title .query-word { color: var(--primary-orange); font-weight: bold; }

.search-count { color: var(--text-muted); font-size: 15px; margin: 0; }
.search-count span { color: var(--primary-brown); font-weight: bold; }

/* 搜索结果卡片 */
.search-card {
    background: #ffffff;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 0px solid var(--primary-brown);
    overflow: hidden;
}

.search-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(152, 108, 51, 0.15);
    border-left: 5px solid var(--primary-brown);
}

.card-content { padding: 25px; }

.card-title { margin: 0 0 15px 0; font-size: 20px; line-height: 1.4; }
.card-title a { color: #222; text-decoration: none; transition: color 0.2s; }
.card-title a:hover { color: var(--primary-brown); }

/* 文字截断 2行 */
.card-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}

/* 高亮样式 */
.search-highlight {
    color: var(--primary-orange);
    background-color: rgba(217, 94, 34, 0.05);
    padding: 0 2px;
    font-weight: 500;
}

/* 卡片底部 */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.post-date { font-size: 13px; color: var(--text-muted); }
.read-more { font-size: 14px; color: var(--primary-brown); font-weight: 600; text-decoration: none; }
.read-more:hover { text-decoration: underline; }

/* 分页美化 (针对 WordPress 默认结构) */
.search-pagination { margin-top: 50px; text-align: center; }
.search-pagination ul { 
    display: inline-flex; 
    list-style: none; 
    padding: 15px; 
    gap: 8px; 
    flex-wrap: wrap;
    justify-content: center;
}

.search-pagination a, .search-pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
    background: #fff;
}

.search-pagination .current {
    background: var(--primary-brown);
    border-color: var(--primary-brown);
    color: #fff;
}

.search-pagination a:hover {
    border-color: var(--primary-brown);
    color: var(--primary-brown);
}

/* 无结果页面 */
.search-no-results {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
}
.no-results-icon { margin-bottom: 20px; }
.search-no-results h2 { color: #444; margin-bottom: 10px; }
.search-no-results p { color: #999; margin-bottom: 30px; }
.back-home-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-brown);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.back-home-btn:hover { opacity: 0.9; color: #fff; }

/* 响应式适配 */
@media (max-width: 768px) {
    .search-page-container { padding-top: 40px; }
    .search-title-wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
    .search-result-title { font-size: 20px; }
    .card-content { padding: 15px; }
    .card-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
    .card-title { font-size: 18px; }
}



/* --- 内页通用 Banner 样式 --- */
.page-banner {
    width: 100%;
    height: 230px; /* Banner高度，可根据设计调整 */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f4ede5; 
	position: relative;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), #fff);
    pointer-events: none;
}

/* --- 默认页主内容容器样式 --- */
.page-content-container {
    background-color: #ffffff; 
    padding: 1px 0 30px; 
    position: relative; 
    z-index: 10;
}

/* 优化页面标题和面包屑的样式 */
.com-title-box {
    margin-bottom: 30px;
    margin-top: 0px;
    padding-bottom: 10px;
    border-bottom: 2px solid #986C33; /* 主题棕色下划线 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.com-title-box .com-title {
    font-size: 28px;
    margin: 0;
}
.com-title-box .com-title-more {
    font-size: 14px;
    color: #888;
}

.hy-nr-text {
    line-height: 1.8;
    font-size: 16px;
	padding-bottom: 10px;
}

.wrapper {
    width: 100%;
    max-width: 1080px;
    margin: 10px auto;
    padding: 0 15px; 
    box-sizing: border-box;
}

.contact-content-area {
    padding: 20px 0 60px 0;
}

.center-wrap {
    width: 50%; /* 电脑端左右各占一半 */
    float: left;
    box-sizing: border-box;
    padding: 10px 20px;
}

.contact-wrap {
    width: 100%;
    max-width: 400px; /* 限制最大宽度，保持排版精致 */
    margin: 0 auto;
}

.contact-info-title {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #986C33; /* 主题棕色竖线 */
    line-height: 1;
}

@media screen and (max-width: 768px) {
    
    /* 标题和面包屑改为上下排列 */
    .com-title-box {
        flex-direction: column;
        align-items: flex-start !important;
        padding-bottom: 15px;
    }
    .com-title-box .com-title {
        margin-bottom: 12px;
        font-size: 24px;
    }

    /* 左右分栏改为上下单列展示 */
    .center-wrap {
        width: 100%;
        float: none;
        padding: 0;
        margin-bottom: 40px;
    }

    /* 二维码居中对齐处理 */
    .erweima-wrap {
        margin: 0 auto;
    }
}

/* --- 文章详情页容器single --- */
.article-rich-text {
    width: 100%;
    overflow: visible; 
    line-height: 1.8;
    color: #333;
    font-size: 16px;
    padding: 20px 0;
}

.article-page-container {
    margin-top: 15px;
}

/* 针对内容的全局限制 (排除掉视频播放器内部元素) */
.article-rich-text img,
.article-rich-text figure,
.article-rich-text iframe,
.article-rich-text table {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 15px auto;
}

/* 只对直接子级 div 或者非播放器 div 进行宽度限制 */
.article-rich-text > div:not(.wp-video), 
.article-rich-text p {
    max-width: 100%;
    margin-bottom: 15px;
}

/* 视频播放器 (WordPress 默认 MediaElement.js)  */
.is-video-post .article-rich-text {
    background: transparent; 
    padding: 20px 0;
    color: #333; /* 改为正常的深灰色字体 */
}

/*  WordPress 默认视频容器 */
.article-rich-text .wp-video {
    width: 100% !important; 
    max-width: 900px !important; 
    margin: 0 auto 30px auto !important; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 4px;
    background: #000;
    display: block !important; /* 强制作为独立块，防止文字环绕 */
    clear: both !important;    /* 清除周围浮动，防止文字钻到底下 */
    overflow: hidden;          /* 防止内部播放器溢出撑破排版 */
}

/* MediaElement.js 容器比例 */
.article-rich-text .mejs-container {
    width: 100% !important;
    background: #000;
    font-family: Arial, Helvetica, sans-serif;
}

/* 强制视频元素填满播放器 */
.article-rich-text video.wp-video-shortcode {
    width: 100% !important;
    height: 100% !important;
    display: inline-block;
}

/*  视频下方正文排版 */
.is-video-post .article-rich-text p {
    color: #070707;
    font-size: 16px;
    max-width: 800px;
    margin: 20px auto;
    text-indent: 0; 
    line-height: 1.8;
}

/* 移动端适配：视频高度在手机上自动缩放 */
@media screen and (max-width: 768px) {
    .is-video-post .article-rich-text {
        padding: 15px 10px;
    }
    .article-rich-text .wp-video {
        max-width: 100% !important;
    }
}

/* 正文内容介绍部分 (Flex 布局) */
.article-intro-section {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.intro-image {
    flex: 0 0 350px;
    overflow: hidden;
}

.intro-image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
    padding: 4px;
    box-sizing: border-box;
    display: block;
}

.intro-text { 
    flex: 1; 
}

.article-main-title { 
    font-size: 26px; 
    color: #333; 
    margin-top: 0; 
    margin-bottom: 15px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.article-summary { 
    text-align: justify; 
    color: #666; 
}

/*  作品展示网格 (3列) */
.works-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.works-item {
    width: calc(33.333% - 10px);
}

.img-container-box {
    border: 1px solid #986C33;
    padding: 3px;
    background: #fff;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.img-container-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* 分割线装饰 */
.section-divider {
    text-align: center;
    border-bottom: 1px solid #ddd;
    height: 12px;
    margin: 60px 0 30px;
}

.section-divider span {
    background: #fff;
    padding: 0 25px;
    font-size: 18px;
    color: #986C33;
    font-weight: bold;
    position: relative;
    top: -5px;
}

/* 8补充图集/活动现场 (翻转相册) */
.photo-album-grid.well {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

/*  移动端自适应 (手机端) */
@media screen and (max-width: 768px) {
    .article-intro-section { 
        flex-direction: column; 
        gap: 15px; 
    }
    
    .intro-image { 
        width: 100%; 
        flex: auto; 
    }
    
    .works-item { 
        width: calc(50% - 8px); 
    }
    
    .article-main-title {
        font-size: 20px;
    }
    
    .is-video-post .article-rich-text {
        padding: 20px 10px;
    }
    
    /* 手机端隐藏复杂的面包屑避免错位 */
    .breadcrumb-wrapper {
        display: none;
    }
}
/* 上下篇导航样式 */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    margin: 50px 0 30px;
    padding-top: 20px;
    font-size: 15px;
}

.post-navigation .nav-prev,
.post-navigation .nav-next {
    width: 48%; /* 限制宽度，防止标题过长挤压 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.post-navigation a:hover {
    color: #986C33;
}

/* 手机端适配：改为上下两行排列 */
@media screen and (max-width: 768px) {
    .post-navigation {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .post-navigation .nav-prev,
    .post-navigation .nav-next {
        width: 100%;
        text-align: left;
    }
}