.news-header {
padding-top: calc(160px + 104px);
}
.news-header__title {
font-size: 8.8vw;
line-height: 120%;
letter-spacing: -0.02em;
width: 30vw;
}
.news-filter {
width: 190px;
min-width: 190px;
box-sizing: border-box;
border: 1px solid #667F8C;
padding: 17px 28px;
height: fit-content;
}
.news-filter__item {
transition: margin .3s;
visibility: hidden;
height: 0;
margin-top: 0;
cursor: pointer;
}
.news-filter__item.active {
transition: margin .3s;
visibility: visible;
height: auto;
margin-top: 4px;
}
.news-filter__show {
cursor: pointer;
position: relative;
}
.news-filter__show::after {
content: '';
display: block;
position: absolute;
top: 0;
right: 0;
background-image: url(//sz-2.ru/wp-content/themes/atmosphere/assets/img/arrow_down_light_white.png);
background-size: 24px;
background-repeat: no-repeat;
background-position: center;
height: 24px;
width: 24px;
transition: all .3s;
}
.show .news-filter__show::after {
transform: rotate(180deg);
transition: all .3s;
}
.filter-all.active {
margin-top: 16px;
}
.news-items {
position: relative;
z-index: 1;
padding-top: 8.9vw;
}
.news-item {
width: calc((100% - 40px)/2);
height: calc((100vw - 128px - 190px - 96px)/2);
min-height: 500px;
box-sizing: border-box;
position: relative;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
cursor: pointer;
transition: all .3s;
}
.news-item.hide {
display: none;
}
.news-item::before {
content: '';
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 0;
transition: all .3s;
}
.news-item:hover::before {
background: rgba(0, 0, 0, 0.2);
transition: all .3s;
}
.news-item-mt:nth-child(2n) {
position: relative;
top: 6.72vw;
}
.news-item__date {
font-size: 3.75vw; font-weight: 300;
line-height: 100%;
}
.news-item__date span {
margin-left: 10px;
}
.news-item__text {
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 5; line-clamp: 5;
-webkit-box-orient: vertical;
}
.news-item__date, 
.news-item__title,
.news-item__text {
position: relative;
z-index: 1;
} .modal_item.modal_item__active {
background-image: none;
padding: 0;
margin-top: 100px;
margin-bottom: 100px;
top: 0;
transform: translate(-50%, 0%);
}
.news-item-popup__bg {
height: 456px;
padding: 100px 40px;
box-sizing: border-box;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}
.news-item-popup__bg::before {
content: '';
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: rgba(0, 0, 0, 0.2);
z-index: 0;
}
.news-item-popup__text {
padding: 80px 100px;
gap: 56px;
}
.modal-popup {
display: none;
}
.modal_item {
background-image: none;
padding: 0;
overflow-y: scroll;
}
.modal-content-tall {
margin-top: 120px;
} @media (min-width: 1920px) {
.news-item-popup {
min-width: 58vw;
}
}
@media (min-width: 1400px) {
.news-items__cont {
padding-bottom: calc(160px + 6vw);
} 
}
@media (max-width: 1920px) {
.news-item-popup {
min-width: 1108px;
}
}
@media (max-width: 1400px) {
.news-item-popup {
min-width: auto;
width: 80vw;
}
}
@media (max-width: 992px) {
.news-items__cont {
flex-direction: column;
}
.news-item-popup {
width: 90vw;
}
}
@media (max-width: 768px) {
.news-header {
padding-top: 160px;
}
.news-items__wrap {
flex-direction: column;
}
.news-item {
width: 100%;
height: auto;
min-height: 340px;
}
.news-item-mt:nth-child(2n) {
position: relative;
top: 0;
}
.news-item__date {
font-size: 32px;
}
.news-item-popup__text, .news-item-popup__bg {
padding: 60px 40px;
}
}
@media (max-width: 540px) {
.news-item-popup__text,
.news-item-popup__bg {
padding: 40px 20px;
}
.news-item-popup__bg {
height: 50vw;
}
}
@media (max-width: 360px) {
.news-header__title {
font-size: 32px;
}
}