/**
 * Contact content inside OceanWP's page template.
 * Header, footer, container, and type stay with the theme.
 */

/*
 * Legacy v1.1 rules are intentionally disabled. The v1.2 design below is the
 * single active rule set while this file remains easy to compare during rollout.
 * Remove this commented block after the production deployment is verified.
 *
.actighana-contact-page {
	max-width: 1120px;
	margin: 0 auto;
	padding: 48px 0 72px;
	color: #213d2d;
}

.actighana-contact-page__crumb {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	color: #213d2d;
	font-size: 13px;
}

.actighana-contact-page__crumb a {
	color: #6c785f;
	text-decoration: none;
}

.actighana-contact-page__crumb a:hover {
	color: #217244;
}

.actighana-contact-page__head {
	margin: 0 0 20px;
}

.actighana-contact-page__eyebrow {
	margin: 0 0 8px;
	color: #6c785f;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.actighana-contact-page__head h1 {
	margin: 0 0 10px;
	color: #1c2b22;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
}

.actighana-contact-page__head p:last-child {
	max-width: 38em;
	margin: 0;
	color: #4d5748;
	font-size: 16px;
	line-height: 1.6;
}

.actighana-contact-page__layout {
	display: grid;
	grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
	gap: 20px;
	align-items: start;
}

.actighana-contact-page__details,
.actighana-contact-page__form,
.actighana-contact-page__map {
	background: #fff;
	border: 1px solid #e6e8e2;
	border-radius: 12px;
	padding: 8px 28px 28px;
}

.actighana-contact-page h2 {
	margin: 0 0 16px;
	padding: 16px 0 12px;
	border-bottom: 2px solid #247448;
	color: #213d2d;
	font-size: 16px;
	font-weight: 700;
	display: inline-block;
}

.actighana-contact-page__details ul {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.actighana-contact-page__details li {
	display: grid;
	gap: 4px;
	padding: 14px 0;
	border-bottom: 1px solid #eef1e8;
}

.actighana-contact-page__details li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.actighana-contact-page__details li span {
	color: #6c785f;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.actighana-contact-page__details a {
	color: #213d2d;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	text-decoration: none;
}

.actighana-contact-page__details a:hover {
	color: #217244;
}

.actighana-contact-page .wpforms-container {
	margin: 4px 0 0 !important;
}

.actighana-contact-page .wpforms-field-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
}

.actighana-contact-page .wpforms-field {
	padding: 0 !important;
	margin: 0 !important;
}

.actighana-contact-page .wpforms-field-textarea,
.actighana-contact-page .wpforms-submit-container {
	grid-column: 1 / -1;
}

.actighana-contact-page .wpforms-field-label {
	display: block;
	margin: 0 0 6px;
	color: #3d4a3b;
	font-size: 14px;
	font-weight: 600;
}

.actighana-contact-page .wpforms-required-label {
	color: #217244;
}

.actighana-contact-page .wpforms-field input,
.actighana-contact-page .wpforms-field textarea {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	border: 1px solid #d5dccb !important;
	border-radius: 9px !important;
	background: #fff !important;
	color: #213d2d !important;
	font-size: 15px !important;
	box-shadow: none !important;
}

.actighana-contact-page .wpforms-field input {
	height: 48px !important;
	padding: 0 14px !important;
}

.actighana-contact-page .wpforms-field textarea {
	min-height: 140px;
	padding: 12px 14px !important;
	resize: vertical;
}

.actighana-contact-page .wpforms-field input:focus,
.actighana-contact-page .wpforms-field textarea:focus {
	border-color: #247448 !important;
	outline: 2px solid rgba(36, 116, 72, 0.15);
	outline-offset: 1px;
}

.actighana-contact-page .wpforms-submit-container {
	margin-top: 4px;
	padding: 0 !important;
}

.actighana-contact-page .wpforms-submit {
	width: 100%;
	height: 48px;
	margin: 0 !important;
	background: #247448 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 8px !important;
	padding: 16px 18px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0.2px !important;
	text-transform: none !important;
	line-height: 1.2 !important;
	cursor: pointer;
}

.actighana-contact-page .wpforms-submit:hover,
.actighana-contact-page .wpforms-submit:focus {
	background: #185735 !important;
}

.actighana-contact-page .wpforms-error {
	color: #8a3b2b !important;
	font-size: 13px;
}

.actighana-contact-page .wpforms-confirmation-container-full,
.actighana-contact-page .wpforms-confirmation-container {
	margin: 8px 0 0;
	padding: 16px 18px;
	border: 1px solid #d7e4d4;
	border-radius: 9px;
	background: #f4f8f1;
	color: #213d2d;
	font-size: 15px;
	line-height: 1.5;
}

.actighana-contact-page__map {
	margin-top: 20px;
}

.actighana-contact-page__map iframe {
	display: block;
	width: 100%;
	height: 320px;
	margin-top: 8px;
	border: 0;
	border-radius: 10px;
	background: #eef1e8;
}

.actighana-contact-page__map p {
	margin: 12px 0 0;
}

.actighana-contact-page__map a,
.actighana-contact-page__missing a {
	color: #217244;
	font-weight: 600;
	text-decoration: none;
}

.actighana-contact-page__map a:hover,
.actighana-contact-page__missing a:hover {
	color: #185735;
}

.actighana-contact-page__missing {
	margin: 8px 0 0;
	color: #4d5748;
}

@media (max-width: 860px) {
	body.actighana-contact #content-wrap {
		width: 100%;
		max-width: none;
		padding-right: 0;
		padding-left: 0;
	}

	.actighana-contact-page {
		padding: 24px 16px 56px;
	}

	.actighana-contact-page__head h1 {
		font-size: 28px;
	}

	.actighana-contact-page__head p:last-child {
		font-size: 15px;
	}

	.actighana-contact-page__layout {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.actighana-contact-page__details,
	.actighana-contact-page__form,
	.actighana-contact-page__map {
		padding: 4px 16px 18px;
	}

	.actighana-contact-page__details a {
		overflow-wrap: anywhere;
	}

	.actighana-contact-page .wpforms-field-container {
		grid-template-columns: 1fr;
	}

	.actighana-contact-page .wpforms-submit {
		height: 48px;
	}

	.actighana-contact-page__map {
		margin-top: 16px;
	}

	.actighana-contact-page__map iframe {
		height: 220px;
	}

	body.actighana-contact #scroll-top {
		display: none !important;
	}
}

*/

/* Contact page redesign, version 1.2.1. */
body.actighana-contact #main {
	background: #f5f6f1;
}

body.actighana-contact #content-wrap,
body.actighana-contact #primary {
	width: 100%;
	max-width: none;
	padding: 0;
	border: 0;
}

body.actighana-contact #content {
	margin: 0;
}

.actighana-contact-page {
	--contact-ink: #18251d;
	--contact-muted: #59655c;
	--contact-accent: #217244;
	--contact-accent-dark: #155632;
	--contact-surface: #fbfcf8;
	--contact-line: #d9dfd5;
	max-width: 1240px;
	margin: 0 auto;
	padding: 56px 32px 104px;
	color: var(--contact-ink);
	font-family: Figtree, sans-serif;
}

.actighana-contact-page *,
.actighana-contact-page *::before,
.actighana-contact-page *::after {
	box-sizing: border-box;
}

.actighana-contact-page a {
	text-underline-offset: 4px;
}

.actighana-contact-page a:focus-visible,
.actighana-contact-page button:focus-visible,
.actighana-contact-page input:focus-visible,
.actighana-contact-page textarea:focus-visible {
	outline: 3px solid rgba(33, 114, 68, 0.28);
	outline-offset: 3px;
}

.actighana-contact-page__hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
	min-height: 590px;
	margin-bottom: 96px;
	isolation: isolate;
}

.actighana-contact-page__hero::before {
	position: absolute;
	top: 28px;
	right: -32px;
	bottom: -28px;
	left: 43%;
	background: #dce8d8;
	content: "";
	z-index: -1;
}

.actighana-contact-page__hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 44px 72px 44px 0;
	z-index: 2;
}

.actighana-contact-page__crumb {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 72px;
	color: #738077;
	font-size: 13px;
	font-weight: 600;
}

.actighana-contact-page__crumb a {
	color: var(--contact-muted);
	text-decoration: none;
}

.actighana-contact-page__crumb a:hover {
	color: var(--contact-accent);
}

.actighana-contact-page__hero h1 {
	max-width: 8ch;
	margin: 0;
	color: var(--contact-ink);
	font-size: clamp(64px, 7vw, 92px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 0.92;
	overflow-wrap: normal;
	text-wrap: balance;
	word-break: normal;
}

.actighana-contact-page__intro {
	max-width: 27em;
	margin: 30px 0 0;
	color: var(--contact-muted);
	font-size: 17px;
	line-height: 1.65;
}

.actighana-contact-page__hero-link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	justify-content: flex-start;
	min-height: 50px;
	margin-top: 36px;
	padding: 10px 0;
	border-bottom: 1px solid currentColor;
	color: var(--contact-accent-dark);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: color 180ms ease, gap 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.actighana-contact-page__hero-link::after {
	display: block;
	width: 24px;
	height: 10px;
	background: currentColor;
	clip-path: polygon(0 45%, 72% 45%, 72% 0, 100% 50%, 72% 100%, 72% 55%, 0 55%);
	content: "";
}

.actighana-contact-page__hero-link:hover,
.actighana-contact-page__hero-link:focus {
	gap: 22px;
	color: var(--contact-accent);
}

.actighana-contact-page__hero-link:active {
	color: var(--contact-ink);
}

.actighana-contact-page__hero-image {
	position: relative;
	min-height: 590px;
	margin: 0;
	background: #dce4d9;
	overflow: hidden;
}

.actighana-contact-page__hero-image::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(24, 37, 29, 0.12), transparent 32%);
	content: "";
	pointer-events: none;
}

.actighana-contact-page__hero-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% center;
	transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.actighana-contact-page__hero:hover .actighana-contact-page__hero-image img {
	transform: scale(1.015);
}

.actighana-contact-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
	gap: 32px;
	align-items: start;
}

.actighana-contact-page__form,
.actighana-contact-page__details,
.actighana-contact-page__map {
	padding: 0;
	border: 1px solid var(--contact-line);
	border-radius: 16px;
	background: var(--contact-surface);
}

.actighana-contact-page__form {
	padding: 42px;
	box-shadow: 0 18px 52px rgba(42, 66, 49, 0.06);
	scroll-margin-top: 112px;
}

.actighana-contact-page__section-head {
	margin-bottom: 30px;
}

.actighana-contact-page h2 {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--contact-ink);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.actighana-contact-page__section-head p {
	max-width: 42em;
	margin: 10px 0 0;
	color: var(--contact-muted);
	font-size: 15px;
	line-height: 1.6;
}

.actighana-contact-page__sidebar {
	display: grid;
	gap: 24px;
}

.actighana-contact-page__details {
	padding: 34px;
	background: #edf3eb;
}

.actighana-contact-page__details h2 {
	font-size: 22px;
}

.actighana-contact-page__details dl {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
	margin: 30px 0 0;
}

.actighana-contact-page__details dl > div {
	min-width: 0;
}

.actighana-contact-page__details dt {
	margin: 0 0 7px;
	color: var(--contact-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.actighana-contact-page__details dd {
	margin: 0;
}

.actighana-contact-page__details a {
	color: var(--contact-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	text-decoration-color: rgba(33, 114, 68, 0.35);
	overflow-wrap: anywhere;
}

.actighana-contact-page__details a:hover {
	color: var(--contact-accent-dark);
	text-decoration-color: currentColor;
}

.actighana-contact-page__map {
	padding: 10px;
	overflow: hidden;
}

.actighana-contact-page__map-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 18px 20px;
}

.actighana-contact-page__map h2 {
	font-size: 20px;
}

.actighana-contact-page__map-head a {
	color: var(--contact-accent);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.actighana-contact-page__map-head a:hover {
	color: var(--contact-accent-dark);
}

.actighana-contact-page__map iframe {
	display: block;
	width: 100%;
	height: 300px;
	margin: 0;
	border: 0;
	border-radius: 10px;
	background: #e1e7de;
}

.actighana-contact-page .wpforms-container {
	margin: 0 !important;
}

.actighana-contact-page .wpforms-field-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.actighana-contact-page .wpforms-field {
	padding: 0 !important;
	margin: 0 !important;
}

.actighana-contact-page .wpforms-field-textarea,
.actighana-contact-page .wpforms-submit-container {
	grid-column: 1 / -1;
}

.actighana-contact-page .wpforms-field-label {
	display: block;
	margin: 0 0 8px;
	color: #344339;
	font-size: 14px;
	font-weight: 600;
}

.actighana-contact-page .wpforms-required-label {
	color: var(--contact-accent-dark);
}

.actighana-contact-page .wpforms-field input,
.actighana-contact-page .wpforms-field textarea {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	border: 1px solid #bdc8bc !important;
	border-radius: 10px !important;
	background: #fdfefb !important;
	color: var(--contact-ink) !important;
	font-family: Figtree, sans-serif !important;
	font-size: 16px !important;
	box-shadow: none !important;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.actighana-contact-page .wpforms-field input {
	height: 52px !important;
	padding: 0 15px !important;
}

.actighana-contact-page .wpforms-field textarea {
	min-height: 166px;
	padding: 14px 15px !important;
	resize: vertical;
}

.actighana-contact-page .wpforms-field input::placeholder,
.actighana-contact-page .wpforms-field textarea::placeholder {
	color: #6f7b71 !important;
	opacity: 1;
}

.actighana-contact-page .wpforms-field input:focus,
.actighana-contact-page .wpforms-field textarea:focus {
	border-color: var(--contact-accent) !important;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(33, 114, 68, 0.16) !important;
}

.actighana-contact-page .wpforms-field.wpforms-has-error input,
.actighana-contact-page .wpforms-field.wpforms-has-error textarea,
.actighana-contact-page .wpforms-field input[aria-invalid="true"],
.actighana-contact-page .wpforms-field textarea[aria-invalid="true"] {
	border-color: #9c3d32 !important;
	box-shadow: 0 0 0 3px rgba(156, 61, 50, 0.12) !important;
}

.actighana-contact-page .wpforms-submit-container {
	margin-top: 8px;
	padding: 0 !important;
}

.actighana-contact-page .wpforms-submit {
	width: auto;
	min-width: 172px;
	min-height: 52px;
	margin: 0 !important;
	padding: 14px 24px !important;
	border: 2px solid var(--contact-accent) !important;
	border-radius: 10px !important;
	background: var(--contact-accent) !important;
	color: #f8fbf7 !important;
	font-family: Figtree, sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.actighana-contact-page .wpforms-submit:hover,
.actighana-contact-page .wpforms-submit:focus {
	border-color: var(--contact-accent-dark) !important;
	background: var(--contact-accent-dark) !important;
	color: #f8fbf7 !important;
}

.actighana-contact-page .wpforms-submit:active {
	transform: translateY(1px);
}

.actighana-contact-page .wpforms-submit:disabled {
	border-color: #799684 !important;
	background: #799684 !important;
	cursor: wait;
}

.actighana-contact-page .wpforms-submit-spinner {
	width: 22px !important;
	height: 22px !important;
	margin: 0 0 0 10px !important;
	vertical-align: middle;
}

.actighana-contact-page .wpforms-error {
	color: #8c2f26 !important;
	font-size: 13px;
}

.actighana-contact-page .wpforms-confirmation-container-full,
.actighana-contact-page .wpforms-confirmation-container {
	margin: 8px 0 0;
	padding: 18px 20px;
	border: 1px solid #b9d2bd;
	border-radius: 10px;
	background: #edf6ec;
	color: var(--contact-ink);
	font-size: 15px;
	line-height: 1.55;
}

.actighana-contact-page__missing {
	margin: 8px 0 0;
	padding: 18px 20px;
	border: 1px solid #e1b9af;
	border-radius: 10px;
	background: #fff4f1;
	color: #69342d;
	line-height: 1.6;
}

.actighana-contact-page__missing a {
	color: #6f261e;
	font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
	.actighana-contact-page__hero-link,
	.actighana-contact-page__hero-image img,
	.actighana-contact-page .wpforms-field input,
	.actighana-contact-page .wpforms-field textarea,
	.actighana-contact-page .wpforms-submit {
		transition: none;
	}

	.actighana-contact-page__hero:hover .actighana-contact-page__hero-image img {
		transform: none;
	}
}

@media (prefers-contrast: more) {
	.actighana-contact-page {
		--contact-muted: #344339;
		--contact-line: #8a978b;
	}

	.actighana-contact-page__hero,
	.actighana-contact-page__form,
	.actighana-contact-page__details,
	.actighana-contact-page__map {
		box-shadow: none;
	}
}

@media (max-width: 980px) {
	.actighana-contact-page {
		padding: 36px 24px 80px;
	}

	.actighana-contact-page__hero {
		grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
		min-height: 500px;
		margin-bottom: 72px;
	}

	.actighana-contact-page__hero::before {
		right: -24px;
		bottom: -22px;
		left: 39%;
	}

	.actighana-contact-page__hero-copy {
		padding: 36px 42px 36px 0;
	}

	.actighana-contact-page__crumb {
		margin-bottom: 48px;
	}

	.actighana-contact-page__hero-image {
		min-height: 500px;
	}

	.actighana-contact-page__layout {
		grid-template-columns: 1fr;
	}

	.actighana-contact-page__sidebar {
		grid-template-columns: 1fr 1fr;
	}

	.actighana-contact-page__details dl {
		grid-template-columns: 1fr 1fr;
		gap: 24px 18px;
	}
}

@media (max-width: 720px) {
	.actighana-contact-page {
		width: 100%;
		padding: 20px 16px 64px;
	}

	.actighana-contact-page__hero {
		grid-template-columns: 1fr;
		min-height: 0;
		margin-bottom: 56px;
	}

	.actighana-contact-page__hero::before {
		top: auto;
		right: -16px;
		bottom: -18px;
		left: 28px;
		height: 55%;
	}

	.actighana-contact-page__hero-copy {
		padding: 16px 8px 40px;
	}

	.actighana-contact-page__crumb {
		margin-bottom: 44px;
	}

	.actighana-contact-page__hero h1 {
		font-size: clamp(44px, 15vw, 60px);
	}

	.actighana-contact-page__intro {
		margin-top: 18px;
		font-size: 16px;
	}

	.actighana-contact-page__hero-link {
		width: auto;
		margin-top: 28px;
	}

	.actighana-contact-page__hero-image {
		min-height: 290px;
	}

	.actighana-contact-page__hero-image::after {
		background: linear-gradient(180deg, rgba(24, 37, 29, 0.1), transparent 32%);
	}

	.actighana-contact-page__layout,
	.actighana-contact-page__sidebar {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.actighana-contact-page__form {
		padding: 28px 20px;
	}

	.actighana-contact-page__details {
		padding: 28px 24px;
	}

	.actighana-contact-page__details dl {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.actighana-contact-page .wpforms-field-container {
		grid-template-columns: 1fr;
	}

	.actighana-contact-page .wpforms-submit {
		width: 100%;
	}

	.actighana-contact-page__map iframe {
		height: 250px;
	}

	body.actighana-contact #scroll-top {
		display: none !important;
	}
}
