/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

h2.wp-block-heading {
	font-size: 60px;
	color: #fff;
}

.my-s {
	color: red;
}

/* UAE页眉强制显示 */
.uael-header,
.elementor-location-header,
.hfe-header {
	display: block !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 9999 !important;
	width: 100% !important;
	/* background: rgba(0, 0, 0, 0.8) !important; */
}

/* 隐藏默认页眉 */
.site-header {
	display: none !important;
}



/* 优化页眉样式 */
.elementor-location-header .elementor-section {
	padding: 15px 50px !important;
}

/* 导航菜单样式优化 */
.elementor-nav-menu .elementor-item {
	color: white !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	margin-right: 30px !important;
	padding: 10px 0 !important;
	transition: opacity 0.3s ease !important;
}

.elementor-nav-menu .elementor-item:hover {
	opacity: 0.8 !important;
}

/* 联系我们按钮特殊样式 */
.elementor-nav-menu .elementor-item:last-child {
	border: 2px solid white !important;
	padding: 12px 24px !important;
	border-radius: 4px !important;
	margin-left: 10px !important;
	transition: all 0.3s ease !important;
}

.elementor-nav-menu .elementor-item:last-child:hover {
	background: white !important;
	color: #000 !important;
	opacity: 1 !important;
}

/* 语言切换样式 */
.elementor-location-header .elementor-text-editor {
	color: white !important;
	font-size: 16px !important;
	margin-left: 20px !important;
	cursor: pointer !important;
}

/* 添加汉堡菜单样式 */
.hamburger-icon {
	display: flex;
	flex-direction: column;
	gap: 4px;
	cursor: pointer;
	margin-left: 20px;
	padding: 8px;
}

.hamburger-icon span {
	width: 25px;
	height: 3px;
	background: white;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* 响应式：在小屏幕隐藏桌面导航 */
@media (max-width: 768px) {
	.elementor-nav-menu {
		display: none !important;
	}

	.hamburger-icon {
		display: flex !important;
	}
}

@media (min-width: 769px) {
	.hamburger-icon {
		display: none;
	}
}




/* =================================
   UAE页眉统一样式配置
   ================================= */

/* 强制显示UAE页眉 */
.uael-header,
.elementor-location-header,
.hfe-header,
.elementor-kit-header,
[data-elementor-type="header"],
.uae-forced-header,
.forced-header-wrapper {
	display: block !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 9999 !important;
	width: 100% !important;
}

/* 动态适应背景的页眉样式 */
.elementor-location-header .elementor-section,
.uae-forced-header .elementor-section,
.forced-header-wrapper .elementor-section {
	margin: 0 !important;
	padding: 15px 50px !important;
	background: rgba(255, 255, 255, 0.05) !important;
	backdrop-filter: blur(20px) !important;
	-webkit-backdrop-filter: blur(20px) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
	transition: all 0.3s ease !important;
}

/* 滚动时增强背景 */
.header-scrolled .elementor-section {
	background: rgba(0, 0, 0, 0.8) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* 隐藏默认主题页眉 */
.site-header {
	display: none !important;
}



/* 导航菜单样式 */
.elementor-nav-menu .elementor-item {
	color: white !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	margin-right: 30px !important;
	padding: 10px 0 !important;
	transition: opacity 0.3s ease !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.elementor-nav-menu .elementor-item:hover {
	opacity: 0.8 !important;
}

/* 联系我们按钮样式 */
.elementor-nav-menu .elementor-item:last-child {
	border: 2px solid white !important;
	padding: 12px 24px !important;
	border-radius: 4px !important;
	margin-left: 10px !important;
	transition: all 0.3s ease !important;
	text-shadow: none !important;
}

.elementor-nav-menu .elementor-item:last-child:hover {
	background: white !important;
	color: #000 !important;
	opacity: 1 !important;
}

/* 语言切换样式 */
.elementor-location-header .elementor-text-editor {
	color: white !important;
	font-size: 16px !important;
	margin-left: 20px !important;
	cursor: pointer !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Logo优化 */
.elementor-location-header .elementor-image img {
	max-height: 45px !important;
	width: auto !important;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)) !important;
}

/* 汉堡菜单样式 */
.hamburger-icon {
	display: flex;
	flex-direction: column;
	gap: 4px;
	cursor: pointer;
	margin-left: 20px;
	padding: 8px;
}

.hamburger-icon span {
	width: 25px;
	height: 3px;
	background: white;
	border-radius: 2px;
	transition: all 0.3s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
	.elementor-nav-menu {
		display: none !important;
	}

	.hamburger-icon {
		display: flex !important;
	}

	.elementor-location-header .elementor-section {
		padding: 15px 20px !important;
	}
}

@media (min-width: 769px) {
	.hamburger-icon {
		display: none;
	}
}



/* 隐藏页面标题区域 */
.page-title,
.entry-header,
.page-header,
.hero-section,
.page-banner,
.breadcrumb,
.site-header-title,
.elementor-page-title {
	display: none !important;
}



.wp-block-group,
.has-global-padding,
.is-layout-constrained,
.wp-block-group-is-layout-constrained {
	margin-top: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}


.wp-block-group,
.alignfull,
.has-global-padding,
.is-layout-constrained,
.wp-block-group-is-layout-constrained {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}



/* 定义PingFang SC字体栈 */
@font-face {
	font-family: 'PingFang SC';
	src: local('PingFang SC'), local('PingFangSC-Regular'), local('Microsoft YaHei'), local('微软雅黑');
	font-weight: normal;
	font-style: normal;
}