.ns-form { color: var(--navy); }
.ns-form .ns-form-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: .85rem 1rem;
}
.ns-form .ns-form-grid > p:empty { display: none; }
.ns-form .ns-form-grid p { margin: 0; }
.ns-form .ns-form-grid br { display: none; }
.ns-form .ns-form-field { display: grid; gap: .3rem; align-content: start; font-weight: 650; font-size: .92rem; }
.ns-form :is(.ns-form-wide,.ns-form-consent) { grid-column: 1 / -1; }
.ns-form .wpcf7-form-control-wrap { display: block; min-width: 0; }
.ns-form :is(input:not([type=checkbox],[type=submit],[type=hidden]),textarea,select) {
	display: block; width: 100%; min-height: 46px; padding: .6rem .72rem;
	color: var(--navy); background: white; border: 1px solid #a8c1d0; font: inherit; font-size: 1rem; font-weight: 400;
}
.ns-form textarea { height: 7.5rem; min-height: 6rem; max-height: 19rem; resize: vertical; }
.ns-form .ns-form-consent { color: #354f61; font-size: .88rem; line-height: 1.45; }
.ns-form .wpcf7-list-item { display: block; margin: 0; }
.ns-form .wpcf7-list-item label { display: grid; grid-template-columns: 1rem minmax(0,1fr); gap: .55rem; align-items: start; }
.ns-form .wpcf7-list-item input { width: 1rem; height: 1rem; margin: .125rem 0 0; }
.ns-form .wpcf7-submit {
	min-height: 44px; border: 1px solid var(--accent); padding: .65rem 1.45rem;
	color: white; background: var(--accent); font: inherit; font-weight: 650;
}
.ns-form .wpcf7-submit:hover { background: #08588c; }
.ns-form .wpcf7-submit:disabled { opacity: .65; cursor: default; }
.ns-form .wpcf7-spinner { vertical-align: middle; margin: 0 .5rem; }
.ns-form .wpcf7-response-output { margin: .9rem 0 0; padding: .55rem .75rem; font-size: .93rem; }
.ns-form [aria-invalid=true] { border-color: #ae3534; }
.ns-form .wpcf7-not-valid-tip { color: #a32b2c; font-size: .84rem; margin-top: .25rem; }
.ns-form :is(.ns-form-consent, .wpcf7-response-output) a { color: var(--accent); text-decoration: underline; }
.ns-news h2 { max-width: 24ch; font-size: clamp(1.55rem,2.6vw,2.5rem); line-height: 1.11; }
@media (max-width: 570px) {
	.ns-form .ns-form-grid { grid-template-columns: 1fr; }
}

html:has(.ns-contact-dialog[open]) { overflow: hidden; }
.ns-contact-dialog {
	width: min(38rem, calc(100% - 1.5rem));
	max-height: calc(100dvh - 2rem);
	margin: auto;
	padding: 0;
	border: 0;
	color: var(--navy);
	background: #fff;
	box-shadow: 0 1.5rem 5rem #081d3259;
	overscroll-behavior: contain;
}
.ns-contact-dialog::backdrop { background: rgb(6 28 43 / 74%); }
.ns-dialog-header {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .85rem clamp(1.1rem, 3vw, 2rem);
	background: #0d3349;
	color: white;
}
.ns-dialog-header h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.045em; }
.ns-dialog-header button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #ffffff66;
	color: inherit;
	background: transparent;
	font-size: 1.9rem;
	line-height: 1;
}
.ns-dialog-header button:hover { background: #ffffff1f; }
.ns-dialog-header button:focus-visible { outline-color: white; }
.ns-dialog-body { padding: clamp(1.1rem, 3vw, 2rem); }
.ns-dialog-body .ns-form :is(input, textarea, a) { scroll-margin-top: 5rem; }
