@font-face {
    font-display: swap;
    font-family: "AlbumMontserrat";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/montserrat-v26-latin-regular.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "AlbumMontserrat";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/montserrat-v26-latin-500.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "AlbumJost";
    font-style: normal;
    font-weight: 200;
    src: url("../fonts/jost-v15-latin-200.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "AlbumJost";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/jost-v15-latin-regular.woff2") format("woff2");
}

.album-page {
    --album-gold: #b8984b;
    --album-line: rgba(255, 255, 255, .075);
    min-height: 100vh;
    color: #f5f5f4;
    background: #030303;
    font-family: "AlbumMontserrat", Montserrat, sans-serif;
}

.album-page .album-hero.hero-image {
    height: min(62svh, 560px);
    min-height: 380px;
    isolation: isolate;
    overflow: hidden;
    background-position: center;
}

.album-page .album-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .24) 30%, rgba(0, 0, 0, .08) 66%, rgba(0, 0, 0, .5)),
        linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .08) 36%, rgba(0, 0, 0, .16) 58%, rgba(0, 0, 0, .92));
    pointer-events: none;
}

.album-page .album-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 32%;
    background: linear-gradient(180deg, transparent, #030303);
    pointer-events: none;
}

.album-page .album-hero-text {
    z-index: 2;
    width: min(920px, calc(100% - 44px));
    text-align: center;
}

.album-page .album-hero-text > h5 {
    position: relative;
    display: inline-block;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font: 400 clamp(.78rem, 1.2vw, 1.18rem)/1 "AlbumJost", Jost, sans-serif;
    letter-spacing: .36em;
    text-transform: uppercase;
}

.album-page .album-hero-text > h5::before,
.album-page .album-hero-text > h5::after {
    content: "";
    position: absolute;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, .76);
}

.album-page .album-hero-text > h5::before {
    right: calc(100% + 24px);
    width: 34px;
}

.album-page .album-hero-text > h5::after {
    left: calc(100% + 24px);
    width: 52px;
}

.album-page .album-hero-text > h1 {
    margin: 18px 0 0;
    color: #fff;
    font: 400 clamp(2.55rem, 5vw, 64px)/1 "AlbumMontserrat", Montserrat, sans-serif;
    letter-spacing: -.038em;
    text-shadow: 0 2px 28px rgba(0, 0, 0, .5);
}

.album-main {
    background: #030303;
}

.album-breadcrumb-wrap {
    background: #030303;
    padding: 10px 0 6px;
}

.album-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: min(1520px, calc(100% - 40px));
    margin: 0 auto;
    color: #78716c;
    font: 400 8px/1.6 "AlbumMontserrat", Montserrat, sans-serif;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.album-breadcrumb a {
    transition: color .2s ease;
}

.album-breadcrumb a:hover {
    color: var(--album-gold);
}

.album-breadcrumb a + a::before {
    margin-right: 8px;
    color: rgba(255, 255, 255, .22);
    content: "/";
}

.album-gallery-section {
    padding: clamp(14px, 2.4vw, 34px) clamp(8px, 2vw, 32px) clamp(56px, 7vw, 96px);
    background: #030303;
}

.album-gallery-shell {
    width: min(1940px, 100%);
    margin: 0 auto;
}

.album-page .masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: 1px;
    gap: 6px;
    background: #000;
}

.album-page .gallery-item {
    position: relative;
    overflow: hidden;
    background: #050505;
}

.album-page .gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.album-page .gallery-item img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    opacity: .94;
    filter: saturate(.94) contrast(1.02);
    transform: scale(1);
    transition: opacity .35s ease, transform .7s ease, filter .35s ease;
}

.album-page .gallery-item:hover img {
    opacity: 1;
    filter: saturate(1.05) contrast(1.04);
    transform: scale(1.025);
}

.album-page .loading-spinner,
.album-page .no-more-images,
.album-page .album-error {
    margin: 28px 0 0;
    color: #78716c;
    font: 400 9px/1.7 "AlbumMontserrat", Montserrat, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.album-page .loading-spinner::before {
    border-color: rgba(255, 255, 255, .12);
    border-top-color: var(--album-gold);
}

@media (min-width: 1400px) {
    .album-page .masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    }
}

@media (max-width: 767px) {
    .album-page .album-hero.hero-image {
        height: 54svh;
        min-height: 340px;
    }

    .album-page .album-hero-text > h5 {
        font-size: .72rem;
        letter-spacing: .28em;
    }

    .album-page .album-hero-text > h5::before {
        right: calc(100% + 16px);
        width: 26px;
    }

    .album-page .album-hero-text > h5::after {
        left: calc(100% + 16px);
        width: 34px;
    }

    .album-page .album-hero-text > h1 {
        font-size: clamp(2.15rem, 10vw, 3.35rem);
    }

    .album-page .masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}
