/*
	Theme Name: Hello Biz Child
	Theme URI: https://elementor.com/products/hello-biz/
	Description: Hello Biz 的子主题，用于自定义修改
	Author: Your Name
	Author URI: 
	Template: hello-biz
	Version: 1.0.0
	License: GNU General Public License v3 or later
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-biz-child
*/
@font-face {
  font-family: 'TimesNewerRoman';
  src: url('TimesNewerRoman-Regular.otf') format('opentype');
  font-style: italic;
  font-display: swap;
}

* {
  font-family: 'TimesNewerRoman', 'Times New Roman', Times, serif!important;
 
}
.baijia-mobile-menu-trigger {
	display: none;
	width: 30px;
	height: 24px;
	position: relative;
	cursor: pointer;
	z-index: 1001;
}

.baijia-mobile-menu-trigger i {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: #333;
	transition: all 0.3s ease;
	left: 0;
}

.baijia-mobile-menu-trigger i:nth-child(1) {
	top: 0;
}

.baijia-mobile-menu-trigger i:nth-child(2) {
	top: 8px;
	width: 40%;
	left: 0;
}

.baijia-mobile-menu-trigger i:nth-child(3) {
	top: 8px;
	width: 40%;
	left: 60%;
}

.baijia-mobile-menu-trigger i:nth-child(4) {
	top: 16px;
}

.baijia-mobile-menu-trigger.active i:nth-child(1) {
	transform: rotate(45deg);
	top: 11px;
}

.baijia-mobile-menu-trigger.active i:nth-child(2) {
	transform: translateX(-15px);
	opacity: 0;
}

.baijia-mobile-menu-trigger.active i:nth-child(3) {
	transform: translateX(15px);
	opacity: 0;
}

.baijia-mobile-menu-trigger.active i:nth-child(4) {
	transform: rotate(-45deg);
	top: 11px;
}

.baijia-mobile-overlay {
	display: none;
}

.baijia-menu-wrapper {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	transition: transform 0.3s ease;
}

.baijia-parent-menu-list,
.baijia-submenu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.baijia-parent-menu-list {
	flex-shrink: 0;
}

.baijia-submenu-list {
	flex: 1;
}

.baijia-parent-menu-item,
.baijia-submenu-item {
	margin: 0;
}

.baijia-parent-menu-item a,
.baijia-submenu-item a {
	text-decoration: none;
	display: block;
	white-space: normal;
	word-wrap: break-word;
}

@media (max-width: 991px) {
	.hidden-lg {
		display: block !important;
	}

	.baijia-mobile-menu-trigger {
		position: relative;
		z-index: 1001;
	}

	.baijia-menu-wrapper {
		position: fixed;
		bottom: 0;
		left: -78%;
		width: 78%;
		height: 90%;
		padding: 20px;
		background: #fff;
		z-index: 1000;
		overflow: hidden;
		box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 10px;
		align-items: stretch;
		border-top: 2px solid #333;
	}

	.baijia-menu-wrapper.active {
		transform: translateX(100%);
	}

	.baijia-parent-menu-list {
		width: calc(50% - 5px);
		flex: 0 0 calc(50% - 5px);
		box-sizing: border-box;
		max-height: 100%;
		overflow-y: auto;
	}

	.baijia-submenu-list {
		width: calc(70% - 5px);
		flex: 0 0 calc(50% - 5px);
		box-sizing: border-box;
		max-height: 100%;
		overflow-y: auto;
	}

	.baijia-parent-menu-item a,
	.baijia-submenu-item a {
		white-space: normal;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
}

@media (min-width: 992px) {
	.hidden-lg {
		display: none !important;
	}
}