/*
 * Contact Us refinements (Figma 405:8008). Loaded after site.css on this page
 * only. site.css carries two generations of form rules; the ones here win over
 * both by specificity.
 */

/* ------------------------------------------------------------- form card */

/* #FCF9F2, radius 24, no shadow, 768 wide (Figma 405:8068). */
.ne-page-contact-us .ne-form-card { box-shadow: none; max-width: 768px; }

/* Heading, intro and rule sit left inside the card (Figma 405:8096-8098). */
.ne-page-contact-us .ne-form-card__title .elementor-heading-title { text-align: left; }

.elementor.elementor .e-con > .elementor-widget.ne-form-card__intro {
	margin-top: 8px;
	color: #313131;
}

.elementor.elementor .e-con > .elementor-widget.ne-form-card__rule { margin: 26px 0 56px; }
.ne-form-card__rule .elementor-divider { padding: 0; }
.ne-form-card__rule .elementor-divider-separator { border-block-start: 1px solid rgba(197, 155, 88, .6) !important; }

/* ---------------------------------------------------------------- fields */

.ne-page-contact-us .ne-form .elementor-field-group { margin-bottom: 23px; }

.ne-page-contact-us .ne-form .elementor-field-group > label {
	font-size: var(--ne-fs-lead);
	line-height: 1.5;
	font-weight: 400;
	color: #000000;
	margin-bottom: 8px;
}

/* Pills: radius 24, a 1px line of black at 14%, 48 tall (Figma 405:8074). */
.ne-page-contact-us .ne-form .elementor-field-textual {
	background: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, .14);
	/* The kit's form style sets 10px one step more specifically. */
	border-radius: 0;
	min-height: 48px;
	padding: 12px 16px;
	font-size: var(--ne-fs-body);
	line-height: 1.5;
	color: var(--ne-ink);
}

.ne-page-contact-us .ne-form textarea.elementor-field-textual {
	border-radius: 0;
	min-height: 180px;
	padding: 12px 16px;
}

.ne-page-contact-us .ne-form .elementor-field-textual::placeholder { color: #666666; opacity: 1; }

.ne-page-contact-us .ne-form .elementor-field-textual:focus {
	border-color: var(--ne-brass);
	box-shadow: 0 0 0 3px var(--ne-brass-ring);
	outline: none;
}

/* The select reads as a placeholder until a topic is picked, with a plain
   chevron at the right (Figma 405:8087). */
.ne-page-contact-us .ne-form select.elementor-field-textual { padding-right: 44px; }
.ne-page-contact-us .ne-form select.elementor-field-textual:has(option[value=""]:checked) { color: #666666; }
.ne-page-contact-us .ne-form select.elementor-field-textual option { color: var(--ne-ink); }

.ne-page-contact-us .ne-form .elementor-select-wrapper .select-caret-down-wrapper { display: none; }

.ne-page-contact-us .ne-form select.elementor-field-textual {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
	background-size: 12px 8px;
	-webkit-appearance: none;
	appearance: none;
}

.ne-page-contact-us .ne-form .elementor-field-type-submit { margin-top: 26px; }

/* ---------------------------------------------------------- contact info */

/*
 * The head is the site's eyebrow and h2, straight from the kit. The details
 * keep Figtree 600 for the label and value, in the brand's ink with a brass
 * dash, rather than the pure black the first design drew.
 */
.ne-page-contact-us .ne-detail__label .elementor-heading-title,
.ne-page-contact-us .ne-detail__value .elementor-heading-title,
.ne-page-contact-us .ne-detail__value .elementor-heading-title a {
	font-family: var(--ne-font-body);
	font-size: var(--ne-fs-body);
	font-weight: 600 !important;
	line-height: 1.3;
	color: var(--ne-ink);
	text-decoration: none;
}

.ne-page-contact-us .ne-detail__value .elementor-heading-title a:hover { color: var(--ne-brass-600); }

.elementor.elementor .e-con > .elementor-widget.ne-detail__rule { width: 20px; margin: 0; }
.ne-detail__rule .elementor-divider { padding: 0; }
.ne-detail__rule .elementor-divider-separator { width: 20px; border-block-start: 2px solid var(--ne-brass) !important; }

.ne-page-contact-us .ne-detail__hours { color: var(--ne-ink); line-height: 1.6; }

/* ------------------------------------------------------- HubSpot form embed */

/*
 * The client's HubSpot form (portal 243381154). HubSpot's v4 embed renders the
 * form inside its own iframe, so page CSS cannot reach the fields: fonts,
 * colours, corners and the button are set in HubSpot's own form editor. Only
 * the frame is placed here.
 */
.ne-hubspot { width: 100%; }
.ne-hubspot .hs-form-frame { width: 100%; min-height: 560px; }
.ne-hubspot iframe { width: 100% !important; border: 0; display: block; }

@media (max-width: 767px) {
	.ne-hubspot .hs-form-frame { min-height: 640px; }
}
