/* Stat pages (Azure #346; Design System parts StatsCompaniesPage, StatsIndustryPage, StatsMarketPage, RangeBar).
 * Loaded when a stats shortcode runs. Our own classes; no theme selectors.
 * The .gmdr-st-* rules copy the Design System .st-*, .rb-* and .sb rules (the site has no DS bundle.css). */

.gmdr-st-wrap {
	padding-top: 20px;
}

.gmdr-st-summary {
	margin: 0 0 16px;
	font-size: 18px;
	line-height: 1.5;
	color: #666;
}

.gmdr-st-kpis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 0 0 20px;
}

.gmdr-st-kpi {
	padding: 14px 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
}

.gmdr-st-kpi strong {
	display: block;
	font-size: 26px;
	line-height: 1.25;
	font-weight: 400;
	color: #666;
}

.gmdr-st-kpi span {
	display: block;
	font-size: 14px;
	line-height: 1.4;
}

.gmdr-st-icon {
	width: 22px;
	height: 22px;
	margin-right: 10px;
	vertical-align: -3px;
	fill: currentColor;
}

.gmdr-st-pie {
	display: inline-block;
	box-sizing: border-box;
	width: 22px;
	height: 22px;
	margin-right: 10px;
	vertical-align: -3px;
	border: 1px solid #797979;
	border-radius: 50%;
	background: conic-gradient(#797979 var(--p), #fafafa 0);
}

.gmdr-st-card {
	margin: 0 0 20px;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
}

.gmdr-st-card h2 {
	margin: 0 0 4px;
	font-size: 18px;
	color: #666;
}

.gmdr-st-sub {
	margin: 0 0 14px;
	font-size: 14px;
	color: #797979;
}

.gmdr-st-row {
	display: grid;
	grid-template-columns: 230px 1fr 110px;
	gap: 10px;
	align-items: center;
	padding: 8px 0;
	border-top: 1px solid #e5e5e5;
}

.gmdr-st-name {
	color: #666;
}

.gmdr-st-name a {
	color: #666;
	text-decoration: underline;
	text-decoration-color: #ccc;
	text-underline-offset: 3px;
}

.gmdr-st-name a:hover {
	text-decoration-color: #3f6745;
}

.gmdr-st-name small {
	display: block;
	font-size: 12px;
	color: #797979;
}

.gmdr-st-vals {
	font-size: 14px;
	line-height: 1.3;
	color: #666;
}

.gmdr-st-vals strong {
	font-size: 16px;
	font-weight: 400;
}

.gmdr-st-bar {
	position: relative;
	height: 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fafafa;
}

.gmdr-st-bar i {
	position: absolute;
	top: -1px;
	bottom: -1px;
	left: -1px;
	border: 1px solid #3f6745;
	border-radius: 6px;
	background: #dfece3;
}

.gmdr-st-svg {
	display: block;
	width: 100%;
	max-width: 520px;
	height: auto;
	margin: 0 auto;
}

.gmdr-st-svg line {
	stroke: #e5e5e5;
}

.gmdr-st-svg rect {
	fill: #dfece3;
	stroke: #3f6745;
	stroke-width: 1;
}

.gmdr-st-svg text {
	font-size: 12px;
	fill: #797979;
}

.gmdr-st-svg .gmdr-st-v {
	font-size: 13px;
	fill: #666;
}

.gmdr-st-show {
	margin-top: 14px;
	font-size: 14px;
}

.gmdr-st-show summary {
	cursor: pointer;
	color: #3f6745;
	text-decoration: underline;
}

.gmdr-st-table {
	width: 100%;
	margin-top: 10px;
	border-collapse: collapse;
	font-size: 14px;
}

.gmdr-st-table th,
.gmdr-st-table td {
	padding: 6px 8px;
	border-top: 1px solid #e5e5e5;
	text-align: left;
	color: #666;
}

.gmdr-st-table th:not(:first-child),
.gmdr-st-table td:not(:first-child) {
	text-align: right;
}

.gmdr-st-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #e5e5e5;
	font-size: 13px;
}

.gmdr-st-mark {
	font: 700 12px/1 Montserrat, sans-serif;
	text-transform: uppercase;
	color: #3f6745;
}

.gmdr-st-share {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.gmdr-st-share span {
	margin-right: 2px;
}

.gmdr-st-share a {
	display: inline-block;
	padding: 4px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.4;
	color: #666;
}

.gmdr-st-text {
	margin: 0 0 20px;
}

.gmdr-st-text h2 {
	margin: 0 0 10px;
	font-size: 18px;
	color: #666;
}

.gmdr-st-text p {
	margin: 0 0 14px;
}

.gmdr-st-cta a:not(.button),
.gmdr-st-links a {
	color: #3f6745;
	text-decoration: underline;
}

.gmdr-st-cta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	margin: 0 0 20px;
	padding: 14px 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fafafa;
}

.gmdr-st-cta p {
	margin: 0;
}

.gmdr-st-cta strong {
	font-weight: 400;
	color: #666;
}

.gmdr-st-cta-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gmdr-st-cta-btns .button {
	white-space: nowrap;
}

.gmdr-st-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.gmdr-st-links li {
	display: flex;
}

.gmdr-st-links a {
	display: block;
	flex: 1;
	padding: 14px 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	text-decoration: none;
}

.gmdr-st-links strong {
	display: block;
	font-weight: 400;
	color: #666;
	text-decoration: underline;
}

.gmdr-st-links span {
	font-size: 13px;
	color: #797979;
}

/* Same look as the salary title page section "How we show salary data" (.gmdr-t-how). */
.gmdr-st-method {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #ccc;
}

.gmdr-st-method h2 {
	margin: 0 0 4px;
	font-size: 18px;
	color: #666;
}

.gmdr-st-method p {
	margin: 0 0 10px;
}

@media (max-width: 767px) {
	.gmdr-st-kpis {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.gmdr-st-kpi {
		display: flex;
		align-items: center;
		gap: 14px;
		padding: 10px 14px;
	}

	.gmdr-st-kpi strong {
		flex: 0 0 96px;
		font-size: 22px;
	}

	.gmdr-st-card {
		padding: 14px 16px;
	}

	.gmdr-st-row {
		grid-template-columns: 1fr 96px;
		row-gap: 4px;
	}

	.gmdr-st-row .gmdr-st-bar {
		grid-column: 1 / 3;
		grid-row: 2;
	}

	.gmdr-st-row .gmdr-st-vals {
		grid-column: 2;
		grid-row: 1;
		text-align: right;
	}

	.gmdr-st-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.gmdr-st-links {
		grid-template-columns: 1fr;
	}

	.gmdr-st-summary {
		font-size: 16px;
	}
}
