h1,
h2,
h3 {
    font-family: 'Montserrat' !important;
}

section.post-cover {
    max-height: 70rem;
    position: relative;
}

article img {
    border-radius: 15px;
    margin: 2rem 0;
}

.news-wrapper {
    display: flex;
    gap: 7.6rem;
    flex-direction: row;
    margin: 6rem 0;
}

div#column-left {
    flex-basis: 20%;
}

div#column-right {
    flex-basis: 70%;
}

article.post-content.container h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    font-weight: 600;
}

p.date {
    font-family: 'Montserrat';
    font-size: 1.2rem;
    color: #aaa;
    font-weight: 400;
}

.latest-news__grid {
    display: flex;
    flex-direction: column;
    gap: 3.6rem;
}

.latest-news__item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.latest-news__item h3 a {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #000;
    font-weight: 600;
}

article {
    display: flex;
    flex-direction: column;
}

p strong {
    font-size: 1.6rem;
    line-height: 1.6;
    padding-bottom: 1.6rem;
    font-weight: 600;
}

article p,
article p em,
article p a,
article p u {
    font-size: 1.6rem;
    line-height: 1.6;
}

u {
    font-size: 2rem !important;
    display: flex;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

figure.wp-block-image {
    margin: 2rem 0;
}

section.latest-news.container {
    position: sticky;
    top: 15rem;
}

a.btn.dark.bordered {
    border: 2px solid #000;
    background: #fff !important;
    box-shadow: none;
    color: #000;
    width: fit-content;
    padding: 0rem 2rem;
    margin-top: 3.3rem;
    transition: background .4s ease, color .4s ease;
}

a.btn.dark.bordered:hover {
    transform: none;
    background: #000 !important;
    color: #fff;
}

a.btn.dark.to-news img.btn-icon {
    left: 16px;
    transform: rotate(-180deg);
}

a.btn.dark.bordered.to-news .spacer {
    width: 1.6rem;
}

section.read-also.container h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-top: 6rem;
    margin-bottom: 1.6rem;
}

.wp-block-gallery img {
    margin-top: 2rem;
    width: 100%;
}

.read-also__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.4rem;
}

.read-also__item {
    flex-basis: calc(50% - 1.2rem);
    background: #f7f7f7;
    border-radius: 15px;
}

.read-also__item a {
    display: flex;
    flex-direction: row;
    gap: 2.4rem;
}

.thumb {
    flex-basis: calc(50% - 1.2rem);
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    overflow: hidden;
    display: flex;
}

.thumb img {
    transition: transform .4s ease;
}

.read-also__item:hover .thumb img {
    transform: scale(1.05);
}

.read-also__item-content {
    flex-basis: calc(60% - 1.2rem);
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 2rem 0rem;
    justify-content: space-between;
}

.read-also__item h3 {
    font-size: clamp(14px, 1.4rem, 18px);
    font-weight: 600;
    color: #000;
    line-height: 1.2;
    flex-basis: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.2em *4);
    /* Примерно на 4 строки */
}

.read-also__item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-also__item p.date {
    color: #000;
    flex-basis: 50%;
}

.thumb img {
    max-height: 160px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.news__btn-details {
    font-style: normal;
    font-weight: 600;
    font-size: clamp(12px, 1.2rem, 14px);
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    text-align: right;
    color: #000000;
    transition: color 0.3s ease;
}

.news__btn-details span {
    font-size: 1.8rem;
}

.news__btn-details svg {
    width: 11px;
    height: 11px;
}

span.post-date {
    font-size: clamp(14px, 1.4rem, 16px);
    line-height: 1.2;
    color: #aaa;
    margin-top: 1.4rem;
    margin-bottom: 2.8rem;
}

.hero__social-icons {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: calc((100vw - var(--content-wide-width)) / 2);
    top: 160px;
    gap: 2.1rem;
    z-index: 2;
}

.read-also__item h3 {
    transition: opacity .4s ease;
}

.read-also__item:hover h3 {
    opacity: 0.5;
}

div#column-right-end {
    width: 9rem;
}

span.lang-switcher {
    font-style: normal;
    font-weight: 700;
    font-size: 17px;
    line-height: 21px;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
}

div#column-right-end .share-icons__wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 15rem;
    align-items: center;
}

a.share-icons__link.share-last {
    position: relative;
}

.copy-message {
    font-size: 12px;
    margin-top: 5px;
    color: #333;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 11rem;
    text-align: left;
    background: #33333391;
    padding: 1rem 2rem;
    color: #fff;
    border-radius: 10px;
}

.copy-message[style*="display: block"] {
    opacity: 1;
}

.share-block-main {
    margin-top: 3.6rem;
}

.share-block-main .share-icons__wrapper {
    display: flex;
    flex-direction: row;
    gap: 2.4rem;
    align-items: center;
    position: relative;
}

.share-block-main .copy-message {
    top: 2rem;
}

.mobile-social-block {
    display: none;
}

.swiper.latest-news__swiper .swiper-wrapper {
    flex-direction: column;
    gap: 2.4rem;
}

.wp-block-image img {
    width: 100%;
}

.latest-news__item h3 a {
    transition: opacity .4s ease;
}

.latest-news__item:hover h3 a {
    opacity: 0.5;
}

@media (min-width: 2000px) {
    .latest-news__item h3 a {
        font-size: 2.2rem;
    }

    a.btn.dark.bordered.to-news .spacer {
        width: 3.6rem;
    }

    p.date,
    span.post-date,
    .news__btn-details {
        font-size: 2rem;
    }

    article.post-content.container h1 {
        font-size: 3.4rem;
    }

    p strong,
    article p,
    article p em,
    article p a {
        font-size: 2.4rem;
    }

    img.share-icons__icon {
        transform: scale(1.5);
    }

    .share-block-main .share-icons__wrapper,
    div#column-right-end .share-icons__wrapper {
        gap: 3.4rem;
    }

    section.read-also.container h2 {
        font-size: 2.6rem;
    }

    .read-also__item h3,
    .news__btn-details span {
        font-size: 2.2rem;
    }

    section.read-also.container h2 {
        margin-top: 7rem;
        margin-bottom: 2.6rem;
    }

    a.btn.dark.bordered.to-news {
        font-size: 2.5rem;
    }

    a.btn.dark img.btn-icon {
        position: absolute;
        right: 20px;
        height: 20px;
    }
}

@media (orientation: portrait) {

    .news__btn-details {
        font-size: 10px;
        line-height: 100%;
    }

    .news__btn-details svg {
        width: 8.6px;
        height: 8.6px;
    }

    .swiper.latest-news__swiper .swiper-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .news-wrapper {
        flex-direction: column;
    }

    .swiper-wrapper.latest-news__grid {
        display: block;
        gap: 24px;
        padding-bottom: 2rem;
    }


    div#swiper-wrapper-7a3c35eeb7cccd6a {
        display: block;
    }

    span.swiper-pagination-bullet {
        width: 3.7rem;
        border-radius: 0;
        height: 1px;
        background: #aaa;
    }

    .hero__pagination .swiper-pagination-bullet {
        opacity: 1 !important;
        background: #f2f2f2;
    }

    .hero__pagination .swiper-pagination-bullet-active {
        opacity: 1 !important;
    }

    .news-content-flex-width {
        max-width: 100vw;
        width: 100%;
    }

    div#column-right {
        max-width: 90vw;
        margin: auto;
    }

    .read-also__item {
        flex-basis: 100%;
    }

    div#column-right-end {
        display: none;
    }

    /* a.btn.dark.bordered.to-news,
    .latest-news__item.swiper-slide-active {
        margin-left: 5vw;
    } */

    .latest-news__item {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    section.latest-news.container .btn {
        display: none;
    }

    .mobile-social-block {
        max-width: 90vw;
        margin: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 4.4rem;
    }

    .mobile-social-block .btn {
        display: flex !important;
        margin: 0 !important;
    }

    .mobile-social-block .share-icons__wrapper {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        align-items: center;
    }

    .news-wrapper {
        margin: 2.7rem 0;
    }

    .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
        bottom: 0;
    }

    .swiper-wrapper {
        padding-bottom: 2rem;
    }

    .latest-news__item h3 a {
        font-size: 1.2rem;
        font-weight: 600;
        color: #5e6768;
    }

    p.date {
        font-size: 1rem;
    }

    article.post-content.container h1 {
        font-size: 2rem;
    }

    p strong {
        font-size: 1.4rem;
        line-height: 1.4;
        padding-bottom: 1.4rem;
    }

    article p,
    article p em,
    article p a {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    section.read-also.container h2 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-top: 3rem;
        margin-bottom: 1.9rem;
    }

    .read-also__item {
        font-size: 1.2rem;
    }

    .read-also__item a {
        gap: 1.6rem;
    }

    .thumb {
        flex-basis: calc(45% - 0.8rem);
    }

    .read-also__item-content {
        flex-basis: calc(55% - 0.8rem);
        display: flex;
        flex-direction: column;
        padding: 1.3rem 1.3rem 1.3rem 0rem;
        justify-content: space-between;
    }

    .thumb img {
        max-height: 12rem;
    }

    .read-also__item h3 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #000;
        line-height: 1.2;
        flex-basis: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        max-height: calc(1.2em *4);
        /* Примерно на 4 строки */
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        text-overflow: ellipsis;
    }

    article img {
        margin: 1.9rem 0;
    }

    figure.wp-block-image {
        margin: 0;
    }

    section.post-cover {
        max-height: 40rem;
        position: relative;
    }

    .news-wrapper {
        gap: 5rem;
    }

    .latest-news__item {
        height: 90px !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .swiper.latest-news__swiper .swiper-wrapper {
        flex-direction: row;
    }

    .share-block-main .share-icons__wrapper {
        gap: 2rem;
    }

    .share-block-main {
        margin-top: 2rem;
    }
}

@media (min-width: 3000px) {
    section.post-cover {
        max-height: 70dvh;
    }

    article.post-content.container h1 {
        font-size: 5rem;
    }

    p.date,
    span.post-date,
    .news__btn-details {
        font-size: 3rem;
    }

    p strong,
    article p,
    article p em,
    article p a {
        font-size: 3.4rem;
    }

    .latest-news__item h3 a {
        font-size: 3.2rem;
    }

    a.btn.dark.bordered.to-news {
        font-size: 30px;
        height: 80px;
        max-height: 80px;
    }

    .thumb {
        flex-basis: 50%;
    }

    .thumb img {
        width: fit-content;
    }

    a.btn.dark.to-news img.btn-icon {
        left: 30px;
    }

    a.btn.dark img.btn-icon {
        height: 50px;
    }

    a.btn.dark.bordered {
        width: 100%;
    }

    .read-also__item h3,
    .news__btn-details span {
        font-size: 3.2rem;
    }

    .thumb img {
        max-height: 500px;
        object-fit: cover;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        height: 100%
    }

    img.share-icons__icon {
        transform: scale(2);
    }

    .share-block-main .share-icons__wrapper,
    div#column-right-end .share-icons__wrapper {
        gap: 5.4rem;
    }

    section.read-also.container h2 {
        font-size: 3.6rem;
    }

    .read-also__item-content {
        flex-basis: calc(60% - 1.2rem);
        display: flex;
        flex-direction: column;
        padding: 2rem 2rem 2rem 0rem;
        justify-content: space-between;
        gap: 2rem;
    }

    div#column-right-end .share-icons__wrapper {
        top: 270px;
    }

    section.latest-news.container {
        top: 270px;
    }
}