main.layoutMain.categoryPage {
    padding: 0 20px 0 calc(var(--navigation_open) + 20px);
    display: flex;
    justify-content: center;
    min-width: 0;
    overflow-x: clip;
}

.categoryPage .searchPage,
.searchPage {
    padding: 20px 0;
    max-width: 1590px;
    width: 100%;
    min-width: 0;
    container-type: inline-size;
}

.categoryPage h2,
.searchPage h2 {
    font-size: 2.25rem;
}

.categoryPage .categoryDescription {
    margin: 1.5rem 0 0 0;
}

.searchResults {
    grid-template-rows: none;
    grid-auto-rows: 1fr;
    align-items: stretch;
    display: grid;
    flex-flow: wrap;
    box-sizing: border-box;
    padding: 0px;
    gap: 6px;
    margin: 0px;
    width: 100%;
    grid-template-columns: repeat(7, 1fr);
}

.searchResults a {
    position: relative;
    border: 2px solid #0000;
    overflow: hidden;
    box-sizing: border-box;
    display: block;
    z-index: 0;
    background-color: #ffffff12;
    background-clip: padding-box;
    border-radius: 10px;
    padding-top: calc(100 / 100 * (100% - 8px * 0.5));
    cursor: pointer;
}

.searchResults a:hover {
    box-shadow: 0 0 7px 1px rgba(0, 0, 0, 0.569);
    border-color: var(--brand-colour);
    z-index: 10;
    overflow: visible;
}

.searchResults a .thumbNail,
.searchResults a .thumbNail img {
    border-radius: 8px;
    z-index: 1;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    color: #0000;
    object-fit: cover;
}

.searchResults a .gameTitle {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    padding: 10px 15px;
    font-size: 10px;
    text-align: left;
    display: none;
    z-index: 6;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.searchResults a:hover .thumbNail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    border-radius: 8px;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.searchResults a:hover .thumbNail::before {
    opacity: 1;
}

.searchResults a:hover .gameTitle {
    display: block;
    opacity: 1;
}

.breadcrumbs {
    padding: 0 0 1.25rem 0;
}

@container (max-width: 1410px) {
    .searchResults {
        grid-template-columns: repeat(6, 1fr);
    }
}

@container (max-width: 1210px) {
    .searchResults {
        grid-template-columns: repeat(5, 1fr);
    }
}

@container (max-width: 680px) {
    .searchResults {
        grid-template-columns: repeat(4, 1fr);
    }
}

@container (max-width: 528px) {
    .searchResults {
        grid-template-columns: repeat(3, 1fr);
    }
}

@container (max-width: 310px) {
    .searchResults {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 987px) {
    main.layoutMain.categoryPage {
        padding: 0 15px;
    }
}
