.exhibit-main {
    padding-top: 30px;
    padding-bottom: 50px;
}

.exhibit-card-grid {
    display: grid;
    min-height: 400px;
    margin-bottom: 40px;
    align-items: start;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.exhibit-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.exhibit-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.exhibit-card__media {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: #f4f4f4;
}

.exhibit-card__image,
.exhibit-summary__media > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .2s ease;
}

.exhibit-image-loading,
.exhibit-image-placeholder {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    background: #e6e7e8;
}

.exhibit-image-loading img {
    width: 60px;
    height: 60px;
}

.exhibit-card__body {
    display: block;
    padding: 13px 14px;
}

.exhibit-card__title {
    display: block;
    overflow: hidden;
    color: #111;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exhibit-card__title:hover {
    color: var(--primary-color, #3880ff);
}

.exhibit-card__meta {
    display: block;
    margin-top: 9px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.exhibit-card__meta p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exhibit-card__label {
    color: #999;
}

.exhibit-empty {
    width: 100%;
    padding: 60px 20px;
    color: #999;
    font-size: 15px;
    text-align: center;
    grid-column: 1 / -1;
}

/* 展览详情：沿用官网专场详情的左图右文布局。 */
.exhibit-summary-wrapper {
    width: 100%;
    background: #f5f9ff;
}

.exhibit-detail-page {
    padding: 30px 0 50px;
}

.exhibit-detail-breadcrumb,
.exhibit-detail-content {
    padding-right: 20px;
    padding-left: 20px;
}

.exhibit-object-page {
    padding: 30px 0;
}

.exhibit-object-breadcrumb {
    padding: 0 20px;
}

.exhibit-object-overview-wrapper {
    width: 100%;
    background: #f5f9ff;
}

.exhibit-summary,
.exhibit-object-overview {
    display: flex;
    max-width: 1200px;
    padding: 24px 20px;
    align-items: flex-start;
}

.exhibit-summary { margin: 0 auto; }
.exhibit-object-overview { margin: 0 auto; }

.exhibit-summary__media {
    position: relative;
    width: 500px;
    height: 360px;
    min-width: 280px;
    overflow: hidden;
    flex: 0 0 500px;
    border-radius: 15px;
    background: #e6e7e8;
}

.exhibit-summary__info {
    min-width: 0;
    margin-left: 28px;
    flex: 1;
}

.exhibit-summary__info h1,
.exhibit-object-info h1 {
    margin: 0 0 22px;
    color: #000;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.exhibit-info-table {
    width: 100%;
    border-collapse: collapse;
}

.exhibit-info-table tr {
    border-bottom: 1px solid #e7ebf0;
}

.exhibit-info-table th {
    width: 82px;
    padding: 14px 0;
    color: #999;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    vertical-align: top;
}

.exhibit-info-table td {
    padding: 14px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    word-break: break-word;
}

.exhibit-detail-link {
    color: var(--primary-color, #3880ff);
    text-decoration: none;
}

.exhibit-detail-link:hover {
    text-decoration: underline;
}

.exhibit-detail-copy-section {
    padding: 30px 0 8px;
}

.exhibit-detail-copy-section h2,
.exhibit-section-title {
    margin: 0;
    padding: 0 0 0 16px;
    color: #222;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    border-left: 4px solid var(--primary-color, #409eff);
}

.exhibit-description {
    position: relative;
    padding: 20px 0 0;
}

.exhibit-description p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-word;
}

.exhibit-description.is-collapsed p {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.exhibit-description__toggle {
    display: block;
    margin: 5px 0 0;
    padding: 0;
    color: var(--primary-color, #3880ff);
    font-size: 14px;
    line-height: 1.9;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.exhibit-description.is-collapsed .exhibit-description__toggle {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    padding-left: 32px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 30%, #fff);
}

.exhibit-description__toggle:focus,
.exhibit-description__toggle:active {
    border: 0;
    outline: 0;
    box-shadow: none;
}

.exhibit-description__toggle.is-hidden {
    display: none;
}

.exhibit-object-detail-section {
    padding: 26px 20px 18px;
}

.exhibit-object-detail-section .detail-block h3 {
    margin-bottom: 12px;
    padding-left: 16px;
    color: #222;
    font-size: 22px;
    font-weight: 600;
    border-left: 4px solid var(--primary-color, #409eff);
}

.exhibit-object-detail-section .detail-content {
    padding: 0;
}

.exhibit-object-copy {
    padding: 0;
    color: #000;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
}

.exhibit-object-section {
    margin-top: 20px;
}

.exhibit-object-section .exhibit-section-title {
    margin-bottom: 22px;
}

.exhibit-works-layout {
    --exhibit-works-sticky-top: 132px;
    display: flex;
    align-items: flex-start;
    width: 100%;
    overflow-anchor: none;
}

.exhibit-work-directory {
    width: 280px;
    margin-right: 24px;
    align-self: stretch;
    flex: 0 0 280px;
}

.exhibit-work-directory__panel {
    position: sticky;
    top: var(--exhibit-works-sticky-top);
    overflow: hidden;
    border: 1px solid #e6edf8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(24, 52, 91, .05);
}

.exhibit-work-directory__title {
    height: 46px;
    padding: 0 14px;
    color: #263247;
    font-size: 15px;
    font-weight: 600;
    line-height: 46px;
    border-bottom: 1px solid #edf1f7;
    background: #f7faff;
}

.exhibit-work-directory__title svg {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 7px;
    color: var(--primary-color, #3880ff);
    vertical-align: -4px;
}

.exhibit-work-directory__list {
    position: relative;
    display: block;
    max-height: calc(100vh - 205px);
    padding: 8px 0;
    overflow-x: hidden;
    overflow-y: auto;
    overflow-anchor: none;
}

.exhibit-work-directory__list:before {
    position: absolute;
    top: 23px;
    bottom: 23px;
    left: 20px;
    width: 1px;
    content: '';
    background: #e6ebf3;
}

.exhibit-work-directory__item {
    position: relative;
    display: flex;
    min-height: 56px;
    padding: 8px 10px 8px 14px;
    align-items: center;
    color: #5d6676;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}

.exhibit-work-directory__item:hover,
.exhibit-work-directory__item.is-active {
    color: var(--primary-color, #3880ff);
    background: #f5f9ff;
}

.exhibit-work-directory__dot {
    position: relative;
    z-index: 1;
    width: 11px;
    height: 11px;
    margin: 0 12px 0 1px;
    flex: 0 0 11px;
    border: 2px solid var(--primary-color, #3880ff);
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

.exhibit-work-directory__item--knowledge .exhibit-work-directory__dot {
    width: 4px;
    height: 19px;
    margin-right: 17px;
    margin-left: 4px;
    flex-basis: 4px;
    border: 0;
    border-radius: 2px;
    background: #d4a056;
    box-shadow: 0 0 0 3px rgba(212, 160, 86, .1);
}

.exhibit-work-directory__item--exhibit:hover .exhibit-work-directory__dot,
.exhibit-work-directory__item--exhibit.is-active .exhibit-work-directory__dot {
    border-color: var(--primary-color, #3880ff);
    background: var(--primary-color, #3880ff);
    box-shadow: 0 0 0 3px rgba(56, 128, 255, .12);
}

.exhibit-work-directory__item--knowledge:hover .exhibit-work-directory__dot,
.exhibit-work-directory__item--knowledge.is-active .exhibit-work-directory__dot {
    background: #c88d39;
    box-shadow: 0 0 0 4px rgba(212, 160, 86, .16);
}

.exhibit-work-directory__copy {
    display: block;
    min-width: 0;
    flex: 1;
}

.exhibit-work-directory__name {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #3f4a5a;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    white-space: normal;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.exhibit-work-directory__item:hover .exhibit-work-directory__name,
.exhibit-work-directory__item.is-active .exhibit-work-directory__name {
    color: inherit;
}

.exhibit-works-main {
    min-width: 0;
    flex: 1;
}

.search-exhibit-grid {
    display: grid;
    min-height: 200px;
    align-items: start;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.search-exhibit-results {
    width: 100%;
    min-height: 200px;
}

.exhibit-object-grid {
    display: block;
    min-height: 200px;
    overflow-anchor: none;
}

.exhibit-object-page {
    display: block;
    width: 100%;
}

/* 展览作品的分页包裹层不沿用独立展品详情页的 30px 上下内边距。 */
.exhibit-object-grid > .exhibit-object-page {
    padding-top: 0;
    padding-bottom: 0;
}

.exhibit-object-page + .exhibit-object-page {
    margin-top: 20px;
}

.exhibit-infinite-status {
    height: 46px;
    margin-top: 18px;
    color: #98a2b3;
    font-size: 13px;
    line-height: 46px;
    text-align: center;
    overflow-anchor: none;
}

.exhibit-detail-page.has-pending-works [data-exhibit-infinite-status] {
    height: 150px;
    margin-top: 0;
    padding-top: 36px;
    line-height: 24px;
    box-sizing: border-box;
}

.exhibit-detail-page.has-pending-works ~ .footer {
    display: none;
}

.main-content.has-pending-exhibit-results .exhibit-infinite-status {
    height: 150px;
    margin-top: 0;
    padding-top: 36px;
    line-height: 24px;
    box-sizing: border-box;
}

.main-content.has-pending-exhibit-results ~ .footer {
    display: none;
}

.exhibit-infinite-spinner {
    display: none;
    width: 16px;
    height: 16px;
    margin-right: 7px;
    border: 2px solid #dce7fa;
    border-top-color: var(--primary-color, #3880ff);
    border-radius: 50%;
    box-sizing: border-box;
    vertical-align: -3px;
    animation: exhibit-infinite-spin .75s linear infinite;
}

.exhibit-infinite-status.is-loading .exhibit-infinite-spinner {
    display: inline-block;
}

.exhibit-infinite-status.is-hidden {
    display: none;
}

.exhibit-infinite-status--top {
    height: 54px;
    margin: 0 0 12px;
    line-height: 54px;
}

.exhibit-infinite-status.is-error {
    color: var(--primary-color, #3880ff);
}

.exhibit-infinite-status.is-finished {
    color: #b0b7c3;
}

.exhibit-login-more {
    display: none;
    height: 38px;
    margin: 4px auto;
    padding: 0 15px;
    color: var(--primary-color, #3880ff);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 36px;
    border: 1px solid rgba(56, 128, 255, .28);
    border-radius: 19px;
    outline: 0;
    background: #f5f9ff;
    box-shadow: none;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.exhibit-infinite-status.is-login-required {
    height: 54px;
    line-height: normal;
}

.exhibit-infinite-status.is-login-required > .exhibit-infinite-spinner,
.exhibit-infinite-status.is-login-required > [data-search-exhibit-status-text] {
    display: none;
}

.exhibit-infinite-status.is-login-required .exhibit-login-more {
    display: inline-block;
}

.exhibit-login-more:hover {
    color: #fff;
    border-color: var(--primary-color, #3880ff);
    background: var(--primary-color, #3880ff);
}

.exhibit-login-more:focus-visible {
    box-shadow: 0 0 0 3px rgba(56, 128, 255, .14);
}

.exhibit-login-more:active {
    background: #2f72e8;
}

.exhibit-login-more svg {
    display: inline-block;
    vertical-align: -4px;
}

.exhibit-login-more__user {
    width: 17px;
    height: 17px;
    margin-right: 6px;
}

.exhibit-login-more__arrow {
    width: 14px;
    height: 14px;
    margin-left: 4px;
    vertical-align: -3px !important;
}

@keyframes exhibit-infinite-spin {
    to { transform: rotate(360deg); }
}

.exhibit-object-catalog {
    display: grid;
    width: 100%;
    margin-bottom: 20px;
    align-items: start;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    scroll-margin-top: var(--exhibit-works-sticky-top);
}

.exhibit-object-catalog:last-child {
    margin-bottom: 0;
}

.exhibit-object-catalog.exhibit-object-catalog--knowledge {
    grid-template-columns: minmax(0, 1fr);
}

.exhibit-object-catalog--knowledge .exhibit-object-card__media {
    padding-top: 48% !important;
}

.exhibit-object-catalog.is-masonry {
    position: relative;
    display: block;
}

.exhibit-object-catalog.is-masonry .exhibit-object-card {
    position: absolute;
    top: 0;
    left: 0;
}

.exhibit-object-catalog .exhibit-object-card {
    display: block;
    width: auto;
    margin: 0;
    vertical-align: top;
}

.exhibit-object-card {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    border: 1px solid #e6edf8;
    border-top: 3px solid var(--primary-color, #3880ff);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.exhibit-object-card--knowledge {
    border-color: #eadfcf;
    border-top-color: #d4a056;
    background: #fffdfa;
}

/* 展品是普通卡片；知识介绍沿用小程序的深色、金色特写视觉。 */
.exhibit-object-grid .exhibit-object-card:not(.exhibit-object-card--knowledge) {
    border-top-width: 1px;
    border-top-color: #e6edf8;
}

.exhibit-object-grid .exhibit-object-card:not(.exhibit-object-card--knowledge):hover {
    border-top-color: #e6edf8;
}

.exhibit-object-grid .exhibit-object-card--knowledge {
    position: relative;
    display: block;
    min-height: 0;
    grid-column: auto;
    border: 0;
    border-radius: 12px;
    background-color: #2e2820;
    box-shadow: none;
}

.exhibit-object-grid .exhibit-object-card--knowledge::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 3;
    height: 2px;
    content: "";
    background: linear-gradient(to right, rgba(212, 160, 86, 0), rgba(212, 160, 86, .5) 20%, rgba(212, 160, 86, .5) 80%, rgba(212, 160, 86, 0));
}

.exhibit-object-card:hover {
    transform: none;
    border-color: #e6edf8;
    border-top-color: var(--primary-color, #3880ff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.exhibit-object-card--knowledge:hover {
    border-color: #eadfcf;
    border-top-color: #d4a056;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.exhibit-object-grid .exhibit-object-card--knowledge:hover {
    border: 0;
    box-shadow: none;
}

.exhibit-object-card__media {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
    padding-top: 78%;
    overflow: hidden;
    background: #f4f4f4;
}

.exhibit-object-card__media > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    transition: opacity .2s ease;
}

.exhibit-object-catalog .exhibit-object-card:not(.exhibit-object-card--knowledge) .exhibit-object-card__media > img {
    object-fit: cover;
}

.exhibit-object-grid .exhibit-object-card--knowledge .exhibit-object-card__media {
    width: 100%;
    height: auto !important;
    min-height: 0;
    border-right: 0;
    border-left: 0;
    background-color: #2e2820;
    box-sizing: border-box;
}

.exhibit-object-grid .exhibit-object-card--knowledge .exhibit-object-card__media > img {
    object-fit: contain;
    background-color: #2e2820;
}

.exhibit-object-card__body {
    display: block;
    padding: 8px 8px 10px;
}

.exhibit-object-grid .exhibit-object-card--knowledge .exhibit-object-card__body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: block;
    min-height: 0;
    padding: 32px 16px 12px;
    background-color: #2e2820;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .7));
}

.exhibit-object-card__title-row {
    display: flex;
    align-items: flex-start;
}

.exhibit-object-card__title {
    display: -webkit-box;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    color: #111;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.exhibit-object-card:hover .exhibit-object-card__title {
    color: var(--primary-color, #3880ff);
}

.exhibit-object-card__type {
    display: inline-block;
    margin: 1px 8px 0 0;
    padding: 3px 8px;
    flex-shrink: 0;
    color: #2f69c9;
    font-size: 12px;
    line-height: 1.4;
    border-radius: 10px;
    background: #edf4ff;
}

.exhibit-object-card--knowledge .exhibit-object-card__type {
    color: #97621f;
    background: #f8edda;
}

.exhibit-object-grid .exhibit-object-card--knowledge .exhibit-object-card__title-row {
    align-items: center;
}

.exhibit-object-grid .exhibit-object-card--knowledge .exhibit-object-card__title-row::before {
    width: 3px;
    height: 16px;
    margin-right: 8px;
    flex: 0 0 3px;
    content: "";
    border-radius: 2px;
    background: #d4a056;
}

.exhibit-object-grid .exhibit-object-card--knowledge .exhibit-object-card__title,
.exhibit-object-grid .exhibit-object-card--knowledge:hover .exhibit-object-card__title {
    min-height: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    -webkit-line-clamp: 2;
}

/* 展品/知识详情：和官网拍品、馆藏详情一致的大图、缩略图与信息表。 */
.gallery {
    position: relative;
    width: 500px;
    min-width: 280px;
    max-width: 500px;
    flex: 0 0 500px;
}

.product-big-show {
    position: relative;
    height: 488px;
    overflow: hidden;
    border-radius: 15px;
}

.blur-img-box {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(10px);
}

.blur-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
}

.product-big-box {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.pic-cell {
    display: flex;
    width: 100%;
    height: 488px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.main-pic {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}

.image-placeholder {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e6e7e8;
}

.image-placeholder img {
    width: 80px;
    height: 80px;
}

.thumbnail-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

.swiper-button-prev,
.swiper-button-next {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .65);
    background-repeat: no-repeat;
    background-position: 50%;
    cursor: pointer;
}

.swiper-button-prev {
    margin-right: 4px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAHJJREFUKFOVkrsNgDAMRN+twgJMAh1sChU1Eh3bQGeERFBCSKK4fuc7f0SmzKwFZmCQtN6oUvwDL8AOdJLOpOAD95IO1zhyyMGRQwkOBGbWANuTOYjhz/lGqhbcXaoiOduS6PcOVWstOSUv7c00AaN7jQtHckYNgx1xZgAAAABJRU5ErkJggg==');
}

.swiper-button-next {
    margin-left: 4px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAGpJREFUKFOt0jsKgEAMRdGbTndjJ1hb6U6105W4AbfyZGAUP+OMomkCgVMkeYYvSRXQAa2ZTev83G0HcmAACqC+QxtwUFISHcATdAEpFAQBVJrZ7Ob/gNjy35Z+dVZJGTA+fpyPRg80sWgstc08DcnM8dwAAAAASUVORK5CYII=');
}

.thumbnails {
    display: flex;
    max-width: calc(5 * (54px + 8px));
    padding: 4px 0;
    overflow-x: auto;
    flex: 0 1 auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnails::-webkit-scrollbar { display: none; }

.thumb-item {
    position: relative;
    width: 54px;
    height: 54px;
    margin: 0 4px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

.thumb-item.active { border-color: var(--primary-color, #3880ff); }

.thumb-real-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #e6e7e8;
}

.thumb-placeholder img { width: 30px; height: 30px; }

.exhibit-object-info {
    min-width: 0;
    margin-left: 28px;
    flex: 1;
}

.exhibit-object-info .exhibit-info-table th,
.exhibit-object-info .exhibit-info-table td {
    line-height: 1.7;
    vertical-align: top;
}

.exhibit-detail-error {
    min-height: 420px;
    padding: 100px 20px;
    color: #999;
    text-align: center;
}

.exhibit-detail-error h1 {
    margin-bottom: 12px;
    color: #333;
    font-size: 24px;
}

.lightbox-overlay {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(0, 0, 0, .85);
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-overlay.show { display: flex; }

.lightbox-img-wrap {
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-img {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    opacity: 0;
    cursor: grab;
    transform: scale(0);
    transition: opacity .35s ease, transform .35s ease;
}

.lightbox-img.loaded { opacity: 1; transform: scale(1); }
.lightbox-img.dragging { cursor: grabbing; transition: none; }

.lightbox-loading {
    position: absolute;
    z-index: 10002;
    top: 50%;
    left: 50%;
    display: none;
    transform: translate(-50%, -50%);
}

.lightbox-loading.show { display: block; }

.lightbox-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, .15);
    border-top-color: #fff;
    border-radius: 50%;
    animation: exhibit-lb-spin .8s linear infinite;
}

@keyframes exhibit-lb-spin { to { transform: rotate(360deg); } }

.lightbox-close {
    position: fixed;
    z-index: 10003;
    top: 20px;
    right: 20px;
    display: flex;
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    outline: none;
    background: rgba(255, 255, 255, .12);
    cursor: pointer;
}

.lightbox-close svg { width: 20px; height: 20px; fill: #fff; }
.lightbox-close:hover { background: rgba(255, 255, 255, .25); }

.lightbox-app-guide {
    position: fixed;
    z-index: 10003;
    top: 20px;
    right: 72px;
    display: flex;
    height: 40px;
    padding: 0 16px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 20px;
    outline: none;
    background: rgba(56, 128, 255, .9);
    color: #fff;
    font-size: 14px;
    line-height: 38px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    box-sizing: border-box;
}

.lightbox-app-guide svg {
    width: 17px;
    height: 17px;
    margin-right: 7px;
    fill: currentColor;
}

.lightbox-app-guide:hover {
    background: rgba(44, 110, 219, .96);
}

.lightbox-app-guide__mobile {
    display: none;
}

.lightbox-toolbar {
    position: fixed;
    z-index: 10001;
    bottom: 60px;
    left: 50%;
    display: flex;
    padding: 6px 10px;
    align-items: center;
    transform: translateX(-50%);
}

.lightbox-toolbar button {
    display: flex;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    outline: none;
    background: rgba(0, 0, 0, .5);
    cursor: pointer;
}

.lightbox-toolbar button:hover { background: rgba(0, 0, 0, .7); }
.lightbox-toolbar button svg { width: 16px; height: 16px; fill: #fff; }
.lightbox-toolbar .toolbar-divider { width: 1px; height: 16px; margin: 0 2px; }

.lightbox-thumb-strip {
    position: fixed;
    z-index: 10001;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    padding: 8px 16px;
    overflow-x: auto;
    justify-content: center;
    background: rgba(0, 0, 0, .45);
}

.lightbox-thumb {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
}

.lightbox-thumb:hover { border-color: rgba(255, 255, 255, .5); }
.lightbox-thumb.active { border-color: #3880ff; }
.main-pic-clickable { cursor: pointer; }

@media (max-width: 1000px) {
    .exhibit-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-exhibit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .exhibit-object-catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .exhibit-work-directory { width: 210px; margin-right: 18px; flex-basis: 210px; }
    .exhibit-summary__media,
    .gallery { width: 440px; flex-basis: 440px; }
}

@media (max-width: 820px) {
    .exhibit-summary,
    .exhibit-object-overview { flex-direction: column; }
    .exhibit-summary__media,
    .gallery { width: 100%; max-width: 100%; flex-basis: auto; }
    .exhibit-summary__info,
    .exhibit-object-info { width: 100%; margin: 24px 0 0; }
    .search-exhibit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .exhibit-object-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .exhibit-works-layout { display: block; }
    .exhibit-work-directory { width: 100%; margin: 0 0 18px; }
    .exhibit-work-directory__panel { position: relative; top: auto; border-radius: 8px; }
    .exhibit-work-directory__title { height: 42px; line-height: 42px; }
    .exhibit-work-directory__list { max-height: none; padding: 6px 8px; overflow-x: auto; overflow-y: hidden; white-space: nowrap; }
    .exhibit-work-directory__list:before { display: none; }
    .exhibit-work-directory__item { display: inline-flex; width: 150px; min-height: 48px; padding: 6px 9px; white-space: normal; vertical-align: top; }
}

@media (max-width: 560px) {
    .exhibit-main { padding-top: 20px; }
    .exhibit-card-grid { grid-template-columns: 1fr; gap: 16px; }
    .search-exhibit-grid { grid-template-columns: 1fr; gap: 16px; }
    .exhibit-object-catalog { grid-template-columns: 1fr; gap: 16px; }
    .exhibit-summary__media { height: 280px; }
    .product-big-show,
    .pic-cell { height: 360px; }
    .exhibit-summary__info h1,
    .exhibit-object-info h1 { font-size: 21px; }
    .lightbox-close { top: 12px; right: 12px; width: 36px; height: 36px; }
    .lightbox-app-guide { top: 12px; right: 58px; height: 36px; padding: 0 12px; border-radius: 18px; font-size: 13px; line-height: 34px; }
    .lightbox-app-guide svg { width: 15px; height: 15px; margin-right: 5px; }
    .lightbox-app-guide__desktop { display: none; }
    .lightbox-app-guide__mobile { display: inline; }
    .lightbox-toolbar { bottom: 56px; padding: 4px 8px; }
    .lightbox-thumb { width: 36px; height: 36px; }
}
