.block.news {
    margin: 50rem 0;
}

.main-slider__news {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.main-slider__news.slick-initialized .slick-slide {
    display: flex;
}

.main-slider__news .slick-track {
    gap: 15rem;
}

.portal-new__item {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    position: relative;
    max-width: calc(100% / 3 - 15px);
    height: 220rem;
    font-family: "Montserrat", sans-serif;
    border: 1px solid #2F6E5B;
    /* overflow: hidden; */
}

.new__item--date {
    display: flex;
    align-items: center;
    height: fit-content;
    white-space: nowrap;
    padding: 5rem 10px;
    z-index: 1;
    font-size: 14rem;
    background: #66A692;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
    z-index: 1;
    margin-left: auto;
    border-radius: 5rem;
    /* height: 100%; */
}

.new__link--img {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 2;
}

.portal-new__info {
    /* position: absolute; */
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    font-size: 16rem;
    /* top: 50%; */
    /* transform: translateY(-50%); */
    font-family: "Montserrat", sans-serif;
    color: #fff;
    width: 100%;
    padding: 10rem 5rem;
    background: #2F6E5B;
}

.portal-new__info:hover {
    background: #66A692;
}

.portal-new__info:hover .new__item--date {
    background: #2F6E5B;
}

.portal-section .prev-item {
    width: 100%;
    height: 100%;
}

.portal-section .prev-item:not(:last-child) {
    margin-bottom: 40px;
}

.portal-new__title {
    line-height: 25px;
    margin-right: 3rem;
    color: #fff;
    cursor: pointer;
}

.portal-new__title a {
    color: #fff;
}

.portal-section .prev-item__link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5rem;
    width: 100%;
    height: 100%;
    min-height: 150rem;
    padding: 10px 5px;
    font-size: 18px;
    font-weight: 500;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    transition: all .4s ease;
}

.portal-section .prev-item__title {
    display: block;
    width: 100%;
    /* height: 50px; */
}

.portal-section .prev-item__title h4 {
    width: 100%;
    background: #66A692;
    box-shadow: 3px 5px 5px 0px rgb(31, 110, 91, 70%);
    color: #fff;
    padding: 3px 5px;
    font-size: 16rem;
}

.portal-section .prev-item__link:hover {
    /* box-shadow: inset 0px 0px 400px 110px #1f6e5b88; */
}

.portal-section .prev-item__link>span {
    background: #1F6E5B;
    padding: 1px 8px;
    font-size: 14rem;
}

@media screen and ( min-width: 2100px) {
    /* .portal-new__info {
        font-size: 10rem;
    } */
}


/* ------- */

.block.social {
    margin: 100rem 0;
}

.social__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    row-gap: 30rem;
}

.portal-social__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* padding: 15rem; */
    /* outline: 1px solid red; */
    height: 250px;
}

.portal-social__item img {
    display: flex;
    width: 100%;
}

.portal-social__item .social__item__info {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
    padding: 5rem 5rem;
    background: #66A692;
    border-radius: 5rem;
}

.portal-social__item .social__item--date {
    background: #2F6E5B;
    border-radius: 5rem;
    padding: 3rem 12rem;
    color: #fff;
    font-size: 14rem;
    font-weight: 600;
}


/* .portal-social__item .social__item--date:hover {
    background: #2F6E5B;
} */

.portal-social__item:hover .social__item--date {
    background: #66A692;
}

.portal-social__item:nth-child(1) {
    width: calc(100% - 45% - 10rem);
    max-height: 300px;
    height: auto;
}

.portal-social__item:nth-child(2) {
    width: calc(100% - 60% - 15rem);
    max-height: 300px;
    height: auto;
}

.portal-social__item:nth-child(3) {
    width: calc(100% / 3 - 30rem);
}

.portal-social__item:nth-child(4) {
    width: calc(100% / 3 - 30rem);
}

.portal-social__item:nth-child(5) {
    width: calc(100% / 3 - 30rem);
}

.portal-social__item:nth-child(1) .social__item--icon {
    content: url('../../assets/icon/social/Youtube.png');
}

.portal-social__item:nth-child(2) .social__item--icon {
    content: url('../../assets/icon/social/VK.png');
}

.portal-social__item:nth-child(3) .social__item--icon {
    content: url('../../assets/icon/social/dzen.png');
}

.portal-social__item:nth-child(4) .social__item--icon {
    content: url('../../assets/icon/social/tg.png');
}

.portal-social__item:nth-child(5) .social__item--icon {
    content: url('../../assets/icon/social/OK.png');
}


/* .portal-social__item::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 243, 243, 0.589);
} */

.portal-social__item:hover::before {
    top: 100%;
    opacity: 0;
    transition: all .09s ease-in;
}

.portal-social__item .social__link--img {
    display: flex;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.social__item__info a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social__item--icon {
    width: 32px;
}


/* ------- */

.portal-section .prev-item.prev-capsule {
    width: 100%;
    height: 240px;
    margin-bottom: unset;
}

.portal-section .prev-capsule .prev-item__link {
    justify-content: end;
    align-items: center;
    padding: 0 5rem 25rem;
    transition: all .4s ease;
    color: #1F6E5B;
    position: relative;
}

.portal-section .prev-capsule .prev-item__link::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 243, 243, 0.589);
}

.portal-section .all_capsule .prev-capsule {
    margin: 0 10px;
}

.portal-section .all_capsule .prev-capsule .prev-item__link::before {
    background: unset;
}

.portal-section .prev-capsule .prev-item__link:hover::before {
    top: 100%;
    opacity: 0;
    transition: all .09s ease-in;
}

.portal-section .all_capsule .prev-capsule .prev-item__link:hover {
    background-position: 50% 50%;
}

.portal-section .prev-capsule .prev-item__link:hover {
    transition: all .4s ease;
    background-position: 20% 50%;
    background-size: cover;
}

.portal-section .prev-capsule .prev-item__title {
    text-align: center;
    transition: all .6s ease;
    background: transparent;
    font-size: 24rem;
    font-family: "Montserrat", Sans-serif;
    box-shadow: unset;
    color: #1F6E5B;
    z-index: 1;
}

.portal-section .all_capsule .prev-capsule .prev-item__title {
    text-align: center;
    transition: all .6s ease;
    font-size: 24rem;
    font-family: "Montserrat", Sans-serif;
    box-shadow: unset;
    color: #1F6E5B;
    z-index: 1;
    background: rgb(238, 238, 238);
}

.portal-section .prev-capsule .prev-item__excerpt {
    font-size: 17rem;
    opacity: 0;
    transition: opacity .1s ease;
    background: unset;
    z-index: 1;
}

.portal-section .prev-capsule .prev-item__excerpt p {
    text-align: center;
}

.portal-section .prev-capsule .prev-item__link:hover {
    transition: all .6s ease;
}

.portal-section .prev-capsule .prev-item__link:hover .prev-item__title {
    margin-bottom: 10px;
    transition: all .6s ease;
    background: rgb(238, 238, 238);
}

.portal-section .prev-capsule .prev-item__link:hover .prev-item__title {
    margin-bottom: 10px;
    transition: all .6s ease;
    background: #1F6E5B;
    color: #fff;
}

.portal-section .all_capsule .prev-capsule .prev-item__link:hover .prev-item__excerpt {
    opacity: 1;
    height: auto;
    margin-bottom: 0;
    transition: all .6s ease;
    background: #1F6E5B;
    color: #fff;
}


/* ----- */

.portal-section .prev-item.prev-base {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.portal-section .prev-base .prev-item__link {
    justify-content: end;
    min-height: 220rem;
}



.historical_capsule_desc {
    font-size: 18rem;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

@media screen and ( max-width: 1280px) {
    .portal-new__title a {
        font-size: 20rem;
    }
}

@media screen and ( max-width: 1024px) {
    .portal-section .prev-item__link>span {
        font-size: 22rem;
    }
    .portal-section .prev-capsule .prev-item__title {
        font-size: 35rem;
    }
    .portal-section .prev-item__title h4 {
        font-size: 24rem;
    }
    .portal-section .prev-base .prev-item__link {
        min-height: 250rem;
    }
    .portal-section .prev-item__title {
        margin-top: -35rem;
    }
    .historical_capsule_desc {
        font-size: 26rem;
    }
}

@media screen and ( max-width: 890px) {
    .portal-section .prev-item__link {
        min-height: 200rem;
    }
    .portal-section .prev-item__title h4 {
        font-size: 30rem;
    }
    .portal-section .prev-item.prev-capsule {
        height: 500rem;
    }
}

@media screen and ( max-width: 768px) {
    .portal-section .prev-item__link>span {
        font-size: 22rem;
    }
    .portal-section .prev-item__link {
        min-height: 230rem;
    }
    .portal-section .prev-item.prev-capsule {
        height: 450rem;
    }
    .portal-section .prev-capsule .prev-item__title {
        font-size: 45rem;
    }
    .portal-section .prev-item__title h4 {
        font-size: 30rem;
    }
    .portal-section .prev-base .prev-item__link {
        min-height: 280rem;
    }
    .portal-section .prev-item__title {
        margin-top: -50rem;
    }
    .portal-section .prev-capsule .prev-item__link {
        padding: 0 5rem 70rem;
    }
    .portal-new__item {
        height: 300rem;
    }
    .portal-new__title a {
        font-size: 26rem;
    }
}

@media screen and ( max-width: 649px) {
    .portal-section .prev-item__link,
    .portal-section .prev-base .prev-item__link {
        min-height: 130rem;
    }
    .portal-section .prev-item__title h4 {
        font-size: 14rem;
    }
    .portal-section .prev-item__title {
        margin-top: -15rem;
    }
    .portal-section .prev-item__link>span {
        font-size: 14rem;
    }
    .portal-section .prev-item.prev-capsule {
        height: 260rem;
    }
    .portal-section .prev-capsule .prev-item__title {
        font-size: 18rem;
    }
    .portal-section .prev-capsule .prev-item__link {
        padding: 0 5rem 15rem;
    }
    .block.news {
        margin: 0 0;
    }
    .main-slider__news {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 10rem;
        margin-bottom: 24rem;
    }
    .portal-new__item {
        max-width: calc(100% / 3);
        height: 100rem;
    }
    .portal-new__info {
        /* flex-direction: column; */
        gap: 1rem;
        font-size: 8rem;
        padding: 5rem 5rem;
    }
    .new__item--date {
        padding: 3rem 6px;
        font-size: 6rem;
    }
    .block.social {
        margin: 0 0;
    }
    .social__list {
        row-gap: 15rem;
    }
    .portal-social__item .social__item__info {
        gap: 5rem;
        padding: 3rem 3rem;
    }
    .portal-social__item .social__item--date {
        padding: 3rem 5rem;
        font-size: 6rem;
    }
    .portal-social__item:nth-child(1) {
        width: calc(100% - 40% - 5rem);
    }
    .portal-social__item:nth-child(2) {
        width: calc(100% - 60% - 5rem);
    }
    .portal-social__item:nth-child(3),
    .portal-social__item:nth-child(4),
    .portal-social__item:nth-child(5) {
        width: calc(100% / 3 - 5rem);
        height: 190px;
    }
    .social__item--icon {
        width: 20px;
    }
    .portal-new__title a {
        font-size: 7rem;
    }
    .historical_capsule_desc {
        font-size: 11rem;
    }
}

@media screen and ( max-width: 480px) {
    .portal-section .new__items {
        gap: 15rem;
    }
    .portal-section .prev-item.prev-capsule {
        height: 180rem;
        margin-bottom: 0;
    }
    .portal-section .prev-item:not(:last-child) {
        margin-bottom: 15rem;
    }
    .portal-section .prev-item__link>span {
        font-size: 12rem;
    }
    .portal-section .prev-item__link {
        min-height: 120rem;
    }
    .portal-section .prev-capsule .prev-item__title {
        font-size: 20rem;
    }
    .portal-section .prev-item__title h4 {
        font-size: 12rem;
    }
    .portal-section .prev-base .prev-item__link {
        min-height: 130rem;
    }
    .portal-section .prev-item__title {
        margin-top: -10rem;
    }
    .portal-section .prev-capsule .prev-item__link {
        padding: 0 5rem 20rem;
    }
    .portal-section .main-slider__news {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 10rem;
        margin-bottom: 30rem;
    }
    .portal-section .portal-new__item {
        max-width: 100%;
        height: 180rem;
    }
    .portal-new__info {
        font-size: 12rem;
    }
    .new__item--date {
        font-size: 10rem;
    }
    .portal-new__item:last-child {
        display: none;
    }
    .social__list {
        display: flex;
        flex-direction: row;
        row-gap: 15rem;
    }
    .portal-social__item:nth-child(1) {
        width: 100%;
        height: 220px;
    }
    .portal-social__item:nth-child(2),
    .portal-social__item:nth-child(3),
    .portal-social__item:nth-child(4),
    .portal-social__item:nth-child(5) {
        width: calc(100% / 2 - 5rem);
        height: 190px;
    }
    .portal-social__item .social__item__info {
        position: absolute;
        top: 5px;
        right: 5px;
    }
    .portal-social__item .social__item--date {
        padding: 1rem 2rem;
        font-size: 8rem;
    }
    .portal-new__title a {
        font-size: 10rem;
    }
    .historical_capsule_desc {
        font-size: 13rem;
    }
}

@media screen and ( max-width: 375px) {
    /* .social__list {
        display: flex;
        flex-direction: row;
        row-gap: 15rem;
    }
    .portal-social__item:nth-child(1),
    .portal-social__item:nth-child(2),
    .portal-social__item:nth-child(3),
    .portal-social__item:nth-child(4),
    .portal-social__item:nth-child(5) {
        width: 100%;
        height: 220px;
    } */
    .portal-social__item:nth-child(1) {
        width: 100%;
        height: 180px;
    }
    .portal-social__item:nth-child(2),
    .portal-social__item:nth-child(3),
    .portal-social__item:nth-child(4),
    .portal-social__item:nth-child(5) {
        width: calc(100% / 2 - 5rem);
        height: 150px;
    }
}