.tile, tile {
    display: flex;
    flex-wrap: wrap;
}

.tile .item, tile item {
    position: relative;
    width: calc(100% / 3);
    flex: 0 0 calc(100% / 3);
    -ms-flex: 0 0 calc(100% / 3);
    box-sizing: border-box;
    scale: 0.98;
    transition: 0.2s;
    border-radius: var(--border-radius);
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}


.tile.tile1 .item,
tile[tile1] item

 {
    width: 100%;
    flex: 0 0 100%;
    -ms-flex: 0 0 100%;
}


.tile.tile2 .item,
tile[tile2] item

 {
    width: 50%;
    flex: 0 0 50%;
    -ms-flex: 0 0 50%;
}

.tile.tile3 .item,
tile[tile3] item

{
    width: calc(100% / 3);
    flex: 0 0 calc(100% / 3);
    -ms-flex: 0 0 calc(100% / 3);
}

.tile.tile4 .item,
tile[tile4] item
{
    width: calc(100% / 4);
    flex: 0 0 calc(100% / 4);
    -ms-flex: 0 0 calc(100% / 4);
}

.tile.tile5 .item,
tile[tile5] item
{
    width: calc(100% / 5);
    flex: 0 0 calc(100% / 5);
    -ms-flex: 0 0 calc(100% / 5);
}

.tile.tile6 .item,
tile[tile6] item
{
    width: calc(100% / 6);
    flex: 0 0 calc(100% / 6);
    -ms-flex: 0 0 calc(100% / 6);
}

.tile .item:hover,
tile item:hover
{
    /* opacity: 0.9; */
    scale: 1;
    /* background-color: var(--color-superlight-grey); */
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.tile .item .marks
{
    position: absolute;
    z-index: 1;
    left: 10px;
    
    font-size: var(--size-75);

    top: 10px;
   
}

.tile .item .marks .mark
{
    background-color: var(--color-pink);
    color: var(--color-white);
    font-weight: bold;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 3px 12px;
    margin: 0 0 5px;
    display: inline-block;
    opacity: 0.9;
}
.tile .item .marks .mark:first-child
{
    border-radius: var(--border-radius) 0;
}

.tile .item .marks .mark.finished
 {
    background-color: var(--color-green-2);
    color: var(--color-black);
}

.tile .item .marks .mark.build
{
    background-color: var(--color-yellow);
    color: var(--color-black-80);
}

.tile .item .marks .mark.land {
    background-color: var(--color-black-80);
}




.tile .item .content {
    padding: 5px;
    background: white;
    height: calc(100% - 10px);
    /* margin: 5px; */
    box-sizing: border-box;
    border-radius: var(--border-radius);
    overflow: hidden;
}


.tile .item:has(.image), 
.tile .item:has(.video),
.tile .item:has(.text)
{
    padding: 5px;
}




.tile .item .content.photo,
.tile .item.image
 {
    aspect-ratio: 1/1;
    padding: 0;
    overflow: hidden;
}

.tile .item .content.photo a,
.tile .item.image a
{
	display: block;
	height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.tile .item label{
	
	position: absolute;
    bottom: 5px;
    z-index: 2;
    left: 5px;
    font-size: 15px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    padding: 2px 4px;
    border-radius: 0 0 5px 5px;
    width: calc(100% - 18px);
    text-align: center;
	
}



.tile .item .content.photo a img{
	width: 0; height: 0;
}



.item .title {
    text-align: center;
    font-size: 18px;
}

.tile .item .price {
    text-align: center;
    background-color: rgb(249, 255, 224);
    font-size: 14px;
    display: inline;
    padding: 0 12px;
    border-radius: 32px;
    position: absolute;
    top: 47px;
    left: 62px;
    border: 2px solid;
    box-shadow: 0px 0px 10px 1px rgba(256,256,256,0.3);
    width: 132px;
}


.tile .item .price span {
  font-size: 20px;
  font-weight: bold;
}


.tile .item .image, 
.tile .item .video, 
.tile .item .text,
tile item[image], tile item[video],tile item[text],
.tile .item [class^="aspect"]

{
    display: block;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition-duration: .2s;
    background-color: var(--color-superlight-grey);
    position: relative;
}

.tile.contain .item .image,
.tile.contain .item .video, 
.tile.contain .item .text,
.tile.contain .item [class^="aspect"]
{
    background-size: 80%
}



.tile .item .image,
tile item[image],
.tile .item .aspect1-1
{
	aspect-ratio: 1 / 1;
}
.tile .item .video,
tile item[video],
.tile .item .aspect16-9
{
	aspect-ratio: 16 / 9;
}

.tile .item .text {
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.tile .item .image a, 
.tile .item .video a,
.tile .item .text a,
.tile .item [class^="aspect"] a
{
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
}



.tile .item .text a {
	opacity: 1;
    font-size: var(--size-75);
    color: var(--color-text);
}





.tile .item .video a {
    background-image: url(../icons/play-button.svg);
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 1;
    position: absolute;
    z-index: 2;
}

.tile .item .image:hover, 
.tile .item .video:hover,
.tile .item .text:hover,
.tile .item [class^="aspect"]:hover
{
    opacity: 0.9;
}

.tile .item .image a:hover, 
.tile .item .video a:hover,
.tile .item .text a:hover,
.tile .item [class^="aspect"] a:hover
{
    text-decoration: none;
}

.tile .item .hidden-comment, 
.tile .item .display-comment

 {
    display: none;
    position: absolute;
    bottom: 5px;
    width: 100%;
    left: 0;
    text-align: center;
    box-sizing: border-box;
}

.tile .item .display-comment

 {
    display: block;
}

.tile .item .hidden-comment div, 
.tile .item .display-comment div 

{
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--border-radius);
    font-size: var(--size-75);
    font-weight: bold;
    background-color: var(--color-white-80);
    box-sizing: border-box;
    max-width: 94%;
}