:root {
    --hugo-news-color-bg: #8E44AD;
    --hugo-news-color-text: white;
}

/* List */

.hugo--news .news-item {
    padding: 1rem 0;
    margin: 1rem 0;
    border-bottom: 1px solid #DDDDDD;
}

.hugo--news .news-item .info {
    flex: 0 0 100px;
    text-align: center;
}

.hugo--news .news-item .content {
    flex: 1 1 auto;
    text-align: left;
}

.hugo--news .news-item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--hugo-news-color-bg);
    color: var(--hugo-news-color-text);
    font-size: 24px;
    margin-bottom: 0.5rem;
}

.hugo--news .news-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hugo--news .news-item .date {
    text-align: center;
    font-size: .8rem;
}

.hugo--news .news-item .name .btn-link {
    padding: 0;
    margin: 0;
    font-size: 1.5rem;
    text-decoration: none;
    color: #333;
}

.hugo--news .news-item .name .has-attachments {
    font-size: 1rem;
}

.hugo--news .news-item .perex {
    font-size: 1rem;
    color: #888;
    margin-top: 0.5rem;
}


/* Modal */

.hugo--news .modal .modal-content {
    border-radius: 0;
}

.hugo--news .modal .modal-header {
    display: flex;
    align-items: center;
    border-radius: 0;
    background-color: var(--hugo-news-color-bg);
    color: var(--hugo-news-color-text);
}

.hugo--news .modal .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #3333;
    margin-right: .5rem;
}

.hugo--news .modal .btn-close {
    margin-right: 1rem;
}

.hugo--news .modal .sidebar {
    border-left: 1px solid #F3F3F3;
    background-color: #FAFAFA;
}

.hugo--news .modal .sidebar img {
    border-radius: 15px;
}

.hugo--news .modal .sidebar .date {
    text-align: center;
    font-size: .8rem;
    margin-bottom: 1rem;
}