.caro-modal-link {
    width: 35%;
    float: left;
    clear: both;
    cursor: pointer;
    color: #EF3742;
    display: flex;
    font-weight: 600;
}

.caro-modal-link::after {
	content: url('../img/link-icon.svg');
    margin-left: .5rem;
}

span.slide-open {
    color: #ef3742;
	cursor: pointer;
    margin-left: 1rem;
}

span.slide-open::after, .view-more::after {
	content: url('../img/Down.svg');
    margin-left: 0.2vw;
    position: absolute;
    transition: .3s;
}

span.slide-open.open::after {
    transform: rotateX(180deg);
}

.tab-nav {
    display: flex;
}

.carousel-inner {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.slide-left {
    width: 60%;
    margin-top: 2rem;
    height: max-content;
    position: relative;
    padding-bottom: 3rem;
}

.slide-right {
    width: 35%;
    margin-top: 4rem;
}

.tab-nav-item {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 1rem;
    color: #adcefb;
    margin-bottom: .5rem;
    border-bottom: 3px solid #fff;
    margin-top: 1rem;
}

.tab-nav-item.active, .tab-nav-item:hover {
    color: #ef3742;
    border-bottom: 3px solid #ef3742;
}

.carousel-block .carousel-slide {
	display: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.carousel-title {
    color: #fff;
}

p.carousel-content, p.slide-down-content {
    color: #fff;
}

p.slide-down-content {
	display: none;
}

p.image-title {
    margin: 0;
}

.wp-block-image.carousel-image>img {
    width: 100%;
}
.wp-block-image.carousel-image {
    margin: 0;
    width: 100%;
}

h6.image-title, p.image-content, h4.below-image-title {
}

.wp-block-button.carousel-button {
}

.arrow {
    border: solid #ffc2c6;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: .5rem;
    cursor: pointer;
    transition: border-color .3s;
}

i.arrow.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

i.arrow.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.carousel-nav {
    position: absolute;
    display: flex;
	top: 3rem;
    right: 1rem;
}

.carousel-block, .carousel-slide {
    position: relative;
    height: auto!important;
}

.carousel-slide {
	display: none;
}

.arrow:hover {
    border-color: #ef3742;
}

.caro-modal {
    position: fixed;
    background: #ffffffd6;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 999999;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.caro-modal-wrap {
    background: #FFFFFF;
    box-shadow: 0 15px 30px 0 rgba(0,0,0,0.05);
    width: 54%;
    padding: 3rem;
    position: relative;
    overflow: auto;
    max-height: 57vw;
}

.caro-modal-wrap iframe {
    width: 100%;
    height: 26vw;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.caro-modal-wrap img {
    width: 100%;
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
}

.wp-block-group {
    padding: 2rem 0;
    margin: 0 0 2rem;
}

.carousel-wrap .slide-left::after {
    position: absolute;
    content: '';
    /* width: 100vw; */
    height: 100%;
    background: #0a2240;
    display: block;
    z-index: -1;
    left: calc((100vw - 75rem + .9375rem + .9375rem)/-2);
    top: 0;
    min-height: 198%;
    right: -39%;
    min-height: 26rem;
}
h4.carousel-title {
    margin-top: 3rem;
    margin-bottom: 0.5rem;
}

.alone .carousel-inner {
    position: relative;
}

.alone .carousel-inner::after {}

.alone .slide-left::after {
    position: absolute;
    content: '';
    /* width: calc(100% + 75rem); */
    height: 100%;
    background: #d6eff6;
    display: block;
    z-index: -1;
    left:  calc((100vw - 75rem + .9375rem + .9375rem)/-2);
    top: 0;
    /* min-height: 198%;*/
    right: -39%;
    min-height: 26rem;
}

.alone .carousel-inner h4.carousel-title {
    color: #0a2240;
}

.alone p.carousel-content, .alone p.slide-down-content {
    color: #494949;
}

.image-left .carousel-inner {
    flex-direction: row-reverse;
    margin-bottom: 4rem;
}

 .image-left p.image-content, .image-left .image-title, .image-left .caro-modal-link {
    margin-left: 8rem;
}


.image-left .slide-left::after {
	left: -30%;
    right: calc((100vw - 75rem + .9375rem + .9375rem)/-2);
/*     width: calc(100% + 71rem); */
}


.image-left .slide-left {
    padding-left: 3rem;
    width: 67%;
}

.image-left .image-title {
    text-align: right;
}

.wp-block-group.alignfull {
    margin: 0 calc((100vw - 75rem + 2rem)/-2) 2rem;
}

.entry-content>h2 {
    max-width: 75rem;
    margin: 2rem auto 1rem;
	padding-right: 1.875rem;
    padding-left: 1.875rem;
}

.view-more.view-more-block {
	color: #ef3742;
    border-bottom: 2px solid;
    text-align: center;
    margin-bottom: 5rem;
    cursor: pointer;
    font-weight: 600;
}

.more-content {
    display: none;
}

@media only screen and (max-width: 1180px) {
	.carousel-wrap .slide-left::after {
		width: 100%;
		left: auto;
		right: -16rem;
		width: calc(100% + 16rem);
		left: -2rem;
    	height: 100%;
		min-height: 0;
	}

	.caro-modal-link {
	    width: auto;
	}

	.alone .slide-left::after {
		width: 100%;
		left: auto;
		right: -16rem;
		width: calc(100% + 16rem);
		left: -2rem;
	}

	.alone.carousel-block h6.image-title, .alone p.image-content, .alone h4.below-image-title {
		color: #0a2240;
	}

	.image-left .slide-left::after {
		width: 100%;
		left: auto;
		right: -16rem;
		width: calc(100% + 13rem);
		left: -2rem;
		right: -2rem;
		left: -12rem;
	}

	.image-left h4.below-image-title, .image-left p.image-content, .image-left .image-title, .image-left .caro-modal-link {
		margin-left: 0;
	}

	.wp-block-group.alignfull {
		margin: 0 auto;
	}
}

@media only screen and (max-width: 650px) {
	.carousel-wrap {
		background: #0a2240;
	}

	.carousel-inner.grid-container {
		flex-direction: column;
	}

	.slide-left {
		order: 2;
		width: 100%;
	    margin-top: 0;
	}

	.slide-right {
		width: 100%;
		margin-bottom: 0;
		margin-top: 0;
		padding-top: 2rem;
	}

	h6.image-title, p.image-content, h4.below-image-title {
	    color: #ef3742;
	}

	h4.carousel-title {
		margin-top: 0;
	}

	.slide-left {
    	padding-bottom: 3rem;
	}

	.caro-modal-link {
		position: absolute;
		bottom: 1rem;
	}

	.alone .slide-left::after {
		display: none;
	}

	.wp-block-group.alignfull {
		margin: 0 auto;
	}

	.carousel-wrap .slide-left::after {
		display: none;
	}

	.carousel-slide.alone {
		background: #d6eff6;
		margin-bottom: 3rem;
	}

	.image-left h4.below-image-title, .image-left p.image-content, .image-left .image-title, .image-left .caro-modal-link {
    margin-left: 0;
    text-align: left;
    color: #0a2240;
}

	.alone h6.image-title, .alone p.image-content, .alone h4.below-image-title {
	    color: #ef3742;
	}

	.image-left .slide-left {
		width: 100%;
		padding-left: 0;
	}

	.carousel-nav {
		top: 1.3rem;
	}

	.caro-modal-wrap {
		width: 90%;
		max-height: 85vh;
	}
}
