/*
 * IP Custom — Listeo minimal search widget
 *
 * The selectors intentionally stay inside the Elementor widget wrapper. The
 * theme header search and all other Listeo forms retain their native styles.
 */
.elementor-widget-listeo-minimal-search-form .listeo-minimal-search-form-wrapper .main-search-input {
	align-items: center;
	border: 1px solid rgba(15, 23, 42, 0.10) !important;
	box-sizing: border-box;
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
}

.elementor-widget-listeo-minimal-search-form .listeo-minimal-search-form-wrapper .main-search-input-item {
	flex: 1 1 auto;
	min-width: 0;
	margin-bottom: 0;
}

.elementor-widget-listeo-minimal-search-form .listeo-minimal-search-form-wrapper .main-search-input > .button {
	align-items: center;
	background: #53c5fb !important;
	border: 1px solid rgba(83, 197, 251, 0.65) !important;
	border-radius: 50% !important;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08) !important;
	color: #ffffff !important;
	display: inline-flex;
	flex: 0 0 48px;
	height: 48px;
	justify-content: center;
	margin: 0;
	max-width: 48px;
	min-width: 48px;
	padding: 0;
	width: 48px;
}

.elementor-widget-listeo-minimal-search-form .listeo-minimal-search-form-wrapper .main-search-input > .button:hover,
.elementor-widget-listeo-minimal-search-form .listeo-minimal-search-form-wrapper .main-search-input > .button:focus-visible {
	background: #42b8ef !important;
	border-color: rgba(66, 184, 239, 0.8) !important;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.12) !important;
	color: #ffffff !important;
}

.elementor-widget-listeo-minimal-search-form .listeo-minimal-search-form-wrapper .main-search-input > .button .gg-search {
	color: currentColor;
	display: block;
	margin: 0;
	transform: scale(1.05);
}

/*
 * Home 2 is a landing surface, not a results page. Keep the primary search
 * deliberately separated from Listeo's global header so the two controls do
 * not read as a single, crowded form. Every selector stays within this one
 * Elementor page; archives, listings and the theme header are untouched.
 */
body.page-id-179990 .elementor-179990 .elementor-element.elementor-element-2ae0311 {
	padding-top: clamp(36px, 3.5vw, 52px) !important;
}

/* Preserve the rhythmic 24px gutter between the live-information cards. */
body.page-id-179990 .elementor-179990 .elementor-element.elementor-element-dda0748,
body.page-id-179990 .elementor-179990 .elementor-element.elementor-element-66c46f3 {
	column-gap: 24px;
	row-gap: 24px;
}

/* The existing Nano Events widget becomes a compact third operational card. */
body.page-id-179990 .elementor-179990 .elementor-widget-nmla_events_agenda {
	margin: 24px auto 0;
	max-width: 412px;
	width: 100%;
}

body.page-id-179990 .elementor-179990 .elementor-widget-nmla_events_agenda .nmla-events {
	background: #f4fbff;
	border: 1px solid rgba(83, 197, 251, 0.22);
	border-radius: 28px;
	box-shadow: 0 12px 28px rgba(56, 122, 153, 0.10);
	padding: 16px;
}

body.page-id-179990 .elementor-179990 .elementor-widget-nmla_events_agenda .nmla-events-grid {
	gap: 10px;
	grid-template-columns: 1fr;
}

body.page-id-179990 .elementor-179990 .elementor-widget-nmla_events_agenda .nmla-event-card {
	border-radius: 18px;
	box-shadow: none;
}

body.page-id-179990 .elementor-179990 .elementor-widget-nmla_events_agenda .nmla-event-card-body {
	gap: 8px;
	padding: 15px;
}

body.page-id-179990 .elementor-179990 .elementor-widget-nmla_events_agenda .nmla-event-title {
	font-family: "Quicksand", sans-serif;
	font-size: 16px;
	line-height: 1.25;
}

body.page-id-179990 .elementor-179990 .elementor-widget-nmla_events_agenda .nmla-event-actions {
	margin-top: 0;
}

body.page-id-179990 .elementor-179990 .elementor-widget-nmla_events_agenda .nmla-event-button {
	background: #e8f5ff;
	border-color: transparent;
	box-shadow: none;
	color: #1267e8 !important;
	min-height: 36px;
}

@media (max-width: 992px) {
	/*
	 * Listeo makes this container transparent on mobile and converts its
	 * children into independent form fields. Restore the desktop search-shell
	 * only for this Elementor widget, keeping its field and submit together.
	 */
	.elementor-widget-listeo-minimal-search-form .listeo-minimal-search-form-wrapper .main-search-input {
		align-items: center;
		background-color: #ffffff !important;
		border: 1px solid rgba(15, 23, 42, 0.10) !important;
		border-radius: 50px !important;
		box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.12) !important;
		display: flex !important;
		flex-wrap: nowrap;
		max-height: 68px;
		padding: 9px !important;
	}

	.elementor-widget-listeo-minimal-search-form .listeo-minimal-search-form-wrapper .main-search-input-item {
		border-right: 0;
		margin-bottom: 0;
		margin-top: 0;
		padding: 0;
	}

	.elementor-widget-listeo-minimal-search-form .listeo-minimal-search-form-wrapper .main-search-input > .button {
		background: #53c5fb !important;
		border: 1px solid rgba(83, 197, 251, 0.65) !important;
		border-radius: 50% !important;
		flex-basis: 48px;
		margin-top: 0;
		max-width: 48px;
		min-width: 48px;
		box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08) !important;
		width: 48px;
	}

	.elementor-widget-listeo-minimal-search-form .listeo-minimal-search-form-wrapper .main-search-input-item input {
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		box-sizing: border-box;
		height: 44px !important;
		line-height: 44px !important;
		min-width: 0;
		padding: 0 15px !important;
		width: 100%;
	}

	/*
	 * The square weather card scales its visual card absolutely. Elementor then
	 * sees an empty widget container and collapses the row, so the Home wrapper
	 * clips the card below its first pixels. Reserve the intrinsic square only
	 * for that card on the current Home at tablet/mobile widths.
	 */
	body.page-id-179990 .elementor-widget-nmla_weather_mini_card .elementor-widget-container {
		/*
		 * The Home uses two equal columns with 20px internal gutters. The weather
		 * composition is a fixed square scaled by its own runtime, so Elementor
		 * cannot derive this row's height from the absolutely positioned card.
		 * Keep the host at the same proportional square size, capped at the
		 * component's 412px design size.
		 */
		height: clamp(0px, calc((100vw - 80px) / 2), 412px);
		width: 100%;
	}
}

@media (max-width: 767px) {
	body.page-id-179990 .elementor-179990 .elementor-element.elementor-element-2ae0311 {
		padding-top: 30px !important;
	}

	body.page-id-179990 .elementor-179990 .elementor-element.elementor-element-dda0748,
	body.page-id-179990 .elementor-179990 .elementor-element.elementor-element-66c46f3 {
		column-gap: 18px;
		row-gap: 18px;
	}
}

@media (max-width: 420px) {
	.elementor-widget-listeo-minimal-search-form .listeo-minimal-search-form-wrapper .main-search-input {
		gap: 6px;
		padding: 8px !important;
	}

	.elementor-widget-listeo-minimal-search-form .listeo-minimal-search-form-wrapper .main-search-input > .button {
		background: #53c5fb !important;
		border: 1px solid rgba(83, 197, 251, 0.65) !important;
		border-radius: 50% !important;
		flex-basis: 46px;
		height: 46px;
		max-width: 46px;
		min-width: 46px;
		box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08) !important;
		width: 46px;
	}
}
