html {
	scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Noto Sans TC", "Inter", sans-serif;
}

.font-serif {
	font-family: "Noto Sans TC", "Inter", sans-serif !important;
}

body.admin-bar header[data-site-header] {
	top: 32px;
}

[data-mobile-menu][hidden] {
	display: none !important;
}

header[data-site-header].is-scrolled {
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
	background: rgba(255, 255, 255, 0.82) !important;
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

body:not(.home) header[data-site-header].is-scrolled .site-brand,
body:not(.home) header[data-site-header].is-scrolled .site-nav__link,
body:not(.home) header[data-site-header].is-scrolled [data-menu-toggle] {
	color: #000;
}

.services-home-trigger.is-active .text-stone-400 {
	opacity: 1;
}

.portfolio-thumb.is-active {
	border-width: 2px;
	border-color: #333;
}

.portfolio-thumb img {
	transition: opacity 0.3s ease;
}

.portfolio-thumb:not(.is-active) img {
	opacity: 0.5;
}

.portfolio-main-stage {
	cursor: default;
}

.portfolio-main-image {
	transform: scale(1.08);
	transform-origin: center center;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
	will-change: transform;
}

.efree-builder-page {
	background: #fff;
}

.efree-builder-content {
	font-size: 16px;
	line-height: 1.8;
	color: #44403c;
}

.efree-builder-content>* {
	margin-top: 0;
	margin-bottom: 0;
}

.efree-builder-content .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.efree-builder-content .alignwide {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.efree-builder-content .wp-block-group:not(.alignfull):not(.alignwide),
.efree-builder-content .wp-block-columns:not(.alignfull):not(.alignwide) {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.efree-builder-content .wp-block-heading {
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.efree-builder-content p {
	line-height: 1.9;
}

.efree-builder-content .wp-block-button__link {
	font-weight: 800;
	letter-spacing: 0.08em;
}

.efree-builder-content .wp-block-details {
	border: 1px solid #e7e5e4;
	background: #fff;
}

.efree-builder-content .wp-block-details summary {
	font-weight: 700;
	cursor: pointer;
}

.efree-builder-content .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.efree-line-float {
	position: fixed;
	right: 20px;
	bottom: 12px;
	z-index: 120;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.efree-line-float__label {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.92);
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.efree-line-float__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 999px;
	background: #06c755;
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.06em;
	box-shadow: 0 18px 42px rgba(6, 199, 85, 0.35);
}

.efree-line-float:hover .efree-line-float__label,
.efree-line-float:hover .efree-line-float__icon {
	transform: translateY(-2px);
}

.efree-line-float__label,
.efree-line-float__icon {
	transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 767px) {
	.efree-line-float {
		right: 14px;
		bottom: 14px;
	}

	.efree-line-float__label {
		display: none;
	}

	.efree-line-float__icon {
		width: 54px;
		height: 54px;
	}
}
