.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 {
    background: #fafafa;
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px -1px #eee;
    color: black;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    text-decoration: none;
    transition: all 150ms ease-in-out;
}

    .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;
}

.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;
}

.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;
    }

@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));
    }
}
  