/*
 * WPBakery Page Builder reconciliation.
 *
 * Loaded only when the plugin is active (see inc/assets.php). Its job is to make
 * WPBakery's grid and the campaign sections coexist without editing either.
 *
 * The campaign sections are full-bleed <section> elements that provide their own
 * `.srcn-container` and vertical padding, so inside a builder column they must not
 * inherit extra width limits or gutters.
 */

/*--------------------------------------------------------------
# 1. The blank canvas template
--------------------------------------------------------------*/
.ijh-wpbakery-canvas {
	width: 100%;
	margin: 0;
	padding: 0;
	overflow-x: clip;
}
.vc_row.wpb_row.vc_row-fluid.ijh-contact-row{
    max-width: 1680px;
    margin: 0 auto;
    width: 90%;
}

/*--------------------------------------------------------------
# 2. Theme elements inside builder columns
--------------------------------------------------------------*/
.ijh-vc-element {
	width: 100%;
}

/* A full-bleed section must not be squeezed by column padding. */
.vc_column-inner > .wpb_wrapper > .ijh-vc-element > section,
.ijh-vc-element > section {
	width: 100%;
}

/*
 * WPBakery adds 15px gutters to every column. For our sections that already
 * manage their own spacing, cancel them on stretched rows only, so ordinary
 * multi-column rows keep their gutters.
 */
.vc_row[data-vc-stretch-content="true"] > .vc_column_container > .vc_column-inner,
.vc_row.vc_row-no-padding > .vc_column_container > .vc_column-inner {
	padding-left: 0;
	padding-right: 0;
}

/* The campaign sections set their own top/bottom rhythm. */
.ijh-vc-element > section {
	margin-top: 0;
	margin-bottom: 0;
}



/*--------------------------------------------------------------
# 3. Contact row
   contact.html used a 380px / 1fr CSS grid. In the builder the split is a real
   WPBakery 1/3 + 2/3 row, so the card and form just need to fill their columns.
--------------------------------------------------------------*/
.ijh-vc-ijh-contact-info .contact-info-card,
.ijh-vc-ijh-contact-form .form-container {
	width: 100%;
	margin: 0;
	box-sizing: border-box;
}

.ijh-vc-ijh-contact-form .form-container {
	padding: 0 30px;
}

/* contact.html got its vertical rhythm from .contact-section (90px 0). */
.ijh-contact-row {
	padding-top: 90px;
	padding-bottom: 40px;
}



@media (max-width: 768px) {

	.ijh-contact-row {
		padding-top: 60px;
		padding-bottom: 30px;
	}
}

.ijh-vc-ijh-map .contact-map {
	margin-top: 0;
}

/* Form controls must respect the column width. */
.ijh-vc-element .form-group input,
.ijh-vc-element .form-group select,
.ijh-vc-element .form-group textarea,
.ijh-vc-element .newsletter-form input {
	box-sizing: border-box;
	max-width: 100%;
}

/*--------------------------------------------------------------
# 4. Section heading element
--------------------------------------------------------------*/
.ijh-vc-ijh-section-title .srcn-container > * {
	margin-top: 0;
}

/*--------------------------------------------------------------
# 5. Live-editor affordances
   Inside the editor, a section that produces no output would be a zero-height
   element nobody can select. inc/wpbakery.php substitutes this placeholder.
--------------------------------------------------------------*/
.ijh-vc-placeholder {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 34px 26px;
	border: 2px dashed rgba(121, 190, 45, 0.6);
	border-radius: 10px;
	background: rgba(121, 190, 45, 0.06);
	color: #33501a;
	font-family: 'Barlow Condensed', sans-serif;
	text-align: center;
}

.ijh-vc-placeholder strong {
	font-size: 20px;
}

.ijh-vc-placeholder span {
	font-size: 16px;
	opacity: 0.8;
}

/*
 * While editing, suppress the hover/scale effects and pointer capture that would
 * otherwise fight the builder's own controls and drag handles.
 */
.ijh-builder-active .ijh-video-trigger {
	cursor: inherit;
}

.ijh-builder-active .ijh-video-trigger:hover img,
.ijh-builder-active .blog-card:hover,
.ijh-builder-active .blog-card-wrapper:hover .blog-image img {
	transform: none;
}

/* The lightbox must never appear over the editor. */
.ijh-builder-active .ijh-video-modal {
	display: none !important;
}

/* Sticky headers overlap the builder's toolbars. */
.ijh-builder-active .header-area {
	position: relative;
	top: 0;
}
