body {
	overflow-x: hidden;
}

/* 防止header偏移的強制性規則 */
.header-area {
	position: relative;
	left: 0 !important;
	right: 0 !important;
	transform: translateX(0) !important;
	width: 100% !important;
}

.header-wrapper {
	max-width: 100%;
}

.header-right-item {
	max-width: fit-content;
}

.site_logo .logo {
	max-width: 300px;
}

.site_logo .logo img {
	width: 180px;
}

.mainmenu ul>li.menu-item-has-children>a::after, .mainmenu ul>li.has-dropdown>a::after {
	content: "\f107" !important;
	font-family: "Font Awesome 6 Pro";
}

.tj-page-title {
	letter-spacing: 1px;
}

.tj-page-link {
	background: rgb(255 255 255 / 65%);
}

.tj-page-link span a {
	color: var(--tj-color-theme-primary)
}

.tj-page-link span {
	color: #000000;
}

.mainmenu ul>li>.sub-menu>li>a {
	padding: 16px 20px;
}

.search_popup {
	position: absolute;
	top: 101%;
	inset-inline-start: 50%;
	transform: translateX(-50%) translateY(-20px);
	max-width: 1380px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.search_popup.search-opened {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.hamburger-infos .tj-sidebar-widget {
	padding: 0;
	background-color: transparent;
}

.nice-select {
	height: 50px;
	width: 100%;
	display: flex;
	align-items: center;
	border-radius: 50px;
}

.nice-select:after {
	display: none;
}

.tj-page-link span a:hover {
	color: var(--tj-color-theme-dark);
}

@media(width<=992px) {
	.header-right-item {
		position: relative;
	}
}

@media(width<=768px) {
	.header-area .container-fluid {
		width: 100%;
		padding-left: 15px;
		padding-right: 15px;
	}

	.header-area.h8-header.header-absolute {
		top: 12px;
		width: 100%;
		padding-bottom: 12px;
	}

	.header-right-item {
		position: relative;
	}
	.nice-select {
		height: 40px;
		width: 100%;
	}

}

@media(width<=576px) {
	.header-right-item {
		position: relative;
	}

	.mobile_language_selector h6 {
		color: #fff
	}

	.header-area.h8-header.header-absolute {
		width: 100%;
	}

	h1 {
		font-size: 2rem;
	}

	.tj-page-link span {
		font-weight: 400;
	}
	.nice-select {
		height: 40px;
		width: 50%;
	}
}

.header-area.sticky {
	-webkit-box-shadow: none;
	box-shadow: none;
}

@media (width <=400px) {
	.section-gap {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.header-area.h8-header.header-absolute {
		width: 100%;
	}

	.site_logo .logo img {
		width: 120px;
	}

	.header-area.h8-header.header-absolute .header-wrapper {
		padding: 12px 6px;
		margin: 0;
	}

	

	.header-right-item {
		position: relative;
		right: 0;
	}

	.menu_bar.mobile_menu_bar {
		width: 45px;
		height: 45px;
	}

	.menu_bar span {
		height: 1;
	}

	.menu_bar {
		gap: 5
	}

	.post-details-wrapper {
		padding: 25px
	}

}