/* Homepage automation, responsive refinements, and survey modal — NLF Content Model v0.6.11. */

#upcoming-sessions .event-card[hidden] {
	display: none !important;
}

#upcoming-sessions .event-card img {
	object-fit: cover !important;
	object-position: right center !important;
}

#upcoming-sessions .event-topic {
	display: none !important;
}

.nlf-footer-survey .nlf-survey-form {
	max-width: 475px;
}

.nlf-footer-survey .nlf-survey-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
}

.nlf-footer-survey .nlf-survey-prompt {
	max-width: none;
	margin: 0 !important;
	font-size: 16px !important;
	font-weight: 400;
	line-height: 1.2 !important;
}

.nlf-footer-survey .nlf-survey-open {
	min-width: 185px;
	min-height: 58px;
	padding: 12px 18px !important;
	white-space: nowrap;
}

body.nlf-survey-modal-open {
	overflow: hidden;
}

.nlf-survey-modal[hidden] {
	display: none !important;
}

.nlf-survey-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 28px;
}

.nlf-survey-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 38, 56, 0.78);
}

.nlf-survey-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(760px, 100%);
	max-height: calc(100vh - 56px);
	overflow: auto;
	box-sizing: border-box;
	padding: clamp(34px, 5vw, 62px);
	background: #f4f0e8;
	color: #17120f;
	box-shadow: 0 22px 70px rgba(5, 22, 33, 0.3);
}

.nlf-survey-modal__close {
	position: absolute;
	top: 13px;
	right: 17px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #0b2638;
	font: 400 38px/1 Georgia, "Times New Roman", serif;
	cursor: pointer;
}

.nlf-survey-modal__title {
	margin: 0 48px 18px 0 !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 3.5vw, 44px) !important;
	font-weight: 500;
	line-height: 1.04 !important;
	letter-spacing: -0.015em;
	white-space: nowrap;
}

.nlf-survey-modal__description {
	max-width: 660px;
	margin: 0 0 34px !important;
	font-size: 17px !important;
	line-height: 1.5 !important;
}

.nlf-survey-modal__notice {
	margin: 0 0 28px !important;
	padding: 15px 17px;
	border-left: 4px solid #285b8f;
	background: rgba(174, 200, 241, 0.42);
	font-size: 16px !important;
	line-height: 1.45 !important;
}

.nlf-survey-modal__notice--error {
	border-left-color: #b34f38;
	background: rgba(179, 79, 56, 0.1);
}

.nlf-survey-modal__form {
	margin: 0;
}

.nlf-survey-modal__field {
	margin: 0 0 25px;
}

.nlf-survey-modal__field label {
	display: block;
	margin: 0 0 7px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.2;
}

.nlf-survey-modal__sr-label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.nlf-survey-modal__help {
	margin: 10px 0 0 !important;
	color: #3f4850;
	font-size: 14px !important;
	line-height: 1.42 !important;
}

.nlf-survey-modal textarea,
.nlf-survey-modal input[type="email"] {
	display: block;
	width: 100%;
	margin: 0;
	border: 1px solid #a8a49e;
	border-radius: 0;
	background: #ffffff;
	color: #17120f;
	font: inherit;
	font-size: 17px;
	box-sizing: border-box;
}

.nlf-survey-modal textarea::placeholder,
.nlf-survey-modal input[type="email"]::placeholder {
	color: #65717c;
	opacity: 1;
}

.nlf-survey-modal textarea {
	min-height: 170px;
	padding: 15px 17px;
	resize: vertical;
}

.nlf-survey-modal input[type="email"] {
	min-height: 56px;
	padding: 12px 17px;
}

.nlf-survey-modal__close:focus-visible,
.nlf-survey-modal__submit:focus-visible {
	outline: 3px solid #aec8f1;
	outline-offset: 3px;
}

.nlf-survey-modal textarea:focus,
.nlf-survey-modal input[type="email"]:focus {
	border-color: #6d6963;
	outline: none !important;
	box-shadow: none !important;
}

.nlf-survey-modal__submit {
	min-height: 56px;
	padding: 13px 28px;
	border: 1px solid #285b8f !important;
	border-radius: 0;
	background: #285b8f !important;
	color: #ffffff !important;
	font: 700 17px/1.2 Georgia, "Times New Roman", serif;
	cursor: pointer;
}

.nlf-survey-modal__submit:hover,
.nlf-survey-modal__submit:focus-visible {
	border-color: #326da7 !important;
	background: #326da7 !important;
}

.nlf-survey-modal__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 780px) {
	html,
	body.home,
	body.home .wp-site-blocks {
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: hidden !important;
	}

	body.home *,
	body.home *::before,
	body.home *::after {
		box-sizing: border-box;
	}

	body.home .nlf-site-header,
	body.home .nlf-site-header > .wp-block-group,
	body.home .nlf-header-inner,
	body.home #find-your-group.advice-section.alignfull,
	body.home .nlf-footer-block.alignfull,
	body.home .nlf-footer-main,
	body.home .nlf-footer-bottom {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	body.home .nlf-site-header {
		left: 50% !important;
		width: 100vw !important;
		max-width: none !important;
		margin-right: -50vw !important;
		margin-left: -50vw !important;
		padding: 10px 8px !important;
		overflow: hidden !important;
	}

	body.home .nlf-header-inner {
		padding: 0 !important;
	}

	body.home .nlf-header-row {
		display: flex !important;
		flex-flow: row nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 10px !important;
		width: 100% !important;
		min-height: 56px !important;
		margin: 0 !important;
	}

	body.home .nlf-header-logo {
		flex: 0 0 104px !important;
		width: 104px !important;
		max-width: 104px !important;
		margin: 0 !important;
	}

	body.home .nlf-header-logo img {
		display: block !important;
		width: 104px !important;
		height: auto !important;
		max-width: 100% !important;
	}

	body.home .nlf-header-row > nav.nlf-main-nav {
		position: static !important;
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		margin: 0 !important;
		transform: none !important;
	}

	body.home nav.nlf-main-nav > .wp-block-navigation__responsive-container-open,
	body.home nav.nlf-main-nav .wp-block-navigation__responsive-container-close {
		display: none !important;
	}

	body.home nav.nlf-main-nav > .wp-block-navigation__responsive-container,
	body.home nav.nlf-main-nav .wp-block-navigation__responsive-close,
	body.home nav.nlf-main-nav .wp-block-navigation__responsive-dialog,
	body.home nav.nlf-main-nav .wp-block-navigation__responsive-container-content {
		position: static !important;
		inset: auto !important;
		display: block !important;
		width: auto !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		visibility: visible !important;
		opacity: 1 !important;
		transform: none !important;
		background: transparent !important;
		color: #fff !important;
	}

	body.home nav.nlf-main-nav ul.wp-block-navigation__container,
	body.home nav.nlf-main-nav ul.nlf-main-nav {
		display: flex !important;
		flex-flow: row nowrap !important;
		align-items: center !important;
		justify-content: flex-end !important;
		gap: 0 !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.home nav.nlf-main-nav li.wp-block-navigation-item {
		position: relative !important;
		flex: 0 0 auto !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.home nav.nlf-main-nav li.wp-block-navigation-item + li.wp-block-navigation-item {
		margin-left: 9px !important;
		padding-left: 10px !important;
	}

	body.home nav.nlf-main-nav li.wp-block-navigation-item + li.wp-block-navigation-item::before {
		position: absolute;
		top: 50%;
		left: 0;
		display: block !important;
		width: 1px;
		height: 15px;
		background: rgba(255, 255, 255, 0.55);
		content: "";
		transform: translateY(-50%);
	}

	body.home nav.nlf-main-nav a.wp-block-navigation-item__content {
		display: block !important;
		padding: 8px 0 !important;
		color: #fff !important;
		font-size: 13px !important;
		line-height: 1.1 !important;
		white-space: nowrap !important;
	}

	body.home main#wp--skip-link--target {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 18px 18px 0 !important;
	}

	body.home .nlf-hero {
		display: flex !important;
		flex-direction: column !important;
		gap: 34px !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 18px 0 8px !important;
	}

	body.home .nlf-hero-copy,
	body.home .nlf-hero-title-group,
	body.home .nlf-hero-title,
	body.home .nlf-hero-description,
	body.home .nlf-hero-actions {
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
	}

	body.home .nlf-hero-copy {
		flex: 0 0 auto !important;
		margin: 0 !important;
	}

	body.home .nlf-hero-title-group {
		padding-left: 14px !important;
	}

	body.home .nlf-hero-title-group::before {
		left: 0 !important;
	}

	body.home .nlf-hero-title {
		margin: 0 !important;
		font-size: clamp(31px, 8.4vw, 36px) !important;
		line-height: 1.02 !important;
		letter-spacing: -0.02em !important;
		word-break: normal !important;
		overflow-wrap: normal !important;
		hyphens: none !important;
	}

	body.home .nlf-hero-description {
		font-size: 15px !important;
		line-height: 1.42 !important;
	}

	body.home .nlf-hero-actions {
		display: flex !important;
		flex-flow: row nowrap !important;
		align-items: center !important;
		gap: 12px !important;
		margin-top: 20px !important;
	}

	body.home .nlf-hero-primary,
	body.home .nlf-hero-secondary {
		flex: 0 0 auto !important;
		width: auto !important;
		min-width: 0 !important;
		margin: 0 !important;
	}

	body.home .nlf-hero-primary a,
	body.home .nlf-hero-secondary a {
		width: auto !important;
		min-width: 0 !important;
		white-space: nowrap !important;
	}

	body.home .nlf-hero-primary a {
		padding: 11px 14px !important;
		font-size: 14px !important;
	}

	body.home .nlf-hero-secondary a {
		padding: 8px 0 !important;
		font-size: 13px !important;
	}

	body.home .nlf-hero-image {
		width: min(270px, 80vw) !important;
		max-width: 80vw !important;
		margin: 0 auto !important;
	}

	body.home #find-your-group.advice-section.alignfull {
		position: relative !important;
		isolation: isolate;
		margin-top: 50px !important;
		padding: 42px 0 82px !important;
		overflow: hidden !important;
	}

	body.home #find-your-group .advice-background {
		position: absolute !important;
		inset: 0 !important;
		z-index: 0 !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		overflow: hidden !important;
	}

	body.home #find-your-group .advice-background img {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		object-fit: cover !important;
		object-position: center center !important;
		transform: scale(1.14);
		transform-origin: center center;
	}

	body.home #find-your-group .advice-panel {
		display: block !important;
		position: relative !important;
		top: auto !important;
		left: auto !important;
		z-index: 1 !important;
		width: calc(100% - 28px) !important;
		max-width: none !important;
		margin: 0 auto !important;
		padding: 28px 18px 34px !important;
		transform: none !important;
	}

	body.home #find-your-group .advice-panel,
	body.home #find-your-group .advice-form-area,
	body.home #find-your-group .fluentform,
	body.home #find-your-group .fluent_form_3,
	body.home #find-your-group .fluent_form_3 form,
	body.home #find-your-group .fluent_form_3 fieldset,
	body.home #find-your-group .fluent_form_3 .ff-t-container,
	body.home #find-your-group .fluent_form_3 .ff-t-cell,
	body.home #find-your-group .fluent_form_3 .ff-el-group,
	body.home #find-your-group .fluent_form_3 .ff-el-input--label,
	body.home #find-your-group .fluent_form_3 .ff-el-input--content,
	body.home #find-your-group .fluent_form_3 .choices,
	body.home #find-your-group .fluent_form_3 .select2-container,
	body.home #find-your-group #fluentform_3,
	body.home #find-your-group #fluentform_3 fieldset,
	body.home #find-your-group #fluentform_3 .ff-t-container,
	body.home #find-your-group #fluentform_3 .ff-t-cell,
	body.home #find-your-group #fluentform_3 .ff-el-group,
	body.home #find-your-group #fluentform_3 .ff-el-input--label,
	body.home #find-your-group #fluentform_3 .ff-el-input--content,
	body.home #find-your-group #fluentform_3 .choices,
	body.home #find-your-group #fluentform_3 .select2-container {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	body.home #find-your-group .advice-form-area,
	body.home #find-your-group .fluentform,
	body.home #find-your-group .fluentform_wrapper_3,
	body.home #find-your-group #fluentform_3,
	body.home #find-your-group form[data-form_id="3"],
	body.home #find-your-group .fluentform form,
	body.home #find-your-group .fluentform fieldset {
		display: block !important;
	}

	body.home #find-your-group .fluentform form:not(.nlf-group-finder--create) .nlf-group-finder-filter-field:not([hidden]) {
		display: block !important;
	}

	body.home #find-your-group .fluent_form_3 input,
	body.home #find-your-group .fluent_form_3 select,
	body.home #find-your-group .fluent_form_3 textarea,
	body.home #find-your-group #fluentform_3 input,
	body.home #find-your-group #fluentform_3 select,
	body.home #find-your-group #fluentform_3 textarea {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}

	.nlf-footer-survey .nlf-survey-form {
		max-width: none;
	}

	.nlf-footer-survey .nlf-survey-row {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.nlf-footer-survey .nlf-survey-open {
		width: 100%;
		margin-top: 0;
	}

	body.home .nlf-footer-block.alignfull,
	body.home .nlf-footer-main,
	body.home .nlf-footer-bottom,
	body.home .nlf-footer-navrow,
	body.home .nlf-footer-about,
	body.home .nlf-footer-survey {
		box-sizing: border-box !important;
		min-width: 0 !important;
	}

	body.home .nlf-footer-main {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 40px !important;
		padding: 44px 18px 48px !important;
	}

	body.home .nlf-footer-about,
	body.home .nlf-footer-survey {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	body.home .nlf-footer-survey .nlf-footer-title,
	body.home .nlf-footer-survey .nlf-survey-form {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	body.home .nlf-footer-survey .nlf-footer-title {
		font-size: 24px !important;
		line-height: 1.08 !important;
	}

	body.home .nlf-footer-survey .nlf-survey-prompt {
		font-size: 14px !important;
		line-height: 1.32 !important;
	}

	body.home .nlf-footer-survey .nlf-survey-open {
		justify-self: start !important;
		width: auto !important;
		min-width: 175px !important;
	}

	body.home #upcoming-sessions .event-card {
		margin-bottom: 34px !important;
		padding-bottom: 8px !important;
	}

	body.home .nlf-footer-navrow {
		display: flex !important;
		flex-flow: column nowrap !important;
		gap: 8px !important;
		align-items: flex-start !important;
		justify-content: flex-start !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body.home .nlf-footer-logo {
		display: none !important;
	}
}

@media (max-width: 560px) {
	.nlf-survey-modal {
		align-items: end;
		padding: 0;
	}

	.nlf-survey-modal__dialog {
		width: 100%;
		max-height: 92vh;
		padding: 58px 22px 28px;
	}

	.nlf-survey-modal__title {
		margin-right: 0 !important;
		font-size: clamp(23px, 6.6vw, 27px) !important;
		white-space: nowrap;
	}

	.nlf-survey-modal__description {
		margin-bottom: 27px !important;
		font-size: 16px !important;
	}

	.nlf-survey-modal__field label {
		font-size: 19px;
	}

	.nlf-survey-modal textarea {
		min-height: 145px;
	}

	.nlf-survey-modal__submit {
		width: 100%;
	}
}

/* ================================================================
 * v0.6.8 — measured mobile finder and final homepage alignment
 * ================================================================ */
.nlf-footer-survey .nlf-survey-form {
	width: 100% !important;
	max-width: none !important;
}

.nlf-footer-survey .nlf-survey-row {
	width: 100%;
	grid-template-columns: minmax(0, 1fr) auto;
}

.nlf-footer-survey .nlf-survey-open {
	justify-self: end;
}

@media (max-width: 780px) {
	body.home,
	body.home .wp-site-blocks,
	body.home footer.wp-block-template-part,
	body.home .nlf-site-header,
	body.home .nlf-footer-block.alignfull {
		position: relative !important;
		left: auto !important;
		right: auto !important;
		width: 100% !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		transform: none !important;
	}

	body.home .wp-site-blocks,
	body.home footer.wp-block-template-part {
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	body.home .nlf-site-header {
		padding: 9px 10px !important;
	}

	body.home .nlf-header-logo {
		flex-basis: 110px !important;
		width: 110px !important;
		max-width: 110px !important;
	}

	body.home .nlf-header-logo img {
		width: 110px !important;
	}

	body.home nav.nlf-main-nav a.wp-block-navigation-item__content {
		font-size: 13.5px !important;
	}

	body.home main#wp--skip-link--target {
		padding-right: 14px !important;
		padding-left: 14px !important;
	}

	body.home .nlf-hero-description {
		font-size: 16.5px !important;
		line-height: 1.43 !important;
	}

	body.home .nlf-hero-primary a {
		padding: 12px 16px !important;
		font-size: 15px !important;
	}

	body.home .nlf-hero-secondary a {
		font-size: 14px !important;
	}

	body.home #upcoming-sessions .event-card {
		margin-bottom: 43px !important;
		padding-bottom: 12px !important;
	}

	body.home #upcoming-sessions .event-card:last-of-type {
		margin-bottom: 10px !important;
		padding-bottom: 0 !important;
	}

	body.home #upcoming-sessions .event-schedule-link {
		margin-top: -8px !important;
		padding-top: 0 !important;
	}

	body.home #find-your-group.advice-section.alignfull {
		height: auto !important;
		min-height: calc(var(--nlf-home-finder-panel-height, 520px) + 134px) !important;
		padding: 42px 0 92px !important;
		overflow: hidden !important;
	}

	body.home #find-your-group .advice-panel {
		position: relative !important;
		top: auto !important;
		right: auto !important;
		bottom: auto !important;
		left: auto !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		transform: none !important;
	}

	body.home #find-your-group .advice-form-area,
	body.home #find-your-group .fluentform,
	body.home #find-your-group .fluentform_wrapper_3,
	body.home #find-your-group #fluentform_3,
	body.home #find-your-group #fluentform_3 fieldset {
		position: static !important;
		inset: auto !important;
		display: block !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		overflow: visible !important;
		transform: none !important;
	}

	body.home #find-your-group .advice-background img {
		object-position: center 58% !important;
		transform: scale(1.18) !important;
	}

	body.home .nlf-footer-main,
	body.home .nlf-footer-bottom,
	body.home .nlf-footer-navrow {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
	}

	body.home .nlf-footer-survey .nlf-survey-prompt {
		font-size: 15.5px !important;
		line-height: 1.35 !important;
	}

	body.home .nlf-footer-survey .nlf-survey-open {
		min-width: 184px !important;
		font-size: 15px !important;
	}
}

/* ================================================================
 * v0.6.10 — final homepage desktop placement and phone composition
 * ================================================================ */
@media (min-width: 781px) {
	/* Keep the question prompt and its action together beneath the heading.
	 * This restores the authored mockup instead of sending the button to the
	 * far edge of the entire survey column. */
	.nlf-footer-survey .nlf-survey-form {
		width: min(100%, 512px) !important;
		max-width: 512px !important;
		margin-right: auto !important;
		margin-left: clamp(28px, 2.2vw, 42px) !important;
	}

	.nlf-footer-survey .nlf-survey-row {
		grid-template-columns: minmax(0, 1fr) auto !important;
		width: 100% !important;
	}

	.nlf-footer-survey .nlf-survey-open {
		justify-self: start !important;
	}
}

@media (max-width: 780px) {
	/* Use the viewport itself as the full-bleed reference. The usual 50vw
	 * left-offset technique double-shifts some Safari template-part wrappers. */
	body.home header.wp-block-template-part,
	body.home footer.wp-block-template-part,
	body.home .nlf-site-header,
	body.home .nlf-footer-block.alignfull {
		left: auto !important;
		right: auto !important;
		width: 100vw !important;
		max-width: 100vw !important;
		margin-right: calc(50% - 50vw) !important;
		margin-left: calc(50% - 50vw) !important;
	}

	body.home .nlf-site-header {
		padding: 9px 8px !important;
	}

	body.home .nlf-header-logo {
		flex-basis: 114px !important;
		width: 114px !important;
		max-width: 114px !important;
	}

	body.home .nlf-header-logo img {
		width: 114px !important;
	}

	body.home nav.nlf-main-nav a.wp-block-navigation-item__content {
		font-size: 13.75px !important;
	}

	body.home main#wp--skip-link--target {
		padding-right: 22px !important;
		padding-left: 22px !important;
	}

	body.home .nlf-hero {
		gap: 36px !important;
		padding-top: 28px !important;
		padding-bottom: 12px !important;
	}

	body.home .nlf-hero-image {
		width: min(254px, 76vw) !important;
		max-width: 76vw !important;
		margin-right: 20px !important;
		margin-left: auto !important;
		transform: translateX(-6px) !important;
	}

	body.home .nlf-hero-image img {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		max-width: 100% !important;
	}

	body.home #find-your-group.advice-section.alignfull {
		min-height: calc(var(--nlf-home-finder-panel-height, 520px) + 118px) !important;
		margin-top: 20px !important;
		padding: 30px 0 84px !important;
		scroll-margin-top: 78px !important;
	}

	body.home #find-your-group .advice-background img {
		object-position: center 54% !important;
		transform: scale(1.04) !important;
	}

	body.home #find-your-group .advice-panel {
		width: calc(100% - 44px) !important;
		margin-right: auto !important;
		margin-left: auto !important;
	}

	/* Once Form 3 stacks on a phone, the desktop blue label tiles become a
	 * second set of cards. Keep the wording and remove only those backgrounds. */
	body.home #find-your-group .fluent_form_3 .ff-el-input--label,
	body.home #find-your-group #fluentform_3 .ff-el-input--label,
	body.home #find-your-group .fluent_form_3 .ff-el-input--label label,
	body.home #find-your-group #fluentform_3 .ff-el-input--label label {
		min-height: 0 !important;
		margin: 0 0 7px !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: #fff !important;
	}
}

/* ================================================================
 * v0.6.12 — measured mobile flow and final homepage copy layout
 * ================================================================ */
@media (max-width: 780px) {
	body.home > .wp-site-blocks,
	body.home header.wp-block-template-part,
	body.home footer.wp-block-template-part,
	body.home header.wp-block-template-part > .nlf-site-header,
	body.home footer.wp-block-template-part > .nlf-footer-block {
		position: relative !important;
		left: 0 !important;
		right: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		transform: none !important;
		box-sizing: border-box !important;
	}

	body.home > .wp-site-blocks {
		width: 100vw !important;
		min-width: 100vw !important;
		max-width: 100vw !important;
	}

	body.home main#wp--skip-link--target {
		padding-right: 26px !important;
		padding-left: 26px !important;
	}

	body.home .nlf-hero {
		padding-top: 34px !important;
	}

	body.home .nlf-hero-image {
		width: min(260px, 77vw) !important;
		max-width: 77vw !important;
		margin-top: 3px !important;
		margin-bottom: 3px !important;
		transform: translateX(-8px) !important;
	}

	body.home #find-your-group.advice-section.alignfull {
		margin-top: 4px !important;
		padding: 20px 0 52px !important;
		scroll-margin-top: 72px !important;
	}

	body.home #find-your-group .advice-background img {
		object-position: center 52% !important;
		transform: scale(1) !important;
	}

	body.home .nlf-footer-block.alignfull {
		position: relative !important;
		z-index: 3 !important;
		display: block !important;
		clear: both !important;
		height: auto !important;
		min-height: 0 !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	body.home .nlf-footer-main {
		position: relative !important;
		display: grid !important;
		height: auto !important;
		min-height: 440px !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
}

/* ================================================================
 * v0.6.13 — deterministic iPhone header width
 *
 * Paint the template-part wrapper itself navy and size both wrapper and inner
 * header from the dynamic viewport. This avoids the narrow inherited Gutenberg
 * content box that left a small white strip on the right in mobile Safari.
 * ================================================================ */
@media (max-width: 780px) {
	body.home header.wp-block-template-part,
	body.home header.wp-block-template-part > .nlf-site-header {
		position: relative !important;
		left: 0 !important;
		right: auto !important;
		width: 100vw !important;
		width: 100dvw !important;
		min-width: 100vw !important;
		min-width: 100dvw !important;
		max-width: 100vw !important;
		max-width: 100dvw !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		background: #09283a !important;
		transform: none !important;
		box-sizing: border-box !important;
	}

	body.home header.wp-block-template-part {
		left: 50% !important;
		transform: translateX(-50%) !important;
	}

	body.home header.wp-block-template-part > .nlf-site-header {
		left: 0 !important;
		padding: 9px 9px !important;
		transform: none !important;
	}

	body.home .nlf-site-header .nlf-header-row {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.home .nlf-header-logo {
		flex: 0 0 120px !important;
		width: 120px !important;
		max-width: 120px !important;
	}

	body.home .nlf-header-logo img {
		width: 120px !important;
		max-width: 120px !important;
	}

	body.home nav.nlf-main-nav a.wp-block-navigation-item__content,
	body.home .nlf-cm-fallback-nav a {
		font-size: 14.25px !important;
	}
}

/* ================================================================
 * v0.6.14 — normal-flow phone finder and guaranteed closing section
 *
 * Fluent Forms is allowed to determine its own height. This keeps the painted
 * finder, the light-blue About/survey block, and the legal footer as three
 * consecutive flow items even after the form reveals its create-group fields.
 * ================================================================ */
@media (max-width: 780px) {
	body.home > .wp-site-blocks {
		display: block !important;
		height: auto !important;
		min-height: 100% !important;
		overflow-y: visible !important;
	}

	body.home header.wp-block-template-part > .nlf-site-header {
		padding-left: 13px !important;
	}

	body.home .nlf-header-logo {
		box-sizing: border-box !important;
		padding-left: 3px !important;
		overflow: visible !important;
	}

	body.home .nlf-header-logo img {
		transform: none !important;
	}

	body.home #find-your-group.advice-section.alignfull,
	body.home #find-your-group.nlf-home-finder-mobile-ready {
		position: relative !important;
		display: block !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		float: none !important;
		clear: both !important;
		contain: none !important;
		content-visibility: visible !important;
	}

	body.home #find-your-group .advice-panel {
		position: relative !important;
		display: block !important;
		height: auto !important;
		max-height: none !important;
		float: none !important;
	}

	body.home .nlf-footer-block.alignfull {
		position: relative !important;
		inset: auto !important;
		z-index: 4 !important;
		display: block !important;
		flex: none !important;
		float: none !important;
		clear: both !important;
		width: 100vw !important;
		width: 100dvw !important;
		max-width: 100vw !important;
		max-width: 100dvw !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		visibility: visible !important;
		opacity: 1 !important;
		contain: none !important;
		content-visibility: visible !important;
		transform: none !important;
		background: #aec8f1 !important;
	}

	body.home .nlf-footer-main {
		position: relative !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		width: 100% !important;
		height: auto !important;
		min-height: 440px !important;
		visibility: visible !important;
		opacity: 1 !important;
		transform: none !important;
		background: #aec8f1 !important;
	}
}

/* v0.6.16: Give the Home phone logo one more restrained optical inset. */
@media (max-width: 780px) {
	body.home .nlf-header-logo {
		flex-basis: 122px !important;
		width: 122px !important;
		max-width: 122px !important;
		transform: translateX(12px) !important;
	}

	body.home .nlf-header-logo img {
		width: 122px !important;
		max-width: 122px !important;
	}

	body.home nav.nlf-main-nav a.wp-block-navigation-item__content,
	body.home .nlf-cm-fallback-nav a {
		font-size: 14.5px !important;
	}
}
