.blog {
	padding: 120px 0;
}

.blog .head {
	margin-bottom: 30px;
}

.blog .flex {
	display: flex;
	justify-content: space-between;
	align-content: end;
}
.blog .flex .forms {
	align-self: flex-start;
	gap: 18px;
}

.blog .flex .title {
	color: #000;
	display: block;
	margin: 0 auto 32px auto;
	font-size: 54px;
	font-style: normal;
	font-weight: 700;
	line-height: 56px;
	max-width: 430px;
}

.blog .flex .subtitle {
	color: #000;
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px;
	margin: 0 auto;
}

.blog .flex .subtitle:empty {
	display: none;
}

.blog .categories {
	border-bottom: 1px solid #E0E0E0;
}

.blog .categories>div {
	display: flex;
	gap: 48px;
	padding:0 40px;
}

.blog .categories>div a {
	color: #000;
	padding: 8px 0;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	white-space: nowrap;
	transition: 300ms;
}

.blog .categories>div a:hover {
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px;
}

.blog .categories>div a.active {
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px;
	border-bottom: 2px solid #000;
}

.blog .posts {
	margin: 40px auto;
	display: flex;
	column-gap: 20px;
	row-gap: 40px;
	flex-wrap: wrap;
}

.blog .posts .post {
	border-radius: 4px;
	border: 1px solid #E0E0E0;
	width: calc(25% - 15px);
}

.blog .posts .post a.image {
	display: block;
	width: 100%;
	border-radius: 4px 4px 0 0;
	height: 160px;
}

.blog .posts .post .in {
	padding: 24px;
}

.blog .posts .post ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.blog .posts .post ul li {
	display: inline-block;
	border-radius: 2px;
	background: #E8F6F2;
	padding: 4px 8px;
	color: #000;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px;
}

.blog .posts .post ul li + li {
	margin-left: 12px;
	background: #C5D6EA;
}

.blog .posts .post p.title {
	color:#000;
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px; 
	margin: 24px auto 24px auto;
	min-height: 100px;
}

.blog .posts .post .in a:last-of-type {
	display: flex;
	justify-content: space-between;
	align-content: center;
}

.blog .posts .post .in a:last-of-type p.data {
	color: #000;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	margin: 0;
	line-height: 18px; 
}

.blog .posts .post .in a:last-of-type p.time_read {
	color: #000;	
	font-size: 12px;
	font-style: normal;
	margin: 0;
	font-weight: 700;
	line-height: 18px; /* 150% */
	text-transform: uppercase;
}

.blog .posts .post .in .file-data {
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px;
	margin: 0 auto;
	display: flex; 
}

.blog .posts .post .in .file-data img {
	width: 20px;
	height: 20px;
	margin-right: 32px;
}

.blog .posts .post .in .file-title {
	display: flex;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	margin: 0 auto 32px auto;
}

.blog .posts .post .in .buttons {
	display: flex;
	width: 100%;
	margin: 0 auto;
	justify-content: space-between;
	align-items: center;
}

.blog .posts .post .in .buttons a {
	display: flex;
	gap:12px;
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 26px; 
	align-items: center;
}

.blog .posts .post .in .buttons a:first-of-type img {
	width: 14px;
	height: 14px;
}

.blog .posts .post .in .buttons a:last-of-type img {
	width: 14px;
	height: 14px;
}
		
@media only screen and (max-width: 996px) {
	.blog {
		padding: 48px 0;
	}

	.blog .flex {
		flex-wrap: wrap;
	}

	.blog .head {
		margin-bottom: 60px;
	}

	.blog .flex>div {
		width: 100%;
	}

	.blog .flex>div + div {
		margin-top: 48px;
	}

	.blog .flex .title {
		font-size: 32px;
		font-style: normal;
		font-weight: 700;
		line-height: 42px;
		margin-bottom: 30px;
	}

	.blog .flex .subtitle {
		font-size: 18px;
		font-style: normal;
		font-weight: 400;
		line-height: 24px;
	}

	.blog .flex>div + div {
		margin-top: 30px;
	}

	.blog .categories>div {
		overflow-x: scroll;
	}

	.blog .flex .forms form.search,
	.blog .flex .forms select {
		width: 100%;
	}

	.blog .flex .forms div + div {
		margin-top: 0;
	}

	.blog .posts .post {
		width: 100%;
		display: flex;
	}

	.blog .posts .post a.image {
		height: 240px;
	    width: 120px;
	    border-radius: 4px 0 0 4px;
	}

	.blog .posts .post .in {
		width: calc(100% - 120px);
	}
}