/*
 * Plotio landing polish.
 * Loaded after theme/customizer styles so it can neutralize earlier layout hacks.
 */

html {
	min-height: 100%;
	height: auto !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	min-height: 100%;
	height: auto !important;
	overflow-x: hidden !important;
	overflow-y: visible !important;
	-webkit-overflow-scrolling: auto;
	position: relative;
}

#page {
	min-height: 100vh !important;
	min-height: 100dvh !important;
	height: auto !important;
	display: flex;
	flex-direction: column;
}

#main {
	flex: 1 0 auto;
}

.site-footer {
	flex-shrink: 0;
}

@supports (-webkit-touch-callout: none) {
	html,
	body {
		min-height: -webkit-fill-available;
	}

	#page {
		min-height: -webkit-fill-available !important;
	}
}

#header {
	z-index: 1000;
}

/* 仅匹配 header 行的粘性容器，不影响 offcanvas 面板 (.ct-panel.ct-header) */
.ct-sticky-container,
[data-sticky] {
	z-index: 1001;
}

/* 确保 offcanvas / 搜索面板始终在 header 之上 */
.ct-panel {
	z-index: 999999 !important;
}

@media (max-width: 999.98px) {
	[data-header*="type-1"] [data-id="mobile-menu"] {
		--items-vertical-spacing: 13px;
	}

	[data-header*="type-1"] #offcanvas .ct-panel-content-inner {
		padding-top: 28px;
		padding-bottom: 28px;
	}

	[data-header*="type-1"] [data-id="offcanvas-logo"] {
		--margin: 0 0 32px 0 !important;
	}
}

@media (max-width: 689.98px) {
	[data-header*="type-1"] [data-id="mobile-menu"] {
		--items-vertical-spacing: 14px;
	}

	[data-header*="type-1"] #offcanvas .ct-panel-content-inner {
		padding-top: 22px;
		padding-bottom: 22px;
	}

	[data-header*="type-1"] [data-id="offcanvas-logo"] {
		--margin: 0 0 28px 0 !important;
	}
}

.entry-content {
	overflow: visible;
}

body.home .stk-818ad34,
body.front-page .stk-818ad34,
body.page-id-2 .stk-818ad34 {
	position: relative;
	z-index: 1;
	isolation: isolate;
	overflow: visible;
}

body.home .stk-818ad34 .stk-block-carousel__content-wrapper,
body.home .stk-818ad34 .stk-block-carousel__slider-wrapper,
body.home .stk-818ad34 .stk-block-carousel__slider,
body.front-page .stk-818ad34 .stk-block-carousel__content-wrapper,
body.front-page .stk-818ad34 .stk-block-carousel__slider-wrapper,
body.front-page .stk-818ad34 .stk-block-carousel__slider,
body.page-id-2 .stk-818ad34 .stk-block-carousel__content-wrapper,
body.page-id-2 .stk-818ad34 .stk-block-carousel__slider-wrapper,
body.page-id-2 .stk-818ad34 .stk-block-carousel__slider {
	position: relative;
	z-index: 1;
}

body.home .stk-818ad34 .stk-block-carousel__buttons,
body.home .stk-818ad34 .stk-block-carousel__dots,
body.front-page .stk-818ad34 .stk-block-carousel__buttons,
body.front-page .stk-818ad34 .stk-block-carousel__dots,
body.page-id-2 .stk-818ad34 .stk-block-carousel__buttons,
body.page-id-2 .stk-818ad34 .stk-block-carousel__dots {
	z-index: 8;
}

body.home .stk-3df3b57,
body.home .stk-d14f522,
body.front-page .stk-3df3b57,
body.front-page .stk-d14f522,
body.page-id-2 .stk-3df3b57,
body.page-id-2 .stk-d14f522 {
	position: relative !important;
	z-index: 30 !important;
	transform: translateZ(0);
}

body.home #snav,
body.front-page #snav,
body.page-id-2 #snav {
	z-index: 1200;
}

.plotio-split-heading {
	display: block;
	width: 100%;
	text-align: inherit;
}

#Platform-Advantages .plotio-split-heading,
.stk-82be033 .plotio-split-heading,
#Company-News .plotio-split-heading {
	text-align: center !important;
}

.plotio-split-heading .plotio-char {
	display: inline-block;
	white-space: pre;
}

.plotio-split-heading .plotio-space {
	width: 0.28em;
}

@media (hover: hover) and (pointer: fine) {
	.plotio-motion-ready .wp-block-stackable-icon-box,
	.plotio-motion-ready .wp-block-stackable-card {
		transition: transform 0.28s ease, box-shadow 0.28s ease;
	}

	.plotio-motion-ready .wp-block-stackable-icon-box:hover,
	.plotio-motion-ready .wp-block-stackable-card:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	}

	.plotio-motion-ready .stk-block-button a {
		transition: transform 0.2s ease, box-shadow 0.2s ease;
	}

	.plotio-motion-ready .stk-block-button a:hover {
		transform: translateY(-1px);
		box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
	}
}

@media (max-width: 767px) {
	html {
		scroll-padding-top: 60px;
	}

	body.home .stk-818ad34,
	body.home .stk-818ad34 .stk-block-carousel__content-wrapper,
	body.home .stk-818ad34 .stk-block-carousel__slider-wrapper,
	body.home .stk-818ad34 .stk-block-carousel__slider,
	body.front-page .stk-818ad34,
	body.front-page .stk-818ad34 .stk-block-carousel__content-wrapper,
	body.front-page .stk-818ad34 .stk-block-carousel__slider-wrapper,
	body.front-page .stk-818ad34 .stk-block-carousel__slider,
	body.page-id-2 .stk-818ad34,
	body.page-id-2 .stk-818ad34 .stk-block-carousel__content-wrapper,
	body.page-id-2 .stk-818ad34 .stk-block-carousel__slider-wrapper,
	body.page-id-2 .stk-818ad34 .stk-block-carousel__slider {
		min-height: 320px;
	}

	body.home .stk-818ad34 .stk-block-carousel__slider > .stk-block-column,
	body.front-page .stk-818ad34 .stk-block-carousel__slider > .stk-block-column,
	body.page-id-2 .stk-818ad34 .stk-block-carousel__slider > .stk-block-column {
		min-height: 320px !important;
	}

	body.home .stk-d14f522,
	body.front-page .stk-d14f522,
	body.page-id-2 .stk-d14f522 {
		margin-top: -32px !important;
		margin-bottom: 12px !important;
		z-index: 40 !important;
	}

	body.home .stk-d14f522 .tradingview-widget-container,
	body.front-page .stk-d14f522 .tradingview-widget-container,
	body.page-id-2 .stk-d14f522 .tradingview-widget-container {
		min-height: 54px;
		overflow: hidden;
	}

	body.home #snav,
	body.front-page #snav,
	body.page-id-2 #snav {
		width: 42px;
	}

	body.home #snav ul,
	body.front-page #snav ul,
	body.page-id-2 #snav ul {
		width: 42px;
		padding-top: 12px;
		padding-bottom: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	#snav ul,
	.circle-1,
	.circle-4,
	.circle-wrapper {
		animation: none !important;
	}

	[class*="stk-"],
	.plotio-split-heading .plotio-char {
		transform: none !important;
		opacity: 1 !important;
		transition: none !important;
		animation: none !important;
	}
}
