.content__grid {
    display: flex;
    gap: 0.0625rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: auto;
    width: calc(100% - var(--nav-narrow-width));
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.grid {
    display: block;
    float: left;
    width: calc(25% - 0.0625rem);
}

.grid__item {
    position: relative;
    float: left;
    overflow: hidden;
    display: block;
    width: 100%;
    padding: 2px;
}

.grid__item div {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.grid__item div a {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
    left: 0;
}

div.grid__item--content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 4;
    bottom: 0;
    padding: 0 16px 16px;
    color: var(--white);
    text-transform: uppercase;
}

div.grid__item--content span {
    font-size: 11px;
    text-align: center;
    line-height: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    font-weight: 500;
}

div.grid__item--content h2,
div.grid__item--content .title_search {
    font-size: 18px;
    text-align: center;
    font-weight: 900;
    line-height: 20px;
    margin-bottom: 1px;
}

div.grid__item--shadow {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding: 0;
    top: 0;
    left: 0;
    z-index: 3;
    background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 45%);
    background: -o-linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 45%);
    background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 45%);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 45%);
}

.card-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

div img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    z-index: 1;
    color: #fff;
    -webkit-transition: transform 0.2s linear;
    transition: transform 0.2s linear;
}


@media screen and (min-width: 1264px) {

    footer,
    .content__grid,
    .content__grid-center {
        width: calc(100% - var(--nav-medium-width));
    }
}

@media screen and (min-width: 1024px) {

    .grid__item:hover img {
        -ms-transform: scale(1.04);
        -webkit-transform: scale(1.04);
        transform: scale(1.04);
    }
}


@media screen and (max-width: 960px) {
    .grid {
        width: calc(33.333% - 0.0625rem);
    }

    .author .grid {
        width: calc(50% - 0.0625rem);
    }
}

@media screen and (max-width: 768px) {

    .author .grid {
        width: calc(50% - 0.0625rem);
    }

    div.grid__item--content {
        gap: 0px;
        padding: 0 9px 16px;
    }

    div.grid__item--content span .rating_cover {
        font-size: 14px;
    }

    div.grid__item--content span .rating_cover svg {
        width: 13px;
        height: 13px;
    }

    div.grid__item--content h2 {
        font-size: 16px;
        line-height: initial;
    }

    div.grid__item--content span {
        font-size: 11px;
        letter-spacing: -0.3px;
    }

}


@media screen and (max-width: 700px) {

    .author .grid {
        width: calc(100% - 0.0625rem);
    }
}

@media screen and (max-width: 580px) {

    .author .grid {
        width: calc(100% - 0.0625rem);
    }

    .grid {
        width: calc(50% - 0.0625rem);
    }

    div.grid__item--content h1 {
        font-size: 1rem;
        line-height: 1rem;
    }
}

@media screen and (max-width: 480px) {

    .only_mobile {
        display: block;
    }

    .hidden_mobile {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .content__grid {
        width: 100%;
        margin: 56px 0 24px;
    }

    .content__grid-center {
        width: 100%;
        padding: 56px 24px 16px;
    }

    div.grid__item--content h2.profile_tag {
        margin-top: 0px;
    }
}