/* ====================== Mobile and Up ========================== */

/* Blog Listing CSS */
.ws-landing-container {
	display: grid;
  	grid-template-columns: 1fr 1fr;
  	grid-template-rows: 1fr;
  	grid-auto-flow: row;
}

.ws-landing-primary, .ws-landing-secondary, .ex-story-img-wrapper {
	overflow: hidden;
}

.ws-landing-title {
	grid-column: 2 / 3;
	grid-row: 4;
	display: flex;
    flex-direction: column;
    justify-content: center;
}

.ws-landing-title:hover a {
	color: #fff;
	text-decoration: none;
}


.ws-landing-primary {
	grid-column: 1 / 3;
}

.ws-landing-primary a, .ws-landing-secondary a {
	width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
	}

.ws-primary-details {
	z-index: 2;
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
	background-color: rgba(0, 0, 0, 0.4);
	background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 100%);
}

.ws-secondary-details {
	z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* ====================== Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 768px) {

/* Blog Listing CSS */
	
	.ws-primary-details {
	z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
	background-color: rgba(0, 0, 0, 0.4);
	background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 100%);
}
	
.ws-landing-container {
	grid-template-columns: 1fr 1fr;
	grid-template-rows:  1fr 1fr;
}	

.ws-landing-title {
	grid-column: 2 / 3;
    grid-row: 4 /5;
}
	
.ws-landing-primary {
	grid-column: 1/3;
}	

	
.ws-landing-primary a, .ws-landing-secondary a, .ws-primary-img, .ws-secondary-img {
	width: 100%;
	height: 100%;
}
	
	
.ws-landing-primary-img, .ws-primary-img, .ws-secondary-img {
	z-index: -1;
	position: relative;
    object-fit: cover;
}
	
}


/* ====================== Landscape Tablet and Up (Overrides Mobile Styles) ========================== */
@media only screen and (min-width: 992px) {
	
/*Blog Listing CSS */
	
.ws-primary-details {
	z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
	background-color: rgba(0, 0, 0, 0.4);
	background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 100%);
}	
	
.ws-landing-container {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 0.5fr 0.5fr;
	margin-left: -15px;
	margin-right: -15px;
}
	
.ws-landing-title {
	grid-column: 5;
	grid-row: 1 / 2;
}
	
.ws-landing-title:hover .ws-arrow {
	transform: translate(30px);
}

.ws-landing-primary {
	grid-column: 1/3;
    grid-row: 1 / 3;
}
	
.ws-primary-img, .ws-arrow, img.ex-story-img {
	transition: 0.3s ease-in-out;
}
	
.ws-landing-secondary:hover .ws-secondary-details {
	opacity: 1;
}
	
.ws-landing-primary:hover img.ws-primary-img, .ex-stoy-link:hover img.ex-story-img img.ws-secondary-img {
	transform: scale(1.1);
}
	
}

/* ====================== Desktop Only (Overrides Mobile and Tablet Styles) ========================== */
@media only screen and (min-width: 1200px) {
	
	.ws-primary-details {
	z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
	background-color: rgba(0, 0, 0, 0.4);
	background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 100%);
}	
	
}