/*
	Static responsive layout (replaces skelJS breakpoint loading).
*/

/* Site header baseline (always on; breakpoint CSS files refine below) */
#header-wrapper {
	box-shadow: inset 0px 10px 80px 0px rgba(0, 0, 0, 0.2);
	position: relative;
	padding: 2.25em 0;
}

#site-header {
	position: relative;
	background: url('images/header.png');
	background-size: 100% 190px;
	height: 190px;
	text-shadow: -1px -1px 1px rgba(0, 0, 0, 1);
}

#logo {
	position: absolute;
	left: 40px;
	top: 0;
	height: 85px;
	line-height: 85px;
}

#logo h1 {
	font-size: 2.25em;
	letter-spacing: -1px;
	color: #ffff00;
}

#logo img {
	height: 50px;
	width: 50px;
	padding: 5px 5px 2px 2px;
}

#nav {
	position: absolute;
	top: 0;
	right: 50px;
	font-family: 'Open Sans Condensed', sans-serif;
	text-align: right;
}

#nav ul {
	list-style: none;
	overflow: hidden;
}

#nav ul li {
	display: block;
	float: left;
	font-size: 1.2em;
	height: 90px;
	line-height: 90px;
	margin: 0 0 0 1.75em;
}

#nav ul li a {
	color: #c0c0c0;
	text-decoration: none;
	outline: 0;
}

#nav ul li a:hover,
#nav ul li.current_page_item a {
	color: #ffff00;
}

#nav ul li.current_page_item {
	background: url('images/nav-arrow.png') center 77px no-repeat;
}

.nav-toggle,
.nav-overlay,
.nav-panel {
	display: none;
}

/* GPT ad slots — layout chosen at init based on viewport */
.gpt-ad-slot.ad-slot-desktop {
	width: 160px;
	height: 600px;
	margin: 0 auto;
}

.gpt-ad-slot.ad-slot-desktop.ad-slot-leaderboard {
	width: 728px;
	max-width: 100%;
	height: 90px;
}

.gpt-ad-slot.ad-slot-desktop.ad-slot-square {
	width: 250px;
	height: 250px;
}

.gpt-ad-slot.ad-slot-mobile {
	width: 100%;
	max-width: 320px;
	min-height: 50px;
	height: auto;
	max-height: 250px;
	margin: 0 auto;
	display: block;
	box-sizing: border-box;
	overflow: visible;
}

.gpt-ad-slot.ad-slot-mobile.ad-slot-leaderboard {
	max-height: 90px;
}

.ad-slot-desktop-only {
	display: block;
}

.ad-slot-mobile-only {
	display: none;
}

/* Form prompt block (find/report) — in document flow so footer is not overlapped */
.skel-cell-important {
	position: relative;
}

.inputPromptBlock {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 600px;
	height: auto;
	min-height: 0;
	overflow: visible;
	background-color: #FFFFFF;
	text-align: center;
	margin-bottom: 1.5em;
}

.inputPromptBlock .loadingImg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	z-index: 13;
	display: none;
}

.inputPromptBlock .userPrompt,
.inputPromptBlock .locationPrompt {
	position: relative;
	top: auto;
	left: auto;
	width: 100%;
	box-sizing: border-box;
	display: none;
}

.inputPromptBlock .userPrompt {
	display: block;
	visibility: visible;
	pointer-events: auto;
}

.inputPromptBlock .locationPrompt {
	pointer-events: none;
}

@media screen and (max-width: 1199px) {
	body {
		min-width: 0 !important;
		width: 100%;
		overflow-x: hidden;
	}

	html {
		overflow-x: hidden;
	}

	.container,
	.container.big {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-left: auto;
		margin-right: auto;
		padding-left: 1em;
		padding-right: 1em;
	}

	.map {
		width: 100%;
		max-width: 100%;
	}
}

@media screen and (max-width: 1024px) {
	#header-wrapper {
		padding: 0;
		position: sticky;
		top: 0;
		z-index: 1000;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	}

	#site-header {
		height: auto;
		min-height: 56px;
		background-size: cover;
		background-position: center top;
	}

	#site-header .row,
	#site-header .12u {
		margin: 0;
		padding: 0;
	}

	#site-header .12u {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.5rem;
		padding: 0.5rem max(0.75rem, env(safe-area-inset-right)) 0.5rem max(0.75rem, env(safe-area-inset-left));
	}

	#logo {
		position: static;
		flex: 1;
		min-width: 0;
		height: auto;
		line-height: 1.2;
		text-align: left;
		padding: 0;
	}

	#logo h1 {
		font-size: 1.875rem;
		margin: 0;
		display: flex;
		align-items: center;
		gap: 0.35rem;
	}

	#logo img {
		height: 54px;
		width: 54px;
		padding: 0;
		flex-shrink: 0;
	}

	#nav {
		position: static;
		display: none;
	}

	.nav-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 6px;
		width: 55px;
		height: 55px;
		padding: 0;
		background: rgba(0, 0, 0, 0.45);
		border: 1px solid rgba(255, 255, 255, 0.35);
		border-radius: 10px;
		cursor: pointer;
		flex-shrink: 0;
		-webkit-tap-highlight-color: transparent;
		touch-action: manipulation;
	}

	.nav-toggle-bar {
		display: block;
		width: 25px;
		height: 2.5px;
		background: #ffff00;
		border-radius: 1px;
	}

	body.nav-open {
		overflow: hidden;
	}

	.nav-overlay {
		display: none;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.55);
		z-index: 1001;
	}

	body.nav-open .nav-overlay {
		display: block;
	}

	.nav-panel {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(94vw, 420px);
		background: #1a1a1a;
		box-shadow: -4px 0 24px rgba(0, 0, 0, 0.35);
		z-index: 1002;
		transform: translateX(100%);
		transition: transform 0.25s ease;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding-top: max(0.5rem, env(safe-area-inset-top));
		padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
		pointer-events: none;
		visibility: hidden;
	}

	body.nav-open .nav-panel {
		transform: translateX(0);
		pointer-events: auto;
		visibility: visible;
	}

	.nav-panel-close {
		display: block;
		margin: 0.5rem 0.75rem 0.75rem auto;
		width: 78px;
		height: 78px;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: #fff;
		font-size: 3.375rem;
		line-height: 1;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}

	.nav-panel-list {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.nav-panel-list a {
		display: flex;
		align-items: center;
		min-height: 84px;
		padding: 1.125rem 1.5rem;
		color: #f0f0f0;
		text-decoration: none;
		font-size: 2.025rem;
		line-height: 1.35;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		-webkit-tap-highlight-color: rgba(255, 255, 0, 0.12);
		touch-action: manipulation;
	}

	.nav-panel-list a:active {
		background: rgba(255, 255, 255, 0.06);
	}

	.nav-panel-list .current_page_item a {
		color: #ffff00;
		background: rgba(255, 255, 0, 0.1);
		font-weight: 700;
	}

	#main-wrapper {
		margin-top: 0;
	}

	#main-wrapper.subpage {
		padding-top: 0 !important;
		background: #fff;
	}

	.subpage #main-wrapper .container,
	#main-wrapper.subpage .container {
		padding-left: 0;
		padding-right: 0;
	}

	#main-wrapper:not(.subpage) .container {
		padding-left: max(0.75rem, env(safe-area-inset-left));
		padding-right: max(0.75rem, env(safe-area-inset-right));
	}

	.subpage .row,
	#main-wrapper .row {
		display: flex;
		flex-direction: column;
		margin-left: 0;
	}

	.subpage .row > *,
	#main-wrapper .row > * {
		width: 100% !important;
		float: none;
		margin-left: 0 !important;
	}

	.subpage .row > *:not(.skel-cell-important) {
		display: block;
		padding: 0;
		background: #f8f8f8;
		border-bottom: 1px solid #e8e8e8;
	}

	.subpage .row > *:not(.skel-cell-important):first-of-type {
		order: 0;
	}

	.subpage .skel-cell-important {
		order: 1;
		padding: 0 !important;
	}

	.subpage .row > *:not(.skel-cell-important):last-of-type {
		order: 2;
	}

	.subpage .row > *:not(.skel-cell-important) section {
		margin: 0;
		padding: 0.75rem max(1rem, env(safe-area-inset-left)) 1.25rem max(1rem, env(safe-area-inset-right));
		text-align: center;
	}

	.gpt-ad-slot.ad-slot-mobile {
		zoom: 1.5;
		max-width: min(320px, calc((100vw - 2rem) / 1.5));
		margin-left: auto;
		margin-right: auto;
	}

	.gpt-ad-slot.ad-slot-mobile.ad-slot-leaderboard {
		max-height: 60px;
	}

	#main-wrapper:not(.subpage) .ad-box-250 {
		height: auto;
		width: 100%;
		max-width: 100%;
		overflow: visible;
	}

	#main-wrapper:not(.subpage) .highlight-box:has([id^="div-gpt-ad"]) {
		overflow: visible;
		height: auto !important;
		min-height: 0;
	}

	#main-wrapper:not(.subpage) .ad-box-250 .gpt-ad-slot.ad-slot-mobile {
		zoom: 1.5;
		max-width: min(300px, calc((100vw - 2rem) / 1.5));
		min-height: 250px;
		max-height: none;
	}

	.ad-slot-desktop-only {
		display: none !important;
	}

	.ad-slot-mobile-only {
		display: block !important;
	}

	#main-wrapper:not(.subpage) .thumbnails .row {
		display: flex;
		flex-direction: column;
	}

	#main-wrapper:not(.subpage) .thumbnails .row > .4u:has([id^="div-gpt-ad"]) {
		order: -1;
	}

	#main-wrapper:not(.subpage) .ad-box-250 {
		text-align: center;
		padding: 0.75rem 0 1.25rem;
	}

	.subpage article,
	.subpage .skel-cell-important > section {
		margin: 0;
		padding: 1rem;
		padding-left: max(1rem, env(safe-area-inset-left));
		padding-right: max(1rem, env(safe-area-inset-right));
	}

	.map-page .map-top-ads {
		margin: 0;
		padding: 0.75rem max(1rem, env(safe-area-inset-left)) 1.25rem max(1rem, env(safe-area-inset-right));
		background: #f8f8f8;
		border-bottom: 1px solid #e8e8e8;
		text-align: center;
	}

	.map-page .map-top-ads .gpt-ad-slot {
		margin-left: auto;
		margin-right: auto;
	}

	.map-page article#searchResults {
		padding-top: 0.75rem;
	}

	.subpage .inputPromptBlock {
		position: relative !important;
		width: 100% !important;
		max-width: none;
		height: auto !important;
		min-height: 0 !important;
		margin-left: 0;
		margin-right: 0;
	}

	.subpage .inputPromptBlock table {
		width: 100%;
		border-collapse: separate;
		border-spacing: 0 0.35rem;
	}

	.inputPromptBlock table tr:has(input),
	.inputPromptBlock table tr:has(select) {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.4rem;
	}

	.inputPromptBlock table tr:has(input) td,
	.inputPromptBlock table tr:has(select) td {
		display: block;
		width: 100% !important;
		padding: 0;
	}

	.inputPromptBlock table tr:has(input) td:first-child,
	.inputPromptBlock table tr:has(select) td:first-child {
		padding-top: 0.65rem;
	}

	.inputPromptBlock table tr:has(input) td:last-child,
	.inputPromptBlock table tr:has(select) td:last-child {
		padding-bottom: 0.85rem;
	}

	.subpage .inputPromptBlock input,
	.subpage .inputPromptBlock select {
		max-width: 100%;
		box-sizing: border-box;
	}

	.map {
		width: 100% !important;
		max-width: 100%;
		height: 60vh;
		min-height: 280px;
	}

	#callAhead {
		width: auto !important;
		max-width: 100%;
		height: auto !important;
		padding: 0.5rem 0;
		line-height: 1.4;
	}

	/* Mobile readability */
	html {
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
	}

	body,
	.leaflet-container {
		font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
		font-size: 1.875rem;
		line-height: 1.6;
		letter-spacing: normal;
		word-spacing: normal;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		font-family: inherit;
		letter-spacing: normal !important;
	}

	p,
	a,
	li,
	td,
	th,
	label,
	#latestSighting,
	#pricing {
		letter-spacing: normal;
		word-spacing: normal;
	}

	.subpage article,
	.subpage .skel-cell-important > section,
	#main-wrapper section,
	#main-wrapper article {
		font-size: 1.6875rem;
		line-height: 1.65;
	}

	.subpage h1,
	.subpage article h1 {
		font-size: 2.4375rem;
		line-height: 1.35;
		letter-spacing: normal !important;
	}

	.subpage h2,
	.highlight-box h2 {
		font-size: 2.25rem;
		line-height: 1.35;
		letter-spacing: normal !important;
		margin-bottom: 0.65em;
	}

	.subpage h3,
	.highlight-box h3 {
		font-size: 1.95rem;
		line-height: 1.4;
		letter-spacing: normal !important;
	}

	.subpage p,
	.highlight-box p,
	#latestSighting,
	#latestSighting p,
	#latestSighting a,
	#pricing {
		font-size: 1.6875rem;
		line-height: 1.65;
		letter-spacing: normal !important;
	}

	.highlight-box {
		height: auto !important;
		min-height: 0;
		padding: 1.25rem 1rem !important;
	}

	.highlight-box span {
		font-size: inherit !important;
		line-height: inherit !important;
		letter-spacing: normal !important;
		color: inherit;
	}

	#latestSighting,
	#pricing {
		overflow-wrap: anywhere;
		word-break: normal;
	}

	.button,
	.confirmButton {
		font-family: inherit;
		font-size: 1.6875rem !important;
		letter-spacing: normal !important;
		min-height: 72px;
		line-height: 1.35;
		padding: 0.65em 1.25em !important;
		box-sizing: border-box;
	}

	#mapSearchDropdown .map-search-toggle {
		font-size: 1.45rem !important;
		padding: 0.5rem 0.75rem !important;
		line-height: 1.25;
		min-height: 66px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
	}

	#mapSearchDropdown .mapSearchbutton {
		font-size: 1.55rem !important;
		padding: 0.5rem 0.85rem !important;
		line-height: 1.25;
		min-height: 0;
		color: #ffffff !important;
		box-shadow: none;
		text-shadow: none;
	}

	#mapSearchDropdown .map-search-toggle[aria-pressed="true"] {
		color: #ffffff !important;
	}

	.inputPromptBlock table tr:has(.button) {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.65rem;
		margin-bottom: 0.35rem;
	}

	.inputPromptBlock table tr:has(.button) td {
		display: block;
		width: 100% !important;
		text-align: center;
		padding: 0;
	}

	.inputPromptBlock table tr:has(.button) td:empty {
		display: none;
	}

	.inputPromptBlock td[colspan="2"]:has(.button),
	.inputPromptBlock td[colspan="3"]:has(.button) {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.65rem;
	}

	.inputPromptBlock .button {
		width: 100% !important;
		max-width: 100%;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		white-space: normal;
		text-align: center;
		overflow-wrap: anywhere;
	}

	.mapbutton,
	.mapbutton-selected,
	.dropdown {
		font-family: inherit !important;
		font-size: 1.59375rem !important;
		letter-spacing: normal !important;
		line-height: 1.45;
	}

	.mapbutton,
	.mapbutton-selected {
		min-height: 0;
		padding: 0.4rem 0.75rem !important;
		line-height: 1.25;
	}

	.dropdown {
		padding: 0.65rem 0.75rem !important;
		line-height: 1.55;
		width: min(calc(100vw - 2rem), 20rem);
		max-width: min(calc(100vw - 2rem), 20rem);
		box-sizing: border-box;
	}

	#mapSearchDropdown > div:not(.map-search-date-field) {
		font-size: 1.59375rem !important;
		line-height: 1.55;
		letter-spacing: normal !important;
	}

	.map-search-date-label {
		font-size: 1.59375rem !important;
		line-height: 1.55 !important;
	}

	#mapSearchDropdown .map-date-picker-popover {
		font-size: 13px !important;
		line-height: 1.35 !important;
		width: 100%;
		max-width: 100%;
		padding: 0.45rem;
	}

	#mapSearchDropdown .map-date-picker-popover button,
	#mapSearchDropdown .map-date-picker-popover span,
	#mapSearchDropdown .map-date-picker-title {
		font-size: inherit !important;
		line-height: inherit !important;
		letter-spacing: normal !important;
	}

	#mapSearchDropdown .map-date-picker-day {
		font-size: 0.85em !important;
	}

	#mapSearchDropdown .map-date-picker-button {
		width: 2.75rem;
		min-width: 2.75rem;
		min-height: 66px;
	}

	#mapLegendDropdown-holder {
		overflow: visible;
	}

	#mapLegendDropdown {
		font-size: 1.45rem !important;
		line-height: 1.4 !important;
		letter-spacing: normal !important;
		width: min(calc(100vw - 2.5rem), 19rem);
		max-width: min(calc(100vw - 2.5rem), 19rem);
		max-height: none !important;
		overflow: visible !important;
		padding: 0.5rem 0.6rem !important;
	}

	#mapLegendDropdown .icon-legend-group {
		overflow: visible;
	}

	#mapLegendDropdown .icon-legend-label {
		font-size: 1em !important;
		line-height: 1.35 !important;
		padding: 0.35em 0.5em;
	}

	#mapLegendDropdown .icon-legend-items {
		padding: 0.35em 0.5em;
	}

	#mapLegendDropdown .icon-legend-items li {
		font-size: 1em !important;
		line-height: 1.35 !important;
		padding: 0.2em 0;
		gap: 0.45em;
	}

	#mapLegendDropdown .icon-legend-items img {
		width: 1.125em;
		height: 1.125em;
		flex-shrink: 0;
	}

	#mapSearchDropdown input,
	#mapSearchDropdown select,
	#mapSearchDropdown .map-date-input-wrap input[type="text"],
	.subpage input[type="text"],
	.subpage input[type="email"],
	.subpage input[type="number"],
	.subpage select,
	.subpage textarea,
	.inputPromptBlock input,
	.inputPromptBlock select {
		font-family: inherit;
		font-size: 27px !important;
		min-height: 66px;
		padding: 0.5rem 0.65rem;
		box-sizing: border-box;
	}

	.inputPromptBlock,
	.inputPromptBlock table,
	.inputPromptBlock td,
	.inputPromptBlock .userPrompt,
	.inputPromptBlock .locationPrompt {
		font-family: inherit;
		font-size: 1.6875rem !important;
		line-height: 1.6 !important;
		letter-spacing: normal !important;
	}

	.inputPromptBlock h2 {
		font-size: 2.25rem !important;
		letter-spacing: normal !important;
	}

	.nearestTableHeader,
	.mcDonaldsLocationRow,
	.mcRibSightingRow,
	.mcRibSightingRow td {
		font-family: inherit;
		font-size: 1.59375rem !important;
		line-height: 1.5 !important;
		letter-spacing: normal !important;
	}

	.mcDonaldsLocationRow,
	.mcRibSightingRow {
		min-height: 4.875em;
	}

	#callAhead,
	#callAhead a {
		font-size: 1.59375rem !important;
		line-height: 1.55 !important;
		letter-spacing: normal !important;
	}

	.icon-legend-label,
	.icon-legend-items li {
		font-size: 1.59375rem;
		line-height: 1.5;
		letter-spacing: normal;
	}

	.leaflet-popup-content-wrapper {
		border-radius: 10px;
	}

	.leaflet-popup-content,
	.leaflet-popup-content p,
	.leaflet-popup-content b,
	.leaflet-popup-content strong,
	.leaflet-popup-content a {
		font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
		font-size: 1.6875rem !important;
		line-height: 1.55 !important;
		letter-spacing: normal !important;
		word-spacing: normal !important;
	}

	.leaflet-popup-content {
		margin: 1.25rem 1.5rem !important;
		width: auto !important;
		min-width: min(320px, 90vw);
		max-width: min(480px, 94vw);
		overflow-wrap: anywhere;
	}

	.leaflet-popup-content p {
		margin: 0.35em 0;
	}

	#logo h1 {
		letter-spacing: normal;
	}

	#banner a img {
		width: 100%;
		height: auto;
		display: block;
	}

	#footer-wrapper {
		padding-bottom: max(0.25em, env(safe-area-inset-bottom));
	}

	#copyright {
		padding: 1.25em 1rem;
		font-size: 1.5rem;
		line-height: 1.5;
	}
}

@media screen and (max-width: 480px) {
	.row {
		margin-left: 0;
	}

	.subpage .row > *,
	#main-wrapper.subpage .row > * {
		padding: 0;
	}

	.row > * {
		width: 100% !important;
		float: none;
		margin-left: 0 !important;
		padding: 1em 0 0 0;
	}

	.row:first-child > * {
		padding-top: 0;
	}

	.inputPromptBlock {
		width: 100%;
		height: auto;
		min-height: 0;
		margin-bottom: 1em;
	}
}

/* About page FAQ accordion */
.faq-list {
	margin-top: 1em;
}

.faq-item {
	border: 1px solid #d8d8d8;
	border-radius: 4px;
	margin-bottom: 0.5em;
	background: #fff;
}

.faq-item[open] {
	border-color: #478903;
}

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75em;
	padding: 0.75em 1em;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.faq-question::-webkit-details-marker {
	display: none;
}

.faq-question::after {
	content: "+";
	flex-shrink: 0;
	font-size: 1.25em;
	font-weight: 700;
	color: #478903;
	line-height: 1;
}

.faq-item[open] > .faq-question::after {
	content: "\2212";
}

.faq-question:hover {
	background: #f8f8f8;
}

.faq-answer {
	padding: 0 1em 1em 1em;
	border-top: 1px solid #eee;
}

.icon-legend {
	margin-top: 0.75em;
}

.icon-legend-group {
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	margin-bottom: 0.5em;
	overflow: hidden;
}

.icon-legend-label {
	background: #f5f5f5;
	font-weight: 700;
	padding: 0.5em 0.75em;
	border-bottom: 1px solid #e5e5e5;
}

.icon-legend-items {
	list-style: none;
	margin: 0;
	padding: 0.5em 0.75em;
}

.icon-legend-items li {
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.35em 0;
}

.icon-legend-items img {
	flex-shrink: 0;
}

#mapLegendDropdown-holder {
	max-width: calc(100vw - 2rem);
	box-sizing: border-box;
	overflow: visible;
}

.leaflet-bottom.leaflet-left .leaflet-control:has(#mapLegendDropdown-holder) {
	overflow: visible;
}

#mapLegendDropdown {
	text-align: left;
	width: 15.5rem;
	max-width: min(calc(100vw - 2.5rem), 15.5rem);
	box-sizing: border-box;
	overflow: visible;
}

#mapLegendDropdown .icon-legend {
	margin-top: 0;
}

#mapLegendDropdown .icon-legend-group {
	overflow: visible;
}

#mapLegendDropdown .icon-legend-group:last-child {
	margin-bottom: 0;
}

#mapSearchDropdown {
	overflow: visible;
	min-width: 0;
}

#mapSearchDropdown-holder {
	overflow: visible;
	max-width: 100%;
}

#mapSearchDropdown-holder.leaflet-control,
.leaflet-top.leaflet-right .leaflet-control:has(#mapSearchDropdown-holder) {
	overflow: visible;
}

.leaflet-top.leaflet-right .leaflet-control:has(#mapSearchDropdown-holder),
.leaflet-bottom.leaflet-left .leaflet-control:has(#mapLegendDropdown-holder) {
	pointer-events: none;
	background: transparent;
	border: 0;
	box-shadow: none;
}

#mapSearchDropdown-holder,
#mapLegendDropdown-holder {
	pointer-events: none;
}

#mapSearchDropdown-holder .mapbutton,
#mapSearchDropdown-holder .mapbutton-selected,
#mapLegendDropdown-holder .mapbutton,
#mapLegendDropdown-holder .mapbutton-selected,
.dropdown.is-open {
	pointer-events: auto;
}

.map-search-date-field {
	margin-bottom: 0.65rem;
	min-width: 0;
}

.map-search-date-field:last-of-type {
	margin-bottom: 0.85rem;
}

.map-search-date-label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 700;
}

.map-date-input-wrap {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 0.35rem;
	min-width: 0;
	width: 100%;
}

.map-date-input-wrap input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
}

.map-date-picker-button {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	min-width: 2.25rem;
	padding: 0;
	border: 1px solid #717B87;
	border-radius: 4px;
	background: #fff;
	color: #4c4c4c;
	cursor: pointer;
	box-shadow: rgba(0, 0, 0, 0.15) 0 1px 2px;
}

.map-date-picker-button:hover,
.map-date-picker-button:focus {
	background: #f5f5f5;
	color: #f60319;
	outline: none;
}

.map-date-picker-popover {
	position: absolute;
	top: calc(100% + 0.35rem);
	left: 0;
	z-index: 20;
	width: 100%;
	max-width: 100%;
	padding: 0.5rem;
	border: 1px solid #717B87;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
	font-size: 13px;
	line-height: 1.35;
	overflow: hidden;
}

.map-date-picker-popover[hidden] {
	display: none;
}

.map-date-picker-header {
	display: grid;
	grid-template-columns: 1.75rem minmax(0, 1fr) 1.75rem;
	align-items: center;
	gap: 0.2rem;
	margin-bottom: 0.4rem;
}

.map-date-picker-title {
	text-align: center;
	font-weight: 700;
	color: #1d1d1d;
	font-size: 0.95em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.map-date-picker-nav,
.map-date-picker-today,
.map-date-picker-clear {
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	background: #fff;
	color: #1d1d1d;
	cursor: pointer;
	font: inherit;
}

.map-date-picker-nav {
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	font-size: 1.1rem;
	line-height: 1;
}

.map-date-picker-weekdays,
.map-date-picker-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.1rem;
}

.map-date-picker-weekday {
	text-align: center;
	font-size: 0.85em;
	font-weight: 700;
	color: #666;
	padding: 0.15rem 0;
}

.map-date-picker-day {
	width: 100%;
	min-width: 0;
	min-height: 0;
	aspect-ratio: 1;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #1d1d1d;
	cursor: pointer;
	font: inherit;
	font-size: 0.85em;
	padding: 0;
}

.map-date-picker-day:hover,
.map-date-picker-day:focus {
	background: #f0f0f0;
	outline: none;
}

.map-date-picker-day.is-today {
	border: 1px solid #f60319;
}

.map-date-picker-day.is-selected {
	background: #f60319;
	color: #ffff00;
	font-weight: 700;
}

.map-date-picker-day-empty {
	visibility: hidden;
	pointer-events: none;
}

.map-date-picker-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.35rem;
	margin-top: 0.4rem;
	padding-top: 0.4rem;
	border-top: 1px solid #eee;
}

.map-date-picker-today,
.map-date-picker-clear {
	flex: 1 1 calc(50% - 0.2rem);
	min-width: 0;
	padding: 0.3rem 0.35rem;
	font-size: 0.8em;
	line-height: 1.2;
	text-align: center;
	white-space: normal;
}

.map-search-toggle {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 0.4rem;
	text-align: center;
	cursor: pointer;
	font: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.map-search-toggle[aria-pressed="false"] {
	color: #000;
	background-color: #fff;
}

.map-search-toggle:last-of-type {
	margin-bottom: 0.65rem;
}

.about-team {
	display: grid;
	gap: 1.25em;
}

.about-team-member {
	display: flex;
	align-items: flex-start;
	gap: 1.25em;
	overflow: hidden;
}

.about-team-photo {
	border: solid 5px #fff;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
	flex-shrink: 0;
	width: 110px;
	height: auto;
}

.about-team-name {
	color: #888;
	margin: 0 0 0.5em 0;
}

.about-team-info blockquote {
	margin: 0;
}

@media screen and (max-width: 1024px) {
	.about-page .about-main article {
		padding: 0;
		border-bottom: 8px solid #f0f0f0;
	}

	.about-page .about-main article.last {
		border-bottom: 0;
	}

	.about-page .about-main h1 {
		font-size: 2.25rem;
		margin: 0;
		padding: 1em 1rem 0.75rem;
		padding-left: max(1rem, env(safe-area-inset-left));
		padding-right: max(1rem, env(safe-area-inset-right));
		background: #fff;
		border-bottom: 1px solid #eee;
	}

	.about-page .faq-list {
		margin: 0;
		padding: 0.5rem 0 1rem;
	}

	.about-page .faq-item {
		border: 0;
		border-radius: 0;
		border-bottom: 1px solid #eee;
		margin: 0;
		background: #fff;
	}

	.about-page .faq-item[open] {
		border-color: #eee;
		background: #fafafa;
	}

	.about-page .faq-question {
		min-height: 78px;
		padding: 0.95rem 1rem;
		padding-left: max(1rem, env(safe-area-inset-left));
		padding-right: max(1rem, env(safe-area-inset-right));
		font-size: 1.8rem;
		line-height: 1.5;
		letter-spacing: normal !important;
		font-family: inherit;
		-webkit-tap-highlight-color: rgba(71, 137, 3, 0.12);
		touch-action: manipulation;
	}

	.about-page .faq-question:active {
		background: #f0f0f0;
	}

	.about-page .faq-question::after {
		font-size: 1.4em;
		min-width: 1.25em;
		text-align: center;
	}

	.about-page .faq-answer {
		padding: 0.75rem 1rem 1rem;
		padding-left: max(1rem, env(safe-area-inset-left));
		padding-right: max(1rem, env(safe-area-inset-right));
		font-size: 1.6875rem;
		line-height: 1.7;
		letter-spacing: normal !important;
		font-family: inherit;
		border-top: 0;
	}

	.about-page .about-team-section header h1 {
		border-bottom: 1px solid #eee;
	}

	.about-page .about-team {
		padding: 0.75rem 1rem 1.25rem;
		padding-left: max(1rem, env(safe-area-inset-left));
		padding-right: max(1rem, env(safe-area-inset-right));
		gap: 1rem;
	}

	.about-page .about-team-member {
		flex-direction: column;
		align-items: center;
		text-align: center;
		background: #fafafa;
		border: 1px solid #eee;
		border-radius: 12px;
		padding: 1.25rem 1rem;
	}

	.about-page .about-team-photo {
		width: 96px;
		border-radius: 50%;
		border-width: 3px;
	}

	.about-page .about-team-info blockquote {
		font-size: 1.59375rem;
		line-height: 1.6;
	}
}

/* Site dialog (replaces window.alert / window.confirm) */
.mcrib-dialog-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	padding-left: max(1.25rem, env(safe-area-inset-left));
	padding-right: max(1.25rem, env(safe-area-inset-right));
	padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(2px);
}

.mcrib-dialog-overlay[hidden] {
	display: none;
}

.mcrib-dialog {
	width: min(100%, 28rem);
	max-height: calc(100vh - 2.5rem);
	overflow: auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
	border: 3px solid #f60319;
	padding: 1.5rem 1.5rem 1.25rem;
}

.mcrib-dialog-message {
	margin: 0 0 1.25rem;
	color: #1d1d1d;
	font-size: 1.05rem;
	line-height: 1.5;
	white-space: pre-line;
}

.mcrib-dialog-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.75rem;
}

.mcrib-dialog-button {
	margin: 0;
	min-width: 5.5rem;
}

.mcrib-dialog-button-primary {
	font-weight: 700;
}

@media screen and (max-width: 480px) {
	.mcrib-dialog {
		padding: 1.25rem 1rem 1rem;
	}

	.mcrib-dialog-actions {
		flex-direction: column-reverse;
	}

	.mcrib-dialog-button {
		width: 100%;
	}
}
