section.listing {
	display: flex;
	margin: 0 auto;
	clear: both;
	max-width: 1024px;
	gap: 40px;
	box-sizing: border-box;
	 flex-wrap: wrap;
}

section.listing:after {
	clear: both;
	content: '';
	display: block;
}

section.listing item, column section.listing {
	display: block;
}

section.listing item {
	flex: 0 0 calc(50% - 20px);
	text-decoration: none;
	background-color: #FFF;
	background-position: center center;
	background-size: cover;
	transition: opacity 0.5s;
	border-radius: 5px;
	box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.1);
	height: 670px;
	overflow: hidden;
}

section.listing item photo {
	display: block;
	width: 100%;
	height: 300px;
	background-size: cover;
	background-position: center top;
}

section.listing item .summary{
	display: block;
}

section.listing .details {
	display: block;
	padding: 20px;
}


section.listing .details h2 {
	font-size: 20px;
	line-height: 1.3;
	color: #666;
	margin-bottom: 5px;
	max-width: 500px;
}

section.listing .details h3 {
	color: #fff;
	background: rgba(0,0,0,0.5);
	display: inline-block;
	padding: 5px;
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 5px;
	margin-right: 5px;
}

section.listing .details h3 a{
	text-decoration: none;
	color: #fff;
	display: block;
	clear: both;
}

section.listing .details h3 a:hover {
	color: #FFF;
}

section.listing .details h3.author {
	color:rgba(255,255,255,0.6);
	font-weight: normal;;
}

section.listing .details p {
	color: #666;
	font-size: 16px;
	line-height:1.3;
	font-weight: 100;
	max-width: 500px;
	margin-bottom: 10px;
}

section.listing .details button {
	background: #0b97cc;
	color: #fff;
	border: none;
	padding: 10px;
	font-size: 16px;
	text-transform: uppercase;
	overflow: hidden;
	border-radius: 5px;
	margin-top: 20px;
}

section.listing item button:hover {
	background: #000;
	cursor: pointer;
}

section.listing h1 {
	color: #444;
	font-size: 32px;
	margin-bottom: 5px;
}

section.listing h2 {
	color: #0b97cc;
	font-size: 16px;
	margin-bottom: 20px;
}

section.home-content {
	display: block;
	max-width: 1028px;
	margin:0 auto;
}

section.home-content splash {
	display: block;
	height: 600px;
	background-size: cover;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.1);
	margin-bottom: 40px;
	background-position: center top;
	margin-top: 40px;
} 

section.home-content photos {
	display: flex;
	width: 100%;
	gap: 40px;
	margin-bottom: 40px;
	height: 200px;
}

section.home-content photos photo {
	display: block;
	background-size: cover;
	background-position: center top;
	flex-grow: 1;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.1);
	align-self: stretch;
	height: auto;
}

section.home-content content-split {
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.1);
	display: flex;
	margin-bottom: 40px;
	box-sizing: border-box;
	justify-content: stretch;

}

section.home-content content-split content {
	display: block;
	padding: 40px;
	box-sizing: border-box;
	background-color: #FFF;
	min-height: 600px;
}

section.home-content content-split h2 {
	font-size: 46px;
	line-height: 1.2;
	color: #0b97cc;
	margin-bottom: 20px;
}

section.home-content content-split p {
	color: #666;
	font-size: 16px;
	line-height:1.3;
	font-weight: 100;
	margin-bottom: 10px;
}

section.home-content content-split a.button {
	background: #0b97cc;
	color: #fff;
	border: none;
	padding: 10px;
	font-size: 16px;
	text-transform: uppercase;
	overflow: hidden;
	border-radius: 5px;
	margin-top: 20px;
	text-decoration: none;
	display: inline-block;
}

section.home-content content-split a.button:hover {
	background: #000;
	cursor: pointer;
}

section.home-content content-split photo, section.home-content content-split content {
	flex: 0 0 50%;
	display: block;	
}

section.home-content content-split photo {
	background-size: cover;
	background-position: center center;
}

@media only screen and (min-width: 0px) and (max-width: 1080px) {
	section.home-content, section.listing {
		padding-left: 40px;
		padding-right: 40px;
	}
}
@media only screen and (min-width: 0px) and (max-width: 700px) {
	section.home-content{
		padding-top: 20px;
	}

	section.home-content, section.listing {
		padding-left: 20px;
		padding-right: 20px;
	}

	section.home-content splash {
		height: 200px;
		margin-bottom: 20px;
	}

	section.home-content photos {
		gap: 0px;
		border-radius: 5px;
		overflow: hidden;
		box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.1);
		margin-bottom: 20px;
	}

	section.home-content photos photo {
		box-shadow: none;
		border-radius: 0px;
	}

	section.home-content photos photo:nth-child(n+2) {
		display: none;
	}

	section.listing {
		display: block;;
	}

	section.listing item photo {
		height: 200px;
	}

	section.listing item {
		display: block;
		margin-bottom: 10px;
		height: auto;
	}

	section.listing .details p {
		display: block;
	}

	section.home-content content-split {
		margin-bottom: 20px;
	}


	section.home-content content-split content h2 {
		font-size: 16px;
	}

	section.home-content content-split content p {
		font-size: 12px;
	}

	section.home-content content-split content {
		height: auto;
		padding: 20px;
		min-height: 400px;
	}

	section.home-content content-split a.button {
		font-size: 12px;
	}

	section.home-content splash {
		height: 400px;
		margin-top: 0px;
	}
	
}