.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-title {
    margin: 0;
}

.content-collection-update-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-collection-applied-tag-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.content-collection-applied-tag-list {
    display: flex;
    gap: 1rem;
}

.content-collection-applied-tag {
    background: #2f76ec;
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.4rem;
    transition: all 150ms ease-in-out;
    user-select: none;
}

.content-collection-applied-tag-remove-button {
    background: #f4f4f4;
    color: #000;
    font-size: 0.8rem;
    max-width: 8rem;
    transition: all 150ms ease-in-out;
}

    .content-collection-applied-tag-remove-button:hover {
        background: #f7f7f7;
        color: #666;
    }

.content-collection-applied-tag-remove-button-contents {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.content-collection-applied-tag-remove-button-icon {
    color: #ee0000;
}

.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);
}

.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-header {
    display: flex;
    flex-direction: column;
}

.content-collection-card-title {
    min-height: 2rem;
    margin: 0;
}

.content-collection-date {
    color: #777;
    font-size: 0.75rem;
}

.content-collection-image-container {
    width: 100%;
    padding-top: 75%;
    position: relative;
    background-color:#e5e5e5;
}

.content-collection-image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.content-collection-tag-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.content-collection-tag {
    background: #2f76ec;
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.4rem;
    transition: all 150ms ease-in-out;
}

    .content-collection-tag:hover {
        background: #1563e0;
        cursor: pointer;
    }

.content-collection-filter-tag {
    font-weight: 700;
}

.content-collection-hidden-element {
    display: none !important;
}

.content-collection-paging-container {
    display: flex;
    justify-content: space-between;
}

.content-collection-paging-button {
    background: transparent;
    color: #000;
    padding: 0;
    width: 3rem;
    transition: all 150ms ease-in-out;
}

    .content-collection-paging-button:hover {
        color: #666;
    }

    .content-collection-paging-button:disabled {
        background: transparent !important; /* Has to be !important to override the existing !important background colour. */
        color: #ccc;
        opacity: 1;
    }

#controls-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 250px;
}

#search-container, #TagSelectArea {
    display: flex;
    gap: 10px;
    align-items: center;
}

#search-input, #TagRepeaterSelect {
    padding: 6px 10px;
    height: 34px;
    line-height: 1.5;
    vertical-align: middle;
    box-sizing: border-box;
    font-size: 14px;
}

#search-container button,
#TagSelectArea button {
    padding: 6px 12px;
    height: 34px;
    line-height: normal;
    font-size: 14px;
    width: 140px;
    vertical-align: middle;
    cursor: pointer;
}

.content-collection-applied-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    margin: 2px;
    background: #eee;
    border-radius: 4px;
    cursor: default;
}

.content-collection-applied-tag span.cross {
    margin-right: 6px; 
    cursor: pointer;
    color: red;
    font-weight: bold;
}

.content-collection-card img.content-collection-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.content-collection-card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 4px 0;
}

.content-collection-tag-container {
    margin: 6px 0;
}

.content-collection-description {
    font-size: 14px;
    color: #555;
    margin-top: 6px;
}

@media screen and (width >= 48rem) {
    .content-collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (width >= 96rem) {
    .content-collection-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media screen and (width >= 144rem) {
    .content-collection-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
  