.album-detail {
    background: #fff;
    color: #18172d;
}

.album-detail-hero {
    overflow: hidden;
    padding: 32px 0 78px;
    background:
        radial-gradient(circle at 8% 92%, rgba(253, 104, 74, .16), transparent 25%),
        radial-gradient(circle at 93% 8%, rgba(101, 88, 217, .3), transparent 30%),
        #20194f;
    color: #fff;
}

.album-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 42px;
    color: #cbc8e7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.album-detail-breadcrumb a {
    color: #fff;
}

.album-detail-breadcrumb > span:last-child {
    overflow: hidden;
    max-width: 52ch;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.album-detail-hero-grid {
    display: block;
}

.album-detail-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
}

.album-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.album-detail-meta span,
.album-detail-meta time {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.album-detail-meta span {
    background: #fd684a;
    color: #fff;
}

.album-detail-meta time {
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
}

.album-detail h1 {
    max-width: none;
    margin: 0;
    color: #fff;
}

.album-detail-description {
    padding-top: 30px;
}

.album-detail-description p {
    width: 100%;
    max-width: none;
    margin: 0;
    color: #4e536b;
    line-height: 1.85;
    text-align: justify;
    hyphens: none;
}

.album-detail-gallery {
    padding-top: 52px;
}

.album-detail-photo-pending {
    display: flex;
    min-height: 240px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 52px;
    padding: 40px;
    background: #f2f0fa;
    color: #4e536b;
    text-align: center;
}

.album-detail-photo-pending strong {
    color: #20194f;
    font-size: 24px;
}

.album-detail-photo-pending span {
    max-width: 620px;
    margin-top: 10px;
    line-height: 1.7;
}

.album-detail-masonry {
    columns: 3;
    column-gap: 20px;
}

.album-detail-masonry.is-single {
    max-width: 920px;
    columns: 1;
}

.album-detail-masonry a {
    position: relative;
    display: block;
    overflow: hidden;
    break-inside: avoid;
    margin: 0 0 20px;
    background: #e7e5ed;
}

.album-detail-masonry img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .4s ease;
}

.album-detail-masonry a:hover img {
    transform: scale(1.025);
}

.album-detail-masonry span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(24, 23, 45, .86);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.album-detail-back {
    padding-top: 55px;
    padding-bottom: 90px;
}

.album-detail-back a {
    color: #fd684a;
    font-weight: 800;
}

@media (max-width: 900px) {
    .album-detail h1 {
        max-width: none;
    }

    .album-detail-masonry {
        columns: 2;
    }
}

@media (max-width: 600px) {
    .album-detail-hero {
        padding: 24px 0 58px;
    }

    .album-detail-breadcrumb,
    .album-detail-hero-grid,
    .album-detail-gallery,
    .album-detail-description,
    .album-detail-back {
        padding-right: 18px;
        padding-left: 18px;
    }

    .album-detail-breadcrumb {
        margin-bottom: 28px;
    }

    .album-detail-gallery {
        padding-top: 40px;
    }

    .album-detail-description {
        padding-top: 24px;
    }

    .album-detail-masonry {
        columns: 1;
    }

    .album-detail-back {
        padding-top: 38px;
        padding-bottom: 65px;
    }
}
