/*
Theme Name: Vfold Elementor
Theme URI: http://localhost/vfold
Description: Legacy V-Fold site bridge for Elementor editing.
Author: OpenAI
Template: hello-elementor
Version: 1.0.0
Text Domain: vfold-elementor
*/

:root {
	--vfold-red: #c53241;
	--vfold-orange: #df6d27;
	--vfold-gold: #faa61a;
	--vfold-sky: #4295d1;
	--vfold-blue: #0572ab;
	--vfold-blue-dark: #00538d;
	--vfold-ink: #000;
	--vfold-copy: #51657d;
	--vfold-surface: #f4f7fb;
	--vfold-white: #ffffff;
	--vfold-shadow: 0 18px 40px rgba(7, 63, 114, 0.12);
}

body {
	color: var(--vfold-copy);

}

a {
	color: var(--vfold-blue);
}

a:hover,
a:focus {
	color: var(--vfold-blue-dark);
}

.vfold-builder-content .elementor-widget-container> :last-child,
.vfold-builder-content .elementor-widget-container>div:last-child {
	margin-bottom: 0;
}

.vfold-builder-content .itemLinks:empty,
.vfold-builder-content .itemHeader:empty,
.vfold-builder-content .clr:empty,
.vfold-builder-content p:empty {
	display: none;
}

.vfold-site-main {
	display: block;
}

.vfold-site-main .page-content {
	margin: 0;
}

/* .greyBG {
	background: linear-gradient(180deg, #f8fafc 0%, #eef4f9 100%);
} */

/* .vfold-builder-content {
	padding: 40px 0 20px;
} */

.vfold-builder-content h1,
.vfold-builder-content h2,
.vfold-builder-content h3,
.vfold-builder-content h4 {
	color: var(--vfold-ink);
	
}

.vfold-breadcrumbs {
	margin: 0 auto 20px auto;
	background: #fff;
	padding: 10px;
	list-style: none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #f2f2f2;
	max-width: 1150px;
	float: unset;


}

.vfold-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vfold-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	font-size: 0.98rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #98a1af;
}

.vfold-breadcrumbs__item+.vfold-breadcrumbs__item::before {
	content: "/";
	margin: 0 5px;
	color: #999999;
}

.vfold-breadcrumbs__item a,
.vfold-breadcrumbs__item span {
	color: inherit;
	fonbt-size: 14px !important
}

.vfold-breadcrumbs__item a {
	text-decoration: none;
}

.vfold-breadcrumbs__item:first-child a {
	color: var(--vfold-red);
}

.vfold-breadcrumbs__item:last-child span {
	color: #aeb6c2;
}

.vfold-breadcrumbs__home {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	color: #111827;
}

.vfold-breadcrumbs__home svg {
	display: block;

}

.vfold-form-message {
	margin: 0 0 20px;
	padding: 12px 16px;
	border-radius: 4px;
	font-weight: 700;
}

.vfold-form-message.is-success {
	background: #dff0d8;
	color: #3c763d;
}

.vfold-form-message.is-error {
	background: #f2dede;
	color: #a94442;
}

.navbar .nav-collapse.collapse.in {
	display: block;
}

.navbar #nav-toggle {
	cursor: pointer;
}

.navbar .nav-collapse {
	transition: none;
}

.navbar .brand img {

	height: auto;
}

.vfold-shared-block .elementor {
	width: 100%;
}

.vfold-performance-hero {
	max-width: 920px;
	margin: 0 auto;
	padding: 24px 0 12px;
}

.vfold-performance-hero h1 {
	margin-bottom: 22px;
	color: var(--vfold-red);
	font-size: clamp(2rem, 3vw, 3.2rem);
	line-height: 1.15;
}

.vfold-performance-copy {
	max-width: 980px;
	margin: 0 auto;
}

.vfold-performance-copy p {
	margin: 0;
	color: var(--vfold-ink);
	font-size: clamp(1.15rem, 1.7vw, 1.9rem);
	line-height: 1.55;
	text-wrap: balance;
}

.vfold-faq-widget {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.vfold-faq-item {
	overflow: hidden;
	border: 1px solid #d7dde5;
	background: #fff;
}

.vfold-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 18px 22px;
	border: 0;
	background: #fff;
	color: var(--vfold-red);
	font-size: 1.05rem;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.vfold-faq-question-label {
	padding-right: 18px;
}

.vfold-faq-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
}

.vfold-faq-answer {
	color: var(--vfold-ink);
	background: #fff;
}

.vfold-faq-answer[hidden] {
	display: none;
}

.vfold-faq-answer__inner {
	padding: 0 22px 22px;
}

.vfold-faq-answer__inner p:last-child {
	margin-bottom: 0;
}

@media (max-width: 979px) {
	.navbar .nav-collapse.collapse {
		display: none;
		height: 0;
		overflow: hidden;
		max-height: none;
	}

	.navbar .nav-collapse.collapse.is-open,
	.navbar .nav-collapse.collapse.in {
		display: block !important;
		height: auto !important;
		overflow: visible !important;
	}

	.navbar .nav-collapse {
		/* width:100% plus side padding overflowed the viewport on content-box. */
		box-sizing: border-box;
		float: none;
		width: 100%;
		max-width: 100%;
		margin-top: 12px;
		padding: 14px 18px;
		background: #fff;
		border: 1px solid #d7e0ea;
		border-radius: 16px;
		box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
	}

	.navbar .nav-collapse .nav {
		box-sizing: border-box;
		display: block;
		float: none;
		width: 100%;
		max-width: 100%;
		margin: 0;
	}

	.navbar .nav-collapse .menunav {
		margin: 0;
		border-top: 0;
	}

	.navbar .nav-collapse .nav>li {
		float: none;
		display: block;
	}

	.navbar .nav-collapse .nav>li>a {
		padding: 10px 0;
	}

	.navbar .nav-collapse .dropdown-menu {
		box-sizing: border-box;
		position: static;
		display: none;
		float: none;
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0 0 0 14px;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.navbar .nav-collapse .nav > li.dropdown.is-open > .dropdown-menu {
		display: block;
	}

	/* The parent stays a real link; the caret is the submenu toggle, widened
	   to a 44px tap target via the pseudo-element. */
	.navbar .nav-collapse .nav > li.dropdown > a.dropdown-toggle {
		position: relative;
		padding-right: 52px;
	}

	.navbar .nav-collapse .nav > li.dropdown > a.dropdown-toggle .caret {
		position: absolute;
		top: 50%;
		right: 16px;
		margin: 0;
		transform: translateY(-50%);
		transition: transform 150ms ease;
	}

	.navbar .nav-collapse .nav > li.dropdown > a.dropdown-toggle .caret::before {
		content: "";
		position: absolute;
		top: -22px;
		right: -16px;
		bottom: -22px;
		left: -22px;
	}

	.navbar .nav-collapse .nav > li.dropdown.is-open > a.dropdown-toggle .caret {
		transform: translateY(-50%) rotate(180deg);
	}
}

@media (max-width: 767px) {
	.vfold-builder-content {
		padding-top: 26px;
	}

	.vfold-breadcrumbs {
		padding: 10px;
	}

	.vfold-breadcrumbs__item {
		font-size: 0.85rem;
	}

	.vfold-performance-copy p {
		font-size: 1rem;
	}
}

/* ---------------------------------------------------------------------------
   Gallery ("Videos & Photos") job detail pages.

   The source photos range from 0.75 to 2.14 aspect ratio, so Elementor's
   gallery produced rows of different heights, which in turn made the
   inline-block items wrap raggedly and leave gaps. Cropping every thumbnail to
   a uniform 4:3 box -- the native ratio of 22 of the 30 photos -- makes every
   item the same height, so the rows line up on their own.

   Elementor keeps ownership of everything else: the responsive column counts
   (3 / 2 / 1), the image spacing and the corner radius all stay editable in
   the builder. Only the thumbnail is cropped; the lightbox anchor still points
   at the full-size original, so the popup is unaffected.
   ------------------------------------------------------------------------- */

.elementor-image-gallery .gallery-icon,
.elementor-image-gallery .gallery-icon a {
	display: block;
}

.elementor-image-gallery .gallery-item img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
