/**
 * Mainland phone eSIM installation guide.
 *
 * Scoped to the /mainland/ body class so editor-authored guide styles cannot
 * affect ordinary pages or historical articles.
 */

body.huoka-mainland-guide-active {
	--huoka-guide-blue: #1467e8;
	--huoka-guide-blue-dark: #0b4fb9;
	--huoka-guide-blue-soft: #eef6ff;
	--huoka-guide-orange: #ed7a18;
	--huoka-guide-orange-soft: #fff7ed;
	--huoka-guide-navy: #17253a;
	--huoka-guide-text: #33445b;
	--huoka-guide-muted: #66758a;
	--huoka-guide-border: #dce7f3;
	--huoka-guide-surface: #fff;
	background: #f4f7fb;
}

body.huoka-mainland-guide-active #wrap {
	background:
		radial-gradient(circle at 8% 3%, rgba(20, 103, 232, 0.06), transparent 24rem),
		#f4f7fb;
}

body.huoka-mainland-guide-active .wrap.container {
	display: block;
	max-width: 1200px;
}

body.huoka-mainland-guide-active .breadcrumb-wide {
	max-width: 1180px;
	margin-right: auto;
	margin-left: auto;
	color: #748399;
}

body.huoka-mainland-guide-active .main.main-wide {
	float: none;
	width: 100%;
	max-width: 1180px;
	margin-right: auto;
	margin-left: auto;
}

body.huoka-mainland-guide-active article.entry {
	width: 100%;
}

body.huoka-mainland-guide-active .entry-main {
	padding: 48px 64px 58px;
	border: 1px solid rgba(207, 221, 237, 0.82);
	border-radius: 22px;
	background: var(--huoka-guide-surface);
	box-shadow: 0 18px 54px rgba(33, 72, 118, 0.08);
}

body.huoka-mainland-guide-active .entry-main > .entry-head {
	width: 100%;
	max-width: 920px;
	margin-right: auto;
	margin-bottom: 30px;
	margin-left: auto;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--huoka-guide-border);
	text-align: left;
}

body.huoka-mainland-guide-active .entry-title {
	margin: 0;
	color: var(--huoka-guide-navy);
	font-size: clamp(32px, 4vw, 43px);
	font-weight: 850;
	line-height: 1.24;
	letter-spacing: -0.035em;
}

body.huoka-mainland-guide-active .entry-title::after {
	width: 48px;
	height: 4px;
	margin: 20px 0 0;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--huoka-guide-blue), #55a7ff);
}

body.huoka-mainland-guide-active .entry-content {
	width: 100%;
	max-width: 920px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	color: var(--huoka-guide-text);
	font-size: 17px;
	line-height: 1.88;
}

body.huoka-mainland-guide-active .entry-content p {
	margin-bottom: 17px;
}

body.huoka-mainland-guide-active .entry-content > .huoka-guide-lead,
body.huoka-mainland-guide-active .entry-content > .huoka-guide-lead + p,
body.huoka-mainland-guide-active .entry-content > .huoka-guide-lead + p + p {
	margin: 0;
	padding-right: 28px;
	padding-left: 28px;
	border-right: 1px solid #dceaff;
	border-left: 4px solid var(--huoka-guide-blue);
	background: linear-gradient(100deg, #f2f8ff 0%, #f8fbff 100%);
}

body.huoka-mainland-guide-active .entry-content > .huoka-guide-lead {
	padding-top: 24px;
	padding-bottom: 9px;
	border-top: 1px solid #dceaff;
	border-radius: 15px 15px 0 0;
	color: #213b5f;
	font-size: 19px;
	font-weight: 650;
	line-height: 1.78;
}

body.huoka-mainland-guide-active .entry-content > .huoka-guide-lead + p {
	padding-top: 2px;
	padding-bottom: 9px;
}

body.huoka-mainland-guide-active .entry-content > .huoka-guide-lead + p + p {
	margin-bottom: 26px;
	padding-top: 2px;
	padding-bottom: 24px;
	border-bottom: 1px solid #dceaff;
	border-radius: 0 0 15px 15px;
}

body.huoka-mainland-guide-active .huoka-guide-notice {
	position: relative;
	margin: 26px 0 24px;
	padding: 22px 24px 20px 68px;
	border: 1px solid #ffd5a8;
	border-radius: 15px;
	background: linear-gradient(105deg, #fff8ef 0%, #fffbf6 100%);
	box-shadow: 0 9px 24px rgba(196, 104, 25, 0.06);
}

body.huoka-mainland-guide-active .huoka-guide-notice::before {
	position: absolute;
	top: 22px;
	left: 22px;
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--huoka-guide-orange);
	color: #fff;
	font-size: 18px;
	font-weight: 850;
	line-height: 1;
	content: "!";
}

body.huoka-mainland-guide-active .huoka-guide-notice h3 {
	margin: 0 0 6px;
	color: #9a4c0d;
	font-size: 19px;
}

body.huoka-mainland-guide-active .huoka-guide-notice p:last-child {
	margin-bottom: 0;
}

body.huoka-mainland-guide-active .entry-content > .wp-block-buttons {
	display: flex;
	justify-content: flex-start;
	gap: 12px;
	margin: 24px 0;
}

body.huoka-mainland-guide-active .wp-block-button__link {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 11px 22px;
	border: 1px solid var(--huoka-guide-blue) !important;
	border-radius: 10px;
	background: var(--huoka-guide-blue) !important;
	box-shadow: 0 8px 18px rgba(20, 103, 232, 0.17);
	color: #fff !important;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.4;
	text-decoration: none;
	transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

body.huoka-mainland-guide-active .wp-block-button__link:hover {
	background: var(--huoka-guide-blue-dark) !important;
	box-shadow: 0 10px 22px rgba(20, 103, 232, 0.23);
	transform: translateY(-1px);
}

body.huoka-mainland-guide-active .wp-block-button.is-style-outline .wp-block-button__link {
	background: #fff !important;
	box-shadow: none;
	color: var(--huoka-guide-blue) !important;
}

body.huoka-mainland-guide-active .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--huoka-guide-blue-soft) !important;
}

body.huoka-mainland-guide-active .huoka-guide-scope {
	margin: 24px 0 6px;
	padding: 15px 18px;
	border: 1px solid #e2e9f1;
	border-radius: 11px;
	background: #f7f9fc;
	color: var(--huoka-guide-muted);
	font-size: 14px;
	line-height: 1.75;
}

body.huoka-mainland-guide-active .entry-content > h2 {
	position: relative;
	margin: 52px 0 22px;
	padding: 0 0 14px 18px;
	border-bottom: 1px solid var(--huoka-guide-border);
	color: var(--huoka-guide-navy);
	font-size: 29px;
	font-weight: 850;
	line-height: 1.35;
	letter-spacing: -0.025em;
}

body.huoka-mainland-guide-active .entry-content > h2::before {
	position: absolute;
	top: 0.18em;
	bottom: calc(0.18em + 14px);
	left: 0;
	width: 5px;
	min-height: 24px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--huoka-guide-blue), #63b0ff);
	content: "";
}

body.huoka-mainland-guide-active .entry-content > h3 {
	margin: 32px 0 11px;
	color: #213752;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.45;
}

body.huoka-mainland-guide-active .entry-content ul,
body.huoka-mainland-guide-active .entry-content ol {
	margin: 9px 0 22px;
	padding-left: 1.45em;
}

body.huoka-mainland-guide-active .entry-content li {
	margin-bottom: 7px;
	padding-left: 3px;
}

body.huoka-mainland-guide-active .entry-content li::marker {
	color: var(--huoka-guide-blue);
	font-weight: 800;
}

body.huoka-mainland-guide-active .entry-content a:not(.wp-block-button__link) {
	color: var(--huoka-guide-blue);
	font-weight: 650;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.huoka-mainland-guide-active .wp-block-details {
	margin: 0 0 12px;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--huoka-guide-border);
	border-radius: 12px;
	background: #fff;
}

body.huoka-mainland-guide-active .wp-block-details summary {
	position: relative;
	padding: 17px 50px 17px 20px;
	cursor: pointer;
	color: #213752;
	font-weight: 780;
	line-height: 1.55;
	list-style: none;
}

body.huoka-mainland-guide-active .wp-block-details summary::-webkit-details-marker {
	display: none;
}

body.huoka-mainland-guide-active .wp-block-details summary::after {
	position: absolute;
	top: 50%;
	right: 20px;
	color: var(--huoka-guide-blue);
	font-size: 23px;
	font-weight: 500;
	line-height: 1;
	content: "+";
	transform: translateY(-50%);
}

body.huoka-mainland-guide-active .wp-block-details[open] {
	background: #fbfdff;
}

body.huoka-mainland-guide-active .wp-block-details[open] summary::after {
	content: "−";
}

body.huoka-mainland-guide-active .wp-block-details > p {
	margin: 0;
	padding: 0 20px 16px;
	color: #53647a;
}

body.huoka-mainland-guide-active .huoka-guide-cta {
	margin: 52px 0 36px;
	padding: 34px 36px;
	border-radius: 18px;
	background: linear-gradient(135deg, #0c56c7 0%, #1978ed 100%);
	box-shadow: 0 18px 38px rgba(20, 103, 232, 0.2);
	color: #fff;
}

body.huoka-mainland-guide-active .huoka-guide-cta h2,
body.huoka-mainland-guide-active .huoka-guide-cta p {
	color: #fff;
}

body.huoka-mainland-guide-active .huoka-guide-cta h2 {
	margin: 0 0 10px;
	font-size: 27px;
}

body.huoka-mainland-guide-active .huoka-guide-cta .wp-block-buttons {
	margin: 22px 0 0;
}

body.huoka-mainland-guide-active .huoka-guide-cta .wp-block-button__link {
	border-color: #fff !important;
	background: #fff !important;
	box-shadow: none;
	color: var(--huoka-guide-blue-dark) !important;
}

body.huoka-mainland-guide-active .huoka-guide-cta .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: #fff !important;
}

body.huoka-mainland-guide-active .entry-content > .wp-block-separator {
	margin: 44px 0 36px;
	border-color: var(--huoka-guide-border);
	opacity: 1;
}

@media (max-width: 760px) {
	body.huoka-mainland-guide-active .wrap.container {
		margin-top: 14px;
		padding-right: 12px;
		padding-left: 12px;
	}

	body.huoka-mainland-guide-active .entry-main {
		padding: 30px 20px 38px;
		border-radius: 17px;
		box-shadow: 0 12px 34px rgba(33, 72, 118, 0.07);
	}

	body.huoka-mainland-guide-active .entry-head {
		margin-bottom: 24px;
		padding-bottom: 21px;
	}

	body.huoka-mainland-guide-active .entry-title {
		font-size: 29px;
		line-height: 1.3;
	}

	body.huoka-mainland-guide-active .entry-title::after {
		margin-top: 16px;
	}

	body.huoka-mainland-guide-active .entry-content {
		font-size: 16px;
		line-height: 1.86;
	}

	body.huoka-mainland-guide-active .entry-content > .huoka-guide-lead,
	body.huoka-mainland-guide-active .entry-content > .huoka-guide-lead + p,
	body.huoka-mainland-guide-active .entry-content > .huoka-guide-lead + p + p {
		padding-right: 18px;
		padding-left: 18px;
	}

	body.huoka-mainland-guide-active .entry-content > .huoka-guide-lead {
		padding-top: 19px;
		font-size: 17px;
	}

	body.huoka-mainland-guide-active .entry-content > .huoka-guide-lead + p + p {
		padding-bottom: 19px;
	}

	body.huoka-mainland-guide-active .huoka-guide-notice {
		padding: 58px 18px 19px;
	}

	body.huoka-mainland-guide-active .huoka-guide-notice::before {
		top: 17px;
		left: 18px;
	}

	body.huoka-mainland-guide-active .entry-content > .wp-block-buttons,
	body.huoka-mainland-guide-active .huoka-guide-cta .wp-block-buttons {
		flex-direction: column;
		gap: 10px;
	}

	body.huoka-mainland-guide-active .wp-block-button,
	body.huoka-mainland-guide-active .wp-block-button__link {
		width: 100%;
	}

	body.huoka-mainland-guide-active .entry-content > h2 {
		margin-top: 42px;
		font-size: 24px;
	}

	body.huoka-mainland-guide-active .entry-content > h3 {
		margin-top: 27px;
		font-size: 19px;
	}

	body.huoka-mainland-guide-active .huoka-guide-cta {
		margin-top: 44px;
		padding: 27px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.huoka-mainland-guide-active .wp-block-button__link {
		transition: none;
	}
}
