./* 
Theme Name: St Bees School
Theme URI: https://www.stbeesschool.co.uk/
Description: 广州名锐讯动（MRT）专注企业数字化转型，提供网站 / 小程序 / APP 开发、管理系统定制、电商与跨境、WordPress建站等解决方案，深耕元宇宙、NFT、区块链、AI等前沿技术，覆盖智慧文旅、教育、医疗、酒店等多行业，服务 LVMH、美的、广汽等知名品牌，一站式助力企业互联网 + 升级
Author: MRT
Author URI: https://gz-mrt.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* 在此添加您的自定义样式 */

html, body, 
h1, h2, h3, h4, h5, h6{
    font-family: "Times New Roman","Lato", "STSong", "SimSun", "思源宋体","华文宋体", "宋体", serif !important;
}

p, span,li{
    font-family:"Lato";
}
.elementor-button span{
	font-family: "Times New Roman", Sans-serif !important;
	font-weight:400;
}
.button-hover span{
	font-family: "Times New Roman", Sans-serif !important;
}
body a{
	color:#00bfff;
}
body a:link{
	color:#0693e3;
}
/* banner 鼠标 icon 指示器上下回弹动画：1.2秒无限循环，平滑缓动 */
.scroll-bounce {
  animation: scrollBounce 2.2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(16px); } /* 向下移动8px，可改大小 */
  100% { transform: translateY(0); }
}


.cpel-switcher__nav .cpel-switcher__lang{
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 导航栏初始样式 */
#main-nav {
  transition: all 0.6s ease; /* 平滑过渡效果 */
  background-color: transparent; /* 初始透明 */
}

/* Logo背景颜色初始化 */
#main-nav .logo-bg{
  transition: all 0.6s ease;
  background-color: transparent; /* 初始透明 */
}

/* Logo 初始大小 */
#main-nav .site-logo img {
  transition: all 0.6s ease;
  height: 94px;
	width: auto;
}
/* 滚动吸顶后的样式 */
#main-nav.sticky-active {
  background-color: #2C4255; /* 滚动后的背景色 */
	  padding: 10px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 可选：添加阴影增强层次感 */
}

/* 滚动后 Logo 缩小 */
#main-nav.sticky-active .site-logo img {
  height: 40px; /* 滚动后高度，根据实际调整 */
	width: auto;
}

/* 滚动后 Logo 背景色改变 */
#main-nav.sticky-active .logo-bg{
	padding:0;
	height: 60px;
    display: flex;
    justify-content: center;
}

/* 更改导航栏主菜单鼠标经过颜色 */
.button-hover a{
	display: inline-block;
}
.button-hover a:hover{
	background-color: #1E3547 !important;
}
/* 返回顶部按钮初始隐藏 + 平滑过渡 */
#back-to-top-btn {
  opacity: 0; /* 初始完全透明（隐藏） */
  transition: all 0.6s ease; /* 显示/隐藏的平滑过渡 */
}

/* 按钮显示时的样式 */
#back-to-top-btn.show {
  opacity: 1; /* 完全不透明 */
}
.eael-advanced-menu-container .eael-advanced-menu .eael-advanced-menu-indicator {
	top:28px !important;
}

/* ======================================
   文章全局排版规范
====================================== */

/* H1 标题 */
.single-post .elementor-widget-theme-post-content h1 {
  font-size: 48px;
  color:#C8A875;
  line-height: 1.3;
  text-transform: uppercase;
  margin: 0.8em 0 0.8em;
}

/* H2 标题 */
.single-post .elementor-widget-theme-post-content h2 {
  font-size: 32px;
  color:#C8A875;
  line-height: 24px;
  text-transform: uppercase;
	margin: 0;
}

/* H3 标题 */
.single-post .elementor-widget-theme-post-content h3 {
  font-size: 24px;
  line-height: 1.4;
/*   margin: 1.1em 0 0.7em; */
}

/* H4 标题 */
.single-post .elementor-widget-theme-post-content h4 {
  font-size: 20px;
  line-height: 1.4;
  margin: 1em 0 0.6em;
}

/* H5 标题 */
.single-post .elementor-widget-theme-post-content h5 {
  font-size: 18px;
  line-height: 24px;
  margin: 1em 0 0.6em;
	padding:0.4em 0.8em;
}

/* H6 标题 */
.single-post .elementor-widget-theme-post-content h6 {
  font-size: 16px;
  line-height: 24px;
  padding:0.4em 0.8em;
}

/* 正文 p、span */
.single-post .elementor-widget-theme-post-content p,
.single-post .elementor-widget-theme-post-content span {
  font-size: 16px;
  font-family: "Lato", Sans-serif;
  line-height: 24px;
  white-space: pre-wrap;
  margin: 0 0 1em;
}

.single-post .elementor-widget-theme-post-content .wp-block-preformatted{
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 1em;
  font-family: "Lato", Sans-serif;
}

/* 列表 ul ol */
.single-post .elementor-widget-theme-post-content ul,
.single-post .elementor-widget-theme-post-content ol {
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 1em;
  padding:0 1.4em;
}

.single-post .elementor-widget-theme-post-content li {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0.5em;
}

/* 强调文本 strong b */
.single-post .elementor-widget-theme-post-content strong,
.single-post .elementor-widget-theme-post-content b {
  font-family: "Lato", Sans-serif;
  font-weight: 700;
}

/* 链接样式 */
.single-post .elementor-widget-theme-post-content a {
  font-family: "Lato", Sans-serif;
  text-decoration: none;
}

.single-post .elementor-widget-theme-post-content a:hover {
  text-decoration: underline;
}

/*面包屑导航鼠标经过效果*/
.eael-breadcrumbs a:hover{
	color:#C8A875 !important;
}


/* 系统文章编辑器-插入图片区块居中 */
.wp-block-image{
  text-align:center;
}

/* 系统文章编辑器-表格文字大小 */
.wp-block-table table{
	font-size:16px;
	border: 1px solid #ccc;
	border-collapse: collapse;
}
/* 系统文章编辑器-按钮样式 */
.wp-block-buttons{
	margin: 0 0 2em !important;
}
.wp-block-button a{
	background-color:#2C4255;
	border-radius:0;
	text-decoration:none !important;
}
.wp-block-button a:hover{
	background-color: #C8A875 !important;

}

.eb-accordion-title-wrapper span{
	margin-bottom:0 !important;
}


/* 系统文章编辑器-手风琴样式 */
.wp-block-accordion-heading button{
	padding-top: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
    width: 100%;
    display: flex;
    text-align: left;
}
.wp-block-accordion-heading button:hover{
	background-color:#AA8A58;
}

.wp-block-accordion-heading button:hover span{
	text-decoration:none !important;
}
.wp-block-accordion-heading span{
	font-size:20px !important;
	font-family: inherit !important;
	margin:0 !important;
}
.wp-block-accordion-heading__toggle-title strong{
	font-family: inherit !important;
}
.wp-block-accordion-panel{
	margin-block-end: 32px !important;
}
.wp-block-accordion-item{
	margin-block-start: 6px;
}

.wp-block-heading strong{
	font-family: inherit !important;
	letter-spacing: 1px;
}

/*子菜单间距清楚*/
.sub-menu li{
	padding-left:0 !important;
}

/*Blog页面设置*/
.eael-grid-post-link {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.6; /* 可根据你的字体大小调整 */
  max-height: 3.2em !important; /* 1.6*2=3.2 */
}
.eael-grid-post-holder{
	height:480px;
}
.eael-entry-wrapper{display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 260px;
}
.eb-gallery-img-wrapper~.eb-img-gallery-loadmore-container .eb-img-gallery-loadmore{
	margin: 20px auto 20px;
}
.wp-block-essential-blocks-image-gallery{
	margin-bottom: 20px;
}
/* 系统文章编辑器-引用样式 */
.single-post .elementor-widget-theme-post-content blockquote {
	position: relative;
    color: rgb(44, 66, 85);
    margin: 24px 0px;
    padding: 16px 50px 4px 50px;
	text-align:center;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(200, 168, 117);
	box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 8px;
}
.single-post .elementor-widget-theme-post-content blockquote p{
	font-size:1.4em;
	line-height: 1.5;
	font-weight:600;
}
.single-post .elementor-widget-theme-post-content blockquote::before {
    content: "“";
    position: absolute;
	top: 10px;
    left: 10px;
    font-size: 60px;
    line-height: 1;
    color: rgb(200, 168, 117);
    font-style: normal;
}
.single-post .elementor-widget-theme-post-content blockquote::after {
    content: "”";
    position: absolute;
	content: "”";
    right: 10px;
    bottom: -20px;
    font-size: 60px;
    line-height: 1;
    color: rgb(200, 168, 117);
    font-style: normal;
}

.wp-block-navigation{
	gap: 4px;
}
.wp-block-navigation ul.wp-block-navigation__container li a.wp-block-navigation-item__content{
	background: url(/wp-content/uploads/ic-related-pages.svg) left center no-repeat;
    padding-left: 20px !important;
}


.wp-block-essential-blocks-button .eb-button-wrapper{
    margin:16px !important;
}

.wp-block-essential-blocks-button .eb-button  a{
	font-family: "Lato", Sans-serif;
}
.elementor-element .elementor-icon-box-wrapper .elementor-icon-box-content {
    display: flex;
    align-items: center;
}
/* 导航栏下拉箭头 */
/* 隐藏一级菜单的箭头 */
.elementor-nav-menu > li > a > span.sub-arrow { display: none; }
/* 保留子菜单的箭头 */
.elementor-nav-menu > li > ul.sub-menu > li > a > span.sub-arrow { display: inline; }

/* 隐藏FooGallery插件的Single Thumbnail布局变成单个封面展示、调整样式展示 */
.foogallery.fg-thumbnail.fg-stacked .fg-item:nth-child(n+2) {
	display:none;
}
.fg-item-inner .fg-image-wrap{
	margin-bottom:0 !important;
}
.fg-item-inner .fg-image-overlay{
	margin-bottom:0 !important;
}

.foogallery .fg-caption  .fg-caption-inner{
	flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 100%;
    overflow: hidden;
	font-style:normal;
}
.foogallery .fg-caption .fg-caption-title {
	font-size:20px !important;
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}
.foogallery .fg-caption .fg-caption-desc {
	font-size:14px !important;
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
}
.elementor-swiper-button:hover{
	opacity:0.5;
}

.eb-feature-list-icon-inner .eb-feature-list-icon{
	margin-bottom:0 !important;
}
.eb-feature-list-content-box .eb-feature-list-title{
	margin-bottom:0 !important;
}
/* Essential Blocks插件按钮去掉下划线 */
.eb-button .eb-button-inner-wrapper a:hover{
	text-decoration:none;
}

/* 移动端导航菜单 */
#hide-header2 {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: 220px;
  background-color: transparent;
  z-index: 999;
  -webkit-transition: all 0.6s ease !important;
  transition: all 0.6s ease !important;
}

#hide-header2.scrolled {
  height: 64px;
  background-color: #2c4255;
}
@media (min-width: 768px) {
  #hide-header2.scrolled {
  height: 84px;
  background-color: #2c4255;
}
}

#hide-header2 .nav {
  display: block;
  width:100%;
  height: 44px;
  padding:0;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
#hide-header2.scrolled .nav {
  height: 64px;
  background-color: #2c4255;
}
#hide-header2.scrolled .nav .nav-img .menu-icon {
  left: 20px;
  top:16px;
  color:#2c4255;
  background-color: #d1b176;
  transform: translateX(0);
}
#hide-header2 .nav .nav-img .menu-icon {
  display: block;
  position: absolute;
  left: 50%;
  top:6px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  color:#d8e3ec;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

#hide-header2 .social {
  margin-top: 10px;
  opacity: 1;
  transform: scale(1);
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

#hide-header2.scrolled .social {
  opacity: 0;
  transform: scale(0);
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
 #hide-header2 .logo {
    display: flex;
    justify-content: center;
    align-items: center;
  position: absolute;
  left: 50%;
  top: 60px;
	 z-index:9999;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  padding: 20px 0 20px 0;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

#hide-header2.scrolled .logo {
  top: -30px;
  -webkit-transform: translateX(-50%) scale(0.5);
  transform: translateX(-50%) scale(0.5);
}
.elementor-widget-image{
	line-height:0 !important;
}/* 清除图片行高 */
#hide-header2 .menu {
	opacity:0;
	transform: scale(0.5); /* 初始缩放比例 */
	transition: transform 1s ease, opacity 0.5s ease;
	-webkit-transform: scale(0.5); /* 初始缩放比例 */
	-webkit-transition: transform 1s ease, opacity 0.5s ease;
}
#hide-header2.scrolled .menu {
	opacity:1;
	transform: scale(1);
	-webkit-transform: scale(1);
}

/* 更改Facebook feed布局 */
.efbl_feeds_holder{
    display: flex;
    justify-content: space-around;
    gap: 10px;
    align-items: self-start;
	flex-wrap: wrap;
}
.efbl_feeds_holder .efbl-fullwidth-skin{
	flex:1;
}

.efbl-row > div:nth-child(1){
	margin-bottom: 10px !important;
}
.efbl-row > div:nth-child(2){
	order:-1 !important;
}

.efbl-post-footer{
	margin-top:0 !important;
}
@media (max-width: 768px) {
	.efbl_feeds_holder {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    align-items: self-start;
    flex-direction: column;
    flex-wrap: wrap;
}
	.efbl-fullwidth-skin {
		margin-bottom: 0px;
	}
}
#efblcf_holder button{
	display:none;
}
#efblcf_holder .efbl_popupp_footer{
	padding: 24px;
}
#efblcf_holder .efbl_popupp_footer a{
	display: block;
    margin-top: 16px;
}
.efbl_popup_wraper .efbl_popup_footer_logo{
	opacity: 0 !important;
}
.efbl-description-wrap{
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

/*landing-page */
.logo-item{
	background-color:#f5f5f5 !important;
}.logo-item:hover{
	background-color:#ffffff !important;
	border:3px solid #d1b176 !important;
}
.logo-item .logo-item-l{
	display:none;
	transform: scale(0); /* 初始大小 */
	
}

.logo-item:hover .logo-item-l{
	display:block;
	transform: scale(1); /* 放大 */
}
/* .swiper-slide-contents{
	background-color: rgba(44, 66, 85, 0.7);
    padding: 24px 50px 24px 50px;
}
 */
.footer-logo-item{
	border:3px solid rgba(255,255,255,0) !important;
}
.footer-logo-item:hover{
	border:3px solid #d1b176 !important;
}
.footer-logo-item:hover h2{
	color:#ffffff !important;
}
.elementor-element .swiper .elementor-swiper-button-next{
	right: 40px;
}
.elementor-element .swiper .elementor-swiper-button-prev{
	left:40px;
}
@media (max-width: 768px) {
	.elementor-element .swiper .elementor-swiper-button-next{
	right:-4px;
}
.elementor-element .swiper .elementor-swiper-button-prev{
	left:-4px;
}
}
/* 视频播放 */
	.video-banner {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  min-width: 100vw;
  min-height: 100vh;
}
	video {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            display: block !important;
        }
        
	/* 针对iOS Safari的特殊样式 */
        @supports (-webkit-touch-callout: none) {
            video {
                -webkit-playsinline: true;
                playsinline: true;
            }
        }
.wp-block-file a{
	display:none;
}