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

@charset "utf-8";
/*首页*/
.example ol{
	position: absolute;
	width: 80px;
	height: 20px;
	bottom: 20px;
	left:60px;
}
.example ol li{
	float:left;
	width: 10px;
	height: 10px;
	margin: 5px;
	background: #fff;
	-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;
}

/*轮播图样式-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;
}

/*行业资讯*/
.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; 
}

/*四会名企（暂删除）*/
#wrapper-02{
	width: 1080px;
	height: 240px;
	position: relative;
}
#carousel {
	width: 960px;
	margin: 0 auto;
	position:vrelative;
}
#carousel ul {
	list-style: none;
	display: block;
	margin: 0;
	padding: 0;
}
#carousel li {
	/*text-align: center;*/
	/*display: block;*/
	float: left;
	position: relative;
	margin: 0 10px;
}
.work-border{
	width: 150px;
	height: 200px;
	margin-bottom: 35px;
	overflow: hidden;
	position: relative;
	background-color: #f5f5f5;
}
#carousel a{
	display: block;
	text-decoration: none;
}
.work-border img {
	width: 100%;
	height: 100%;
	display: block;
	background-color: #fff;
	border: 1px solid #986C33;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	object-fit: cover;
	object-position: center;
}
.work-author{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	padding: 8px 5px;
	font-size: 12px;
	color: #333;
	background-color: transparent;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	z-index: 1000;
	line-height: 1.4;
	max-height: 32px;
}

/*领导班子网格*/
.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;
}

/*华表获奖作品展示 - 2行3列网格*/
.award-carousel-container {
	overflow: hidden;
	width: 100%;
}
.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-left: 40px;
}

/* 华表获奖作品展示 - 左右箭头统一控制 */
.award-carousel-wrapper .prev, 
.award-carousel-wrapper .next {
	display: block;
	z-index: 1000;
	overflow: hidden;
	width: 30px;
	height: 60px;
	margin-left: 10px;
	position: absolute;
	top: 70px;  /* 如果箭头太靠上或靠下，调这个数值 */
}
.award-carousel-wrapper .prev {
	background: url(static/images/sy-arrow-left.png) no-repeat;
	background-size: 60%;
	background-position: left center;
	left: 0;
}
.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: 0;
}
.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; 
}

/* 关键裁剪规则：容器大小固定，图片等比拉伸裁剪 */
.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: 50px 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;
}




/*联系我们*/
.center-wrap{
	width: 540px;
	float: left;
}
.contact-wrap{
	width: 362px;
	margin: 0 auto;
}
.erweima-wrap{
	width: 144px;
	margin: 0 auto;
	text-align: center;
}
.erweima-wrap > p {
	line-height: 30px;
	font-family: "微软雅黑";
	font-size: 14px;
	color: #333;
}
.contact-item{
	padding: 0 26px;
	font-family: "微软雅黑";
	font-size: 14px;
	line-height: 34px;
	color: #333;
}

/*会员中心*/
.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;
}

/* 2. 搜索框容器：绝对定位到右上角，不占菜单地方 */
.custom-search-box {
    position: absolute;
    right: 0;
    top: 50%; /* 向上移动到菜单上方的空白处，或者根据需求调整为 10px 放在 Logo 右侧 */
    z-index: 999;
}

/* 3. 搜索框外观：缩小体积，使其精致不突兀 */
#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;
}

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

/* --- 搜索页面全局变量 --- */
: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: 250px; /* 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; 
    position: relative; 
    z-index: 10;
}

/* 优化页面标题和面包屑的样式 */
.com-title-box {
    margin-bottom: 30px;
    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;
}