section.main-image {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 60vh;
	transition: all 0.3s;
	min-height: 500px;
	
}
section.main-image:before
{
	content:'';
	position:absolute;
	top:15px;
	left:0;
	width:100%;
	height:60px;
	background:var(--blue-gradient);
	clip-path:polygon(0 0, calc(100% - 55px) 0, 100% 28px, 100% 100%, 0 100%);
}
section.main-image div.clip-path {
	clip-path: polygon(0 0px,calc(55% - 60px) 0,55% 30px, calc(100% - 60px) 30px, 100% 60px,100% 100%, calc(100% - 60px) calc(100% - 30px), 60px calc(100% - 30px),0 calc(100% - 60px));
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
section.main-image div.clip-path:before{
	content:'';
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:60px;
	background:var(--orange-gradient);
}
section.main-image div.image {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
	
}

section.main-image .info {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	padding: 0 5%;
	text-shadow: 0 1px 3px rgba(22, 35, 106, 0.5);
	max-width: 70%;
}

section.main-image .info h2 {
	font-weight: 700;
	font-size: 6vw;
	line-height: 1em;
	color:#fff;
	margin:0;
	max-width:900px;
}

section.main-image .info h2:after{
	display:none;
}
section.main-image .info p.text {
	margin: 15px 0;
	transition: all 1.5s 0s;
	transform: translateY(0);
	font-size: 1.5em;
	font-weight: 500;
	color: #fff;
	max-width: 640px;
	margin: 0.25em 0;
	line-height: 1.2em;
}

section.main-image div.image:after {
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	background: url(scanlines.png);
	opacity: 0.25;
}
section.main-image div.image::before {
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	background: rgb(0,9,133);
	background: linear-gradient(0deg, rgba(2, 7, 79, 0.5) 0%, rgba(0,9,133,0.2) 25%, rgba(0,9,133,0.2) 75%, rgba(2, 6, 60, 0.75) 100%);
	/* opacity: 0.25; */
	z-index: 0;
}

@media screen and (max-width:540px){
	section.main-image .info h1{
		font-size:2.75em;
	}
	section.main-image .info p.text {
		font-size:1.25em;
	}
	section.main-image div.clip-path{
		clip-path:polygon(0 0px,calc(100% - 60px) 0, 100% 30px,100% 100%, calc(100% - 60px) calc(100% - 30px), 60px calc(100% - 30px),0 calc(100% - 60px));
	}
	section.main-image:before{
		top:-10px;
	}
}
@media screen and (min-width:1024px){
	section.main-image .info h1{
		font-size:4.5em;
	}
}


/* BLOG POST */
section.main-image.blog-post-hero{
	margin-bottom:150px;
	overflow: visible;
	padding:0;
	height:auto;
	min-height:initial;
}

section.main-image.blog-post-hero div.outer-wrapper {
	overflow: hidden;
	width: 100%;
	position: absolute;
	height: 100%;
}
section.main-image.blog-post-hero div.image {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(100% + 20px);
	height: calc(100% + 20px);
	background-position: center center;
	background-size: cover;
	transform: translate(-50%, -50%);
	filter:saturate(0.5);
}
section.main-image.blog-post-hero div.front-image {
	position: relative;
	width: auto;
	height: 100%;
	left: 50%;
	transform: translateX(-50%);
	top: 140px;
	max-width: 800px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	z-index:10;
}
section.main-image.blog-post-hero div.front-image img {
	width: 100%;
	height: auto;
	display: block;
}

@media screen and (max-width:900px){
	section.main-image.blog-post-hero div.front-image {
		top:0;
		box-shadow:none;
		
	}
	section.main-image.blog-post-hero div.front-image:before{
		content:'';
		position:absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
		background:linear-gradient(180deg, rgba(0, 16, 64, 0.8) 0%, rgba(0, 38, 77, 0) 50%);
	}
	section.main-image.blog-post-hero{
		margin-bottom:45px;
	}
}

