.mp-news {
    position: relative;
    background: var(--brown);
}

.mp-news-body {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*gap: calc(var(--gap) * 2);
    gap: var(--gap);*/
}

.mp-news-body__preview {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
    height: 100%;
}

.mp-news-body__list {
    display: flex;
    flex-direction: column;
    height: 570px;
    /*gap: var(--gap);*/
}

.mp-news-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius-card);
    position: relative;
    z-index: 1;
}

.mp-news-body__preview .mp-news-item {
    flex-direction: column;
    height: 100%;
}

.mp-news-body__list .mp-news-item {
    display: grid;
    grid-template-columns: 167px 1fr;
    gap: var(--gap);
    max-width: calc(100% - 30px);
}

.mp-news__image {
    position: relative;
    overflow: hidden;
    padding-bottom: 50%;
    aspect-ratio: 16 /9;
    border-radius: var(--border-radius-inner);
    border: unset;
}

.mp-news__image img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16 /9;
}


.mp-news__image._noimage img {
    width: 50%;
    height: 50%;
    filter: brightness(20);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: visible;
}

.mp-news-item__body {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.mp-news-body__preview .mp-news-item__body {
    padding-bottom: var(--gap);
    padding-left: 1rem;
    padding-right: 1rem;
}

.mp-news-item__category {
    display: inline-flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    color: var(--muted-color);
    z-index: 2;
    position: relative;
}

.mp-news-item__name {
    color:var(--white);
    font-size: 20px;
}

.mp-news-item__date {
    color: #ffffff8c;
    font-size: 13px;
}

.mp-news-item__text {

}


.mp-news-item:hover {
    background: #0000005e;
}

.mp-news-body__list .mp-news__image {
    border: 1px solid;
    max-width: 240px;
    max-height: 240px;
    aspect-ratio: 1;

}

.mp-news-body__list-swiper {
    position: relative;
}

.mp-news-body__list-swiper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom var(--brown), var(--brown));
    z-index: 1000;
}


.mp-news-body__list .mp-news__image img {
    aspect-ratio: 1;
}

.mp-news__image._noimage {
    border: 1px solid #3b342e;
}

.mp-news__image._noimage img {
    opacity: 50%;
    filter: unset;
    object-fit: contain;
}

/*
:root {
    --prevtext-fz: 14px;
    --prevtext-lh: 1.25;
    --prevtext-rows: 3;
}

.page__main .news {
    padding-top: 48px;
    padding-bottom: 20px;
    position: relative;
    z-index: 2;
}

.news {
    max-width: 100%;
    display: column;
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
    gap: var(--gap);
}

.news-group {
    border-radius: 8px;
    background: var(--white);
    position: relative;
    z-index: 1;
}

!*.news-group::before {
    background: var(--white);
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 92%;
    z-index: -1;
    -webkit-box-shadow: 0px 10px 16px -11px rgb(20 29 31 / 30%);
    box-shadow: 0px 10px 16px -11px rgb(20 29 31 / 30%);
    border-radius: 4px;
}*!

.news-group__header {
    position: relative;
    padding: 24px 32px 16px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.news-group__header::before {
    background: var(--border-color);
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    width: calc(100% - 64px);
    height: 1px
}

.news-group__header h3 {
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
}

.news-group__header a {
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    white-space: nowrap;
}

.news-group__body {
    padding: 8px 0 16px;
}


.news > * {
    break-inside: avoid;
    margin-bottom: var(--gap);
}

.news-list {
    word-wrap: break-word;
}

.news-list img.preview_picture {
    float: left;
    margin: 0 4px 6px 0;
}

.news-date-time {
    color: #486DAA;
}

.news__block {
    height: auto;
    max-height: fit-content;
    margin-top: 32px;
}

.news__block:nth-child(1) {
    margin-top: 0;
}

.news--grid {
    margin-top: 48px;
    display: flex;
    flex-flow: column wrap;
    margin-bottom: 70px;
}

.masonry-2-col {
    column-count: 2;
    column-gap: 32px;
    flex-flow: column wrap;
}

.news__block {
    height: auto;
    !*box-shadow: 0 0 30px rgba(20, 29, 31,0.1);*!
    border-radius: 8px;
    background-color: var(--white);
    padding-top: 24px;
    position: relative;
}

.news__block::before {
    content: '';
    position: absolute;
    width: calc(100% - 16px);
    height: 92%;
    left: 8px;
    bottom: 0;
    z-index: -1;
    -webkit-box-shadow: 4px 4px 16px 0px rgb(20 29 31 / 30%);
    -moz-box-shadow: 4px 4px 16px 0px rgba(20, 29, 31, 0.3);
    box-shadow: 4px 4px 16px 0px rgb(20 29 31 / 30%);
}

.news__block a:hover {
    text-decoration: none;
}

.news__block a:hover .preview__text::before {
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #484545 100%);
    transition: all 0s ease 0s;
}

.news__head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E3E7E8;
    padding: 0 32px 16px;
}

.news__head h3 {
    font-size: 18px;
    color: #141D1F;
}

.news__list {
    padding: 12px 0;
}

.news__name {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
}

.link__all {
    color: var(--primary-color);
    font-size: 14px;
    text-align: right;
}

.link__all:hover {
    color: #52747a
}

.news__block .date
    !*,.notification__news .date*!
{
    margin-top: 5px;
    font-size: 12px;
    color: var(--gray2-color);
    min-width: 65px;
}


.news__link--container {
    !*padding-bottom: 32px;
    padding-top: 4px;*!
    padding: 24px 0 8px;
    transition: all 0.3s ease 0s;
}

.news__link--container:hover {

}

.news__link {
    display: flex;
    padding: 16px 32px;
    transition: all 0.3s ease 0s;
}

.news__link:hover {
    background-color: #484545;
    cursor: pointer;
    text-decoration: none;
}

.news__logo {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    !*justify-content: center;*!
}

.news__logo img {
    max-width: 60px;
    min-width: 60px;
    max-height: 60px;
    min-height: 60px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.news__info {
    min-width: 160px;
    margin-left: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news__info a {
    color: #3D575C;
}

.news__link .date {
    color: var(--gray2-color);
    margin-top: 5px;
    font-size: 12px;
}

.preview__text {
    font-size: var(--prevtext-fz);
    line-height: var(--prevtext-lh);
    font-weight: 200;
    color: #ffffffa3;
    background-color: transparent;
    width: 100%;
    border: none;
    overflow: hidden;
    resize: none;
    position: relative;
    display: block;
    pointer-events: none;
    padding-left: 0;
    padding-right: 0;
    margin-top: 4px;
    height: calc(var(--prevtext-rows) * var(--prevtext-fz) * var(--prevtext-lh));
}

.preview__text::before {
    !*content: "";*!
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 1.2em;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white 100%);
    transition: all 0s ease 0s;
}

.news__list--container::-webkit-scrollbar {
    color: red;
}


.news__current-house .news {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(568px, 1fr));
    gap: var(--gap);
    align-items: stretch;
    justify-content: center;
}

.news__current-house .news__block {
    margin-top: 0;
}

@media (max-width: 2160px) and (min-width: 992px) {
    .news__current-house ._container {
        max-width: 1820px;
        width: 100%;
        padding: 0 24px;
    }
}

@media (max-width: 992px) {
    .news {
        -webkit-columns: 1;
        -moz-columns: 1;
        columns: 1;
    }
}

@media (max-width: 768px) {
    .masonry-2-col {
        column-count: 1;
        margin: 0 15px;
    }
}

@media (max-width: 479px) {
    .news-group {
        margin-left: -15px;
        margin-right: -15px;
    }

    .news-group__header {
        padding: 24px 16px 8px;
    }

    .news-group__header::before {
        left: 16px;
        width: calc(100% - 32px);
    }

    .news__link {
        padding: 16px;
    }

    .news__info {
        margin-left: 16px;
    }
}

@media (max-width: 320px) {
    .masonry-2-col {
        max-width: 90%;
    }
}
*/
