.resqsites-vehicles,
.resqsites-incidents {
	margin: 2.5rem auto;
	padding: 0 1.5rem;
	max-width: 1200px;
	box-sizing: border-box;
}

:root {
	--resqsites-map-expand-color: #1d3557;
	--resqsites-map-expand-rgb: 29, 53, 87;
	--resqsites-button-color: var(--resqsites-map-expand-color, #1d3557);
	--resqsites-button-bg: rgba(var(--resqsites-map-expand-rgb, 29, 53, 87), 0.12);
	--resqsites-button-hover-bg: var(--resqsites-map-expand-color, #1d3557);
	--resqsites-button-hover-color: #ffffff;
}

.resqsites-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.45rem 0.95rem;
	min-height: 2.1rem;
	border-radius: 999px;
	border: none;
	background: var(--resqsites-button-bg, rgba(var(--resqsites-map-expand-rgb, 29, 53, 87), 0.12));
	color: var(--resqsites-button-color, var(--resqsites-map-expand-color, #1d3557));
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	appearance: none;
	white-space: nowrap;
}

.resqsites-button:hover,
.resqsites-button:focus {
	background: var(--resqsites-button-hover-bg, var(--resqsites-map-expand-color, #1d3557));
	color: var(--resqsites-button-hover-color, #ffffff);
	box-shadow: none;
}

.resqsites-button:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.8);
	outline-offset: 2px;
}

.resqsites-layout-heading {
	margin: 0;
	font-weight: 700;
	line-height: 1.25;
}

.resqsites-layout-heading--h1 {
	font-size: clamp(1.95rem, 3vw, 2.65rem);
}

.resqsites-layout-heading--h2 {
	font-size: clamp(1.7rem, 2.5vw, 2.2rem);
}

.resqsites-layout-heading--h3 {
	font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.resqsites-layout-heading--h4 {
	font-size: clamp(1.25rem, 1.6vw, 1.6rem);
}

.resqsites-layout-heading--h5 {
	font-size: clamp(1.1rem, 1.4vw, 1.4rem);
	text-transform: none;
}

.resqsites-layout-heading--h6 {
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.resqsites-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.resqsites-incident-layout,
.resqsites-vehicle-layout {
    display: grid;
    grid-auto-rows: minmax(24px, auto);
    grid-auto-flow: dense;
    align-items: start;
    width: 100%;
	box-sizing: border-box;
}

.resqsites-incident-layout--narrow,
.resqsites-incident-layout--wide,
.resqsites-vehicle-layout--narrow,
.resqsites-vehicle-layout--wide {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.resqsites-incident-layout--narrow,
.resqsites-vehicle-layout--narrow {
	max-width: 760px;
}

.resqsites-incident-layout--wide,
.resqsites-vehicle-layout--wide {
	max-width: 1360px;
}

.resqsites-incident-layout--full,
.resqsites-vehicle-layout--full {
	max-width: none;
	width: 100%;
}

.resqsites-layout-widget {
	position: relative;
	min-width: 0;
	border-radius: 14px;
	background: #ffffff;
	color: inherit;
	border: 1px solid #dbe3f0;
	transition: border-color 0.2s ease, background 0.2s ease;
	height: 100%;
}

.resqsites-layout-widget--meta {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	text-align: left;
}

.resqsites-layout-widget--meta:hover {
	background: transparent;
	border: none;
}

.resqsites-vehicles-heading {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.resqsites-vehicles-heading__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 0.75rem;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.08);
	color: #0f172a;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.resqsites-layout-widget--meta .resqsites-layout-widget__inner {
	padding: 0;
}

.resqsites-layout-widget--meta .resqsites-incident-meta--grid li,
.resqsites-layout-widget--meta .resqsites-incident-meta--list li {
	text-align: left;
}

.resqsites-layout-widget--meta .resqsites-incident-meta__label {
	display: block;
}

.resqsites-layout-widget__inner {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	height: 100%;
}

.resqsites-layout-widget__inner h1:not(.resqsites-layout-heading),
.resqsites-layout-widget__inner h2:not(.resqsites-layout-heading),
.resqsites-layout-widget__inner h3:not(.resqsites-layout-heading),
.resqsites-layout-widget__inner h4:not(.resqsites-layout-heading),
.resqsites-layout-widget__inner h5:not(.resqsites-layout-heading),
.resqsites-layout-widget__inner h6:not(.resqsites-layout-heading) {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.36;
	color: #0f172a;
}

.resqsites-layout-widget img,
.resqsites-layout-widget iframe,
.resqsites-layout-widget video,
.resqsites-layout-widget .wp-block-image img {
	max-width: 100%;
	height: auto;
	display: block;
}

.resqsites-layout-widget--title {
	background: transparent;
	box-shadow: none;
	border: none;
}

.resqsites-layout-widget--title:hover {
	transform: none;
	box-shadow: none;
}

.resqsites-layout-widget--title .resqsites-layout-widget__inner {
	padding: 0;
}

.resqsites-layout-widget--featured,
.resqsites-layout-widget--map,
.resqsites-layout-widget--gallery {
	overflow: hidden;
}

.resqsites-layout-widget--vehicles {
	height: auto;
	align-self: flex-start;
}

.resqsites-layout-widget--vehicles .resqsites-layout-widget__inner {
	height: auto;
}

.resqsites-layout-widget--featured .resqsites-layout-widget__inner,
.resqsites-layout-widget--map .resqsites-layout-widget__inner,
.resqsites-layout-widget--gallery .resqsites-layout-widget__inner {
	padding: 0;
}

.resqsites-layout-widget--featured .resqsites-layout-widget__inner {
	height: 100%;
	gap: 0;
}

.resqsites-layout-widget__body {
	margin: 0;
}

.resqsites-incident-meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
}

.resqsites-incident-meta--list {
	gap: 0.75rem;
}

.resqsites-incident-meta--list li {
	padding: 0.75rem 0;
	border-bottom: 1px solid #e2e8f0;
	display: grid;
	gap: 0.35rem;
}

.resqsites-incident-meta--list li:first-child {
	padding-top: 0;
}

.resqsites-incident-meta--list li:last-child {
	padding-bottom: 0;
}

.resqsites-incident-meta--grid {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
}

.resqsites-incident-meta--grid li {
	display: grid;
	gap: 0.65rem;
	padding: 1.25rem 1.4rem 1.45rem;
	border-radius: 12px;
	border: 1px solid #dbe3f0;
	background: #f9fbff;
	min-height: auto;
	height: 100%;
	align-content: flex-start;
}

.resqsites-incident-meta--tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.resqsites-meta-tag {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 0.9rem 1.2rem;
	border-radius: 999px;
	background: #eef2ff;
	color: #1e293b;
	font-size: 0.9rem;
	font-weight: 600;
	min-width: 160px;
	box-sizing: border-box;
}

.resqsites-meta-tag__label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(30, 41, 59, 0.7);
	font-weight: 600;
}

.resqsites-meta-tag__value {
	font-size: 0.95rem;
	font-weight: 600;
	color: #0f172a;
	line-height: 1.35;
}

.resqsites-incident-meta__label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #55647a;
}

.resqsites-incident-meta li:first-child .resqsites-incident-meta__label {
	display: inline-block;
	/*margin-top: 1.37rem;*/
}

.resqsites-incident-meta__value {
	color: #0f172a;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.45;
	word-break: break-word;
}

.resqsites-incident-meta__value--split {
	display: grid;
	gap: 0.8rem;
}

.resqsites-incident-meta__split-item {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.resqsites-incident-meta__split-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(15, 23, 42, 0.58);
}

.resqsites-layout-vehicle-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.resqsites-layout-vehicle-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.08);
	color: #1e293b;
	font-weight: 600;
	font-size: 13px;
}

.resqsites-layout-gallery--masonry {
	column-count: auto;
	column-width: 220px;
	column-gap: 1rem;
	width: 100%;
}

.resqsites-layout-gallery--masonry a {
	display: block;
	margin-bottom: 1rem;
	break-inside: avoid;
}

.resqsites-layout-gallery--masonry img {
	width: 100%;
	border-radius: 16px;
	object-fit: cover;
}

.resqsites-layout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.resqsites-layout-button--primary {
	background: #2563eb;
	color: #fff;
}

.resqsites-layout-button--primary:hover,
.resqsites-layout-button--primary:focus {
	background: #1d4ed8;
}

.resqsites-layout-button--secondary {
	background: rgba(37, 99, 235, 0.12);
	color: #1e293b;
}

.resqsites-layout-button--secondary:hover,
.resqsites-layout-button--secondary:focus {
	background: rgba(37, 99, 235, 0.24);
}

.resqsites-layout-button--link {
	background: transparent;
	color: #2563eb;
	padding-left: 0;
	padding-right: 0;
}

.resqsites-layout-button:hover {
	transform: translateY(-1px);
}

.resqsites-layout-featured {
	position: relative;
	border-radius: inherit;
	overflow: hidden;
	background: transparent;
	box-shadow: none;
	height: 100%;
	display: flex;
	align-items: stretch;
}

.resqsites-featured-media {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 260px;
	border-radius: inherit;
	overflow: hidden;
	box-shadow: none;
	flex: 1 1 auto;
}

.resqsites-featured-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.resqsites-featured-media--ratio-16-9 {
	aspect-ratio: 16 / 9;
}

.resqsites-featured-media--ratio-4-3 {
	aspect-ratio: 4 / 3;
}

.resqsites-featured-media--ratio-1-1 {
	aspect-ratio: 1 / 1;
}

.resqsites-featured-caption {
	margin-top: 12px;
	font-size: 13px;
	color: rgba(15, 23, 42, 0.72);
}

.resqsites-featured-media a {
	display: flex;
	height: 100%;
	width: 100%;
	position: relative;
	cursor: default;
}

.resqsites-featured-media--clickable a {
	cursor: pointer;
}

.resqsites-featured-media a img {
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.resqsites-featured-media a:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 4px;
}

.resqsites-layout-featured,
.resqsites-layout-featured .resqsites-featured-media,
.resqsites-layout-featured .resqsites-featured-media img {
	box-shadow: none !important;
}

.resqsites-layout-map {
	position: relative;
	min-height: 320px;
	border-radius: inherit;
	overflow: hidden;
	z-index: 0;
	isolation: isolate;
}

.resqsites-layout-button {
	cursor: pointer;
}

@media (max-width: 1024px) {
	.resqsites-incident-layout--narrow,
	.resqsites-incident-layout--wide,
	.resqsites-vehicle-layout--narrow,
	.resqsites-vehicle-layout--wide {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.resqsites-layout-gallery--masonry {
		column-width: 200px;
	}
}

@media (max-width: 640px) {
	.resqsites-layout-gallery--masonry {
		column-width: 100%;
	}
}

.resqsites-vehicles__filters,
.resqsites-incidents__header {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.resqsites-incidents__filters-toggle {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
	border-radius: 14px;
	border: 1px solid #d0d7de;
	background: #f8fafc;
	color: #0f172a;
	padding: 0.9rem 1.25rem;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	box-shadow: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.resqsites-incidents__filters-toggle:hover,
.resqsites-incidents__filters-toggle:focus {
	background: #ffffff;
	color: #0f172a;
	border-color: #0f172a;
	box-shadow: none;
}

.resqsites-incidents__filters-toggle:hover .resqsites-incidents__filters-toggle-icon,
.resqsites-incidents__filters-toggle:focus .resqsites-incidents__filters-toggle-icon {
	background: rgba(15, 23, 42, 0.16);
}

.resqsites-incidents__filters-toggle:focus-visible {
	outline: 3px solid rgba(59, 130, 246, 0.4);
	outline-offset: 2px;
}

.resqsites-incidents__filters-toggle-label {
	flex: 1 1 auto;
	text-align: left;
}

.resqsites-incidents__filters-toggle-icon {
	flex: 0 0 auto;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, background 0.2s ease;
}

.resqsites-incidents__filters-toggle-icon::before {
	content: '';
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 7px solid currentColor;
}

.resqsites-incidents__filters-toggle[aria-expanded="true"] .resqsites-incidents__filters-toggle-icon {
	transform: rotate(180deg);
}

.resqsites-filter label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.resqsites-filter input,
.resqsites-filter select {
	min-width: 180px;
	padding: 0.5rem;
	border: 1px solid #d0d7de;
	border-radius: 4px;
}

.resqsites-vehicles__list {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (max-width: 960px) {
	.resqsites-incidents__filters-toggle {
		display: flex;
	}

	.resqsites-incidents__header {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0.85rem;
		padding: 1.25rem;
		background: #ffffff;
		border: 1px solid #e2e8f0;
		border-radius: 16px;
		box-shadow: none;
	}

	.resqsites-incidents__header.is-open {
		display: flex;
	}

	.resqsites-incidents__header .resqsites-filter {
		width: 100%;
	}
}

@media (min-width: 640px) {
	.resqsites-vehicles__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.resqsites-vehicles__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.resqsites-vehicle-card {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background: #0f172a;
	box-shadow: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	min-height: 240px;
}

.resqsites-vehicle-card--retired {
	background: #1f2937;
}

.resqsites-vehicle-card__link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.resqsites-vehicle-card__link:focus-visible {
	outline: 3px solid rgba(56, 189, 248, 0.8);
	outline-offset: 4px;
}

.resqsites-vehicle-card__media {
	position: relative;
	padding-top: 65%;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(30, 64, 175, 0.35), rgba(59, 130, 246, 0.15));
}

.resqsites-vehicle-card__media img,
.resqsites-vehicle-card__placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
	box-sizing: border-box;
}

.resqsites-vehicle-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.7), rgba(15, 23, 42, 0.85));
	font-size: 2.6rem;
	font-weight: 700;
	color: #f8fafc;
}

.resqsites-vehicle-card__status {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(220, 38, 38, 0.9);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: none;
}

.resqsites-vehicle-card--retired .resqsites-vehicle-card__status {
	background: rgba(37, 99, 235, 0.88);
	box-shadow: none;
}

.resqsites-vehicle-card__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.15rem 1.2rem 1.35rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(15, 23, 42, 0.95) 100%);
	color: #f8fafc;
}

.resqsites-vehicle-card--backgroundless {
	background: #fff;
	color: #0f172a;
	border: 1px solid rgba(148, 163, 184, 0.2);
	box-shadow: none;
}

.resqsites-vehicle-card__media--backgroundless {
	background: transparent;
	z-index: 1;
}

.resqsites-vehicle-card__media--backgroundless img {
	object-fit: contain;
	padding: 1.1rem;
	filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.18));
}

.resqsites-vehicle-card__overlay--backgroundless {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 55%, #fff 100%);
	color: #0f172a;
	z-index: 2;
	pointer-events: none;
}

.resqsites-vehicle-card__overlay--backgroundless .resqsites-vehicle-card__subtitle,
.resqsites-vehicle-card__overlay--backgroundless .resqsites-vehicle-card__meta {
	color: #475569;
}

.resqsites-vehicle-card--text-below {
	background: #fff;
	color: #0f172a;
	border: 1px solid rgba(148, 163, 184, 0.2);
	box-shadow: none;
}

.resqsites-vehicle-card--text-below .resqsites-vehicle-card__link {
	display: flex;
	flex-direction: column;
}

.resqsites-vehicle-card--text-below .resqsites-vehicle-card__media {
	padding-top: 60%;
}

.resqsites-vehicle-card__overlay--below {
	position: static;
	background: transparent;
	color: inherit;
	padding: 1.1rem 1.25rem 1.4rem;
	gap: 0.4rem;
}

.resqsites-vehicle-card__overlay--below .resqsites-vehicle-card__title {
	color: inherit;
}

.resqsites-vehicle-card__overlay--below .resqsites-vehicle-card__subtitle,
.resqsites-vehicle-card__overlay--below .resqsites-vehicle-card__meta {
	color: #475569;
}

.resqsites-vehicle-card__title {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
}

.resqsites-vehicle-card__subtitle,
.resqsites-vehicle-card__meta {
	font-size: 0.85rem;
	color: rgba(226, 232, 240, 0.92);
	line-height: 1.3;
}

.resqsites-vehicle-card__meta {
	font-weight: 600;
}

.resqsites-vehicle-card:hover,
.resqsites-vehicle-card:focus-within {
	transform: translateY(-4px);
}

.resqsites-vehicle-card:hover .resqsites-vehicle-card__media img,
.resqsites-vehicle-card:focus-within .resqsites-vehicle-card__media img {
	transform: scale(1.05);
}

.resqsites-vehicle {
	border: 1px solid rgba(148, 163, 184, 0.25);
	border-radius: 18px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
	box-shadow: none;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.resqsites-vehicle.is-expanded {
	box-shadow: none;
	border-color: rgba(214, 40, 40, 0.35);
	transform: translateY(-2px);
}

.resqsites-vehicle__toggle {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1.25rem;
	align-items: center;
	width: 100%;
	padding: 1.35rem 1.65rem;
	background: transparent;
	border: none;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

.resqsites-vehicle__toggle:focus-visible {
	outline: 3px solid rgba(214, 40, 40, 0.45);
	outline-offset: 2px;
}

.resqsites-vehicle__summary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
}

.resqsites-vehicle__summary-content {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.resqsites-vehicle__summary-head {
	display: flex;
	align-items: baseline;
	gap: 0.9rem;
	flex-wrap: wrap;
}

.resqsites-vehicle__title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	color: #0f172a;
}

.resqsites-vehicle__type {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1e40af;
	background: rgba(37, 99, 235, 0.12);
	border-radius: 999px;
	padding: 0.2rem 0.7rem;
}

.resqsites-vehicle__summary-image {
	width: 72px;
	height: 72px;
	border-radius: 12px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.12), rgba(255, 255, 255, 0.6));
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none;
	flex-shrink: 0;
}

.resqsites-vehicle__summary-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.resqsites-vehicle__summary-image--placeholder {
	font-weight: 700;
	font-size: 1.4rem;
	color: #0f172a;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(14, 116, 144, 0.18));
}

.resqsites-vehicle__summary-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.resqsites-vehicle__meta-item {
	display: inline-flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.35rem 0.7rem;
	border-radius: 10px;
	background: rgba(148, 163, 184, 0.16);
	font-size: 0.85rem;
	color: #1f2937;
}

.resqsites-vehicle__meta-item strong {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #475569;
}

.resqsites-vehicle__status {
	background: rgba(214, 40, 40, 0.14);
	color: #991b1b;
}

.resqsites-vehicle__status--retired {
	background: rgba(30, 64, 175, 0.14);
	color: #1d4ed8;
}

.resqsites-vehicle__chevron {
	width: 12px;
	height: 12px;
	border-right: 2px solid #334155;
	border-bottom: 2px solid #334155;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.resqsites-vehicle.is-expanded .resqsites-vehicle__chevron {
	transform: rotate(-135deg);
}

.resqsites-vehicle__details-panel {
	border-top: 1px solid rgba(148, 163, 184, 0.2);
	background: rgba(248, 250, 252, 0.9);
}

.resqsites-vehicle__details-inner {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 0 1.65rem 1.65rem;
}

.resqsites-vehicle__image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    width: 100%;
    max-width: 320px;
    height: 0;
    padding-top: 56%;
    margin: 1.25rem auto 0;
    box-shadow: none;
}

.resqsites-vehicle__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	background: rgba(20, 24, 35, 0.85);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
}

.resqsites-vehicle__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 6px;
}

.resqsites-vehicle__details-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.resqsites-vehicle__excerpt {
	margin: 0;
	color: #334155;
	line-height: 1.5;
}

.resqsites-vehicle__details {
	list-style: none;
	margin: 0.75rem 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.5rem;
}

.resqsites-vehicle__details strong {
	font-weight: 600;
}

.resqsites-vehicle__equipment {
	margin-top: 1rem;
}

.resqsites-vehicle__incidents ul {
	margin: 0.5rem 0 0;
	padding-left: 1rem;
}

.resqsites-vehicle__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.resqsites-vehicle__permalink {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	color: #d62828;
	text-decoration: none;
}

.resqsites-vehicle__permalink::after {
	content: '→';
	font-size: 0.9rem;
	transition: transform 0.2s ease;
}

.resqsites-vehicle__permalink:hover::after,
.resqsites-vehicle__permalink:focus::after {
	transform: translateX(2px);
}

.resqsites-vehicles__section {
	margin-top: 2rem;
}

.resqsites-vehicles__section[hidden] {
	display: none !important;
}

.resqsites-vehicles__section-title {
	margin: 0 0 1rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
}

.resqsites-vehicles__empty {
	margin-top: 1rem;
	color: #475569;
	font-style: italic;
}

.resqsites-incidents__body {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: auto auto;
	grid-template-areas:
		"list sidebar"
		"pagination sidebar";
	gap: 1.5rem;
	align-items: flex-start;
}

.resqsites-incidents__list {
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	grid-area: list;
}

.resqsites-incidents__empty {
	grid-area: list;
}

.resqsites-incidents__sidebar {
	grid-area: sidebar;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	align-self: stretch;
}

.resqsites-incidents__sidebar-note {
	padding: 1rem 1.15rem;
	border-radius: 0.9rem;
	box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
	line-height: 1.5;
	font-size: 0.95rem;
}

.resqsites-incidents__sidebar-note p:last-child {
	margin-bottom: 0;
}

.resqsites-incident__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.resqsites-incident {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	padding: 1.15rem 0;
	border-bottom: 1px solid rgba(148, 163, 184, 0.35);
	margin: 0;
}

.resqsites-incident--has-media {
	grid-template-columns: 72px minmax(0, 1fr);
}

.resqsites-incident:first-of-type {
	border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.resqsites-incident:last-of-type {
	border-bottom: none;
}

.resqsites-incident__timeline-dot {
	display: none;
}

.resqsites-incident__media {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.resqsites-incident__media img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}

.resqsites-incident__body {
	gap: 0.25rem;
}

.resqsites-incident__header {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	column-gap: 1rem;
	row-gap: 0.35rem;
	align-items: flex-start;
}

.resqsites-incident__header h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	grid-column: 1 / 2;
	grid-row: 1;
}

.resqsites-incident__header a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.resqsites-incident__header a:hover,
.resqsites-incident__header a:focus {
	color: #d62828;
}

.resqsites-incident__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--resqsites-badge-color, #b91c1c);
	background: rgba(239, 68, 68, 0.12);
	background: color-mix(in srgb, var(--resqsites-badge-color, #ef4444) 14%, transparent);
	box-shadow: none;
	grid-column: 2 / 3;
	grid-row: 1 / span 2;
	justify-self: flex-end;
	align-self: flex-start;
}

.resqsites-incident__badge i {
	color: inherit;
}

.resqsites-incident__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #1f2937;
}

.resqsites-incident__headline-meta {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
	grid-column: 1 / 2;
	grid-row: 2;
	width: 100%;
}

.resqsites-incident__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.65rem;
	font-size: 0.85rem;
	color: #475569;
}

.resqsites-incident__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: inherit;
}

.resqsites-incident__meta-item i {
	font-size: 0.85rem;
	color: #94a3b8;
}

.resqsites-incident__meta-item strong {
	display: inline;
	margin-right: 0.25rem;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #64748b;
}

.resqsites-incident__meta-item span span {
	display: inline;
	margin: 0;
	font-size: 0.85rem;
	color: #0f172a;
}

.resqsites-incident__summary {
	font-size: 0.85rem;
	line-height: 1.45;
	color: #475569;
}

.resqsites-incidents__pagination {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
	margin: 1.5rem 0 0;
	flex-wrap: wrap;
	grid-area: pagination;
}

.resqsites-incidents__pagination[hidden] {
	display: none;
}

.resqsites-incidents__page-group {
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.resqsites-incidents__page-button {
	border: 1px solid rgba(148, 163, 184, 0.4);
	background: #fff;
	color: #1f2937;
	font-size: 0.9rem;
	line-height: 1;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: none;
}

.resqsites-incidents__page-button:hover,
.resqsites-incidents__page-button:focus {
	border-color: #d62828;
	color: #d62828;
}

.resqsites-incidents__page-button.is-active {
	background: #d62828;
	border-color: #d62828;
	color: #fff;
	cursor: default;
}

.resqsites-incidents__page-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.resqsites-incidents__page-dots {
	font-size: 0.95rem;
	color: #94a3b8;
	padding: 0 0.3rem;
}

.resqsites-incident__vehicles {
	margin-top: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.resqsites-incident__vehicles h4 {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: #0f172a;
}

.resqsites-incident__vehicles ul {
	margin: 0;
	padding-left: 1.25rem;
	color: #1f2937;
}

.resqsites-incident__vehicles-title {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.resqsites-incident__vehicles--images {
	gap: 1rem;
}

.resqsites-incident__vehicle-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.resqsites-incident__vehicle-thumb {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 0.7rem;
	border-radius: 12px;
	border: 1px solid rgba(148, 163, 184, 0.28);
	background: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	color: inherit;
	width: min(180px, 32vw);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.resqsites-incident__vehicle-thumb img {
	width: 100%;
	height: 110px;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: none;
}

.resqsites-incident__vehicle-name {
	font-size: 0.9rem;
	font-weight: 600;
	color: #0f172a;
}

.resqsites-incident__vehicle-thumb:hover,
.resqsites-incident__vehicle-thumb:focus {
	transform: translateY(-3px);
	box-shadow: none;
	border-color: rgba(214, 40, 40, 0.35);
}

.resqsites-incident__vehicle-initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 110px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(67, 97, 238, 0.18), rgba(15, 23, 42, 0.85));
	color: #fff;
	font-weight: 700;
	font-size: 1.4rem;
	letter-spacing: 0.04em;
}

.resqsites-incident__footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.25rem;
}

.resqsites-incident__more:focus-visible {
	outline: 2px solid rgba(254, 242, 242, 0.8);
	outline-offset: 2px;
}

.resqsites-incidents__map {
	min-height: 420px;
	border: 1px solid #d0d7de;
	border-radius: 6px;
	overflow: hidden;
	width: 100%;
}

.resqsites-incidents__map-panel {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	position: sticky;
	top: var(--resqsites-map-offset, 1.5rem);
	align-self: flex-start;
	width: 100%;
	z-index: 1;
}

.resqsites-incidents__map-controls {
	display: flex;
	justify-content: flex-end;
}

.resqsites-yearly-stats {
	background: #fff;
	border-radius: 18px;
	padding: 1.35rem 1.5rem 1.6rem;
	box-shadow: none;
	border: 1px solid rgba(15, 23, 42, 0.04);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.resqsites-yearly-stats__header h3 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: #0f172a;
}

.resqsites-yearly-stats__header p {
	margin: 0;
	font-size: 0.85rem;
	color: #64748b;
	font-weight: 500;
}

.resqsites-yearly-stats__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.resqsites-yearly-stats__item {
	margin: 0;
	display: flex;
	align-items: center;
	width: 100%;
}

.resqsites-yearly-stats__list > .resqsites-yearly-stats__item {
	margin: 0;
}

.resqsites-yearly-stats__track {
	display: block;
	width: 100%;
	border-radius: 999px;
	padding: 3px;
	background: #f1f5f9;
	border: 1px solid rgba(15, 23, 42, 0.05);
	box-shadow: none;
}

.resqsites-yearly-stats__bar {
	display: flex;
	align-items: center;
	position: relative;
	width: 100%;
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: #000000;
	--resqsites-yearly-bar-color: #2563eb;
	background: transparent;
	overflow: hidden;
	min-height: 1.9rem;
}

.resqsites-yearly-stats__bar::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	width: var(--resqsites-yearly-bar-value, 100%);
	background: var(--resqsites-yearly-bar-color, #2563eb);
	box-shadow: none;
	z-index: 0;
}

.resqsites-yearly-stats__label {
	position: relative;
	z-index: 1;
}

.resqsites-yearly-stats__item.is-leading .resqsites-yearly-stats__bar::before {
	box-shadow: none;
}

.resqsites-yearly-stats__item.is-latest .resqsites-yearly-stats__track {
	background: #fee2e2;
	border-color: #fecaca;
}

.resqsites-yearly-stats__item.is-latest .resqsites-yearly-stats__bar {
	--resqsites-yearly-bar-color: #b91c1c;
}

.resqsites-incidents--no-map .resqsites-incidents__body {
	grid-template-columns: 2fr 1fr;
	grid-template-rows: auto auto;
	grid-template-areas:
		"list sidebar"
		"pagination sidebar";
}

.resqsites-incidents--no-map .resqsites-incidents__map {
	display: none;
}

.resqsites-incidents--no-map .resqsites-incidents__map-panel {
	display: none;
}

.resqsites-incident-group {
	margin-bottom: 2rem;
	position: relative;
}

.resqsites-incident-group__title {
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0 0 1rem 2.75rem;
	color: #0f172a;
}


.resqsites-stats__controls {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
	margin-bottom: 2.15rem;
}

.resqsites-stats__control {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 0.75rem 1rem;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
}

.resqsites-stats__control label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #475569;
}

.resqsites-stats__control select {
	border-radius: 10px;
	border: 1px solid #cbd5f0;
	padding: 0.6rem 0.85rem;
	font-size: 0.95rem;
	font-weight: 500;
	color: #1f2937;
	background: #fff;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	appearance: none;
}

.resqsites-stats__control select:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: none;
}

.resqsites-stats__insights {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.resqsites-stats__insight {
	border-radius: 18px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	padding: 1.4rem 1.6rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.resqsites-stats__insight-label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.resqsites-stats__insight-value {
	font-size: clamp(1.6rem, 2.6vw, 2rem);
	font-weight: 700;
	color: #0f172a;
}

.resqsites-stats__insight-meta {
	font-size: 0.88rem;
	color: #475569;
}

.resqsites-stats__grid {
	display: grid;
	gap: 2.25rem;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	align-items: stretch;
	grid-auto-rows: minmax(0, 1fr);
	grid-auto-flow: dense;
}

@media (min-width: 1100px) {
	.resqsites-stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.resqsites-chart {
	background: #ffffff;
	border: none;
	border-radius: 18px;
	box-shadow: none;
	padding: 1.55rem 1.65rem 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	min-height: 360px;
}

.resqsites-chart:hover {
	box-shadow: none;
}

.resqsites-chart__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.resqsites-chart__header h3 {
	margin: 0;
	font-size: 1.08rem;
	font-weight: 600;
	color: #0f172a;
}

.resqsites-chart__actions {
	display: inline-flex;
	gap: 0.65rem;
}

.resqsites-chart__actions button {
	border-radius: 999px;
	border: 1px solid #cbd5f5;
	padding: 0.45rem 1rem;
	font-size: 0.82rem;
	font-weight: 600;
	background: #f8fafc;
	color: #1f3a6d;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.resqsites-chart__actions button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #f1f5f9;
}

.resqsites-chart__actions button:not(:disabled):hover,
.resqsites-chart__actions button:not(:disabled):focus-visible {
	outline: none;
	background: #2563eb;
	border-color: #2563eb;
	color: #ffffff;
}

.resqsites-chart canvas {
	flex: 1 1 auto;
	width: 100% !important;
	height: clamp(280px, 32vw, 440px) !important;
}

.resqsites-chart--wide {
	grid-column: 1 / -1;
}

.resqsites-chart--doughnut {
	align-items: stretch;
}

.resqsites-chart--doughnut canvas {
	width: 100% !important;
	height: auto !important;
	min-height: 320px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	max-width: none;
}

.resqsites-chart-overlay .resqsites-chart--doughnut canvas {
	width: 100% !important;
	height: auto !important;
	max-width: 720px;
	max-height: 65vh;
	aspect-ratio: 1 / 1;
}

.resqsites-chart__placeholder {
	display: none;
}

.resqsites-stats__panel {
	margin-top: 2.75rem;
	padding: 1.9rem 2rem;
	background: #ffffff;
	border: none;
	border-radius: 20px;
}

.resqsites-stats__panel--map {
	position: relative;
	isolation: isolate;
}

.resqsites-stats__panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.resqsites-stats__panel-header h3 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #0f172a;
}

.resqsites-stats__panel-actions {
	display: flex;
	gap: 0.75rem;
}

.resqsites-stats__map-toggle {
	display: inline-flex;
	padding: 0.35rem;
	background: #f8fafc;
	border-radius: 999px;
	border: 1px solid #dbe2f0;
}

.resqsites-stats__map-button {
	border: none;
	background: transparent;
	color: #475569;
	padding: 0.45rem 1.2rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.resqsites-stats__map-button.is-active {
	background: #2563eb;
	color: #ffffff;
}

.resqsites-stats__map-button:not(.is-active):hover,
.resqsites-stats__map-button:not(.is-active):focus-visible {
	color: #2563eb;
}

.resqsites-stats__map {
	height: 420px;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #dbe2f0;
	position: relative;
	z-index: 0;
}

.resqsites-stats__map-empty {
	margin-top: 1rem;
	font-size: 0.92rem;
	color: #475569;
}

.resqsites-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0.75rem;
}

@media (max-width: 640px) {
	.resqsites-stats__panel-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.resqsites-stats__panel-actions {
		width: 100%;
	}

	.resqsites-stats__map-toggle {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.resqsites-stats__map-button {
		flex: 0 0 auto;
		text-align: center;
		width: 100%;
	}
}

.resqsites-gallery img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid #d0d7de;
}

.resqsites-single--incident .resqsites-gallery {
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem;
}

.resqsites-single--incident .resqsites-gallery a {
	position: relative;
	display: block;
	padding-top: 100%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: none;
	border: 1px solid rgba(148, 163, 184, 0.18);
}

.resqsites-single--incident .resqsites-gallery img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	border: none;
}

.resqsites-incident-panel--gallery .resqsites-gallery {
	width: 100%;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.15rem;
	justify-items: stretch;
}

.resqsites-incident-panel--gallery .resqsites-gallery a {
	padding-top: 0;
	border-radius: 18px;
	border: none;
	overflow: hidden;
	box-shadow: none;
	transition: transform 0.25s ease;
}

.resqsites-incident-panel--gallery .resqsites-gallery img {
	position: static;
	width: 100%;
	height: 190px;
	object-fit: cover;
	border-radius: 18px;
	transition: transform 0.3s ease;
}

.resqsites-incident-panel--gallery .resqsites-gallery.resqsites-gallery--columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resqsites-incident-panel--gallery .resqsites-gallery.resqsites-gallery--columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resqsites-incident-panel--gallery .resqsites-gallery.resqsites-gallery--columns-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resqsites-incident-panel--gallery .resqsites-gallery a:hover,
.resqsites-incident-panel--gallery .resqsites-gallery a:focus {
	transform: translateY(-2px);
}

.resqsites-incident-panel--gallery .resqsites-gallery a:hover img,
.resqsites-incident-panel--gallery .resqsites-gallery a:focus img {
	transform: scale(1.03);
}

.resqsites-incident-panel--gallery .resqsites-gallery a:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.6);
	outline-offset: 3px;
}

@media (min-width: 1024px) {
	.resqsites-incident-panel--gallery .resqsites-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.resqsites-lightbox[hidden] {
	display: none !important;
}

.resqsites-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 2rem;
}

body.resqsites-lightbox-open {
	overflow: hidden;
}

.resqsites-chart-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	z-index: 10000;
}

.resqsites-chart-overlay[hidden] {
	display: none !important;
}

.resqsites-chart-overlay__inner {
	width: min(960px, 94vw);
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	padding: 1.6rem 1.8rem 2rem;
	background: #ffffff;
	border-radius: 18px;
	border: 1px solid #e2e8f0;
	box-shadow: none;
}

.resqsites-chart-overlay__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.resqsites-chart-overlay__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: #0f172a;
}

.resqsites-chart-overlay__close {
	border: none;
	background: #f1f5f9;
	color: #1f2937;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	display: grid;
	place-items: center;
	font-size: 1.4rem;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.resqsites-chart-overlay__close:hover,
.resqsites-chart-overlay__close:focus-visible {
	outline: none;
	background: #2563eb;
	color: #ffffff;
}

.resqsites-chart-overlay__content {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: auto;
	padding: clamp(1.2rem, 4vw, 2.4rem);
}

.resqsites-chart-overlay__content .resqsites-chart {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	min-height: auto;
	width: min(100%, 880px);
}

.resqsites-chart-overlay__content .resqsites-chart--expanded {
	padding: clamp(1.8rem, 4vw, 2.6rem);
	border-radius: 24px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: none;
	gap: clamp(1.1rem, 3vw, 1.75rem);
}

.resqsites-chart--expanded .resqsites-chart__header {
	align-items: flex-start;
}

.resqsites-chart--expanded .resqsites-chart__actions {
	display: none;
}

.resqsites-chart--expanded:not(.resqsites-chart--doughnut) canvas {
	height: min(520px, 68vh) !important;
}

.resqsites-chart--expanded.resqsites-chart--doughnut {
	align-items: center;
}

.resqsites-chart--expanded.resqsites-chart--doughnut canvas {
	margin: 0 auto;
}

body.resqsites-chart-overlay-open {
	overflow: hidden;
}

@media (max-width: 960px) {
	.resqsites-incident-layout,
	.resqsites-vehicle-layout {
		grid-template-columns: 1fr !important;
	}

	.resqsites-incident-layout .resqsites-layout-widget,
	.resqsites-vehicle-layout .resqsites-layout-widget {
		grid-column: 1 / -1 !important;
		grid-row: auto !important;
	}

	.resqsites-incident--has-media {
		grid-template-columns: 1fr;
	}

	.resqsites-incident__media {
		width: 100%;
		height: 220px;
		border-radius: 16px;
		overflow: hidden;
		background: none;
	}

	.resqsites-incident__media img {
		width: 100%;
		height: 100%;
		border-radius: 16px;
	}

	.resqsites-incidents__list .resqsites-incident {
		gap: 1.1rem;
		padding: 1.4rem 1.5rem 1.6rem;
		border-radius: 16px;
		margin-bottom: 1.35rem;
	}

	.resqsites-incident__timeline-dot {
		left: -1.3rem;
	}

	.resqsites-incident__badge {
		grid-column: 1 / -1;
		grid-row: auto;
		justify-self: flex-start;
		margin-top: -0.2rem;
	}

	.resqsites-incident__header {
		grid-template-columns: 1fr;
	}

	.resqsites-incident__header h3,
	.resqsites-incident__headline-meta {
		grid-column: 1 / -1;
	}
}

@media (max-width: 680px) {
	.resqsites-incidents__body {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		grid-template-areas:
			"list"
			"pagination"
			"sidebar";
	}

	.resqsites-incidents__list {
		padding-left: 1.6rem;
	}

	.resqsites-incidents__list::before {
		left: 0.7rem;
	}

	.resqsites-incident__timeline-dot {
		left: -0.15rem;
	}

	.resqsites-incident__meta {
		grid-template-columns: 1fr;
	}

	.resqsites-incidents__map-panel {
		position: static;
		top: auto;
	}

	.resqsites-incident__vehicle-thumb {
		width: 100%;
	}
}

.resqsites-map-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	z-index: 10000;
}

.resqsites-map-overlay[hidden] {
	display: none !important;
}

.resqsites-map-overlay__inner {
	background: #fff;
	border-radius: 18px;
	box-shadow: none;
	width: min(960px, 94vw);
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	padding: 1.75rem;
	row-gap: 1rem;
}

.resqsites-map-overlay__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.resqsites-map-overlay__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: #0f172a;
}

.resqsites-map-overlay__close {
	border: none;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: #475569;
	transition: color 0.2s ease;
}

.resqsites-map-overlay__close:hover,
.resqsites-map-overlay__close:focus {
	color: #0f172a;
}

.resqsites-map-overlay__content {
	flex: 1;
	display: flex;
	overflow: hidden;
}

.resqsites-map-overlay__content .resqsites-incidents__map-panel {
	width: 100%;
	position: static;
	top: auto;
}

.resqsites-map-overlay__content .resqsites-incidents__map {
	height: 520px;
	min-height: 520px;
}

.leaflet-marker-icon.resqsites-map-marker,
.leaflet-marker-shadow.resqsites-map-marker {
	background: none;
	border: 0;
}

.resqsites-map-marker__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: transparent;
	color: var(--resqsites-map-marker-color, var(--resqsites-map-expand-color, #1d3557));
	box-shadow: none;
	border: none;
}

.resqsites-map-marker__inner i {
	font-size: 24px;
	line-height: 1;
	color: inherit;
}

.resqsites-map-overlay__content .resqsites-incidents__map-controls {
	display: none;
}

.resqsites-map__placeholder {
	display: none;
}

body.resqsites-map-overlay-open {
	overflow: hidden;
}

body.resqsites-hide-sidebar .sidebar,
body.resqsites-hide-sidebar .widget-area,
body.resqsites-hide-sidebar #secondary {
	display: none !important;
}

body.resqsites-hide-sidebar #primary,
body.resqsites-hide-sidebar .content-area,
body.resqsites-hide-sidebar main {
	width: 100% !important;
	max-width: 100% !important;
}

.resqsites-single {
	margin: 2rem 0;
}

.resqsites-single__header {
	margin-bottom: 1.5rem;
}

.resqsites-vehicle-overview {
	display: grid;
	gap: 1.75rem;
	margin-bottom: 2.5rem;
}

@media (min-width: 960px) {
	.resqsites-vehicle-overview {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		align-items: flex-start;
	}
}

.resqsites-vehicle-overview__column {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.resqsites-vehicle-overview__column--media .resqsites-single__hero {
	margin: 0;
}

.resqsites-vehicle-overview__details {
	display: grid;
	gap: 1.5rem;
 	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	justify-content: stretch;
	align-items: stretch;
	width: 100%;
}

@media (min-width: 960px) {
	.resqsites-vehicle-overview__details--balanced {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: stretch;
		grid-column-gap: 1.5rem;
	}

	.resqsites-vehicle-panel--description {
		grid-column: 1 / 2;
	}

	.resqsites-vehicle-panel--equipment {
		grid-column: 2 / 3;
	}
}

.resqsites-vehicle-panel {
	/*border-radius: 18px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	padding: 1.5rem 1.65rem;*/
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	background: transparent;
}

.resqsites-vehicle-panel h2 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: #0f172a;
}

.resqsites-vehicle-panel__body {
	color: #1f2937;
	font-size: 0.95rem;
	line-height: 1.6;
}

.resqsites-vehicle-panel__body > *:first-child {
	margin-top: 0;
}

.resqsites-vehicle-panel__body > *:last-child {
	margin-bottom: 0;
}

.resqsites-vehicle-overview__details--standalone {
	margin: 2rem 0 0;
}

.resqsites-vehicle-panel--gallery .resqsites-gallery {
	width: 100%;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.15rem;
	justify-items: stretch;
}

.resqsites-vehicle-panel--gallery .resqsites-gallery a {
	position: relative;
	display: block;
	padding-top: 100%;
	border-radius: 18px;
	overflow: hidden;
	border: none;
	box-shadow: none;
	transition: transform 0.25s ease;
}

.resqsites-vehicle-panel--gallery .resqsites-gallery img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	border: none;
}

.resqsites-incidents-table__cell-link {
	display: block;
	width: 100%;
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}

.resqsites-incidents-table__cell-link:hover,
.resqsites-incidents-table__cell-link:focus-visible {
	color: #2563eb;
	text-decoration: none;
	outline: none;
}

.resqsites-table--incidents {
	width: 100%;
	border-collapse: collapse;
}

.resqsites-table--incidents th,
.resqsites-table--incidents td {
	border: 1px solid #d0d7de;
	padding: 0.85rem 1.1rem;
	text-align: left;
}

.resqsites-table--incidents th {
	font-size: 0.95rem;
	font-weight: 600;
	color: #0f172a;
}

.resqsites-table--incidents td {
	font-size: 0.95rem;
	color: #1f2937;
}

.resqsites-vehicle-panel--incidents .resqsites-table--incidents {
	background: #ffffff;
}

.resqsites-single__meta {
	list-style: none;
	padding: 0;
	margin: 0.5rem 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.5rem;
}

.resqsites-single__featured img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	margin-bottom: 1.5rem;
}

.resqsites-single__media {
	display: grid;
	gap: 1rem;
	margin-bottom: 2rem;
}

.resqsites-single__media--vehicle-bottom {
	max-width: 520px;
	margin: 2.5rem auto 0;
}

.resqsites-single__media--vehicle-bottom .resqsites-single__thumbs {
	margin-top: 1.25rem;
}

.resqsites-single__media--vehicle-bottom .resqsites-single__thumbs-title {
	text-align: center;
}

.resqsites-single__section--vehicle-gallery {
	max-width: 680px;
	margin: 2.5rem auto 0;
}

.resqsites-single__section--vehicle-gallery h2 {
	text-align: center;
}

.resqsites-single__section--vehicle-gallery .resqsites-gallery {
	justify-items: center;
}

.resqsites-single__hero {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: none;
	aspect-ratio: 16 / 9;
	max-height: 28rem;
}

.resqsites-single__hero a {
	display: block;
	height: 100%;
}

.resqsites-single__hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@supports not (aspect-ratio: 1 / 1) {
	.resqsites-single__hero a,
	.resqsites-single__hero img {
		height: auto;
	}
}

.resqsites-single__hero-zoom {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	background: rgba(15, 23, 42, 0.78);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	letter-spacing: 0.02em;
	transition: transform 0.2s ease, background 0.2s ease;
}

.resqsites-single__hero a:hover .resqsites-single__hero-zoom,
.resqsites-single__hero a:focus .resqsites-single__hero-zoom {
	transform: translateY(-2px);
	background: rgba(15, 23, 42, 0.92);
}

.resqsites-gallery--thumbnails {
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 0.5rem;
}

.resqsites-gallery--thumbnails img {
	height: 100px;
}

.resqsites-single__thumbs {
	display: grid;
	gap: 0.5rem;
}

.resqsites-single__thumbs-title {
	font-size: 1.1rem;
	margin: 0;
	font-weight: 600;
	color: #0f172a;
}

.resqsites-single__section {
	margin-top: 2rem;
}

.resqsites-incident-meta {
	list-style: none;
	padding: 0;
	margin: 1.75rem 0 0;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
}

.resqsites-incident-meta li {
	border-radius: 18px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	box-shadow: none;
	padding: 1.25rem 1.4rem 1.45rem;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	min-height: auto;
	height: 100%;
}

.resqsites-incident-meta__label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #475569;
	font-weight: 700;
	margin-top: 0.15rem;
}

.resqsites-incident-meta__value {
	font-size: 1.00rem;
	font-weight: 600;
	color: #0f172a;
}

.resqsites-incident-meta__value--split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 0.75rem 1rem;
}

.resqsites-incident-meta__split-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.resqsites-incident-meta__split-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
	font-weight: 600;
}

.resqsites-incident-meta__split-value {
	font-size: 0.95rem;
	font-weight: 600;
	color: #0f172a;
	word-break: break-word;
}

.resqsites-incident-panel {;
	border-radius: 22px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	box-shadow: none;
	padding: 1.75rem 1.9rem;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.resqsites-incident-panel h2 {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: #0f172a;
}

.resqsites-incident-panel--featured {
	padding: 0;
	overflow: hidden;
	margin-top: 2rem;
}

.resqsites-incident-panel--featured img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.resqsites-incident-panel--report .resqsites-single__content p:last-child {
	margin-bottom: 0;
}

.resqsites-incident-panel--report .resqsites-single__summary {
	background: rgba(248, 250, 252, 0.92);
	border-radius: 16px;
	border: 1px solid rgba(148, 163, 184, 0.14);
	padding: 1.15rem 1.3rem;
	box-shadow: none;
}

.resqsites-incident-panel--report .resqsites-single__summary h3 {
	margin-top: 0;
	font-size: 1.05rem;
	font-weight: 600;
	color: #1f2937;
}

.resqsites-incident-vehicles {
	position: relative;
	margin-top: 0.5rem;
	overflow: hidden;
}

.resqsites-incident-vehicles .splide__track {
	overflow: hidden;
}

.resqsites-incident-vehicles .splide__track.splide__track--overflow {
	overflow: visible;
}

.resqsites-incident-vehicles--static-slider .splide__track,
.resqsites-incident-vehicles__track--static {
	overflow: visible;
}

.resqsites-incident-vehicles--static-slider {
	visibility: visible !important;
}

.resqsites-incident-vehicles .splide__list {
	gap: 1.5rem;
}

.resqsites-incident-vehicles__list--static {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.resqsites-incident-vehicles .splide__slide {
	display: flex;
	justify-content: start;
}

.resqsites-incident-vehicles .splide__slide > a {
	flex: 0 0 auto;
	width: 180px;
}

.resqsites-incident-vehicles--static {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	margin-top: 0.5rem;
	overflow: visible;
	justify-items: start;
	justify-content: start;
	align-items: start;
}

.resqsites-incident-vehicles--static .resqsites-incident-vehicle-thumb {
	width: 180px;
	height: 180px;
}

.resqsites-incident-vehicles__list--static .splide__slide {
	display: flex;
}

.resqsites-incident-vehicles .splide__pagination {
	position: static;
	margin-top: 1.25rem;
	display: flex;
	justify-content: center;
	gap: 0.35rem;
}

.resqsites-incident-vehicles .splide__pagination__page {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(148, 163, 184, 0.55);
	opacity: 1;
	transition: background 0.2s ease, transform 0.2s ease;
}

.resqsites-incident-vehicles .splide__pagination__page.is-active {
	background: rgba(37, 99, 235, 0.85);
	transform: scale(1.15);
}

.resqsites-incident-vehicle-thumb {
	position: relative;
	display: block;
	width: 180px;
	height: 180px;
	aspect-ratio: 1 / 1;
	border-radius: 18px;
	overflow: hidden;
	transition: none;
}

.resqsites-incident-vehicle-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@supports not (aspect-ratio: 1 / 1) {
	.resqsites-incident-vehicle-thumb {
		padding-top: 0;
		height: 180px;
	}

	.resqsites-incident-vehicle-thumb > img,
	.resqsites-incident-vehicle-thumb__placeholder {
		position: static;
		width: 100%;
		height: 100%;
	}
}

@media (max-width: 640px) {
	.resqsites-incident-vehicles__list--static {
		gap: 1rem;
	}
}

.resqsites-incident-vehicle-thumb__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.65), rgba(15, 23, 42, 0.85));
	color: #f8fafc;
	font-size: 2.4rem;
	font-weight: 700;
}

.resqsites-incident-vehicle-thumb:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.45);
	outline-offset: 3px;
}

.resqsites-incident-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.9rem;
}

.resqsites-incident-list li {
	background: rgba(248, 250, 252, 0.92);
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 14px;
	box-shadow: none;
	padding: 0.85rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.resqsites-incident-list a {
	color: #1d4ed8;
	font-weight: 600;
	text-decoration: none;
}

.resqsites-incident-list a:hover,
.resqsites-incident-list a:focus {
	text-decoration: underline;
}

.resqsites-incident-panel--map .resqsites-single__map {
	min-height: 360px;
	border: none;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: none;
}

@media (max-width: 720px) {
	.resqsites-incident-panel {
		padding: 1.35rem 1.4rem;
		border-radius: 18px;
	}

	.resqsites-incident-panel h2 {
		font-size: 1.2rem;
	}

	.resqsites-incident-meta {
		grid-template-columns: minmax(0, 1fr);
		grid-auto-rows: auto;
		gap: 0.75rem;
	}

	.resqsites-incident-meta--grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.resqsites-incident-vehicles {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
		gap: 1rem;
	}

	.resqsites-incident-vehicle-card {
		min-height: 220px;
	}
}

.resqsites-table {
	width: 100%;
	border-collapse: collapse;
}

.resqsites-table th,
.resqsites-table td {
	border: 1px solid #d0d7de;
	padding: 0.75rem;
	text-align: left;
}

.resqsites-list {
	list-style: disc;
	padding-left: 1.5rem;
}

.resqsites-single__map {
	min-height: 360px;
	border: 1px solid #d0d7de;
	border-radius: 6px;
}

.resqsites-map-heading {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.resqsites-map-tooltip {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.resqsites-map-tooltip__icon {
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 999px;
	border: none;
	background: transparent;
	color: #2563eb;
	font-weight: 600;
	font-size: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
	transition: color 0.2s ease, transform 0.2s ease;
	font-family: inherit;
}

.resqsites-map-tooltip__icon:hover,
.resqsites-map-tooltip__icon:focus-visible {
	color: #1d4ed8;
	transform: scale(1.05);
}

.resqsites-map-tooltip__icon:focus-visible {
	outline: 2px solid rgba(37, 99, 235, 0.5);
	outline-offset: 2px;
}

.resqsites-map-tooltip__icon span,
.resqsites-map-tooltip__icon i {
	pointer-events: none;
}

.resqsites-map-tooltip__text {
	position: absolute;
	left: 50%;
	top: calc(100% + 0.7rem);
	transform: translate(-50%, -0.4rem);
	background: #0f172a;
	color: #fff;
	padding: 0.6rem 0.85rem;
	border-radius: 0.6rem;
	min-width: 220px;
	max-width: 320px;
	font-size: 0.85rem;
	line-height: 1.4;
	box-shadow: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
	z-index: 10;
}

.resqsites-map-tooltip__text::after {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -100%);
	border-width: 6px;
	border-style: solid;
	border-color: transparent transparent #0f172a transparent;
}

.resqsites-map-tooltip:hover .resqsites-map-tooltip__text,
.resqsites-map-tooltip:focus-within .resqsites-map-tooltip__text {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0.1rem);
}

.resqsites-note {
	font-size: 0.9rem;
	color: #4a5568;
	margin-top: 0.5rem;
}

@media (max-width: 960px) {
	.resqsites-vehicles,
	.resqsites-incidents {
		padding: 0 1rem;
	}

	.resqsites-stats {
		padding: clamp(1.4rem, 7vw, 2rem);
		border-radius: 22px;
	}

	.resqsites-chart {
		min-height: 320px;
	}

	.resqsites-chart canvas {
		height: 360px !important;
	}

	.resqsites-vehicle__toggle {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.resqsites-vehicle__image img {
		width: 100%;
		height: auto;
	}

	.resqsites-vehicle__details-inner {
		grid-template-columns: 1fr;
	}

	.resqsites-incidents__body {
		grid-template-columns: 1fr;
	}

	.resqsites-incidents__map {
		min-height: 320px;
	}
}
.resqsites-lightbox__inner {
	position: relative;
	max-width: min(960px, 94vw);
	max-height: 90vh;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.resqsites-lightbox__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	max-height: 80vh;
}

.resqsites-lightbox__stage img {
	max-width: 100%;
	max-height: 80vh;
	border-radius: 10px;
	display: block;
	box-shadow: none;
}

.resqsites-lightbox__close {
	position: absolute;
	top: -1.25rem;
	right: -1.25rem;
	background: #fff;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	font-size: 1.6rem;
	border: none;
	cursor: pointer;
	box-shadow: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.resqsites-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: rgba(15, 23, 42, 0.55);
	color: #f8fafc;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.resqsites-lightbox__nav:hover,
.resqsites-lightbox__nav:focus-visible {
	background: rgba(37, 99, 235, 0.9);
	color: #ffffff;
	outline: none;
	transform: translateY(-50%) scale(1.05);
}

.resqsites-lightbox__nav[disabled] {
	opacity: 0.35;
	pointer-events: none;
}

.resqsites-lightbox__prev {
	left: 0.75rem;
}

.resqsites-lightbox__next {
	right: 0.75rem;
}

.resqsites-lightbox__caption {
	font-size: 0.95rem;
	color: #f8fafc;
	text-align: center;
	max-width: min(720px, 90vw);
}

.resqsites-lightbox__counter {
	font-size: 0.82rem;
	color: rgba(248, 250, 252, 0.72);
	text-align: center;
}

@media (max-width: 768px) {
	.resqsites-lightbox__nav {
		width: 40px;
		height: 40px;
		font-size: 1.4rem;
	}

	.resqsites-lightbox__prev {
		left: 0.5rem;
	}

	.resqsites-lightbox__next {
		right: 0.5rem;
	}
}

/*.resqsites-weather {
	margin: 2.5rem auto;
	max-width: 1180px;
	background: #ffffff;
	border-radius: 24px;
	padding: 2rem;
	box-shadow: none;
	border: 1px solid rgba(148, 163, 184, 0.18);
	color: #0f172a;
	position: relative;
}*/

.resqsites-weather__header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
	.resqsites-weather__header {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.resqsites-weather__status {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 1.25rem;
	border-radius: 18px;
	background: rgba(226, 232, 240, 0.35);
	backdrop-filter: blur(6px);
}

.resqsites-weather__status-indicator {
	display: inline-flex;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	box-shadow: none;
	border: 2px solid rgba(255, 255, 255, 0.85);
}

.resqsites-weather__status-indicator.status-green {
	background: #16a34a;
	box-shadow: none;
}

.resqsites-weather__status-indicator.status-yellow {
	background: #f59e0b;
	box-shadow: none;
}

.resqsites-weather__status-indicator.status-red {
	background: #dc2626;
	box-shadow: none;
}

.resqsites-weather__status-text {
	display: grid;
	gap: 0.25rem;
}

.resqsites-weather__status-text strong {
	font-size: 1.1rem;
}

.resqsites-weather__status-text span {
	color: rgba(15, 23, 42, 0.72);
	font-size: 0.95rem;
}

.resqsites-weather__location {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.65rem 1.1rem;
	border-radius: 999px;
	background: rgba(59, 130, 246, 0.08);
	color: #1d4ed8;
	font-weight: 600;
	font-size: 0.95rem;
}

.resqsites-weather__map {
	height: 420px;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 2.2rem;
	box-shadow: none;
	position: relative;
	isolation: isolate;
	z-index: 0;
}

.resqsites-weather__map .leaflet-control-container .leaflet-control {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: none;
}

.resqsites-weather__map .leaflet-pane {
	z-index: 0;
}

.resqsites-weather__map .leaflet-tile-pane {
	z-index: 1;
}

.resqsites-weather__map .leaflet-overlay-pane {
	z-index: 2;
}

.resqsites-weather__map .leaflet-shadow-pane {
	z-index: 3;
}

.resqsites-weather__map .leaflet-marker-pane {
	z-index: 4;
}

.resqsites-weather__map .leaflet-tooltip-pane {
	z-index: 5;
}

.resqsites-weather__map .leaflet-popup-pane {
	z-index: 6;
}

.resqsites-weather__warnings,
.resqsites-weather__forecast {
	margin-bottom: 2.5rem;
}

.resqsites-weather__warnings h2,
.resqsites-weather__forecast h2 {
	font-size: 1.5rem;
	margin-bottom: 1.2rem;
}

.resqsites-weather__empty {
	margin: 0;
	padding: 1rem 1.25rem;
	border-radius: 14px;
	background: rgba(148, 163, 184, 0.14);
	color: rgba(30, 41, 59, 0.75);
}

.resqsites-weather-warning {
	border-radius: 18px;
	padding: 1.5rem 1.75rem;
	margin-bottom: 1.5rem;
	border-left: 6px solid rgba(37, 99, 235, 0.3);
	background: rgba(241, 245, 249, 0.65);
	display: grid;
	gap: 1rem;
}

.resqsites-weather-warning.status-green {
	border-left-color: #16a34a;
	background: rgba(220, 252, 231, 0.7);
}

.resqsites-weather-warning.status-yellow {
	border-left-color: #f59e0b;
	background: rgba(254, 243, 199, 0.7);
}

.resqsites-weather-warning.status-red {
	border-left-color: #dc2626;
	background: rgba(254, 226, 226, 0.7);
}

.resqsites-weather-warning__labels {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	align-items: center;
}

.resqsites-weather-warning__labels span {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.9rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.85rem;
	background: rgba(15, 23, 42, 0.08);
}

.resqsites-weather-warning__headline {
	margin: 0;
	font-size: 1.2rem;
}

.resqsites-weather-warning__meta {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	font-size: 0.95rem;
}

.resqsites-weather-warning__meta li {
	display: inline-flex;
	gap: 0.6rem;
	align-items: center;
	color: rgba(15, 23, 42, 0.7);
}

.resqsites-weather-warning__meta i {
	color: rgba(30, 64, 175, 0.85);
}

.resqsites-weather-warning__description,
.resqsites-weather-warning__instruction {
	background: rgba(255, 255, 255, 0.85);
	border-radius: 14px;
	padding: 1rem 1.2rem;
	color: rgba(15, 23, 42, 0.88);
}

.resqsites-weather-warning__instruction h4 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-size: 1.05rem;
}

.resqsites-weather-warning__instruction p:last-child,
.resqsites-weather-warning__description p:last-child {
	margin-bottom: 0;
}

.resqsites-weather__forecast-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.25rem;
}

.resqsites-weather-forecast {
	border-radius: 18px;
	padding: 1.2rem 1.4rem;
	border: 1px solid rgba(148, 163, 184, 0.22);
	display: grid;
	gap: 0.75rem;
}

.resqsites-weather-forecast.status-green {
	box-shadow: none;
}

.resqsites-weather-forecast.status-yellow {
	box-shadow: none;
}

.resqsites-weather-forecast.status-red {
	box-shadow: none;
}

.resqsites-weather-forecast header {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-weight: 600;
	color: rgba(15, 23, 42, 0.9);
}

.resqsites-weather-forecast ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.35rem;
	font-size: 0.95rem;
	color: rgba(15, 23, 42, 0.74);
}

.resqsites-weather-forecast li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.resqsites-weather-forecast i {
	color: rgba(30, 64, 175, 0.8);
}

.resqsites-weather__notice {
	margin: 0.75rem 0;
	padding: 0.75rem 1.1rem;
	border-radius: 12px;
	background: rgba(148, 163, 184, 0.2);
	color: rgba(30, 41, 59, 0.85);
}

.resqsites-weather__notice.is-warning {
	background: rgba(245, 158, 11, 0.18);
	color: #92400e;
}

.resqsites-weather__notice.is-error {
	background: rgba(220, 38, 38, 0.15);
	color: #7f1d1d;
}

.resqsites-traffic {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px;
	box-shadow: none;
	margin-bottom: 32px;
}

.resqsites-traffic__header {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
}

.resqsites-traffic__summary h2 {
	margin: 0;
	font-size: 1.45rem;
}

.resqsites-traffic__summary p {
	margin: 4px 0 0;
	color: #4b5563;
	font-size: 0.95rem;
}

.resqsites-traffic__filters-wrapper {
	flex: 1;
	min-width: 260px;
}

.resqsites-traffic__filters {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 8px 16px;
}

.resqsites-traffic__filters label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
	color: #6b7280;
}

.resqsites-traffic__filters select,
.resqsites-traffic__filters input {
	width: 100%;
	border: 1px solid #cbd5f5;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 0.95rem;
	background: #fff;
}

.resqsites-traffic__filters button {
	margin-top: 20px;
}

.resqsites-traffic__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
	margin-top: 24px;
}

.resqsites-traffic-card {
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 18px;
	background: #fff;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.resqsites-traffic-card__header h3 {
	margin: 6px 0 0;
	font-size: 1.1rem;
}

.resqsites-traffic-card__subtitle {
	margin: 0;
	color: #475569;
	font-size: 0.95rem;
}

.resqsites-traffic-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.resqsites-traffic-card__badge {
	display: inline-flex;
	align-items: center;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 2px 10px;
	border-radius: 999px;
	background: #e2e8f0;
	color: #1f2937;
}

.resqsites-traffic--warnings .resqsites-traffic-card__badge.badge-type {
	background: #fef3c7;
	color: #92400e;
}

.resqsites-traffic--roadworks .resqsites-traffic-card__badge.badge-type {
	background: #dbeafe;
	color: #1e3a8a;
}

.resqsites-traffic-card__badge.badge-blocked {
	background: #fee2e2;
	color: #991b1b;
}

.resqsites-traffic-card__badge.badge-future {
	background: #e0f2fe;
	color: #075985;
}

.resqsites-traffic-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	color: #475569;
	font-size: 0.92rem;
}

.resqsites-traffic-card__meta i {
	margin-right: 6px;
	color: #94a3b8;
}

.resqsites-traffic-card__meta li {
	display: flex;
	align-items: center;
}

.resqsites-traffic-card__description {
	list-style: disc;
	margin: 0;
	padding-left: 18px;
	color: #1f2937;
}

.resqsites-traffic-card__description li {
	margin-bottom: 6px;
	line-height: 1.4;
}

.resqsites-traffic__notice,
.resqsites-traffic__empty {
	margin: 24px 0;
	border-radius: 10px;
	padding: 14px 16px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1d4ed8;
}

.resqsites-traffic__notice.is-error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
}

.resqsites-traffic__source {
	margin-top: 16px;
	font-size: 0.85rem;
	color: #94a3b8;
}

.resqsites-traffic-card.is-blocked {
	border-color: #fecaca;
}

.resqsites-traffic-card.is-future {
	border-style: dashed;
}

.resqsites-traffic-overview__filter {
	margin-bottom: 12px;
}

.resqsites-traffic-filter {
	display: inline-flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}

.resqsites-traffic-filter__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0284c7;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border: 1px solid transparent;
	transition: all 0.15s ease;
}

.resqsites-traffic-filter__btn:hover,
.resqsites-traffic-filter__btn:focus {
	background: #e0f2fe;
	color: #0369a1;
}

.resqsites-traffic-filter__btn.is-active {
	background: #0284c7;
	color: #fff;
	border-color: #0ea5e9;
}
.resqsites-layout-widget--featured {
	box-shadow: none !important;
}

.resqsites-water-levels {
	position: relative;
	padding: 32px;
	border-radius: 28px;
	margin-bottom: 48px;
	display: grid;
	gap: 32px;
	overflow: hidden;
}

.resqsites-water-levels.is-loading::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.08);
	backdrop-filter: blur(2px);
	z-index: 5;
}

.resqsites-water-levels__controls {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.resqsites-water-levels__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
	width: 100%;
}

.resqsites-water-levels__meta > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 0;
}

.resqsites-water-levels .ts-wrapper {
	width: 100%;
}

.resqsites-water-levels .ts-control {
	border-radius: 16px;
	border: 1px solid rgba(148, 163, 184, 0.32);
	background: linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.9));
	min-height: 48px;
	padding: 0.45rem 0.9rem;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.96rem;
	font-weight: 600;
	color: #0f172a;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.resqsites-water-levels .ts-control input {
	font-size: 0.95rem;
	font-weight: 500;
	color: #0f172a;
}

.resqsites-water-levels .ts-control:hover,
.resqsites-water-levels .ts-control:focus-within {
	border-color: rgba(37, 99, 235, 0.45);
	box-shadow: none;
}

.resqsites-water-levels .ts-control.is-disabled {
	opacity: 0.65;
	background: rgba(226, 232, 240, 0.68);
	box-shadow: none;
	cursor: not-allowed;
}

.resqsites-water-levels .ts-wrapper.is-loading .ts-control {
	position: relative;
	color: rgba(15, 23, 42, 0.58);
}

.resqsites-water-levels .ts-wrapper.is-loading .ts-control::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 14px;
	width: 16px;
	height: 16px;
	border-radius: 999px;
	border: 2px solid rgba(37, 99, 235, 0.32);
	border-top-color: rgba(37, 99, 235, 0.85);
	animation: resqsites-spin 0.7s linear infinite;
	transform: translateY(-50%);
}

@keyframes resqsites-spin {
	to {
		transform: translateY(-50%) rotate(360deg);
	}
}

.resqsites-water-levels .ts-dropdown {
	border-radius: 16px;
	border: 1px solid rgba(148, 163, 184, 0.2);
	box-shadow: none;
	background: #ffffff;
	padding: 0.35rem 0;
}

.resqsites-water-levels .ts-dropdown .option {
	padding: 0.55rem 0.95rem;
	font-size: 0.95rem;
	font-weight: 500;
	color: #0f172a;
	transition: background 0.18s ease, color 0.18s ease;
}

.resqsites-water-levels .ts-dropdown .option:hover,
.resqsites-water-levels .ts-dropdown .option[aria-selected="true"],
.resqsites-water-levels .ts-dropdown .option.active {
	background: rgba(37, 99, 235, 0.12);
	color: #1d4ed8;
}

.resqsites-water-levels__meta-label {
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #94a3b8;
	margin-bottom: 6px;
}

.resqsites-water-levels__status {
	border-radius: 24px;
	padding: 28px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	gap: 18px;
	align-items: center;
	text-align: center;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.05));
	border: 1px solid rgba(37, 99, 235, 0.18);
}

.resqsites-water-levels__status-indicator {
	margin: 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	align-self: center;
	box-shadow: none;
}

.resqsites-water-levels__status-indicator::after {
	content: '';
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: currentColor;
	box-shadow: none;
}

.resqsites-water-levels__status-text {
	display: flex;
	flex-direction: column;
	row-gap: 6px;
	align-items: center;
}

.resqsites-water-levels__status-text strong {
	font-size: 1.26rem;
	color: #0f172a;
}

.resqsites-water-levels__status-text span {
	color: #334155;
	font-size: 0.96rem;
}

.resqsites-water-levels__status-meta {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.resqsites-water-levels__status-meta li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 0.9rem;
	color: #475569;
}

.resqsites-water-levels__status-meta li:last-child {
	text-align: right;
	align-items: flex-end;
}

.resqsites-water-levels__status-meta li:last-child strong {
	text-align: right;
}

.resqsites-water-levels__status-meta li:first-child {
	text-align: left;
	align-items: flex-start;
}

.resqsites-water-levels__status-meta li:first-child strong {
	text-align: left;
}

.resqsites-water-levels__status-meta strong {
	font-size: 1.05rem;
	color: #0f172a;
}

.resqsites-water-levels__status.status-green {
	background: linear-gradient(140deg, rgba(22, 163, 74, 0.12), rgba(22, 163, 74, 0.05));
	border-color: rgba(22, 163, 74, 0.22);
}

.resqsites-water-levels__status.status-yellow {
	background: linear-gradient(140deg, rgba(234, 179, 8, 0.18), rgba(234, 179, 8, 0.07));
	border-color: rgba(217, 119, 6, 0.22);
}

.resqsites-water-levels__status.status-red {
	background: linear-gradient(140deg, rgba(239, 68, 68, 0.18), rgba(239, 68, 68, 0.07));
	border-color: rgba(220, 38, 38, 0.28);
}

.resqsites-water-levels__status-indicator.status-green {
	color: #16a34a;
}

.resqsites-water-levels__status-indicator.status-yellow {
	color: #d97706;
}

.resqsites-water-levels__status-indicator.status-red {
	color: #ef4444;
}

.resqsites-water-levels__status-indicator.status-neutral {
	color: #0ea5e9;
}

.resqsites-water-levels__cards {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.resqsites-water-levels__card {
	background: #ffffff;
	border-radius: 20px;
	padding: 20px 22px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.resqsites-water-levels__card h3 {
	font-size: 0.95rem;
	font-weight: 600;
	color: #475569;
	margin: 0;
}

.resqsites-water-levels__value {
	font-size: 1.4rem;
	font-weight: 700;
	color: #0f172a;
}

.resqsites-water-levels__muted {
	color: #64748b;
	font-size: 0.85rem;
	margin: 0;
}

.resqsites-water-levels__chart {
	padding: 22px;
	border-radius: 24px;
	background: transparent;
	box-shadow: none;
	border: 0;
	display: grid;
	gap: 16px;
}

.resqsites-water-levels__chart-inner {
	position: relative;
	min-height: 320px;
}

.resqsites-water-levels__thresholds {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.resqsites-water-levels__threshold {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: #f1f5f9;
	border-radius: 999px;
	padding: 0.25rem 0.75rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #0f172a;
	box-shadow: none;
}

.resqsites-water-levels__threshold-swatch {
	width: 0.65rem;
	height: 0.65rem;
	border-radius: 999px;
	display: inline-block;
}

.resqsites-water-levels__threshold-label {
	font-weight: 600;
}

.resqsites-water-levels__threshold-value {
	font-weight: 500;
	color: #475569;
}

.resqsites-water-levels__chart-inner canvas {
	width: 100% !important;
	height: 100% !important;
}

.resqsites-water-levels__range {
	display: inline-flex;
	gap: 12px;
	flex-wrap: wrap;
}

.resqsites-water-levels__range-button {
	border: 1px solid rgba(148, 163, 184, 0.32);
	background: rgba(248, 250, 252, 0.9);
	color: #1e293b;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.resqsites-water-levels__range-button:hover,
.resqsites-water-levels__range-button:focus {
	border-color: rgba(37, 99, 235, 0.55);
	color: #1d4ed8;
	outline: 0;
	box-shadow: none;
}

.resqsites-water-levels__range-button.is-active {
	background: rgba(37, 99, 235, 0.16);
	border-color: rgba(37, 99, 235, 0.38);
	color: #1d4ed8;
	box-shadow: none;
}

.resqsites-water-levels__chart-hint {
	font-size: 0.82rem;
	color: #64748b;
	margin: 0;
}

.resqsites-water-levels__notice {
	display: none;
	border-radius: 16px;
	padding: 14px 18px;
	font-size: 0.92rem;
}

.resqsites-water-levels__notice.is-error {
	display: block;
	background: rgba(239, 68, 68, 0.14);
	color: #b91c1c;
	border: 1px solid rgba(220, 38, 38, 0.35);
}

.resqsites-water-levels__notice.is-warning {
	display: block;
	background: rgba(234, 179, 8, 0.18);
	color: #92400e;
	border: 1px solid rgba(217, 119, 6, 0.35);
}

.resqsites-water-levels__notice.is-info {
	display: block;
	background: rgba(59, 130, 246, 0.12);
	color: #1d4ed8;
	border: 1px solid rgba(37, 99, 235, 0.32);
}

.resqsites-water-levels__details {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	align-items: stretch;
}

.resqsites-water-levels__detail {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.resqsites-water-levels__detail h3 {
	font-size: 1rem;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 12px;
}

.resqsites-water-levels__detail > h3 + * {
	flex: 1;
}

.resqsites-water-levels__characteristics {
	display: grid;
	gap: 10px 18px;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	margin: 0;
	padding: 0;
}

.resqsites-water-levels__characteristics div {
	border-radius: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(148, 163, 184, 0.18);
}

.resqsites-water-levels__characteristics dt {
	font-size: 0.82rem;
	font-weight: 700;
	color: #475569;
	margin-bottom: 6px;
}

.resqsites-water-levels__characteristics dd {
	margin: 0;
	font-size: 0.95rem;
	color: #0f172a;
	font-weight: 600;
}

.resqsites-water-levels__gauge {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	height: 100%;
}

.resqsites-water-levels__gauge.has-map {
	grid-template-columns: minmax(0, 1fr);
}

.resqsites-water-levels__gauge-card {
	border-radius: 14px;
	padding: 16px 18px;
	border: 1px solid rgba(148, 163, 184, 0.18);
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
	min-height: 100%;
	position: relative;
	overflow: hidden;
}

.resqsites-water-levels__gauge-card::before {
	content: '';
	position: absolute;
	left: 6%;
	right: 6%;
	bottom: 14%;
	height: 58%;
	background: linear-gradient(180deg, rgba(148, 197, 255, 0.35) 0%, rgba(191, 219, 254, 0.08) 100%);
	clip-path: polygon(50% 0, 100% 85%, 0 85%);
	opacity: 0.6;
}

.resqsites-water-levels__gauge-card > * {
	position: relative;
	z-index: 1;
}

.resqsites-water-levels__gauge-card .resqsites-water-levels__value {
	margin: 0;
}

.resqsites-water-levels__gauge-card .resqsites-water-levels__muted {
	margin: 0;
	text-align: center;
	margin-top: auto;
	width: 100%;
}

.resqsites-water-levels__gauge-map {
	min-height: 220px;
	height: 100%;
	border-radius: 16px;
	border: 1px solid rgba(148, 163, 184, 0.26);
	overflow: hidden;
	background: rgba(226, 232, 240, 0.4);
	position: relative;
}

.resqsites-water-levels__gauge-map.leaflet-container {
	width: 100%;
	height: 100%;
}

@media (min-width: 768px) {
	.resqsites-water-levels__gauge.has-map {
		grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
	}
}

@media (max-width: 768px) {
	.resqsites-water-levels {
		padding: 24px;
		gap: 26px;
	}

	.resqsites-water-levels__status {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		text-align: center;
	}

	.resqsites-water-levels__status-indicator {
		margin: 0 auto;
	}

	.resqsites-water-levels__status-text {
		align-items: center;
	}

	.resqsites-water-levels__status-meta {
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	}

	.resqsites-water-levels__chart-inner {
		min-height: 260px;
	}
}

/* Recent incidents */
.resqsites-recent-incidents {
	max-width: 780px;
	padding: 1.75rem;
	border-radius: 22px;
	box-shadow: none;
	border: 1px solid #dbe3f0;
	background: #fff;
}

.resqsites-recent-incidents--plain {
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
}

.resqsites-recent-incidents__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.resqsites-recent-incidents__item {
	list-style: none;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e2e8f0;
}

.resqsites-recent-incidents__item--with-media {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.resqsites-recent-incidents__media {
	width: 92px;
	height: 92px;
	border-radius: 16px;
	overflow: hidden;
	flex-shrink: 0;
	background: #e2e8f0;
}

.resqsites-recent-incidents__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.resqsites-recent-incidents__content {
	flex: 1;
}

.resqsites-recent-incidents__item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.resqsites-recent-incidents__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: #64748b;
	align-items: center;
}

.resqsites-recent-incidents__number {
	font-weight: 600;
	color: #0f172a;
}

.resqsites-recent-incidents__title {
	display: inline-flex;
	margin: 0.15rem 0 0.35rem;
	font-size: 1.15rem;
	color: #0f172a;
	text-decoration: none;
	font-weight: 600;
}

.resqsites-recent-incidents__title:hover {
	color: var(--resqsites-map-expand-color, #1d3557);
}

.resqsites-recent-incidents__details {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1rem;
	font-size: 0.9rem;
	color: #475569;
}

.resqsites-recent-incidents__keyword {
	padding: 0.2rem 0.75rem;
	border-radius: 999px;
	background: #eef2ff;
	color: #4338ca;
	font-weight: 600;
	font-size: 0.85rem;
}

.resqsites-recent-incidents__location {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #475569;
}

.resqsites-recent-incidents__excerpt {
	margin: 0.4rem 0 0;
	color: #475569;
	font-size: 0.95rem;
}

.resqsites-recent-incidents__actions {
	margin-top: 1.5rem;
	text-align: center;
}

.resqsites-recent-incidents__empty {
	text-align: center;
	color: #475569;
	font-style: italic;
}

/* Incident highlight */
.resqsites-incident-highlight {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 1.5rem;
	padding: 1.75rem;
	border-radius: 28px;
	background: linear-gradient(135deg, #f8fafc, #ffffff);
	box-shadow: none;
	border: 1px solid #e2e8f0;
}

.resqsites-incident-highlight__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 22px;
}

.resqsites-incident-highlight__meta {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	color: #475569;
	font-size: 0.95rem;
}

.resqsites-incident-highlight__number {
	font-weight: 700;
	color: var(--resqsites-map-expand-color, #1d3557);
}

.resqsites-incident-highlight__title {
	margin: 0.3rem 0;
	font-size: 1.5rem;
}

.resqsites-incident-highlight__title a {
	text-decoration: none;
	color: #0f172a;
}

.resqsites-incident-highlight__title a:hover {
	color: var(--resqsites-map-expand-color, #1d3557);
}

.resqsites-incident-highlight__keyword {
	margin: 0.35rem 0;
	font-weight: 600;
	color: #334155;
}

.resqsites-incident-highlight__location {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	color: #475569;
	margin: 0;
}

.resqsites-incident-highlight__excerpt {
	color: #475569;
	margin: 0.75rem 0 1rem;
}

.resqsites-incident-highlight__actions {
	margin-top: 1rem;
}

@media (max-width: 860px) {
	.resqsites-incident-highlight {
		grid-template-columns: 1fr;
	}
}

/* Vehicle status cards */
.resqsites-vehicle-status-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin: 1.5rem 0;
}

.resqsites-vehicle-status-card {
	padding: 1.25rem;
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.02);
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.resqsites-vehicle-status-card__label {
	font-size: 0.9rem;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
}

.resqsites-vehicle-status-card__value {
	font-size: 2rem;
	color: #0f172a;
}

.resqsites-vehicle-status-card__meta {
	font-size: 0.9rem;
	color: #64748b;
}

.resqsites-vehicle-status-card.is-active {
	border-color: rgba(34, 197, 94, 0.35);
}

.resqsites-vehicle-status-card.is-retired {
	border-color: rgba(239, 68, 68, 0.3);
}

.resqsites-vehicle-status-card.is-total {
	border-color: rgba(59, 130, 246, 0.3);
}

.resqsites-vehicle-status-cards__empty {
	text-align: center;
	color: #475569;
}

/* Weather status cards */
.resqsites-weather-status {
	margin: 0 0 2rem auto;
	padding: 1.5rem;
	border-radius: 24px;
	border: 1px solid #dbe3f0;
	background: #fff;
	box-shadow: none;
}

.resqsites-weather-status__header {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: space-between;
	margin-bottom: 1.25rem;
}

.resqsites-weather-status__label {
	display: block;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #94a3b8;
}

.resqsites-weather-status__ampel {
	display: flex;
	gap: 1rem;
	align-items: center;
	margin-bottom: 1rem;
}

.resqsites-weather-status__indicator {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--resqsites-map-expand-color, #1d3557);
	box-shadow: 0 0 0 6px rgba(var(--resqsites-map-expand-rgb, 29, 53, 87), 0.15);
	flex-shrink: 0;
}

.resqsites-weather-status.status-yellow .resqsites-weather-status__indicator {
	background: #fbbf24;
	box-shadow: none;
}

.resqsites-weather-status.status-green .resqsites-weather-status__indicator {
	background: #16a34a;
	box-shadow: none;
}

.resqsites-weather-status.status-red .resqsites-weather-status__indicator {
	background: #ef4444;
	box-shadow: none;
}

.resqsites-weather-status__warnings {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.resqsites-weather-status__warning {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1rem;
	border-radius: 14px;
	background: #f1f5f9;
}

.resqsites-weather-status__warning-region {
	display: block;
	font-size: 0.85rem;
	color: #475569;
}

.resqsites-weather-status__warning-period {
	font-size: 0.9rem;
	color: #475569;
}

.resqsites-weather-status__empty {
	margin: 0;
	color: #475569;
	font-style: italic;
}

.resqsites-weather-status__actions {
	margin-top: 1.25rem;
	text-align: right;
}

.resqsites-weather-status__notice {
	text-align: center;
	padding: 1rem;
	border-radius: 14px;
	background: #f8fafc;
	color: #475569;
}

.resqsites-weather-status__notice.is-error {
	background: #fee2e2;
	color: #991b1b;
}

.resqsites-weather--map-only {
	max-width: 960px;
	margin: 0 0 2rem auto;
}

.resqsites-weather__map-caption {
	margin-top: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #475569;
	font-size: 0.95rem;
}

/* Water card */
.resqsites-water-card {
	margin: 0 0 2rem auto;
	padding: 1.5rem;
	border-radius: 22px;
	background: #fff;
	border: 1px solid #dbe3f0;
	box-shadow: none;
}

.resqsites-water-card__header {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.resqsites-water-card__label {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #94a3b8;
}

.resqsites-water-card__timestamp {
	min-width: 180px;
	text-align: left;
}

.resqsites-water-card__timestamp strong {
	font-size: 1rem;
	color: #0f172a;
}

.resqsites-water-card__value {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	display: flex;
	align-items: center;
}

.resqsites-water-card__value strong {
	font-size: inherit;
}

.resqsites-water-card__status {
	margin: 0.3rem 0;
	font-weight: 600;
	color: #0f172a;
}

.resqsites-water-card__description {
	margin: 0 0 1rem;
	color: #475569;
}

.resqsites-water-card__stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 0.75rem;
}

.resqsites-water-card__stats li {
	padding: 0.75rem 1rem;
	border-radius: 14px;
	background: #f8fafc;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.resqsites-water-card__range {
	margin: 0.75rem 0 1rem;
	font-size: 0.9rem;
	color: #94a3b8;
}

.resqsites-water-card__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.75rem;
	margin: 0 0 1rem;
}

.resqsites-water-card__meta div {
	background: #f1f5f9;
	border-radius: 14px;
	padding: 0.75rem 1rem;
}

.resqsites-water-card__meta dt {
	margin: 0;
	font-size: 0.8rem;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.resqsites-water-card__meta dd {
	margin: 0.35rem 0 0;
	font-weight: 600;
	color: #0f172a;
}

.resqsites-water-card__actions {
	text-align: right;
}

/*.resqsites-water-card.status-green {
	border-top: 4px solid #34d399;
}

.resqsites-water-card.status-yellow {
	border-top: 4px solid #facc15;
}

.resqsites-water-card.status-red {
	border-top: 4px solid #ef4444;
}*/

.resqsites-water-card__notice {
	text-align: center;
	border-radius: 18px;
	margin: 1rem 0;
	padding: 1rem;
	background: #f8fafc;
}
.resqsites-weather-status__warning.status-yellow {
	background: #fef9c3;
}

.resqsites-weather-status__warning.status-red {
	background: #fee2e2;
}

.resqsites-credit {
	margin-top: 1.5rem;
	text-align: center;
	font-size: 0.85rem;
	color: #475569;
}

.resqsites-credit small {
	opacity: 0.85;
}

.resqsites-credit--badge {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.65rem 1rem;
	border-radius: 999px;
	background: #f1f5f9;
	font-size: 0.9rem;
	color: #0f172a;
}

.resqsites-credit__logo img {
	height: 28px;
	width: auto;
	display: block;
}
