/**
 * Layout Lam Sơn — header.php / footer.php / template-home-lamson.php
 *
 * Phạm vi áp dụng:
 *   body.lse-layout  — MỌI trang. Chỉ chứa biến màu và style header/footer.
 *   body.lse-home    — riêng trang chủ. Thêm nền, typography và các reset
 *                      mạnh tay (ul/p/a) cho phần nội dung trang chủ.
 *
 * Các reset cố ý KHÔNG bung ra toàn site để không phá vỡ nội dung bài viết,
 * trang sản phẩm... của theme gốc.
 */

/* ------------------------------------------------------------------
 * Biến màu — cần cho cả header/footer nên áp dụng mọi trang
 * --------------------------------------------------------------- */
body.lse-layout {
	--lse-green: #289c28;
	--lse-green-dark: #3d8b41;
	--lse-blue: #1e5fae;
	--lse-blue-light: #2f80ed;
	--lse-orange: #f0a01e;
	--lse-red: #d32739;
	--lse-text: #26313d;
	--lse-muted: #94a1af;
	--lse-line: #eceff2;
	--lse-radius: 6px;
	--lse-container: 1320px;

	margin: 0;
}

/* Header/footer giữ đúng typography riêng, không phụ thuộc font của theme. */
.lse-header,
.lse-footer {
	color: var(--lse-text);
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------------
 * Nền & typography — chỉ trang chủ
 * --------------------------------------------------------------- */
body.lse-home {
	background: #f4f5f7;
	color: var(--lse-text);
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body.lse-home *,
body.lse-home *::before,
body.lse-home *::after,
.lse-header *,
.lse-header *::before,
.lse-header *::after,
.lse-footer *,
.lse-footer *::before,
.lse-footer *::after {
	box-sizing: border-box;
}

body.lse-home img,
.lse-header img,
.lse-footer img {
	max-width: 100%;
	height: auto;
}

body.lse-home a,
.lse-header a,
.lse-footer a {
	text-decoration: none;
	color: inherit;
	transition: color .2s ease, background-color .2s ease;
}

body.lse-home ul,
.lse-header ul,
.lse-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.lse-home p,
.lse-header p,
.lse-footer p {
	margin: 0;
}

body.lse-home .screen-reader-text,
.lse-header .screen-reader-text,
.lse-footer .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.lse-container {
	width: 100%;
	max-width: var(--lse-container);
	margin: 0 auto;
	padding: 0 16px;
}

/* ------------------------------------------------------------------
 * Header — logo + banner thương hiệu
 * --------------------------------------------------------------- */
.lse-header__top {
	background: #fff;
	padding: 16px 0 14px;
}

.lse-header__top-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}

/* File logo PNG có sẵn khoảng trắng trên/dưới nên bù lại bằng margin âm. */
body .lse-header .lse-logo img {
	display: block;
	width: auto;
	height: 200px;
	max-width: none;
	margin: -18px 0 -52px;
}

.lse-brand {
	text-align: center;
}

/* Ruy băng */
.lse-ribbon {
	display: block;
	width: -moz-fit-content;
	width: fit-content;
	margin: 0 auto;
	background: #fff;
	padding: 3px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 50%, 100% 100%, 0 100%, 22px 50%);
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .18));
}

.lse-ribbon__inner {
	clip-path: polygon(0 0, 100% 0, calc(100% - 21px) 50%, 100% 100%, 0 100%, 21px 50%);
	color: #fff;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .5px;
	white-space: nowrap;
}

.lse-ribbon--main .lse-ribbon__inner {
	background: linear-gradient(90deg, #3b8ede 0%, #1857a8 60%, #0f4c9c 100%);
	padding: 6px 52px;
	font-size: 34px;
	line-height: 1.25;
}

.lse-ribbon--sub {
	margin-top: 2px;
}

.lse-ribbon--sub .lse-ribbon__inner {
	background: linear-gradient(90deg, #e8342e 0%, #c4171b 60%, #ab0f13 100%);
	padding: 5px 40px;
	font-size: 19px;
	line-height: 1.3;
}

.lse-brand__slogan {
	margin-top: 8px;
	font-style: italic;
	font-size: 15px;
	color: #3d4b5a;
}

.lse-brand__contact {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 56px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.lse-brand__contact li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 15px;
	color: #1f3a63;
}

.lse-brand__contact a:hover {
	color: var(--lse-blue-light);
}

.lse-brand__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: var(--lse-blue-light);
}

.lse-brand__ico svg {
	width: 100%;
	height: 100%;
	stroke-width: 3;
}

/* ------------------------------------------------------------------
 * Thanh menu xanh lá
 * --------------------------------------------------------------- */
.lse-nav {
	background: var(--lse-green);
}

/*
 * Thanh menu dính lên đỉnh khi cuộn qua khối logo.
 * Class is-stuck do assets/js/home-lamson.js gắn; khối .lse-nav__spacer cũng do
 * JS chèn để giữ chỗ, tránh nội dung giật lên khi nav rời khỏi luồng.
 */
.lse-nav.is-stuck {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 999;
	box-shadow: 0 2px 10px rgba(16, 30, 54, .18);
	animation: lse-nav-drop .25s ease;
}

@keyframes lse-nav-drop {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: none;
	}
}

/* Chừa chỗ cho thanh admin của WordPress (chỉ fixed từ 783px trở lên). */
@media screen and (min-width: 783px) {
	body.admin-bar .lse-nav.is-stuck {
		top: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lse-nav.is-stuck {
		animation: none;
	}
}

.lse-nav__bar {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
}

.lse-nav__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.lse-nav__list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.lse-nav__list a {
	display: block;
	padding: 17px 22px;
	color: #fff !important;
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
}

.lse-nav__list a:hover {
	background: rgba(0, 0, 0, .12);
}

.lse-nav__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-left: 8px;
}

.lse-nav__btn {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 5px;
	color: #fff !important;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
}

.lse-nav__btn--login {
	background: #2b7de9;
}

.lse-nav__btn--login:hover {
	background: #1f68c9;
	color: #fff !important;
}

.lse-nav__btn--register {
	background: var(--lse-orange);
}

.lse-nav__btn--register:hover {
	background: #d98a10;
	color: #fff !important;
}

/* Nút hiện khi user đã đăng nhập */
.lse-nav__btn--account {
	background: #2b7de9;
}

.lse-nav__btn--account:hover {
	background: #1f68c9;
	color: #fff !important;
}

.lse-nav__toggle {
	display: none;
	align-items: center;
	gap: 8px;
	margin: 0 auto 0 0;
	padding: 12px 4px;
	border: 0;
	background: none;
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
}

.lse-nav__toggle svg {
	width: 24px;
	height: 24px;
}

/* ------------------------------------------------------------------
 * Khu vực nội dung
 * --------------------------------------------------------------- */
/* Chỉ trang chủ mới cần khoảng đệm này; trang khác giữ nguyên spacing của theme. */
body.lse-home .lse-main {
	padding: 22px 0 60px;
}

.lse-hero {
	display: grid;
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
}

/* Chưa có danh mục nào -> slider chiếm trọn chiều ngang. */
.lse-hero--full {
	grid-template-columns: minmax(0, 1fr);
}

/* Sidebar danh mục */
.lse-cats {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--lse-radius);
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(16, 30, 54, .08);
}

.lse-cats__head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 18px;
	background: var(--lse-green);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}

.lse-cats__head-ico {
	display: inline-flex;
	width: 18px;
	height: 18px;
}

.lse-cats__head-ico svg {
	width: 100%;
	height: 100%;
	stroke-width: 3;
}

/*
 * Giới hạn chiều cao danh sách danh mục cho khớp chiều cao slider bên cạnh;
 * nhiều term hơn thì cuộn trong khung, không đẩy cao cả hàng.
 * Đổi --lse-cats-max nếu muốn khung cao/thấp hơn.
 */
.lse-cats__list {
	flex: 1 1 auto;
	min-height: 0;
	max-height: var(--lse-cats-max, 333px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: #cfd6de transparent;
}

.lse-cats__list::-webkit-scrollbar {
	width: 6px;
}

.lse-cats__list::-webkit-scrollbar-track {
	background: transparent;
}

.lse-cats__list::-webkit-scrollbar-thumb {
	border-radius: 3px;
	background: #cfd6de;
}

.lse-cats__list::-webkit-scrollbar-thumb:hover {
	background: #b3bcc7;
}

.lse-cats__list li + li {
	border-top: 1px solid var(--lse-line);
}

.lse-cats__list a {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 13px 14px;
	color: #1f2d3d;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.lse-cats__list a:hover {
	background: #f3faf3;
	color: var(--lse-green-dark);
}

.lse-cats__ico {
	display: inline-flex;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	color: var(--lse-muted);
}

.lse-cats__ico svg,
.lse-cats__arrow svg {
	width: 100%;
	height: 100%;
	stroke-width: 2.6;
}

.lse-cats__list a:hover .lse-cats__ico {
	color: #2f80ed;
}

.lse-cats__label {
	flex: 1;
	min-width: 0;
}

.lse-cats__arrow {
	display: inline-flex;
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	color: #b6bfc9;
}

/* Slider */
.lse-slider {
	position: relative;
	border-radius: var(--lse-radius);
	overflow: hidden;
	background: linear-gradient(120deg, #123f86, #1e5fae 55%, #0f3268);
	box-shadow: 0 1px 3px rgba(16, 30, 54, .08);
}

.lse-slider__viewport {
	overflow: hidden;
}

.lse-slider__track {
	display: flex;
	transition: transform .5s ease;
	will-change: transform;
}

.lse-slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 100%;
	aspect-ratio: 1205 / 493;
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.lse-slide__link {
	position: absolute;
	inset: 0;
}

.lse-slider__dots {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 2;
}

.lse-dot {
	width: 26px;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: rgba(255, 255, 255, .45);
	cursor: pointer;
	transition: background-color .2s ease;
}

.lse-dot.is-active {
	background: #fff;
}

/* ------------------------------------------------------------------
 * Dải 4 điểm nổi bật
 * --------------------------------------------------------------- */
.lse-features {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 26px;
	padding: 36px 24px;
	border-radius: 10px;
	overflow: hidden;
	background: url(../img/home-lamson/sbg.b28c4917.png) no-repeat center center / cover;
}

.lse-features::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .12) 0 90px, transparent 91px),
		radial-gradient(circle at 78% 85%, rgba(255, 255, 255, .10) 0 130px, transparent 131px),
		radial-gradient(circle at 95% 10%, rgba(255, 255, 255, .08) 0 70px, transparent 71px);
	pointer-events: none;
}

.lse-feature {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
	color: #fff;
}

.lse-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border: 2px solid var(--lse-red);
	border-radius: 50%;
	color: var(--lse-red);
}

.lse-feature__icon svg {
	width: 44px;
	height: 44px;
}

.lse-feature__text {
	max-width: 260px;
	font-size: 15px;
	line-height: 1.5;
	color: #fff !important;
}

/* ------------------------------------------------------------------
 * Responsive
 * --------------------------------------------------------------- */
@media (max-width: 1199px) {
	.lse-ribbon--main .lse-ribbon__inner {
		padding: 6px 40px;
		font-size: 28px;
	}

	.lse-ribbon--sub .lse-ribbon__inner {
		padding: 5px 30px;
		font-size: 16px;
	}

	.lse-nav__list a {
		padding: 17px 14px;
		font-size: 14px;
	}

	.lse-hero {
		grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	}
}

@media (max-width: 991px) {
	.lse-header__top-inner {
		gap: 24px;
	}

	body .lse-header .lse-logo img {
		height: 120px;
		max-width: 100%;
		margin: -10px 0 -32px;
	}

	.lse-nav__bar {
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.lse-nav__toggle {
		display: inline-flex;
	}

	.lse-nav__inner {
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding-bottom: 12px;
	}

	.lse-nav__inner.is-open {
		display: flex;
	}

	.lse-nav__list {
		flex-direction: column;
		align-items: stretch;
	}

	.lse-nav__list a {
		padding: 12px 4px;
		border-top: 1px solid rgba(255, 255, 255, .18);
	}

	.lse-nav__actions {
		padding: 12px 0 0;
	}

	.lse-hero {
		grid-template-columns: minmax(0, 1fr);
	}

	.lse-slider {
		order: -1;
	}

	.lse-features {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 16px;
	}
}

@media (max-width: 575px) {
	body .lse-header .lse-logo img {
		height: auto;
		width: 240px;
		margin: -14px 0 -44px;
	}

	.lse-brand {
		width: 100%;
	}

	.lse-ribbon {
		max-width: 100%;
	}

	.lse-ribbon--main .lse-ribbon__inner {
		padding: 6px 26px;
		font-size: 21px;
	}

	.lse-ribbon--sub .lse-ribbon__inner {
		padding: 5px 18px;
		font-size: 11px;
		white-space: normal;
	}

	.lse-brand__slogan {
		font-size: 13px;
	}

	.lse-brand__contact {
		gap: 8px;
		flex-direction: column;
	}

	.lse-features {
		grid-template-columns: minmax(0, 1fr);
		padding: 28px 18px;
	}
}

/* ------------------------------------------------------------------
 * Nút dùng chung
 * --------------------------------------------------------------- */
.lse-btn {
	display: inline-block;
	border: 0;
	border-radius: 6px;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	cursor: pointer;
}

.lse-btn--orange {
	margin-top: 18px;
	padding: 11px 44px;
	background: linear-gradient(180deg, #f7c14d 0%, #eb9d1f 100%);
	box-shadow: 0 1px 3px rgba(180, 120, 20, .35);
	color: #fff !important;
}

.lse-btn--orange:hover {
	background: linear-gradient(180deg, #f5b736, #dd8f12);
	color: #fff;
}

.lse-btn--blue {
	height: 42px;
	padding: 0 28px;
	background: #2b7de9;
}

.lse-btn--blue:hover {
	background: #1f68c9;
}

/* Nút theo màu riêng của từng ô (dùng biến --svc). */
.lse-btn--svc {
	margin-top: 16px;
	padding: 10px 22px;
	background: var(--svc, #2f6fdb);
	box-shadow: 0 4px 10px rgba(16, 30, 54, .14);
	color: #fff !important;
}

.lse-btn--svc::after {
	content: " →";
}

.lse-btn--svc:hover {
	filter: brightness(.93);
	color: #fff;
}

/* ------------------------------------------------------------------
 * 6 ô dịch vụ + thanh tìm kiếm
 * --------------------------------------------------------------- */
.lse-services {
	margin-top: 42px;
}

.lse-services__head {
	max-width: 760px;
	margin: 0 auto 32px;
	text-align: center;
}

.lse-services__heading {
	margin: 0 0 14px;
	color: #16324f;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.25;
}

.lse-services__heading-hl {
	color: #2f6fdb;
}

.lse-services__subtitle {
	margin: 0;
	color: #5b6875;
	font-size: 15px;
	line-height: 1.7;
}

.lse-services__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.lse-svc {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 22px 22px 20px;
	background: #fff;
	border: 1px solid #eef1f5;
	border-bottom: 4px solid var(--svc, #2f6fdb);
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(16, 30, 54, .06);
	transition: transform .18s ease, box-shadow .18s ease;
}

.lse-svc:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 26px rgba(16, 30, 54, .12);
}

.lse-svc__num {
	position: absolute;
	top: 16px;
	left: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--svc, #2f6fdb);
	box-shadow: 0 3px 8px rgba(16, 30, 54, .22);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.lse-svc__media {
	flex: 0 0 38%;
	margin-top: 34px;
	aspect-ratio: 1 / 1;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.lse-svc__body {
	flex: 1;
	min-width: 0;
}

.lse-svc__title {
	margin: 0 0 10px;
	color: #16324f;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
}

.lse-svc__rule {
	display: block;
	width: 30px;
	height: 3px;
	margin: 0 0 12px;
	border-radius: 2px;
	background: var(--svc, #2f6fdb);
}

.lse-svc__desc {
	color: #5b6875;
	font-size: 14px;
	line-height: 1.6;
}

.lse-search {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 28px;
	flex-wrap: wrap;
}

.lse-search__select {
	position: relative;
}

body.lse-home .lse-search select,
body.lse-home .lse-search input[type="search"] {
	height: 42px;
	border: 1px solid #d9dee3;
	border-radius: 6px;
	background: #fff;
	color: #444;
	font-family: inherit;
	font-size: 14px;
	box-shadow: none;
	outline: none;
}

body.lse-home .lse-search select {
	-webkit-appearance: none;
	appearance: none;
	width: 280px;
	padding: 0 36px 0 14px;
}

body.lse-home .lse-search input[type="search"] {
	width: 340px;
	padding: 0 14px;
}

.lse-search__caret {
	position: absolute;
	top: 50%;
	right: 12px;
	width: 11px;
	height: 11px;
	color: #8b97a3;
	transform: translateY(-50%) rotate(90deg);
	pointer-events: none;
}

.lse-search__caret svg {
	width: 100%;
	height: 100%;
	stroke-width: 3;
}

/* ------------------------------------------------------------------
 * Nhóm nội dung: tiêu đề — ghi chú — hàng carousel
 * --------------------------------------------------------------- */
.lse-collection {
	margin-top: 8px;
	/* Chừa chỗ cho thanh menu dính khi card 6 ô cuộn tới section (#home-...). */
	scroll-margin-top: 90px;
}

.lse-sec-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 48px 0 22px;
	color: #187a34;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.3;
	text-transform: uppercase;
	text-align: center;
}

.lse-sec-title::before,
.lse-sec-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #4a8f4a;
}

.lse-sec-title__ico {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
}

.lse-sec-title__ico svg {
	width: 100%;
	height: 100%;
	stroke-width: 3;
}

.lse-sec-title__text {
	flex: 0 1 auto;
	margin-left: -6px;
}

body.lse-home .lse-note {
	max-width: 840px;
	margin: 0 auto;
	padding: 14px 24px;
	border: 1px solid #f0a94c;
	border-radius: 8px;
	background: #fffdf0;
	color: #b03a2e;
	font-size: 15px;
	line-height: 1.6;
	text-align: center;
}

.lse-stars {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 16px 0 20px;
	color: #f0932b;
}

.lse-stars svg {
	width: 20px;
	height: 20px;
}

.lse-row {
	margin-top: 22px;
	/* Chừa chỗ cho thanh menu dính khi cuộn tới bằng anchor (#sec-...). */
	scroll-margin-top: 90px;
}

.lse-row__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 18px;
	border-radius: 8px;
	background: #2f6b2f;
}

.lse-row__title {
	margin: 0;
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

.lse-row__more {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 6px;
	background: #fff;
	color: #2f6b2f;
	font-size: 14px;
	font-weight: 500;
}

.lse-row__more:hover {
	background: #eaf4ea;
	color: #24521f;
}

.lse-row__more svg {
	width: 13px;
	height: 13px;
	stroke-width: 3;
}

/* Carousel */
.lse-carousel {
	position: relative;
	margin-top: 16px;
}

.lse-carousel__track {
	display: flex;
	gap: 16px;
	padding: 4px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.lse-carousel__track::-webkit-scrollbar {
	display: none;
}

.lse-carousel__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 10px rgba(16, 30, 54, .22);
	color: #2f6b2f;
	cursor: pointer;
	transform: translateY(-50%);
}

.lse-carousel__nav[hidden] {
	display: none;
}

.lse-carousel__nav svg {
	width: 13px;
	height: 13px;
	stroke-width: 3.4;
}

.lse-carousel__nav--prev {
	left: -8px;
}

.lse-carousel__nav--next {
	right: -8px;
}

.lse-card {
	display: flex;
	flex: 0 0 calc((100% - 64px) / 5);
	flex-direction: column;
	overflow: hidden;
	border: 1.5px solid #4caf50;
	border-radius: 10px;
	background: #fff;
	scroll-snap-align: start;
	transition: box-shadow .2s ease, transform .2s ease;
}

.lse-card:hover {
	box-shadow: 0 6px 18px rgba(16, 30, 54, .14);
	transform: translateY(-2px);
}

.lse-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	background-color: #ececec;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.lse-card__title {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	padding: 12px 10px;
	color: #187a34;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
}

/* ------------------------------------------------------------------
 * Footer
 * --------------------------------------------------------------- */
.lse-footer {
	padding: 46px 0 42px;
	background: var(--lse-green);
	color: #fff;
}

.lse-footer__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.lse-footer__title {
	margin: 0 0 18px;
	max-width: 480px;
	font-size: 23px;
	font-weight: 400;
	line-height: 1.35;
	text-transform: uppercase;
	color: #fff !important;
}

.lse-footer__text {
	max-width: 520px;
	font-size: 14px;
	line-height: 1.85;
	color: #fff !important;
}

.lse-footer__list {
	font-size: 14px;
	line-height: 1.95;
	color: #fff !important;
}

.lse-footer__list a:hover {
	text-decoration: underline;
}

body .lse-footer .lse-footer__logo {
	height: 92px;
	width: auto;
	max-width: 100%;
	margin-top: 22px;
	padding: 8px 14px;
	border-radius: 8px;
	background: #fff;
}

/* ------------------------------------------------------------------
 * Responsive cho các block mới
 * --------------------------------------------------------------- */
@media (max-width: 1199px) {
	.lse-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lse-card {
		flex: 0 0 calc((100% - 48px) / 4);
	}

	.lse-sec-title {
		font-size: 22px;
	}
}

@media (max-width: 991px) {
	.lse-card {
		flex: 0 0 calc((100% - 32px) / 3);
	}

	.lse-row__title {
		font-size: 16px;
	}

	.lse-footer__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.lse-services__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.lse-card {
		flex: 0 0 calc((100% - 16px) / 2);
	}

	.lse-sec-title {
		font-size: 19px;
	}

	.lse-row__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	body.lse-home .lse-search select,
	body.lse-home .lse-search input[type="search"] {
		width: 100%;
	}

	.lse-search__select {
		width: 100%;
	}

	.lse-search {
		flex-direction: column;
		align-items: stretch;
	}
}

@media (max-width: 575px) {
	.lse-svc {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.lse-svc__media {
		flex: 0 0 auto;
		width: 140px;
	}

	.lse-svc__rule {
		margin-left: auto;
		margin-right: auto;
	}

	.lse-card {
		flex: 0 0 72%;
	}

	.lse-footer__title {
		font-size: 19px;
	}
}
