/*
Theme Name: Hello Elementor Child
Theme URI: https://thebestchoiceaccounting.local
Description: Child theme for The Best Choice Accounting — custom menus, logo, header/footer CSS & JS.
Author: The Best Choice Accounting
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ------------------------------------------------------------------
   1. Neutralize Hello Elementor's pink (#c36) button reset at the SOURCE.
   Hello styles every bare <button> pink; kill it once, style buttons after.
   ------------------------------------------------------------------ */
button,
[type="button"],
[type="submit"] {
	background-color: transparent;
	border: 0;
	border-radius: 0;
	color: inherit;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
}
button:hover,
button:focus,
[type="button"]:hover,
[type="button"]:focus,
[type="submit"]:hover,
[type="submit"]:focus {
	background-color: transparent;
	color: inherit;
}

/* ------------------------------------------------------------------
   2. Base font default (low specificity so Elementor Globals always win)
   ------------------------------------------------------------------ */
body,
button,
input,
select,
textarea {
	font-family: "IBM Plex Sans Thai", system-ui, -apple-system, sans-serif;
}

html {
	scroll-behavior: smooth;
}

/* Safety net against sideways scroll (never on html/body alone — keep sticky alive) */
body {
	max-width: 100%;
}

/* ------------------------------------------------------------------
   3. Site logo (Customize → Site Identity → Logo) via [site_logo]
   ------------------------------------------------------------------ */
.site-logo,
.site-logo a {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 1;
}
.site-logo img {
	height: 52px;
	width: auto;
	display: block;
}
.site-logo--footer img {
	height: 56px;
	width: auto;
	background: #fff;
	border-radius: 10px;
	padding: 3px;
}

/* ------------------------------------------------------------------
   4. WP nav menus rendered via [main_menu] / [footer_menu_*]
   ------------------------------------------------------------------ */
/* NOTE: wp_nav_menu puts menu_class on the <ul> itself — .site-menu IS the ul. */
.site-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}
.site-menu li {
	list-style: none;
	margin: 0;
}
.site-menu a {
	display: block;
	padding: 9px 14px;
	border-radius: 9px;
	text-decoration: none;
	color: #3c5871;
	font-weight: 500;
	font-size: 15px;
	transition: background-color .18s, color .18s;
}
/* NOTE: every menu item points at the front page (#anchor links), so WordPress
   flags them ALL as .current-menu-item — never style the current item with a
   background or the whole nav looks "selected". Hover only. */
.site-menu a:hover {
	color: #1466c4;
	background: #eaf3fd;
}
.site-menu .current-menu-item > a,
.site-menu .current_page_item > a {
	background: transparent;
}

/* Footer menus: vertical link lists */
.site-menu--footer {
	flex-direction: column;
	align-items: flex-start;
	gap: 11px;
}
.site-menu--footer a,
.site-menu--footer .current-menu-item > a,
.site-menu--footer .current_page_item > a {
	padding: 0;
	border-radius: 0;
	color: #8fa8c4;
	background: transparent;
	font-weight: 400;
	font-size: 14px;
}
.site-menu--footer a:hover {
	color: #fff;
	background: transparent;
}

/* ------------------------------------------------------------------
   5. Header CTA button (native Elementor Button with class .site-cta)
   ------------------------------------------------------------------ */
.site-cta .elementor-button {
	background-color: #1466c4 !important;
	color: #fff !important;
	font-family: "IBM Plex Sans Thai", sans-serif !important;
	font-weight: 600;
	border-radius: 11px;
	box-shadow: 0 8px 18px rgba(20, 102, 196, .3);
	transition: transform .18s, box-shadow .18s;
}
.site-cta .elementor-button:hover {
	background-color: #0a4a8f !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(20, 102, 196, .38);
}

/* ------------------------------------------------------------------
   5b. Header nav — one plain link per page (no #anchors, no dropdowns)
   ------------------------------------------------------------------ */
.hdr-nav > a:hover {
	color: #1466c4;
	background: #eaf3fd;
}

/* ------------------------------------------------------------------
   6. Sticky header row (HFE wraps in #masthead — stick the ROW, not masthead)
   ------------------------------------------------------------------ */
#hdr-row {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(14px);
}

/* Desktop: push menu + CTA + burger to the right of the logo.
   NOTE: a boxed container wraps its widgets in .e-con-inner — target that. */
#hdr-row .e-con-inner > .site-menu-cell {
	margin-left: auto;
}
/* Burger cell only exists on mobile */
.site-burger-cell {
	display: none;
}

/* ------------------------------------------------------------------
   7. Mobile hamburger + dropdown
   ------------------------------------------------------------------ */
.site-burger,
.site-burger:hover,
.site-burger:focus,
.site-burger:active,
.site-burger:focus-visible {
	background: transparent !important;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
	display: none;
	width: 44px;
	height: 44px;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0;
}
.site-burger span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: #0a4a8f;
	transition: transform .25s, opacity .25s;
}
.site-burger.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.site-burger.is-open span:nth-child(2) {
	opacity: 0;
}
.site-burger.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
	/* Show the burger, hide the inline menu until toggled */
	.site-burger-cell {
		display: block;
	}
	.site-burger {
		display: flex !important;
	}

	/* Pin the burger to the right — the menu goes absolute, so nothing stretches the row */
	#hdr-row .e-con-inner > .site-burger-cell {
		margin-left: auto !important;
	}
	/* Menu is absolute now — it must not also claim auto margin */
	#hdr-row .e-con-inner > .site-menu-cell {
		margin-left: 0;
	}

	#hdr-row .site-menu-cell {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		background: #fff;
		border-top: 1px solid #e4edf7;
		box-shadow: 0 18px 32px -18px rgba(11, 46, 82, .28);
		padding: 10px 20px 18px;
		display: none;
	}
	#hdr-row .site-menu-cell.is-open {
		display: block;
	}

	/* Full-width dropdown list (kill the desktop flex-end hug) */
	#hdr-row .site-menu-cell nav {
		display: block;
		width: 100%;
	}
	#hdr-row .site-menu-cell ul {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	#hdr-row .site-menu-cell a {
		padding: 13px 8px;
		border-bottom: 1px solid #f0f5fb;
		border-radius: 0;
		font-size: 16px;
	}
	#hdr-row .site-menu-cell li:last-child a {
		border-bottom: 0;
	}
}

/* Very small phones: drop the CTA so logo + burger never crowd */
@media (max-width: 600px) {
	#hdr-row .e-con-inner > .site-cta {
		display: none;
	}
	.site-logo img {
		height: 44px;
	}
}

/* ==================================================================
   PAGE COMPONENTS
   ================================================================== */

/* Pill badge (hero + "ยื่นแล้ว" chip) — hug content instead of stretching */
.pill {
	align-self: flex-start;
	width: auto !important;
	flex: 0 0 auto !important;
}

/* Hero buttons */
.btn-primary .elementor-button {
	background-color: #1466c4 !important;
	color: #fff !important;
	box-shadow: 0 12px 26px rgba(20, 102, 196, .32);
	transition: transform .18s, box-shadow .18s;
}
.btn-primary .elementor-button:hover {
	background-color: #0a4a8f !important;
	transform: translateY(-1px);
}
.btn-ghost .elementor-button {
	background-color: #fff !important;
	color: #0a4a8f !important;
	border: 1px solid #d2e2f4;
	transition: border-color .18s, color .18s;
}
.btn-ghost .elementor-button:hover {
	border-color: #1466c4;
	color: #1466c4 !important;
}
.btn-white .elementor-button {
	background-color: #fff !important;
	color: #0a4a8f !important;
	font-weight: 700;
}
/* Outline button for use ON the dark navy CTA band */
.btn-ghost-dark .elementor-button {
	background-color: transparent !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, .45);
	transition: border-color .18s, background-color .18s;
}
.btn-ghost-dark .elementor-button:hover {
	border-color: #fff;
	background-color: rgba(255, 255, 255, .1) !important;
}
.btn-outline .elementor-button {
	background-color: transparent !important;
	color: #0a4a8f !important;
	border: 1px solid #cfe0f2;
}
.btn-outline .elementor-button:hover {
	border-color: #1466c4;
	background-color: #f4f9ff !important;
}

/* Hero stat trio — hug content + vertical dividers between items.
   Elementor containers default to width:100%, so a wrap row would stack them. */
.stat-item {
	width: auto !important;
	flex: 0 0 auto !important;
}
.stat-item:not(:last-child) {
	border-right: 1px solid #d5e3f2;
	padding-right: 24px;
}
@media (max-width: 767px) {
	.stat-item:not(:last-child) {
		border-right: 0;
		padding-right: 0;
	}
}

/* Cards lift on hover */
.card-hover {
	transition: box-shadow .22s, border-color .22s, transform .22s;
}
.card-hover:hover {
	box-shadow: 0 20px 40px -18px rgba(11, 46, 82, .22);
	border-color: #d2e2f4 !important;
	transform: translateY(-2px);
}

/* Small caps eyebrow label above section titles */
.eyebrow .elementor-heading-title,
.eyebrow p {
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0;
}

/* About tags — pills */
.tag-pill .elementor-heading-title {
	display: inline-block;
	background: #fff;
	border: 1px solid #dce9f6;
	color: #0a4a8f;
	font-family: "IBM Plex Sans Thai", sans-serif;
	font-weight: 500;
	font-size: 14px;
	padding: 9px 16px;
	border-radius: 100px;
}

/* "ยอดนิยมที่สุด" badge sitting INSIDE the highlighted pricing card (detail pages) */
.pop-badge-inline .elementor-heading-title {
	display: inline-block;
	align-self: flex-start;
	background: linear-gradient(180deg, #38d08a, #1e8e4e);
	color: #fff;
	padding: 5px 14px;
	border-radius: 100px;
	white-space: nowrap;
}

/* "ยอดนิยมที่สุด" badge on the highlighted pricing card */
.pop-badge {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	width: auto !important;
}
.pop-badge .elementor-heading-title {
	display: block;
	background: linear-gradient(180deg, #38d08a, #1e8e4e);
	color: #fff;
	font-family: "IBM Plex Sans Thai", sans-serif;
	font-weight: 600;
	font-size: 12.5px;
	padding: 6px 16px;
	border-radius: 100px;
	white-space: nowrap;
}

/* Floating "ภ.ง.ด.50 ยื่นสำเร็จ" chip over the hero card */
.float-badge {
	position: absolute;
	bottom: -22px;
	left: -18px;
	z-index: 5;
	width: auto !important;
	flex: 0 0 auto !important;
	animation: floaty 5s ease-in-out infinite;
}
.float-badge__text {
	width: auto !important;
}
@keyframes floaty {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-10px); }
}
@media (max-width: 767px) {
	.float-badge {
		display: none;
	}
}

/* Hero chart bars grow in on load */
.bar {
	transform-origin: bottom;
	animation: barrise .7s ease both;
}
@keyframes barrise {
	from { transform: scaleY(.2); }
	to   { transform: scaleY(1); }
}

/* ==================================================================
   CARTOON MASCOT
   ================================================================== */

/* Soft blurred glow behind the illustration — gives the flat cartoon some depth so it
   doesn't look pasted onto the hero. Used on both the homepage mascot and the new pages'
   hero art column. */
.home-hero-mascot::before,
.hero-art::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(46, 134, 240, .34) 0%, rgba(46, 134, 240, .16) 46%, rgba(46, 134, 240, 0) 72%);
	filter: blur(12px);
	z-index: 0;
	pointer-events: none;
}
/* Pale core sitting INSIDE the blue halo, so she reads against it. Keep it weak — at .85
   it simply painted over the blue and the whole glow washed out to nothing. */
.home-hero-mascot::after,
.hero-art::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 58%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 68%);
	filter: blur(8px);
	z-index: 0;
	pointer-events: none;
}

/* --- Homepage hero: mascot as the centered hero visual --------------------------- */
/* The report/chart card was removed by request; the mascot is now the whole right-cell
   visual, centered on her glow with two small floating trust chips flanking her. */
.home-hero-mascot {
	position: relative;
	display: inline-block;
	z-index: 2;
}
.home-hero-mascot::before {
	width: 360px;
	height: 360px;
}
.home-hero-mascot::after {
	width: 250px;
	height: 250px;
}
.home-hero-mascot img {
	position: relative;
	z-index: 1;
	height: clamp(300px, 33vw, 460px);
	width: auto;
	display: block;
	margin: 0 auto;
	filter: drop-shadow(0 22px 34px rgba(11, 46, 82, .20));
}

/* Small trust chips floating beside the mascot — replace the busy report card with a
   couple of light, on-brand accents so the right cell stays lively but uncluttered. */
.home-hero-chip {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #E4EDF7;
	border-radius: 14px;
	box-shadow: 0 16px 34px -12px rgba(11, 46, 82, .26);
	padding: 11px 14px;
}
.home-hero-chip-tl {
	top: 12%;
	left: 0;
	animation: floaty 5s ease-in-out infinite;
}
.home-hero-chip-br {
	bottom: 14%;
	right: 0;
	animation: floaty 5.6s ease-in-out .8s infinite;
}
/* On phones the chips would collide with the (now centered) mascot — drop them and keep
   just the illustration. */
@media (max-width: 600px) {
	.home-hero-chip {
		display: none;
	}
}

/* --- New pages: hero band decoration ---------------------------------------------- */
/* Two soft brand-tinted orbs bleeding off the corners — the same trick the homepage
   hero uses, so the detail pages feel like the same site. The hero container carries
   overflow:hidden, so they never create sideways scroll. */
.hero-band::before,
.hero-band::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}
.hero-band::before {
	top: -140px;
	right: -120px;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(46, 134, 240, .18), rgba(46, 134, 240, 0) 70%);
}
.hero-band::after {
	bottom: -160px;
	left: -100px;
	width: 380px;
	height: 380px;
	background: radial-gradient(circle, rgba(10, 74, 143, .12), rgba(10, 74, 143, 0) 70%);
}
.hero-band > .e-con-inner {
	position: relative;
	z-index: 1;
}

/* Trust chip above the eyebrow */
.pill-badge .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #dce9f6;
	padding: 7px 14px;
	border-radius: 100px;
	box-shadow: 0 4px 12px rgba(11, 46, 82, .06);
}
.pill-badge .elementor-heading-title::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #28b463;
	flex: 0 0 auto;
}

/* --- New pages: hero art column --------------------------------------------------- */
.hero-art {
	position: relative;
}

/* Gentle bob so she doesn't sit dead-still on the page */
@keyframes tbcFloat {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-12px); }
}
.hero-art .elementor-widget-image img {
	animation: tbcFloat 5.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
	.hero-art .elementor-widget-image img {
		animation: none;
	}
}
.hero-art::before {
	width: 430px;
	height: 430px;
}
.hero-art::after {
	width: 300px;
	height: 300px;
}
.hero-art .elementor-widget-image,
.hero-art .elementor-widget-image img {
	position: relative;
	z-index: 1;
}
/* The bust is a straight rectangular cut through the book — fade the last stretch out so
   it reads as an illustration melting into the hero, not a photo chopped off mid-torso. */
.hero-art .elementor-widget-image img {
	filter: drop-shadow(0 18px 28px rgba(11, 46, 82, .16));
	-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0, 0, 0, 0) 100%);
	mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0, 0, 0, 0) 100%);
}
@media (max-width: 767px) {
	.hero-art::before {
		width: 260px;
		height: 260px;
	}
	.hero-art::after {
		width: 180px;
		height: 180px;
	}
}

/* ==================================================================
   STICKY MOBILE CALL BAR (rendered on wp_footer, phones only)
   ================================================================== */
.tbc-callbar {
	display: none;
}

@media (max-width: 767px) {
	.tbc-callbar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		gap: 8px;
		padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96);
		backdrop-filter: blur(10px);
		border-top: 1px solid #e4edf7;
		box-shadow: 0 -8px 24px -12px rgba(11, 46, 82, .3);
	}

	.tbc-callbar__btn {
		flex: 1 1 0;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 7px;
		min-height: 48px;            /* comfortable tap target */
		border-radius: 12px;
		text-decoration: none;
		font-family: "IBM Plex Sans Thai", sans-serif;
		font-weight: 600;
		font-size: 15.5px;
		line-height: 1;
	}
	.tbc-callbar__btn--call {
		background: linear-gradient(180deg, #2e86f0, #1466c4);
		color: #fff;
		box-shadow: 0 8px 18px rgba(20, 102, 196, .3);
	}
	.tbc-callbar__btn--fb {
		background: #fff;
		color: #0a4a8f;
		border: 1px solid #d2e2f4;
	}

	/* Keep the bar from covering the last of the footer. */
	body {
		padding-bottom: 68px;
	}
}

/* ==================================================================
   CONTACT FORM  ([tbc_contact_form])
   ================================================================== */
.tbc-form {
	background: #fff;
	border-radius: 22px;
	padding: clamp(24px, 3vw, 36px);
	box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .5);
	text-align: left;
}
.tbc-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
}
.tbc-form__title {
	font-family: "Anuphan", sans-serif;
	font-weight: 600;
	font-size: 20px;
	color: #0b2e52;
	margin: 0 0 20px;
}
.tbc-form label {
	display: block;
	font-size: 13.5px;
	font-weight: 500;
	color: #42596e;
	margin-bottom: 7px;
}
.tbc-form input[type="text"],
.tbc-form input[type="email"],
.tbc-form input[type="tel"],
.tbc-form textarea {
	width: 100%;
	border: 1px solid #dce6f1;
	border-radius: 11px;
	padding: 13px 15px;
	font-size: 15px;
	font-family: inherit;
	color: #0b2e52;
	background: #fafcfe;
	margin-bottom: 16px;
	outline: none;
	transition: border-color .18s, background-color .18s;
}
.tbc-form textarea {
	resize: vertical;
}
.tbc-form input:focus,
.tbc-form textarea:focus {
	border-color: #2e86f0;
	background: #fff;
}
.tbc-form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 14px;
}
.tbc-form__submit,
.tbc-form__submit:hover,
.tbc-form__submit:focus {
	width: 100%;
	margin-top: 4px;
	background: linear-gradient(180deg, #2e86f0, #1466c4) !important;
	color: #fff !important;
	font-weight: 600;
	font-size: 16px;
	font-family: inherit;
	padding: 15px !important;
	border: 0 !important;
	border-radius: 12px !important;
	cursor: pointer;
	box-shadow: 0 12px 26px rgba(20, 102, 196, .32);
	transition: transform .18s;
}
.tbc-form__submit:hover {
	transform: translateY(-1px);
}
.tbc-form__note {
	font-size: 12.5px;
	color: #94a8bc;
	text-align: center;
	margin: 14px 0 0;
}
.tbc-form--done {
	text-align: center;
	padding: 46px 24px;
}
.tbc-form__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: #e9f8ef;
	color: #1e8e4e;
	font-size: 30px;
	font-weight: 700;
}
.tbc-form--done h3 {
	font-family: "Anuphan", sans-serif;
	font-weight: 700;
	font-size: 23px;
	color: #0b2e52;
	margin: 20px 0 0;
}
.tbc-form--done p {
	font-size: 15.5px;
	line-height: 1.7;
	color: #5b7186;
	margin: 12px 0 0;
}

/* ==================================================================
   INNER-PAGE HEROES — one blue-&-white theme, a different pattern per page
   All four inner pages share the hero section #77038f4 (class .hero-band) and
   carry a per-page class. The Elementor section holds a light base colour
   (editable); each pattern below layers on top via the per-page class so the
   pages read as the same family but never identical. Text stays dark; the
   right-column image is untouched. The shared .hero-band::before/::after keep
   the blue corner orbs.
   ================================================================== */
/* บริการ — soft radial spotlight (top-right) */
.hero-svc {
	background:
		radial-gradient(130% 120% at 88% -10%, #dfeafb 0%, #f2f8ff 46%, #ffffff 100%) !important;
}
/* แพ็กเกจ — blue dot grid */
.hero-price {
	background:
		radial-gradient(#d3e3f9 1.6px, transparent 1.8px) 0 0 / 22px 22px,
		linear-gradient(160deg, #f3f8ff 0%, #ffffff 100%) !important;
}
/* เกี่ยวกับเรา — fine diagonal pinstripes */
.hero-about {
	background:
		repeating-linear-gradient(135deg, rgba(20, 102, 196, .06) 0 2px, transparent 2px 15px),
		linear-gradient(160deg, #eef5ff 0%, #ffffff 100%) !important;
}
/* ติดต่อ — graph-paper grid */
.hero-contact {
	background:
		linear-gradient(#e0ecfb 1px, transparent 1px) 0 0 / 100% 26px,
		linear-gradient(90deg, #e0ecfb 1px, transparent 1px) 0 0 / 26px 100%,
		linear-gradient(160deg, #f2f8ff 0%, #ffffff 100%) !important;
}

/* ==================================================================
   INNER-PAGE HEROES — a DIFFERENT text/image layout per page so none of
   them read like the homepage (which is text-left / image-right). The row
   is `.hero-<x> > .e-con-inner > .e-con`; its two children are the text
   column (:not(.hero-art)) and the image column (.hero-art).
   Layout changes apply on tablet/desktop only — phones keep the natural
   single-column stack the section already ships with.
   ================================================================== */

/* Centered copy for the two stacked pages (all widths) */
.hero-price > .e-con-inner > .e-con > .e-con:not(.hero-art),
.hero-about > .e-con-inner > .e-con > .e-con:not(.hero-art) {
	align-items: center !important;
	text-align: center !important;
}
.hero-price .elementor-icon-list-items,
.hero-about .elementor-icon-list-items {
	justify-content: center !important;
}
.hero-price > .e-con-inner > .e-con > .e-con:not(.hero-art) > .e-con,
.hero-about > .e-con-inner > .e-con > .e-con:not(.hero-art) > .e-con {
	justify-content: center !important;
}
/* Stacked illustrations show whole — drop the homepage "melt into hero" mask */
.hero-price .hero-art .elementor-widget-image img,
.hero-about .hero-art .elementor-widget-image img {
	-webkit-mask-image: none !important;
	mask-image: none !important;
}

@media (min-width: 768px) {
	/* บริการ — image LEFT / text RIGHT (reverse the split) */
	.hero-svc > .e-con-inner > .e-con {
		flex-direction: row-reverse !important;
	}

	/* ติดต่อ — image LEFT / text RIGHT, text pushed to the right edge */
	.hero-contact > .e-con-inner > .e-con {
		flex-direction: row-reverse !important;
	}
	.hero-contact > .e-con-inner > .e-con > .e-con:not(.hero-art) {
		align-items: flex-end !important;
		text-align: right !important;
	}
	.hero-contact > .e-con-inner > .e-con > .e-con:not(.hero-art) > .e-con,
	.hero-contact .elementor-icon-list-items {
		justify-content: flex-end !important;
	}

	/* แพ็กเกจ — centered stack, text TOP / image BELOW */
	.hero-price > .e-con-inner > .e-con {
		flex-direction: column !important;
		align-items: center !important;
	}
	/* เกี่ยวกับเรา — centered stack, image TOP / text BELOW */
	.hero-about > .e-con-inner > .e-con {
		flex-direction: column-reverse !important;
		align-items: center !important;
	}
	/* Both stacks: full-width centered copy, contained illustration */
	.hero-price > .e-con-inner > .e-con > .e-con,
	.hero-about > .e-con-inner > .e-con > .e-con {
		width: 100% !important;
		max-width: 760px !important;
	}
	.hero-price .hero-art,
	.hero-about .hero-art {
		width: 100% !important;
		max-width: 440px !important;
	}
}
