.thanks-block {
	background-color: #ECE8E3;
	border-radius: 30px;
}

.thanks-block > .wp-block-group__inner-container {
	padding: 140px 70px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 700px;
}
@media (max-width: 959px) {
	.thanks-block > .wp-block-group__inner-container {
		min-height: 640px;
		padding: 100px 50px;
	}
}
@media (max-width: 639px) {
	.thanks-block > .wp-block-group__inner-container {
		min-height: unset;
		padding: 140px 10px;
	}
}

.thanksBlock-title {
	margin: 0;
	font-size: 50px;
	font-weight: 700;
	line-height: 50px;
	text-align: center;
	color: #4B4B4B;
}
@media (max-width: 639px) {
	.thanksBlock-title {
		font-size: 30px;
		line-height: 30px;
	}
}

.thanksBlock-text {
	margin-top: 34px;
	font-size: 20px;
	line-height: 28px;
	text-align: center;
	color: #767472;
}
@media (max-width: 959px) {
	.thanksBlock-text {
		margin-top: 43px;
	}
}
@media (max-width: 639px) {
	.thanksBlock-text {
		font-size: 22px;
		line-height: 31px;
	}
}

.thanksBlock-text p {
	margin: 0;
}

.thanksBlock-actions {
	padding-top: 107px;
	display: flex;
	justify-content: center;
}
@media (max-width: 959px) {
	.thanksBlock-actions {
		margin-top: auto;
	}
}

.thanksBlock-actions .button,
.thanksBlock-actions .button:hover {
	background-color: transparent;
}

.thanksBlock-actions .button a {
	padding: 20px 60px;
	border-radius: 30px;
	display: block;
	font-weight: bold;
	font-size: 14px;
	line-height: 15px;
	color: white;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}

.thanksBlock-actions .button_blue a {
	background-color: #143F9F;
}
.thanksBlock-actions .button_blue a:hover {
	background-color: white;
	color: #143F9F;
}