main#news h2{
    counter-increment: headers2;
    letter-spacing: 0;
}

main#news h2:before{
    margin-bottom: 0;
    content: counter(headers2, decimal-leading-zero);
}

main#news .news-side-entry {
    display: block;
    margin-bottom: 45px;
    color: #333;
}

main#news .news-side-entry img {
    display: block;
    margin-bottom: 12px;
}

main#news .news-side-entry small {
    color: #989b7b;
}

main#news ul:not(.browser-default) {
    padding-left: 1em;
}

main#news ul:not(.browser-default) li {
    list-style: initial;
}

main#news .news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

main#news .news-header a {
    border: 1px solid #333;
    display: inline-block;
    font-size: 24px;
    color: #333;
    border-radius: 50%;
    width: 40px;
    text-align: center;
    line-height: 40px;
    aspect-ratio: 1/1;
}

main#news .pagination {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    width: -moz-fit-content;
    width: fit-content;
    height: 2.1em;
}

main#news .pagination li {
    display: block;
    height: 100%;
}

main#news .pagination li span, main#news .pagination li a {
    display: block;
    padding: 0 10px;
    line-height: 2em;
    height: 100%;
    border-radius: 2px;
}

main#news .pagination li a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

main#news .pagination li.active {
    background-color: #989b7b;
}

main#news .pagination li.disabled {
    opacity: 0.2;
}

main#news .news-entry {
    display: block;
}

main#news .news-entry img {
    transition: box-shadow 0.4s;
}

main#news .news-entry:hover img {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}