.news-sorts {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}
.news-sort {
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 10;
}
.news-sort:not(.news-sort--date).active .news-sort__icon {
	transform: rotate(180deg);
}
.news-sort--date-reverse .news-sort__header .news-sort__icon {
	transform: rotate(180deg);
}
.news-sort__icon {
	display: flex;
	transition: 0.3s ease;
	align-items: center;
	justify-content: center;
}
.news-sort__header {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 0;
	width: auto;
	height: auto;
	border: 0;
	justify-content: center;
	padding: 6px 16px;
	background: #fff;
	cursor: pointer;
	border-radius: 44px;
}
.news-sort__title {
	margin: 0;
	font-weight: 400;
	font-size: 15px;
	line-height: 100%;
	letter-spacing: 0%;
}
.news-sort__body-wrapper {
	opacity: 0;
	pointer-events: none;
	padding-top: 8px;
	left: 0;
	transition: opacity 0.3s ease;
	position: absolute;
	top: 100%;
}
.news-sort__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	box-shadow: 0px 0px 26px 2px #0000001f;
	background: #fff;
	padding: 12px 8px;
	border-radius: 12px;
}
.news-sort.active .news-sort__body-wrapper {
	opacity: 1;
	pointer-events: all;
}
.news-sort__body-wrapper.active {
	opacity: 1;
	pointer-events: all;
}
.news-sort__button {
	display: flex;
	background: transparent;
	cursor: pointer;
	border: 0;
	padding: 0;
	margin: 0;
	align-items: center;
	justify-content: center;
	gap: 12px;
	transition: 0.3s ease;
	border-radius: 8px;
	padding: 4px 8px;

	font-weight: 400;
	font-size: 15px;
	line-height: 100%;
	letter-spacing: 0%;
	white-space: nowrap;
}
@media screen and (hover: hover) {
	.news-sort__button:hover {
		background: #efefef;
	}
}
.news-sort__button.selected {
	color: #6245d8;
}
.news-sort__button svg {
	opacity: 0;
}
.news-sort__button.selected svg {
	opacity: 1;
}
