.themesflat__embed-responsive {
	--themesflat-image-ratio: 75%;
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;

	&:before {
		display: block;
		content: "";
		padding-top: var(--themesflat-image-ratio);
	}

	.themesflat__embed-responsive-item,
	iframe,
	embed,
	object,
	video {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100%;
		border: 0;
	}
}

.themesflat__image-size-4x3 {
	--themesflat-image-ratio: 75%;
}

.themesflat__image-size-1x1 {
	--themesflat-image-ratio: 100%;
}

.themesflat__image-size-3x4 {
	--themesflat-image-ratio: 133.3333333333333%;
}

.themesflat__image-size-16x9 {
	--themesflat-image-ratio: 56.25%;
}

.themesflat__image-size-9x16 {
	--themesflat-image-ratio: 177.7777777777778%;
}

.themesflat__entry-thumbnail {
	position: relative;
	background-color: #E0E8EE;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;

	&:after {
		content: '';
		display: block;
		position: absolute;
		z-index: 1;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		opacity: 0;
		background-color: rgba(0, 0, 0, 0.3);
		@include transition(opacity .3s);
	}
}

.themesflat__post-featured {
	position: relative;

	&.active,
	&:hover {
		.themesflat__entry-thumbnail {
			&:after {
				opacity: 1;
			}
		}

		.themesflat__zoom-image {
			i {
				opacity: 1;
				@include transform(scale(1));
			}

		}
	}
}

.themesflat__entry-thumbnail-image {
	display: inline-block;
}

.themesflat__thumbnail-size-none:before {
	display: none;
}
