/**
 * Blocks
 */

.tst-block-related {
	position: relative;
	padding: 35px 20px 55px;
	background-color: #f8f8f8;
	margin-top: 50px;
	margin-bottom: 50px;
	font-family: var(--font-regular);
	box-shadow: -100px 0 0 #f8f8f8, 100px 0 0 #f8f8f8;
}

@media (max-width: 991px) {
	.tst-block-related {
		padding: 30px 20px 45px;
	}
}

.tst-entry-content > .tst-block-related.alignfull {
	margin-left: -20px;
	margin-right: -20px;
}

@media (min-width: 992px) {
	.tst-entry-content > .tst-block-related.alignfull {
		margin-left: calc( ( ( (100vw - 360px) / 2 ) - 30px ) * -1 );
		margin-right: calc( ( ( (100vw - 960px) / 2 ) - 30px ) * -1 );
	}
}

@media (min-width: 660px) and (max-width: 991px) {
	.tst-entry-content > .tst-block-related.alignfull {
		margin-left: calc( ( ( (100vw - 600px) / 2 ) - 9px ) * -1 );
		margin-right: calc( ( ( (100vw - 600px) / 2 ) - 9px ) * -1 );
	}
}

.tst-block-related-inner {
	width: 100%;
	max-width: 1160px;
	margin-left: auto;
	margin-right: auto;
}

.tst-block-related-heading,
.tst-entry-content .tst-block-related-heading {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 35px;
	letter-spacing: 0.04em;
	text-align: center;
	margin-top: 0;
	font-family: var(--font-regular);
	line-height: 1.4;
}

@media (max-width: 991px) {
	.tst-block-related-heading,
	.tst-entry-content .tst-block-related-heading {
		margin-bottom: 30px;
	}
}

.tst-block-related-posts {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.tst-block-related-posts .tst-entry {
	flex: 0 0 auto;
	width: 100%;
	max-width: calc( ( 100% / 3 ) - ( 80px / 3 ) );
}

@media (max-width: 991px) {
	.tst-block-related-posts .tst-entry {
		max-width: calc( ( 100% / 3 ) - ( 50px / 3 ) );
	}
}

@media (max-width: 767px) {
	.tst-block-related-posts .tst-entry {
		max-width: 100%;
	}

	.tst-block-related-posts .tst-entry:not(:last-child) {
		margin-bottom: 40px;
	}
}

.tst-entry-content .tst-block-related-posts .tst-entry-image {
	margin-bottom: 5px;
}

.tst-entry-content .tst-block-related-posts .tst-entry-image img {
	display: block;
	position: absolute;
	height: 100%;
}

.tst-block-related-posts .tst-entry-title,
.tst-entry-content .tst-block-related-posts .tst-entry-title {
	font-size: 28px;
	margin-bottom: 11px;
	margin-top: 9px;
	line-height: 1.071em;
}

@media (max-width: 991px) {
	.tst-entry-content .tst-block-related-posts .tst-entry-title {
		font-size: 19px;
	}
}

.tst-block-related-posts .tst-entry-excerpt,
.tst-entry-content .tst-block-related-posts .tst-entry-excerpt {
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 0;
}

.tst-entry-content .tst-block-related-posts .tst-entry-excerpt p {
	line-height: inherit;
}

.tst-block-related-posts .tst-entry-formats,
.tst-entry-content .tst-block-related-posts .tst-entry-formats {
	margin: 0 0 9px 0 !important;
	font-size: 14px;
	list-style: none;
}

.tst-block-related-posts .tst-entry-formats li,
.tst-entry-content .tst-block-related-posts .tst-entry-formats li {
	font-size: 14px;
	line-height: 1.428em;
	margin-top: 0;
	padding: 0;
	box-shadow: none;
	border: none;
}

.tst-entry-content .tst-block-related-posts .tst-entry-formats li:before {
	content: none;
}

.tst-block-related-posts .tst-entry-formats li a,
.tst-entry-content .tst-block-related-posts .tst-entry-formats li a {
	color: #323232 !important;
	border: none;
	box-shadow: none;
}

/* BigText */
.wp-block-tst-bigtext {
	font-size: 40px;
	line-height: 1em;
	font-weight: bold;
	letter-spacing: -0.03em;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	font-family: var(--font-heading-alt);
}

@media (max-width: 991px) {
	.wp-block-tst-bigtext {
		font-size: 23px;
		line-height: 1.086em;
		margin-top: 1.956em;
		margin-bottom: 1.956em;
	}
}

@media (max-width: 575px) {
	.wp-block-tst-bigtext {
		font-size:  23px;
	}
}

.wp-block-tst-bigtext p,
.editor-styles-wrapper .wp-block-tst-bigtext p {
	font-size: inherit;
	line-height: inherit;
}

/** Expert Block */
.tst-block-expert {
	padding: 16px;
	margin-bottom: 30px;
	color: #575552;
	font-family: var(--font-regular);
}
.tst-block-expert-inner {
	display: flex;
	gap: 24px;
}
.tst-block-expert-figure {
	width: 100px;
	height: 100px;
	border-radius: 50rem;
	overflow: hidden;
	margin-bottom: 15px !important;
	padding-bottom: 0 !important;
}
.tst-block-expert-figure img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 50rem;
	object-fit: cover;
	width: 100% !important;
	height: 100% !important;
}
.tst-block-expert-info {
	padding-top: 5px;
}
.tst-block-expert-name {
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 12px;
	line-height: 1.2;
}
.tst-block-expert-name a:hover {
	color: var(--color-teplogreen);
}
.tst-block-expert-position {
	font-size: 18px;
	margin-bottom: 12px;
}
.tst-block-expert-info-list {
	margin: 0 !important;
	list-style: disc;
	padding-left: 25px;
}
.tst-block-expert-info-list > li {
	padding-left: 0 !important;
	margin-top: 0 !important;
	font-size: 16px !important;
	line-height: 1.3 !important;
}
.tst-block-expert-info-list > li:before {
	content: none !important;
}
.tst-block-expert-socials {
	display: flex;
	justify-content: center;
	gap: 20px;
}
.tst-block-expert-socials a {
	color: #696969;
}
.tst-block-expert-socials a:hover {
	color: #000;
}
.tst-block-expert-socials svg {
	display: block;
}
.tst-block-expert-socials svg path {
	fill: currentColor;
}

/** Block Code **/
.wp-block-code {
	padding: 1.4em 2em;
	border-radius: 3px;
	position: relative;
}
.wp-block-code.is-style-dark:not(.has-text-color) {
	color: #ccc
}
.wp-block-code:not(.has-background) {
	background-color: #F8F8F8
}
.wp-block-code.is-style-dark:not(.has-background) {
	background-color: #363636
}
.wp-block-code code {
	display: block;
	font-family: inherit;
	overflow-wrap: break-word;
	white-space: pre-wrap;
}

.wp-block-code-copy {
	position: absolute;
	top: 0;
	right: 0;
	padding: 10px;
	color: inherit;
}
.wp-block-code-copy svg {
	width: 20px;
	height: 20px;
	color: inherit;
	fill: currentColor;
}
.wp-block-code-copy:hover {
	color: inherit;
}
.wp-block-code-copy:hover svg {
	width: 20px;
	height: 20px;
	color: inherit;
	fill: currentColor;
}
.wp-block-code-copy-badge {
	display: none;
	position: absolute;
	pointer-events: none;
	font-size: 14px;
	left: 50%;
	bottom: 100%;
	translate: -50%;
	color: #323232;
}
