.image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.compact-container {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    aspect-ratio: unset;
    padding-top: var(--theme-spacing-xs);
    padding-bottom: var(--theme-spacing-xs);
    overflow: hidden;
    border-radius: var(--theme-radius-md);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    opacity: 0.6;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease-in-out;
}

.play-button-overlay:hover {
    opacity: 1;
}

.play-button-overlay button {
    width: 24px;
    height: 24px;
}

.compact-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--theme-radius-md);
}
