div.layout-browser {
    display: flex;
    gap: 8px;
}

div.layout-browser div.column {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
}

div.layout-browser a.item {
    display: block;
    position: relative;
    margin-bottom: 8px;
    background-color: black;
    overflow: hidden;
}

div.layout-browser a.item img.preview {
    display: block;
    width: 100%;
    height: fit-content;
}

div.layout-browser a.item div.metadata {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity var(--animation-transition) ease-in-out;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 24px 8px 8px;
}

div.layout-browser a.item:hover div.metadata,
div.layout-browser a.item:focus-visible div.metadata {
    opacity: 1;
}
