.album-viewer-modal {
    position: relative;
    width: min(980px, 100%);
    max-height: 92vh;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.album-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(13, 49, 163, 0.1);
}

.album-viewer-close {
    border: none;
    background: transparent;
    color: #17224d;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.album-viewer-body {
    padding: 24px;
    text-align: center;
}

.album-viewer-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: #f4f6fb;
    border-radius: 14px;
    overflow: hidden;
}

.album-viewer-image {
    max-width: 100%;
    max-height: 62vh;
    object-fit: contain;
}

.album-viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #0d31a3;
    color: #fff;
    box-shadow: 0 12px 28px rgba(13, 49, 163, 0.25);
    cursor: pointer;
}

.album-viewer-nav:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.album-viewer-prev {
    left: 18px;
}

.album-viewer-next {
    right: 18px;
}

.album-viewer-description {
    margin: 18px 0 0;
    color: #555;
    font-size: 1rem;
}

.album-post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 40px -10px rgba(51, 51, 51, 0.1);
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.album-post-card:hover {
    transform: translateY(-5px);
}

.album-post-thumbnail {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.album-post-content {
    padding: 25px 26px 88px;
}

.album-post-title {
    margin: 0 0 2px;
    color: #333;
    font-weight: 600;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.album-post-card:hover .album-post-title {
    color: #086AD8;
}

.album-post-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 56px;
    line-height: 55px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border-top: 1px solid #eee;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    background: transparent;
    color: #086AD8;
    cursor: pointer;
    font-family: inherit;
    overflow: hidden;
    transition: color 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.album-post-footer:focus-visible {
    outline: 3px solid #086AD8;
    outline-offset: -3px;
}

.album-post-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: #086AD8;
    transform: translateY(100%);
    transition: transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.album-post-card:hover .album-post-footer {
    color: #fff;
}

.album-post-card:hover .album-post-footer::before {
    transform: translateY(0);
}
