.fn {
    margin-bottom: 100px;
}

.fn-title {
    font-weight: 900;
    font-size: 36px;
    color: var(--black);
    margin-bottom: 30px;
}

.fn-news-grid {
    display: grid;
    grid-template-columns: 68fr 32fr;
    grid-gap: 20px;
}

@media (max-width: 900px) {
    .fn-news-grid {
        grid-template-columns: 100%;
        grid-row-gap: 50px;
    }
}

.fn-categories__slider {
    width: 100%;
    margin-bottom: 10px;
}

.news-categories__item {
    width: fit-content;
    padding-bottom: 6px;
    font-weight: 600;
    font-size: 18px;
    color: var(--black);
    opacity: 0.45;
    color: #000;
    text-decoration: none;
    display: block;
    text-align: center;
}


.fn-news-article {
    padding: 20px 36px 34px 36px;
    background: var(--white);
    box-shadow: 0px 21px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

@media (max-width: 640px) {
    .fn-news-article {
        padding: 18px 16px;
    }
}

@media (max-width: 576px) {
    .fn-news-article {
        padding: 0;
        box-shadow: none;
    }
}

.post-backlink,
.post-backlink:visited {
    fill: var(--light-orange);
    color: var(--black);
    text-decoration: none;
    opacity: 0.7;
    font-size: 16px;
    transition: opacity 0.4s ease, color 0.4s ease, transform 0.4s ease;
}

.post-backlink:active,
.post-backlink:hover {
    fill: var(--orange);
    color: var(--light-orange);
    opacity: 1;
}

.post-backlink svg {
    transition: transform 0.4s ease;
}

.post-backlink:hover svg {
    transform: translateX(-4px) rotate(-90deg);
}

.post-backlink > svg {
    fill: var(--orange);
    transform: rotate(-90deg);
}

@media (max-width: 768px) {
    .post-backlink {
        display: none;
    }
}

.fn-news-article__brief-info {
    font-weight: 300;
    font-size: 16px;
    color: var(--black);
    opacity: 0.65;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .fn-news-article__brief-info {
        margin-bottom: 0;
    }
}

.fn_news-article__views {
    display: flex;
    align-items: center;
}

.fn_news-article__views img {
    padding-right: 6px;
}

.fn-news-article__title {
    font-weight: 900;
    font-size: 28px;
    color: var(--black);
    margin-bottom: 15px;
    margin-top: 15px;
    line-height: 100%;
}

@media (max-width: 460px) {
    .fn-news-article__title {
        font-size: 18px;
        line-height: 22px;
    }
}

.image-wrapper {
    position: relative;
}

.fn-news-article__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    margin-bottom: 65px;
    max-height: 335px;
}

.img-post {
    display: block;
    margin: auto;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    background: var(--almost-white);
    min-height: 65px;
}

@media (min-width: 769px) {
    .img-fluid {
        min-height: 330px;
    }
}

.fn-more-info {
    margin-bottom: 20px;
    display: flex;
    justify-content: start;
    align-items: center;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .fn-more-info {
        position: absolute;
        bottom: 0px;
        left: 5px;
        background: var(--white);
        padding: 3px 6px 3px 12px;
        border-radius: 10px;
        margin-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .fn-more-info {
        display: none;
    }
}

.fn-more-info p {
    font-size: 14px;
    font-weight: 600;
    margin-right: 7px;
}

@media (max-width: 576px) {
    .fn-more-info {
        flex-wrap: wrap;
    }

    .fn-more-info p {
        margin-bottom: 14px;
    }
}

.fn-yandex-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    width: 100%;
}

@media (max-width: 460px) {
    .fn-yandex-buttons {
        grid-template-columns: 1fr;
    }
}

.button--yandex-1 {
    color: var(--black);
    width: auto;
    background: var(--white);
    border: 1px solid var(--white);
    border-radius: 9px;
    padding: 8px 24px;
    transition: box-shadow 0.4s ease;
    gap: 20px;
}

@media (min-width: 767px) {
    .button--yandex-1 {
        padding: 4px 16px;
    }
}

.button--yandex-1:hover {
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0px 0px 5px rgb(0 0 0 / 17%);
}

.button--back-dzen {
    margin-top: -8px;
    margin-bottom: 15px;
    font-size: 16px;
}

.button--yandex-2 {
    width: auto;
    background: #fff;
    border: 1px solid var(--black-opacity-0-01);
    border-radius: 9px;
}

.fn-read-more {
    font-weight: 300;
    font-size: 18px;
    color: var(--black);
    opacity: 0.65;
    white-space: nowrap;
}

.fn-description {
    margin-bottom: 24px;
}

.fn-description p:not(:first-child) {
    margin-top: 10px;
    margin-bottom: 10px;
}

.fn-description p:empty {
    display: none;
}

.fn-description a {
    color: var(--orange);
    text-decoration: solid underline;
}

.fn-description blockquote {
    padding-left: 20px;
    font-style: italic;
}

.fn-description blockquote:not(:first-child) {
    margin-top: 20px;
}

.fn-description p:last-of-type,
.fn-description blockquote:last-of-type {
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .fn-author-info__wrapper {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 10px;
    }

    .fn-author-info {
        order: 1;
    }

    .fn-author-info__wrapper-ad {
        order: 2;
    }
}

.fn-author-info {
    margin-bottom: 8px;
}

.fn-list a {
    text-decoration: none !important;
}

.fn-news-item {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.fn-author-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.author__avatar {
    width: 39px;
    height: 39px;
    border-radius: 6px;
    object-fit: cover;
    object-position: top;
    margin-right: 15px;
}

@media (max-width: 460px) {
    .author__avatar {
        margin-right: 10px;
    }
}

.author-name, .sources-list {
    white-space: nowrap;
}

.author-label,
.sources-label {
    font-size: 15px;
    color: var(--grey);
}

.author-info {
    margin-right: 34px;
}

@media (max-width: 460px) {
    .author-info {
        margin-right: 0;
    }
}

.author-info .fn-sources {
    display: flex;
    flex-direction: column;
}

@media (max-width: 640px) {
    .fn-author-info {
        font-size: 14px;
    }
}

@media (max-width: 460px) {
    .fn-author-info {
        display: flex;
        justify-content: space-between;
        gap: 6px 10px;
    }
}

.fn-social-networks {
    display: flex;
    align-items: center;
    justify-content: start;
}

.fn-social-network__buttons {
    display: flex;
    grid-gap: 12px;
    width: fit-content;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .fn-social-network__buttons {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        grid-gap: 14px;
        width: 100%;
    }
}

@media (max-width: 460px) {
    .fn-social-network__buttons {
        grid-gap: 12px;
    }
}

.fn-social-network__buttons .button {
    width: 48px;
    height: 48px;
}

@media (max-width: 768px) {
    .fn-social-network__buttons .button {
        width: 100%;
        height: 50px;
    }
}

.button--facebook {
    background: var(--facebook-color-secondary);
    border: 1px solid var(--facebook-color-secondary);
    border-radius: 7px;
}

.button--telegram {
    background: rgb(80, 158, 212);
    border: 1px solid rgb(80, 158, 212);
    border-radius: 7px;
}

.button--vk {
    background: var(--vk-color-secondary);
    border: 1px solid var(--vk-color-secondary);
    border-radius: 7px;
}

.button--twitter {
    background: var(--twitter-color-secondary);
    border: 1px solid var(--twitter-color-secondary);
    border-radius: 7px;
}


@media (max-width: 610px) {
    .fn__button-share {
        display: none;
    }

    .logo-icon {
        padding-right: 0;
    }
}

.fn-list__title {
    font-weight: 900;
    font-size: 24px;
    color: var(--black);
    margin-bottom: 18px;
}

@media (min-width: 900px) {
    .fn-another-news {
        width: 100%;
    }
}

.fn-another-news__slider {
    padding-bottom: 60px;
}

.fn-another-news__slider .swiper-slide {
    width: 100%;
    height: 100%;
}

@media (max-width: 900px) {
    .fn .fn-another-news__slider .swiper-slide {
        width: fit-content;
    }
}

.fn-another-news__slider .news-card {
    width: 386px;
}

@media (min-width: 900px) {
    .fn-another-news__slider .news-card {
        width: auto;
        box-shadow: 0 6px 9px rgb(0 0 0 / 10%);
    }

    .fn-another-news__slider .news-card--secondary {
        width: 386px;
    }
}

@media (max-width: 460px) {
    .fn-another-news__slider .news-card {
        width: 300px !important;
    }
}

@media (max-width: 350px) {
    .fn-another-news__slider .news-card {
        width: 270px !important;
    }
}

.fn-another-news__title {
    margin: 0 0 30px 0;
    font-weight: 900;
    font-size: 36px;
    color: var(--black);
}

@media (max-width: 768px) {
    .fn-another-news__title {
        font-size: 24px;
    }
}

.fn-another-news__card {
    border: 1px solid var(--black-opacity-0-01);
    padding: 12px 15px 39px;
    margin: 0 0 43px 0;
    background: var(--white);
    box-shadow: 0px 21px 30px var(--black-opacity-0-01);
    border-radius: 15px;
    text-decoration: none;
    display: block;
    height: 100%;
    transition: transform 0.3s;
}

.fn-another-news__card:hover .fn-another-news__card__img {
    transform: scale(1.01);
}

.fn-another-news__card__img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    transition: transform 0.3s;
}

.fn-another-news__card-title {
    font-weight: bold;
    font-size: 22px;
}

.fn-another-news__card-description {
    font-weight: 600;
    font-size: 16px;
    color: var(--black);
}

.source-list__link {
    text-decoration: none;
    color: var(--black);
}

/*Sidebar changes*/
/*@media (min-width: 900px) {*/
/*    .fn-news-article-container {*/
/*        grid-area: post;*/
/*    }*/
/*    .fn-list__wrapper {*/
/*        grid-area: sidebar;*/
/*    }*/
/*    .fn-another-news {*/
/*        grid-area: anothernews;*/
/*    }*/
/*    .unit_99249 {*/
/*        grid-area: smi2;*/
/*    }*/
/*    .js-svk-anchor {*/
/*        grid-relap: smi2;*/
/*    }*/
/*    .fn-news-grid {*/
/*        grid-template-areas:*/
/*                             'post        sidebar'*/
/*                             'smi2        sidebar'*/
/*                             'relap       sidebar'*/
/*                             'anothernews sidebar';*/
/*    }*/

/*    .fn-list {*/
/*        position: relative;*/
/*    }*/

/*    .fn-list__inner,*/
/*    .fn-list__sticky,*/
/*    .fn-reklama__wrapper {*/
/*        height: fit-content;*/
/*        position: sticky;*/
/*        top: 90px;*/
/*    }*/
/*}*/

@media (max-width: 768px) {
    .fn-news-article-container .fn-categories__slider {
        display: none;
    }
}

@media (max-width: 576px) {
    .fn-reklama__wrapper {
        display: none;
    }
}

.marquee-news {
    display: none;
    margin: 0 auto;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    position: fixed;
    top: 70px;
    background: var(--light-orange);
    padding: 5px 0;
    z-index: 10;
}

@media (min-width: 768px) {
    .marquee-news {
        display: block;
    }
}

.marquee-news:before, .marquee-news:after {
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    content: "";
    z-index: 1;
}

/*.marquee-news:before {*/
/*    left: 0;*/
/*    background: linear-gradient(to right, var(--light-orange) 10%, transparent 80%);*/
/*}*/
/*.marquee-news:after {*/
/*    right: 0;*/
/*    background: linear-gradient(to left, var(--light-orange) 10%, transparent 80%);*/
/*}*/
.marquee-news__content {
    display: flex;
    width: max-content;
    line-height: 30px;
    animation: marquee 50s linear infinite forwards;
}

.marquee-news__content:hover {
    animation-play-state: paused;
}

.marquee-news__content {
    display: flex;
    justify-content: space-around;
    /* reset list */
    list-style: none;
    padding: 0;
    margin: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.marquee-news__link {
    color: rgba(255, 255, 255, 0.85);
    display: inline-block;
    position: relative;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 3px;
    transition: width 0.3s ease;
}

.marquee-news__link::before {
    display: block;
    position: absolute;
    content: "";
    height: 2px;
    width: 0;
    background-color: var(--white);
    transition: width .25s ease-in-out, left .25s ease-in-out;
    left: 0;
    bottom: 0;
}

.marquee-news__link::before {
    display: block;
    position: absolute;
    content: "";
    height: 2px;
    width: 0;
    background-color: var(--white);
    transition: width .5s ease-in-out;
    left: 0%;
    bottom: 0;
}

.marquee-news__link:hover::before {
    width: 100%;
}

.marquee-news__inner {
    display: inline-flex;
    align-items: center;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

.marquee-news__tag {
    border: 1px solid;
    padding: 3px 10px;
    margin-right: 8px;
}

.marquee-news__inner + .marquee-news__inner {
    margin-left: 30px;
}

@media (min-width: 900px) {
    .another-news__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
        justify-items: center;
        padding: 0 8px;
        width: auto;
    }
}

@media (min-width: 1240px) {
    .another-news__grid {
        grid-gap: 15px;
    }
}


.news-card__brief-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: var(--black);
}

@media (min-width: 1240px) {
    .news-card__brief-info {
        font-size: 14px;
    }
}

.news-card__datetime--important {
    color: var(--red);
}

.another-news__reklama {
    display: none;
}

@media (min-width: 900px) {
    .another-news__reklama {
        display: block;
        grid-column: 1/-1;
        width: 100%;
    }
}

.fn-reklama__wrapper--mobile {
    display: none;
}

@media (max-width: 576px) {
    .fn-reklama__wrapper--mobile {
        display: block;
    }
}

.fn__ad-up {
    height: 50px;
    width: 100%;
    background: #990055;
    margin: 0 0 15px;
}

.before-news_mobile {
    display: none;
}

.fn__smi2--desktop {
    display: block;
}

@media (max-width: 640px) {
    .before-news_mobile {
        display: block;
    }

    .fn__smi2--desktop {
        display: none;
    }
}

@media (max-width: 900px) {
    .fn-another-news {
        margin-top: 60px;
    }
}

.fn-news-article-container:first-child {
    margin-bottom: 35px;
}

.fn-news-article-container + .fn-news-article-container {
    margin-top: 35px;
}

@media (min-width: 900px) {
    .fn__loader-string {
        width: 68%;
    }
}

.fn-news-article__title-link {
    text-decoration: none;
}

@media (max-width: 900px) {
    .fn-list__wrapper {
        display: none;
    }
}

.fn-sources {
    display: flex;
    gap: 5px;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0 5px 5px 0;
    padding: 9px 12px;
    background: var(--white);
    border-radius: 8px;
    align-items: flex-end;
}

@media (max-width: 1200px) {
    .fn-sources .sources-label {
        display: none;
    }
}

@media (max-width: 1120px) {
    .fn-sources {
        display: none;
    }
}


@media (max-width: 768px) {
    .fn-news-article .image-wrapper {
        float: left;
        width: 45%;
        padding: 0px 8px 5px 0;
    }
}

