/* ==========================================================
   Astra Lý Sơn — giao diện daolysonquangngai.com
   ========================================================== */

:root {
	--ls-sand: #F3F0E8;
	--ls-ink: #1A262A;
	--ls-night: #13201F;
	--ls-teal: #0B5E68;
	--ls-tint: #DDEDEB;
	--ls-accent: #B5482F;
	--ls-line: #E2DCCF;
	--ls-muted: #4A585A;
	--ls-sans: 'Be Vietnam Pro', system-ui, sans-serif;
	--ls-serif: 'Lora', Georgia, serif;
}

/* ---------- Toàn trang (ngoài trang) ---------- */
body.ls-site,
body.ls-site .site-content,
body.ls-site.ast-plain-container,
body.ls-site .ast-plain-container {
	background-color: var(--ls-sand);
}

body.ls-site,
body.ls-site button,
body.ls-site input,
body.ls-site select,
body.ls-site textarea {
	font-family: var(--ls-sans);
	color: var(--ls-ink);
}

body.ls-site a { color: var(--ls-teal); }
body.ls-site a:hover { color: #083F46; }

/* Header Astra */
body.ls-site .ast-primary-header-bar,
body.ls-site .main-header-bar,
body.ls-site .ast-mobile-header-wrap .ast-primary-header-bar {
	background-color: var(--ls-sand);
	border-bottom: 1px solid #DDD6C8;
}

body.ls-site .site-title a,
body.ls-site .site-title a:hover {
	font-family: var(--ls-serif);
	font-weight: 700;
	color: var(--ls-ink);
}

body.ls-site .main-header-menu .menu-link {
	color: var(--ls-ink);
	font-weight: 500;
}

body.ls-site .ast-header-button-1 .ast-custom-button,
body.ls-site .ast-builder-button-wrap .ast-custom-button {
	background-color: var(--ls-accent);
	border-color: var(--ls-accent);
	color: #FFFFFF;
	border-radius: 999px;
	font-weight: 600;
}

/* ---------- Thanh trên cùng ---------- */
.ls-topbar {
	background: var(--ls-night);
	color: #D9E3E0;
	font-size: 14px;
}

.ls-topbar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	justify-content: space-between;
	align-items: center;
}

body.ls-site .ls-topbar a {
	color: #FFFFFF;
	font-weight: 600;
	text-decoration: none;
}

/* ---------- Khung chung ---------- */
.ls-section {
	font-family: var(--ls-sans);
	color: var(--ls-ink);
	line-height: 1.6;
	padding: 80px 0;
	margin: 0;
}

.ls-section-tight { padding-top: 0; }

.ls-inner {
	max-width: 1200px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

.ls-section p { margin: 0 0 12px; }
.ls-section p:last-child { margin-bottom: 0; }

.ls-section h1.wp-block-heading,
.ls-section h2.wp-block-heading {
	font-family: var(--ls-serif);
	font-weight: 700;
	line-height: 1.15;
	color: inherit;
	margin: 0 0 16px;
}

.ls-section h1.wp-block-heading { font-size: clamp(38px, 5.5vw, 64px); line-height: 1.08; }
.ls-section h2.wp-block-heading { font-size: clamp(30px, 3.6vw, 40px); }
.ls-section h2.wp-block-heading.ls-h-sm { font-size: 30px; }

.ls-section h3.wp-block-heading {
	font-family: var(--ls-sans);
	font-weight: 700;
	font-size: 22px;
	line-height: 1.3;
	color: inherit;
	margin: 0 0 12px;
}

.ls-eyebrow {
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--ls-teal);
	margin-bottom: 8px !important;
}

.ls-muted { color: var(--ls-muted); }
.ls-small { font-size: 14px; color: #5A6A6C; }
.ls-head { margin-bottom: 36px; max-width: 100%; }
.ls-head > .wp-block-group { max-width: 640px; }

/* ---------- Nút ---------- */
.ls-section .wp-block-button .wp-block-button__link {
	background-color: var(--ls-accent);
	color: #FFFFFF;
	border: 1.5px solid var(--ls-accent);
	border-radius: 999px;
	font-weight: 600;
	font-size: 16px;
	padding: 12px 24px;
	min-height: 46px;
	line-height: 1.3;
	text-decoration: none;
}

.ls-section .wp-block-button.is-style-outline > .wp-block-button__link:not(.ls-x) {
	background-color: transparent;
	color: var(--ls-ink);
	border-color: var(--ls-teal);
}

.ls-section .wp-block-button.ls-btn-dark > .wp-block-button__link {
	background-color: var(--ls-night);
	border-color: var(--ls-night);
	color: #FFFFFF;
}

.ls-section .wp-block-button.ls-btn-light > .wp-block-button__link {
	background-color: #FFFFFF;
	border-color: #FFFFFF;
	color: var(--ls-night);
}

.ls-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none !important;
	box-sizing: border-box;
	line-height: 1.2;
}

body a.ls-btn.ls-btn-accent, body a.ls-btn.ls-btn-accent:hover { background: var(--ls-accent); color: #FFFFFF; }
body a.ls-btn.ls-btn-dark, body a.ls-btn.ls-btn-dark:hover { background: var(--ls-night); color: #FFFFFF; }
body a.ls-btn.ls-btn-light, body a.ls-btn.ls-btn-light:hover { background: #FFFFFF; color: var(--ls-night); }
body a.ls-btn.ls-btn-ghost, body a.ls-btn.ls-btn-ghost:hover { border: 2px solid #FFFFFF; color: #FFFFFF; }

/* ---------- Nền tối / nền xanh nhạt ---------- */
.ls-dark { background: var(--ls-night); color: #FFFFFF; }
.ls-dark .ls-eyebrow { color: #8FD3D1; }
.ls-dark .ls-lead { font-size: 18px; color: #C9D6D3; max-width: 520px; }
.ls-dark .wp-block-button.is-style-outline > .wp-block-button__link:not(.ls-x) {
	color: #FFFFFF;
	border-color: #8FD3D1;
}

.ls-tint { background: var(--ls-tint); }

/* ---------- Phần mở đầu ---------- */
.ls-hero { padding: 72px 0 88px; }
.ls-hero .wp-block-columns { gap: 48px; align-items: center; margin-bottom: 0; }

.ls-stats {
	gap: 32px !important;
	padding-top: 16px;
	margin-top: 24px;
	border-top: 1px solid #2E3E3D;
}

.ls-stats p { font-size: 14px; color: #A9BAB7; line-height: 1.4; margin: 0; }
.ls-stats strong { font-size: 26px; color: #FFFFFF; }

/* ---------- Khung ảnh tạm (thay bằng khối Ảnh) ---------- */
.ls-ph {
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	font-size: 14px;
	text-align: center;
}

.ls-ph p { margin: 0; }
.ls-ph-hero { min-height: 460px; border-radius: 20px; background: #24413F; color: #7FA6A2; }
.ls-ph-tall { min-height: 240px; }
.ls-ph-teal { background: #CFE0DD; color: #4D6C69; }
.ls-ph-sand { background: #D8D2C2; color: #6A6253; }
.ls-ph-green { background: #CBD8C4; color: #4F6347; }
.ls-ph-sky { background: #C6DCE3; color: #456470; }

/* Ảnh thật đặt trong thẻ */
.ls-card > .wp-block-image,
.ls-card > figure.wp-block-image { margin: 0; }
.ls-card > .wp-block-image img { width: 100%; height: 220px; object-fit: cover; display: block; }
.ls-hero .wp-block-image img { border-radius: 20px; width: 100%; height: auto; }

/* ---------- Thẻ ---------- */
.ls-card {
	background: #FFFFFF;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
}

.ls-card-pad { padding: 28px; border: 1px solid var(--ls-line); gap: 4px; }
.ls-card-body { padding: 20px 24px 24px; }
.ls-card-body p { color: var(--ls-muted); font-size: 15px; }

.ls-card-dark { background: var(--ls-night); color: #FFFFFF; border-color: var(--ls-night); }
.ls-card-dark li { color: #C9D6D3; }

.ls-badge {
	align-self: flex-start;
	background: var(--ls-tint);
	color: var(--ls-teal);
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 12px !important;
}

.ls-badge-accent { background: var(--ls-accent); color: #FFFFFF; }

.ls-card ul.wp-block-list {
	margin: 0 0 16px;
	padding-left: 20px;
	font-size: 15px;
	color: #3C4A4C;
}

.ls-price {
	margin-top: auto !important;
	padding-top: 16px;
	border-top: 1px solid #ECE6DA;
	align-items: center;
}

.ls-card-dark .ls-price { border-top-color: #2E3E3D; }
.ls-price p { font-size: 13px; color: #5A6A6C; line-height: 1.3; margin: 0; }
.ls-card-dark .ls-price p { color: #A9BAB7; }
.ls-price strong { font-size: 22px; color: var(--ls-ink); }
.ls-card-dark .ls-price strong { color: #FFFFFF; }

/* ---------- Banner trượt ngang (Điểm đến) ---------- */
.ls-slider {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-left: 0;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.ls-slider::-webkit-scrollbar { display: none; }

.ls-slider > .ls-card {
	flex: 0 0 72%;
	scroll-snap-align: start;
	position: relative;
	min-height: 420px;
	height: auto;
	margin: 0 !important;
}

.ls-slider > .ls-card > .ls-ph,
.ls-slider > .ls-card > .wp-block-image,
.ls-slider > .ls-card > .wp-block-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	min-height: 0;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
}

.ls-slider > .ls-card > .ls-ph { align-items: flex-start; padding-top: 32px; }

.ls-slider > .ls-card > .ls-card-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 72px 32px 28px;
	background: linear-gradient(to top, rgba(19, 32, 31, 0.88), rgba(19, 32, 31, 0));
	color: #FFFFFF;
}

.ls-slider > .ls-card > .ls-card-body h3.wp-block-heading { font-size: 28px; color: #FFFFFF; margin-bottom: 6px; }
.ls-slider > .ls-card > .ls-card-body p { color: #E3ECEA; font-size: 16px; max-width: 520px; }

.ls-slider-nav {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 16px;
}

.ls-slider-btn {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid #CFC8BA;
	background: #FFFFFF;
	color: var(--ls-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
}

.ls-slider-btn:hover,
.ls-slider-btn:focus-visible { background: var(--ls-night); border-color: var(--ls-night); color: #FFFFFF; }

/* Banner tour & tuyến đường: nhiều chữ hơn nên cao hơn */
.ls-slider-tours > .ls-card { min-height: 480px; }
.ls-slider-routes > .ls-card { min-height: 520px; }

.ls-slider-tours > .ls-card > .ls-card-body,
.ls-slider-routes > .ls-card > .ls-card-body {
	padding-top: 96px;
	background: linear-gradient(to top, rgba(19, 32, 31, 0.92) 60%, rgba(19, 32, 31, 0));
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ls-slider .ls-card-body ul.wp-block-list { color: #E3ECEA; margin-bottom: 8px; }
.ls-slider .ls-card-body ul.wp-block-list li { color: #E3ECEA; }

.ls-slider .ls-card-body ol.ls-steps { gap: 10px; margin: 4px 0 8px; }
.ls-slider .ls-card-body ol.ls-steps li { color: #C9D6D3; padding-left: 44px; min-height: 30px; font-size: 15px; }
.ls-slider .ls-card-body ol.ls-steps li strong { color: #FFFFFF; }
.ls-slider .ls-card-body ol.ls-steps li::before { width: 30px; height: 30px; font-size: 14px; background: #8FD3D1; color: var(--ls-night); }

.ls-slider .ls-card-body .ls-price {
	margin-top: 8px !important;
	border-top-color: rgba(255, 255, 255, 0.18);
}
.ls-slider > .ls-card > .ls-card-body .ls-price p { font-size: 13px; color: #A9BAB7; }
.ls-slider > .ls-card > .ls-card-body .ls-price strong { color: #FFFFFF; font-size: 22px; }

@media (max-width: 921px) {
	.ls-slider > .ls-card { flex-basis: 86%; min-height: 320px; }
	.ls-slider-tours > .ls-card { min-height: 460px; }
	.ls-slider-routes > .ls-card { min-height: 560px; }
	.ls-slider > .ls-card > .ls-card-body { padding: 56px 20px 20px; }
	.ls-slider > .ls-card > .ls-card-body h3.wp-block-heading { font-size: 22px; }
	.ls-slider-nav { display: none; }
}

/* Chip địa danh */
.ls-chips { gap: 10px !important; margin-top: 24px; }
.ls-chip {
	background: #E5DFD2;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 14px;
	margin: 0 !important;
}

/* ---------- Các bước đánh số ---------- */
ol.ls-steps {
	list-style: none;
	counter-reset: ls-step;
	margin: 8px 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

ol.ls-steps li {
	counter-increment: ls-step;
	position: relative;
	padding-left: 54px;
	min-height: 40px;
	color: #3C4A4C;
}

ol.ls-steps li strong { color: var(--ls-ink); }

ol.ls-steps li::before {
	content: counter(ls-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--ls-teal);
	color: #FFFFFF;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Lịch tàu ---------- */
.ls-tint .wp-block-columns { gap: 48px; margin-bottom: 0; }

.ls-table { margin: 0 0 12px; }
.ls-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ls-table th,
.ls-table td {
	border: 0;
	border-bottom: 1px solid #ECE6DA;
	padding: 12px 8px 12px 0;
	text-align: left;
}
.ls-table th { color: #5A6A6C; font-size: 13px; font-weight: 600; }
.ls-table tr:last-child td { border-bottom: 0; }

.ls-notice {
	background: #FBEDE8;
	border: 1px solid #E9B9A9;
	color: #7A2E1C;
	border-radius: 12px;
	padding: 12px 16px;
	margin: 0 0 16px;
	font-size: 15px;
}

/* ---------- Form đặt chỗ ---------- */
.ls-booking { padding: 40px 0 0; }

.ls-form-card {
	background: #FFFFFF;
	border-radius: 18px;
	padding: 28px;
	box-shadow: 0 12px 32px rgba(19, 32, 31, 0.12);
}

.ls-form-card h3.wp-block-heading { margin-bottom: 4px; }
.ls-form-card > p { color: var(--ls-muted); }

/* WPForms trong khung đặt chỗ: xếp các ô thành hàng ngang trên máy tính */
.ls-wpforms div.wpforms-container-full { margin: 16px 0 0; }
.ls-wpforms .wpforms-field-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 0 16px;
}
@media (min-width: 922px) {
	.ls-wpforms .wpforms-field-container { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.ls-wpforms .wpforms-field { padding: 8px 0 !important; }
.ls-wpforms .wpforms-field input,
.ls-wpforms .wpforms-field select,
.ls-wpforms .wpforms-field textarea { width: 100% !important; max-width: 100% !important; }

/* Hàng 2 thẻ Lưu trú & Đặc sản không chừa cột trống */
.is-layout-grid:has(> #luu-tru) { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)) !important; }
.ls-wpforms .wpforms-field-textarea { grid-column: 1 / -1; }
.ls-wpforms input,
.ls-wpforms select,
.ls-wpforms textarea {
	border-radius: 10px !important;
	border-color: #CFC8BA !important;
	min-height: 46px;
	font-family: var(--ls-sans) !important;
}
.ls-wpforms button[type="submit"],
.ls-wpforms .wpforms-submit {
	background: var(--ls-accent) !important;
	border-color: var(--ls-accent) !important;
	color: #FFFFFF !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	min-height: 46px;
	padding: 12px 28px !important;
}

.ls-form-fallback { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 16px; }
.ls-form-fallback p { margin: 0; }
.ls-admin-note { margin-top: 12px; font-size: 13px; color: #8A5A00; }

/* ---------- Hỏi đáp ---------- */
.ls-faq {
	background: #FFFFFF;
	border-radius: 14px;
	padding: 18px 22px;
	margin: 0 0 12px;
}
.ls-faq summary { font-weight: 600; font-size: 17px; cursor: pointer; }
.ls-faq p { margin: 10px 0 0 !important; color: var(--ls-muted); }
#cam-nang .wp-block-columns { gap: 48px; }

/* ---------- Khung kêu gọi ---------- */
.ls-cta {
	background: var(--ls-accent);
	color: #FFFFFF;
	border-radius: 24px;
	padding: 48px;
	gap: 24px !important;
	align-items: center;
}
.ls-cta h2.wp-block-heading { font-size: 36px; margin-bottom: 8px; }
.ls-cta p { font-size: 17px; opacity: 0.92; }
.ls-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.ls-footer { background: var(--ls-night); color: #C9D6D3; font-size: 15px; }
.ls-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 24px 32px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
}
.ls-footer__col { display: flex; flex-direction: column; gap: 8px; }
.ls-footer__brand { font-family: var(--ls-serif); font-weight: 700; font-size: 22px; color: #FFFFFF; }
.ls-footer strong { color: #FFFFFF; }
body.ls-site .ls-footer a { color: #C9D6D3; text-decoration: none; }
body.ls-site .ls-footer a:hover { color: #FFFFFF; }

/* Dòng bản quyền của Astra nằm ngay dưới */
body.ls-site .site-footer,
body.ls-site .site-below-footer-wrap,
body.ls-site .ast-small-footer {
	background-color: var(--ls-night);
	color: #8FA19E;
	border-top: 1px solid #2E3E3D;
}
body.ls-site .site-below-footer-wrap a { color: #C9D6D3; }

/* ---------- Thanh liên hệ nổi (di động) ---------- */
.ls-mobile-bar { display: none; }

@media (max-width: 921px) {
	.ls-topbar { display: none; }

	.ls-mobile-bar {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		background: #FFFFFF;
		border-top: 1px solid #DDD6C8;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		box-shadow: 0 -6px 20px rgba(19, 32, 31, 0.10);
	}

	body.ls-site { padding-bottom: 72px; }

	.ls-section { padding: 56px 0; }
	.ls-section-tight { padding-top: 0; }
	.ls-hero { padding: 48px 0 56px; }
	.ls-booking { padding-top: 32px; }
	.ls-ph-hero { min-height: 280px; }
	.ls-cta { padding: 32px 24px; }
	.ls-cta h2.wp-block-heading { font-size: 28px; }
	.ls-inner { padding-left: 16px; padding-right: 16px; }
}
