/* PICTURES PAGE STYLES
************************************************************/
.container	{
		width: min(90rem, 100%);
	}
	
/* CARDS 
********************************************/

.flexContainerThumbnails{
    display: flex;
    flex-direction: row;
}

.flexWrapper {
    flex-wrap: wrap;
    flex-direction: row;
}

.gridContainerThumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(600px, 1fr)); /* Three columns initially */
    grid-gap: 20px;
    max-width: 100%;
}

@media (max-width: 650px) {
	.gridContainerThumbnails {
	grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
	}
}

@media (min-width: 768px)	{
	.pictures-category-post-image img	{
		max-height: 80vh;
		width: auto;
	}
}

@media (max-width: 767px)	{
	.pictures-category-post-image img	{
		width: 100%;
		height: auto;
	}
}

.pictures-post	{
	margin-bottom: 120px;
}

h4.pictures-category-title {
	font-weight: normal;
	margin-top: 12px;
}

.categoryCard {
    position: relative; /* Positioning context for absolute positioning */
    margin: 0 auto;
}

.thumb{
    margin-bottom: 20px;
    /*padding: 10px 10px 20px;*/
}

.thumb img {
    border: 1px solid #eee;
    width: 100%;
    object-fit: contain;
}

.thumbnailTitle {
    font-size: 14px;
    position: relative;
    width: 360px;
    /* height: auto; */
    text-align: center;
    height: 6.3em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gridContainerThumbnails .thumbnailTitle {
    font-size: 1.1em;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 16px 0 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3.5rem;   
}

.thumbnailTitle h4 {
    padding-top: 10px;
    font-size: clamp(16px, 2vw, 18px);
    text-transform: capitalize;
    font-weight: normal;
}
