html {
    background: #000;
}
body {
    background: #fff;
}


.photo-header {
    aspect-ratio: 16 / 9;
    background: #000;
}

.coverflow-container {
    padding: var(--section-padding) 0;
}


.photo-gallery {
    padding: 12px 0 var(--section-padding) 0;
}
.photo-gallery .__category {
    padding: 0;
}
.photo-gallery .__images {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}
.photo-gallery .__images.--short li:nth-child(n+13) {
    display: none;
}
.photo-gallery .__images li {
    position: relative;
}
.photo-gallery .__images li a {
    display: block;
    position: relative;
    overflow: hidden;
}
.photo-gallery .__images li a .__overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    transform: translate(0, 100%);
    transition: transform .3s;
    text-transform: uppercase;
    font-size: 14px;
    font-family: var(--font-title);
    letter-spacing: 0.08em;
}
.photo-gallery .__images li a:hover .__overlay {
    transform: translate(0, 0);
}
.photo-gallery .__images li .__copyright {
    display: block;
    position: absolute;
    z-index: 2;
    bottom: 0;
    right: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    padding: 4px 4px 2px 4px;
    background: rgba(0,0,0,0.8);
    font-family: var(--font-title);
    letter-spacing: 0.02em;
    border-top-left-radius: 4px;
    opacity: 0.7;
}
@media (min-width: 600px) {
    .photo-gallery .__images {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) {
    .photo-gallery .__images {
        grid-template-columns: repeat(4, 1fr);
    }
}



.photo-gallery .__header {
    position: relative;
    overflow-y: hidden;
    scroll-behavior: smooth;
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 0;
    font-family: var(--font-title);
    font-size: 20px;
    letter-spacing: 0.04em;
}
.photo-gallery .__header ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    list-style: none;
    padding: 0;
    text-align: center;
    white-space: nowrap;

}
.photo-gallery .__header li {
    display: block;
    padding-bottom: 2px;
}
.photo-gallery .__header a {
    display: block;
    padding: 0.5em 1em 0.25em 1em;
}
.photo-gallery .__header a.active,
.photo-gallery .__header a:hover {
    background: linear-gradient(180deg, rgb(var(--color-blue)), rgb(var(--color-mint))) 0% 0% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-box-decoration-break: clone;
}

.--hidden {
    display: none;
}
