.blog {
	margin-block-start: 20px;
}


.body-banner-list {
	grid-column: 1/4;
}


@media only screen and (max-width: 1080.99px) {
	.body-banner-list {
		padding: 0 60px;
		box-sizing: border-box;
	}
}

@media only screen and (max-width: 767.99px) {
	.body-banner-list {
		padding: 0 30px;
	}
}

@media only screen and (max-width: 620.99px) {
	.body-banner-list {
		padding: 0px;
		grid-column: auto;
		margin-bottom: 0!important;
	}
}


/* Post list
--------------------------------------------- */
.post-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 30px 50px;
}

.post-list .post-item {
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
	background: #2F2F2B;
	border: 1px solid rgba(160, 224, 13, 0.1);
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.post-list .post-item__thumb-link {
	display: block;
	margin-bottom: 15px;
}

.post-list .post-item__img {
	border-radius: 6px;
	height: auto;
	width: 100%;
}

.post-list .post-item__center-block {
	display: flex;
	flex-direction: column;
}

.post-list .post-item__title {
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: 600;
	color: #FFFFFF;
}

.post-list .post-item__short-descr {
	color: #BEBFBE;
	font-size: 14px;
	margin-bottom: 15px;
	font-weight: 500;
	line-height: 1.2;
}

.post-list .post-item__date-block {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.post-list .post-item__date-block > * {
	display: grid;
	grid-template-columns: max-content auto;
	align-items: center;
	grid-gap: 0 12px;
	color: #AAAAAA;
	font-weight: 300;
	font-size: 13px;
}

.post-list .post-item__date-block svg {
	width: 20px;
	height: 20px;
	display: block;
}

.post-list .post-item__tag-list {
	display: flex;
	flex-wrap: wrap;
	margin-top: 20px;
	gap: 10px 5px;
}

.post-list .post-item__tag-item {
	padding: 8px 20px;
	box-sizing: border-box;
	display: block;
	width: 100%;

	text-align: center;
	font-size: 14px;
	line-height: 1;
	color: #FFFFFF;
	background-color: #606759;
	border-radius: 20px;
	flex: 1 1 calc(50% - 10px);
}

.post-list .post-item__details-btn {
	color: #FFFFFF;
	text-align: center;
	display: block;
	width: 100%;
	margin-top: 15px;
	padding: 10px 22px;
	box-sizing: border-box;
	border-radius: 20px;
	border: 0.5px solid #808080;
	font-weight: 500;
	font-size: 14px;
}

.post-list .post-item__details-btn:hover {
	background-color: #808080;
}

@media only screen and (max-width: 767.99px) {
	.blog__list {
		grid-template-columns: repeat(2, 1fr);
	} 
}

@media only screen and (max-width: 620.99px) {
	.blog__list {
		grid-template-columns: 100%;
	}

	.post-list .post-item__img {
		height: 300px;
	}
}

@media only screen and (max-width: 520.99px) {
	.post-list .post-item__img {
		height: 240px;
	}
}


/* Header
--------------------------------------------- */
.header {
	margin-top: 250px;
	margin-bottom: 25px;
}

.header__main-block {
	padding: 20px;
    box-sizing: border-box;
    background-color: #131412;
    border-radius: 20px;
}

.header__title {
	margin-bottom: 25px;
}

.header__term-list {
	flex-wrap: wrap;
}

.header__term-item {
	margin-top: 10px;
	border-radius: 20px;
	border: 1px solid #8A8B88;
}

.header__term-item:not(.close-all-item) {
	background-color: #606759;
	color: #FFFFFF;
}

.header__term-item.close-all-item {
	grid-gap: 0 10px;
}

.header__close-all-btn {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	grid-gap: 0 6px;
	align-items: center;
	padding: 6px 20px;
	box-sizing: border-box;
}

.header__close-all-btn svg {
	width: 16px;
	height: 16px;
	display: block;
}

.header__close-all-btn span {
	display: block;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	display: block;
}

.header__term-item:not(:last-child) {
	margin-right: 15px;
}
.header__term-link {
	display: block;
	text-align: center;
	color: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	padding: 6px 20px;
	box-sizing: border-box;
}

.header__term-item:not(.close-all-item):hover,
.header__term-item.active {
	background-color: #C5EE88;
	border-color: #C5EE88;
	color: #404040;
}


@media only screen and (max-width: 1080.99px)  {
	.header {
		margin-top: 60px;
	}
}

@media only screen and (max-width: 620.99px) {
	.header__title {
		margin-bottom: 0;
	}

	.header {
		margin-top: 40px;
	}
}

@media only screen and (max-width: 520.99px) {
	.header {
		margin-top: 30px;
	}
}
@media only screen and (max-width: 420.99px) {
	.header {margin-top: 20px;}
}