/*
Theme Name: Gettree
Theme URI: https://themesflat.co/html/gettree/
Author: ThemesFlat (ported)
Author URI: https://themesflat.com/
Description: Garden & Landscaping WordPress theme. Structured for long-term maintenance (assets/, inc/, template-parts/).
Version: 1.7.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gettree
Tags: gardening, landscaping, custom-menu, featured-images, theme-options, translation-ready, blog, custom-logo
*/

/* ============================================================
   Typography: Be Vietnam Pro (Vietnamese-optimized)
   Replaces Rubik/Jost while keeping geometric sans look.
   ============================================================ */

:root {
	--gettree-font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--gettree-scroll-thumb: #669e32;
	--gettree-scroll-thumb-hover: #4f7d28;
	--gettree-scroll-track: #e8f0df;
}

/* Custom scrollbar — brand green (Firefox + WebKit/Chromium) */
html {
	scrollbar-width: thin;
	scrollbar-color: var(--gettree-scroll-thumb) var(--gettree-scroll-track);
}

* {
	scrollbar-width: thin;
	scrollbar-color: var(--gettree-scroll-thumb) var(--gettree-scroll-track);
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-track {
	background: linear-gradient(180deg, #f3f8ec 0%, var(--gettree-scroll-track) 100%);
	border-radius: 999px;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #7cbc3d 0%, var(--gettree-scroll-thumb) 55%, var(--gettree-scroll-thumb-hover) 100%);
	border-radius: 999px;
	border: 2px solid #e8f0df;
	background-clip: padding-box;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #8aca4a 0%, var(--gettree-scroll-thumb-hover) 100%);
	border-color: #dce8d0;
}

::-webkit-scrollbar-corner {
	background: var(--gettree-scroll-track);
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea,
.boxed,
.btn,
.menu,
.section-title,
.section-subtitle,
.section-desc,
.section-heading-rubik-size20,
.section-heading-jost-size20,
.section-heading-jost-size22,
.section-heading-jost-size28,
.heading-jost-20px,
.heading-16px-rubik,
.heading-features,
.sub-title,
.title-slider,
.page-title-heading,
.page-title-content,
.tp-caption,
.flat-header-box,
.footer {
	font-family: var(--gettree-font) !important;
}

/* Keep Font Awesome icons working (button font override broke envelope, etc.) */
.fa,
.fas,
.far,
.fab,
.fa:before,
.fas:before,
.far:before,
.fab:before,
button .fa,
.subscribe-submit .fa {
	font-family: FontAwesome !important;
	font-weight: normal !important;
	font-style: normal !important;
}

/* Give Vietnamese diacritics breathing room at large sizes */
h1, h2, h3, h4, h5, h6,
.section-title,
.title-slider,
.page-title-heading {
	line-height: 1.35;
	letter-spacing: 0;
}

body,
.section-desc,
p {
	line-height: 1.7;
}

/* Nav labels with accents */
#mainnav .menu > li > a {
	font-family: var(--gettree-font) !important;
	font-weight: 500;
	letter-spacing: 0;
}

.btn,
.btn2 {
	font-family: var(--gettree-font) !important;
	font-weight: 600;
}

/* Footer company legal name — long ALL-CAPS line wraps cleanly */
.widgets-menu-2 .heading-menu2 {
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.45 !important;
	letter-spacing: 0 !important;
	text-transform: none;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

@media (max-width: 767px) {
	.widgets-menu-2 {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.widgets-menu-2 .heading-menu2 {
		font-size: 13px !important;
		line-height: 1.5 !important;
		max-width: 100%;
	}

	.list-footer .footer-item.padding-top-listfooter .widgets-menu-2 .heading-menu2 {
		font-size: 13px !important;
	}
}

/* About main photo: force perfect circle like Gettree demo */
.flat-about .about-post.bd-radius-50-image {
	position: relative;
}

.flat-about .about-post.bd-radius-50-image .main-post-about {
	display: block;
	width: 100%;
	max-width: 574px;
	aspect-ratio: 1 / 1;
	height: auto !important;
	object-fit: cover;
	object-position: center;
	border-radius: 50% !important;
	overflow: hidden;
}

.bd-radius-50-image img.main-post-about {
	border-radius: 50% !important;
}

/* About side image: square + rounded corners; more space for 1-line text */
.flat-about .about-desc {
	width: 58% !important;
	flex: 1 1 auto;
	min-width: 0;
}

.flat-about .image-desc {
	width: 38% !important;
	flex: 0 0 auto;
	padding-left: 28px;
	text-align: right;
	box-sizing: border-box;
}

.flat-about .image-desc .image,
.flat-about .image {
	display: inline-block;
	width: 200px !important;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	height: auto !important;
	object-fit: cover;
	object-position: center;
	border-radius: 12px !important;
	margin-right: 0 !important;
}

.flat-about .about-box-nd1 {
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
	min-height: 70px;
	align-items: flex-start;
}

.flat-about .about-box-nd1 .inner-box {
	padding-left: 18px !important;
	flex: 1;
	min-width: 0;
}

.flat-about .about-box-nd1 .section-heading-jost-size20,
.flat-about .about-box-nd1 .section-desc {
	white-space: nowrap;
}

@media (max-width: 991px) {
	.flat-about .about-box-nd1 .section-heading-jost-size20,
	.flat-about .about-box-nd1 .section-desc {
		white-space: normal;
	}

	.flat-about .image-desc {
		padding-left: 16px;
	}

	.flat-about .image-desc .image,
	.flat-about .image {
		width: 160px !important;
	}
}

/* Mobile: stack features + side image full-width like Gettree demo */
@media (max-width: 767px) {
	.flat-about .about-desc-box {
		display: flex !important;
		flex-direction: column;
		align-items: stretch;
		margin: 24px 0 30px !important;
	}

	.flat-about .about-desc,
	.flat-about .image-desc {
		width: 100% !important;
		padding-left: 0 !important;
		flex: none;
	}

	.flat-about .image-desc {
		margin: 24px 0 30px;
		text-align: center;
	}

	.flat-about .image-desc .image,
	.flat-about .image {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		aspect-ratio: 1 / 1;
		height: auto !important;
		object-fit: cover;
		object-position: center;
		border-radius: 12px !important;
		margin: 0 auto !important;
	}

	.flat-about .about-post.bd-radius-50-image {
		margin-left: auto;
		margin-right: auto;
		max-width: 420px;
	}

	.flat-about .circel-inside {
		right: 0 !important;
		max-width: 92%;
		height: auto;
	}
}

/* About 2nd (green block): align 01/02 columns like Gettree demo */
@media (min-width: 992px) {
	.flat-about-2nd .content-right {
		padding-right: 10% !important;
	}

	.flat-about-2nd .box {
		display: flex !important;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 36px;
		width: 100%;
	}

	.flat-about-2nd .content-right .about-box,
	.flat-about-2nd .about-box {
		width: 50% !important;
		display: flex !important;
		flex-direction: column;
		float: none !important;
	}

	.flat-about-2nd .about-box01,
	.flat-about-2nd .about-box02 {
		display: flex !important;
		align-items: center;
		width: 100%;
		min-height: 70px;
		margin-left: 0 !important;
	}

	.flat-about-2nd .icon-box01,
	.flat-about-2nd .icon-box02 {
		flex: 0 0 auto;
		line-height: 1 !important;
		margin-left: 0 !important;
	}

	.flat-about-2nd .section-heading-jost-size20.icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 56px;
		height: 56px;
		padding: 0 !important;
		border-radius: 50%;
		box-sizing: border-box;
	}

	.flat-about-2nd .content-box01,
	.flat-about-2nd .content-box02 {
		flex: 1 1 auto;
		min-width: 0;
		margin-left: 14px !important;
		padding-top: 0 !important;
	}

	.flat-about-2nd .content-box01 > a,
	.flat-about-2nd .content-box02 > a {
		display: block;
		white-space: nowrap;
		line-height: 1.3 !important;
		font-size: 18px !important;
	}

	.flat-about-2nd .content-box01 .section-desc,
	.flat-about-2nd .content-box02 .section-desc {
		margin-top: 4px !important;
		white-space: nowrap;
	}

	.flat-about-2nd .about-box-list,
	.flat-about-2nd .about-box-list2 {
		margin-top: 28px !important;
		margin-left: 0 !important;
		line-height: 41px !important;
	}

	.flat-about-2nd .list-box {
		padding-left: 0;
		margin: 0;
		list-style: none;
	}

	.flat-about-2nd .list-box li {
		margin: 0 !important;
		padding: 0;
		line-height: 41px;
	}

	.flat-about-2nd .list-box li:last-child {
		margin-top: 0 !important;
	}
}

@media (max-width: 991px) {
	.flat-about-2nd .content-box01 > a,
	.flat-about-2nd .content-box02 > a,
	.flat-about-2nd .content-box01 .section-desc,
	.flat-about-2nd .content-box02 .section-desc {
		white-space: normal;
	}
}

/* Footer: company menu + newsletter envelope icon */
.footer .widgets-menu-2 {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100%;
}

.footer .list-menu-2 {
	list-style: none !important;
	margin: 14px 0 0;
	padding: 0;
}

.footer .list-menu-2 li {
	list-style: none !important;
	display: block !important;
	margin: 0 0 22px !important;
	padding: 0 !important;
	color: #e1e1e1 !important;
	overflow: visible !important;
	clear: both;
}

.footer .widgets-menu-2 .heading-menu2 {
	display: block !important;
	position: static !important;
	float: none !important;
	clear: both;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.45 !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
}

.footer .widgets-menu-2 .company-meta {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	line-height: 1.6 !important;
	color: #cfd3d7 !important;
	font-family: var(--gettree-font) !important;
}

.footer .widgets-menu-2 .company-meta .fa {
	flex: 0 0 18px;
	width: 18px;
	margin: 2px 0 0 !important;
	padding: 0 !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	text-align: center;
	color: var(--primary-color) !important;
	font-family: FontAwesome !important;
}

.footer .widgets-menu-2 .company-meta span {
	flex: 1 1 auto;
	min-width: 0;
	display: block;
}

/* kill old date pseudo-icon that caused overlap/misalignment */
.footer .widgets-menu-2 .entry-date::before,
.footer .list-menu-2 .post-date {
	content: none !important;
	display: none !important;
}

.footer .widgets-menu-1 .list-menu-1 {
	list-style: square !important;
	padding-left: 18px;
	margin-top: 12px;
}

.footer .widgets-menu-1 .list-menu-1 li {
	color: #e1e1e1 !important;
	margin-bottom: 12px;
}

.footer .widgets-menu-1 .list-menu-1 a {
	color: #e1e1e1 !important;
	font-size: 15px;
	line-height: 1.5;
}

.footer .widgets-subcribes {
	margin-left: 0 !important;
}

.footer .widgets-subcribes .widgets-input-subcribes {
	position: relative;
}

/* Anchor button to the form/input, not the padded wrapper (was too high) */
.footer .widgets-subcribes .form-subcribe {
	position: relative;
}

.footer .widgets-subcribes .subscribe-submit {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(calc(-50% + 3px));
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--primary-color);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-family: inherit;
	z-index: 2;
}

.footer .widgets-subcribes .subscribe-submit .fa {
	font-family: FontAwesome !important;
	font-size: 18px !important;
	color: #fff !important;
	line-height: 1;
	padding: 0 !important;
	margin: 0 !important;
	position: static !important;
	background: none !important;
	border-radius: 0 !important;
}

.footer .widgets-subcribes .subscribe-submit:hover {
	opacity: 0.9;
}

.footer .widgets-subcribes .widgets-text-input {
	padding-right: 64px !important;
}

.logo-header img,
.logo-footer img {
	max-height: 36px;
	width: auto;
	height: auto;
	max-width: 180px;
	object-fit: contain;
	display: block;
}

@media (max-width: 767px) {
	.logo-header img,
	.logo-footer img {
		max-height: 40px;
		max-width: 160px;
	}
}

/* Vertically center logo in header (desktop + mobile, align with hamburger) */
#header .inner-header {
	display: flex !important;
	align-items: center;
	min-height: 100px;
}

#header .logo-header {
	line-height: normal !important;
	display: flex;
	align-items: center;
	height: 100px;
}

#header .logo-header a {
	display: flex;
	align-items: center;
	line-height: 0;
}

#header .logo-header img {
	margin: 0;
	vertical-align: middle;
}

@media (max-width: 991px) {
	/*
	 * Mobile header = Gettree demo (services/blog-detail):
	 * green .top-header (#348E38) + mint main bar (#e8f5e9)
	 * Ref: https://themesflat.co/html/gettree/services.html
	 */
	.top-header,
	.top-header1 {
		background-color: #348e38 !important;
		background-color: var(--primary-color, #348e38) !important;
		color: #fff !important;
		padding: 10px 12px !important;
		margin-bottom: 0 !important;
		text-align: center;
	}

	.top-header .top-header-inner,
	.top-header1 .top-header-inner {
		height: auto !important;
		line-height: 1.55 !important;
	}

	.top-header .top-bar-left,
	.top-header1 .top-bar-left {
		float: none !important;
		display: block !important;
		width: 100% !important;
		line-height: 1.55 !important;
		padding: 0 !important;
	}

	.top-header .top-location,
	.top-header1 .top-location,
	.top-header .top-mail,
	.top-header1 .top-mail,
	.top-header .top-mail a,
	.top-header1 .top-mail a {
		display: block;
		float: none !important;
		margin: 0 0 6px !important;
		padding: 0 !important;
		color: #fff !important;
		letter-spacing: 0;
	}

	.top-header .top-bar-right,
	.top-header1 .top-bar-right {
		float: none !important;
		display: flex !important;
		justify-content: center;
		width: 100% !important;
		padding: 4px 0 0 !important;
		line-height: 1 !important;
	}

	.top-header .widgets-nav-social,
	.top-header1 .widgets-nav-social {
		justify-content: center;
		padding-left: 0 !important;
		line-height: 1 !important;
		margin: 0 auto;
	}

	.top-header .fa,
	.top-header1 .fa {
		color: #fff !important;
		padding: 0 10px !important;
	}

	.top-header .fa:hover,
	.top-header1 .fa:hover,
	.top-header1 .top-bar-right .fa:hover {
		color: #e8f5e9 !important;
	}

	#header.header {
		position: relative;
		background-color: var(--primary-color3, #e8f5e9);
	}

	/* Full-width bar; hide empty desktop nav/search columns that steal width */
	#header .header-wrap-home1 {
		position: relative;
		display: block;
		min-height: 80px;
		height: auto !important;
		width: 100%;
		margin-left: 0 !important;
		margin-right: 0 !important;
		border-radius: 0 !important;
		background-color: var(--primary-color3, #e8f5e9) !important;
	}

	#header .header-wrap-home1 > .col-md-6,
	#header .header-wrap-home1 > .col-md-3:last-child {
		display: none !important;
	}

	#header .header-wrap-home1 > .col-md-3:first-child {
		width: 100% !important;
		max-width: 100%;
		float: none !important;
		position: relative;
		padding-left: 15px;
		padding-right: 15px;
	}

	#header .inner-header {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 80px;
		padding-left: 0 !important;
		padding-right: 0 !important;
		box-sizing: border-box;
	}

	#header .logo-header {
		height: 80px;
		flex: 0 1 auto;
		min-width: 0;
	}

	/*
	 * Hamburger: flex-pushed to the right, but MUST stay position:relative
	 * so ::before/::after bars are contained in the 26px box (static lets
	 * them stretch across the whole header).
	 */
	#header .btn-menu {
		position: relative !important;
		top: auto !important;
		right: auto !important;
		left: auto !important;
		transform: none !important;
		margin: 0 0 0 auto !important;
		float: none !important;
		display: block !important;
		flex-shrink: 0;
		align-self: center;
		width: 26px;
		height: 25px;
		z-index: 20;
	}

	#header .btn-menu:before,
	#header .btn-menu:after,
	#header .btn-menu span {
		width: 100%;
		max-width: 26px;
	}

	/* Mobile menu panel below header (JS appends #mainnav-mobi to #header) */
	#header #mainnav-mobi {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		z-index: 1000;
		width: 100%;
	}
}

/* Desktop: center nav + keep active underline near bottom of header */
@media (min-width: 992px) {
	#header .nav-wrap {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 100px;
		line-height: normal;
		padding-top: 0;
		box-sizing: border-box;
	}

	#header #mainnav .menu {
		display: flex;
		align-items: center;
		margin: 0;
		padding: 0;
		height: 100px;
	}

	#header #mainnav .menu > li {
		display: flex;
		align-items: center;
		height: 100%;
	}

	#header #mainnav .menu > li > a {
		position: relative;
		display: flex !important;
		align-items: center;
		height: 100px;
		line-height: 1.4 !important;
		padding-top: 0;
		padding-bottom: 0;
		box-sizing: border-box;
	}

	/* Push green underline down toward header bottom (demo-like) */
	#header #mainnav > ul > li > a::before {
		bottom: 18px !important;
	}

	#header .site-header-right {
		align-items: center;
		min-height: 100px;
		line-height: normal !important;
	}

	#header .header-inner {
		align-items: center;
		min-height: 100px;
	}
}

/* Hero title: keep readable on mobile (RevSlider inline sizes override) */
@media (max-width: 991px) {
	.page-title-home1 .tp-caption.text-two,
	.page-title-home1 .title-slider {
		font-size: 34px !important;
		line-height: 1.25 !important;
		letter-spacing: 0 !important;
	}
}

@media (max-width: 767px) {
	.page-title-home1 .tp-caption.text-one {
		top: 14% !important;
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%) !important;
		width: 90% !important;
		text-align: center !important;
	}

	.page-title-home1 .tp-caption.text-two,
	.page-title-home1 .title-slider {
		font-size: 24px !important;
		line-height: 1.3 !important;
		max-width: 92vw;
	}

	.page-title-home1 .tp-caption.text-two {
		top: 22% !important;
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%) !important;
		width: 90% !important;
		max-width: 92vw !important;
		white-space: normal !important;
		text-align: center !important;
	}

	.page-title-home1 .title-box,
	.page-title-home1 .title-slider {
		text-align: center !important;
	}

	/* Push CTAs clearly below the multi-line title */
	.page-title-home1 .tp-caption.btn-text {
		top: 58% !important;
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%) !important;
		width: auto !important;
		max-width: 92vw !important;
	}

	.page-title-home1 #rev-slider2 .button-box {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 12px !important;
		margin-top: 0 !important;
	}

	.page-title-home1 #rev-slider2 .button-box .button {
		margin: 0 !important;
	}

	.page-title-home1 #rev-slider2 .btn-left {
		margin-right: 0 !important;
		margin-bottom: 0 !important;
	}

	.page-title-home1 .tp-caption.image-slider,
	.page-title-home1 .img-slide {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
	}
}

@media (max-width: 480px) {
	.page-title-home1 .tp-caption.text-two,
	.page-title-home1 .title-slider {
		font-size: 22px !important;
		line-height: 1.35 !important;
	}

	.page-title-home1 .tp-caption.text-two {
		top: 20% !important;
	}

	.page-title-home1 .tp-caption.btn-text {
		top: 56% !important;
	}
}

/* Mobile hero YouTube play + lightbox */
.gettree-hero-play {
	display: none;
}

@media (max-width: 767px) {
	.page-title-home1 .inner-title-home1 {
		position: relative;
	}

	.gettree-hero-play {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		z-index: 30;
		width: 72px;
		height: 72px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: transparent;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.gettree-hero-play__core {
		position: relative;
		z-index: 2;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 64px;
		height: 64px;
		border-radius: 50%;
		color: #fff;
		background: linear-gradient(145deg, #7cbc3d 0%, #4f7d28 100%);
		box-shadow:
			0 10px 28px rgba(79, 125, 40, 0.35),
			inset 0 1px 0 rgba(255, 255, 255, 0.25);
		transition: transform 0.25s ease, box-shadow 0.25s ease;
	}

	.gettree-hero-play__core svg {
		margin-left: 3px;
	}

	.gettree-hero-play__ripple {
		position: absolute;
		inset: 0;
		border-radius: 50%;
		border: 2px solid rgba(102, 158, 50, 0.55);
		animation: gettree-play-pulse 2.2s ease-out infinite;
	}

	.gettree-hero-play__ripple--delay {
		animation-delay: 1.1s;
	}

	.gettree-hero-play:hover .gettree-hero-play__core,
	.gettree-hero-play:focus-visible .gettree-hero-play__core {
		transform: scale(1.06);
		box-shadow:
			0 14px 34px rgba(79, 125, 40, 0.45),
			inset 0 1px 0 rgba(255, 255, 255, 0.3);
	}

	.gettree-hero-play:focus-visible {
		outline: 2px solid #4f7d28;
		outline-offset: 4px;
	}

	/* Make room: title a bit higher, CTAs a bit lower */
	.page-title-home1 .tp-caption.text-two {
		top: 18% !important;
	}

	.page-title-home1 .tp-caption.btn-text {
		top: 66% !important;
	}
}

@media (max-width: 480px) {
	.gettree-hero-play {
		top: 49%;
		width: 66px;
		height: 66px;
	}

	.gettree-hero-play__core {
		width: 58px;
		height: 58px;
	}

	.page-title-home1 .tp-caption.btn-text {
		top: 64% !important;
	}
}

@keyframes gettree-play-pulse {
	0% {
		transform: scale(0.85);
		opacity: 0.75;
	}
	70% {
		transform: scale(1.55);
		opacity: 0;
	}
	100% {
		transform: scale(1.55);
		opacity: 0;
	}
}

.gettree-video-lightbox[hidden] {
	display: none !important;
}

.gettree-video-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.gettree-video-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 20, 10, 0.78);
	backdrop-filter: blur(2px);
}

.gettree-video-lightbox__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	border-radius: 12px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.gettree-video-lightbox__close {
	position: absolute;
	top: 8px;
	right: 10px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.gettree-video-lightbox__frame {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background: #000;
}

.gettree-video-lightbox__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

body.gettree-video-open {
	overflow: hidden;
}

/* Blog home cards from WP posts */
.flat-blog-home01 .blog-item {
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center top !important;
}

.flat-blog-standard .post-wrap .gettree-blog-article {
	margin-bottom: 50px;
}

.flat-blog-standard .post-wrap .image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}

.content-blog-detail .entry-content img {
	max-width: 100%;
	height: auto;
}

.content-blog-detail .entry-content p {
	margin-bottom: 1em;
	line-height: 1.7;
}

.themesflat-pagination {
	margin: 40px 0 20px;
}

.themesflat-pagination .page-numbers {
	display: inline-flex;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.themesflat-pagination .page-numbers a,
.themesflat-pagination .page-numbers span {
	display: inline-block;
	min-width: 40px;
	padding: 8px 12px;
	text-align: center;
	border: 1px solid #18ba60;
	border-radius: 4px;
	color: #18ba60;
	text-decoration: none;
}

.themesflat-pagination .page-numbers .current,
.themesflat-pagination .page-numbers a:hover {
	background: #18ba60;
	color: #fff;
}


/* Blog sidebar (Search / Category / Recent News) */
.gettree-sidebar .widgets-search,
.gettree-sidebar .widgets-category,
.gettree-sidebar .widget_lastest {
	margin-bottom: 10px;
}

.gettree-sidebar .widgets-input .search-field {
	width: 100%;
	border: 1px solid #ccc;
	background: #fff;
	box-sizing: border-box;
	padding: 18px 70px 18px 16px;
	font-size: 16px;
	line-height: 1.4;
	color: #222;
}

.gettree-sidebar .widgets-input .search-submit {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 58px;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: var(--primary-color, #18ba60);
	color: #fff;
	cursor: pointer;
}

.gettree-sidebar .widgets-input .search-submit::after {
	content: "\f002";
	font-family: FontAwesome;
	font-size: 18px;
	line-height: 1;
	color: #fff;
}

.gettree-sidebar .widgets-category .widgets-side-bar-title {
	padding-top: 36px;
}

.gettree-sidebar .widget_lastest .widgets-side-bar-title {
	padding: 30px 0 14px;
}

.gettree-sidebar .widget_lastest ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.gettree-sidebar .widget_lastest .thumb img {
	width: 75px;
	height: 70px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.gettree-sidebar .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Policy pages */
.flat-policy-page .gettree-policy-content {
	background: #fff;
	padding: 8px 8px 40px 0;
}

.flat-policy-page .entry-content {
	font-size: 16px;
	line-height: 1.75;
	color: #444;
}

.flat-policy-page .entry-content p {
	margin-bottom: 1.1em;
}

.flat-policy-page .entry-content h2,
.flat-policy-page .entry-content h3 {
	color: #191919;
	margin: 1.4em 0 0.6em;
	font-weight: 700;
}

.flat-policy-page .entry-content ul {
	margin: 0 0 1.2em 1.2em;
	list-style: disc;
}

.gettree-policy-nav .list-category a.active {
	color: var(--primary-color, #18ba60);
	font-weight: 600;
}

.footer .list-menu-1 .menu-item a {
	color: inherit;
}

/* Single post: Gettree presentation (fix overflow + bold body) */
.flat-blog-detail .col-md-8,
.flat-blog-detail .post-wrap,
.flat-blog-detail .content-blog-detail {
	max-width: 100%;
	overflow: hidden;
}

.gettree-single-post .gettree-single-featured {
	margin: 0 0 22px;
	overflow: hidden;
	border-radius: 8px;
}

.gettree-single-post .gettree-single-featured img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.gettree-single-post .content.mg-top-15 {
	margin-top: 15px;
	max-width: 100%;
}

.gettree-single-post .gettree-single-meta {
	margin: 0 0 12px;
}

.gettree-single-post .gettree-single-meta ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}

.gettree-single-post .gettree-single-meta li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gettree-single-post .gettree-single-meta .text-decs,
.gettree-single-post .gettree-single-meta a.text-decs {
	font-family: "Be Vietnam Pro", sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8a8a8a !important;
	padding: 0 !important;
	line-height: 1.4;
}

.gettree-single-post .gettree-single-meta .user::before,
.gettree-single-post .gettree-single-meta .date::before {
	color: var(--primary-color, #18ba60);
	padding-right: 6px;
}

.gettree-single-post .gettree-single-title.heading-content-box {
	font-family: "Be Vietnam Pro", sans-serif !important;
	font-size: 28px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	letter-spacing: -0.02em !important;
	color: var(--primary-color2, #0a4e1f) !important;
	margin: 8px 0 24px !important;
}

/* Body: regular weight like Gettree demo — NOT heading-content-box */
.gettree-single-post .gettree-single-content,
.gettree-single-post .gettree-single-content.heading-content-box {
	font-family: "Be Vietnam Pro", sans-serif !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.8 !important;
	color: #565872 !important;
	letter-spacing: 0 !important;
	padding-top: 0 !important;
}

.gettree-single-post .gettree-single-content p,
.gettree-single-post .gettree-single-content li,
.gettree-single-post .gettree-single-content td {
	font-weight: 400 !important;
	font-size: 16px !important;
	line-height: 1.8 !important;
	color: #565872;
}

.gettree-single-post .gettree-single-content p {
	margin: 0 0 1.15em;
}

.gettree-single-post .gettree-single-content strong,
.gettree-single-post .gettree-single-content b {
	font-weight: 600 !important;
}

.gettree-single-post .gettree-single-content h2,
.gettree-single-post .gettree-single-content h3,
.gettree-single-post .gettree-single-content h4 {
	font-family: "Be Vietnam Pro", sans-serif;
	font-weight: 700 !important;
	color: #191919 !important;
	line-height: 1.35;
	margin: 1.4em 0 0.55em;
	font-size: 22px;
}

.gettree-single-post .gettree-single-content h3 {
	font-size: 18px;
}

/* Kill inline width on captions/images that break the column */
.gettree-single-post .gettree-single-content img,
.gettree-single-post .gettree-single-content .wp-caption,
.gettree-single-post .gettree-single-content .wp-caption img,
.gettree-single-post .gettree-single-content figure,
.gettree-single-post .gettree-single-content figure img,
.gettree-single-post .gettree-single-content .aligncenter,
.gettree-single-post .gettree-single-content .alignnone,
.gettree-single-post .gettree-single-content .alignleft,
.gettree-single-post .gettree-single-content .alignright {
	max-width: 100% !important;
	height: auto !important;
	box-sizing: border-box;
}

.gettree-single-post .gettree-single-content .wp-caption,
.gettree-single-post .gettree-single-content figure {
	width: 100% !important;
	margin: 16px 0 !important;
}

.gettree-single-post .gettree-single-content .wp-caption-text,
.gettree-single-post .gettree-single-content figcaption {
	font-size: 13px !important;
	font-weight: 400 !important;
	color: #888;
	text-align: center;
	margin-top: 8px;
}

.gettree-single-post .gettree-single-content iframe,
.gettree-single-post .gettree-single-content video,
.gettree-single-post .gettree-single-content table {
	max-width: 100% !important;
}

.gettree-single-post .gettree-single-content ul,
.gettree-single-post .gettree-single-content ol {
	margin: 0 0 1.2em 1.25em;
}

.gettree-single-post .bottom-content {
	margin-top: 36px;
}

/* Sidebar recent news — prevent title/date overlap */
.gettree-sidebar .widget_lastest ul li {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	float: none !important;
	overflow: hidden;
}

.gettree-sidebar .widget_lastest .thumb {
	float: none !important;
	flex: 0 0 75px;
	width: 75px;
}

.gettree-sidebar .widget_lastest .thumb img {
	width: 75px !important;
	height: 70px !important;
	object-fit: cover;
	display: block;
	border-radius: 4px;
}

.gettree-sidebar .widget_lastest .text {
	float: none !important;
	overflow: hidden;
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 !important;
}

.gettree-sidebar .widget_lastest h3,
.gettree-sidebar .widget_lastest .title-thumb {
	font-size: 14px !important;
	line-height: 1.4 !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gettree-sidebar .widget_lastest .post-date,
.gettree-sidebar .widget_lastest .date {
	display: block;
	margin-top: 4px;
	padding-top: 0 !important;
	clear: both;
}

@media (max-width: 767px) {
	.gettree-single-post .gettree-single-title.heading-content-box {
		font-size: 22px !important;
	}
}


/* Footer Khám phá: compact + expand */
.gettree-explore-menu .gettree-explore-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-family: "Be Vietnam Pro", sans-serif;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	opacity: 0.9;
}

.gettree-explore-menu .gettree-explore-toggle:hover {
	opacity: 1;
	color: var(--primary-color, #18ba60);
}

.gettree-explore-menu .gettree-explore-toggle .fa {
	font-size: 16px;
	transition: transform 0.25s ease;
}

.gettree-explore-menu .gettree-explore-toggle[aria-expanded="true"] .fa {
	transform: rotate(180deg);
}

.gettree-explore-menu .gettree-explore-more {
	margin-top: 8px;
}

.gettree-explore-menu .gettree-explore-more[hidden] {
	display: none !important;
}

/* Footer top bar: email column — full address, no overflow clip */
.footer .footer-contact-info .email {
	padding-left: 6% !important;
	padding-right: 12px;
	box-sizing: border-box;
	min-width: 0;
	align-items: center;
	line-height: 1.35 !important;
}

.footer .footer-info-items {
	flex: 1 1 34%;
	min-width: 0;
	display: flex;
	align-items: center;
}

.footer .content-email {
	max-width: none !important;
	overflow: visible !important;
	padding: 0 8px 0 10px !important;
	min-width: 0;
	flex: 1;
}

.footer .content-email .heading-16px-rubik {
	line-height: 1.35 !important;
	white-space: normal;
	word-break: break-word;
	overflow-wrap: anywhere;
	font-size: 14px !important;
}

.footer .content-email a {
	display: inline;
	word-break: break-word;
}

/* Section titles (.section-title / section H2–H3): 44px desktop */
.section-title,
h1.section-title,
h2.section-title,
h3.section-title,
.section-title-box .section-title,
.flat-about .section-title,
.flat-about-2nd .section-title,
.flat-contact .section-title,
.flat-testimonials-home2 .section-title-box .section-title,
.flat-about-home2 .about-content-left .section-title,
.flat-work-process .section-title,
.work-process .section-title,
.about-2nd .section-title {
	font-size: 44px !important;
	line-height: 1.3 !important;
	letter-spacing: 0;
}

@media (max-width: 767px) {
	.section-title,
	h1.section-title,
	h2.section-title,
	h3.section-title,
	.section-title-box .section-title,
	.flat-about .section-title,
	.flat-about-2nd .section-title,
	.flat-contact .section-title,
	.flat-testimonials-home2 .section-title-box .section-title,
	.flat-about-home2 .about-content-left .section-title,
	.flat-work-process .section-title,
	.work-process .section-title,
	.about-2nd .section-title {
		font-size: 32px !important;
		line-height: 1.35 !important;
	}
}

/* Preloader failsafe: never keep a permanent blank white overlay */
.preloader {
	animation: gettree-preloader-auto-hide 0.01s linear 3s forwards;
}

@keyframes gettree-preloader-auto-hide {
	to {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}
}

/*
 * .top-header maps to demo Gettree style2 (green bar).
 * Keep home desktop transparent so hero overlay still works.
 */
@media (min-width: 992px) {
	.home .top-header.top-header1 {
		background-color: transparent !important;
	}
}

/* SEO: keep page banner H1 visually identical to former div */
h1.page-title-heading,
h1.title-slider {
	margin: 0;
	font-weight: inherit;
}

/*
 * Inner pages page-title underlap fix
 * Demo blog-detail uses header in normal flow (header-style2).
 * Home keeps absolute overlay (.flat-header-box) over the hero.
 * Ref: https://themesflat.co/html/gettree/blog-detail.html
 */
body:not(.home) .flat-header-box {
	position: relative;
	z-index: 100;
	left: auto;
	right: auto;
}

body:not(.home) #header .header-wrap-home1 {
	margin-left: 0 !important;
	margin-right: 0 !important;
	border-radius: 0;
	width: 100%;
}

body:not(.home) .page-title {
	position: relative;
	z-index: 1;
}

@media (max-width: 991px) {
	body:not(.home) .page-title .inner-title {
		height: auto;
		min-height: 240px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 36px 16px;
	}

	body:not(.home) .page-title .banner-title {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
		width: 100%;
		padding: 0 8px;
	}

	body:not(.home) .page-title-heading {
		font-size: 28px !important;
		line-height: 1.3 !important;
		padding: 0 8px;
	}

	body:not(.home) .page-title-content {
		line-height: 1.5 !important;
		margin-top: 8px;
	}
}

@media (max-width: 480px) {
	body:not(.home) .page-title .inner-title {
		min-height: 200px;
		padding: 28px 12px;
	}

	body:not(.home) .page-title-heading {
		font-size: 22px !important;
	}
}

/* Home long-form SEO about (above blog) */
.flat-seo-about {
	padding: 90px 0 40px;
	background:
		radial-gradient(ellipse at 12% 0%, rgba(102, 158, 50, 0.08), transparent 55%),
		linear-gradient(180deg, #f7faf4 0%, #ffffff 48%, #ffffff 100%);
}

.flat-seo-about .seo-about-heading {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

.seo-about-panel {
	position: relative;
	max-width: 920px;
	margin: 28px auto 0;
}

.seo-about-body {
	color: #3a4634;
	font-size: 16px;
	line-height: 1.75;
}

.seo-about-article > h2 {
	margin: 1.75em 0 0.65em;
	font-size: 26px;
	line-height: 1.35;
	color: #24301f;
}

.seo-about-article > h2:first-child {
	margin-top: 0.5em;
}

.seo-about-article p,
.seo-about-article li {
	margin: 0 0 1em;
}

.seo-about-article ul {
	padding-left: 1.25em;
	margin: 0 0 1.25em;
}

.seo-about-article a {
	color: #4f7d28;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.seo-about-article a:hover {
	color: #36571a;
}

.seo-about-panel.is-collapsed .seo-about-body {
	max-height: 420px;
	overflow: hidden;
}

.seo-about-panel.is-expanded .seo-about-body {
	max-height: none;
	overflow: visible;
}

.seo-about-fade {
	display: none;
	pointer-events: none;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 64px;
	height: 140px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 78%);
}

.seo-about-panel.is-collapsed .seo-about-fade {
	display: block;
}

.seo-about-actions {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	padding-top: 18px;
}

.seo-about-toggle .label-less {
	display: none;
}

.seo-about-panel.is-expanded .seo-about-toggle .label-more {
	display: none;
}

.seo-about-panel.is-expanded .seo-about-toggle .label-less {
	display: inline;
}

.seo-about-panel.is-expanded .seo-about-fade {
	display: none;
}

@media (max-width: 767px) {
	.flat-seo-about {
		padding: 56px 0 24px;
	}

	.seo-about-panel.is-collapsed .seo-about-body {
		max-height: 340px;
	}

	.seo-about-article > h2 {
		font-size: 22px;
	}
}
