main {
	width: 100vw;
	min-height: 100vh;
	background-color: var(--primary-light);
}

.overview ul li div button {
	width: 100%;
}

.overview ul li figure {
	position: relative;
}

.overview ul li figure img:nth-child(1) {
	position: relative;
	width: 18.75rem;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.overview ul li figure img:nth-child(2) {
	position: absolute;
	top: 0.8rem;
	right: 0.8rem;
}

.news {
	padding-top: 7rem;
}

.sort-container {
	display: flex;
	width: fit-content;
	flex-direction: column;
	margin-left: 50%;
	transform: translateX(-50%);
}

.sort-label {
	margin-top: 1rem;
}

.news select {
	margin: 0.6rem 0;
}

.news h1 {
	color: var(--primary-darker);
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 2.8rem;
	text-align: center;
}

.news > p {
	max-width: 50rem;
	justify-content: center;
	padding: 0 1rem;
	margin: 0.6rem auto;
	color: var(--primary-dark);
	font-size: 1.1rem;
	font-weight: 400;
	line-height: 1.5rem;
	text-align: center;
}

.overview {
	display: flex;
	justify-content: center;
}

.overview ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0 10vw;
	margin-top: 2.5rem;
	gap: 5rem;
}

.pages li {
	display: flex;
	width: 50px;
	height: 50px;
	align-items: center;
	justify-content: center;
	border-radius: 0.3rem;
	color: var(--primary-darker);
	cursor: pointer;
	float: left;
}

.overview ul li {
	overflow: hidden;
	width: fit-content;
	height: fit-content;
	border-radius: 0.3rem;
	background-color: var(--primary-light);
	box-shadow: 0 0.3rem 4rem var(--shadow);
}

.overview ul li div {
	width: 16.25rem;
	padding: 1.25rem;
}

.overview ul li div h3 {
	display: -webkit-box;
	overflow: hidden;
	width: 100%;
	height: 3.6rem;
	-webkit-box-orient: vertical;
	color: var(--primary-darker);
	font-size: 1.25rem;
	font-weight: 500;
	-webkit-line-clamp: 2;
	line-height: 1.8rem;
	text-overflow: ellipsis;
}

.overview ul li div p {
	display: -webkit-box;
	overflow: hidden;
	width: 100%;
	height: 9rem;
	margin: 0.625rem 0;
	-webkit-box-orient: vertical;
	color: var(--primary-dark);
	font-size: 1rem;
	font-weight: 400;
	-webkit-line-clamp: 6;
	line-height: 1.5rem;
	text-overflow: ellipsis;
}

body > nav {
	position: relative;
}

.pages {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0 20vh;
	padding-bottom: 2.3rem;
	margin-top: 2.5rem;
}

.active-page {
	background-color: var(--accent);
	color: var(--primary-light) !important;
}

@media screen and (width <= 1350px) {
	.overview ul {
		padding: 0;
	}
}
