/* Green View Landscape: small global helpers. Page layouts live in Elementor. */

html {
	scroll-behavior: smooth;
}

/* Text widgets: spacing comes from container gaps, so drop the theme's trailing paragraph margin. */
.elementor-widget-text-editor p {
	margin-bottom: 0.9em;
}

.elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

/* Containers that should only be as wide as their content (class: gv-auto). */
.e-con.gv-auto {
	--width: auto;
	width: auto;
}

/* Eyebrow label with the lime line in front (class: gv-eyebrow). */
.gv-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.gv-eyebrow .elementor-heading-title::before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: #9ec93b;
	flex: none;
}

/* Inner page hero: readable line length for the headline and lead. */
.e-con.gv-hero-copy {
	--width: 100%;
	max-width: 820px;
}

/* Breadcrumb trail from the Green View Breadcrumbs widget (Rank Math). */
.gv-crumbs p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
}

.gv-crumbs a {
	text-decoration: none;
	transition: color 0.2s ease;
}

.gv-crumbs a:hover {
	text-decoration: underline;
}

.gv-crumbs .separator {
	margin: 0 8px;
}

/* Lime highlight inside headings, e.g. <span class="gv-accent">. */
.gv-accent {
	color: #9ec93b;
}

/* Cards that link somewhere lift slightly on hover (class: gv-hover). */
.gv-hover {
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gv-hover:hover {
	transform: translateY(-6px);
	border-color: #cfdcc7 !important;
	box-shadow: 0 4px 8px rgba(18, 56, 36, 0.05), 0 24px 48px rgba(18, 56, 36, 0.14) !important;
}

.gv-hover img {
	transition: transform 0.6s ease;
}

.gv-hover:hover img {
	transform: scale(1.05);
}

/* FAQ toggles shown as separate rounded cards (class: gv-faq). */
.gv-faq .elementor-toggle-item {
	border: 1px solid #e2e8dd;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s ease;
}

.gv-faq .elementor-toggle-item:has(.elementor-active) {
	box-shadow: 0 12px 30px rgba(18, 56, 36, 0.08);
}

.gv-faq .elementor-toggle .elementor-tab-title,
.gv-faq .elementor-toggle .elementor-tab-content {
	border: 0 !important;
}

/* Question text on the left, +/- icon vertically centered on the right. */
.gv-faq .elementor-toggle .elementor-tab-title {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.gv-faq .elementor-tab-content p:last-child {
	margin-bottom: 0;
}

.gv-faq .elementor-toggle .elementor-toggle-title {
	line-height: 1.4;
}

.gv-faq .elementor-toggle .elementor-toggle-icon {
	float: none;
	flex: none;
	margin: 0 !important;
}

/* Big year number inside the "since 2023" badge. */
.gv-year {
	display: block;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 32px;
	font-weight: 800;
	line-height: 1;
	color: #335733;
}

/* Project gallery: rounded image tiles (class: gv-gallery). */
.gv-gallery .e-gallery-item,
.gv-gallery .e-gallery-image {
	border-radius: 22px;
	overflow: hidden;
}

/* Form selects: keep the chosen option vertically centered and unclipped. */
.elementor-form .elementor-field-group select.elementor-field-textual {
	height: auto;
	padding-top: 12px;
	padding-bottom: 12px;
	line-height: 1.45;
}

/* Keyboard focus that matches the brand. */
.elementor a:focus-visible,
.elementor button:focus-visible,
.elementor input:focus-visible,
.elementor select:focus-visible,
.elementor textarea:focus-visible {
	outline: 3px solid #9ec93b;
	outline-offset: 3px;
}

/* Grid item that spans two columns from tablet up (class: gv-span-2). */
@media (min-width: 768px) {
	.gv-span-2 {
		grid-column: span 2;
	}
}

/* Single post: readable article column (classes: gv-article-wrap, gv-article). */
.e-con.gv-article-wrap {
	--width: 100%;
	max-width: 800px;
	margin-inline: auto;
}

.gv-article h2 {
	margin: 40px 0 12px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.5px;
	color: #122018;
}

.gv-article h3 {
	margin: 28px 0 8px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: #122018;
}

.gv-article p {
	margin: 0 0 18px;
}

.gv-article ul {
	margin: 0 0 18px;
	padding-left: 22px;
}

.gv-article li {
	margin-bottom: 8px;
}

.gv-article li::marker {
	color: #9ec93b;
}

@media (max-width: 767px) {
	.gv-article h2 {
		font-size: 23px;
		margin-top: 32px;
	}
}

/* Blog cards: image on top, then topic tag, title, excerpt and date. The whole card is clickable. */
.gv-posts .elementor-post__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gv-posts .elementor-post__card:hover {
	transform: translateY(-6px);
	border-color: #CFDCC7 !important;
	box-shadow: 0 4px 8px rgba(18, 56, 36, 0.05), 0 24px 48px rgba(18, 56, 36, 0.14) !important;
}

.gv-posts .elementor-post__card .elementor-post__thumbnail__link {
	margin-bottom: 0 !important;
}

.gv-posts .elementor-post__card .elementor-post__thumbnail img {
	transition: transform 0.6s ease;
}

.gv-posts .elementor-post__card:hover .elementor-post__thumbnail img {
	transform: scale(1.05) translate(-50%, -50%);
}

.gv-posts .elementor-post__card .elementor-post__badge {
	position: static;
	align-self: flex-start;
	margin: 26px 26px 0 !important;
	padding: 5px 11px;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gv-posts .elementor-post__card .elementor-post__text {
	flex-grow: 1;
	margin-top: 10px !important;
}

.gv-posts .elementor-post__card .elementor-post__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.gv-posts .elementor-post__card .elementor-post__meta-data {
	border-top: 0 !important;
	padding-top: 0 !important;
	font-size: 14px;
}

/* Blog pagination: number chips. */
.gv-posts .elementor-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.gv-posts .elementor-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	min-height: 46px;
	padding: 0 16px;
	border: 1px solid #E2E8DD;
	border-radius: 999px;
	background: #FFFFFF;
	color: #122018;
	font-weight: 600;
	text-decoration: none;
}

.gv-posts .elementor-pagination .page-numbers.current,
.gv-posts .elementor-pagination a.page-numbers:hover {
	border-color: #335733;
	background: #335733;
	color: #FFFFFF;
}

/* Featured post on the first blog page ([gv_featured_post]). */
.gv-featured-wrap:not(:has(.gv-featured-post)) {
	display: none;
}

.gv-featured-post {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	overflow: hidden;
	border: 1px solid #E2E8DD;
	border-radius: 22px;
	background: #FFFFFF;
	box-shadow: 0 1px 2px rgba(18, 56, 36, 0.04), 0 10px 30px rgba(18, 56, 36, 0.06);
	color: #122018;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gv-featured-post:hover,
.gv-featured-post:focus-visible {
	transform: translateY(-6px);
	border-color: #CFDCC7;
	box-shadow: 0 4px 8px rgba(18, 56, 36, 0.05), 0 24px 48px rgba(18, 56, 36, 0.14);
	color: #122018;
}

.gv-featured-post__media {
	position: relative;
	display: block;
	min-height: 380px;
	overflow: hidden;
	background: #E8EEE3;
}

.gv-featured-post__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.gv-featured-post:hover .gv-featured-post__media img {
	transform: scale(1.05);
}

.gv-featured-post__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 40px;
}

.gv-tag {
	align-self: flex-start;
	padding: 5px 11px;
	border-radius: 999px;
	background: #E8EEE3;
	color: #335733;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gv-featured-post__title {
	margin: 0;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #122018;
}

.gv-featured-post__excerpt {
	color: #4D5B52;
	line-height: 1.65;
}

.gv-featured-post__meta {
	color: #4D5B52;
	font-size: 14px;
}

.gv-featured-post__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #335733;
	font-weight: 700;
}

.gv-featured-post__link span {
	transition: transform 0.2s ease;
}

.gv-featured-post:hover .gv-featured-post__link span {
	transform: translateX(4px);
}

/* Blog topic chips ([gv_blog_filters]). */
.gv-blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gv-blog-chip {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0 20px;
	border: 1px solid #E2E8DD;
	border-radius: 999px;
	background: #FFFFFF;
	color: #122018;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gv-blog-chip:hover,
.gv-blog-chip:focus-visible {
	border-color: #335733;
	color: #122018;
}

.gv-blog-chip.is-active {
	border-color: #335733;
	background: #335733;
	color: #FFFFFF;
}

@media (max-width: 900px) {
	.gv-featured-post {
		grid-template-columns: 1fr;
	}

	.gv-featured-post__media {
		min-height: 260px;
	}
}

@media (max-width: 767px) {
	.gv-featured-post__body {
		padding: 26px;
	}

	.gv-featured-post__title {
		font-size: 28px;
	}
}

/* Home "Recent work" gallery: masonry grid with a label on each photo (class: gv-gal-grid). */
.gv-gal-grid.e-con {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: dense;
	grid-auto-rows: 260px;
	gap: 20px;
}

.gv-gal-item.e-con {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 22px;
	background: #E8EEE3;
}

.gv-gal-item.gv-gal-tall {
	grid-row: span 2;
}

.gv-gal-item.gv-gal-wide {
	grid-column: span 2;
}

.gv-gal-item .gv-gal-photo,
.gv-gal-item .gv-gal-photo a {
	position: absolute;
	inset: 0;
	display: block;
}

.gv-gal-item .gv-gal-photo img {
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.6s ease;
}

.gv-gal-item:hover .gv-gal-photo img {
	transform: scale(1.05);
}

.gv-gal-item .gv-media-tag {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 2;
	width: auto;
	pointer-events: none;
}

.gv-gal-item .gv-media-tag .elementor-heading-title {
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

@media (max-width: 1024px) {
	.gv-gal-grid.e-con {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.gv-gal-grid.e-con {
		grid-template-columns: 1fr;
		grid-auto-rows: 240px;
	}

	.gv-gal-item.gv-gal-tall {
		grid-row: span 1;
	}

	.gv-gal-item.gv-gal-wide {
		grid-column: span 1;
	}
}

/* Legal pages: comfortable reading column (class: gv-legal). */
.gv-legal h2 {
	margin: 36px 0 10px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 24px;
	font-weight: 800;
	color: #122018;
}

.gv-legal h2:first-child {
	margin-top: 0;
}

.gv-legal ul {
	margin: 0 0 16px;
	padding-left: 22px;
}

.gv-legal li {
	margin-bottom: 6px;
}

/* Embedded map with rounded corners (class: gv-map). */
.gv-map iframe {
	border-radius: 22px;
	display: block;
}

/* Long values such as email addresses wrap instead of overflowing (class: gv-break). */
.gv-break .elementor-heading-title {
	overflow-wrap: anywhere;
}

/* Let flex text columns shrink next to icons. */
.e-con > .e-con:has(> .elementor-widget .gv-break),
.e-con > .e-con:has(> .gv-break) {
	min-width: 0;
}

/* In-page anchors (e.g. Privacy Policy sections) land with breathing room. */
.elementor-widget-heading[id] {
	scroll-margin-top: 32px;
}

/* Long email addresses inside icon lists wrap instead of overflowing (class: gv-break-list). */
.gv-break-list .elementor-icon-list-text {
	overflow-wrap: anywhere;
}

/* Single post: first paragraph as a larger lead. */
.gv-article .elementor-widget-container > p:first-child,
.gv-article > p:first-child {
	font-size: 1.18em;
	line-height: 1.7;
	color: #122018;
}

/* Single post hero: category shown as a lime chip. */
.gv-post-chip .elementor-icon-list-item {
	background: #9ec93b;
	border-radius: 999px;
	padding: 6px 14px;
}

.gv-post-chip .elementor-icon-list-text,
.gv-post-chip a {
	color: #1f3b22 !important;
}

/* Sidebar recent posts: rounded thumbnails. */
.gv-recent .elementor-post__thumbnail {
	border-radius: 12px;
	overflow: hidden;
}

.gv-recent .elementor-post__title a {
	color: #122018;
}

.gv-recent .elementor-post__title a:hover {
	color: #335733;
}

/* ---- Service and Service Area pages ---- */

/* Other services as link cards with an arrow */
.gv-link-cards .elementor-post {
	position: relative;
	padding: 18px 56px 18px 22px;
	background: #FFFFFF;
	border: 1px solid #E2E8DD;
	border-radius: 16px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gv-link-cards .elementor-post::after {
	content: "\2192";
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	font-weight: 700;
	color: #335733;
}

.gv-link-cards .elementor-post:hover {
	border-color: #9EC93B;
	box-shadow: 0 10px 26px rgba(18, 56, 36, 0.08);
	transform: translateY(-2px);
}

.gv-link-cards .elementor-post__title {
	margin: 0;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

.gv-link-cards .elementor-post__title a {
	color: #122018;
}

.gv-link-cards .elementor-post__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Optional highlight note under the signs list */
.gv-note .elementor-heading-title {
	display: inline-block;
	padding: 12px 16px;
	background: #E8EEE3;
	border-left: 3px solid #9EC93B;
	border-radius: 10px;
}

.gv-note .elementor-heading-title:empty {
	display: none;
}

/* Service Area links as pills (Posts widget, class: gv-chip-posts) */
.gv-chip-posts .elementor-posts-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Posts widget whose items join the parent container, so hand-built items can sit beside them (class: gv-inline-posts) */
.gv-inline-posts,
.gv-inline-posts > .elementor-widget-container,
.gv-inline-posts .elementor-posts-container {
	display: contents;
}

.gv-chip .elementor-heading-title,
.gv-chip-posts .elementor-post {
	padding: 10px 18px 10px 14px;
	background: #FFFFFF;
	border: 1px solid #E2E8DD;
	border-radius: 999px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gv-chip .elementor-heading-title:hover,
.gv-chip-posts .elementor-post:hover {
	border-color: #9EC93B;
	box-shadow: 0 6px 18px rgba(18, 56, 36, 0.08);
}

.gv-chip .elementor-heading-title,
.gv-chip-posts .elementor-post__title {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.gv-chip .elementor-heading-title a,
.gv-chip-posts .elementor-post__title a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #122018;
}

.gv-chip .elementor-heading-title a::before,
.gv-chip-posts .elementor-post__title a::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #9EC93B;
	box-shadow: 0 0 0 4px #E8EEE3;
}

/* Service links inside the location hero card (Posts widget, class: gv-service-list) */
.gv-service-list .elementor-posts-container {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.gv-service-list .elementor-post {
	padding: 11px 0;
	border-bottom: 1px solid #E8EEE3;
}

.gv-service-list .elementor-post:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.gv-service-list .elementor-post__title {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.gv-service-list .elementor-post__title a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #122018;
	transition: color 0.2s ease;
}

.gv-service-list .elementor-post__title a::after {
	content: "\2192";
	color: #9EC93B;
	font-weight: 700;
	transition: transform 0.2s ease;
}

.gv-service-list .elementor-post__title a:hover {
	color: #335733;
}

.gv-service-list .elementor-post__title a:hover::after {
	transform: translateX(3px);
}

/* Process step numbers read 01, 02, 03 (row number comes from the repeater) */
.gv-step-num .elementor-heading-title::before {
	content: "0";
}

/* Hub page cards: Posts widget cards (gv-card-posts) and hand-built cards (gv-card) share one look */
.gv-card-posts .elementor-post__card,
.gv-card {
	height: 100%;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(18, 56, 36, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gv-card-posts .elementor-post__card:hover,
.gv-card:hover {
	transform: translateY(-6px);
	border-color: #cfdcc7 !important;
	box-shadow: 0 4px 8px rgba(18, 56, 36, 0.05), 0 24px 48px rgba(18, 56, 36, 0.14);
}

/* Gentle zoom on hover. Posts thumbnails keep Elementor's centering translate. */
.gv-card-posts .elementor-post__thumbnail img,
.gv-card .gv-card-media img {
	transition: transform 0.6s ease;
}

.gv-card-posts .elementor-post__card:hover .elementor-post__thumbnail img {
	transform: scale(1.06) translate(-50%, -50%);
}

.gv-card:hover .gv-card-media img {
	transform: scale(1.05);
}

/* Equal-height cards: the "Learn more" link sits at the bottom, so no empty space under it. */
.gv-card-posts .elementor-post__card {
	display: flex;
	flex-direction: column;
}

.gv-card-posts .elementor-post__text {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	/* Elementor's card padding control sets "0 28px", so the bottom space is added here. */
	padding-bottom: 30px !important;
}

/* The gap under the photo comes only from the widget's "Image spacing" setting. */
.gv-card-posts .elementor-post__card .elementor-post__thumbnail__link {
	margin-bottom: 0 !important;
}

/* Elementor's card padding and image spacing have no mobile setting, so phones get them here. */
@media (max-width: 767px) {
	.gv-card-posts .elementor-post__text {
		margin-top: 18px !important;
		padding: 0 20px 24px !important;
	}
}

.gv-card-posts .elementor-post__read-more {
	align-self: flex-start;
	margin-top: auto;
}

.gv-card > .e-con {
	flex-grow: 1;
}

.gv-card > .e-con > .elementor-widget:last-child {
	margin-top: auto;
}

.gv-card .gv-card-media {
	overflow: hidden;
}

.gv-card .gv-card-media img {
	display: block;
	width: 100%;
	aspect-ratio: 100 / 62;
	object-fit: cover;
}

.gv-card-posts .elementor-post__excerpt p {
	margin: 0;
	line-height: 1.6;
}

/* Spam honeypot field added to forms by form-protection.js: kept out of sight and out of reach. */
.gv-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
