.states-map {
	align-items: center;
	flex-direction: column;
	margin-left: 0 !important;
	margin-right: 0 !important;
	display: flex;
	width: 100%;
	max-width: 100%;
}

/* Discipline + speciality filter bar above the map. */
.states-map-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	width: 100%;
	margin-bottom: 20px;
}

.states-map-filter {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-weight: 600;
}

.states-map-filter select {
	padding: 6px 8px;
}

.results {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.results article {
	width: 100%;
	max-width: 100%;
}

.results article .content h1,
.results article .content h2,
.results article .content h3,
.results article .content h4,
.results article .content h5,
.results article .content h6 {
	margin: 0 !important;
}

/* Licensure-guide card template (generated into each post's content). */
.lg-card {
	box-sizing: border-box;
	height: 100%;
	padding: 24px;
	background: #fff;
	color: #1a1a1a;
	border-radius: 6px;
	font-size: 14px;
}

.lg-state {
	margin: 0 0 12px !important;
	font-size: 24px;
	font-weight: 700;
}

.lg-link {
	display: inline-block;
	margin: 2px 0;
	color: #3c6469;
	font-size: 14px;
	text-decoration: underline;
}

.lg-rule {
	border: 0;
	border-top: 1px solid #e2e2e2;
	margin: 12px 0;
}

.lg-group {
	padding: 12px 0;
}

/* Separator between consecutive sections (not above the first info block). */
.lg-group + .lg-group {
	border-top: 1px solid #ececec;
}

.lg-heading {
	margin: 0 0 8px !important;
	font-size: 16px;
	font-weight: 700;
}

.lg-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	line-height: 1.7;
}

.lg-label {
	color: #333;
}

.lg-value {
	text-align: right;
	font-weight: 500;
}

.lg-apply {
	margin-top: 12px;
}

.lg-disclaimer {
	margin: 16px 0 0 !important;
	padding: 10px 12px;
	background: #f5f5f5;
	border-radius: 4px;
	font-size: 12px;
	color: #555;
}

/* The map SVG carries its own per-state status colors, so we don't force a
   base fill here (that would flatten the design). We only add interaction. */
.state {
	cursor: pointer;
	transition: opacity 0.15s ease, filter 0.15s ease;
}

.state:hover {
	opacity: 0.75;
}

/* Selected state is painted the active/selector colour in JS (no filter here so
   the orange shows cleanly). */

/* Popup shown on hover */
.popup {
	position: absolute;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 5px;
	border-radius: 5px;
	display: none;
}

/* Mobile */
@media screen and (max-width: 767px) {
	#usa-map,
	.results {
		width: 90vw;
	}

	.results {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1023px) {
	#usa-map,
	.results {
		width: 60vw;
	}

	.results {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* Desktop */
@media screen and (min-width: 1024px) {
	#usa-map {
		width: 60vw;
	}

	.results {
		width: 100%;
	}
}
