.entry-card {

	.ct-media-container {
		border-radius: var(--theme-image-border-radius, var(--theme-border-radius, 0px));
	}

	// boundless image
	.boundless-image {
		width: calc(100% + var(--card-inner-spacing, 30px) * 2);
		margin-inline: calc(var(--card-inner-spacing, 30px) * -1);

		&:first-child {
			border-end-start-radius: 0;
			border-end-end-radius: 0;
			margin-top: calc(var(--card-inner-spacing, 30px) * -1);
		}

		&:last-child {
			border-start-start-radius: 0;
			border-start-end-radius: 0;
			margin-bottom: calc(var(--card-inner-spacing, 30px) * -1);
		}

		&:not(:first-child):not(:last-child) {
			border-radius: 0;
		}

		img {
			height: 100%;
		}
	}
}


[data-layout="simple"] .entry-card .boundless-image {
	@include media-breakpoint-up (md) {
		border-radius: var(--theme-image-border-radius, var(--theme-border-radius, 0px));
		border-start-end-radius: 0;
		border-end-end-radius:0;
	}
}
