.page {
    padding-top: 77px;
}
.related-manga {
    margin-bottom: 20px;
}
.related-manga__list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
}
.related-manga__list.style-scroll::-webkit-scrollbar {
    height: 5px;
}

.index-tags {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.index-tags .tag {
    position: relative;
    display: block;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
    height: 100px;
}
.index-tags .background {
    position: absolute;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    transition: 0.5s ease;
}
.index-tags .tag:hover .background {
    opacity: 1;
}
.index-tags .title {
    position: absolute;
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    font-family: var(--h-font);
    text-shadow: -2px 1px 20px rgba(0,0,0,1);
}

.manga-item {
    margin-right: 5px;
    margin-bottom: 10px;

    color: var(--text-color);
    text-decoration: none;
    flex-shrink: 0;
}
.manga-item .poster {
    height: 215px;
    position: relative;
}
.translation-requests .poster {
    margin-bottom: 5px;
}
.translation-requests .manga-item .title {
    font-size: 14px;
}
.poster {
    display: block;
}
.poster:hover {
    opacity: 0.7;
} 
.related-manga .manga-item span {
    position: absolute;
    color: #fff;
    background: #000000a1;
    padding: 3px 5px;
    border-radius: 5px;
    bottom: 10px;
    right: 10px;
}
.manga-item .title {
    font-weight: 500;
}
.section h2 {
    font-size: 20px;
    margin-bottom: 10px;
}
.popular .manga-item {
    width: auto;
}
.popular .poster {
    height: 250px;
    margin-bottom: 10px;
}
.popular span {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}
.new-realeses .background {
    background-size: cover;
    backdrop-filter: blur(12px);
    background: #00000052;
    padding: 40px 15px;
    height: 100%;
}
.new-realeses .poster {
    width: 150px;
    height: 230px;
}
.new-realeses .swiper-slide {
    border-radius: 5px;
    overflow: hidden;
}
.new-realeses__item {
    color: #fff;
    display: flex;
    width: fit-content;
    margin: 0 auto;
    max-width: 600px;

    text-shadow: 1px 1px 0px #000;
    text-decoration: none;
}

.new-realeses__item .left {
    flex-shrink: 0;
}
.new-realeses__item .right {
    margin-left: 20px;
}
.new-realeses__item .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: var(--h-font);
}
.new-realeses__item .author {
    font-family: var(--h-font);
    font-size: 20px;
    margin-bottom: 10px;
}
.reading {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}
.reading.popular {
    display: block;
}
.reading .manga-item {
    width: 100%;
    min-width: 0;
    margin-right: 0;
}
.reading .manga-line-item {
    -webkit-box-shadow: 1px 3px 5px 0px rgba(0,0,0,0.13);
    -moz-box-shadow: 1px 3px 5px 0px rgba(0,0,0,0.13);
    box-shadow: 1px 3px 5px 0px rgba(0,0,0,0.13);
}
.manga-line-item {
    display: flex;

    text-decoration: none;
    border-radius: 5px;
}
.manga-line-item .info {
    padding: 10px 0;
}
.recently {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.manga-line-item .tag {
    width: fit-content;
    padding: 2px 4px;
    border-radius: 4px;
    margin-bottom: 5px;
    background-color: var(--btn-invincible-color);
    font-weight: 500;
}
.manga-line-item:hover {
    opacity: 0.7;
}
.manga-line-item .poster {
    width: 60px;
    height: auto;
    margin-right: 10px;
    flex-shrink: 0;
}
.manga-line-item .info > * {
    display: block;
    color: var(--text-color);
    text-decoration: none;
}
.manga-line-item .title {
    font-weight: 500;
    margin-bottom: 2px;
}
.manga-line-item .reading {
    color: var(--meta-color);
    text-decoration: underline;
}
.manga-line-item .fill {
    margin-bottom: 4px;
}
.fill {
    background: var(--btn-invincible-color);
    border-radius: 3px;
    width: 100%;
    height: 5px;
    overflow: hidden;
}
.filled {
    height: 100%;
    background: var(--btn-color);
}
.second-information {
    max-width: 45%;
}
.second-information__index .collection-mini-grid {
    grid-template-columns: 1fr;
    row-gap: 10px;
}
.second-information__index .collection-item {
    overflow: hidden;
}
.second-information__index .collection__inner {
    padding-top: 22px;
}
.second-information__index .collection-meta__items {
    margin-bottom: 12px;
}
.second-information__index .collection-meta__books {
    height: 70px;
}
.team {
    margin-bottom: 5px;
}
.news-post {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 8px;
}
.news-post .title {
    margin-bottom: 3px;
}
.news-post .date {
    font-size: 14px;
    color: var(--meta-color);
}
.comment-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
.comment-block {
    position: relative;
    padding: 10px;
    padding-bottom: 34px;
    -webkit-box-shadow: 1px 3px 5px 0px rgba(0,0,0,0.13);
    -moz-box-shadow: 1px 3px 5px 0px rgba(0,0,0,0.13);
    box-shadow: 1px 3px 5px 0px rgba(0,0,0,0.13);
}
.comment-block .nickname {
    max-width: 110px;
    font-weight: 500;
}
.comment-block:hover {
    color: var(--text-color) !important;
}
.comment-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}
.comment-block__header .left {
    display: flex;
    align-items: center;
}
.comment-block .text-info {
    margin-bottom: 10px;
}
.comment-block .link {
    position: absolute;
    left: 0px;
    bottom: 0px;
    margin: 10px;
    color: var(--meta-color);
    font-weight: 500;
    text-decoration: none;
}
.ranking .table {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.ranking .table .manga-line-item {
    margin-bottom: 10px;
}
.manga-line-item .small-text {
    color: var(--meta-color);
    font-size: 13px;
    margin-bottom: 5px;
}
.ranking .table .header-table {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 20px;
}
.manga-line-item .num {
    display: flex;
    align-items: center;
    justify-content: center;
    
    color: var(--text-color);
    font-size: 24px;
    font-weight: 500;
    font-family: var(--h-font);
    width: 20px;
    margin-right: 10px;
}
@media only screen and (max-width: 1064px) {
    .index-tags .title {
        font-size: 18px;
    }
}
@media only screen and (max-width: 1020px) {
    .second-information {
        max-width: 300px;
    }
}
@media only screen and (max-width: 920px) {
    .index-tags {
        grid-template-columns: repeat(3, 1fr);
    }
    .reading {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}   
@media only screen and (max-width: 820px) {
    .comment-blocks {
        grid-template-columns: 1fr 1fr;
    }
    
    .index-tags .tag {
        height: 80px;
    }
    
}
@media only screen and (max-width: 768px) {
    .second-information {
        max-width: 100%;
    }
    .reading {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 600px) {
    .manga-item .poster {
        height: 160px;
    }
    .index-tags {
        grid-template-columns: repeat(2, 1fr);
    }
    .recently {
        grid-template-columns: 1fr;
    }
    .ranking .table {
        grid-template-columns: 1fr;
    }
    .comment-blocks {
        grid-template-columns: 1fr ;
    }
    .reading {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media only screen and (max-width: 480px) {
    .new-realeses__item {
        display: block;
    }
    .new-realeses__item .right {
        margin-left: 0;
    }
    .new-realeses .poster {
        margin: 0 auto;
        margin-bottom: 20px;
    }
}
@media only screen and (max-width: 330px) {
    .index-tags .title {
        font-size: 16px;
    }
}
