/* ==========================================================================
   HD Custom Dev — Connect With Us module
   Scoped to .hd-connect-page (/connect + its three children) and
   .hd-job-single. Never affects Home / Mountain West.
   ========================================================================== */

/* --- Landing: three path cards --- */
.hd-connect-page .hd-path-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ffffff;
	border-radius: 20px;
	padding: 38px 36px;
	box-shadow: 0 8px 24px rgba(47, 52, 55, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: left;
}
.hd-connect-page .hd-path-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 36px rgba(47, 52, 55, 0.15);
}
.hd-connect-page .hd-path-card .hd-path-kicker {
	font-family: 'Inter', sans-serif;
	font-size: 12px; font-weight: 600;
	letter-spacing: 1.5px; text-transform: uppercase;
	color: #b85c38;
	margin-bottom: 10px;
}
.hd-connect-page .hd-path-card h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 22px; font-weight: 700;
	margin: 0 0 10px;
	color: #2f3437;
}
.hd-connect-page .hd-path-card p {
	font-family: 'Inter', sans-serif;
	font-size: 15px; line-height: 1.65;
	color: #555a5e;
	margin: 0 0 22px;
}
.hd-connect-page .hd-path-card .hd-path-btn {
	margin-top: auto;
	align-self: flex-start;
	padding: 12px 26px;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px; font-weight: 700;
	letter-spacing: 1.5px; text-transform: uppercase;
	color: #2f3437;
	border: 2px solid #2f3437;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.25s ease-in-out;
}
.hd-connect-page .hd-path-card .hd-path-btn:hover {
	background: #b85c38; border-color: #b85c38; color: #ffffff;
}

/* --- Landing: contact block --- */
.hd-connect-page .hd-contact-line {
	font-family: 'Inter', sans-serif;
	font-size: 17px; line-height: 2;
	color: #2f3437;
}
.hd-connect-page .hd-contact-line a {
	color: #b85c38; font-weight: 600; text-decoration: none;
}
.hd-connect-page .hd-contact-map iframe {
	width: 100%;
	height: 340px;
	border: 0;
	border-radius: 20px;
	display: block;
}

/* --- Job chips (grid + single) --- */
.hd-connect-page .hd-job-chip,
.hd-job-single .hd-job-chip {
	display: inline-block;
	padding: 4px 12px;
	font-family: 'Inter', sans-serif;
	font-size: 12px; font-weight: 600;
	letter-spacing: 1px; text-transform: uppercase;
	border-radius: 999px;
	margin: 0 6px 6px 0;
}
.hd-connect-page .hd-job-chip--job_trade,
.hd-job-single .hd-job-chip--job_trade {
	color: #b85c38; background: rgba(184, 92, 56, 0.1);
}
.hd-connect-page .hd-job-chip--job_region,
.hd-job-single .hd-job-chip--job_region {
	color: #4a6878; background: rgba(74, 104, 120, 0.12);
}

/* --- Careers: filter pills + grid --- */
.hd-connect-page .hd-jobs-filters > div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.hd-connect-page .hd-jobs-filters br { display: none; } /* wpautop artifact */
.hd-connect-page .hd-jobs-filters {
	background: rgba(250, 248, 244, 0.94);
	border-radius: 16px;
	padding: 18px 22px;
	box-shadow: 0 8px 24px rgba(47, 52, 55, 0.08);
}
.hd-connect-page .hd-jobs-filter-label {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px; font-weight: 700;
	letter-spacing: 1.5px; text-transform: uppercase;
	color: #555a5e;
	margin: 10px 12px 6px 0;
	display: inline-block;
	min-width: 76px;
}
.hd-connect-page .hd-jobs-pill {
	display: inline-block;
	margin: 0 6px 8px 0;
	padding: 7px 18px;
	font-family: 'Inter', sans-serif;
	font-size: 13px; font-weight: 600;
	color: #2f3437;
	background: transparent;
	border: 2px solid rgba(47, 52, 55, 0.25);
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.25s ease-in-out;
}
.hd-connect-page .hd-jobs-pill:hover,
.hd-connect-page .hd-jobs-pill:focus {
	border-color: #b85c38; color: #b85c38; outline: none;
}
.hd-connect-page .hd-jobs-pill.active {
	background: #b85c38; border-color: #b85c38; color: #ffffff;
}
.hd-connect-page .hd-jobs-pill[data-region].active {
	background: #4a6878; border-color: #4a6878;
}

.hd-connect-page #hd-jobs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 26px;
	margin-top: 30px;
}
.hd-connect-page .hd-jobs-cell--in { animation: hd-jobs-in 0.4s ease both; }
@keyframes hd-jobs-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: none; }
}
.hd-connect-page .hd-job-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 30px 30px 26px;
	box-shadow: 0 8px 24px rgba(47, 52, 55, 0.08);
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hd-connect-page .hd-job-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(47, 52, 55, 0.14);
}
.hd-connect-page .hd-job-card h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px; font-weight: 700;
	margin: 6px 0 8px;
}
.hd-connect-page .hd-job-card h3 a {
	color: #2f3437; text-decoration: none;
	transition: color 0.2s ease;
}
.hd-connect-page .hd-job-card h3 a:hover { color: #b85c38; }
.hd-connect-page .hd-job-card p {
	font-family: 'Inter', sans-serif;
	font-size: 15px; line-height: 1.6;
	color: #555a5e;
	margin: 0 0 16px;
}
.hd-connect-page .hd-job-card-cta {
	margin-top: auto;
	font-family: 'Inter', sans-serif;
	font-size: 14px; font-weight: 600;
	color: #b85c38;
	text-decoration: none;
}
.hd-connect-page #hd-jobs-status {
	text-align: center;
	font-family: 'Inter', sans-serif;
	color: #555a5e;
	min-height: 24px;
	margin-top: 18px;
}

/* --- EEO statement --- */
.hd-connect-page .hd-eeo {
	font-family: 'Inter', sans-serif;
	font-size: 13px; line-height: 1.7;
	color: #767b7f;
}

/* --- Single opening --- */
.hd-job-single .hd-job-tags { margin-bottom: 16px; }
.hd-job-single .hd-job-apply {
	margin-top: 44px;
	padding: 34px 36px;
	background: #faf8f4;
	border-radius: 20px;
}
.hd-job-single .hd-job-apply h2 { margin-top: 0; }
.hd-job-single .hd-job-backlink {
	margin-top: 28px;
	font-family: 'Inter', sans-serif;
}
.hd-job-single .hd-job-backlink a {
	color: #b85c38; font-weight: 600; text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	.hd-connect-page .hd-jobs-cell--in { animation: none !important; }
	.hd-connect-page .hd-path-card,
	.hd-connect-page .hd-job-card,
	.hd-connect-page .hd-jobs-pill,
	.hd-connect-page .hd-path-btn { transition: none !important; }
}

/* --------------------------------------------------------------------------
 * Gravity Forms on dark cards - checkbox/radio choice labels were GF's
 * default navy and unreadable; datepicker icon likewise, and it sat flush
 * against the date input.
 * ------------------------------------------------------------------------ */
.hd-connect-page .gform_wrapper .gfield_checkbox .gchoice label,
.hd-connect-page .gform_wrapper .gfield_radio .gchoice label,
.hd-connect-page .gform_wrapper .gchoice .gform-field-label {
	color: var(--awb-color1, #ffffff);
}

.hd-connect-page .gform_wrapper img.ui-datepicker-trigger {
	filter: brightness(0) invert(1); /* recolor GF's navy SVG to white */
	margin-left: 12px;
	vertical-align: middle;
}

/* Checkbox/radio group labels sat flush against the first choice - add air. */
.hd-connect-page .gform_wrapper .gfield--type-checkbox legend.gfield_label,
.hd-connect-page .gform_wrapper .gfield--type-radio legend.gfield_label {
	margin-bottom: 12px !important; /* Avada sets 0 !important */
}

/* Single-file upload inputs are height-capped at 38px by the theme, which
 * clips the native Choose File button. Let them size to their content. */
.hd-connect-page .gform_wrapper input[type="file"] {
	height: auto;
	min-height: 50px;
	line-height: 1.4;
}
