.content-collection-landing-page {
    display: flex;
    justify-content: center;
}

.content-collection-container {
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    width: 90%;
}

#content-collection-search {
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.content-collection-title {
    margin: 0;
}

.content-collection-no-results-message {
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
}

.content-collection-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}

.content-collection-card {
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px -1px #eee;
    color: black;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 150ms ease-in-out;
    padding: 0px;
    border: 1px solid #ccc;
    margin-bottom: 16px;
    background-color: #f9f9f9;
}

.content-collection-info-container {
    padding: 1.25rem;
}

.content-collection-card:hover {
    background: #fcfcfc;
    transform: scale(1.01);
}

.content-collection-card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 4px 0;
    min-height: 2rem;
}

.content-collection-image-container {
    width: 100%;
    padding-top: 75%;
    position: relative;
    background-color: #e5e5e5;
    overflow: hidden;
}

    .content-collection-image-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.content-collection-tag-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    margin: 6px 0;
}

.search-tag, .content-collection-tag {
    border-radius: 0.75rem;
    border: 1px solid #2f76ec;
    color: #2f76ec;
    font-size: 0.75rem;
    padding: 0.4rem;
    transition: all 150ms ease-in-out;
    cursor: pointer;
    display: inline-flex;
    margin-bottom: 0.5em;
}

    .content-collection-tag:hover {
        background: #1563e0;
        color: white;
        cursor: pointer;
    }

.content-collection-filter-tag {
    background: #2f76ec;
    color: #fff;
}

.content-collection-hidden-element {
    display: none !important;
}

#clear-tags-button {
    width: 100%;
    margin-bottom: 1rem;
}

.search-container {
    margin-bottom: 1rem;
    position: relative;
}

.clear-btn {
    font-size: 18px;
    color: #888;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    width: 47px;
    height: 47px;
    line-height: 47px;
    text-align: center;
    z-index: 10;
}

    .clear-btn:hover {
        color: red;
    }

.content-collection-description {
    font-size: 14px;
    color: #555;
    margin-top: 6px;
}

.column {
    display: none;
}

@media screen and (max-width: 1023px) {
    .filter-button {
        width: 50%;
        margin: 0 !important;
        text-align: center;
        position: relative;
        padding: 0 14px;
        height: 47px !important;
        line-height: 47px !important;
        border-radius: 0 !important;
        background: white !important;
        float: left;
        border: 1px solid #ccc !important;
        color: #666;
    }

    .filters-open .column {
        display: block;
        position: fixed;
        top: 0px;
        background-color: white;
        left: 0px;
        width: 100%;
        z-index: 99999;
        height: 100%;
        padding: 2em;
    }

    .ffclose {
        display: none;
    }

    .filters-open .ffclose {
        background: #c53e3e;
        margin-left: 8px;
        height: 48px;
        width: 48px;
        text-align: center;
        padding: 0 16px;
        display: block;
        position: absolute;
        bottom: 1rem;
        right: 1rem;
        cursor: pointer;
    }

    .filters-open {
        overflow-y: hidden
    }

    .ffclose:before {
        font: normal normal normal 14px / 1 feather;
        content: "\e117";
        color: #ffffff;
        line-height: 48px;
    }
}

@media screen and (min-width: 1024px) {
    .filters-open {
        overflow-y: scroll;
    }

    .content-collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-column {
        display: flex;
    }

    #content-collection-search {
        display: grid;
    }

    .search-wrapper {
        position: sticky;
        top: 90px;
        align-self: start;
        width: 100%;
    }

    .column {
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex: 1;
        min-width: 250px;
        position: relative;
    }

    .filter-button {
        display: none;
    }
}

@media screen and (min-width: 1536px) {
    .content-collection-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
  