@charset "UTF-8";

.news__content-nav-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 6.5rem;
}

.news__category-button {
	background: var(--white);
	border-radius: 100vmax;
	border: 2px solid var(--p_blue);
	min-height: 4.5626rem;
	color: var(--p_blue);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-inline: 30px;
	position: relative;
	margin-inline: auto;
	transition: background-color 0.3s;

	svg {
		position: absolute;
		right: 30px;
		width: 1.25em;
		height: 1.25em;
		color: var(--p_blue);
	}
}

@media (hover: hover) and (pointer: fine) {
	.news__category-button:hover {
		background: var(--p_blue);
		color: var(--white);
		opacity: 1;

		svg {
			color: var(--white);
		}
	}
}

.news__category-button.active {
	background: var(--p_blue);
	color: var(--white);
	cursor: auto;

	svg {
		color: var(--white);
	}
}

.news__category-button__text {
	font-size: 1.25rem;
	padding-right: 30px;
}

.news__list {
	display: flex;
	flex-direction: column;
	gap: 4rem;
	padding-top: 2.5rem;
	box-shadow: var(--box-shadow);
}

.news__item--content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.news__item--link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	width: stretch;
	position: relative;

	&::after {
		content: "";
		margin-left: auto;
		width: 1.5em;
		height: 1.5em;
		flex-shrink: 0;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 20 20' fill='none'%3E%3Cpolyline points='6,2 14,10 6,18' stroke='%231A3987' stroke-width='2' stroke-linejoin='round' stroke-linecap='butt'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: center;
	}
}

.news__date {
	font-size: 1.25rem;
	line-height: 1;
}

.news__headline {
	font-size: 1.75rem;
}

.news__item {
	color: var(--p_blue);
	display: flex;
	align-items: center;
	gap: 1.5em;
	padding: 0 1.5rem 2.5rem;

	&:not(:last-child) {
		border-bottom: 1px solid #00000014;
	}

	&::before {
		content: "";
		width: 7px;
		height: 64px;
		background-image: var(--gd-ico);
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
		flex-shrink: 0;
	}
}

@media only screen and (max-width: 1024px) {
	.news__content-nav-list {
		grid-template-columns: 1fr 1fr;
		gap: 20px 10px;
		margin-bottom: 2.5rem;
	}

	.news__category-button {
		min-height: 3rem;
		padding-inline: 5px;

		svg {
			position: absolute;
			right: 10px;
			width: 1em;
			height: 1em;
		}
	}

	.news__category-button__text {
		font-size: clamp(0.6rem, 2.21vw, 1rem);
		padding-right: 10px;
	}

	.news__list {
		gap: 4rem;
		padding-top: 2.5rem;
	}

	.news__item--content {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.news__item--link {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1em;
		width: stretch;
		position: relative;

		&::after {
			width: 0.75em;
			height: 0.75em;
			background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 20 20' fill='none'%3E%3Cpolyline points='6,2 14,10 6,18' stroke='%231A3987' stroke-width='2' stroke-linejoin='round' stroke-linecap='butt'/%3E%3C/svg%3E");
		}
	}

	.news__date {
		font-size: clamp(0.8rem, 2.21vw, 1.25rem);
	}

	.news__headline {
		font-size: clamp(0.875rem, 3.5vw, 1.75rem);
	}

	.news__item {
		gap: 1em;
		padding: 0 1rem 2.5rem;
	}
}