/* ============================================================
   MODERN THEME OVERRIDES — intimepromote.com
   โหลดหลัง custom.css เพื่อทับสไตล์เดิมให้ดูทันสมัยขึ้น
   ============================================================ */

:root {
	--green-700: #056B31;
	--green-600: #078A3E;
	--green-500: #0BA34C;
	--green-100: #DCF5E6;
	--green-50:  #F0FAF4;
	--pink-600:  #E4145C;
	--pink-500:  #FF1756;
	--pink-50:   #FFF0F5;
	--ink-900:   #101828;
	--ink-700:   #344054;
	--ink-500:   #667085;
	--line-200:  #EAECF0;
	--bg-soft:   #F6F8F7;
	--radius-lg: 20px;
	--radius-md: 14px;
	--shadow-card: 0 4px 24px rgba(16, 24, 40, 0.07);
	--shadow-card-hover: 0 12px 32px rgba(16, 24, 40, 0.13);
}

html {
	scroll-behavior: smooth;
}

/* ---------- Typography ---------- */
body {
	font-family: 'Noto Sans Thai', sans-serif;
	font-size: 17px;
	color: var(--ink-700);
	line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Noto Sans Thai', sans-serif;
	color: var(--ink-900);
}

p {
	color: var(--ink-700) !important;
	line-height: 1.8 !important;
}

.text-primary {
	color: var(--green-600) !important;
}

/* ---------- Section scaffolding ---------- */
.modern-section {
	padding: 64px 0;
}

.modern-section.bg-soft {
	background: var(--bg-soft);
}

.section-eyebrow {
	display: inline-block;
	background: var(--green-100);
	color: var(--green-700);
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	padding: 9px 18px;
	border-radius: 40px;
	margin-bottom: 14px;
}

.section-eyebrow.eyebrow-light {
	background: rgba(255, 255, 255, 0.18);
	color: #FFF;
}

.section-title {
	font-size: 36px;
	line-height: 1.35;
	font-weight: 700;
	margin-bottom: 8px;
}

.section-desc {
	max-width: 860px;
	margin: 0 auto !important;
	color: var(--ink-500) !important;
}

.title-bar {
	width: 64px;
	height: 5px;
	border-radius: 5px;
	background: linear-gradient(90deg, var(--green-500), #7BE3A6);
	margin: 14px auto 18px auto;
}

.title-bar.title-bar-light {
	background: linear-gradient(90deg, #FFF, rgba(255, 255, 255, 0.4));
}

@media (max-width: 767px) {
	.modern-section { padding: 44px 0; }
	.section-title { font-size: 28px; }
}

/* ---------- Top bar ---------- */
.topbar {
	background: linear-gradient(120deg, #04471F 0%, var(--green-600) 100%);
	color: #FFF;
	padding: 10px 0;
	font-size: 15px;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 4px 16px;
}

.topbar-brand {
	font-weight: 700;
	font-size: 17px;
	letter-spacing: 0.2px;
}

.topbar-brand .fa-google {
	background: rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	width: 26px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	font-size: 13px;
	margin-right: 6px;
	display: inline-block;
}

.topbar-contact {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 18px;
}

.topbar-contact a {
	color: #FFF !important;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.topbar-contact a:hover {
	color: #C9F3DA !important;
	text-decoration: none;
}

.topbar-contact a i {
	margin-right: 5px;
	opacity: 0.9;
}

@media (max-width: 767px) {
	.topbar-inner { justify-content: center; text-align: center; }
}

/* ---------- Header / Nav ---------- */
#header .header-body {
	border-top: 0;
	box-shadow: 0 2px 18px rgba(16, 24, 40, 0.08);
}

#header .header-nav-main nav > ul > li > a {
	color: var(--ink-700) !important;
	font-weight: 600;
	font-size: 16px;
	text-transform: none;
	border-radius: 40px;
	padding: 9px 24px;
}

#header .header-nav-main nav > ul > li > a:hover {
	color: var(--green-600) !important;
	background: var(--green-50);
}

#header .header-nav.header-nav-links nav > ul > li > a.active,
#header .header-nav.header-nav-line nav > ul > li > a.active {
	background: linear-gradient(120deg, var(--green-700) 0%, var(--green-500) 100%) !important;
	color: #FFF !important;
	box-shadow: 0 6px 16px rgba(11, 163, 76, 0.35);
}

@media (max-width: 991px) {
	#header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a {
		color: var(--ink-700) !important;
		font-weight: 600;
		border-radius: 12px;
	}
	#header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a.active {
		background: linear-gradient(120deg, var(--green-700) 0%, var(--green-500) 100%) !important;
	}
}

/* ---------- Feature cards (จุดเด่นของเรา) ---------- */
.feature-card {
	background: #FFF;
	border: 1px solid var(--line-200);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: 28px 22px;
	text-align: center;
	height: 100%;
	transition: all 0.25s ease;
}

.feature-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-hover);
	border-color: var(--green-500);
}

.feature-card .feature-icon {
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--green-100), #EFFAF3);
	color: var(--green-600);
	font-size: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px auto;
}

.feature-card .feature-text {
	font-weight: 600;
	font-size: 18px;
	color: var(--ink-900);
	line-height: 1.55;
}

/* ---------- Pricing (แบบที่ 1 / แบบที่ 2) ---------- */
.pricing-section {
	background-size: cover;
	background-position: center center;
	position: relative;
}

.pricing-overlay {
	background: linear-gradient(135deg, rgba(4, 71, 31, 0.95) 0%, rgba(7, 138, 62, 0.9) 100%);
	padding: 64px 0;
}

.price-card {
	background: #FFF;
	border-radius: 24px;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.price-head {
	padding: 28px 26px 22px 26px;
	text-align: center;
	color: #FFF;
}

.price-card--green .price-head {
	background: linear-gradient(135deg, var(--green-700) 0%, var(--green-500) 100%);
}

.price-card--pink .price-head {
	background: linear-gradient(135deg, #B00A43 0%, var(--pink-500) 100%);
}

.price-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #FFF;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: 8px 16px;
	border-radius: 40px;
	margin-bottom: 12px;
}

.price-name {
	color: #FFF;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.price-tagline {
	color: rgba(255, 255, 255, 0.92) !important;
	font-size: 17px;
	margin-top: 4px !important;
}

.price-body {
	padding: 26px 28px 28px 28px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.price-amount {
	text-align: center;
	margin-bottom: 18px;
}

.price-amount .price-pre {
	font-size: 18px;
	color: var(--ink-500);
	font-weight: 500;
}

.price-amount .price-num {
	font-size: 46px;
	font-weight: 800;
	line-height: 1.1;
	color: var(--ink-900);
	letter-spacing: -0.5px;
}

.price-card--green .price-amount .price-num { color: var(--green-600); }
.price-card--pink  .price-amount .price-num { color: var(--pink-600); }

.price-amount .price-unit {
	font-size: 18px;
	color: var(--ink-500);
	font-weight: 500;
}

.price-rows {
	list-style: none;
	margin: 0 0 18px 0;
	padding: 0;
}

.price-rows li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: var(--bg-soft);
	border: 1px solid var(--line-200);
	border-radius: var(--radius-md);
	padding: 12px 18px;
	margin-bottom: 10px;
	font-size: 16.5px;
}

.price-rows li span { color: var(--ink-700); font-weight: 500; }
.price-rows li strong { color: var(--ink-900); font-weight: 700; white-space: nowrap; }
.price-card--pink .price-rows li strong { color: var(--pink-600); }
.price-card--green .price-rows li strong { color: var(--green-600); }

.price-subhead {
	font-size: 19px;
	font-weight: 700;
	color: var(--ink-900);
	text-align: center;
	margin: 6px 0 14px 0;
	padding-top: 18px;
	border-top: 1px dashed var(--line-200);
}

.price-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.price-list li {
	position: relative;
	padding: 6px 0 6px 34px;
	font-size: 16.5px;
	color: var(--ink-700);
}

.price-list li::before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: "\f00c";
	position: absolute;
	left: 0;
	top: 7px;
	width: 23px;
	height: 23px;
	border-radius: 50%;
	font-size: 11px;
	line-height: 23px;
	text-align: center;
}

.price-card--green .price-list li::before {
	background: var(--green-100);
	color: var(--green-700);
}

.price-card--pink .price-list li::before {
	background: var(--pink-50);
	color: var(--pink-600);
}

/* ---------- Step cards (ขั้นตอน) ---------- */
.step-card {
	background: #FFF;
	border: 1px solid var(--line-200);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: 30px 24px 26px 24px;
	text-align: center;
	height: 100%;
	position: relative;
	transition: all 0.25s ease;
}

.step-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-hover);
}

.step-num {
	position: absolute;
	top: 18px;
	left: 18px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--green-700), var(--green-500));
	color: #FFF;
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 14px rgba(11, 163, 76, 0.35);
}

.step-card img {
	width: 180px;
	max-width: 70%;
	height: auto;
	margin-bottom: 14px;
}

.step-title {
	font-size: 21px;
	font-weight: 700;
	color: var(--green-700);
	margin-bottom: 4px;
}

.step-desc {
	font-size: 17px;
	color: var(--ink-500) !important;
}

/* ---------- ตัวอย่างโฆษณา ---------- */
.img-modern {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	border: 1px solid var(--line-200);
	max-width: 100%;
	height: auto;
}

/* ---------- Buttons ---------- */
.btn {
	font-weight: 600;
	transition: all 0.25s ease;
}

.btn-primary {
	background-image: linear-gradient(135deg, #FF4438 0%, #D7261D 100%);
	border: 0 !important;
	box-shadow: 0 8px 20px rgba(215, 38, 29, 0.35);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(215, 38, 29, 0.45) !important;
}

.btn-success {
	background-image: linear-gradient(135deg, #06C755 0%, #04A344 100%);
	background-color: #06C755;
	box-shadow: 0 8px 20px rgba(6, 199, 85, 0.35);
}

.btn-success:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(6, 199, 85, 0.45) !important;
}

.btn-lg {
	font-size: 24px !important;
	padding: 14px 30px !important;
}

/* ---------- CTA buttons (widget-btn-contact) ---------- */
.cta-buttons {
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 10px;
}

.cta-buttons .btn {
	min-width: 280px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

@media (max-width: 575px) {
	.cta-buttons .btn { width: 100%; min-width: 0; }
}

/* ---------- Footer ---------- */
#footer {
	background: #0F1712;
	box-shadow: none;
	border-top: 3px solid var(--green-600);
}

#footer .footer-heading {
	color: #FFF;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 18px;
}

#footer p, #footer p.font-2 {
	color: #B6C4BC !important;
}

#footer .footer-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

#footer .footer-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
	color: #B6C4BC;
	font-size: 16.5px;
}

#footer .footer-contact-list li i {
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border-radius: 12px;
	background: rgba(11, 163, 76, 0.15);
	color: #35D07F;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

#footer .footer-contact-list li a {
	color: #E6F2EA !important;
	font-weight: 600;
	text-decoration: none;
}

#footer .footer-contact-list li a:hover {
	color: #35D07F !important;
}

#footer .footer-contact-list .contact-label {
	display: block;
	font-size: 14px;
	color: #7E8F86;
	line-height: 1.3;
}

#footer .footer-qr {
	background: #FFF;
	border-radius: var(--radius-lg);
	padding: 12px;
	display: inline-block;
	box-shadow: var(--shadow-card);
}

#footer .footer-qr img {
	width: 200px;
	max-width: 100%;
	border-radius: 10px;
	display: block;
}

#footer .footer-qr-caption {
	font-size: 14.5px;
	color: #7E8F86 !important;
	margin-top: 10px !important;
}

#footer .footer-copyright.footer-copyright-style-2 {
	background: #0B100D;
	background: linear-gradient(120deg, var(--green-700) 0%, #04471F 100%);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 16px 10px;
	font-size: 14.5px;
}

/* ---------- LayerSlider bullets → brand green ---------- */
.ls-photogallery .ls-bottom-slidebuttons a {
	border-radius: 10px;
	border: 2px solid var(--green-500) !important;
}

.ls-photogallery .ls-bottom-slidebuttons a.ls-nav-active {
	background-color: var(--green-500) !important;
}

/* ---------- Floating Action Button ---------- */
button.kc_fab_main_btn {
	width: 62px;
	height: 62px;
	font-size: 26px;
	background-image: linear-gradient(135deg, var(--green-700) 0%, var(--green-500) 100%) !important;
	box-shadow: 0 10px 26px rgba(11, 163, 76, 0.45);
	transition: all 0.25s ease;
}

button.kc_fab_main_btn::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 3px solid rgba(11, 163, 76, 0.6);
	animation: fabPulse 2.2s ease-out infinite;
	pointer-events: none;
}

@keyframes fabPulse {
	0%   { transform: scale(1); opacity: 1; }
	70%  { transform: scale(1.55); opacity: 0; }
	100% { transform: scale(1.55); opacity: 0; }
}

button.kc_fab_main_btn:hover {
	transform: scale(1.08);
	box-shadow: 0 14px 32px rgba(11, 163, 76, 0.55);
}

.kc_fab_main_btn:focus {
	transform: scale(1.05) rotate(0deg);
	-ms-transform: scale(1.05) rotate(0deg);
	-webkit-transform: scale(1.05) rotate(0deg);
}

.sub_fab_btns_wrapper button {
	width: 50px;
	height: 50px;
	font-size: 22px;
	margin-right: 21px;
	box-shadow: 0 8px 20px rgba(16, 24, 40, 0.28);
	transition: all 0.2s ease;
}

.sub_fab_btns_wrapper button:hover {
	transform: scale(1.12);
}

.sub_fab_btns_wrapper button[data-link-title]:hover:after {
	background: var(--ink-900);
	color: #FFF;
	font-family: 'Noto Sans Thai', sans-serif;
	font-size: 14px;
	font-weight: 500;
	padding: 7px 14px;
	border-radius: 40px;
	min-width: 0;
	white-space: nowrap;
	box-shadow: 0 6px 16px rgba(16, 24, 40, 0.25);
}

.kc_fab_overlay {
	background-color: rgba(16, 24, 40, 0.35);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

/* ---------- Page hero (หัวหน้า inner pages) ---------- */
.page-hero {
	background: linear-gradient(135deg, #04471F 0%, var(--green-600) 100%);
	padding: 46px 0 42px 0;
	text-align: center;
}

.page-hero .page-hero-crumb {
	font-size: 15px;
	margin-bottom: 10px !important;
	color: rgba(255, 255, 255, 0.75) !important;
}

.page-hero .page-hero-crumb a {
	color: #C9F3DA !important;
	text-decoration: none;
}

.page-hero .page-hero-crumb a:hover {
	color: #FFF !important;
	text-decoration: underline;
}

.page-hero .page-hero-title {
	color: #FFF;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
}

.page-hero .page-hero-sub {
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 17px;
	max-width: 760px;
	margin: 8px auto 0 auto !important;
}

@media (max-width: 767px) {
	.page-hero { padding: 34px 0 30px 0; }
	.page-hero .page-hero-title { font-size: 27px; }
}

/* ---------- Service cards (บริการของเรา) ---------- */
.service-card {
	background: #FFF;
	border: 1px solid var(--line-200);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: 30px 26px;
	height: 100%;
	transition: all 0.25s ease;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-hover);
	border-color: var(--green-500);
}

.service-card .service-icon {
	width: 60px;
	height: 60px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--green-700), var(--green-500));
	color: #FFF;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	box-shadow: 0 8px 18px rgba(11, 163, 76, 0.3);
}

.service-card .service-title {
	font-size: 21px;
	font-weight: 700;
	color: var(--ink-900);
	margin-bottom: 8px;
}

.service-card .service-desc {
	font-size: 16.5px;
	color: var(--ink-500) !important;
	margin: 0 !important;
}

/* ---------- Blog cards (บทความ) ---------- */
.blog-card {
	background: #FFF;
	border: 1px solid var(--line-200);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: all 0.25s ease;
}

.blog-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-hover);
}

.blog-card .blog-cover {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--bg-soft);
}

.blog-card .blog-body {
	padding: 20px 22px 22px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.blog-card .blog-date {
	font-size: 14px;
	color: var(--ink-500);
	margin-bottom: 6px;
}

.blog-card .blog-date i {
	color: var(--green-500);
	margin-right: 5px;
}

.blog-card .blog-title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--ink-900);
	margin-bottom: 8px;
	display: block;
	text-decoration: none;
}

a.blog-title:hover {
	color: var(--green-600);
}

.blog-card .blog-excerpt {
	font-size: 16px;
	color: var(--ink-500) !important;
	margin-bottom: 14px !important;
	flex: 1;
}

.blog-card .blog-more {
	color: var(--green-600) !important;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	align-self: flex-start;
}

.blog-card .blog-more:hover {
	color: var(--green-700) !important;
}

.blog-card .blog-more i {
	font-size: 13px;
	margin-left: 4px;
	transition: transform 0.2s ease;
}

.blog-card .blog-more:hover i {
	transform: translateX(4px);
}

/* ---------- Empty state ---------- */
.empty-state {
	text-align: center;
	padding: 60px 20px;
	background: var(--bg-soft);
	border: 1px dashed var(--line-200);
	border-radius: var(--radius-lg);
}

.empty-state i {
	font-size: 44px;
	color: var(--green-500);
	opacity: 0.5;
	margin-bottom: 14px;
}

.empty-state .empty-text {
	font-size: 18px;
	color: var(--ink-500) !important;
}

/* ---------- Contact page ---------- */
.contact-qr-card {
	background: #FFF;
	border: 1px solid var(--line-200);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: 24px;
	text-align: center;
	height: 100%;
}

.contact-qr-card .contact-qr-head {
	font-size: 18px;
	font-weight: 700;
	color: var(--ink-900);
	margin-bottom: 16px;
}

.contact-qr-card img {
	width: 100%;
	max-width: 240px;
	border-radius: var(--radius-md);
	border: 1px solid var(--line-200);
}

.contact-info-card {
	background: #FFF;
	border: 1px solid var(--line-200);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: 28px 30px;
	height: 100%;
}

.contact-intro {
	font-size: 16.5px;
	color: var(--ink-500) !important;
	margin-bottom: 20px !important;
	padding-bottom: 18px;
	border-bottom: 1px dashed var(--line-200);
}

.contact-list {
	list-style: none;
	margin: 0 0 22px 0;
	padding: 0;
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 16px;
	font-size: 16.5px;
	color: var(--ink-700);
}

.contact-list li i {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 13px;
	background: var(--green-100);
	color: var(--green-700);
	font-size: 17px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.contact-list li a {
	color: var(--ink-900) !important;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
}

.contact-list li a:hover {
	color: var(--green-600) !important;
}

.contact-list .contact-label {
	display: block;
	font-size: 14px;
	color: var(--ink-500);
	line-height: 1.4;
}

/* ---------- FAQ accordion ---------- */
.faq-wrap {
	max-width: 860px;
	margin: 0 auto 26px auto;
}

.faq-item {
	background: #FFF;
	border: 1px solid var(--line-200);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	margin-bottom: 12px;
	overflow: hidden;
}

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	background: none;
	border: 0;
	outline: none;
	padding: 18px 22px;
	font-family: 'Noto Sans Thai', sans-serif;
	font-size: 17.5px;
	font-weight: 600;
	color: var(--ink-900);
	text-align: left;
	cursor: pointer;
	transition: color 0.2s ease;
}

.faq-question:hover {
	color: var(--green-600);
}

.faq-question:not(.collapsed) {
	color: var(--green-600);
}

.faq-question i {
	flex: 0 0 auto;
	font-size: 14px;
	color: var(--green-500);
	transition: transform 0.25s ease;
}

.faq-question:not(.collapsed) i {
	transform: rotate(180deg);
}

.faq-answer {
	padding: 0 22px 18px 22px;
	font-size: 16.5px;
	color: var(--ink-500);
	line-height: 1.8;
	border-top: 1px dashed var(--line-200);
	padding-top: 14px;
	margin: 0 0 0 0;
}

/* ---------- Article detail (อ่านบทความ) ---------- */
.article-wrap {
	max-width: 860px;
	margin: 0 auto;
}

.article-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 22px;
	color: var(--ink-500);
	font-size: 15px;
	margin-bottom: 22px;
}

.article-meta i {
	color: var(--green-500);
	margin-right: 6px;
}

.article-cover {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	margin-bottom: 26px;
}

.article-content {
	font-size: 17.5px;
	line-height: 2 !important;
	color: var(--ink-700) !important;
}

/* รองรับเนื้อหาที่จัดรูปแบบด้วย Quill */
.article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.article-content iframe.ql-video {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 12px;
}

.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 {
	margin: 20px 0 8px 0;
	font-weight: 700;
}

.article-content blockquote {
	border-left: 4px solid var(--green-500);
	background: var(--bg-soft);
	padding: 12px 18px;
	border-radius: 0 12px 12px 0;
	margin: 14px 0;
}

.article-content pre {
	background: #0F1712;
	color: #C9F3DA;
	padding: 14px 18px;
	border-radius: 12px;
	overflow-x: auto;
	font-size: 15px;
}

.article-content ul, .article-content ol {
	padding-left: 26px;
	margin: 10px 0;
}

.article-content a {
	color: var(--green-600);
	text-decoration: underline;
}

.article-content .ql-align-center { text-align: center; }
.article-content .ql-align-right { text-align: right; }
.article-content .ql-align-justify { text-align: justify; }
.article-content .ql-indent-1 { padding-left: 3em; }
.article-content .ql-indent-2 { padding-left: 6em; }
.article-content .ql-indent-3 { padding-left: 9em; }
.article-content .ql-indent-4 { padding-left: 12em; }
.article-content .ql-size-small { font-size: 0.75em; }
.article-content .ql-size-large { font-size: 1.4em; }
.article-content .ql-size-huge { font-size: 1.9em; }

.article-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--green-600) !important;
	font-weight: 600;
	text-decoration: none;
	margin-top: 26px;
}

.article-back:hover {
	color: var(--green-700) !important;
	text-decoration: none;
}
