/*
Welcome to Custom CSS!

To learn how this works, see https://wp.me/PEmnE-Bt
*/
/* Normalize image height for "Markets Served" section only */
.wp-block-jetpack-layout-grid .wp-block-image img {
	height: 180px;
	width: 100%;
	object-fit: cover;
	display: block;
}

.google-map-container {
	position: relative;
	overflow: hidden;
	width: 100%;
/* take full width of parent */
	max-width: none;
/* override any limiting max-width */
	padding-top: 56.25%;
/* 16:9 aspect ratio */
}

.google-map-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}

.testimonial-swiper {
	width: 100%;
	max-width: 800px;
	margin: 2rem auto;
}

.testimonial-slide {
	text-align: center;
	background: #f9f9f9;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.testimonial-logo {
	max-width: 150px;
	margin-bottom: 1rem;
}

.testimonial-slide blockquote {
	font-size: 1.1rem;
	line-height: 1.6;
	font-style: italic;
	margin: 0 auto 1rem;
}

.testimonial-slide footer {
	font-weight: bold;
	font-size: 1rem;
	margin-top: 1rem;
	color: #333;
}

/* Make the form a flex container */
.contact-form {
	display: flex;
	flex-wrap: wrap;
	column-gap: 10px;
}

/* Default full width for all field containers */
.contact-form .grunion-field-wrap {
	flex: 1 1 100%;
	box-sizing: border-box;
}

/* Apply widths to field containers based on input class */
.contact-form .grunion-field-wrap:has(input.half),
.contact-form .grunion-field-wrap:has(textarea.half) {
	flex: 1 1 48%;
}

.contact-form .grunion-field-wrap:has(input.third) {
	flex: 1 1 30%;
}

.contact-form .grunion-field-wrap:has(input.quarter) {
	flex: 1 1 22%;
}

.contact-form .grunion-field-wrap:has(input.eighth) {
	flex: 1 1 11%;
}

/* Ensure inputs fill their container */
.contact-form input,
.contact-form textarea {
	width: 100%;
	box-sizing: border-box;
}

/* Normalize checkbox appearance */
.contact-form .grunion-field-checkbox label {
	font-weight: normal;
}

.contact-form .grunion-field-wrap {
	flex: 1 1 100%;
	min-width: 0;
}

body.page-id-1370 .contact-form .grunion-label-required {
	display: none !important;
}

/* Ultra-tight stacked checkboxes for Altoprecision forms */
.inline-options .contact-field,
.inline-options .contact-field p,
.inline-options .contact-field div {
	margin: 0 !important;
/* remove all vertical spacing */
	padding: 0 !important;
	line-height: 1.1;
/* tighten spacing between lines */
}

.inline-options .contact-field input[type="checkbox"] {
	margin-right: 6px;
/* space between checkbox and label */
	vertical-align: middle;
}

/* Optional: add spacing below each group */
.inline-options {
	margin-bottom: 1em;
}