.wpps {
	--wpps-brand: #3171a5;
	--wpps-secondary: #001f3f;
}

.wpps *,
.wpps *::before,
.wpps *::after {
	box-sizing: border-box;
}

.wpps a {
	text-decoration: none;
	color: var(--wpps-brand);
}

.wpps img {
	max-width: 100%;
	height: auto;
	border-radius: 3px;
}

.wpps-status-bar {
	background: var(--wpps-brand);
	height: 6px;
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	transition: width 0.2s;
}

.wpps-building {
	text-align: center;
}

.wpps h3 {
	margin-top: 0;
}

@media (max-width: 600px) {
	.wpps h3 {
		text-align: center;
	}
}

.wpps-stats {
	display: flex;
	flex-wrap: wrap;
	max-width: 1380px;
	margin: auto;
}

.wpps .stat-group {
	width: calc(100% - 1rem);
	margin: 0 0.5rem 1rem;
	padding: 20px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 0 20px -7px rgba(0, 0, 0, 0.4);
}

@media (min-width: 800px) {
	.wpps .stat-group {
		width: calc(50% - 1rem);
	}

	.wpps .stat-group.largest-photo {
		width: calc(55% - 1rem);
	}

	.wpps .stat-group.smallest-photo {
		width: calc(45% - 1rem);
	}
}

.wpps .stat-group.stat-group-wide {
	width: calc(100% - 1rem);
}

.wpps .single-author {
	padding: 10px 0;
}

.wpps .single-author:nth-child(-n + 3) {
	font-weight: bold;
}

.wpps .photo-count,
.wpps .contrib-count {
	font-size: 7em;
	font-weight: 100;
	line-height: 1.2;
}

@media (max-width: 600px) {
	.wpps .photo-count,
	.wpps .contrib-count {
		font-size: 4em;
		text-align: center;
	}
}

.wpps-sub {
	margin: 0 0 0.5em;
	font-size: 0.8em;
	text-transform: uppercase;
}

.wpps-sub span {
	font-weight: bold;
}

.wpps .top-camera-list {
	display: flex;
	flex-wrap: wrap;
}

.wpps .top-camera-model {
	width: 20%;
	text-align: center;
	margin: 1rem 0;
	padding: 0 0.5rem;
}

@media (max-width: 960px) {
	.wpps .top-camera-model {
		width: 33%;
	}
}

@media (max-width: 700px) {
	.wpps .top-camera-model {
		width: 50%;
	}
}

.wpps .top-camera-device-icon {
	font-size: 2em;
	margin: 0;
	color: var(--wpps-secondary);
}

.wpps .top-camera-name {
	margin: 0 0 0.5rem;
	font-size: 0.8em;
	text-transform: uppercase;
}

.wpps .top-camera-count {
	margin: 0;
	font-size: 1.2em;
	font-weight: 300;
}

.wpps .top-camera-brand-logo {
	margin: 0;
}

.wpps .top-camera-brand-logo img {
	display: inline-block;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	max-width: 100px;
}

.wpps .orientation-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
	align-items: center;
}

.wpps .orientation-stats span,
.wpps .orientation-operator {
	font-size: 5em;
}

@media (max-width: 550px) {
	.wpps .orientation-stats span,
	.wpps .orientation-operator {
		font-size: 2em;
	}
}

.wpps .orientation-stats span {
	display: block;
	font-weight: 200;
}

.wpps .orientation-operator {
	margin: 0 2rem;
	color: var(--wpps-secondary);
}

.wpps .orientation-square {
	width: 100%;
	margin-top: 2rem;
	font-size: 0.8em;
	text-transform: uppercase;
}

.wpps .milestone-photos {
	display: flex;
	flex-wrap: wrap;
	text-align: center;
}

.wpps .milestone-photo {
	width: 20%;
	padding: 1em;
	font-size: 0.8em;
}

@media (max-width: 960px) {
	.wpps .milestone-photo {
		width: 33%;
	}
}

@media (max-width: 700px) {
	.wpps .milestone-photo {
		width: 50%;
	}
}

.wpps .milestone-photo img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.wpps .top-color-list {
	display: flex;
	flex-wrap: wrap;
}

.wpps .single-color {
	padding: 20px 10px;
	border: 2px solid #eee;
	border-radius: 3px;
	margin: 10px;
	font-size: 0.8em;
	text-transform: uppercase;
	text-align: center;
}

.wpps .single-color a {
	display: block;
}

.wpps .top-category-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpps .single-category {
	display: flex;
	align-items: center;
	gap: 0.75em;
	margin: 0;
	padding: 0.5em 0;
	border-bottom: 1px solid #eee;
}

.wpps .single-category:last-child {
	border-bottom: 0;
}

.wpps .category-icon {
	width: 1.5em;
	text-align: center;
	color: var(--wpps-secondary);
}

.wpps .category-count {
	min-width: 4.5em;
	text-align: right;
	font-weight: bold;
	font-variant-numeric: tabular-nums;
}

.wpps .single-color {
	width: calc(14% - 20px);
	flex-grow: 1;
	border-bottom-width: 10px;
}

@media (max-width: 960px) {
	.wpps .single-color {
		width: calc(20% - 20px);
	}
}

@media (max-width: 700px) {
	.wpps .single-color {
		width: calc(50% - 20px);
	}
}

.wpps .single-color[data-term="green"] { border-color: #2ecc40; }
.wpps .single-color[data-term="blue"] { border-color: #0074d9; }
.wpps .single-color[data-term="brown"] { border-color: #8b4513; }
.wpps .single-color[data-term="white"] { border-color: #f8f8ff; }
.wpps .single-color[data-term="yellow"] { border-color: #ffdc00; }
.wpps .single-color[data-term="orange"] { border-color: #ff851b; }
.wpps .single-color[data-term="red"] { border-color: #ff4136; }
.wpps .single-color[data-term="gray"] { border-color: #aaa; }
.wpps .single-color[data-term="black"] { border-color: #111; }
.wpps .single-color[data-term="pink"] { border-color: #f012be; }
.wpps .single-color[data-term="purple"] { border-color: #b10dc9; }
.wpps .single-color[data-term="violet"] { border-color: violet; }
.wpps .single-color[data-term="silver"] { border-color: #ddd; }

.wpps-footer {
	width: calc(100% - 1rem);
	margin: 0 0.5rem 2rem;
	padding: 20px;
	background: #fff;
	border-radius: 10px;
	font-size: 0.9em;
}
