.banner-group {
    display: flex;
    height: 40vh;
}

.carousel-group {
    flex: 7;
    border-radius: 1rem !important;
    overflow: hidden;
}

.carousel-group h5 {
    display: inline-block;
    padding: 0.1rem 1rem;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    border-radius: 1rem;
    background: rgba(33, 33, 33, .233);
    color: rgba(245, 245, 245, .833);
}

.carousel-group img {
    border-radius: 1rem !important;
    height: 40vh;
    object-fit: cover;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.hot-group {
    flex: 3;
    margin-left: 1rem;
    border-radius: 1rem;
    background: white;
}

.hot-item-group {
    display: flex;
    flex-wrap: wrap;
}

.hot-item-group img {
    width: 10vh;
    min-width: 10vh;
    height: 10vh;
    min-height: 10vh;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-right: 1rem;
}

.hot-item {
    display: flex;
    height: 10vh;
    max-height: 10vh;
    /*background: rgb(233, 236, 239);*/
    /*box-shadow:0px 3px 5px 1px #DDDDDD;*/
    margin: 0.35rem 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-item-info-group {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hot-item .badge-secondary {
    font-weight: 400;
    background: #1f4f6f;
}

.hot-item a {
    display: block;
    margin-bottom: 0.2rem !important;
}

.hot-item .stretched-link {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.hot-item p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    font-weight: 300;
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}

.hot-item-tags {
    margin-top: 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}


.single-row-item-group {
    display: flex;
    justify-content: space-between;
    /*background: deeppink;*/
    margin: 1rem;
}

.single-row-item {
    flex: 0 0 18.5%;
    border: 1px solid rgba(0, 0, 0, .125);
    padding-bottom: 0.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 5px 1px #DDDDDD;
}

.single-row-img {
    height: 0;
    padding-bottom: 100%;
    width: 100%;
    background-size: cover !important;
}

.single-row-item img {
    object-fit: cover;
    width: 100%;
}

.single-row-item-top-badge {
    background: rgb(226, 113, 97) !important;
    border-radius: 0 0 .6rem 0;
    position: absolute;
    font-weight: 700 !important;
    padding: 0.1rem 0.35rem;
    color: white;
    left: 0;
    top: 0;
    z-index: 1;
}

.switch-badge {
    background: rgb(211, 45, 38) !important;
    border-radius: .5rem 0 .6rem 0;
    position: absolute;
    font-weight: 600 !important;
    padding: 0.1rem 0.35rem;
    color: whitesmoke;
    font-size: 0.5rem;
    left: 0;
    top: 0;
    z-index: 1;
}

.ps-badge {
    background: rgb(45, 112, 202) !important;
    border-radius: .5rem 0 .6rem 0;
    position: absolute;
    font-weight: 600 !important;
    padding: 0.1rem 0.35rem;
    color: whitesmoke;
    font-size: 0.5rem;
    left: 0;
    top: 0;
    z-index: 1;
}

.xbox-badge {
    background: rgb(53, 115, 36) !important;
    border-radius: .5rem 0 .6rem 0;
    position: absolute;
    font-weight: 600 !important;
    padding: 0.1rem 0.35rem;
    color: whitesmoke;
    font-size: 0.5rem;
    left: 0;
    top: 0;
    z-index: 1;
}

.steam-badge {
    background: rgb(50, 109, 155) !important;
    border-radius: .5rem 0 .6rem 0;
    position: absolute;
    font-weight: 600 !important;
    padding: 0.1rem 0.35rem;
    color: whitesmoke;
    font-size: 0.5rem;
    left: 0;
    top: 0;
    z-index: 1;
}

.unk-badge {
    background: rgb(123, 123, 123) !important;
    border-radius: .5rem 0 .6rem 0;
    position: absolute;
    font-weight: 600 !important;
    padding: 0.1rem 0.35rem;
    color: whitesmoke;
    font-size: 0.5rem;
    left: 0;
    top: 0;
    z-index: 1;
}


.single-row-item img {
}

.single-row-item h6 {
    margin: 0.8rem 0 0.3rem 0;
    font-weight: 500;
    font-size: 0.9rem;
}

.single-row-item .stretched-link {
    margin-left: 0.6rem;
    margin-right: 0.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.single-row-item span {
    font-weight: 400;
    background: #1f4f6f;
}


.group-big-title {
    margin: 1rem;
}

.group-big-title-flex {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.group-big-title-flex h5 {
    display: inline-block;
}

.group-big-title-flex small {
    position: absolute;
    bottom: 0.5rem;
    right: 0.1rem;
    font-weight: 400;
    color: gray;
}

.ctnr-content-group {
    margin-bottom: 1rem;
    overflow: hidden;
    background: white;
}

.explore-item-group {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0.5rem;
}

.explore-item {
    display: inline-flex;
    flex: 0 0 31.5%;
    padding: 1%;
    border-radius: 1rem;
    border: none;
    margin: 0.9%;
    box-shadow: 0 3px 5px 1px #DDDDDD;
}

.explore-item-info-group {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.explore-item img {
    width: 10vh;
    min-width: 10vh;
    height: 10vh;
    min-height: 10vh;
    border-radius: 0.5rem;
    margin-right: 1rem;
}

.explore-item .badge-secondary {
    font-weight: 400;
    background: #1f4f6f;
}

.explore-item a {
    display: block;
    margin-bottom: 0.2rem !important;
}

.explore-item .stretched-link {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.explore-item p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    font-weight: 300;
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}


.new-item-group {
    margin: 1rem;
    display: flex;
    justify-content: space-between;
    overflow: scroll;
    overflow-y: hidden
}

.new-item {
    flex: 0 0 49%;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    border: 1px solid rgba(0, 0, 0, .125);
    box-shadow: 0 3px 5px 1px #DDDDDD;
    margin: 0 0.5% 0.5%;
    height: 19vh;
}

.new-item img {
    object-fit: cover !important;
}

.new-item h6 {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.new-item-right-group {
    margin: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.new-item-tag-group {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.new-item-right-group small {
    margin-bottom: 0.6rem;
    font-weight: 300;
}

.new-item-right-group span {
    font-weight: 400;
    background: #1f4f6f;
}

.new-item-intro {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 300;
    font-size: 0.9rem;
}

@media (max-aspect-ratio: 1 / 1) {
    .banner-group {
        flex-direction: column;
        height: 100%;
    }

    .carousel-group img {
        height: 20vh;
    }

    .carousel-group {
        margin-bottom: 1rem;
    }

    .hot-group {
        margin-left: 0;
        padding-bottom: 0.6rem;
    }

    #hot-group {
        display: none;
    }

    .new-item {
        flex: 0 0 99%;
    }

    .explore-item-group {
        display: block;
        margin-top: 0;
    }

    .explore-item {
        margin: 0 0.6rem 0.6rem 0.6rem;
        width: 95%;
        padding: 0.5rem;
    }

    .explore-item p {
        -webkit-line-clamp: 1;
    }

    .new-item-intro {
        display: none;
    }

    .hot-item p {
        -webkit-line-clamp: 1;
    }

    .new-item h6 {
        -webkit-line-clamp: 2;
    }
}