.penci-block_27 {
	.penci-block_content__items {
		overflow: hidden;
	}

	.penci-image-holder:before {
		padding-top: 68.53%;
	}

	&.penci-imgtype-square .penci-image-holder:before {
		padding-top: 100%;
	}

	&.penci-imgtype-vertical .penci-image-holder:before {
		padding-top: 134.375%;
	}

	.penci_post_thumb:before {
		content: none;
	}

	.penci__post-title {
		@include font-size( 1.8 );
		line-height: 1.3;
		margin-top: 0;
		margin-bottom: 0;
		color: $color__white;

		a {
			color: inherit;
		}
	}

	.block27_last_item,
	.block27_items {
		width: 100%;
		float: left;
		flex-grow: 1;
	}

	.block27_last_item {
		margin-bottom: 0;

		.penci_post_item_content {
			background: #212121;
			height: 100%;
		}

		.penci_post_content {
			overflow: hidden;
			padding: 17px 20px 15px;
		}

		.penci_post-meta {
			margin-top: 4px;
		}

		.penci-post-excerpt {
			@include font-size(1.4);
			line-height: 1.71;
			color: #cccccc;
			margin-top: 9px;

			.penci-pmore-link {
				display: none;
			}
		}
	}

	.block27_items {

		.penci-image-holder:after {
			background: linear-gradient(to bottom, transparent 50%, black 100%);
			opacity: 0.65;
		}

		.penci_post_content {
			position: absolute;
			bottom: 0;
			width: 100%;
			z-index: 10;
			padding: 10px 20px 15px;
		}

		.penci_post-meta {
			margin-top: 4px;
			color :$color__white;
		}

		.penci-post-item {

			&:hover .penci-image-holder:after {
				opacity: 0.85;
			}
		}
	}

}


.penci-container-width-1400 .penci-content-main.penci-col-4 .penci-block_27,
.penci-container-width-1080 .penci-content-main.penci-col-6 .penci-block_27,
.penci-container-width-1080 .penci-content-main.penci-col-4 .penci-block_27,
.wpb_wrapper > .penci-block_27.penci-vc-column-1,
.widget-area .penci-block_27 {
	.block27_last_item,
	.block27_items {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	.penci-block_content__items {
		margin-left: 0;
		margin-right: 0;
	}

	.block27_items .penci-post-item:last-child {
		margin-bottom: 20px;
	}

	.penci__post-title {
		font-size: 16px !important;
	}
	.block27_last_item {
		margin-top: 20px;

		.penci_post_content {
			padding: 10px 15px;
		}
	}

}


.penci-container-width-1080 .penci-block_27 .penci-image-holder{
	height: auto;
}

@media screen and ( min-width: 768px ) {
	.penci-block_27 {
		.block27_last_item {
			width: 50%;
			padding-left: 10px;
		}

		.block27_items {
			width: 50%;
			padding-right: 10px;
		}

		.penci-block_content__items.has-3items {
			display: flex;
			flex-wrap: wrap;
		}

		.block27_last_item {
			margin-top: 0;
		}

		.block27_items .penci-post-item:last-child {
			margin-bottom: 0;
		}
	}
	.widget-area .penci-block_27 .block27_items .penci-post-item:last-child {
		margin-bottom: 0;
	}
}

@media screen and ( max-width: 768px ) {
	.penci-block_27 {
		.block27_last_item .penci_post_content,
		.block27_items .penci_post_content {
			padding: 10px 15px;
		}
		.penci__post-title {
			font-size: 16px !important;
		}
	}
}