.image-stage {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}
.image-card {
    position: relative;
    width: 300px;
    max-width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
    transition:
        width 0.6s ease,
        height 0.6s ease,
        box-shadow 0.6s ease;
}
.image-card.expanded {
    width: 900px;
    height: clamp(320px, 60vw, 520px);
    box-shadow: 0 8px 25px #0003;
}
.image-button {
    display: block;
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}
.image-button:disabled {
    opacity: 1;
}
.image-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.image-button:focus-visible {
    outline-offset: -5px;
}
.overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px 24px 75px;
    background: linear-gradient(transparent, #001c1c70);
}
.caption {
    text-align: center;
    max-width: 470px;
    background: #003333df;
    color: white;
    padding: 20px;
    border-radius: 6px;
}
.caption h3 {
    color: white;
    font-size: clamp(1.3rem, 3vw, 2rem);
}
.caption p {
    margin: 0;
}
.close {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    padding: 8px;
    display: grid;
    place-items: center;
    background: white;
    color: #004d4d;
}
.close:hover {
    background: #e6f2f2;
}
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.35s ease;
}
.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}
