h2 {
    font-size: 24px;
    font-weight: 600;
}
.promo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px;
    margin-bottom: 40px;
    background: var(--footer-bg);
    h1 {
        font-size: 30px;
        color: var(--second);
        text-align: center;
    }
}
.content {
    display: grid;
    grid-template-columns: calc(100% - 360px) 320px;
    gap: 40px;
    margin-bottom: 160px;
}
.news {
    .main-img {
        margin-bottom: 20px;
    }
    .info {
        display: flex;
        align-items: center;
        gap: 25px;
        margin-bottom: 40px;
        background: var(--main);
        padding: 20px;
        box-shadow: 0px 2px 2px 0px var(--last-news-border);
        a {
            padding: 8px 16px;
            background: var(--snippet-category-bg);
            border-radius: 8px;
            font-size: 16px;
            color: var(--second);
            position: relative;
            z-index: 3;
            margin-right: auto;
        }
        span {
            font-size: 16px;
            font-weight: 300;
            &.views {
                display: flex;
                gap: 10px;
                align-items: center;
                &::before {
                    content: '\e010';
                    font-family: 'icon';
                    font-size: 16px;
                }
            }
        }
    }
    .text {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
        h2, h3, h4 {
            font-size: 18px;
            font-weight: 600;
            margin-top: 10px;
        }
        p {
            min-height: 15px;
        }
        p, li, div, blockquote {
            font-size: 16px;
        }
        b, strong {
            font-weight: 500;
        }
        i, em {
            font-style: italic;
        }
        a {
            color: var(--second);
        }
        div:has(iframe) {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 20px 0;
        }
        iframe {
            width: auto!important;
        }
        ul, ol {
            display: flex;
            flex-direction: column;
            gap: 5px;
            margin-left: 17px;
        }
    }
    .buttons {
        display: flex;
        align-items: center;
        justify-content: space-between;
        a {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 16px 10px;
            background: var(--footer-bg);
            color: var(--second);
            &.prev {
                &::before {
                    content: '\e004';
                    font-family: 'icon';
                    font-size: 12px;
                    display: flex;
                    transform: rotate(180deg);
                }
            }
            &.next {
                margin-left: auto;
                &::after {
                    content: '\e004';
                    font-family: 'icon';
                    font-size: 12px;
                    display: flex;
                }
            }
        }
    }
}
@media (max-width: 1080px) {
    h2 {
        font-size: 22px;
    }
    .promo {
        padding: 55px;
        h1 {
            font-size: 28px;
        }
    }
    .content {
        grid-template-columns: 100%;
        gap: 100px;
        margin-bottom: 120px;
    }

}
@media (max-width:768px) {
    .promo {
        padding: 40px;
        margin-bottom: 30px;
        h1 {
            font-size: 24px;
        }
    }
    .content {
        gap: 60px;
        margin-bottom: 80px;
    }
    .news {
        .text {
            gap: 5px;
            margin-bottom: 20px;
            h2, h3, h4 {
                font-size: 16px;
                margin-top: 5px;
            }
            p, li, div, blockquote {
                font-size: 14px;
                & * {
                    font-size: 14px;
                }
            }
            div:has(iframe) {
                margin: 10px 0;
            }
        }
        .buttons {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
            a {
                padding: 10px 5px;
                font-size: 14px;
                &.prev {
                    &::before {
                        font-size: 10px;
                    }
                }
                &.next {
                    &::after {
                        font-size: 10px;
                    }
                }
            }
        }
    }
}
@media (hover:hover) {
    .news .buttons a:hover {
        background: var(--main);
    }
}