/* common.css */
p {
	color: white;
	font-size: 15px;
	line-height: 35px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.5em;
	font-weight: 400;
	/*font-family: 'Old Standard TT', serif;*/
	color: white;
}

h1 {
	font-size: 50px;
}

h2 {
	font-size: 45px;
}

h3 {
	font-size: 40px;
}

h4 {
	font-size: 35px;
}

h5 {
	font-size: 30px;
}

h6 {
	font-size: 26px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
	/*font-family: 'Playfair Display', serif;*/
}

.line-hr-center {
	width: 60px;
	border-top: 1px solid #a2783a;
	margin: 20px auto;
}

/* nav导航栏 */
.nav-develop {
	position: absolute;
	left: 50%;
	margin-left: -100px;
	top: 20px;
	width: 200px;
	padding-top: 23px;
	display: none;
}

.item-develop:hover .nav-develop {
	display: block;
}

.nav-develop:before {
	display: block;
	content: "";
	position: absolute;
	left: 50%;
	margin-left: -11px;
	top: 10px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 13px 13px 13px;
	border-color: transparent transparent rgba(0, 0, 0, 0.75) transparent;
}

.nav-news {
	position: absolute;
	left: 50%;
	margin-left: -100px;
	top: 20px;
	width: 200px;
	padding-top: 23px;
	display: none;
}

.item-news:hover .nav-news {
	display: block;
}

.nav-news:before {
	display: block;
	content: "";
	position: absolute;
	left: 50%;
	margin-left: -11px;
	top: 10px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 13px 13px 13px;
	border-color: transparent transparent rgba(0, 0, 0, 0.75) transparent;
}

.nav-video {
	position: absolute;
	left: 50%;
	margin-left: -100px;
	top: 20px;
	width: 200px;
	padding-top: 23px;
	display: none;
}

.item-video:hover .nav-video {
	display: block;
}

.nav-video:before {
	display: block;
	content: "";
	position: absolute;
	left: 50%;
	margin-left: -11px;
	top: 10px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 13px 13px 13px;
	border-color: transparent transparent rgba(0, 0, 0, 0.75) transparent;
}

.navSubList {
	background: rgba(0, 0, 0, 0.75);
	padding: 15px;
	border-radius: 5px;
}

.navSubLi h4 {
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navSubLi h4 a {
	display: block;
	color: #FFFFFF;
	font-size: 16px;
	line-height: 42px;
	text-align: center;
	background-position: right center;
	background-repeat: no-repeat;
	transition: all 0.3s ease-out 0s;
}

/* Footer */
nav#footer {
	padding: 10px 0;
	width: 100%;
	text-align: center;
	background: #222222;

}

nav#footer p {
	width: 100%;
	line-height: 30px;
	text-align: center;
}


nav#footer p {
	font-size: 16px;
	margin-top: 10px;
	color: white;
}

nav#footer p a {
	color: white;
}

nav#footer p a:hover {
	color: #33cccc;
}

nav#footer i {
	display: inline-block;
	width: 18px;
	height: 20px;
	margin-right: 10px;
	background: url(http://img.tmeng.cn/images/icon-police.png) round;
	vertical-align: middle;
	margin-top: -4px;
}


/* 公众号二维码 */
.official_account {
	width: 100px;
	height: 100px;
	float: right;
	margin-top: -150px;
	margin-right: 100px;
}

/* 联系客服 */
.call-server {
	padding: 20px 100px;
	margin-top: 20px;
	border: 1px solid #ff4eb5;
	border-radius: 15px;
	font-size: 18px;
	font-weight: 500;
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: box-shadow, transform;
	transition-property: box-shadow, transform;
}

.call-server:hover {
	color: white;
	box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	background-image: linear-gradient(90deg, #ff4eb5 0%, #ffa065 100%);
}

.bethany-pageloading {
	color: #a2783a;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 999999;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-color: #fff;
}

.bethany-pageloading h1 {
	color: #a2783a;
	font-size: 40px;
}

.bethany-pageloading .logo {
	width: 120px;
}

.dropdown {
	position: relative;
}
.dropdown-menu {
	position: absolute;
	width: 220px;
	box-shadow: 0 13px 42px 11px rgba(0, 0, 0, .05);
	background-color: #232323;
	height: auto;
	z-index: 199;
	top: 100%;
	left: 0;
	/*border-top: 2px solid #9e9e9e;*/
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	transition: all .36s ease;
}

.dropdown-menu li {
	width: 100%;
}

.dropdown-menu li a {
	font-weight: 500;
	color: #666;
	padding: 10px 15px;
	line-height: 25px;
	display: block;
	transition: all .2s ease-in-out;
	font-size: 16px;
}

.dropdown-menu li a:hover {
	background-color: #3b3b3b;
	padding-left: 24px;
	color: #ffffff;
}

.dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
}

.no-dropdown .dropdown-menu {
	display: none !important; /* 强制隐藏下拉菜单 */
}

.toutu-img {
	width: 100%;
	height: 400px;
	overflow: hidden;
}
/* CSS：通过 class 定义样式 */
.section-title {
	font-size: 12px; /* 文字大小 */
	color: #fff; /* 文字颜色（白色） */
	margin-top: 10px; /* 顶部外边距 */
	/* 还可以添加其他样式，比如字体粗细、底部边距等 */
	font-weight: bold;
	margin-bottom: 20px;
}

/* 移动端适配 - 响应式设计 */
@media (max-width: 768px) {
    /* 标题字体大小调整 */
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    h4 {
        font-size: 20px;
    }
    
    h5 {
        font-size: 18px;
    }
    
    h6 {
        font-size: 16px;
    }
    
    /* 段落文字调整 */
    p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* 分隔线调整 */
    .line-hr-center {
        width: 40px;
        margin: 15px auto;
    }
    
    /* 导航下拉菜单移动端适配 */
    .nav-develop,
    .nav-news {
        position: static;
        width: 100%;
        margin-left: 0;
        top: auto;
        padding-top: 0;
        display: none;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 0;
    }
    
    .nav-develop:before,
    .nav-news:before {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.8);
        height: auto;
        z-index: 199;
        top: auto;
        left: auto;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        transition: all 0.3s ease;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 12px 20px;
        line-height: 1.4;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    
    .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 25px;
        color: #ffffff;
    }
    
    /* 页面加载动画调整 */
    .bethany-pageloading h1 {
        font-size: 28px;
    }
    
    .bethany-pageloading .logo {
        width: 80px;
    }
    
    /* 头图调整 */
    .toutu-img {
        height: 250px;
    }
    
    /* 章节标题调整 */
    .section-title {
        font-size: 11px;
        margin-top: 8px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕适配 */
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    h4 {
        font-size: 18px;
    }
    
    h5 {
        font-size: 16px;
    }
    
    h6 {
        font-size: 14px;
    }
    
    p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .line-hr-center {
        width: 30px;
        margin: 12px auto;
    }
    
    .dropdown-menu li a {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .bethany-pageloading h1 {
        font-size: 24px;
    }
    
    .bethany-pageloading .logo {
        width: 60px;
    }
    
    .toutu-img {
        height: 200px;
    }
    
    .section-title {
        font-size: 10px;
        margin-top: 6px;
        margin-bottom: 12px;
    }
}

@media (max-width: 360px) {
    /* 极小屏幕适配 */
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    h4 {
        font-size: 16px;
    }
    
    h5 {
        font-size: 14px;
    }
    
    h6 {
        font-size: 12px;
    }
    
    p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .line-hr-center {
        width: 25px;
        margin: 10px auto;
    }
    
    .dropdown-menu li a {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .bethany-pageloading h1 {
        font-size: 20px;
    }
    
    .bethany-pageloading .logo {
        width: 50px;
    }
    
    .toutu-img {
        height: 150px;
    }
    
    .section-title {
        font-size: 9px;
        margin-top: 5px;
        margin-bottom: 10px;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .dropdown-menu li a:hover {
        background-color: transparent;
        padding-left: 15px;
    }
    
    /* 增加触摸目标大小 */
    .dropdown-menu li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}
