/* Basic list styling */
ul {
    padding-left: 20px;
    margin: 15px 0;
    line-height: 1.3;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

li {
    margin-bottom: 0;
    width: 20%;
    position: relative;
}



/* Link styling in lists */
li a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

li a:hover {
    color: #004499;
    text-decoration: underline;
}

/* Visited links styling */
li a.viewed {
    color: #888888;
    text-decoration: none;
}

li a.viewed:hover {
    color: #666666;
}

/* Popular links styling */
li.pop-10 a {
    font-weight: bold;
    color: #000;
}

/* Optional: add a small indicator for popular links */
li.pop-10::before {
    content: "★";
    font-size: 1.1rem;
    left: 5px;
    position: absolute;
    top: 0;
    z-index: 10;
}


.link-item,
.link-header {
    /* display: table-row;
    align-items: center;
    justify-content: flex-start; */


    span {
        /* display: table-cell;
        padding: 0 15px 0 0; */
        text-align: center;
    }
}

.link-header {
    font-weight: bold;
    color: #757575;
    background-color: #cacaca;
    position: relative;
}

.cover {
    border: 1px solid #000;
    border-radius: 5px;
    margin: 2px;
}

.rank {
    width: 50%;
    display: inline-block;
}

.views {
    display: inline-block;
    width: 50%;
}

.views::before {
    content: '👁';
    position: absolute;
    margin-left: -20px;
}

.url {
    display: inline-block;
    width: 100%;
}