/* Mobile styling first */
.postcards {
	background-color: #b3bdc3;
	position: relative;
	margin-bottom: 65px;
}

.postcards .tear-top {
	background-image: url('/includes/public/assets/top-edge.svg');
	width: 100%;
	background-size: cover;
	height: 5px;
}
.postcards .tear-bottom {
	background-image: url('/includes/public/assets/top-edge.svg');
	width: 100%;
	background-size: cover;
	height: 5px;
	transform: rotate(180deg);
}

.postcards .title-cont {
	display: flex;
	flex-direction: column;
	text-align: center;
	padding: 15px;
}

.postcards .title-cont h4 {
	font-family: 'Pacifico', serif;
	color: #d9dee1;
	font-size: 63px;
	line-height: 65px;
	font-weight: 100;
}

.postcards .title-cont h5 {
	font-family: 'Arvo', serif;
	color: #415968;
	font-size: 20px;
	line-height: 26px;
}

.postcards .title-cont p.view-all {
	font-family: 'futura-pt', sans-serif;
	color: #684f40;
	font-size: 16px;
	line-height: 18px;
	font-weight: 600;
	margin: 15px 0 20px;
}

.postcards .slide {
	margin: 10px 0 20px;
	position: relative;
	border-radius: 15px;
}

.postcards .slide .img-cont img {
	border-radius: 15px;
	width: 100%;
}

.postcards .slide .content-section {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 0 15px;
}

.postcards .cols {
	margin: 0 15px 10px;
	padding: 0 15px 50px;
}

.postcards .slide .content-section .title h4,
.postcards .slide .content-section .title h4 a {
	font-family: 'tomarik-brush', sans-serif;
	color: #fff;
	font-size: 20px;
	line-height: 21px;
	text-align: center;
	font-weight: 100;
}

.postcards .slide .content-section .more-link {
	text-align: center;
}

.postcards .slide .content-section .more-link a {
	font-family: 'Pacifico', serif;
	color: #eeb111;
	font-size: 16px;
	line-height: 20px;
}

.postcards .slide .img-cont:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 70%;
	background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
	pointer-events: none;
	border-radius: 15px;
}



/* Tablet 640+ */
@media only screen and (min-width: 40em) {
	.postcards .cols {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		max-width: 1220px;
		margin: 0 auto;
		justify-content: space-between;
		
	}
	.postcards .slide {
		margin: 0;
		margin-bottom: 20px;
		flex: 0 1 24.5%;
		transition: z-Index 350ms ease, box-shadow 200ms ease, transform 350ms ease, -webkit-transform 350ms ease;
	}

	.postcards .slide .img-cont:after  {
		margin: 0;
		padding-right: 10px;
	}
	.postcards .img-cont { position: relative;}

	.postcards .slide:hover {
		transform: scale(1.1);
		z-index: 5;
		transition: z-Index 350ms ease, box-shadow 200ms ease, transform 350ms ease, -webkit-transform 350ms ease;
		box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.5);
	}
	.postcards .tear-top, 
	.postcards .tear-bottom {
		height: 20px;
	}
}


/* Desktop 1024+ */
@media only screen and (min-width: 64em) {
	.postcards .title-cont h4 {
		font-size: 90px;
		line-height: 100px;
	}
	.postcards .title-cont h5 {
		font-size: 27px;
		line-height: 35px;
	}
	.postcards .title-cont p.view-all {
		font-size: 21px;
		margin-top: 20px;
		margin-bottom: 30px;
	}
	.postcards .title-cont {
		max-width: 725px;
		margin: 0 auto;
		padding-top: 70px;
	}
	.postcards .slide .content-section .title h4,
	.postcards .slide .content-section .title h4 a {
		font-size: 27px;
		line-height: 29px;
	}
	.postcards .slide .content-section .more-link a p{
		font-size: 22px;
	}
}
