
/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comments {
	background: #FFFFFF;
	border-radius: 12px;
	margin-top: 24px;
	padding: 32px;
	box-sizing: border-box;
}

.comments__title {
	font-size: 24px;
	color: #292929;
	font-weight: 600;
}

.comments__list {
	margin-top: 16px;
}

.comments__item {
	display: block;
	padding: 20px;
	border: 1px solid #5669FF;
	border-radius: 10px;
	box-sizing: border-box;

}

.comments__item:not(:last-child) {
	margin-bottom: 16px;
}

.comments__item-top-block {
	display: grid;
	grid-template-columns: max-content 1fr;
}

.comments__item-author-about {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	align-items: center;
	grid-gap: 0 12px;
}

.comments__item-top-left {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	align-items: center;
	grid-gap: 0 12px;
}

.comments__item-name {
	align-content: center;
	font-size: 18px;
	font-weight: 600;
}



.comments__rating-item-block {
	display: flex;
}

.comments__item-avatar,
.comments__item-no-avatar {
	border-radius: 50%;
	width: 34px;
	height: 34px;
	display: block;
}

.comments__item-avatar {
	object-fit: cover;
	object-position: center;
}
.comments__item-no-avatar {
	background-color: #D9D9D9;
}


.comments__item-top-right {
	margin-right: 0;
	margin-left: auto;
}

.comments__item-date {
	font-size: 16px;
	font-weight: 400;
	color: #000000;
}

.comments__rating-list {
	flex-direction: unset;
}
.comments__rating-item,
.comments__rating-item svg {
	width: 18px;
	height: 18px;
}

.comments__rating-item {
	display: block;
}

.comments__rating-item:not(:last-child) {
	margin-right: 8px;
}

.comments__rating-item.active svg path {
	fill: #FFD500;
	stroke: #FFD500;
}

.comments__item-content {
	margin-top: 10px;
	font-size: 14px;
	color: #000000;
}

@media only screen and (max-width: 1336.99px) {
	.comments__item-top-block {
		grid-template-columns: 100%;
		grid-gap: 15px 0;
		align-items: flex-start;
	}

	.comments__item-date {
		text-align: left;
		display: block;
	}
	.comments__item-top-right {
		margin-left: 0;
	}
}

@media only screen and (max-width: 667.99px) {
	.comments {
		padding: 16px;
	}

	.comments__item {
		padding: 16px;
	}
}
@media only screen and (max-width: 560.99px) {
	.comments__item-top-left {
		grid-template-columns: 100%;
		grid-gap: 15px 0;
	}
}

/*--------------------------------------------------------------
# Review form
--------------------------------------------------------------*/
.footer-banner__banner-block {
	margin-top: 24px;
}
.review-form {
	opacity: 0;
	margin-top: 32px;
	background: #FFFFFF;
	border-radius: 12px;
	box-sizing: border-box;
}

.review-form.active {
	opacity: 1;
	transition: all .5s ease-out;
}

.review-form__title {
	color: #292929;
	font-size: 24px;
	font-weight: 600;

}
.review-form__rating-list {
	margin-top: 16px;
	flex-direction: unset;
	align-items: center;
}

.review-form__rating-list li:not(:last-child) {
	margin-right: 8px;
}

.review-form__rating-list li,
.review-form__rating-list li svg {
	display: block;
	width: 24px;
	height: 24px;
	cursor: pointer;
}

.review-form__rating-list li.active svg path {
	fill: #FFD500;
	stroke: #FFD500;
}

.review-form__avatar-block {
	margin-top: 16px;
	position: relative;
	display: grid;
	grid-template-columns: auto max-content;
	align-items: center;
	justify-content: center;
	grid-gap: 0 16px;
	padding: 10px;
	background: #144186;
	border: 1px solid #144186;
	border-radius: 10px;
	box-sizing: border-box;
}

.review-form__avatar-block:hover {
	background: transparent;
	transition: all .7s ease-out;
}

.review-form__avatar-block input {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 1;
	font-size: 0;
	cursor: pointer;
}

.review-form__avatar-block svg {
	width: 24px;
	height: 24px;
}

.review-form__avatar-block svg path {
	fill: #FFFFFF;
}

.review-form__avatar-block:hover svg path {
	fill: #144186;
	transition: all .7s ease-out;
}

.review-form__upload-text {
	display: block;
	font-size: 24px;
	align-content: center;
	color: #FFFFFF;
	font-weight: 600;
	max-width: 100%;
	overflow: hidden;
}

.review-form__avatar-block:hover .review-form__upload-text {
	color: #144186;
	transition: all .7s ease-out;
}

.review-form__inputs-block {
	display: flex;
	flex-direction: column;
}

.review-form__inputs-block input {
	
	align-content: center;
}

.review-form__inputs-block input,
.review-form__inputs-block textarea {
	margin-top: 16px;
	display: block;
	box-sizing: border-box;
	padding: 12px 24px;
	border: 1px solid #0002FF;
	border-radius: 10px;
	color: #A4A4A4;
	font-size: 16px;
	font-weight: 500;
}

.review-form__inputs-block textarea {
	height: 150px;
	resize: unset;
}

.review-form__submit {
	display: block;
	width: 100%;
	cursor: pointer;
	box-sizing: border-box;
	margin-top: 16px;
	text-align: center;
	align-content: center;
	color: #FFFFFF;
	font-weight: 600;
	font-size: 24px;
	padding: 10px;
	background: #144186;
	border: 1px solid #144186;
	border-radius: 10px;
}

.review-form__submit:hover {
	color: #144186;
	background: transparent;
	transition: all .7s ease-out;
}



/*--------------------------------------------------------------
# Blog Page
--------------------------------------------------------------*/
.blog-pages {
	max-width: 69vw;
}

.blog-pages__columns {
	display: grid;
	grid-template-columns: calc(100% - 330px) 300px;
	grid-gap: 0 30px;
	padding: 45px;
	box-sizing: border-box;
	background: #FFFFFF;
	border-radius: 10px;

}

.page-title {
	font-size: 26px;
	margin-bottom: 34px;
	color: #FFFFFF;
	position: relative;
	width: fit-content;
}
.page-title:after {
	content: '';
	position: absolute;
	width: 100%;
	height: 1.4px;
	background: #FFFFFF;
	bottom: -4px;
	left: 0;
}

.search-top__search {
	border-radius: 30px;
	border: 1.4px solid #747474;
}

@media only screen and (max-width: 1440.99px) {
	.blog-pages__columns {
		grid-template-columns: 1fr 300px;
	}
}

@media only screen and (max-width: 1336.99px) {
	.blog-pages__columns {
		grid-template-columns: 1fr 200px;
	}
}

@media only screen and (max-width: 1200.99px) {
	.blog-pages__columns {
		padding: 30px;
	}
}
@media only screen and (max-width: 1080.99px) {
	.blog-pages {
		margin-left: auto;
		margin-right: auto;
		max-width: 1440px;
		padding: 0 30px;
		box-sizing: border-box;
	}
}
@media only screen and (max-width: 768.99px) {
	.blog-pages__scrolled-content > *:not(:last-child) {
		z-index: auto;
	}

	.blog-pages__columns {
		display: flex;
		flex-direction: column;
		grid-gap: 0;
	}

	.blog-pages__right-content {
		margin-top: 30px;
	}


}

@media only screen and (max-width: 430.99px) {
	.blog-pages {
		padding: 0 20px;
	}
	.blog-pages__columns {
		padding: 20px;
	}
}


/*--------------------------------------------------------------
# Right column
--------------------------------------------------------------*/

.recent__title {
	font-size: 24px;
	font-weight: 600;
}


.recent__list {
	margin-top: 20px;
}

.recent__item {
	display: block;
	border-radius: 8px;
}

.recent__item:not(:last-child) {
	margin-bottom: 20px;
}

.recent__item-thumb {
	display: block;
	border-radius: 8px;
	overflow: hidden;
}


.recent__item-img {
	max-width: 100%;
	height: auto;
	width: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 8px;
	transform: scale(1);
	transition: all .6s;
}

.recent__item-thumb:hover img {
	transform: scale(1.1);
	transition: all .6s;
}

@media only screen and (max-width: 768.99px) {
	.recent__item-img {
		height: auto;
		width: 100%;
	}
}


/*--------------------------------------------------------------
# Post section
--------------------------------------------------------------*/

.post__main-list {
	display: flex;
	flex-direction: unset;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
}

.post__main-item:not(:last-child) {
	margin-right: 24px;
}

.post__main-item {
	margin-top: 12px;
	display: grid;
	grid-template-columns: max-content auto;
	grid-gap: 0 12px;
	align-items: center;
}

.post__main-item-icon {
	display: block;
}

.post__main-item-icon svg {
	width: auto;
	height: 21px;
}
.post__main-item-value {
	font-weight: 300;
	color: #A6A6A6;
	display: block;
	align-content: center;
	font-size: 14px;
}

.post__contacts-list {
	display: flex;
	flex-direction: unset;
}

.post__contacts-item-link,
.post__contacts-item {
	display: block;	
}

.post__contacts-item {
	margin-top: 12px;
	display: block;
	width: fit-content;
	height: fit-content;
}

.post__contacts-item:not(:last-child) {
	margin-right: 24px;
}

.post__contacts-item-link svg {
	width: 30px;
	height: 30px;
}

.post__contacts-link {
	transform: scale(1);
	transition: all .4s;
}

.post__contacts-link:hover {
	transform: scale(1.1);
	transition: all .4s;
}

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


.post__top-block {
	display: flex;
	flex-direction: column;
}

.post__title {
	font-size: 38px;
	font-weight: 700;
	color: #000173;
	display: block;
	align-content: center;
	text-decoration: underline;
}

.post__thumb {
	margin-top: 40px;
	overflow: hidden;
	width: 100%;
	border-radius: 12px;
}

.post__img {
	border-radius: 12px;
	background: #D9D9D9;
}

@media only screen and (max-width: 1080.99px) {
	.post__title {
		font-size: 32px;
	}
}

@media only screen and (max-width: 768.99px) {
	.post__title {
		font-size: 24px;
	}
}

/*--------------------------------------------------------------
# Post content
--------------------------------------------------------------*/
.post__content h2.wp-block-heading {
	font-size: 24px;
	text-align: left;
	margin-bottom: 22px;
	margin-top: 22px;
	font-weight: 700;
}

.post__content h3.wp-block-heading {
	font-size: 20px;
	text-align: left;
	margin-bottom: 22px;
	margin-top: 22px;
	font-weight: 700;
}

.post__content ul,
.post__content ol {
	padding-left: 25px;
	box-sizing: border-box;
	margin-bottom: 22px;
}

.post__content li {
	display: list-item;
	padding: 7px 0;
	box-sizing: border-box;
	list-style-type: inherit;
}

.post__content .wp-block-image img {
	width: 100%;
	border-radius: 12px;
	height: auto;
}
@media only screen and (max-width: 430.99px) {
	.post__content {
		overflow: hidden;
	}
	.post__content ul, 
	.post__content ol {
		padding-left: 15px;
		margin-top: 10px;
	}
}
