// Styles
@import 'assets/styles/block';


.entry-content .acf-block-course-objectives {

	.wrap {
		position: relative;
		padding: 60px 60px 30px;

		@include breakpoint(large) {
			padding: 120px 120px 60px;
		}

		
		border-radius: 20% 0 20% 0;
		overflow: hidden;
	}

	.background-image {
		background-color: $blue;
		position: absolute;
		top: 50%;
		left: 0;
		transform: translateY(-50%);
		width: 100%;
		height: 100%;
		border-radius: 50px 50px 0 0;
		z-index: -1;


		img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			object-position: center top;
		}


		&:after {
			content: '';
			position: absolute;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
			background-color: rgba(0,88,150,0.9);
		}
	}

	/* .grid-container {
		padding-left: 20px;
		padding-right: 20px;

		@include breakpoint(xlarge) {
			padding-left: 40px;
			padding-right: 40px;
		}
	}
 */
	h2,
	h3,
	p {
		color: $white;
	}

	ul {
		@include checkmark-list-green;	

		li {
			color: $white;
		}
	}

	.callout {

		margin-top: 40px;

		> * {
			padding: 1rem;
		}

		@include breakpoint(medium) {
			display: flex;
			flex-wrap: wrap;
			align-items: center;
			justify-content: center;			
		}

		> span {
			font-size: rem-calc(22);
			line-height: 1.18181818;
			color: $white;
		}

		.acf-button {
			font-size: rem-calc(14);
			line-height: 1.21428571;
		}
	}
	
}