.exhibition-announcement {
    padding: 0.4rem 0.75rem;
    background: #002b54;
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.5;
}

.exhibition-scroll-window {
    overflow: hidden;
}

.exhibition-scroll-track {
    display: flex;
    width: max-content;
    animation: exhibition-scroll 22s linear infinite;
}

.exhibition-scroll-item {
    flex: 0 0 auto;
    padding-inline-end: 3rem;
    white-space: nowrap;
}

.exhibition-scroll-item strong {
    color: #ffce89;
}

.exhibition-scroll-window:hover .exhibition-scroll-track {
    animation-play-state: paused;
}

@keyframes exhibition-scroll {
    to { transform: translateX(-20%); }
}

@media (prefers-reduced-motion: reduce) {
    .exhibition-announcement {
        text-align: center;
    }

    .exhibition-scroll-track {
        display: block;
        width: auto;
        animation: none;
    }

    .exhibition-scroll-item {
        padding: 0;
        white-space: normal;
    }

    .exhibition-scroll-item[aria-hidden] {
        display: none;
    }
}

#exhibitionPopup .exhibition-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    background: #fff;
    color: #002b54;
}

#exhibitionPopup .exhibition-artwork {
    position: relative;
    background: #002b54;
}

#exhibitionPopup .exhibition-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#exhibitionPopup .exhibition-logo {
    position: absolute;
    left: 16px;
    bottom: 16px;
    box-sizing: content-box;
    width: 68px;
    height: 83px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 14px rgb(0 24 54 / 35%);
}

#exhibitionPopup .exhibition-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background-color: #002b54;
    opacity: 1;
    filter: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' d='m3 3 10 10m0-10L3 13'/%3E%3C/svg%3E");
}

#exhibitionPopup .exhibition-details {
    padding: 36px 52px 32px 30px;
}

#exhibitionPopup .exhibition-invitation {
    color: #15538a;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

#exhibitionPopup .exhibition-title {
    color: #002b54;
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    line-height: 1.12;
}

#exhibitionPopup .exhibition-booth {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.3rem 0.75rem;
    border-radius: 0.5rem;
    background: #fff0db;
    color: #613500;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
}

#exhibitionPopup .exhibition-booth strong {
    font-size: 1.4rem;
}

#exhibitionPopup .exhibition-facts {
    color: #243c54;
    font-size: 0.95rem;
    line-height: 1.45;
}

#exhibitionPopup .exhibition-contact {
    background: #002b54;
    color: #fff;
    font-weight: 600;
}

#exhibitionPopup .exhibition-contact:hover,
#exhibitionPopup .exhibition-contact:focus-visible {
    background: #15538a;
    color: #fff;
}

@media (max-width: 767.98px) {
    #exhibitionPopup .exhibition-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    #exhibitionPopup .exhibition-artwork {
        height: clamp(112px, 38vw, 180px);
    }

    #exhibitionPopup .exhibition-photo {
        object-position: center 40%;
    }

    #exhibitionPopup .exhibition-logo {
        left: 10px;
        bottom: 10px;
        width: 54px;
        height: auto;
        padding: 5px 7px;
        border-radius: 8px;
    }

    #exhibitionPopup .exhibition-details {
        padding: 19px 20px 22px;
    }

    #exhibitionPopup .exhibition-contact {
        width: 100%;
        padding-block: 0.65rem;
    }
}
