/** == Single posts (_single.scss) == */
// Styles for single posts templates with CPTs variants


// Content part
.entry-header-single {
	padding: $gut/1.5 0 0 0;
	
	.flex-cell {
		flex: 0 0 auto;
	}

	.entry-title {
		@include knd-head-exlarge-single-text();
		hyphens: auto;
		color: var(--knd-color-headings);
	}
	
	.entry-meta {
		@include post-meta();
		margin-bottom: 19px;
	}

	.mobile-sharing {
		margin-top: 20px;
	}
}

.entry-preview-single {
	@include for(medium-screens) { 
		margin-bottom: 10px;
		margin-top: 10px; 
	}
	
	.flex-cell {
		flex: 0 0 auto;
	}
}

.introimg-figure{
	position: relative;

	.introimg {
		width: 100%;
		height: 0;
		padding-bottom: 65%;
		position: relative;
	}

	.tpl-pictured-bg {
		position:absolute;
		width: 100%;
		height: 100%;
	}

	.wp-caption-text {
		padding-top: 4px;
		@include caption-text();
	}
}

.entry-content-single {
	.entry-lead {
		@include knd-lead-text();
		margin-bottom: $gut / 1.33;
	}
}

.single {
	.entry-content {
		@media (max-height: 1200px){
			min-height: 20vh;
		}
	}
}


.knd-signle-after-content {
	margin-top: $gut/2;
}


// sharing
.single-sharing-col {
	position:relative;
	z-index: 0;
}

.regular-sharing {
	position: absolute;
	width: 45px;
	height: calc(100% - 20px);
	top: 0px;
	left: 0;
	z-index: 100;
	
	//.single & .social-likes { padding-top: $gut; }
}

.mobile-sharing {
	.social-likes {
		@include clearfix;
		padding: 8px 0;
	}

	.social-likes__widget {
		float: left;
		margin: 0;

		&:not(:last-child) {
			margin-right: 6px;
		}
	}
}

.single-post-terms {
	margin-top: 26px;

	a {
		color: var(--knd-color-main);
	}
}
