.masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 10px;
  grid-auto-flow: dense;
}

.masonry-item-title{
	position: relative;
    text-transform: uppercase;
    font-weight: lighter;
    font-size: 36px;
    color: #e5006d;
    bottom: 90px;
    padding-left: 20px;
    margin: 0;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

p.masonry-item-excerpt {
	position: relative;
	font-weight: regular;
    font-size: 18px;
    color: white;
	bottom: 100px;
    padding-left: 20px;
    margin: 0;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.grid-item.size-1x1 { 
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	/*
	border-style: solid;
  	border-color: #e5066d;
	*/
	grid-column: span 1; 
	grid-row: span 1; 
	/*
	background-color: #e5066d; 
	border-radius: 10px;
	border-width: 0px;
	*/
	transition: all 0.3s ease;
}

.grid-item.size-1x1:hover { 
	border-width: 3px;
	transform: scale(1.04);
	transition: all 0.3s ease;
	z-index:10;
}

.grid-item.size-2x1 { 
	/*
	border-style: solid;
  	border-color: #e5066d;
	*/
	grid-column: span 2; 
	grid-row: span 1; 
	/*
	background-color: #e5066d;
	border-radius: 10px;
	border-width: 0px;
	*/
	transition: all 0.3s ease;
}

.grid-item.size-2x1:hover { 
	border-width: 3px;
	transform: scaleY(1.05) scaleX(1.02);
	transition: all 0.3s ease;
	z-index:10;
}

.grid-item.size-1x2 { 
	/*
	border-style: solid;
  	border-color: #e5066d;
	*/
	grid-column: span 1; 
	grid-row: span 2; 
		/*
	background-color: #e5066d;
	border-radius: 10px;
	border-width: 0px;
	*/
	transition: all 0.3s ease;
}

.grid-item.size-1x2:hover { 
	border-width: 3px;
	transform: scaleY(1.03) scaleX(1.04);;
	transition: all 0.3s ease;
	z-index:10;
}

.grid-item.is-post-rdy {
    border: 3px solid #e5006d;
    border-radius: 8px;
	box-shadow: 0 0 0 0px rgba(229, 6, 109, 0.6);
}

.grid-item.is-post-rdy:hover {
    box-shadow: 0 0 0 2px rgba(229, 6, 109, 0.6);
}

/*
.grid-item.no-link {
    filter: grayscale(70%);
    opacity: 0.85;
}
*/


@media (max-width:768px) {
  .masonry-grid { 
	  grid-template-columns: repeat(2, 49%); 
}
	
.grid-item.size-1x2 { 
	grid-column: span 1; 
	grid-row: span 1; 
}
	.masonry-item-title {
		font-size: 20px;
		bottom: 50px;
	}
	
	.masonry-item-excerpt{
		display: none;
	}
	
}
.grid-link { 
	display: block;
	width:100%; 
	height:100%; 
	object-fit:cover; 
}

.grid-item img { 
	display: block;
	width:100%; 
	height:100%; 
	object-fit:cover; 
	border-radius: 6px;
}