#fullTextSearch-engineConfigure {
    margin-bottom: 2em;
}

#fullTextSearch_searchwrapper.htmx-request {
    #fullTextSearch_searchresult {
        opacity: 0.5;
    }
    .fa-spin {
        display: inline-block;
    }
}

#fullTextSearch_searchwrapper .fa-spin {
    display: none;
}

.fullTextSearch_searchresult_item {
    word-break: break-word;

    i {
        color: silver;
    }
    .h1 a {
        word-wrap: break-word;
    }

    mark {
        font-weight: bold;
        background: none;
        padding: 0;
    }

    .badge {
        white-space: wrap;
    }
}

.fullTextSearch_searchresult_wrappers {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1em;

    .fullTextSearch_searchresult_item {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: auto / span 3;
        margin-bottom: 2em;
    }
}

@media (min-width: 768px) {
    #fullTextSearch_searchwrapper .fullTextSearch_searchresult_wrappers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    #fullTextSearch_searchwrapper .fullTextSearch_searchresult_wrappers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
