.entry-card {

	.ct-media-container {
		box-shadow: var(--theme-image-shadow);
		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 {
			margin-top: calc(var(--card-inner-spacing, 30px) * -1);

			&:not(:only-child) {
				border-end-start-radius: 0;
				border-end-end-radius: 0;
			}
		}

		&:last-child {
			margin-bottom: calc(var(--card-inner-spacing, 30px) * -1);

			&:not(:only-child) {
				border-start-start-radius: 0;
				border-start-end-radius: 0;
			}
		}

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

		img {
			height: 100%;
		}
	}
}


[data-layout="simple"][data-cards="boxed"] .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;
	}
}