/* post-type-mentor */
.post-type-mentor.post-view-full h1 {
	margin-top: -0.34375em;
	margin-bottom: 0.34375em;
}

.post-type-mentor.post-view-full .is-featured-image img {
	width: 120px;
	object-fit: cover;
}

.post-type-mentor.post-view-teaser a {
	color: currentcolor;
	text-decoration: none;
	display: block;
}

.post-type-mentor.post-view-teaser .mentor__image-title {
	display: flex;
	align-items: center;
	margin-bottom: 1.375em;
}

.post-type-mentor.post-view-teaser .mentor__image {
	width: 86px;
	height: 116px;
	border: 3px solid rgba(255,255,255, 1);
	margin-right: 1.375em;
}

.post-type-mentor.post-view-teaser .mentor__image img {
	width: 80px;
	height: 110px;
	object-fit: cover;
}

.post-type-mentor.post-view-teaser .mentor__title {
	font-size: var(--font-size);
	margin-bottom: 0;
	position: relative;
}

.post-type-mentor.post-view-teaser .mentor__permalink {
	display: block;
	font-size: var(--font-size-small);
	margin-top: 0.6875em;
}

.post-type-mentor.post-view-teaser .mentor__permalink i {
	margin-right: 0.6875em;
	color: var(--color-secondary);
	font-size: var(--font-size);
	vertical-align: middle;
}

.post-type-mentor.post-view-teaser .mentor__subject p:last-child {
	margin-bottom: 0;
}

@media (min-width: 768px) and (max-width: 991.98px) {
	.post-type-mentor.post-view-teaser a {
		display: flex;
		flex-wrap: wrap;
	}

	.post-type-mentor.post-view-teaser .mentor__image-title {
		width: 100%;
	}

	.post-type-mentor.post-view-teaser .mentor__sector {
		width: calc(50% - 1/2 * var(--gap));
	}

	.post-type-mentor.post-view-teaser .mentor__subject {
		width: calc(50% - 1/2 * var(--gap));
		margin-left: var(--gap);
	}
}

@media (min-width: 992px) {
	.post-type-mentor.post-view-teaser a {
		display: flex;
		align-items: flex-start;
		padding-top: var(--gap);
	}

	.post-type-mentor.post-view-teaser .mentor__image-title {
		width: calc(33.333% - 2/3 * var(--gap));
		transform: translate(0, -30px);
		margin-bottom: 0;
	}

	.post-type-mentor.post-view-teaser a:hover .mentor__image {
		box-shadow: 0 0 0 2px var(--color-secondary);
	}

	.post-type-mentor.post-view-teaser .mentor__permalink {
		margin-top: 0;
		position: absolute;
		bottom: 0;
		left: 0;
		z-index: 1;
		transform: translate(0, 200%);
		opacity: 0;
		transition: opacity 0.3s ease;
		white-space: nowrap;
	}
		.post-type-mentor.post-view-teaser a:hover .mentor__permalink {
			opacity: 1;
		}

	.post-type-mentor.post-view-teaser .mentor__sector {
		width: calc(33.333% - 2/3 * var(--gap));
		margin-left: var(--gap);
	}

	.post-type-mentor.post-view-teaser .mentor__subject {
		width: calc(33.333% - 2/3 * var(--gap));
		margin-left: var(--gap);
	}
}

/* post-type-post */
.post-type-post.post-view-related {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.post-type-post.post-view-related .wp-block-group {
	flex: 1;
}
