body {background: black; font-size: 1.1vw}
div.tile { filter: none; }
div.tile > div { 
    background: white !important; 
    border: none;
}
.hasimage .text {
    background: #ffffffb0;
    padding-bottom: 2em;
}
.video .text, .video .info {display: none !important;}
.hasimage .info > span, .hasimage .text > span {background: transparent;}
.gallery {
    position: relative;
    width: 100%;
    max-width: 100%;
    top: 0;
    left: 0;
    transform: none;
    height: 62vw;
    grid-gap: 1vw;
    background: #f4f4f4;
}
.gallery {
  grid-template-areas:
        "a1 a2 a3 a4"
        "a5 a6 a7 a8"
        "a9 a10 a11 a12";
  grid-template-rows: 1fr 1fr 1fr;
  min-height: 56.25vw;
  max-height: 56.25vw;
  height: 56.25vw;
  grid-gap: 3.5vw;
  padding: 1.5vw;
  background: transparent !important;
}

#s1, #s2, #s3, #s4, #s5, #s6, #s7, #s8, #s9, #s10, #s11, #s12 {display:block! important;}

div.tile > div::before {height:0; min-height:0;display:none;}
.gallery > div.tile > div > div.text, .gallery > div.tile#s1:hover > div > div.text {
    padding: 0 1em 2vw 1em;
    bottom: 0;
}
.text {font-weight: bold !important;}
div.tile > div.hasimage > img, div.tile > div.hasimage > video, div.tile > div.hasimage > iframe {
    object-fit: cover;
    object-position: center;
    top: 0;
    max-height: 100%!important;
}
.content > div.tile > div {
    background: #f4f4f4 !important;
}


/* @media */

@media (max-width: 1060px) {
body {font-size:14px}
.gallery {
    height: 250vw;
    max-height: 250vw;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 0.5fr 0.5fr;
    grid-template-areas:
        "a1 a1"
        "a3 a4"
        "a5 a5"
        "a7 a8"
        "a7 a9";
}
}


@media (max-width: 640px) {
body {
    font-size: 12px;
    line-height:1.3vw;
} 
.gallery {
    grid-template-rows: 1fr 1fr 2fr 2fr 1fr 1fr 1fr;
    grid-template-columns: 1fr;
    grid-template-areas:
        "a1"
        "a3"
        "a4"
        "a5"
        "a7"
        "a8"
        "a9";

    height: 500vw;
    max-height: 500vw;
    padding: 5px !important;
}
}
