.mg-main-news-item {
    background: #fff;
    border: none;
}

.mg-main-news-item .mg-news-date,
.mg-news-details .mg-news-date {
    color: var(--main-text-color);
    font-size: 13px;
    letter-spacing: 0.5px;
    font-weight: 500;
    line-height: 1.77;
}

.mg-news-details .mg-news-date {
    text-align: center;
}

.mg-date-icon {
    background: none;
    width: 0;
    height: 0;
}

.mg-main-news-item .mg-news-date::before {
    content: '\f073';
    font-family: 'fontAwesome';
}

.mg-main-news-block .mg-news-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.83;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.mg-news-title a {
    font-size: inherit;
    line-height: inherit;
}

.mg-news-title a:hover {
    text-decoration: none;
    color: var(--main-color);
}

.mg-main-news-item .mg-news-info {
    padding: 0 15px;
}

.mg-news-main-desc,
.tags {
    color: #808080;
    font-size: 12px;
    margin-bottom: 10px;
    font-weight: bold;
}

.tags a {
    color: var(--main-color);
}

.mg-main-news-block h1.mg-news-title,
.mg-news-details h1 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    padding: 7px 0;
    margin-bottom: 20px;
}

.mg-news-details h1 {
    margin: 15px 0;
    text-align: center;
}

.mg-main-news-block .mg-back,
.mg-news-details .mg-back {
    font-weight: 500;
    color: var(--main-color);
    font-size: 14px;
}

.mg-main-news-block .mg-back::before,
.mg-news-details .mg-back::before {
    content: '\f177';
    font-family: 'fontAwesome';   
}

.similar-articles, .mg-news-details {
    background: var(--accent-background-color);
    padding: 0 0 30px;
    margin: 0 auto;
}

.mg-news-details .mg-news-full-desc {
    width: 100%;
    font-size: inherit;
    text-align: justify;
    margin-bottom: 15px;
    text-indent: 20px;
    line-height: 1.8;
    background: inherit;
    max-width: none;
}

.mg-news-details .mg-news-full-desc h2 {
    text-indent: 0px
}

.mg-news-details .mg-news-full-desc img {
    display: block;
    text-indent: 0;
    object-fit: contain;
    object-position: center;
}

.mg-news-details .tags {
    text-align: center;
}

.mg-main-news-block .rss {
    display: block;
    margin: 10px 0;
    float: none;
}


@media (max-width: 600px) {
    .mg-main-news-item .mg-list-news-img img {
        position: static;
        object-position: 0 center;
        width: 100%;
        object-fit: contain;
    }

    .mg-main-news-item .mg-list-news-img {
        margin-bottom: 10px;
    }

    .mg-main-news-item .mg-news-info {
        padding: 0;
    }
}