body {
	overflow-x: hidden;
}

@media screen and (max-width: 1760px) {
	.header-container {
		padding: 0 16px 0 40px;

		.header-nav-wrapper {
			padding-left: 60px;
		}
	}
}

@media screen and (max-width: 1610px) {
	.header-left-wrapper {
		.header-nav-wrapper {
			padding-left: 16px;
		}
	}
}

@media screen and (max-width: 1560px) {
	.header-container {
		padding-left: 16px;
	}

	.header-left-wrapper {
		.header-nav-wrapper {
			.menu-item {
				font-size: 16px;
			}
		}
	}
}

@media screen and (max-width: 1528px) {
	.header-bottom-wrapper {
		gap: 12px;
	}

	.header .logo-container .logo {
		max-height: 48px;
	}
}


@media screen and (max-width: 1490px) {
	.header-bottom-wrapper {
		gap: 12px;
	}

	.header-left-wrapper {
		.header-nav-wrapper {
			gap: 12px;

			.menu-item {
				font-size: 16px;
			}
		}
	}
}

@media screen and (max-width: 1408px) {
	.header .logo-container {
		img {
			max-height: 30px;
		}
	}
}

@media screen and (max-width: 1312px) {
	.header .logo-container .logo {
		max-height: 42px;
	}

	.header-action-btn {
		width: 36px;
		height: 36px;

		img {
			width: 18px;
			height: 18px;
		}
	}
}

@media screen and (max-width: 1294px) {
	.header .logo-container {
		img {
			max-height: 28px;
		}
	}

	.header-left-wrapper {
		.header-nav-wrapper {
			gap: 8px;
		}
	}

	.header-right-wrapper {
		gap: 4px;

		.header-action-btn {
			width: 32px;
			height: 32px;

			img {
				width: 18px;
				height: 18px;
			}
		}
	}
}

@media screen and (max-width: 1245px) {
	.header .logo-container {
		& img {
			&.logo-ma {
				max-height: 30px;
			}
		}
	}
}

@media screen and (max-width: 1200px) {
	.pc {
		display: none !important;
	}

	.mb {
		display: flex !important;
	}

	/* .mb 會把 Swiper 變成 flex 行容器，導致 slide 無法橫向切換 */
	.swiper.mb {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		overflow: hidden;
	}

	.swiper.mb .swiper-wrapper {
		width: 100%;
	}

	/* 輪播容器不使用 WOW 隱藏，避免 Swiper 初始化尺寸為 0 */
	.swiper.mb.wow {
		visibility: visible !important;
		animation: none !important;
	}

	.main-container {
		padding-top: 40px;
	}

	.my-section {
		padding: 40px 0;

		.my-container {
			width: 100%;
			padding: 0 16px;
			gap: 12px;

			.section-tip {
				line-height: 26px;
				margin-bottom: 2px;
			}

			.section-title {
				font-size: 24px;
				padding-bottom: 8px;
			}

			.section-sub-title {
				padding-bottom: 12px;
				line-height: 24px;
			}
		}
	}

	.banner-section {
		height: 220px;
		/* border-radius: 0 0 130px 130px;

		&::before {
			border-radius: 0 0 130px 130px;
		} */

		.banner-container {
			padding-top: 16px;

			.banner-title {
				font-size: 36px;
			}

			.banner-sub {
				font-size: 26px;
				line-height: 32px;
			}
		}
	}

	.temperature-box-mb.mb {
		display: flex;
		flex-flow: column;
		align-items: center;
		justify-content: center;
		gap: 12px;
		position: fixed;
		right: 16px;
		bottom: 300px;
		z-index: 999;
		transition: all 0.3s ease;

		.box {
			width: 52px;
			height: 52px;
			display: flex;
			align-items: center;
			justify-content: center;
			position: relative;
			background-color: #ffffff;
			border-radius: 50%;
			box-shadow: 0 0 10px 0 rgba(235, 83, 16, 0.3);

			&::before {
				content: '';
				position: absolute;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
				width: 42px;
				height: 42px;
				border: 1px solid rgba(235, 83, 16, 0.6);
				border-radius: 50%;
			}

			span {
				color: var(--red-color);
				font-size: 16px;
				position: relative;
				z-index: 1;

				strong {
					font-size: 18px;
					font-weight: 600;
				}
			}

			.temperature-icon,
			.humidity-icon {
				width: 30px;
				height: 30px;
				position: absolute;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
				opacity: 0.26;
				z-index: 0;
			}

			.unit {
				color: var(--main-color);
				width: 22px;
				height: 22px;
				border-radius: 50%;
				position: absolute;
				right: -2px;
				bottom: 0px;
				background-color: #ffffff;
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 12px;
				line-height: 12px;
				font-weight: 600;
				box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
			}
		}

	}

	/* 滾動中由 base.js 加上 .temperature-box-mb--scrolling */
	.temperature-box-mb.mb.temperature-box-mb--scrolling {
		opacity: 0.3;
		right: -36px;
	}

	#mkdf-back-to-top {
		bottom: 100px;

		img {
			width: 24px;
			height: 24px;
		}
	}

	/* .main-container {
		margin-top: 60px;
	} */

	/* mb - 頭部導航 start */
	.main-header.mb {
		padding: 10px;
		border-radius: 0 0 16px 16px;
		background-color: #ffffff;
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		width: 100%;
		height: 60px;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 999;

		.mb-header-logo {
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 10px;
		}

		img {
			height: 32px;
		}
	}

	/* 移动端菜单遮罩层 */
	.mobile-menu-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: rgba(0, 0, 0, 0.5);
		backdrop-filter: blur(2px);
		z-index: 1001;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s ease-out, visibility 0s linear 0.2s;
		pointer-events: none;
		display: none;
	}

	.mobile-menu-overlay.active {
		opacity: 1;
		display: block;
		visibility: visible;
		transition: opacity 0s ease-out, visibility 0s linear;
		pointer-events: auto;
	}

	/* 移动端菜单 */
	.mobile-menu {
		position: fixed;
		bottom: -10px;
		left: 0;
		right: 0;
		width: 100%;
		height: 0;
		min-height: 0;
		background-color: transparent;
		z-index: 10002;
		padding: 0 8px;
		transition: height 0.36s cubic-bezier(0.25, 0.46, 0.45, 0.94),
			min-height 0.36s cubic-bezier(0.25, 0.46, 0.45, 0.94),
			padding 0.36s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	}

	.mobile-menu.active {
		max-height: 75vh;
		min-height: 480px;
		padding: 8px;
		bottom: 0;
	}

	/* 移动端菜单关闭按钮 */
	.mobile-menu-close {
		position: absolute;
		top: -60px;
		left: 50%;
		transform: translateX(-50%);
		width: 48px;
		height: 48px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: transparent;
		border: none;
		cursor: pointer;
		background-color: #ffffff;
		z-index: 1003;
		transition: opacity 0.2s ease-out;
		padding: 0;
		border-radius: 50%;
		opacity: 0;
		display: none;
	}

	.mobile-menu-close img {
		width: 12px;
		height: 12px;
		object-fit: cover;
	}

	.mobile-menu-close.active {
		opacity: 1;
		display: flex;
	}

	.mobile-menu-close svg {
		width: 24px;
		height: 24px;
		stroke: #595959;
	}

	.mobile-menu-content {
		height: 100%;
		width: 100%;
		display: flex;
		flex-direction: column;
		overflow: hidden;
		background-color: #ffffff;
		border-radius: 8px;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
	}

	.mobile-menu-content .mb-menu-header {
		padding: 20px 20px 15px 20px;
		background-color: #ffffff;
		position: relative;
		z-index: 1001;
		flex-shrink: 0;
		border-bottom: 1px solid rgba(64, 64, 64, 0.1);
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	.mb-menu-header__actions {
		display: flex;
		align-items: center;
		gap: 8px;
		flex-shrink: 0;
		margin-left: auto;
	}

	.mb-menu-action-btn {
		width: 40px;
		height: 40px;
		border: 0;
		border-radius: 50%;
		background: transparent;
		cursor: pointer;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		flex-shrink: 0;
		background-color: rgba(1, 92, 178, 0.06);
		transition: background-color 0.25s ease;
	}

	.mb-menu-action-btn img {
		width: 18px;
		height: 18px;
		display: block;
		object-fit: contain;
	}

	.mb-lang-toggle {
		min-width: 40px;
		font-size: 18px;
		font-weight: 700;
		color: var(--main-color);
		letter-spacing: 0.02em;
	}

	.mb-lang-toggle__text {
		display: block;
		line-height: 1;
		user-select: none;
	}

	.mobile-menu-content {
		position: relative;
	}

	.mobile-menu-content .mobile-navigation {
		flex: 1;
		overflow: hidden;
		-webkit-overflow-scrolling: touch;
		padding: 16px;
		margin: 0;
		position: relative;
	}

	/* 主导航包装器 */
	.main-nav-wrapper {
		width: 100%;
		height: 100%;
		position: relative;
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		opacity: 1;
		transform: translateX(0);
	}

	.main-nav-wrapper.hiding {
		transform: translateX(-100%);
		opacity: 0;
	}

	.social-media {
		display: flex;
		align-items: center;
		position: absolute;
		left: 0;
		bottom: 0;
		gap: 18px;
	}

	/* 子导航包装器 */
	.sub-nav-wrapper {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		transform: translateX(100%);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0 16px;
	}

	.sub-nav-wrapper.active {
		transform: translateX(0);
		opacity: 1;
		visibility: visible;
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
	}

	.sub-nav-wrapper.hiding {
		transform: translateX(100%);
		opacity: 0;
	}

	/* 返回按钮样式 */
	.back-btn {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 12px 0 0 0;
		margin-bottom: 6px;
		cursor: pointer;
		color: #1a1a1ab3;
		font-size: 16px;
		font-weight: 600;
		transition: color 0.3s ease;
	}

	.back-btn .icon {
		width: 7px;
		height: 10px;
		stroke: currentColor;
	}

	/* 子导航中的菜单项样式 */
	.sub-nav-wrapper .mb-menu {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.sub-nav-wrapper .mb-menu li {
		margin-bottom: 0;
	}

	.sub-nav-wrapper .mb-menu li a {
		display: flex;
		align-items: center;
		padding: 6px 0;
		color: var(--font-color);
		font-size: 24px;
		font-weight: 600;
		text-decoration: none;
		transition: color 0.3s ease;
	}

	.mobile-menu-content .mobile-menu-action {
		padding: 20px;
		flex-shrink: 0;
		background-color: #ffffff;
		border-top: 1px solid rgba(64, 64, 64, 0.1);
	}

	.mobile-logo {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.mobile-logo a {
		display: flex;
		align-items: center;
		gap: 8px;
		text-decoration: none;
	}

	.mobile-logo .logo-circle {
		width: 160px;
		height: auto;
		object-fit: contain;
	}

	.mobile-logo .logo-txt {
		height: 20px;
		width: auto;
		object-fit: contain;
	}

	.mobile-navigation {
		margin-top: 20px;
	}

	.mobile-navigation ul {
		list-style: none;
	}

	.mobile-navigation ul li {
		margin-bottom: 0;
		/* border-bottom: 1px solid rgba(64, 64, 64, 0.1); */
	}

	.mobile-navigation ul li.active {
		color: var(--primary-color);
	}

	.mobile-navigation ul li:last-child {
		border-bottom: none;
	}

	.mobile-navigation ul li a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 8px 0;
		color: var(--font-color);
		font-size: 24px;
		font-weight: 600;
		text-decoration: none;
		transition: all 0.3s ease;
		letter-spacing: 0.5px;
		position: relative;
	}

	.mobile-navigation ul li.active>a {
		color: var(--primary-color);
	}

	/* .mobile-navigation ul li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.3s ease;
    } */

	/* .mobile-navigation ul li a:hover {
        color: var(--primary-color);
    } */

	/* 下拉菜单箭头样式 */
	.mobile-navigation .dropdown-arrow {
		width: 10px;
		height: 6px;
		transition: transform 0.3s ease;
		flex-shrink: 0;
		margin-left: 8px;
	}

	.mobile-navigation .nav-item-with-dropdown.active .dropdown-arrow {
		transform: rotate(180deg);
	}

	/* 移动端下拉菜单 */
	.mobile-dropdown-menu {
		overflow: hidden;
		transition: max-height 0.3s ease;
		margin: 0;
	}

	.mobile-navigation .nav-item-with-dropdown.active .mobile-dropdown-menu {
		max-height: 500px;
		padding-left: 16px;
	}

	/* mb - 頭部導航 end */

	/* footer - start */
	.ul-footer {
		.ul-footer-container {
			width: 100%;
		}

		.ul-footer-top {
			width: calc(100% - 32px);

			.ul-footer-top-contact-infos {
				padding: 12px;
				gap: 12px;
				display: flex;
				flex-direction: column;
				align-items: flex-start;

				.ul-footer-top-contact-info-icon-inner {
					img {
						width: 20px;
					}
				}

				span {
					font-size: 14px;
					line-height: 18px;
					margin-bottom: 0;
				}

				h5 {
					font-size: 15px;
				}
			}
		}

		.ul-footer-middle {
			padding: 150px 16px 16px 16px;

			.ul-footer-middle-wrapper {
				flex-direction: column;
				gap: 16px;

				.ul-footer-about {
					max-width: none;
					width: 100%;

					.footer-logo-wrapper {
						width: fit-content;
						padding: 12px;

						img {
							width: 160px;
						}
					}

					.ul-footer-about-txt {
						font-size: 15px;
						margin-top: 12px;
						width: 100%;
					}
				}

				.ul-footer-widget {
					.ul-footer-widget-title {
						font-size: 18px;
					}

					.ul-footer-widget-links {
						gap: 6px;

						a {
							font-size: 15px;
						}
					}

					.ul-footer-contact-links>a {
						padding: 10px !important;

						img {
							width: 20px !important;
							height: 20px !important;
						}

						&:hover {
							transform: translateY(0) scale(1) !important;
						}
					}

				}



			}
		}

		.ul-footer-bottom {
			padding: 12px 0 100px 0 !important;

			.ul-footer-container {
				padding: 0 16px;

				.ul-footer-bottom-wrapper {
					gap: 4px;
				}
			}

			.copyright-txt {
				flex-flow: column;
				align-items: flex-start;
				justify-content: flex-start;
			}
		}
	}

	/* footer - end */

	/* tabbar - start */
	.tabbar {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100%;
		min-height: 56px;
		padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
		box-sizing: border-box;
		background-color: #ffffff;
		border-top: 1px solid rgba(0, 0, 0, 0.08);
		z-index: 999;
		display: flex;
		align-items: flex-end;
		justify-content: space-between;
		gap: 4px;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
		overflow: visible;
		border-radius: 16px 16px 0 0;
	}

	.tabbar-item {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		gap: 6px;
		min-width: 0;
		padding: 4px 4px 2px;
		text-decoration: none;
		color: #444;
		font-size: 13px;
		font-weight: 600;
		line-height: 1.2;
		-webkit-tap-highlight-color: transparent;
		cursor: pointer;
		border: none;
		background: none;
		font-family: inherit;
		background-color: #ffffff;

		&.activities {
			position: relative;
			z-index: 2;
			background-color: transparent;
			overflow: visible;

			.activities-wrapper {
				position: absolute;
				left: 50%;
				bottom: calc(100% - 36px);
				transform: translateX(-50%);
				width: 120px;
				height: 120px;
				box-sizing: border-box;
				gap: 6px;
				background-image: url('/static/image/tabbar-2.png');
				background-size: cover;
				background-position: center;
				background-repeat: no-repeat;
				border-radius: 50%;
				/* 與白色 tabbar 留出「間距」：白邊 + 陰影，重疊處不會糊成一片 */
				border: 5px solid #ffffff;
				box-shadow:
					0 4px 18px rgba(0, 0, 0, 0.12),
					0 0 0 1px rgba(0, 0, 0, 0.04);
				display: flex;
				flex-direction: column;
				align-items: center;
				justify-content: center;

				.tabbar-item__icon {
					width: 40px;
					height: 40px;
				}
			}
		}

		.tabbar-item:active {
			opacity: 0.85;
		}

		.tabbar-item__icon {
			display: block;
			width: 24px;
			height: 24px;
			flex-shrink: 0;
			border-radius: 6px;
		}

		.tabbar-item__icon--lg {
			width: 32px;
			height: 32px;
			border-radius: 10px;
		}

		.tabbar-item--featured {
			flex: 1.28;
			padding-bottom: 4px;
		}

		.tabbar-item--featured .tabbar-item__label {
			font-size: 14px;
			font-weight: 700;
			color: var(--primary-color, #021f69);
		}

		.tabbar-item--featured .tabbar-item__icon--lg {
			background: rgba(235, 83, 16, 0.12);
			box-shadow: 0 2px 8px rgba(235, 83, 16, 0.15);
		}

		.tabbar-item__label {
			text-align: center;
			white-space: nowrap;
		}

		/* tabbar - end */
	}

	/* 主导航包装器 */
	.main-nav-wrapper {
		width: 100%;
		height: 100%;
		position: relative;
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		opacity: 1;
		transform: translateX(0);
	}

	.main-nav-wrapper.hiding {
		transform: translateX(-100%);
		opacity: 0;
	}

	.social-media {
		display: flex;
		align-items: center;
		position: absolute;
		left: 0;
		bottom: 0;
		gap: 18px;
	}

	/* 子导航包装器 */
	.sub-nav-wrapper {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		transform: translateX(100%);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0 16px;
	}

	.sub-nav-wrapper.active {
		transform: translateX(0);
		opacity: 1;
		visibility: visible;
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
	}

	.sub-nav-wrapper.hiding {
		transform: translateX(100%);
		opacity: 0;
	}

	/* 返回按钮样式 */
	.back-btn {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 8px 0;
		background: none;
		border: none;
		cursor: pointer;
		font-size: 16px;
		color: #333;
		margin-bottom: 16px;
	}

	.back-btn img {
		width: 14px;
		height: 14px;
	}

	.mobile-menu-footer {
		flex-shrink: 0;
		padding: 16px;
		border-top: 1px solid rgba(64, 64, 64, 0.1);
		background: #fff;
	}

	.mobile-navigation .nav-item {
		border-bottom: 1px solid rgba(64, 64, 64, 0.08);
	}

	.mobile-navigation .nav-item:last-child {
		border-bottom: none;
	}

	.mobile-navigation .nav-item a {
		display: block;
		padding: 16px 0;
		font-size: 16px;
		color: #333;
		font-weight: 500;
		text-decoration: none;
	}

	.mobile-navigation .nav-item-with-dropdown .nav-link-with-arrow {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		background: none;
		border: none;
		cursor: pointer;
		padding: 16px 0;
	}

	.layui-layer-photos-next,
	.layui-layer-photos-prev {
		font-size: 36px;
	}

	.layui-layer-photos-next {
		right: 16px;
	}

	.layui-layer-photos-prev {
		left: 16px;
	}

	.honor-section {
		padding-bottom: 140px;
	}
}

@media screen and (max-width: 768px) {
	.banner-section {
		.banner-container {
			.banner-sub {
				font-size: 20px;
				line-height: 30px;
				max-width: 64%;
			}
		}
	}
}