/* ==========================================================================
   AC Academys — ดีไซน์ใหม่บน Eduma (ฟอนต์ Anuphan · โทนพาสเทล · ตัวหนังสือเข้ม อ่านชัด)
   ส่วนแรกปรับทั้งเว็บ ส่วนที่เหลือใช้กับคลาส .acx (หน้าแรกใหม่)
   ========================================================================== */
:root {
	--acx-ink: #141850;
	--acx-ink-2: #2d3270;
	--acx-muted: #474c78;
	--acx-blue: #5a64e4;
	--acx-blue-text: #4a55d8;
	--acx-blue-soft: #eceeff;
	--acx-pink: #f08aa6;
	--acx-paper: #f7f7fd;
	--acx-lavender: #f1f0ff;
	--acx-line: #e6e8f5;
	--acx-white: #fff;
	--acx-ok: #1f7a58;
	--acx-ok-soft: #e7f7f0;
	--acx-r-sm: 8px;
	--acx-r: 14px;
	--acx-r-lg: 24px;
	--acx-shadow: 0 1px 2px rgba(108, 120, 240, 0.06), 0 8px 24px rgba(108, 120, 240, 0.08);
	--acx-shadow-lift: 0 2px 6px rgba(108, 120, 240, 0.08), 0 18px 40px rgba(108, 120, 240, 0.14);
	--acx-font: "Anuphan", system-ui, sans-serif;
	--acx-mono: "IBM Plex Mono", "Anuphan", ui-monospace, monospace;
	--acx-sec-y: clamp(36px, 4.4vw, 60px);
	--acx-gutter: clamp(16px, 4vw, 32px);
}

/* ---- ทั้งเว็บ: ฟอนต์และสีหลักของ Elementor/Eduma ----------------------- */
body,
body[class*="elementor-kit-"] {
	--e-global-typography-primary-font-family: "Anuphan";
	--e-global-typography-secondary-font-family: "Anuphan";
	--e-global-typography-text-font-family: "Anuphan";
	--e-global-typography-accent-font-family: "Anuphan";
	--e-global-color-primary: var(--acx-blue);
	--e-global-color-accent: var(--acx-blue);
	--e-global-color-text: var(--acx-ink-2);
	--e-global-color-secondary: var(--acx-ink);
	--thim-body-primary-color: var(--acx-blue);
	--thim-font-body-font-family: var(--acx-font);
	--thim-font-title-font-family: var(--acx-font);
	font-family: var(--acx-font);
	color: var(--acx-ink-2);
	font-size: 17px;
}
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .elementor-heading-title,
body button,
body input,
body select,
body textarea {
	font-family: var(--acx-font);
}
body h1,
body h2,
body h3,
body h4,
body .elementor-heading-title {
	color: var(--acx-ink);
}

/* ==========================================================================
   หน้าแรกใหม่
   ========================================================================== */
.acx {
	font-family: var(--acx-font);
	color: var(--acx-ink-2);
	font-size: 17px;
	line-height: 1.75;
	background: var(--acx-paper);
	-webkit-font-smoothing: antialiased;
}
.acx *,
.acx *::before,
.acx *::after {
	box-sizing: border-box;
}
.acx img {
	max-width: 100%;
	height: auto;
	display: block;
}
.acx a {
	color: inherit;
	text-decoration: none;
}
.acx h1,
.acx h2,
.acx h3 {
	font-family: var(--acx-font);
	color: var(--acx-ink);
	line-height: 1.25;
	margin: 0;
	letter-spacing: -0.01em;
	text-transform: none;
}
.acx p {
	margin: 0;
}
.acx ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.acx :focus-visible {
	outline: 3px solid var(--acx-blue);
	outline-offset: 2px;
	border-radius: 4px;
}
.acx-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--acx-gutter);
}
.acx-section {
	padding: var(--acx-sec-y) 0;
}
.acx-section--white {
	background: linear-gradient(180deg, #fff 0%, var(--acx-lavender) 100%);
}
.acx-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}
.acx-head h2 {
	font-size: clamp(27.5px, 3.4vw, 39.5px);
	font-weight: 700;
}
.acx-head p {
	color: var(--acx-muted);
	margin-top: 4px;
	max-width: 680px;
}
.acx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--acx-mono);
	font-size: 13.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--acx-blue-text);
	margin-bottom: 6px;
}
.acx-eyebrow::before {
	content: "";
	width: 18px;
	height: 2px;
	background: var(--acx-pink);
}
.acx-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--acx-blue-text);
}
.acx-link svg {
	transition: transform 0.2s;
}
.acx-link:hover svg,
.acx-post:hover .acx-link svg {
	transform: translateX(3px);
}
.acx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border-radius: 12px;
	border: 1px solid transparent;
	font-weight: 600;
	font-size: 16.5px;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.acx .acx-btn--primary {
	background: var(--acx-blue);
	color: #fff;
	box-shadow: 0 10px 22px -10px rgba(90, 100, 228, 0.7);
}
.acx .acx-btn--primary:hover {
	background: var(--acx-blue-text);
	color: #fff;
}
.acx .acx-btn--outline {
	background: rgba(255, 255, 255, 0.75);
	border-color: #d9dcf5;
	color: var(--acx-ink);
}
.acx .acx-btn--outline:hover {
	background: #fff;
	border-color: #b9bff0;
}

/* ---- Hero ---------------------------------------------------------------- */
.acx-hero {
	position: relative;
	overflow: hidden;
	min-height: clamp(440px, 62vh, 540px);
	display: flex;
	background: #eef0fb;
}
.acx-hero-bg,
.acx-hero-bg-slide {
	position: absolute;
	inset: 0;
}
.acx-hero-bg-slide {
	background-size: cover;
	transform: scaleX(-1);
	opacity: 0;
	transition: opacity 1.6s ease;
	filter: saturate(0.7) brightness(1.08);
}
.acx-hero-bg-slide.is-active {
	opacity: 1;
	animation: acx-kenburns 9s ease-out both;
}
@keyframes acx-kenburns {
	from {
		transform: scaleX(-1) scale(1.08);
	}
	to {
		transform: scaleX(-1) scale(1);
	}
}
.acx-hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(247, 247, 253, 0.97) 0%, rgba(247, 247, 253, 0.9) 38%, rgba(241, 240, 255, 0.35) 70%, rgba(255, 238, 243, 0.1) 100%),
		linear-gradient(180deg, rgba(234, 245, 255, 0.25), rgba(255, 238, 243, 0.35));
}
.acx-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: clamp(32px, 4vw, 52px);
	padding-bottom: 22px;
}
.acx-hero-copy {
	display: grid;
}
.acx-hero-slide {
	grid-area: 1 / 1;
	max-width: 560px;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	pointer-events: none;
}
.acx-hero-slide.is-active {
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition-delay: 0.2s;
}
.acx-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--acx-line);
	font-size: 15px;
	font-weight: 500;
	color: var(--acx-ink-2);
}
.acx-pill .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #6fd3a8;
	box-shadow: 0 0 0 4px rgba(111, 211, 168, 0.22);
}
.acx .acx-hero-title {
	margin-top: 16px;
	font-size: clamp(31.5px, 4vw, 47.5px);
	font-weight: 700;
	line-height: 1.2;
}
.acx-hero-title .accent {
	color: var(--acx-blue-text);
}
.acx-hero-lead {
	margin-top: 14px;
	max-width: 500px;
	font-size: clamp(16.5px, 1.25vw, 18px);
	color: var(--acx-ink-2);
}
.acx-hero-buttons {
	margin-top: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.acx-hero-figures {
	margin: 30px 0 0;
	padding-top: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 40px;
	border-top: 1px solid rgba(29, 33, 96, 0.1);
	max-width: 620px;
}
.acx-hero-figures dt {
	font-family: var(--acx-mono);
	font-size: clamp(23px, 2.4vw, 30px);
	font-weight: 600;
	color: var(--acx-ink);
	line-height: 1.2;
}
.acx-hero-figures dt span {
	color: var(--acx-pink);
}
.acx-hero-figures dd {
	margin: 0;
	font-size: 14.5px;
	color: var(--acx-muted);
}
.acx-hero-nav {
	margin-top: 24px;
	display: flex;
	align-items: center;
	gap: 18px;
}
.acx-hero-count {
	font-family: var(--acx-mono);
	font-size: 14.5px;
	color: var(--acx-muted);
}
.acx-hero-count b {
	color: var(--acx-ink);
	font-weight: 600;
}
.acx-hero-dots {
	display: flex;
	gap: 8px;
}
.acx-hero-dots button {
	width: 44px;
	height: 18px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	display: grid;
	align-items: center;
}
.acx-hero-dots button::after {
	content: "";
	grid-area: 1 / 1;
	height: 4px;
	border-radius: 4px;
	background: rgba(29, 33, 96, 0.12);
}
.acx-hero-dots button span {
	grid-area: 1 / 1;
	height: 4px;
	border-radius: 4px;
	background: var(--acx-blue);
	width: 0;
	position: relative;
	z-index: 1;
}
.acx-hero-dots button[aria-selected="true"] span {
	animation: acx-progress var(--acx-slide-ms, 7000ms) linear forwards;
}
.acx-hero.is-paused .acx-hero-dots button[aria-selected="true"] span {
	animation-play-state: paused;
}
@keyframes acx-progress {
	to {
		width: 100%;
	}
}
.acx-hero-arrows {
	margin-left: auto;
	display: flex;
	gap: 8px;
}
.acx-hero-arrows button {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid #d9dcf5;
	background: rgba(255, 255, 255, 0.85);
	color: var(--acx-ink);
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
}
.acx-hero-arrows button:hover {
	background: var(--acx-blue);
	border-color: var(--acx-blue);
	color: #fff;
}

/* ---- แถบหน่วยงาน -------------------------------------------------------- */
.acx-partners {
	background: #fff;
	border-bottom: 1px solid var(--acx-line);
}
.acx-partners .acx-wrap {
	padding-top: 16px;
	padding-bottom: 16px;
}
.acx-partners-label {
	font-size: 16px;
	font-weight: 500;
	color: var(--acx-ink-2);
	margin-bottom: 10px;
}
.acx-partners-row {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}
.acx-partners-row a {
	display: block;
	border-radius: var(--acx-r-sm);
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--acx-line);
	transition: transform 0.2s, box-shadow 0.2s;
}
.acx-partners-row a:hover {
	transform: translateY(-2px);
	box-shadow: var(--acx-shadow);
}
.acx-partners-row img {
	width: 100%;
	aspect-ratio: 380 / 126;
	object-fit: cover;
}

/* ---- แท็บและกริด -------------------------------------------------------- */
.acx-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	border-bottom: 1px solid var(--acx-line);
	margin-bottom: 22px;
}
.acx-tabs button {
	padding: 10px 2px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	font-family: var(--acx-font);
	font-size: 16.5px;
	font-weight: 600;
	color: var(--acx-muted);
	cursor: pointer;
	margin-bottom: -1px;
}
.acx-tabs button[aria-selected="true"] {
	color: var(--acx-blue-text);
	border-bottom-color: var(--acx-pink);
}
.acx-grid {
	display: grid;
	gap: 20px;
}
.acx-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.acx-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---- การ์ดรายวิชา ------------------------------------------------------- */
.acx-card,
.acx-post {
	background: #fff;
	border: 1px solid var(--acx-line);
	border-radius: var(--acx-r);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s, box-shadow 0.2s;
}
.acx-card:hover,
.acx-post:hover {
	transform: translateY(-3px);
	box-shadow: var(--acx-shadow-lift);
}
.acx-card[hidden] {
	display: none;
}
.acx-card-thumb,
.acx-post-thumb {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--acx-lavender);
	overflow: hidden;
}
.acx-card-thumb img,
.acx-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.acx-card-body,
.acx-post-body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.acx-card-cat,
.acx-post-date {
	font-size: 14px;
	color: var(--acx-muted);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.acx-post-date {
	font-family: var(--acx-mono);
	font-size: 13.5px;
}
.acx .acx-card-title,
.acx .acx-post h3 {
	font-size: 18.5px;
	font-weight: 600;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.acx-card-title a:hover,
.acx-post h3 a:hover {
	color: var(--acx-blue-text);
}
.acx-card-author {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: var(--acx-ink-2);
}
.acx-card-author img {
	border-radius: 50%;
	width: 24px;
	height: 24px;
}
.acx-card-meta {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--acx-line);
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 15px;
	color: var(--acx-muted);
}
.acx-card-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.acx-chip {
	margin-left: auto;
	padding: 2px 10px;
	border-radius: 99px;
	background: var(--acx-blue-soft);
	color: #3d48c9;
	font-weight: 600;
	font-size: 14.5px;
}
.acx-chip--free {
	background: var(--acx-ok-soft);
	color: var(--acx-ok);
}
.acx-post-excerpt {
	color: var(--acx-muted);
	font-size: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.acx-post .acx-link {
	margin-top: auto;
}

/* ---- หมวดหมู่ ------------------------------------------------------------ */
.acx-cat-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.acx-cat-tile {
	background: #fff;
	border: 1px solid var(--acx-line);
	border-radius: var(--acx-r);
	overflow: hidden;
	transition: box-shadow 0.2s;
}
.acx-cat-tile:hover {
	box-shadow: var(--acx-shadow-lift);
}
.acx-cat-tile img {
	width: 100%;
	aspect-ratio: 380 / 126;
	object-fit: cover;
}
.acx-cat-body {
	padding: 16px 18px;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}
.acx .acx-cat-body h3 {
	font-size: 18.5px;
	font-weight: 600;
}
.acx-cat-body p {
	font-size: 15px;
	color: var(--acx-muted);
	margin-top: 4px;
}
.acx-cat-count {
	font-family: var(--acx-mono);
	font-size: 24px;
	font-weight: 600;
	color: var(--acx-blue-text);
	text-align: center;
	line-height: 1.1;
}
.acx-cat-count small {
	display: block;
	font-family: var(--acx-font);
	font-size: 13px;
	font-weight: 500;
	color: var(--acx-muted);
}
.acx-cat-chips {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: var(--acx-muted);
}
.acx-cat-chips a {
	padding: 4px 14px;
	border-radius: 99px;
	background: #fff;
	border: 1px solid var(--acx-line);
	color: var(--acx-ink-2);
}
.acx-cat-chips a:hover {
	border-color: var(--acx-blue);
	color: var(--acx-blue-text);
}

/* ---- ศูนย์ศึกษาพระพุทธศาสนาฯ ------------------------------------------- */
.acx-band-saffron {
	background: linear-gradient(180deg, #fff6e9, #fffaf2);
}
.acx-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
}
.acx-photo {
	border-radius: var(--acx-r-lg);
	overflow: hidden;
	box-shadow: var(--acx-shadow-lift);
}
.acx-split h2 {
	font-size: clamp(27.5px, 3.4vw, 39.5px);
	font-weight: 700;
}
.acx-lead {
	margin-top: 10px;
	color: var(--acx-ink-2);
}
.acx .acx-mini-list {
	margin: 20px 0 24px;
	display: grid;
	gap: 10px;
}
.acx-mini-list a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #f3e3c7;
}
.acx-mini-list a:hover {
	border-color: #f6c177;
}
.acx-mini-list img {
	width: 84px;
	height: 62px;
	object-fit: cover;
	border-radius: 8px;
	flex: none;
}
.acx-mini-list strong {
	display: block;
	font-weight: 600;
	color: var(--acx-ink);
}
.acx-mini-list small {
	font-size: 14.5px;
	color: var(--acx-muted);
}

/* ---- ข่าว / กล่องว่าง / CTA --------------------------------------------- */
.acx-empty {
	border: 1px dashed #cfd3ee;
	border-radius: var(--acx-r);
	padding: 32px 24px;
	text-align: center;
	display: grid;
	place-content: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.6);
}
.acx .acx-empty h3 {
	font-size: 21px;
}
.acx-empty p {
	color: var(--acx-muted);
}
.acx-cta {
	position: relative;
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 24px;
	align-items: end;
	border-radius: var(--acx-r-lg);
	background: linear-gradient(120deg, #e8e9ff 0%, #f3ecff 55%, #ffe8ef 100%);
	padding: clamp(24px, 4vw, 44px);
	padding-bottom: 0;
	overflow: hidden;
}
.acx-cta-text {
	padding-bottom: clamp(24px, 4vw, 44px);
}
.acx-cta h2 {
	font-size: clamp(27.5px, 3.4vw, 39.5px);
	font-weight: 700;
}
.acx-cta h2 em {
	font-style: normal;
	color: #e2678b;
}
.acx-cta-text > p:not(.acx-eyebrow) {
	margin: 12px 0 22px;
	max-width: 560px;
}
.acx-cta-person img {
	max-height: 280px;
	width: auto;
	margin-left: auto;
}

/* ---- จอเล็ก -------------------------------------------------------------- */
@media (max-width: 1080px) {
	.acx-grid--4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 1000px) {
	.acx-partners-row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 860px) {
	.acx-grid--3,
	.acx-grid--4,
	.acx-cat-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.acx-split,
	.acx-cta {
		grid-template-columns: 1fr;
	}
	.acx-cta-person {
		display: none;
	}
}
@media (max-width: 600px) {
	.acx-grid--3,
	.acx-grid--4,
	.acx-cat-tiles {
		grid-template-columns: 1fr;
	}
	.acx-partners-row {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}
	.acx-hero-bg::after {
		background: linear-gradient(180deg, rgba(247, 247, 253, 0.92), rgba(247, 247, 253, 0.85));
	}
	.acx-hero-figures {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.acx-hero-buttons .acx-btn {
		flex: 1 1 100%;
	}
	.acx-hero-dots button {
		width: 28px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.acx-hero-bg-slide,
	.acx-hero-slide,
	.acx-card,
	.acx-post {
		transition: none;
		animation: none !important;
	}
}

/* ==========================================================================
   Header ใหม่ (ทั้งเว็บ)
   ========================================================================== */
.thim-ekit__header {
	position: sticky;
	top: 0;
	z-index: 900;
}
.admin-bar .thim-ekit__header {
	top: 32px;
}
.acx-site-header {
	background: transparent;
}
.acx-topline {
	background: var(--acx-lavender);
	color: var(--acx-ink-2);
	font-size: 14.5px;
	line-height: 1.4;
}
.acx-topline .acx-wrap {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 7px;
	padding-bottom: 7px;
}
.acx-topline-contact {
	display: flex;
	gap: 18px;
}
.acx-topline a:hover {
	color: var(--acx-blue-text);
}
.acx-bar {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--acx-line);
	transition: box-shadow 0.2s;
}
.acx-site-header.is-scrolled .acx-bar {
	box-shadow: 0 6px 20px -12px rgba(20, 24, 80, 0.25);
}
.acx-bar-inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 72px;
}
.acx-logo img {
	width: auto;
	height: 44px;
}
.acx-cats,
.acx-user {
	position: relative;
}
.acx .acx-cats-btn,
.acx .acx-user-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 10px;
	border: 1px solid var(--acx-line);
	background: #fff;
	font-family: var(--acx-font);
	font-size: 16px;
	font-weight: 600;
	color: var(--acx-ink);
	cursor: pointer;
	line-height: 1.2;
}
.acx-cats-btn:hover,
.acx-cats.is-open .acx-cats-btn {
	border-color: #c9cefb;
	color: var(--acx-blue-text);
}
.acx-cats-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 300px;
	padding: 8px;
	border-radius: var(--acx-r);
	background: #fff;
	border: 1px solid var(--acx-line);
	box-shadow: var(--acx-shadow-lift);
	display: none;
	z-index: 10;
}
.is-open > .acx-cats-menu {
	display: block;
}
.acx-cats-menu a {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 15.5px;
	line-height: 1.45;
	color: var(--acx-ink-2);
}
.acx-cats-menu a:hover {
	background: var(--acx-blue-soft);
	color: var(--acx-blue-text);
}
.acx-cats-menu small {
	font-family: var(--acx-mono);
	color: var(--acx-muted);
}
.acx-user-menu {
	left: auto;
	right: 0;
	min-width: 200px;
}
.acx-nav-list {
	display: flex;
	align-items: center;
	gap: 2px;
}
.acx-nav-list > li {
	position: relative;
}
.acx-nav-list a {
	display: block;
	padding: 8px 12px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 500;
	color: var(--acx-ink-2);
	white-space: nowrap;
}
.acx-nav-list a:hover,
.acx-nav-list .current-menu-item > a,
.acx-nav-list .current-menu-ancestor > a {
	color: var(--acx-blue-text);
	background: var(--acx-blue-soft);
}
.acx-nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 8px;
	border-radius: var(--acx-r);
	background: #fff;
	border: 1px solid var(--acx-line);
	box-shadow: var(--acx-shadow-lift);
	display: none;
	z-index: 10;
}
.acx-nav-list li:hover > .sub-menu,
.acx-nav-list li:focus-within > .sub-menu {
	display: block;
}
.acx-search {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
	width: min(240px, 22vw);
	padding: 0 12px;
	height: 42px;
	border-radius: 12px;
	background: var(--acx-paper);
	border: 1px solid var(--acx-line);
	color: var(--acx-muted);
}
.acx-search:focus-within {
	border-color: var(--acx-blue);
	background: #fff;
}
.acx .acx-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	outline: none;
	box-shadow: none;
	padding: 0;
	height: auto;
	font-size: 15.5px;
	color: var(--acx-ink);
}
.acx-login {
	min-height: 42px;
	padding: 0 18px;
}
.acx-user-btn img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
}
.acx-user-btn span {
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.acx .acx-burger {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--acx-line);
	background: #fff;
	padding: 0;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.acx-burger span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--acx-ink);
	transition: transform 0.2s, opacity 0.2s;
}
.is-menu-open .acx-burger span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.is-menu-open .acx-burger span:nth-child(2) {
	opacity: 0;
}
.is-menu-open .acx-burger span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1100px) {
	.acx-search {
		width: 180px;
	}
	.acx-nav-list a {
		padding: 8px 9px;
	}
}
@media (max-width: 960px) {
	.acx-topline span:first-child {
		display: none;
	}
	.acx-topline .acx-wrap {
		justify-content: center;
	}
	.acx-bar-inner {
		flex-wrap: wrap;
		min-height: 64px;
		gap: 10px;
	}
	.acx-logo {
		margin-right: auto;
	}
	.acx-logo img {
		height: 38px;
	}
	.acx-cats,
	.acx-search {
		display: none;
	}
	.acx .acx-burger {
		display: flex;
	}
	.acx-nav {
		display: none;
		order: 10;
		flex-basis: 100%;
		padding: 4px 0 14px;
	}
	.is-menu-open .acx-nav,
	.is-menu-open .acx-search {
		display: flex;
	}
	.is-menu-open .acx-search {
		order: 9;
		flex-basis: 100%;
		width: 100%;
		margin: 0 0 4px;
	}
	.acx-nav-list {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}
	.acx-nav-list a {
		padding: 12px;
		font-size: 17px;
	}
	.acx-nav-list .sub-menu {
		position: static;
		display: block;
		border: 0;
		box-shadow: none;
		padding: 0 0 0 14px;
	}
	.acx-user-btn span {
		display: none;
	}
}
@media (max-width: 480px) {
	.acx-topline-contact a:last-child {
		display: none;
	}
	.acx-login {
		padding: 0 12px;
		font-size: 15.5px;
	}
}

/* ==========================================================================
   Footer ใหม่ (ทั้งเว็บ)
   ========================================================================== */
.acx-site-footer {
	background: linear-gradient(180deg, #f1f0ff 0%, #ecebfb 100%);
	border-top: 1px solid var(--acx-line);
	color: var(--acx-ink-2);
	padding-top: 44px;
	font-size: 16px;
}
.acx-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 32px;
}
.acx-footer-brand img {
	height: 46px;
	width: auto;
	margin-bottom: 14px;
}
.acx-site-footer h3,
.acx-site-footer .acx-footer-grid h3 {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 12px;
}
.acx-site-footer ul {
	display: grid;
	gap: 8px;
}
.acx-site-footer li {
	line-height: 1.5;
}
.acx-site-footer li a:hover,
.acx-footer-bottom a:hover {
	color: var(--acx-blue-text);
}
.acx-footer-bottom {
	margin-top: 32px;
	padding-top: 16px;
	padding-bottom: 16px;
	border-top: 1px solid var(--acx-line);
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 15px;
	color: var(--acx-muted);
}
@media (max-width: 860px) {
	.acx-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.acx-footer-brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 480px) {
	.acx-footer-grid {
		grid-template-columns: 1fr;
	}
}
/* สีลิงก์ใน Header/Footer (กันสีลิงก์ของ Eduma) */
#colophon .acx-site-footer a,
.acx-site-header .acx-cats-menu a,
.acx-site-header .acx-topline a {
	color: var(--acx-ink-2);
}
#colophon .acx-site-footer a:hover,
.acx-site-header .acx-cats-menu a:hover,
.acx-site-header .acx-topline a:hover {
	color: var(--acx-blue-text);
}
.acx-site-footer .acx-footer-grid h3 {
	color: var(--acx-ink);
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.3;
}

/* ==========================================================================
   หน้ารายวิชาทั้งหมด / หมวดรายวิชา (เทมเพลต Thim Elementor Kit)
   ใช้ body class ช่วยให้ชนะสไตล์ราย element ของ Elementor
   ========================================================================== */
body.post-type-archive-lp_course,
body.tax-course_category,
body.single-lp_course {
	background: var(--acx-paper);
}
/* แถบหัวหน้า (breadcrumb + ชื่อหน้า) */
body .thim-ekit-breadcrumb,
body .thim-ekit-breadcrumb a {
	font-size: 15px !important;
	color: var(--acx-muted) !important;
}
body .thim-ekit-breadcrumb a:hover {
	color: var(--acx-blue-text) !important;
}
body .thim-ekit-page-title .page-title,
body .thim-ekit-page-title h1 {
	font-family: var(--acx-font) !important;
	font-weight: 700 !important;
	color: var(--acx-ink) !important;
	letter-spacing: -0.01em;
}
body.post-type-archive-lp_course .elementor-15130 > .elementor-section:first-child,
body.tax-course_category .elementor-15130 > .elementor-section:first-child,
body.single-lp_course .elementor-15175 > .elementor-section:first-child {
	background: linear-gradient(120deg, #eef0ff 0%, #f5f0ff 55%, #fff0f4 100%) !important;
	border-bottom: 1px solid var(--acx-line);
}

/* แถบผลลัพธ์และการเรียง */
body .thim-ekits-archive-course__topbar {
	font-size: 15.5px;
	color: var(--acx-muted);
}
body .courses-order-by {
	border: 1px solid var(--acx-line) !important;
	border-radius: 10px !important;
	background-color: #fff !important;
	color: var(--acx-ink) !important;
	font-family: var(--acx-font) !important;
	font-size: 15.5px !important;
	padding: 6px 30px 6px 12px !important;
}

/* การ์ดรายวิชา (Loop Item Course Grid) */
body .thim-ekits-course__item {
	background: #fff !important;
	border: 1px solid var(--acx-line) !important;
	border-radius: var(--acx-r) !important;
	overflow: hidden;
	box-shadow: none !important;
	transition: transform 0.2s, box-shadow 0.2s;
}
body .thim-ekits-course__item:hover {
	transform: translateY(-3px);
	box-shadow: var(--acx-shadow-lift) !important;
}
body .thim-ekits-course__item .elementor-20193,
body .thim-ekits-course__item .elementor-20193 > .elementor-section,
body .thim-ekits-course__item .elementor-20193 .elementor-column > .elementor-widget-wrap {
	background: transparent !important;
}
body .thim-ekits-course__item .elementor-widget-thim-loop-item-featured-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 0 !important;
}
body .thim-ekits-course__item .loop-item-term,
body .thim-ekits-course__item .loop-item-term a {
	background: rgba(255, 255, 255, 0.94) !important;
	color: var(--acx-ink-2) !important;
	border-radius: 8px !important;
	font-family: var(--acx-font) !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
}
body .thim-ekits-course__item .elementor-widget-thim-loop-item-title a,
body .thim-ekits-course__item .elementor-widget-thim-loop-item-title .elementor-heading-title {
	font-family: var(--acx-font) !important;
	font-size: 18.5px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	color: var(--acx-ink) !important;
}
body .thim-ekits-course__item .elementor-widget-thim-loop-item-title a:hover {
	color: var(--acx-blue-text) !important;
}
body .thim-ekits-course__item .instructor-display-name,
body .thim-ekits-course__item .instructor-display-name a {
	color: var(--acx-ink-2) !important;
	font-family: var(--acx-font) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
}
body .thim-ekits-course__item .elementor-widget-thim-loop-item-excerpt,
body .thim-ekits-course__item .elementor-widget-thim-loop-item-excerpt *:not(i):not([class*="icon"]):not([class*="fa-"]):not(.fas):not(.far):not(.fab) {
	color: var(--acx-muted) !important;
	font-family: var(--acx-font) !important;
	font-size: 15px !important;
	line-height: 1.6 !important;
}
body .thim-ekits-course__item .elementor-icon-list-text,
body .thim-ekits-course__item .elementor-icon-list-icon {
	color: var(--acx-muted) !important;
	font-size: 15px !important;
}
body .thim-ekits-course__item .course-price .free,
body .thim-ekits-course__item .course-item-price.free,
body .thim-ekits-course__item .course-item-price .free {
	color: var(--acx-ok) !important;
}
body .thim-ekits-course__item .course-price,
body .thim-ekits-course__item .course-item-price {
	font-family: var(--acx-font) !important;
	font-weight: 700 !important;
	font-size: 18px !important;
}
body .thim-ekits-course__item .elementor-button {
	background: var(--acx-blue) !important;
	border-radius: 12px !important;
	font-family: var(--acx-font) !important;
	font-size: 15.5px !important;
	font-weight: 600 !important;
	box-shadow: 0 10px 22px -12px rgba(90, 100, 228, 0.8);
}
body .thim-ekits-course__item .elementor-button:hover {
	background: var(--acx-blue-text) !important;
}

/* ตัวกรองด้านข้าง */
body .filter-course .widget_course_filter,
body .filter-course .learnpress-widget-wrapper {
	background: #fff !important;
	border: 1px solid var(--acx-line) !important;
	border-radius: var(--acx-r) !important;
	padding: 18px !important;
}
body .filter-course,
body .filter-course label,
body .filter-course .lp-form-course-filter__title,
body .filter-course h3,
body .filter-course .widget-title {
	font-family: var(--acx-font) !important;
	color: var(--acx-ink-2) !important;
}
body .filter-course .lp-form-course-filter__title,
body .filter-course h3,
body .filter-course .widget-title {
	color: var(--acx-ink) !important;
	font-weight: 700 !important;
}
body .filter-course button,
body .filter-course .lp-form-course-filter__btn {
	border-radius: 10px !important;
	font-family: var(--acx-font) !important;
}

/* ==========================================================================
   หน้ารายวิชาเดี่ยว (Single Course)
   ========================================================================== */
body .thim-ekit-single-course__title,
body .thim-ekit-single-course__title__content,
body .thim-ekit-single-course__title h1 {
	font-family: var(--acx-font) !important;
	color: var(--acx-ink) !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}
body .thim-ekit-single-course__instructor,
body .thim-ekit-single-course__instructor *:not(i):not([class*="icon"]):not([class*="fa-"]):not(.fas):not(.far):not(.fab),
body .thim-ekit-single-course__meta,
body .thim-ekit-single-course__meta *:not(i):not([class*="icon"]):not([class*="fa-"]):not(.fas):not(.far):not(.fab) {
	font-family: var(--acx-font) !important;
	color: var(--acx-ink-2) !important;
	font-size: 15.5px !important;
}
body .thim-ekit-single-course__instructor a {
	color: var(--acx-blue-text) !important;
	font-weight: 600 !important;
}
body .thim-ekit-single-course__image img {
	border-radius: var(--acx-r-lg) var(--acx-r-lg) 0 0 !important;
}

/* แท็บ รายละเอียด / เนื้อหา / ผู้สอน */
body .thim-ekit-tablist .tab-item,
body .thim-ekit-tablist .tab-item *:not(i):not([class*="icon"]):not([class*="fa-"]):not(.fas):not(.far):not(.fab) {
	font-family: var(--acx-font) !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	color: var(--acx-muted) !important;
	background: none !important;
}
body .thim-ekit-tablist .tab-item {
	border-bottom: 2px solid transparent !important;
	padding: 10px 2px !important;
	margin-bottom: -1px;
}
body .thim-ekit-tablist .tab-item[aria-selected="true"],
body .thim-ekit-tablist .tab-item[aria-selected="true"] *:not(i):not([class*="icon"]):not([class*="fa-"]):not(.fas):not(.far):not(.fab) {
	color: var(--acx-blue-text) !important;
}
body .thim-ekit-tablist .tab-item[aria-selected="true"] {
	border-bottom-color: var(--acx-pink) !important;
}
body .course-description,
body .course-description p,
body .course-description li,
body .course-description td {
	font-family: var(--acx-font) !important;
	color: var(--acx-ink-2) !important;
	font-size: 16.5px !important;
	line-height: 1.75 !important;
}
body .course-description table,
body .thim-course-content table {
	border-collapse: separate !important;
	border-spacing: 0;
	border: 1px solid var(--acx-line) !important;
	border-radius: var(--acx-r-sm);
	overflow: hidden;
	background: #fff;
}
body .course-description table td,
body .thim-course-content table td {
	border: 0 !important;
	border-bottom: 1px solid var(--acx-line) !important;
	padding: 10px 14px !important;
}
body .course-description table tr:last-child td {
	border-bottom: 0 !important;
}
body .course-description table td:first-child {
	background: var(--acx-lavender);
	font-weight: 600 !important;
	color: var(--acx-ink) !important;
	width: 30%;
}

/* สารบัญบทเรียน (Curriculum) */
body .course-section {
	border: 1px solid var(--acx-line) !important;
	border-radius: var(--acx-r) !important;
	background: #fff !important;
	overflow: hidden;
	margin-bottom: 12px !important;
}
body .course-section-header {
	background: var(--acx-lavender) !important;
	padding: 14px 16px !important;
	border: 0 !important;
}
body .course-section__title,
body .course-section-header *:not(i):not([class*="icon"]):not([class*="fa-"]):not(.fas):not(.far):not(.fab) {
	font-family: var(--acx-font) !important;
	color: var(--acx-ink) !important;
}
body .course-section__title {
	font-weight: 700 !important;
	font-size: 17px !important;
}
body .course-section .course-item {
	border-top: 1px solid var(--acx-line) !important;
	background: #fff !important;
}
body .course-section .course-item:hover {
	background: var(--acx-paper) !important;
}
body .course-section .course-item-title,
body .course-section .course-item-order {
	font-family: var(--acx-font) !important;
	color: var(--acx-ink-2) !important;
	font-size: 16px !important;
}

/* กล่องราคาและปุ่มเริ่มเรียน (คอลัมน์ขวา) */
body.single-lp_course .elementor-15175 .elementor-col-33 > .elementor-widget-wrap {
	border-radius: var(--acx-r-lg) !important;
	box-shadow: var(--acx-shadow-lift) !important;
	border: 1px solid var(--acx-line);
	background: #fff !important;
}
body .thim-ekit-single-course__price,
body .thim-ekit-single-course__price *:not(i):not([class*="icon"]):not([class*="fa-"]):not(.fas):not(.far):not(.fab) {
	font-family: var(--acx-font) !important;
}
body .thim-ekit-single-course__price__price,
body .thim-ekit-single-course__price .free {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: var(--acx-ok) !important;
}
body .thim-ekit-single-course__buttons button,
body .thim-ekit-single-course__buttons .lp-button,
body .thim-ekit-single-course__buttons a.button {
	width: 100%;
	min-height: 48px !important;
	border-radius: 12px !important;
	background: var(--acx-blue) !important;
	border-color: var(--acx-blue) !important;
	color: #fff !important;
	font-family: var(--acx-font) !important;
	font-size: 16.5px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	box-shadow: 0 10px 22px -10px rgba(90, 100, 228, 0.7);
}
body .thim-ekit-single-course__buttons button:hover,
body .thim-ekit-single-course__buttons .lp-button:hover {
	background: var(--acx-blue-text) !important;
}
/* การ์ดรายวิชา: พื้นหลังและป้ายหมวดของ Elementor แบบ flex container */
body .thim-ekits-course__item .e-con {
	background: transparent !important;
}
body .thim-ekits-course__item .elementor-widget-container:has(.loop-item-term) {
	background: rgba(255, 255, 255, 0.94) !important;
	border-radius: 8px !important;
	padding: 3px 8px !important;
	box-shadow: 0 2px 8px rgba(20, 24, 80, 0.12);
}
body .thim-ekits-course__item .loop-item-term {
	background: none !important;
	padding: 0 !important;
}
body .thim-ekits-course__item .elementor-widget-container:has(> .elementor-button-wrapper),
body .thim-ekits-course__item .elementor-widget-container:has(> .elementor-button) {
	background: transparent !important;
}
/* ตัวกรอง: ใช้กรอบเดียว */
body .filter-course .learnpress-widget-wrapper {
	border: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}
body .filter-course .lp-form-course-filter,
body .filter-course form {
	background: transparent !important;
	padding: 0 !important;
	border: 0 !important;
}
body .thim-ekits-course__item .elementor-button {
	width: 100%;
	justify-content: center;
}

body .thim-ekit-tablist .ekits-course-tabs {
	display: flex !important;
	flex-wrap: wrap;
	gap: 4px 24px;
	border-bottom: 1px solid var(--acx-line) !important;
	margin-bottom: 20px;
}
body .thim-ekit-tablist .tab-item {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
}

/* ==========================================================================
   หัวหน้า (Page head) + รายการบทความ + แท็บเลขหน้า
   ========================================================================== */
.acx-page-head {
	background: linear-gradient(120deg, #eef0ff 0%, #f5f0ff 55%, #fff0f4 100%);
	border-bottom: 1px solid var(--acx-line);
	padding: clamp(24px, 3.4vw, 40px) 0;
}
.acx .acx-page-head h1 {
	font-size: clamp(31.5px, 4vw, 44px);
	font-weight: 700;
}
.acx-page-sub {
	margin-top: 6px;
	color: var(--acx-muted);
	max-width: 680px;
}
.acx-crumbs {
	display: flex;
	gap: 8px;
	font-size: 15px;
	color: var(--acx-muted);
	margin-bottom: 14px;
}
.acx-crumbs a:hover {
	color: var(--acx-blue-text);
}
.acx-list-count {
	color: var(--acx-muted);
	font-size: 15.5px;
	margin-bottom: 16px;
}
.acx-pager {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 36px;
}
.acx-pager a {
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 12px;
	border: 1px solid var(--acx-line);
	background: #fff;
	color: var(--acx-ink);
	font-family: var(--acx-mono);
	font-size: 16px;
	font-weight: 600;
	display: inline-grid;
	place-items: center;
}
.acx-pager a:hover {
	border-color: var(--acx-blue);
	color: var(--acx-blue-text);
}
.acx-pager a[aria-current="page"] {
	background: var(--acx-blue);
	border-color: var(--acx-blue);
	color: #fff;
}

/* ==========================================================================
   หน้าบทความเดี่ยว
   ========================================================================== */
.acx-article-meta {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: 15.5px;
	color: var(--acx-muted);
}
.acx-article-meta span + span::before {
	content: "·";
	margin-right: 18px;
	color: #b9bff0;
}
.acx-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	align-items: start;
}
.acx-article-cover {
	border-radius: var(--acx-r-lg);
	overflow: hidden;
	margin-bottom: 24px;
	box-shadow: var(--acx-shadow);
}
.acx-article-cover img {
	width: 100%;
}
.acx-prose {
	font-size: 17px;
	color: var(--acx-ink-2);
}
.acx-prose > * + * {
	margin-top: 14px;
}
.acx .acx-prose h2 {
	font-size: 25px;
	margin-top: 26px;
}
.acx .acx-prose h3 {
	font-size: 21px;
	margin-top: 24px;
}
.acx .acx-prose ul,
.acx .acx-prose ol {
	padding-left: 22px;
	list-style: disc;
}
.acx-prose li + li {
	margin-top: 6px;
}
.acx-prose a {
	color: var(--acx-blue-text);
	text-decoration: underline;
}
.acx-prose img {
	border-radius: var(--acx-r-sm);
}
.acx-prose .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
	margin-top: 14px;
}
.acx-prose .gallery br {
	display: none;
}
.acx-prose .gallery-item {
	margin: 0 !important;
	width: auto !important;
	max-width: none !important;
}
.acx-prose .gallery-icon a {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--acx-r-sm);
	background: var(--acx-line);
}
.acx-prose .gallery-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0 !important;
	transition: transform 0.3s;
}
.acx-prose .gallery-icon a:hover img {
	transform: scale(1.05);
}
.acx-article-side {
	display: grid;
	gap: 20px;
	position: sticky;
	top: 130px;
}
.acx-side-card {
	background: #fff;
	border: 1px solid var(--acx-line);
	border-radius: var(--acx-r);
	padding: 20px;
}
.acx .acx-side-card h3 {
	font-size: 19px;
	margin-bottom: 8px;
}
.acx-side-card > p {
	color: var(--acx-muted);
	font-size: 16px;
	margin-bottom: 12px;
}
.acx-contact-line {
	display: block;
	padding: 6px 0;
	color: var(--acx-ink-2);
	font-weight: 500;
}
.acx-side-card .acx-btn {
	width: 100%;
	margin-top: 12px;
}
.acx .acx-side-list {
	display: grid;
	gap: 12px;
}
.acx-side-list a {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 12px;
	align-items: center;
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--acx-ink-2);
}
.acx-side-list a:hover {
	color: var(--acx-blue-text);
}
.acx-side-list img {
	width: 72px;
	height: 52px;
	object-fit: cover;
	border-radius: 8px;
}
@media (max-width: 960px) {
	.acx-article-layout {
		grid-template-columns: 1fr;
	}
	.acx-article-side {
		position: static;
	}
}

/* ==========================================================================
   หน้าเรียน (Single Course Item ของ Thim Elementor Kit)
   ========================================================================== */
body.course-item-popup {
	background: var(--acx-paper);
}
body.course-item-popup .ekit-popup-header {
	background: linear-gradient(120deg, #eef0ff 0%, #f5f0ff 55%, #fff0f4 100%) !important;
	border-bottom: 1px solid var(--acx-line) !important;
	box-shadow: none !important;
}
body.course-item-popup .thim-ekit__back-single-course,
body.course-item-popup .thim-ekit__back-single-course a {
	font-family: var(--acx-font) !important;
	color: var(--acx-ink) !important;
	font-weight: 700 !important;
}
body.course-item-popup .thim-ekit__back-single-course a > :first-child:is(i, span, svg) {
	background: var(--acx-blue) !important;
}
body.course-item-popup .items-progress,
body.course-item-popup .items-progress *:not(i) {
	font-family: var(--acx-font) !important;
	font-size: 15px !important;
	color: var(--acx-muted) !important;
}
body.course-item-popup .items-progress .percentage-sign,
body.course-item-popup .items-progress .learn-press-progress__active ~ * {
	color: var(--acx-ok) !important;
	font-weight: 600 !important;
}
body.course-item-popup .learn-press-progress {
	background: #dfe2f7 !important;
	border-radius: 99px !important;
	overflow: hidden;
}
body.course-item-popup .learn-press-progress__active {
	background: linear-gradient(90deg, var(--acx-blue), var(--acx-pink)) !important;
	border-radius: 99px !important;
}
body.course-item-popup .thim-ekit-single-course-item__search-form {
	background: #fff !important;
	border: 1px solid var(--acx-line) !important;
	border-radius: 12px !important;
}
body.course-item-popup .thim-ekit-single-course-item__search-form__input {
	font-family: var(--acx-font) !important;
	font-size: 15px !important;
	background: transparent !important;
}

/* สารบัญด้านซ้าย */
body.course-item-popup .ekit-popup-sidebar {
	background: #fff !important;
	border-right: 1px solid var(--acx-line) !important;
}
body.course-item-popup .ekit-popup-sidebar .course-section {
	border: 0 !important;
	border-radius: 0 !important;
	margin: 0 !important;
	border-bottom: 1px solid var(--acx-line) !important;
}
body.course-item-popup .ekit-popup-sidebar .course-item.current,
body.course-item-popup .ekit-popup-sidebar .course-item.current:hover {
	background: var(--acx-blue-soft) !important;
	box-shadow: inset 3px 0 0 var(--acx-blue);
}
body.course-item-popup .ekit-popup-sidebar .course-item.current .course-item-title {
	color: var(--acx-blue-text) !important;
	font-weight: 600 !important;
}
body.course-item-popup .ekit-popup-sidebar .course-item__status,
body.course-item-popup .ekit-popup-sidebar .course-item__status * {
	color: #b9bff0 !important;
}
body.course-item-popup .ekit-popup-sidebar .course-item.item-completed .course-item__status,
body.course-item-popup .ekit-popup-sidebar .course-item.item-completed .course-item__status * {
	color: var(--acx-ok) !important;
}
body.course-item-popup .thim-ekit-toggle-sidebar,
body.course-item-popup .thim-ekit-toggle-sidebar * {
	background: var(--acx-blue) !important;
	color: #fff !important;
	border-radius: 0 10px 10px 0 !important;
}

/* เนื้อหาบทเรียน */
body.course-item-popup .ekit-popup-content {
	background: #fff !important;
}
body.course-item-popup .thim-ekit-single-item__data,
body.course-item-popup .thim-ekit-single-item__data :is(p, li, td) {
	font-family: var(--acx-font) !important;
	font-size: 17px !important;
	line-height: 1.8 !important;
	color: var(--acx-ink-2) !important;
}
body.course-item-popup .thim-ekit-single-item__data :is(h1, h2, h3, h4) {
	font-family: var(--acx-font) !important;
	color: var(--acx-ink) !important;
}
body.course-item-popup .thim-ekit-single-item__data iframe,
body.course-item-popup .thim-ekit-single-item__data video {
	border-radius: var(--acx-r);
	max-width: 100%;
}
body.course-item-popup .lp-btn-complete-item,
body.course-item-popup .thim-ekit-single-item__data .lp-button {
	min-height: 46px !important;
	padding: 0 24px !important;
	border-radius: 12px !important;
	background: var(--acx-blue) !important;
	border: 0 !important;
	color: #fff !important;
	font-family: var(--acx-font) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	box-shadow: 0 10px 22px -10px rgba(90, 100, 228, 0.7);
}
body.course-item-popup .lp-btn-complete-item:hover {
	background: var(--acx-blue-text) !important;
}

/* ก่อนหน้า / ถัดไป */
body.course-item-popup .ekit-popup-footer {
	background: #fff !important;
	border-top: 1px solid var(--acx-line) !important;
}
body.course-item-popup .thim-ekit-single-course-item__navigation__link__content--label {
	font-family: var(--acx-mono) !important;
	font-size: 13px !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--acx-muted) !important;
}
body.course-item-popup .thim-ekit-single-course-item__navigation__link__content--title {
	font-family: var(--acx-font) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--acx-ink) !important;
}
body.course-item-popup .thim-ekit-single-course-item__navigation__arrow {
	border-color: #d9dcf5 !important;
	color: var(--acx-blue-text) !important;
	background: var(--acx-paper) !important;
}
body.course-item-popup .thim-ekit-single-course-item__navigation__link:hover .thim-ekit-single-course-item__navigation__arrow {
	background: var(--acx-blue) !important;
	border-color: var(--acx-blue) !important;
	color: #fff !important;
}

/* Header: กันปุ่มหมวดหมู่ตัดบรรทัดเมื่อมีชื่อผู้ใช้ */
.acx .acx-cats-btn,
.acx .acx-user-btn {
	white-space: nowrap;
	flex: none;
}
.acx-user-btn span {
	max-width: 110px;
}
@media (min-width: 961px) and (max-width: 1240px) {
	.logged-in .acx-search {
		width: 150px;
	}
}

/* ==========================================================================
   หน้าโปรไฟล์ผู้เรียน (LearnPress Profile)
   ========================================================================== */
body.learnpress-profile .lp-content-area {
	font-family: var(--acx-font);
}
body.learnpress-profile .wrapper-profile-header {
	background: linear-gradient(120deg, #eef0ff 0%, #f5f0ff 55%, #fff0f4 100%) !important;
	border: 1px solid var(--acx-line);
	border-radius: var(--acx-r-lg);
	padding: 24px !important;
	margin-bottom: 24px;
}
body.learnpress-profile .lp-user-cover-image_background {
	border-radius: var(--acx-r-lg);
}
body.learnpress-profile .user-avatar img {
	border-radius: 50% !important;
	border: 4px solid #fff;
	box-shadow: var(--acx-shadow);
}
body.learnpress-profile .lp-profile-username {
	font-family: var(--acx-font) !important;
	font-size: 26px !important;
	font-weight: 700 !important;
	color: var(--acx-ink) !important;
}
/* เมนูด้านซ้าย */
body.learnpress-profile .lp-profile-nav-tabs {
	background: #fff !important;
	border: 1px solid var(--acx-line) !important;
	border-radius: var(--acx-r) !important;
	padding: 8px !important;
	overflow: hidden;
}
body.learnpress-profile .lp-profile-nav-tabs > li {
	border: 0 !important;
	background: none !important;
}
body.learnpress-profile .lp-profile-nav-tabs > li > a {
	border-radius: 10px !important;
	font-family: var(--acx-font) !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	color: var(--acx-ink-2) !important;
	background: transparent !important;
	padding: 10px 14px !important;
}
body.learnpress-profile .lp-profile-nav-tabs > li > a:hover {
	background: var(--acx-paper) !important;
	color: var(--acx-blue-text) !important;
}
body.learnpress-profile .lp-profile-nav-tabs > li.active > a {
	background: var(--acx-blue-soft) !important;
	color: var(--acx-blue-text) !important;
	font-weight: 600 !important;
}
body.learnpress-profile .lp-profile-nav-tabs > li.active > a i,
body.learnpress-profile .lp-profile-nav-tabs > li > a i {
	color: inherit !important;
}
body.learnpress-profile .lp-profile-nav-tabs .profile-tab-sections {
	border-radius: 10px !important;
	border: 1px solid var(--acx-line) !important;
	box-shadow: var(--acx-shadow-lift) !important;
}
/* สถิติ */
body.learnpress-profile .statistic-box {
	background: #fff !important;
	border: 1px solid var(--acx-line) !important;
	border-radius: var(--acx-r) !important;
	box-shadow: none !important;
}
body.learnpress-profile .statistic-box__text,
body.learnpress-profile .statistic-box__text * {
	font-family: var(--acx-font) !important;
	color: var(--acx-muted) !important;
	font-size: 15px !important;
}
body.learnpress-profile .statistic-box__text__number {
	font-family: var(--acx-mono) !important;
	font-size: 26px !important;
	font-weight: 600 !important;
	color: var(--acx-ink) !important;
}
/* แท็บกรองรายวิชา */
body.learnpress-profile .learn-press-filters,
body.learnpress-profile .learn-press-tabs {
	border-bottom: 1px solid var(--acx-line) !important;
}
body.learnpress-profile .learn-press-filters a,
body.learnpress-profile .learn-press-filters li,
body.learnpress-profile .learn-press-filters span {
	font-family: var(--acx-font) !important;
	font-size: 16.5px !important;
	font-weight: 600 !important;
	color: var(--acx-muted) !important;
}
body.learnpress-profile .learn-press-filters .active,
body.learnpress-profile .learn-press-filters .active a,
body.learnpress-profile .learn-press-filters .active span {
	color: var(--acx-blue-text) !important;
	border-bottom-color: var(--acx-pink) !important;
}
/* ตารางความคืบหน้า */
body.learnpress-profile .lp-list-table {
	border: 1px solid var(--acx-line) !important;
	border-radius: var(--acx-r) !important;
	overflow: hidden;
	background: #fff !important;
}
body.learnpress-profile .lp-list-table th,
body.learnpress-profile .lp_profile_course_progress__header {
	background: var(--acx-lavender) !important;
	color: var(--acx-ink) !important;
	font-family: var(--acx-font) !important;
	font-weight: 600 !important;
}
body.learnpress-profile .lp-list-table td,
body.learnpress-profile .lp_profile_course_progress__item {
	font-family: var(--acx-font) !important;
	color: var(--acx-ink-2) !important;
	border-color: var(--acx-line) !important;
}
body.learnpress-profile .course-img img {
	border-radius: 8px;
}
/* ปุ่มในโปรไฟล์ (บันทึก / อัปโหลด) */
body.learnpress-profile .lp-profile-content button,
body.learnpress-profile .lp-profile-content input[type="submit"],
body.learnpress-profile .lp-profile-content .lp-button {
	border-radius: 12px !important;
	background: var(--acx-blue) !important;
	border-color: var(--acx-blue) !important;
	color: #fff !important;
	font-family: var(--acx-font) !important;
	font-weight: 600 !important;
	text-transform: none !important;
}
body.learnpress-profile .lp-profile-content input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.learnpress-profile .lp-profile-content textarea,
body.learnpress-profile .lp-profile-content select {
	border: 1px solid var(--acx-line) !important;
	border-radius: 10px !important;
	font-family: var(--acx-font) !important;
	font-size: 16px !important;
	color: var(--acx-ink) !important;
}
body.learnpress-profile .lp-profile-content input:focus,
body.learnpress-profile .lp-profile-content textarea:focus {
	border-color: var(--acx-blue) !important;
	box-shadow: 0 0 0 3px rgba(90, 100, 228, 0.15) !important;
}

/* ==========================================================================
   หน้าติดต่อเรา
   ========================================================================== */
.acx-contact-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 28px;
}
.acx-contact-card {
	background: #fff;
	border: 1px solid var(--acx-line);
	border-radius: var(--acx-r);
	padding: 22px;
}
.acx-contact-icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--acx-blue-soft);
	color: var(--acx-blue-text);
	margin-bottom: 12px;
}
.acx .acx-contact-card h2 {
	font-size: 19px;
	margin-bottom: 6px;
}
.acx-contact-card p {
	color: var(--acx-ink-2);
	font-size: 16px;
	line-height: 1.7;
}
.acx-contact-card a:hover {
	color: var(--acx-blue-text);
}
.acx-contact-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 20px;
	align-items: stretch;
}
.acx-form-card {
	background: #fff;
	border: 1px solid var(--acx-line);
	border-radius: var(--acx-r-lg);
	padding: clamp(20px, 3vw, 32px);
}
.acx .acx-form-card h2 {
	font-size: 24px;
	margin-bottom: 16px;
}
.acx-form {
	display: grid;
	gap: 14px;
}
.acx-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.acx-form label {
	display: block;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--acx-ink);
}
.acx-form label span {
	color: #e2678b;
}
.acx .acx-form input,
.acx .acx-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #d9dcf5;
	border-radius: 10px;
	background: var(--acx-paper);
	font-family: var(--acx-font);
	font-size: 16px;
	font-weight: 400;
	color: var(--acx-ink);
	box-shadow: none;
	height: auto;
	margin: 6px 0 0;
	display: block;
}
.acx .acx-form input:focus,
.acx .acx-form textarea:focus {
	outline: none;
	border-color: var(--acx-blue);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(90, 100, 228, 0.15);
}
.acx-form .acx-btn {
	justify-self: start;
	min-height: 48px;
	padding: 0 26px;
}
.acx-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.acx-notice {
	padding: 12px 16px;
	border-radius: 10px;
	margin-bottom: 16px;
	font-size: 16px;
}
.acx-notice--ok {
	background: var(--acx-ok-soft);
	color: var(--acx-ok);
}
.acx-notice--error {
	background: #ffeef3;
	color: #b4385c;
}
.acx-map {
	border-radius: var(--acx-r-lg);
	overflow: hidden;
	border: 1px solid var(--acx-line);
	min-height: 380px;
	background: var(--acx-lavender);
}
.acx-map iframe {
	width: 100%;
	height: 100%;
	min-height: 380px;
	border: 0;
	display: block;
}
@media (max-width: 860px) {
	.acx-contact-cards,
	.acx-contact-grid,
	.acx-form-row {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   หน้าเข้าสู่ระบบ / สมัครสมาชิก / ลืมรหัสผ่าน (วิดเจ็ต thim-login-form)
   ========================================================================== */
body.page-id-2958 {
	background: linear-gradient(160deg, #eef0ff 0%, #f7f7fd 45%, #fff0f4 100%) fixed;
}
body.page-id-2958 .top_site_main,
body.page-id-2958 .page-title,
body.page-id-2958 .breadcrumbs-wrapper {
	display: none !important;
}
body .elementor-widget-thim-login-form > .elementor-widget-container > :is(.thim-login-container, .thim-login) {
	max-width: 460px;
	margin: clamp(28px, 5vw, 56px) auto !important;
	padding: clamp(24px, 4vw, 36px) !important;
	background: #fff !important;
	border: 1px solid var(--acx-line) !important;
	border-radius: var(--acx-r-lg) !important;
	box-shadow: var(--acx-shadow-lift) !important;
	font-family: var(--acx-font) !important;
}
body .elementor-widget-thim-login-form .title,
body .thim-login .title {
	font-family: var(--acx-font) !important;
	font-size: 26px !important;
	font-weight: 700 !important;
	color: var(--acx-ink) !important;
	text-transform: none !important;
	margin-bottom: 20px !important;
}
body .elementor-widget-thim-login-form .title::before {
	content: "";
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 14px;
	background: url("img/ac-logo.png") center / contain no-repeat;
}
body .elementor-widget-thim-login-form input[type="text"],
body .elementor-widget-thim-login-form input[type="email"],
body .elementor-widget-thim-login-form input[type="password"] {
	height: 48px !important;
	padding: 0 14px !important;
	border: 1px solid #d9dcf5 !important;
	border-radius: 12px !important;
	background: var(--acx-paper) !important;
	font-family: var(--acx-font) !important;
	font-size: 16px !important;
	color: var(--acx-ink) !important;
	box-shadow: none !important;
}
body .elementor-widget-thim-login-form input:focus {
	border-color: var(--acx-blue) !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(90, 100, 228, 0.15) !important;
}
body .elementor-widget-thim-login-form input::placeholder {
	color: #8a8fb5;
}
body .elementor-widget-thim-login-form label,
body .elementor-widget-thim-login-form .forgetmenot,
body .elementor-widget-thim-login-form p {
	font-family: var(--acx-font) !important;
	font-size: 15.5px !important;
	color: var(--acx-ink-2) !important;
}
body .elementor-widget-thim-login-form .lost-pass-link,
body .elementor-widget-thim-login-form .lost-pass-link a {
	font-weight: 600 !important;
	color: var(--acx-blue-text) !important;
}
body .elementor-widget-thim-login-form input[type="submit"],
body .elementor-widget-thim-login-form button[type="submit"],
body .elementor-widget-thim-login-form .button-primary {
	width: 100%;
	height: 50px !important;
	border-radius: 12px !important;
	background: var(--acx-blue) !important;
	border: 0 !important;
	color: #fff !important;
	font-family: var(--acx-font) !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: 0 10px 22px -10px rgba(90, 100, 228, 0.7) !important;
}
body .elementor-widget-thim-login-form input[type="submit"]:hover,
body .elementor-widget-thim-login-form .button-primary:hover {
	background: var(--acx-blue-text) !important;
}
body .elementor-widget-thim-login-form .link-bottom {
	margin-top: 18px !important;
	padding-top: 16px;
	border-top: 1px solid var(--acx-line);
	text-align: center;
}
body .elementor-widget-thim-login-form .link-bottom a {
	font-weight: 700 !important;
	color: var(--acx-blue-text) !important;
}
/* แถวข้อมูลในการ์ด: ไม่ตัดคำกลางป้าย */
.acx-card-meta {
	flex-wrap: wrap;
	gap: 8px 12px;
}
.acx-card-meta span {
	white-space: nowrap;
}
/* ช่องกับดักบอทในฟอร์มสมัคร (ทั้งเว็บ) */
.acx-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ==========================================================================
   Buddhist Sunday School / ค้นหา / 404
   ========================================================================== */
.acx-bss-logo {
	max-width: 420px;
	width: 100%;
	margin-bottom: 18px;
	padding: 12px 18px;
	border-radius: var(--acx-r);
	background: linear-gradient(120deg, #b85e12, #d9822b);
	box-shadow: 0 10px 24px -14px rgba(184, 94, 18, 0.8);
}
.acx .acx-bss-hero h1 {
	font-size: clamp(31.5px, 4.4vw, 49.5px);
	font-weight: 700;
}
.acx-bss-steps {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 32px;
	align-items: start;
}
.acx-bss-steps h2 {
	font-size: clamp(25px, 3vw, 34px);
}
.acx .acx-bss-steps ol {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 12px;
	counter-reset: step;
}
.acx-bss-steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 44px 1fr;
	column-gap: 14px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--acx-line);
	border-radius: var(--acx-r);
	padding: 14px 16px;
}
.acx-bss-steps li::before {
	content: counter(step);
	grid-row: span 2;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: #fff3e0;
	color: #b06a00;
	font-family: var(--acx-mono);
	font-weight: 600;
	font-size: 18px;
}
.acx-bss-steps li strong {
	color: var(--acx-ink);
}
.acx-bss-steps li span {
	color: var(--acx-muted);
	font-size: 15.5px;
}
.acx-search--page {
	margin: 18px 0 0;
	width: min(560px, 100%);
	height: 52px;
	padding: 0 6px 0 14px;
	background: #fff;
}
.acx-search--page .acx-btn {
	min-height: 40px;
	padding: 0 18px;
}
.acx-404 {
	text-align: center;
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: clamp(24px, 6vw, 60px) var(--acx-gutter);
}
.acx-404-code {
	font-family: var(--acx-mono);
	font-size: clamp(72px, 14vw, 140px);
	font-weight: 600;
	line-height: 1;
	background: linear-gradient(120deg, var(--acx-blue), var(--acx-pink));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.acx .acx-404 h1 {
	font-size: clamp(25px, 3vw, 34px);
}
.acx-404 .acx-hero-buttons {
	justify-content: center;
}
.acx-empty .acx-btn {
	margin-top: 6px;
}
@media (max-width: 860px) {
	.acx-bss-steps {
		grid-template-columns: 1fr;
	}
}

.acx .acx-login {
	white-space: nowrap;
	flex: none;
}
/* หน้าผู้สอน */
.acx-instructor-head {
	display: flex;
	gap: clamp(18px, 3vw, 32px);
	align-items: center;
}
.acx-instructor-avatar img {
	width: clamp(110px, 14vw, 160px);
	height: clamp(110px, 14vw, 160px);
	border-radius: 50%;
	object-fit: cover;
	border: 5px solid #fff;
	box-shadow: var(--acx-shadow-lift);
}
.acx-instructor-stats {
	margin-top: 16px;
	border-top: 0;
	padding-top: 0;
}
@media (max-width: 600px) {
	.acx-instructor-head {
		flex-direction: column;
		align-items: flex-start;
	}
	.acx-instructor-stats {
		display: flex;
	}
}

/* ชื่อรายวิชาบนการ์ด: เล็กลงให้พอดีการ์ด (หัวข้ออบรมยาว 2 บรรทัด) */
.acx .acx-card-title {
	font-size: 16.5px;
	line-height: 1.45;
}
body .thim-ekits-course__item .elementor-widget-thim-loop-item-title a,
body .thim-ekits-course__item .elementor-widget-thim-loop-item-title .elementor-heading-title {
	font-size: 16.5px !important;
	line-height: 1.45 !important;
}

/* ==========================================================================
   หน้าสมัครเป็นผู้สอน
   ========================================================================== */
.acx-teach-hero .acx-split {
	align-items: center;
}
.acx .acx-teach-hero h1 .accent {
	color: var(--acx-blue-text);
}
.acx-teach-hero .acx-hero-buttons {
	margin-top: 20px;
}
.acx-teach-visual {
	position: relative;
	margin: 0 0 0 auto;
	width: min(100%, 340px);
	aspect-ratio: 5 / 6;
	border-radius: var(--acx-r-lg);
	overflow: hidden;
	background: #fff;
	border: 6px solid #fff;
	box-shadow: var(--acx-shadow-lift);
}
.acx-teach-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
	border-radius: calc(var(--acx-r-lg) - 6px);
	display: block;
}
.acx-teach-badge {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--acx-ink);
	font-size: 14px;
	font-weight: 600;
	box-shadow: var(--acx-shadow);
}
.acx-teach-badge span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--acx-ok);
	box-shadow: 0 0 0 4px var(--acx-ok-soft);
}
.acx-feature {
	background: #fff;
	border: 1px solid var(--acx-line);
	border-radius: var(--acx-r);
	padding: 22px;
}
.acx .acx-feature h3 {
	font-size: 19px;
	margin-bottom: 6px;
}
.acx-feature p {
	color: var(--acx-muted);
	font-size: 16px;
}
.acx-teach-side {
	display: grid;
	gap: 20px;
	align-content: start;
}
.acx .acx-checklist {
	display: grid;
	gap: 10px;
}
.acx-checklist li {
	position: relative;
	padding-left: 28px;
	font-size: 16px;
	color: var(--acx-ink-2);
}
.acx-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--acx-ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a58' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.acx .acx-form select {
	width: 100%;
	margin-top: 6px;
	padding: 11px 14px;
	border: 1px solid #d9dcf5;
	border-radius: 10px;
	background-color: var(--acx-paper);
	font-family: var(--acx-font);
	font-size: 16px;
	font-weight: 400;
	color: var(--acx-ink);
	height: auto;
}
@media (max-width: 860px) {
	.acx-teach-visual {
		display: none;
	}
}

/* การ์ด Onsite หน้าแรก: 4 คอลัมน์ ขนาดเท่าการ์ดรายวิชายอดนิยม */
.acx .acx-onsite-grid .acx-post h3 {
	font-size: 16.5px;
	line-height: 1.45;
}
.acx-onsite-grid .acx-post-excerpt {
	font-size: 15px;
	-webkit-line-clamp: 2;
}

/* ==========================================================================
   ชวนสมัครเป็นผู้สอน (หน้าแรก) — รูปเต็มฝั่งซ้าย ข้อความฝั่งขวา
   ========================================================================== */
.acx .acx-cta {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 52px);
	align-items: center;
	padding: clamp(14px, 1.6vw, 18px);
	padding-right: clamp(24px, 4vw, 52px);
	background:
		radial-gradient(circle at 100% 0%, rgba(240, 138, 166, 0.18), transparent 45%),
		linear-gradient(120deg, #eceeff 0%, #f4efff 60%, #fff0f4 100%);
	border: 1px solid var(--acx-line);
}
.acx-cta-photo {
	position: relative;
	margin: 0;
	border-radius: calc(var(--acx-r-lg) - 8px);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: var(--acx-shadow-lift);
}
.acx-cta-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 35% 40%;
	display: block;
}
.acx-cta-rec {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(6px);
	color: var(--acx-ink);
	font-size: 14px;
	font-weight: 600;
	box-shadow: var(--acx-shadow);
}
.acx-cta-rec span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #e5484d;
	box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.18);
	animation: acx-rec 1.6s ease-in-out infinite;
}
@keyframes acx-rec {
	50% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
	.acx-cta-rec span { animation: none; }
}
.acx .acx-cta-text {
	padding: clamp(8px, 2vw, 20px) 0;
}
.acx .acx-cta-text > p:not(.acx-eyebrow) {
	margin: 12px 0 18px;
}
.acx-cta-points {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: grid;
	gap: 10px;
}
.acx-cta-points li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--acx-ink-2);
	font-size: 16px;
	line-height: 1.5;
}
.acx-cta-tick {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--acx-blue);
	color: #fff;
}
.acx-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
@media (max-width: 860px) {
	.acx .acx-cta {
		grid-template-columns: 1fr;
		padding: 14px 14px 24px;
	}
	.acx .acx-cta-text {
		padding: 0 8px;
	}
}
@media (max-width: 600px) {
	.acx-cta-actions .acx-btn {
		flex: 1 1 100%;
		justify-content: center;
	}
}
.acx .acx-cta h2 em {
	white-space: nowrap;
}
.acx ul.acx-cta-points {
	margin: 0 0 26px;
	padding: 0;
}

/* รูปหน้าสมัครเป็นผู้สอน: พื้นหลังภาพปรับเป็นพาสเทลแล้ว เคลือบสีบาง ๆ ให้กลืนกับกรอบ */
.acx-teach-visual {
	box-shadow: 16px 16px 0 -4px #dfe1ff, 30px 30px 0 -8px #ffe3ec, var(--acx-shadow-lift);
	overflow: visible;
}
.acx-teach-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: calc(var(--acx-r-lg) - 6px);
	background: linear-gradient(160deg, rgba(90, 100, 228, 0.08) 0%, rgba(90, 100, 228, 0) 50%, rgba(20, 24, 80, 0.12) 100%);
	pointer-events: none;
}
.acx-teach-badge {
	z-index: 1;
}

/* กระโดดมาที่ใบสมัคร: เว้นที่ให้ Header ที่ติดด้านบน */
#apply {
	scroll-margin-top: 90px;
}

/* กรอบรูปชวนสมัครเป็นผู้สอน (หน้าแรก): แบบเดียวกับรูปหน้าสมัครเป็นผู้สอน */
.acx .acx-cta {
	overflow: visible;
	padding: clamp(20px, 2.4vw, 28px);
	padding-right: clamp(24px, 4vw, 52px);
	padding-bottom: clamp(36px, 3.6vw, 44px);
}
.acx-cta-photo {
	overflow: visible;
	border: 6px solid #fff;
	border-radius: var(--acx-r-lg);
	background: #fff;
	box-shadow: 16px 16px 0 -4px #dfe1ff, 30px 30px 0 -8px #ffe3ec, var(--acx-shadow-lift);
}
.acx-cta-photo img {
	border-radius: calc(var(--acx-r-lg) - 6px);
}
.acx-cta-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: calc(var(--acx-r-lg) - 6px);
	background: linear-gradient(160deg, rgba(90, 100, 228, 0.08) 0%, rgba(90, 100, 228, 0) 50%, rgba(20, 24, 80, 0.12) 100%);
	pointer-events: none;
}
.acx-cta-rec {
	z-index: 1;
	left: 14px;
	bottom: 14px;
}
@media (max-width: 860px) {
	.acx .acx-cta {
		padding: 16px 16px 28px;
	}
	.acx-cta-photo {
		box-shadow: 10px 10px 0 -3px #dfe1ff, 18px 18px 0 -6px #ffe3ec, var(--acx-shadow-lift);
		margin-right: 14px;
	}
}

/* หัวข้อศูนย์ศึกษาพระพุทธศาสนาวันอาทิตย์: บรรทัดเดียวบนจอใหญ่ ถ้าไม่พอให้ตัดเฉพาะหน้าคำว่า "วันอาทิตย์" */
.acx .acx-bss-title {
	font-size: clamp(25px, 2.75vw, 34px);
}
.acx-bss-title span {
	white-space: nowrap;
}

/* กรอบรูปแบบเดียวกับ Become an instructor (ใช้กับแถบ Buddhist Sunday School หน้าแรก) */
.acx-photo--framed {
	position: relative;
	overflow: visible;
	border: 6px solid #fff;
	background: #fff;
	box-shadow: 16px 16px 0 -4px #dfe1ff, 30px 30px 0 -8px #ffe3ec, var(--acx-shadow-lift);
	margin-right: 30px;
	margin-bottom: 30px;
}
.acx-photo--framed img {
	display: block;
	width: 100%;
	border-radius: calc(var(--acx-r-lg) - 6px);
}
.acx-photo--framed::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: calc(var(--acx-r-lg) - 6px);
	background: linear-gradient(160deg, rgba(90, 100, 228, 0.08) 0%, rgba(90, 100, 228, 0) 50%, rgba(20, 24, 80, 0.12) 100%);
	pointer-events: none;
}
@media (max-width: 860px) {
	.acx-photo--framed {
		box-shadow: 10px 10px 0 -3px #dfe1ff, 18px 18px 0 -6px #ffe3ec, var(--acx-shadow-lift);
		margin-right: 18px;
		margin-bottom: 18px;
	}
}

/* บทเรียนตัวอย่างในแท็บ Curriculum: ป้าย "ทดลองเรียนฟรี" แทนไอคอนรูปตา */
.lp-course-curriculum .course-item__status .course-item-ico.preview,
.course-item__status .course-item-ico.preview {
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	display: inline-block;
}
.lp-course-curriculum .course-section .course-item__status .course-item-ico.preview::before,
.course-item__status .course-item-ico.preview::before {
	content: "ทดลองเรียนฟรี" !important;
	display: inline-block;
	font-family: var(--acx-font, "Anuphan", sans-serif) !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
	color: var(--acx-ok, #1f7a58);
	background: var(--acx-ok-soft, #e7f7f0);
	border-radius: 99px;
	padding: 1px 10px;
	white-space: nowrap;
}
.lp-course-curriculum .course-item__status:has(.course-item-ico.preview) {
	width: auto !important;
	min-width: 0;
	flex: none;
	overflow: visible;
	margin-left: 8px;
}
