.ranking-title {
    margin: 30px auto;
    color: white;
    text-align: center;
    font-weight: bold;    
}

.ranking-list {
    height: 100%;
}

.tabs {
    display: flex;
    cursor: pointer;
}
.tab {
    padding: 10px 20px;
    border: 1px solid #ccc;
    width: 50%;
    height: 55px;
    border-radius: 5px 5px 0 0;
    display: flex;
    justify-content: center;
    color: white;
    align-items: center;
}
.tab.active {
    background-color: #f0f0f0;
    font-weight: bold;
    color: black;
}
.tab-content {
    display: none;
    padding: 10px;
}
.tab-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, calc((100vw - 80px) / 5));
    gap: 20px;
    overflow-y: scroll;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    height: calc(100% - 139px);
    padding: 0 0px;
}

.tab-content::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}


.tab-content .video-item {
    width: 100%;
}

.tab-content img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.video-item-info {
    background: white;
    display: flex;
    padding: 12px;
    justify-content: end;
}

.video-item-info svg {
    width: 1rem;
    height: 1rem;
    fill: #0056c1;
}

.good-count {
    margin-left: 10px;
    line-height: 1.2rem;
    font-weight: bold;    
}

@media (max-width: 992px) {
    .tab-content.active {
        grid-template-columns: repeat(auto-fill, 100vw);
    }

}
