.albumdetails-page {
    overflow-x: hidden;
    background: #fff;
    color: #06111f;
}

.albumdetails-section {
    min-height: 570px;
    padding: 14px 0 0;
    border-top: 1px solid #333;
}

.albumdetails-container {
    width: 1180px;
    max-width: calc(100% - 96px);
    margin: 0 auto;
}

.albumdetails-container h1 {
    margin: 0 0 22px;
    color: #06111f;
    font-family: "Oswald-Regular", Arial, sans-serif;
    font-size: 41px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
}

.albumdetails-gallery {
    position: relative;
    min-height: 490px;
}

.albumdetails-stage {
    position: relative;
    width: 550px;
    height: 414px;
    margin: 0 auto;
    border: 1px solid #9c9c9c;
    background: #fff;
}

.albumdetails-stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .25s ease;
}

.albumdetails-stage img.is-active {
    opacity: 1;
}

.albumdetails-arrow {
    position: absolute;
    top: 138px;
    z-index: 2;
    width: 40px;
    height: 113px;
    border: 0;
    background: #b9b9b9;
    cursor: pointer;
}

.albumdetails-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 32px;
    height: 32px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
}

.albumdetails-prev {
    left: 0;
}

.albumdetails-prev::before {
    left: 12px;
    transform: translateY(-50%) rotate(-45deg);
}

.albumdetails-next {
    right: 0;
}

.albumdetails-next::before {
    right: 12px;
    transform: translateY(-50%) rotate(135deg);
}

.albumdetails-play {
    position: absolute;
    top: 0;
    right: 8px;
    z-index: 2;
    width: 41px;
    height: 30px;
    border: 2px solid #777;
    border-radius: 8px;
    background: #fff;
    color: #777;
    font-size: 17px;
    line-height: 1;
}

.albumdetails-caption {
    width: 100%;
    height: 28px;
    margin-top: -16px;
    padding-right: 80px;
    overflow: hidden;
    background: rgba(90, 90, 90, .7);
    color: #fff;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 9;
}

.content {
    position: relative;
}

.albumdetails-thumbs {
    position: relative;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 120px;
    gap: 10px;
    align-items: end;
    width: 100%;
    min-height: 60px;
}

.albumdetails-thumb-list {
    display: flex;
    min-width: 0;
    gap: 8px;
    justify-content: center;
    overflow: hidden;
}

.albumdetails-thumb-list button {
    position: relative;
    flex: 0 0 82px;
    height: 58px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
}

.albumdetails-thumb-list button.is-active {
    border-color: #22a6ff;
}

.albumdetails-thumb-list img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.albumdetails-gallery-link {
    position: relative;
    display: flex;
    height: 58px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(66, 66, 66, .8);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.albumdetails-gallery-link img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.albumdetails-gallery-link span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 22px;
    background: rgba(55, 55, 55, .82);
    color: #fff;
    overflow: hidden;
    padding: 0 5px;
    line-height: 22px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 1025px) {
    .albumdetails-arrow:hover {
        background: #969696;
    }
    .albumdetails-gallery-link:hover {
        color: #fff;
    }
    .albumdetails-gallery-link:hover img {
        transform: scale(1.04);
    }
}

@media (max-width: 1024px) {
    .albumdetails-container {
        max-width: calc(100% - 40px);
    }
    .albumdetails-container h1 {
        font-size: 36px;
    }
    .albumdetails-stage {
        width: min(550px, 70vw);
        height: min(414px, 52vw);
    }
    .albumdetails-prev {
        left: 0;
    }
    .albumdetails-next {
        right: 0;
    }
}

@media (max-width: 767px) {
    .albumdetails-section {
        padding-top: 12px;
        min-height: 0;
    }
    .albumdetails-container {
        max-width: 100%;
        padding: 0 12px;
    }
    .albumdetails-container h1 {
        margin-bottom: 18px;
        font-size: 36px;
    }
    .albumdetails-gallery {
        min-height: 0;
        padding-bottom: 20px;
    }
    .albumdetails-stage {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .albumdetails-arrow {
        top: 34%;
        width: 34px;
        height: 86px;
    }
    .albumdetails-play {
        top: -48px;
        right: 0;
    }
    .albumdetails-caption {
        margin-top: 0;
        padding: 0 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .albumdetails-thumbs {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 8px;
    }
    .albumdetails-thumb-list {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .albumdetails-gallery-link {
        grid-row: 2;
    }
}