:root {
	--qsbg-green-950: #102d22;
	--qsbg-green-900: #173b2c;
	--qsbg-green-700: #28633f;
	--qsbg-green-500: #6e9c4f;
	--qsbg-lime: #b8cf67;
	--qsbg-cream: #f7f8f2;
	--qsbg-ink: #17251f;
	--qsbg-muted: #69756e;
	--qsbg-line: #e5e9e3;
}

.qsbg-site,
.qsbg-site button,
.qsbg-site input {
	font-family: "IBM Plex Sans Thai", sans-serif;
	font-size: 17px;
}

.qsbg-header .header-body {
	min-height: 76px;
	background: #fff;
	box-shadow: none;
	border-bottom: 1px solid var(--qsbg-line);
}

.qsbg-header .header-container {
	width: 100%;
	max-width: 1800px;
	margin-right: auto;
	margin-left: auto;
	height: 76px;
}

.qsbg-hero > .container-fluid,
.qsbg-quick-links,
.qsbg-plants-section {
	width: 100%;
	max-width: 1800px;
	margin-right: auto;
	margin-left: auto;
}

.qsbg-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--qsbg-ink);
	text-decoration: none;
}

.qsbg-brand:hover {
	color: var(--qsbg-ink);
}

.qsbg-brand-group {
	display: inline-flex;
	align-items: center;
}

.qsbg-organization-mark {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.qsbg-brand-divider {
	width: 1px;
	height: 38px;
	margin: 0 16px;
	background: #bdc9bc;
}

.qsbg-domain-brand {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 2px;
	color: var(--qsbg-ink);
	text-decoration: none;
}

.qsbg-domain-brand:hover {
	color: var(--qsbg-green-500);
}

.qsbg-domain-brand strong {
	font-family: "Sarabun", "Noto Sans Thai", sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
}

.qsbg-domain-brand small {
	font-family: "Sarabun", Arial, sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.25;
	text-transform: none;
	letter-spacing: .015em;
	color: var(--qsbg-muted);
}

.qsbg-brand-logo {
	display: block;
	width: auto;
	height: 54px;
	object-fit: contain;
}

.qsbg-brand-mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--qsbg-green-700);
	border-radius: 50%;
	color: var(--qsbg-green-700);
	font-size: 17px;
}

.qsbg-brand-copy {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 1px;
	white-space: nowrap;
}

.qsbg-brand-copy strong {
	font-family: "Sarabun", "Noto Sans Thai", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
}

.qsbg-brand-copy small {
	display: block;
	font-size: 10px;
	line-height: 1.25;
	color: var(--qsbg-muted);
	letter-spacing: .02em;
}

.qsbg-header .header-nav-main nav > ul > li > a {
	padding: 28px 12px !important;
	font-size: 15px;
	font-weight: 500;
	color: var(--qsbg-ink) !important;
	letter-spacing: 0;
	text-transform: none;
}

.qsbg-header .header-nav-main nav > ul > li > a.active,
.qsbg-header .header-nav-main nav > ul > li:hover > a {
	color: var(--qsbg-green-700) !important;
}

.qsbg-header-tools {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-left: 16px;
}

.qsbg-icon-button {
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--qsbg-ink);
}

.qsbg-language {
	font-size: 14px;
	font-weight: 600;
	color: var(--qsbg-green-700);
	text-decoration: none;
}

.qsbg-language span {
	color: var(--qsbg-muted);
}

.qsbg-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 445px;
	padding: 72px 0 115px;
	background-color: var(--qsbg-green-900);
	background-image: url("../img/qsbg-hero/hero-flower-img2194.png");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.qsbg-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 29, 19, .58) 0%, rgba(9, 36, 23, .36) 43%, rgba(8, 29, 19, .08) 76%, rgba(8, 29, 19, .16) 100%);
}

.qsbg-eyebrow {
	margin: 0 0 12px;
	color: var(--qsbg-lime);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.qsbg-hero h1 {
	margin: 0 0 15px;
	color: #fff;
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(46px, 5vw, 68px);
	font-weight: 500;
	line-height: .9;
	letter-spacing: -.025em;
}

.qsbg-hero-lead {
	max-width: 610px;
	margin-bottom: 25px;
	color: rgba(255, 255, 255, .82);
	font-size: 18px;
	font-weight: 300;
	line-height: 1.7;
}

.qsbg-search-form {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	width: min(680px, 100%);
	padding: 7px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 18px 40px rgba(6, 24, 16, .22);
}

.qsbg-search-icon {
	padding: 0 7px 0 12px;
	color: #748078;
	font-size: 13px;
}

.qsbg-search-form input {
	min-width: 0;
	padding: 10px 40px 10px 5px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--qsbg-ink);
	font-size: 16px;
}

.qsbg-search-form input::-webkit-search-cancel-button {
	margin-right: 6px;
}

.qsbg-search-form input::placeholder {
	color: #8a938e;
}

.qsbg-search-form button {
	margin-left: 4px;
	padding: 11px 24px;
	border: 0;
	border-radius: 7px;
	background: var(--qsbg-green-700);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}

.qsbg-quick-links {
	position: relative;
	z-index: 2;
	margin-top: -55px;
}

.qsbg-quick-links > .row {
	background: #fff;
	border: 1px solid var(--qsbg-line);
	border-radius: 12px;
	box-shadow: 0 12px 35px rgba(22, 49, 37, .09);
	overflow: hidden;
}

.qsbg-quick-link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 108px;
	padding: 24px 25px;
	border-right: 1px solid var(--qsbg-line);
	color: var(--qsbg-ink);
	text-decoration: none;
	transition: background-color .2s ease;
}

.qsbg-quick-link:last-child {
	border-right: 0;
}

.qsbg-quick-link:hover {
	background: var(--qsbg-cream);
	color: var(--qsbg-ink);
}

.qsbg-quick-icon {
	display: grid;
	place-items: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #eff4e9;
	color: var(--qsbg-green-700);
}

.qsbg-quick-link strong,
.qsbg-quick-link small {
	display: block;
}

.qsbg-quick-link strong {
	margin-bottom: 3px;
	font-size: 16px;
	font-weight: 600;
}

.qsbg-quick-link small {
	color: var(--qsbg-muted);
	font-size: 14px;
	line-height: 1.5;
}

.qsbg-plants-section {
	padding-top: 55px;
	padding-bottom: 80px;
}

.qsbg-section-kicker {
	margin: 0 0 3px;
	color: var(--qsbg-green-700);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.qsbg-plants-section h2 {
	margin: 0;
	color: var(--qsbg-ink);
	font-family: "Cormorant Garamond", serif;
	font-size: 42px;
	font-weight: 600;
}

.qsbg-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.qsbg-section-description {
	margin: 3px 0 0;
	color: var(--qsbg-muted);
	font-size: 16px;
}

.qsbg-view-all {
	color: var(--qsbg-green-700);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.qsbg-view-all i,
.qsbg-card-link i {
	margin-left: 5px;
	font-size: 9px;
	transition: transform .2s ease;
}

.qsbg-view-all:hover,
.qsbg-card-link:hover {
	color: var(--qsbg-green-500);
}

.qsbg-view-all:hover i,
.qsbg-card-link:hover i {
	transform: translateX(3px);
}

.qsbg-plant-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--qsbg-line);
	border-radius: 11px;
	box-shadow: 0 5px 18px rgba(22, 49, 37, .04);
	transition: transform .25s ease, box-shadow .25s ease;
}

.qsbg-plant-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 34px rgba(22, 49, 37, .11);
}

.qsbg-plant-image {
	position: relative;
	display: block;
	height: 215px;
	overflow: hidden;
	background: var(--qsbg-cream);
}

.qsbg-plant-image::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 42%;
	background: linear-gradient(to top, rgba(8, 27, 18, .43), transparent);
	pointer-events: none;
}

.qsbg-plant-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.qsbg-plant-card:hover .qsbg-plant-image img {
	transform: scale(1.045);
}

.qsbg-status,
.qsbg-image-count {
	position: absolute;
	z-index: 1;
	top: 12px;
	border-radius: 20px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.qsbg-status {
	left: 12px;
	padding: 7px 9px;
}

.qsbg-status-native {
	background: #4f8739;
}

.qsbg-status-endemic {
	background: #d96b2b;
}

.qsbg-status-cultivated {
	background: #356f7a;
}

.qsbg-image-count {
	right: 12px;
	padding: 7px 9px;
	background: rgba(16, 45, 34, .76);
	backdrop-filter: blur(5px);
}

.qsbg-image-count i {
	margin-right: 3px;
}

.qsbg-plant-content {
	padding: 17px 18px 18px;
}

.qsbg-family {
	margin: 0 0 5px;
	color: var(--qsbg-green-700);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
}

.qsbg-plant-content h3 {
	margin: 0;
	font-family: "Cormorant Garamond", serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.15;
}

.qsbg-plant-content h3 a {
	color: var(--qsbg-ink);
	text-decoration: none;
}

.qsbg-common-name {
	min-height: 21px;
	margin: 3px 0 12px;
	color: var(--qsbg-muted);
	font-size: 16px;
}

.qsbg-plant-meta {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0 0 13px;
	border-bottom: 1px solid var(--qsbg-line);
	list-style: none;
}

.qsbg-plant-meta li {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--qsbg-muted);
	font-size: 14px;
}

.qsbg-plant-meta i {
	width: 11px;
	color: var(--qsbg-green-700);
	text-align: center;
}

.qsbg-card-link {
	display: inline-flex;
	align-items: center;
	margin-top: 13px;
	color: var(--qsbg-green-700);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 991px) {
	.qsbg-brand-divider {
		height: 30px;
		margin-right: 11px;
		margin-left: 11px;
	}

	.qsbg-domain-brand {
		gap: 1px;
	}

	.qsbg-domain-brand strong {
		font-size: 15px;
	}

	.qsbg-domain-brand small {
		font-size: 10.5px;
	}

	.qsbg-brand-logo {
		height: 46px;
	}

	.qsbg-brand-copy small,
	.qsbg-language {
		display: none;
	}

	.qsbg-header-tools {
		margin-left: 0;
	}

	.qsbg-hero {
		min-height: 420px;
		padding-top: 55px;
	}

	.qsbg-quick-link:nth-child(2) {
		border-right: 0;
	}

	.qsbg-quick-link:nth-child(-n+2) {
		border-bottom: 1px solid var(--qsbg-line);
	}
}

@media (max-width: 575px) {
	.qsbg-hero {
		min-height: 490px;
		padding: 55px 0 100px;
		background-position: 58% center;
	}

	.qsbg-hero h1 {
		font-size: 45px;
	}

	.qsbg-search-form {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.qsbg-search-form button {
		grid-column: 1 / -1;
		margin-left: 0;
		margin-top: 5px;
	}

	.qsbg-quick-links {
		margin-top: -65px;
	}

	.qsbg-quick-link {
		min-height: 104px;
		padding: 18px 15px;
		border-bottom: 1px solid var(--qsbg-line);
	}

	.qsbg-quick-icon {
		display: none;
	}

	.qsbg-section-heading {
		align-items: start;
		flex-direction: column;
	}

	.qsbg-plant-image {
		height: 250px;
	}
}
