

article.item  {
	aspect-ratio: 24 / 38;	
}

article.item .thumbnail img {
	object-fit: cover;
	width:100%;
	aspect-ratio: 24 / 36;
	
}
article.item .thumbnail:hover img {
	opacity:0.5;
}
article.item .details {
	display:none;
}
article.item:hover .details {
	display:block;
}
article.item .details h3 {
	font-family: 'Lato-LightItalic';
}

/* Item thumbnail */
.item_thumbnail {
    position: relative;
    padding-top: 65%;
    margin-bottom: var(--vertical-spacing);
}
.item_thumbnail .wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
}
.item_thumbnail .wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.item_thumbnail .wrapper img.portrait {
    object-fit: contain;
}


/* Item details */
.item_details {
    padding-right: var(--default-spacing);
}

.item_name {
    margin-top: calc(var(--default-spacing) / 2);
}




/* Grid */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 15px;
    margin-top: 15px;
}
.grid_section {
}

@media only screen and (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid_section {
        grid-column: span 2;
    }
	article.item,
	article.item .thumbnail img {
		
	}
}
@media only screen and (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .grid_section {
        grid-column: span 3;
    }
	article.item,
	article.item .thumbnail img {
		
	}

	
}
@media only screen and (min-width: 1480px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .grid_section {
        grid-column: span 4;
    }
	article.item .thumbnail img {
		height:62vh;
	}
}

