.header__nav a {
    text-transform: uppercase;
}

.footer__bottom a {
    color: #d04848;
}

.news__category, .news__category * {
    color: #f2413fc9;
    background-color: #ffd7d730;
}

.advertisement__item {
    background: #f2413f4d;
}

.header__socials .telegram{
    background: #0088cc;
}
.header__socials .fb{
    background: #4267B2;
}
.post-detail h1 {
    margin-bottom: 15px;
    color: #101840;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
}

.fonts-block button {
    background: transparent;
    border-radius: 12px;
    padding: 0 5px;
    border: 0;
    font-weight: bold;
    margin-left: 5px;
}

.fonts-block .resize-minus {
    font-size: 20px;
}

.fonts-block .resize-plus {
    font-size: 26px;
}
.post-detail .post-image {
    margin-bottom: 15px;
    width: 100%;
    height: auto;
}

.post-detail .post-image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.post-detail .post-content img,
.post-detail .post-content iframe,
.post-detail .post-content video {
    width: 100%;
    height: auto;
    min-height: 370px;
    margin: 15px 0;
}

.post-detail .post-content {
    color: #474D66;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.all-posts .post {
    display: block;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 15px;
}

.all-posts .post .post-title {
    display: block;
    margin-bottom: 10px;
}

.news__item.chosen-post .news__title, .post.chosen-post .post-title {
    font-weight: bolder;
    color: #000;
}

.all-posts .post .post-date {
    color: #C1C4D6;
    font-size: 14px;
}

.all-posts .post .post-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-detail .post-info {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-detail .post-info .news__category {
    padding: 10px 20px;
    font-size: 14px;
    margin-right: 15px;
}

.post-telegram {
    background: #0088CC;
    color: #fff;
    width: 100%;
    border-radius: 8px;
    margin: 20px 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    padding: 10px 30px;
}
.post-telegram:hover {
    background: rgba(2, 98, 143, 0.8);
}
.post-telegram svg{
    margin-right: 10px;
}
.advertisement__item img {
    object-fit: cover;
}

@-moz-keyframes editing { 0% { background: rgba(241, 62, 62, 100%); } 50% { background: rgba(241, 62, 62, 50%); } 100% { background: rgba(241, 62, 62, 100%); } }
@-webkit-keyframes editing { 0% { background: rgba(241, 62, 62, 100%); } 50% { background: rgba(241, 62, 62, 50%); } 100% { background: rgba(241, 62, 62, 100%); } }
@keyframes editing { 0% { background: rgba(241, 62, 62, 100%); } 50% { background: rgba(241, 62, 62, 50%); } 100% { background: rgba(241, 62, 62, 100%); } }
@media screen and (max-width: 787px) {
    .news__item .news__image {
        height: 24.2rem;
    }
}
.news__item .news__editing {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 999;
    background: rgba(241, 62, 62, 100%);
    border-radius: 6px;
    padding: 2px 14px;
    color: #fff;
    font-size: 13px;
    -webkit-animation:editing 2.5s linear infinite;
    -moz-animation:editing 2.5s linear infinite;
    animation:editing 2.5s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.loader {
    text-align: center;
    margin: 30px 0;
    display: none;
}

.loader.active {
    display: block;
}

.loader img {
    -webkit-animation:spin 1s linear infinite;
    -moz-animation:spin 1s linear infinite;
    animation:spin 1s linear infinite;
}

@media screen and (min-width: 787px) {
    .header__menu .menu__item {
        position: relative;
    }

    .header__menu .menu__item ul {
        position: absolute;
        top: 100%;
        left: 0;
        margin-left: -15px;
        background: #fff;
        min-width: 200px;
        color: #191919;
        padding: 15px;
        border-radius: 12px;
        opacity: 0;
        z-index: -99999;
        display: none;
    }

    .header__menu .menu__item ul li {
        margin-bottom: 5px;
        font-size: 16px;
    }

    .header__menu .menu__item ul li:last-child {
        margin-bottom: 0;
    }

    .header__menu .menu__item:hover ul {
        opacity: 1;
        z-index: 999999;
        display: block;
    }
}

@media screen and (max-width: 767px) {
    .header__menu .menu__item a {
        display: block;
    }

    .header__menu .menu__item.has-children > a {
        margin-bottom: 10px;
    }

    .header__menu .menu__item ul li {
        margin-bottom: 10px;
        font-size: 16px;
    }
}

@media screen and (max-width: 810px) {
    .header__menu .menu__item ul {
        min-width: 150px;
    }
}
