/*   ======= CATEGORY SELECTOR ========    */

#category_selector_block {
	width: 100%;
	height: 15vw;
	max-height: 185px;
	min-height: auto;
	display: flex;
	flex-flow: row;
	justify-content: center;
	align-items: flex-end;
	background-size: cover;
	background-position: center;
}

.button {
	padding: 8px 20px;
	font-size: 16px;
	font-weight: 400;
	margin: 20px 5px;
	text-transform: uppercase;
	cursor: pointer;
}

.active_button {
	border: 2px solid black;
	font-style: italic;
}

/*   ======= ARTICLIES BLOCK ========    */

#catalog {
	grid-column-start: 3;
	margin-top: 70px;
}
#news_list_block {
	margin-top: 70px;
	width: 100%;
	column-count: 2;
	column-gap: 60px;
}

	.list {
		width: 100%;
		column-count: 2;
		column-gap: 80px;
	}

	.active_list {
		/*z-index: 2;*/
		height: auto!important;
	}

		.headline {
			width: 100%;
		}

		.headline h2 {
			width: 100%;
			text-align: center;
			text-transform: uppercase;
			font-size: 30px;
			font-weight: 400;
			margin: 10px 0;
		}


		.article_block {
			display: inline-flex;
			flex-flow: column nowrap;
			margin-bottom: 50px;
		}

/*		.article_block:hover {
			background-color: rgb(230,230,230);
		}*/

			.article_block .image_block {
				width: 100%;
				height: auto;
				max-height: 30vw;
			}

				.article_block img {
					width: 100%;
					height: 100%;
					object-fit: cover;
				}

				.text_block {
					padding: 0 40px;
				}

			.text_block h2, .text_block h2 a {
				font-size: 24px;
				margin: 30px 0 5px 0;
			}

			.underdate {
				padding-top: 8px;
				margin-top: 25px;
				display: flex;
				justify-content: space-between;
				border-top: 1px solid black;
			}	

			.underdate .detailed {
				margin: 5px 0 0 0;
			}	

			.underdate span {
				font-style: italic;
				color: grey;
			}	
			
.hide_block {
	display: none;
}














/*   ======= MEDIA QUERIES ========    */
@media screen and (max-width: 1024px) {	

	#news_list_block {
		column-count: 1;
		max-width: 750px;
		margin: 70px auto;
	}

}

@media screen and (max-width: 1024px) {	
	.model_description {
		padding: 30px 50px 15px 0;
	}

		.list {
		column-gap: 40px;
	}

}


@media screen and (max-width: 1024px) {	
	.model_description {
		padding: 0 0 15px 0;
	}

	.model_description p {
		display: none;
	}	

	.article_block {
		grid-template-columns: minmax(auto, 500px);
		justify-content: center;
		margin-bottom: 50px;
	}	

	.article_block .image {
		order: -1;
	}

	.button {
		font-size: 14px;
	}

	.list {
		width: 100%;
		column-count: 1;
	}

	.article_block .image_block {
		height: 45vw;
		max-height: initial;
	}

}

@media screen and (max-width: 500px) {	
	#category_selector_block {
		flex-flow: column;
		justify-content: center;
		align-items: center;
	}

	.button {
		margin: 5px 0;
	}

	.detailed {
		font-size: 10px;
		width: 80px;
		height: 20px;
	}

		.article_block .image_block {
		height: 55vw;
		max-height: initial;
	}

		.text_block {
			padding: 0;
		}

		.text_block p {
			display: none;
		}

		.underdate {
			padding-top: 3px;
			margin-top: 15px;
		}
}


@media screen and (orientation: portrait) {	
	#category_selector_block {
		height: auto;
		padding: 35px 0;
	}
}