/* Pagecraft Builder — สไตล์หน้าเว็บ (ใช้ทั้งหน้าจริงและโหมดแก้ไข) */

.pcb-region {
	container: pcb / inline-size;
	position: relative;
	font-family: var(--pcb-font-body);
	font-size: var(--pcb-fs);
	color: var(--pcb-text);
	background: var(--pcb-bg);
	line-height: 1.65;
	-webkit-text-size-adjust: 100%;
}
.pcb-region *,
.pcb-region *::before,
.pcb-region *::after { box-sizing: border-box; }
.pcb-region img { max-width: 100%; height: auto; }
.pcb-region a { color: var(--pcb-primary); }
.pcb-site { position: relative; }

/* ---------- ตำแหน่ง Header ---------- */
.pcb-region-header { z-index: 60; }
.pcb-region-header:has(.pcb-nav-sticky) { position: sticky; top: 0; }
.pcb-region-header:has(.pcb-navbar[data-overlap="1"]) { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.pcb-region-header:has(.pcb-navbar[data-overlap="1"][data-sticky="1"]) { position: fixed; }
body.admin-bar .pcb-region-header:has(.pcb-nav-sticky) { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .pcb-region-header:has(.pcb-nav-sticky) { top: 46px; }
}

/* ---------- โครงหน้า ---------- */
.pcb-section { position: relative; padding: 80px 0; }
.pcb-section[id] { scroll-margin-top: 84px; }
.pcb-section::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
@container pcb (max-width: 640px) {
	.pcb-section { padding-block: 48px; }
}
.pcb-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	margin-inline: auto;
	padding-inline: 20px;
}
.pcb-w-boxed { max-width: calc(var(--pcb-container) * 1px + 40px); }
.pcb-w-wide { max-width: 1400px; }
.pcb-w-full { max-width: none; padding-inline: 0; }
.pcb-center,
.pcb-center .pcb-inner { text-align: center; }
.pcb-center .pcb-buttons { justify-content: center; }
.pcb-center .pcb-inner > .pcb-icon,
.pcb-center .pcb-column > .pcb-icon { align-self: center; }

.pcb-columns {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pcb-column {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

/* ---------- ตัวอักษร ---------- */
.pcb-heading {
	margin: 0;
	font-family: var(--pcb-font-head);
	color: var(--pcb-h, var(--pcb-heading));
	line-height: 1.25;
	font-weight: 700;
	overflow-wrap: anywhere;
}
h1.pcb-heading { font-size: clamp(2rem, 5.2cqw, 3.6rem); }
h2.pcb-heading { font-size: clamp(1.6rem, 3.8cqw, 2.6rem); }
h3.pcb-heading { font-size: clamp(1.3rem, 2.6cqw, 1.75rem); }
h4.pcb-heading { font-size: 1.25rem; }
h5.pcb-heading { font-size: 1.1rem; }
h6.pcb-heading { font-size: 1rem; }
.pcb-heading.pcb-eyebrow {
	font-size: .82rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--pcb-eb, var(--pcb-primary));
}
.pcb-text > :first-child { margin-top: 0; }
.pcb-text > :last-child { margin-bottom: 0; }
.pcb-text p { margin: 0 0 .9em; }

/* ---------- ปุ่ม ---------- */
.pcb-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.pcb-region .pcb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .75em 1.6em;
	border: 2px solid var(--pcb-primary);
	border-radius: var(--pcb-radius);
	background: var(--pcb-primary);
	color: #fff;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: filter .15s, transform .15s, background-color .15s, color .15s;
}
.pcb-region .pcb-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.pcb-region .pcb-btn-outline { background: transparent; color: var(--pcb-primary); }
.pcb-region .pcb-btn-light { background: #fff; border-color: #fff; color: var(--pcb-primary); }
.pcb-region .pcb-btn-l { padding: .95em 2.1em; font-size: 1.1em; }
.pcb-btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- รูปภาพ ---------- */
.pcb-image { margin: 0; }
.pcb-image img { display: inline-block; vertical-align: top; }

/* ---------- การ์ด ---------- */
.pcb-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	border: 1px solid #e3e8ef;
	border-radius: var(--pcb-radius);
	background: #fff;
	color: var(--pcb-text);
	--pcb-h: var(--pcb-heading);
	--pcb-eb: var(--pcb-primary);
}

/* ---------- รายการ ---------- */
.pcb-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding-left: 1.3em;
	text-align: left;
}
.pcb-list-check { list-style: none; padding-left: 0; }
.pcb-list-check li { position: relative; padding-left: 1.6em; }
.pcb-list-check li::before {
	content: "✓";
	position: absolute;
	left: 0;
	font-weight: 700;
	color: var(--pcb-primary);
}

/* ---------- ราคา ---------- */
.pcb-price {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	border: 1px solid #e3e8ef;
	border-radius: calc(var(--pcb-radius) * 1.4);
	background: #fff;
	color: var(--pcb-text);
	text-align: left;
	--pcb-h: var(--pcb-heading);
}
.pcb-price.is-featured { border-color: var(--pcb-primary); box-shadow: 0 12px 32px rgba(15, 23, 42, .12); }
.pcb-price-badge {
	position: absolute;
	top: -12px;
	left: 28px;
	padding: 2px 12px;
	border-radius: 999px;
	background: var(--pcb-primary);
	color: #fff;
	font-size: .8rem;
	font-weight: 600;
}
.pcb-price-name { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--pcb-heading); }
.pcb-price-desc { margin: 0; opacity: .8; }
.pcb-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.pcb-price-row del { opacity: .5; }
.pcb-price-amount { font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--pcb-heading); }
.pcb-price-list {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pcb-price-list li { position: relative; padding-left: 1.6em; }
.pcb-price-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	font-weight: 700;
	color: var(--pcb-primary);
}
.pcb-price .pcb-btn { text-align: center; }

/* ---------- FAQ ---------- */
.pcb-accordion { display: flex; flex-direction: column; border-top: 1px solid #e3e8ef; text-align: left; }
.pcb-acc-item { border-bottom: 1px solid #e3e8ef; }
.pcb-acc-item summary {
	position: relative;
	padding: 18px 36px 18px 0;
	list-style: none;
	cursor: pointer;
	font-weight: 600;
	color: var(--pcb-h, var(--pcb-heading));
}
.pcb-acc-item summary::-webkit-details-marker { display: none; }
.pcb-acc-item summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	line-height: 1;
	color: var(--pcb-primary);
}
.pcb-acc-item[open] summary::after { content: "−"; }
.pcb-acc-body { padding: 0 0 18px; opacity: .9; }

/* ================= แถบเมนู (Header) ================= */
.pcb-navbar {
	position: relative;
	background: #fff;
	border-bottom: 1px solid #e8ecf2;
	color: var(--pcb-text);
	transition: background-color .25s, box-shadow .25s, color .25s;
}
.pcb-navbar[data-overlap="1"] { background: transparent; border-bottom-color: transparent; }
.pcb-navbar.pcb-stuck { box-shadow: 0 2px 18px rgba(15, 23, 42, .14); }
.pcb-nav-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "brand menu act";
	align-items: center;
	column-gap: 28px;
	row-gap: 10px;
	padding-block: 16px;
}
.pcb-nav-panel { display: contents; }
.pcb-brand { grid-area: brand; }
.pcb-nav-panel .pcb-menu { grid-area: menu; justify-self: end; }
.pcb-nav-actions { grid-area: act; display: flex; align-items: center; gap: 10px; }
.pcb-nav-actions:empty { display: none; }
.pcb-nav-l-left3 .pcb-menu { justify-self: center; }
.pcb-nav-l-split { grid-template-columns: 1fr auto 1fr; grid-template-areas: "menu brand act"; }
.pcb-nav-l-split .pcb-menu { justify-self: start; }
.pcb-nav-l-split .pcb-nav-actions { justify-self: end; }
.pcb-nav-l-stack { grid-template-columns: 1fr; grid-template-areas: "brand" "menu" "act"; justify-items: center; }
.pcb-nav-l-stack .pcb-menu { justify-self: center; }
.pcb-nav-l-leftstack { grid-template-columns: auto 1fr; grid-template-areas: "brand act" "menu menu"; }
.pcb-nav-l-leftstack .pcb-menu { justify-self: start; }
.pcb-nav-l-leftstack .pcb-nav-actions { justify-self: end; }

.pcb-region .pcb-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}
.pcb-brand img { display: block; width: auto; max-width: 100%; height: var(--pcb-logo-h, 40px); object-fit: contain; }
.pcb-logo-wrap { display: inline-flex; align-items: center; justify-content: center; }
.pcb-logo-circle {
	box-sizing: border-box;
	width: calc(var(--pcb-logo-h, 40px) + 36px);
	height: calc(var(--pcb-logo-h, 40px) + 36px);
	padding: 10px;
	border-radius: 50%;
	background: var(--pcb-logo-bg, #fff);
	color: var(--pcb-logo-fg, var(--pcb-primary));
	text-align: center;
	font-size: .95rem;
	line-height: 1.1;
	overflow: hidden;
}
.pcb-logo-circle img { height: var(--pcb-logo-h, 40px); max-height: 100%; }

.pcb-burger {
	position: relative;
	display: none;
	width: 44px;
	height: 44px;
	margin-left: auto;
	border: 1px solid currentColor;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	opacity: .9;
}
.pcb-burger span,
.pcb-burger span::before,
.pcb-burger span::after { content: ""; position: absolute; height: 2px; border-radius: 2px; background: currentColor; }
.pcb-burger span { top: 20px; left: 11px; right: 11px; }
.pcb-burger span::before { top: -7px; left: 0; right: 0; }
.pcb-burger span::after { top: 7px; left: 0; right: 0; }

/* เมนู (shortcode pcb_menu / WP nav menu) */
.pcb-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pcb-menu li { position: relative; margin: 0; }
.pcb-region .pcb-menu a {
	display: block;
	padding: 6px 2px;
	border-bottom: 2px solid transparent;
	color: inherit;
	font-weight: 500;
	text-decoration: none;
	transition: color .15s, border-color .15s, background-color .15s;
}
.pcb-menu-v { flex-direction: column; align-items: flex-start; }
.pcb-mh-underline li:hover > a,
.pcb-mh-underline .current-menu-item > a,
.pcb-mh-underline .current_page_item > a,
.pcb-mh-underline .current-menu-ancestor > a,
.pcb-mh-underline li.is-active > a { border-bottom-color: currentColor; }
.pcb-mh-pill a { padding: 6px 14px; border-radius: 999px; }
.pcb-mh-pill li:hover > a,
.pcb-mh-pill .current-menu-item > a,
.pcb-mh-pill .current_page_item > a,
.pcb-mh-pill li.is-active > a { background: color-mix(in srgb, var(--pcb-primary) 16%, transparent); border-bottom-color: transparent; }
.pcb-menu .menu-item-has-children > a::after,
.pcb-menu .page_item_has_children > a::after { content: "▾"; margin-left: 6px; font-size: .7em; opacity: .75; }
.pcb-menu .sub-menu,
.pcb-menu .children {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	display: none;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	border: 1px solid #e3e8ef;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
}
.pcb-menu li:hover > .sub-menu,
.pcb-menu li:focus-within > .sub-menu,
.pcb-menu li:hover > .children,
.pcb-menu li:focus-within > .children { display: block; }
.pcb-region .pcb-menu .sub-menu a,
.pcb-region .pcb-menu .children a { padding: 8px 12px; border-bottom: 0; border-radius: 6px; color: #1f2937; }
.pcb-region .pcb-menu .sub-menu a:hover,
.pcb-region .pcb-menu .children a:hover { background: #f1f5f9; color: var(--pcb-primary); }
.pcb-menu-v .sub-menu,
.pcb-menu-v .children { position: static; display: block; min-width: 0; padding: 0 0 0 14px; border: 0; background: transparent; box-shadow: none; }

@container pcb (max-width: 880px) {
	.pcb-nav-inner { display: flex; flex-direction: row; align-items: center; flex-wrap: nowrap; justify-content: space-between; column-gap: 16px; }
	.pcb-burger { display: block; }
	.pcb-nav-panel {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 40;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 18px 20px 22px;
		border-bottom: 1px solid #e8ecf2;
		background: var(--pcb-pbg, #fff);
		color: var(--pcb-pcolor, #1f2937);
		box-shadow: 0 14px 24px rgba(15, 23, 42, .1);
	}
	.pcb-navbar.is-open .pcb-nav-panel { display: flex; }
	.pcb-region .pcb-navbar .pcb-nav-panel .pcb-menu { flex-direction: column; align-items: stretch; gap: 2px; justify-self: stretch; }
	.pcb-region .pcb-navbar .pcb-nav-panel .pcb-menu a { color: var(--pcb-pcolor, #1f2937); padding: 10px 4px; }
	.pcb-nav-panel .pcb-menu .sub-menu,
	.pcb-nav-panel .pcb-menu .children { position: static; display: block; min-width: 0; padding: 0 0 0 14px; border: 0; background: transparent; box-shadow: none; }
	.pcb-nav-panel .pcb-menu .menu-item-has-children > a::after { display: none; }
	.pcb-nav-actions { flex-wrap: wrap; }
}

/* ================= บล็อก / โพสต์ ================= */
.pcb-posts { display: flex; flex-direction: column; gap: 36px; text-align: left; }
.pcb-pgrid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcb-pcols-1 { grid-template-columns: minmax(0, 1fr); }
.pcb-pcols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcb-pcols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@container pcb (max-width: 1024px) {
	.pcb-pcols-3, .pcb-pcols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container pcb (max-width: 640px) {
	.pcb-pgrid { grid-template-columns: minmax(0, 1fr); }
	.pcb-plist .pcb-post { flex-direction: column; }
	.pcb-plist .pcb-post-img { width: 100%; }
}
.pcb-post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e3e8ef;
	border-radius: var(--pcb-radius);
	background: #fff;
	color: var(--pcb-text);
}
.pcb-plist .pcb-post { flex-direction: row; }
.pcb-plist .pcb-post-img { width: 34%; flex: none; }
.pcb-post-img, .pcb-post-fig { display: block; position: relative; margin: 0; overflow: hidden; background: #eef2f7; }
.pcb-post-img { aspect-ratio: 16 / 9; }
.pcb-pr-169 { aspect-ratio: 16 / 9; }
.pcb-pr-43 { aspect-ratio: 4 / 3; }
.pcb-pr-32 { aspect-ratio: 3 / 2; }
.pcb-pr-11 { aspect-ratio: 1 / 1; }
.pcb-pr-219 { aspect-ratio: 21 / 9; }
.pcb-post-img img, .pcb-post-fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcb-post-fig { background: transparent; border-radius: var(--pcb-radius); }
.pcb-post-noimg { position: absolute; inset: 0; background: linear-gradient(135deg, #e8eef7, #d6e0ee); }
.pcb-post-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px; }
.pcb-region .pcb-post-cat a { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.pcb-post-title { margin: 0; font-family: var(--pcb-font-head); font-size: 1.15rem; line-height: 1.35; }
.pcb-region .pcb-post-title a { color: var(--pcb-heading); text-decoration: none; }
.pcb-region .pcb-post-title a:hover { color: var(--pcb-primary); }
.pcb-post-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .86rem; opacity: .75; }
.pcb-post-ex { margin: 0; opacity: .88; }
.pcb-region .pcb-post-more { margin-top: auto; font-weight: 600; text-decoration: none; }
.pcb-posts-empty { margin: 0; padding: 24px; border: 1px dashed #cbd5e1; border-radius: var(--pcb-radius); text-align: center; opacity: .7; }
.pcb-pg-title { margin: 0 0 14px; font-family: var(--pcb-font-head); font-size: 1.5rem; color: var(--pcb-heading); }
.pcb-region .pcb-pg-title a { color: inherit; text-decoration: none; }
.pcb-ptabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pcb-ptab {
	padding: 8px 18px;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	background: #fff;
	color: var(--pcb-text);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.pcb-ptab.is-on { border-color: var(--pcb-primary); background: var(--pcb-primary); color: #fff; }
.pcb-ppane { display: none; }
.pcb-ppane.is-on { display: block; }
.pcb-pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pcb-pager .page-numbers { display: block; min-width: 38px; padding: 7px 12px; border: 1px solid #cbd5e1; border-radius: 8px; text-align: center; text-decoration: none; }
.pcb-pager .current { background: var(--pcb-primary); border-color: var(--pcb-primary); color: #fff; }

/* ฟิลด์ของโพสต์ (Single Post) */
.pcb-post-h { margin: 0; }
.pcb-post-content { line-height: 1.85; overflow-wrap: anywhere; }
.pcb-post-content > :first-child { margin-top: 0; }
.pcb-post-content img { height: auto; border-radius: 8px; }
.pcb-post-content h2, .pcb-post-content h3 { margin: 1.6em 0 .6em; font-family: var(--pcb-font-head); color: var(--pcb-heading); line-height: 1.3; }
.pcb-post-content p { margin: 0 0 1.1em; }
.pcb-post-content blockquote { margin: 1.2em 0; padding: .4em 1.1em; border-left: 4px solid var(--pcb-primary); opacity: .9; }
.pcb-post-nav { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid #e3e8ef; }
.pcb-region .pcb-post-nav a { display: flex; flex-direction: column; gap: 4px; max-width: 48%; color: var(--pcb-heading); font-weight: 600; text-decoration: none; }
.pcb-post-nav small { color: var(--pcb-primary); font-weight: 500; }
.pcb-pn-next { margin-left: auto; text-align: right; }

/* ================= วิดีโอ ================= */
.pcb-vid { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--pcb-radius); background: #000; }
.pcb-vr-43 { aspect-ratio: 4 / 3; }
.pcb-vr-11 { aspect-ratio: 1 / 1; }
.pcb-vr-219 { aspect-ratio: 21 / 9; }
.pcb-vr-916 { aspect-ratio: 9 / 16; max-width: 420px; margin-inline: auto; }
.pcb-vid iframe, .pcb-vid video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.pcb-bgvideo { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.pcb-bgvideo video { width: 100%; height: 100%; object-fit: cover; }
.pcb-bgvideo iframe { position: absolute; top: 50%; left: 50%; width: 100vw; min-width: 177.78vh; height: 56.25vw; min-height: 100%; border: 0; transform: translate(-50%, -50%); }

/* ================= ไอคอน ================= */
.pcb-icon { display: flex; color: var(--pcb-primary); }
.pcb-icon-in { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pcb-icon-in svg { display: block; width: var(--pcb-isize, 48px); height: var(--pcb-isize, 48px); }
.pcb-ishape-circle, .pcb-ishape-circle-fill, .pcb-ishape-soft, .pcb-ishape-rounded, .pcb-ishape-rounded-fill {
	box-sizing: content-box;
	padding: calc(var(--pcb-isize, 48px) * .42);
}
.pcb-ishape-circle { border: 2px solid currentColor; border-radius: 50%; }
.pcb-ishape-circle-fill { border-radius: 50%; background: currentColor; }
.pcb-ishape-circle-fill svg, .pcb-ishape-rounded-fill svg { color: #fff; }
.pcb-ishape-soft { border-radius: 50%; background: color-mix(in srgb, currentColor 14%, transparent); }
.pcb-ishape-rounded { border: 2px solid currentColor; border-radius: calc(var(--pcb-isize, 48px) * .3); }
.pcb-ishape-rounded-fill { border-radius: calc(var(--pcb-isize, 48px) * .3); background: currentColor; }
.pcb-icon-al-center { justify-content: center; }
.pcb-icon-al-right { justify-content: flex-end; }

.pcb-iconbox { display: flex; gap: 18px; align-items: flex-start; padding: 8px; text-align: left; }
.pcb-iconbox .pcb-icon { color: var(--pcb-primary); }
.pcb-ib-top { flex-direction: column; }
.pcb-ib-center { flex-direction: column; align-items: center; text-align: center; }
.pcb-ib-right { flex-direction: row-reverse; text-align: right; }
.pcb-ib-body { display: flex; flex: 1; flex-direction: column; gap: 8px; min-width: 0; }
.pcb-ib-body .pcb-heading { color: var(--pcb-ibh, var(--pcb-h, var(--pcb-heading))); }
.pcb-ib-text > :first-child { margin-top: 0; }
.pcb-ib-text p { margin: 0; }

/* ================= สไลด์โชว์ ================= */
.pcb-slider { position: relative; height: 520px; overflow: hidden; background: #0f172a; color: #fff; --pcb-h: #fff; --pcb-eb: #fff; }
@container pcb (max-width: 1024px) { .pcb-slider { height: var(--pcb-slh-t, 440px); } }
@container pcb (max-width: 640px) { .pcb-slider { height: var(--pcb-slh-m, 380px); } }
.pcb-sl-track { display: flex; height: 100%; transition: transform .6s ease; }
.pcb-slide { position: relative; display: flex; flex: 0 0 100%; align-items: center; justify-content: center; min-width: 0; height: 100%; overflow: hidden; }
.pcb-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pcb-slide-ov { position: absolute; inset: 0; background: var(--pcb-slov, rgba(0, 0, 0, .35)); }
.pcb-slide-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 820px; padding: 24px 64px; text-align: center; }
.pcb-sa-left .pcb-slide-in { align-items: flex-start; margin-right: auto; margin-left: max(0px, calc((100% - var(--pcb-container) * 1px) / 2)); text-align: left; }
.pcb-sa-right .pcb-slide-in { align-items: flex-end; margin-left: auto; margin-right: max(0px, calc((100% - var(--pcb-container) * 1px) / 2)); text-align: right; }
.pcb-sv-top .pcb-slide { align-items: flex-start; padding-top: 40px; }
.pcb-sv-bottom .pcb-slide { align-items: flex-end; padding-bottom: 56px; }
.pcb-slide-in p { margin: 0; }
.pcb-sl-fade .pcb-sl-track { position: relative; display: block; }
.pcb-sl-fade .pcb-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.pcb-sl-fade .pcb-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.pcb-sl-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 46px;
	height: 46px;
	transform: translateY(-50%);
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .38);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.pcb-sl-arrow:hover { background: rgba(0, 0, 0, .6); }
.pcb-sl-prev { left: 14px; }
.pcb-sl-next { right: 14px; }
.pcb-sl-dots { position: absolute; right: 0; bottom: 14px; left: 0; z-index: 3; display: flex; justify-content: center; gap: 9px; }
.pcb-sl-dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; }
.pcb-sl-dot.is-on { background: #fff; transform: scale(1.25); }

/* จัดกึ่งกลางหัวข้อ/ข้อความแบบไล่สี (width: fit-content) */
.pcb-center .pcb-inner > .pcb-heading,
.pcb-center .pcb-column > .pcb-heading { margin-inline: auto; }
