.termal-gallery-repeater .fi-fo-repeater-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1rem !important;
}

.termal-gallery-repeater .fi-fo-repeater-item {
    min-width: 0;
    height: 100%;
}

.termal-gallery-repeater .fi-fo-repeater-item-header {
    align-items: center;
    gap: .5rem;
    min-height: 2.75rem;
}

.termal-gallery-repeater .fi-fo-repeater-item-header-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.termal-gallery-repeater .fi-fo-repeater-item-header-end-actions {
    margin-inline-start: auto;
}

.termal-gallery-repeater .fi-fo-repeater-item-content {
    height: calc(100% - 2.75rem);
}

.termal-gallery-repeater .fi-fo-file-upload {
    overflow: hidden;
}

@media (min-width: 1280px) {
    .termal-gallery-repeater .fi-fo-repeater-items {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    }
}
