ul.index {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

ul.index li {
    position: relative;
}

ul.index li a {
    display: block;
    padding: 2rem 1.5rem;
    color: #000;
    cursor: pointer;
}

ul.index li._has_bg {
    background-size: cover;
    background-position: center;
}

ul.index li._has_bg a {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
}

ul.index li._has_bg a:hover, ul.index li._has_bg.active a {
    background-color: transparent;
    color: #fff;
    text-shadow: 0 0 1px #000;
    transition: all .5s;
}

ul.index li h6 {
    font-family: var(--font-serif);
    font-weight: 700;
}

ul.index li .preview {
    color: var(--bs-gray-700);
    font-size: 0.9em;
    font-weight: 300;
    min-height: 42px;
    word-break: keep-all;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

ul.index li._has_bg a:hover .preview, ul.index li._has_bg.active a .preview {
    color: #fff;
    font-weight: 500;
}

ul.index li time {
    font-family: var(--font-gothic);
    font-size: x-small;
    color: var(--bs-gray-400);
}

ul.index li._has_bg time {
    color: var(--bs-gray-600);
}

ul.index li._has_bg.active time, ul.index li._has_bg:hover time {
    color: #fff;
}

ul.index li .category {
    padding: 0;
    line-height: 1;
    margin-right: 0.3rem;
    font-size: x-small;
    font-family: var(--font-gothic);
    font-weight: 600;
    text-transform: uppercase;
}

ul.index li .info {
    position: relative;
}

ul.index li .cmt_count {
    background-color: var(--bs-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    padding: 0 2px;
    border-radius: 2px;
}

/*ul.index .info::after {
    content: "";
    position: absolute;
    left: -8px;
    top: 11px;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--red-dark);
    border-radius: 50%;
}*/

/*ul.index li .info::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--bs-gray-500);
}*/

@media (min-width: 768px) {
    ul.index {
        display: grid;
        grid-gap: 1.5rem;
        grid-template-columns: repeat(2, 1fr);
    }

    ul.index li {
        border-radius: 1.5rem;
    }

    ul.index li a {
        padding: 2rem;
        height: 100%;
    }

    ul.index li:hover, ul.index li.active {
        box-shadow: inset 0 0 5px var(--bs-gray-300);
    }
}

/*@media (min-width: 992px) {
    ul.index {
        grid-template-columns: repeat(3, 1fr);
    }
}*/
