/*
 * CaryTamura "Let's Connect" popup (Elementor Popup "CT Let's Connect", 5453).
 *
 * SCOPE. Site-wide, like the popup itself (display condition: entire site;
 * no automatic triggers — the header's Let's Connect item opens it). Every
 * rule is scoped under .ct-connect-popup (the popup's CSS class) or the
 * .ct-connect containers inside it, so nothing else on a page is reached.
 *
 * VALUES. Measured from the live site's contact modal at 1440, 1366/1280,
 * 1200, 1024, 960/900, 768 and 375 wide (FACT) unless marked. Breakpoints:
 * 160px side padding from 1366, 80px from 1201, 30px to 1200 and 20px from
 * 767; the columns stack (form first) at 900; type steps down at 768; the
 * contact icons move above their text at 767.
 *
 * WHAT ELEMENTOR OWNS. The background photograph and its 85% scrim, the
 * popup's size, close button position and colour, the form's colours and the
 * social icons' size and colours are the widgets' own controls. This file
 * holds the layout and typography those controls cannot express.
 */

/* --------------------------------------------------------------- shell -- */
.ct-connect-popup .dialog-widget-content {
	background: transparent;
	box-shadow: none;
}

.ct-connect-popup .dialog-message {
	overflow-x: hidden;
	overflow-y: auto;
}

/* Close: Elementor's own button (it closes the popup; position and colour
 * are the popup's controls), drawn as the live two-line cross — 37px by 2px
 * strokes crossing in a 26.4px box, 6px in from the button's measured edge. */
.ct-connect-popup .dialog-close-button {
	z-index: 11;
	width: 26.4px;
	height: 26.4px;
	margin: 1px 6px 0 0;
	color: var(--ct-on-dark);
}

.ct-connect-popup .dialog-close-button svg,
.ct-connect-popup .dialog-close-button i {
	display: none;
}

.ct-connect-popup .dialog-close-button::before,
.ct-connect-popup .dialog-close-button::after {
	content: "";
	position: absolute;
	top: 12.14px;
	left: -5.28px;
	width: 36.95px;
	height: 2.11px;
	background-color: currentColor;
	transform: rotate(45deg);
}

.ct-connect-popup .dialog-close-button::after {
	transform: rotate(-45deg);
}

.ct-connect-popup .ct-connect.e-con {
	--padding-top: 70px;
	--padding-bottom: 70px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--kit-widget-spacing: 0px;
	justify-content: center;
	min-height: 100vh;
	color: var(--ct-on-dark);
}

.ct-connect-popup .ct-connect .e-con {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
}

.ct-connect-popup .ct-connect .ct-connect__inner.e-con {
	--padding-left: 160px;
	--padding-right: 160px;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
}

.ct-connect-popup .ct-connect .ct-connect__details.e-con,
.ct-connect-popup .ct-connect .ct-connect__message.e-con {
	flex: 1 1 50%;
	width: 50%;
}

/* The form column: its content sits against the right edge, 435px wide, and
 * a 1px rule runs down its left edge 20px above and 30px below the columns. */
.ct-connect-popup .ct-connect .ct-connect__message.e-con {
	--padding-left: 30px;
	--padding-bottom: 25px;
	position: relative;
	align-items: flex-end;
}

.ct-connect-popup .ct-connect .ct-connect__message.e-con::after {
	content: "";
	display: block;
	position: absolute;
	top: -20px;
	bottom: -30px;
	left: 0;
	width: 1px;
	background-color: var(--ct-on-dark);
}

.ct-connect-popup .ct-connect .ct-connect__message.e-con > .elementor-widget {
	width: 100%;
	max-width: 435px;
}

/* ---------------------------------------------------------- typography -- */
.ct-connect-popup .ct-connect__title .elementor-heading-title {
	margin: 0 0 18px;
	font-family: var(--ct-font-display);
	font-size: 38px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--ct-on-dark);
}

.ct-connect-popup .ct-connect__title--message .elementor-heading-title {
	margin-bottom: 28px;
}

.ct-connect-popup .ct-connect__name .elementor-heading-title {
	margin: 0 0 16px;
	font-family: var(--ct-font-display);
	font-size: var(--ct-size-h4);
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 1px;
	color: var(--ct-on-dark);
}

/* ------------------------------------------------------ contact details --
 * Icon in a 45px gutter; label over value, Lato 14 bold, 1.5px tracking. */
.ct-connect-popup .ct-connect .ct-connect__item.e-con {
	--padding-left: 45px;
	position: relative;
	max-width: 90%;
	margin-bottom: 21px;
}

.ct-connect-popup .ct-connect .ct-connect__item--address.e-con {
	margin-bottom: 30px;
}

.ct-connect-popup .ct-connect__icon {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	line-height: 0;
	color: var(--ct-on-dark);
}

.ct-connect-popup .ct-connect__svg {
	display: block;
}

.ct-connect-popup .ct-connect__label .elementor-heading-title,
.ct-connect-popup .ct-connect__value,
.ct-connect-popup .ct-connect__value p {
	margin: 0;
	font-family: var(--ct-font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--ct-on-dark);
}

.ct-connect-popup .ct-connect__label .elementor-heading-title {
	margin-bottom: 5px;
	line-height: 14px;
}

.ct-connect-popup .ct-connect__item--address .ct-connect__label .elementor-heading-title {
	margin-bottom: 0;
	line-height: 22.4px;
}

.ct-connect-popup .ct-connect__value,
.ct-connect-popup .ct-connect__value p {
	line-height: 22.4px;
}

/* Value links: a grey hairline, and a white rule sweeping across it on hover
 * (0.4s, live). */
.ct-connect-popup .ct-connect__value a {
	position: relative;
	line-height: 14px;
	color: inherit;
	text-decoration: none;
}

.ct-connect-popup .ct-connect__value a::before,
.ct-connect-popup .ct-connect__value a::after {
	content: "";
	position: absolute;
	top: 16px;
	left: 0;
	height: 1px;
	transition: all 0.4s ease;
}

.ct-connect-popup .ct-connect__value a::before {
	right: 0;
	background-color: #999;               /* FACT */
}

.ct-connect-popup .ct-connect__value a::after {
	right: 100%;
	background-color: var(--ct-on-dark);
}

.ct-connect-popup .ct-connect__value a:hover::after {
	right: 0;
}

.ct-connect-popup .ct-connect__social {
	padding-left: 45px;
	padding-bottom: 10px;                 /* live list box is 50px for 40px icons */
}

/* ---------------------------------------------------------------- form --
 * Label over a 26px underlined field, 40px between fields; the message box
 * fully outlined; consent in 12px bold beside a native checkbox. */
.ct-connect-popup .ct-connect__form .elementor-form-fields-wrapper {
	display: block;
	margin: 0;
}

.ct-connect-popup .ct-connect__form .elementor-form-fields-wrapper > .elementor-field-group {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0 0 40px;
	padding: 0;
}

.ct-connect-popup .ct-connect__form .elementor-field-group > .elementor-field-label {
	display: block;
	margin: 0 0 -3px;
	padding: 0;
	font-family: var(--ct-font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.63;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--ct-on-dark);
}

.ct-connect-popup .ct-connect__form .elementor-field-group .elementor-field-textual.elementor-field {
	display: block;
	width: 100%;
	height: 26px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--ct-on-dark);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: var(--ct-font-body);
	font-size: 16px;
	line-height: 25px;
	letter-spacing: 1px;
	color: var(--ct-on-dark);
}

.ct-connect-popup .ct-connect__form .elementor-field-group .elementor-field-textual.elementor-field:focus {
	outline: none;
}

.ct-connect-popup .ct-connect__form .elementor-form-fields-wrapper > .elementor-field-type-textarea {
	margin-bottom: 16px;
}

.ct-connect-popup .ct-connect__form .elementor-field-group textarea.elementor-field-textual.elementor-field {
	height: 105px;
	margin-top: 23px;
	padding: 10px;
	border: 1px solid var(--ct-on-dark);
}

.ct-connect-popup .ct-connect__form .elementor-form-fields-wrapper > .elementor-field-type-acceptance {
	margin-bottom: 16px;
}

.ct-connect-popup .ct-connect__form .elementor-field-type-acceptance .elementor-field-option {
	display: flex;
	align-items: flex-start;
}

.ct-connect-popup .ct-connect__form .elementor-field-type-acceptance input[type="checkbox"] {
	flex: 0 0 auto;
	width: 13px;
	height: 13px;
	margin: 4px 8.4px 0 0;
}

.ct-connect-popup .ct-connect__form .elementor-field-type-acceptance label {
	display: block;
	margin: 0;
	padding: 0;
	font-family: var(--ct-font-body);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.63;
	letter-spacing: 1px;
	text-align: justify;
	color: var(--ct-on-dark);
}

.ct-connect-popup .ct-connect__form .elementor-field-type-acceptance label a {
	color: inherit;
	text-decoration: underline;
}

/* Submit: the theme's inverse button (.ct-btn--inverse on the widget). */
.ct-connect-popup .ct-connect__form .elementor-form-fields-wrapper > .e-form__buttons {
	margin: 0;
}

.ct-connect-popup .ct-connect__form .e-form__buttons .elementor-button {
	width: auto;
	min-height: 0;
	padding: 20px 46px;
	cursor: pointer;
}

.ct-connect-popup .ct-connect__form .elementor-message {
	color: var(--ct-on-dark);
}

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 1365px) {
	.ct-connect-popup .ct-connect .ct-connect__inner.e-con {
		--padding-left: 80px;
		--padding-right: 80px;
	}
}

@media (max-width: 1200px) {
	.ct-connect-popup .ct-connect .ct-connect__inner.e-con {
		--padding-left: 30px;
		--padding-right: 30px;
	}

	.ct-connect-popup .ct-connect .ct-connect__details.e-con {
		--padding-right: 30px;
	}
}

/* Stacked, the form comes first, as live; the rule between them goes. */
@media (max-width: 900px) {
	.ct-connect-popup .ct-connect .ct-connect__inner.e-con {
		flex-direction: column;
	}

	.ct-connect-popup .ct-connect .ct-connect__details.e-con,
	.ct-connect-popup .ct-connect .ct-connect__message.e-con {
		flex: 0 0 auto;
		width: 100%;
	}

	.ct-connect-popup .ct-connect .ct-connect__details.e-con {
		--padding-right: 0px;
		margin-bottom: 38px;
	}

	.ct-connect-popup .ct-connect .ct-connect__message.e-con {
		--padding-left: 0px;
		order: -1;
		align-items: stretch;
	}

	.ct-connect-popup .ct-connect .ct-connect__message.e-con::after {
		content: none;
	}

	.ct-connect-popup .ct-connect .ct-connect__message.e-con > .elementor-widget {
		max-width: none;
	}
}

@media (max-width: 768px) {
	/* Live's cross moves to 4% from the top from 768 down, where Elementor's
	 * tablet range (to 1024) still holds the popup control's 8%; the control's
	 * own ID-scoped rule can only be overridden here with !important. */
	.ct-connect-popup .dialog-close-button {
		top: 4% !important;
	}

	.ct-connect-popup .ct-connect__title .elementor-heading-title {
		font-size: 28px;
	}

	.ct-connect-popup .ct-connect .ct-connect__item--email.e-con {
		margin-bottom: 25px;
	}

	.ct-connect-popup .ct-connect__form .elementor-field-group .elementor-field-textual.elementor-field {
		height: 20.5px;
	}
}

@media (max-width: 767px) {
	.ct-connect-popup .ct-connect .ct-connect__inner.e-con {
		--padding-left: 20px;
		--padding-right: 20px;
	}

	.ct-connect-popup .ct-connect__title .elementor-heading-title {
		line-height: 1.4;
	}

	.ct-connect-popup .ct-connect__title--details .elementor-heading-title {
		margin-bottom: 24px;
	}

	.ct-connect-popup .ct-connect__name .elementor-heading-title {
		margin-bottom: 13px;
		font-size: 18px;
		line-height: 1.6;
	}

	/* The icon sits above its label. */
	.ct-connect-popup .ct-connect .ct-connect__item.e-con {
		--padding-left: 0px;
	}

	.ct-connect-popup .ct-connect__icon {
		position: static;
		padding-bottom: 12.9px;
	}

	.ct-connect-popup .ct-connect__social {
		padding-left: 0;
	}

	.ct-connect-popup .ct-connect__form .elementor-field-group textarea.elementor-field-textual.elementor-field {
		margin-top: 10px;
	}

	.ct-connect-popup .ct-connect__form .e-form__buttons .elementor-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ct-connect-popup .ct-connect__value a::before,
	.ct-connect-popup .ct-connect__value a::after {
		transition: none;
	}
}
