.country-map {
	background-color: var(--text-color);
}
.country-map svg {
	max-width: 1700px;
	margin-inline: auto;
	display: block;
}
.country-map svg path:hover {
	fill: #f28717;
	cursor: pointer;
}
.country-show {
	position: fixed;
	display: none;
	border-radius: 17px;
	border: 1px solid transparent;
	margin-left: 15px;
	padding: 6px 13px;
	background: #fff;
	color: var(--text-color);
	font-size: 13px;
	line-height: 16px;
	pointer-events: none;
	box-shadow: 0px 4px 12px 1px rgba(36, 8, 53, 0.25);
}
.countries-grid {
	display: grid;
	gap: 20px;
}
.country {
	scroll-margin-top: 100px;
	display: grid;
	grid-template-rows: auto 0fr;
	padding: 1.5rem;
	background-color: var(--bg);
	/* box-shadow: 0px 5px 10px 3px rgba(232, 232, 232, 0.25); */
	box-shadow: 0px 3px 7px 0px #e8e8e840, 0px 13px 13px 0px #e8e8e836,
		0px 30px 18px 0px #e8e8e821, 0px 53px 21px 0px #e8e8e80a,
		0px 83px 23px 0px #e8e8e800;
	transition: all 0.3s ease;
}
.country.show {
	grid-template-rows: auto 1fr;
	gap: 1rem;
}
.country-head {
	display: flex;
	align-items: center;
	gap: 2rem;
	cursor: pointer;
}
.country-head h2 {
	font-size: 1.25rem;
	margin: 0 auto 0 2rem;
}
.country .country-head svg {
	transition: all 0.3s ease;
}
.country.show .country-head svg {
	transform: rotate(180deg);
}
.country-det-wrp {
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.3fr 0.2fr 1fr;
	gap: 20px;
	transition: all 0.3s ease;
}
.country.show .country-det-wrp {
	padding: 1.5em 1rem;
}
.country-det-wrp > div {
	padding: 1.5rem;
	background-color: var(--bg);
	box-shadow: 0px 3px 7px 0px #e8e8e840, 0px 13px 13px 0px #e8e8e836,
		0px 30px 18px 0px #e8e8e821, 0px 53px 21px 0px #e8e8e80a,
		0px 83px 23px 0px #e8e8e800;
}
.country-det-wrp h3 {
	font-size: 1.15rem;
}
.place h3 {
	text-align: center;
}
.level h3 {
	text-align: center;
}
.level {
	grid-column: 2/4;
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* criteria */
.criteria {
	grid-column: 1/3;
	grid-row-start: 4;
	grid-row-end: 6;
}
.criteria-list {
	padding: 1rem 0;
	border-top: 1px solid var(--text-color);
}
.criterion-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	cursor: pointer;
}
.criterion-item::before {
	content: url("https://ecom.ngo/wp-content/themes/ecomtheme/assets/img/none.svg");
}
.criterion-item.true::before {
	content: url("https://ecom.ngo/wp-content/themes/ecomtheme/assets/img/true.svg");
}
.criterion-item.false::before {
	content: url("https://ecom.ngo/wp-content/themes/ecomtheme/assets/img/false.svg");
}
.criterion-item::after {
	content: url("https://ecom.ngo/wp-content/themes/ecomtheme/assets/img/info.svg");
	margin-left: auto;
}

.chart-container {
	display: flex;
}
.chart-list {
	list-style: none;
}
.chart-graphs {
	display: flex;
	justify-content: space-evenly;
	align-items: flex-end;
	gap: 1rem;
	margin-left: 1rem;
}
.chart-graphs div {
	width: 80px;
	padding: 5px;
}
.chart-graphs div:nth-child(1),
.legend ul li:nth-child(1)::before {
	background: #f3b472;
}
.chart-graphs div:nth-child(2),
.legend ul li:nth-child(2)::before {
	background: #f1939999;
}
.chart-graphs div:nth-child(3),
.legend ul li:nth-child(3)::before {
	background: #538c3199;
}
.legend {
	margin-top: 0.5rem;
}
.legend ul {
	list-style: none;
	display: flex;
	gap: 1rem;
	margin-left: 3rem;
}
.legend ul li {
	display: flex;
	gap: 5px;
	align-items: center;
}
.legend ul li::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
}
.circle-container {
	display: flex;
	align-items: center;
	width: 159px;
	height: 159px;
	min-width: 159px;
	margin-top: 1rem;
}
.circle-container svg {
	overflow: unset;
}
.circle-container svg .unit {
	stroke-width: 3;
	fill: none;
}
.circle-container svg .unit:nth-child(2) {
	stroke: #9829834d;
	stroke-dasharray: 0 0;
	stroke-dashoffset: -40;
}
.circle-container svg .unit:nth-child(3) {
	stroke: var(--violet-600);
	stroke-dasharray: 50 101;
	stroke-dashoffset: 51;
	stroke-linecap: round;
}

.circle-container svg .percent-text .percent {
	font-size: 8.6px;
	font-weight: 600;
	fill: var(--violet-600);
	text-anchor: middle;
	font-family: "IBMPlexSerif";
	transform: translate(0px, 2px);
}
.viruses {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	grid-column: 1/4;
}
.v-charts {
	display: flex;
	align-items: flex-end;
	gap: 1rem;
	height: 100px;
}
.v-charts div {
	width: 50px;
	height: 2px;
}
.v-legend {
	display: grid;
	gap: 5px;
}
.v-legend div {
	display: flex;
	align-items: center;
	gap: 5px;
}

.v-charts div:nth-child(1),
.v-legend div:nth-child(1):before {
	background-color: #008dd2;
}
.v-charts div:nth-child(2),
.v-legend div:nth-child(2):before {
	background-color: #f08718;
}
.v-charts div:nth-child(3),
.v-legend div:nth-child(3):before {
	background-color: #538c31;
}
.v-charts div:nth-child(4),
.v-legend div:nth-child(4):before {
	background-color: #fecc00;
}

.v-legend div::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
}
.hiv-table-wrp {
	grid-column: 1/-1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	overflow: auto;
}
.hiv-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	min-width: 768px;
}
.hiv-table th {
	font-weight: normal;
	font-family: "IBMPlexSerif";
	text-align: left;
	padding: 1.5rem 1rem;
	background: #008dd24d;
	font-weight: 500;
}
.hiv-table td {
	padding: 1.5rem 1rem;
	background: #feeeb0;
}
.country-news {
	grid-column: 3/4;
	grid-row-start: 4;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.country-news-item--big {
	margin-bottom: 1.5rem;
}
.country-news-item {
	display: flex;
	gap: 1rem;
	align-items: center;
	font-size: 1em;
}
.country-news-item img {
	max-width: 130px;
}
.country-news-item__title a {
	text-decoration: none;
	color: inherit;
}
.country-news-item__title--small {
	font-size: 1rem;
}
.country-library {
	grid-column: 3/4;
	grid-row-start: 5;
}
.window-background {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
}
.window-background.show {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	overflow-y: auto;
	padding: 4rem;
	background: rgba(119, 144, 181, 0.3);
}
.window-background .window-body {
	width: 100%;
	max-width: 737px;
	padding: 40px 20px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: auto;
	margin-top: 91px;
	background: #ffffff;
}
.window-background .window-body a {
	color: var(--violet-600);
}
@media screen and (max-width: 768px) {
	.window-background.show {
		padding: 0 20px;
	}
	.country {
		padding: 1rem;
	}
	.country-det-wrp {
		display: flex;
		flex-direction: column;
	}
	.country-head > h2 {
		margin: 0 auto 0 0;
		font-size: 1.2rem;
	}
	.country-det-wrp h3 {
		font-size: 1.1rem;
	}
	.country-head > img {
		height: 40px;
		width: auto;
	}
	.country-det-wrp > div {
		padding: 1rem;
		/* grid-column: 1/4; */
	}
	.country.show .country-det-wrp {
		padding: 0.5rem 0.4rem;
	}
	.chart-graphs div {
		width: 50px;
	}
	.legend ul {
		margin-left: 1rem;
	}
	.country-news-item {
		flex-direction: column;
		align-items: flex-start;
	}
	.country-news-item--big img {
		width: 100%;
		max-width: 350px;
	}
	.window-background .window-body * {
		max-width: 100%;
	}
}
