/* Home-page Queensland service-area map. Loaded only with the map script. */

.pb-service-map {
	margin: 28px 0 4px;
}

.pb-service-map__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(200px, 0.7fr);
	gap: 20px 28px;
	align-items: center;
}

.pb-qld-map {
	height: 460px;
	width: 100%;
	background: #f4f6fb;
	border: 1px solid #e1e6f2;
	border-radius: 12px;
	overflow: hidden;
}

.pb-qld-map:focus {
	outline: 2px solid #2a3a93;
	outline-offset: 3px;
}

.pb-qld-map__error {
	margin: 0;
	padding: 24px;
	color: #2a3a93;
}

.pb-service-map__heading {
	margin: 0 0 12px;
	color: #2a3a93;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.3;
}

.pb-service-map__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Beat the Elementor kit rule `.elementor-kit-33 button` (same specificity, later in the cascade). */
.elementor-kit-33 .pb-service-map .pb-service-map__list button,
.pb-service-map__list button {
	width: 100%;
	text-align: left;
	background-color: #fff;
	border: 1px solid #2a3a93;
	border-radius: 45px;
	box-shadow: none;
	color: #2a3a93;
	font: inherit;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
	padding: 12px 16px;
	cursor: pointer;
}

.elementor-kit-33 .pb-service-map .pb-service-map__list button:hover,
.elementor-kit-33 .pb-service-map .pb-service-map__list button:focus,
.elementor-kit-33 .pb-service-map .pb-service-map__list button[aria-current="true"],
.pb-service-map__list button:hover,
.pb-service-map__list button:focus,
.pb-service-map__list button[aria-current="true"] {
	background-color: #2a3a93;
	color: #fff;
	box-shadow: none;
}

.pb-service-map__list button:focus {
	outline: 2px solid #1b2670;
	outline-offset: 2px;
}

.pb-service-map__credit {
	margin: 12px 0 0;
	color: #5c657a;
	font-size: 12px;
	line-height: 1.45;
}

.pb-service-map__credit a {
	color: #2a3a93;
}

.leaflet-tooltip.pb-qld-label {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.2;
	padding: 0;
	text-shadow: 0 1px 2px rgba(20, 28, 80, 0.9), 0 0 2px rgba(20, 28, 80, 0.9);
}

.leaflet-tooltip.pb-qld-label::before {
	display: none;
}

@media (max-width: 767px) {
	.pb-service-map__layout {
		grid-template-columns: 1fr;
	}

	.pb-qld-map {
		height: 320px;
	}

	.leaflet-tooltip.pb-qld-label {
		font-size: 12px;
	}
}
