.blog {
	padding: 75px 0;
}

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

.blog .flex {
	display: flex;
	justify-content: space-between;
	align-content: end;
}
.blog .flex .forms {
	align-self: flex-end;
	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;
}

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

.blog .flex .forms label {
	display: block;
	color: #0D0D0D;
	margin-bottom: 8px;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.blog .flex .forms select {
	width: 300px;
	border-radius: 4px;
	background: #16263C;
	padding: 12px 28px 12px 12px;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	appearance: none;
	-webkit-apperance: none;
}

.blog .flex .forms select,
.blog .flex .forms select option {
	color: #FFF !important;
}

.blog .flex .forms>div:first-of-type {
	position: relative;
}

.blog .flex .forms>div:first-of-type:after {
	content: " ";
	width: 6px;
	height: 6px;
	display: block;
	position: absolute;
	background: url('../images/polygon-1.png');
	background-size: 100% 100%;
    filter: invert(100%);
    top: 64%;
    right: 12px;
}

.blog .flex .forms form.search {
	border-radius: 4px;
	border: 1px solid var(--Blue-0, #C5D6EA);
	background: #F5F8FA;
	width: 300px;
	display: flex;
	padding: 12px;
	gap: 10px;
}

.blog .flex .forms form.search svg {
	width: 24px;
	height: 24px;
}

.blog .flex .forms form.search input:placeholder {
	color: #8C98A4;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.blog .flex .forms form.search input {
	font-size: 14px;
	font-style: normal;
	border:none;
	background: none;
	font-weight: 400;
	line-height: normal;
	width: calc(100% - 34px);
}

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

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

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

.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;
	height: calc(100% - 160px);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
    flex-direction: column;
}

.blog .posts .post ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.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 {
	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;
	width: 100%;
	align-self: flex-end;
}

.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;
}

.pagination {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 20px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
    transition: 300ms;
}

.pagination a:hover {
    font-weight: 700;
}

.pagination .current {
    font-weight: 700;
}

.pagination .dots {
    background: none;
}

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pagination-arrow {
    font-size: 20px;
    line-height: 1;
}

.loader {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.6);
}

.loader svg {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100px;
	height: 100px;
}

@media only screen and (max-width: 996px) {
	.blog {
		padding: 48px 0;
	}

	.blog .posts .post .in {
		height: auto !important;
	}

	.blog .posts .post p.title {
		min-height: auto !important;;
	}

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

	.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 .forms form.search,
	.blog .flex .forms select {
		width: 100%;
	}

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

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

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

	.blog .posts .post .in {
		width: 100%;
		height: auto !important;
	}
}