*, :before, :after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter';
    font-size: 24px;
    line-height: 1.2;
    color: #4F4F4F;
    background: #F4F4F4;
}
img {
    display: block;
    max-width: 100%;
}
a {
    transition: 200ms linear;
}
h1 {
    margin: 0;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.1;
    color: #3C3C3C;
}

.container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 42px;
}


.header {
    padding: 15px 0;
}
.header__wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: space-between;
    grid-gap: 20px 136px;
    padding: 28px 42px;
    background-color: rgba(0, 30, 255, 1);
    border-radius: 20px;
}
.header__logo a {
    display: block;
    width: fit-content;
}
.header__logo a img {
    height: auto;
    max-width: 238px;
}
.header-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 50px;
}
.header-nav ul li {
    display: block;
}
.header-nav ul li a {
    display: block;
    font-family: 'Helvetica';
    font-weight: 700;
    font-size: 27px;
    line-height: 1;
    text-decoration: none;
    color: #ffffff;
}
.header-nav ul li a:hover,
.header-nav ul li.current-menu-item a {
    text-decoration: underline;
}
.header-nav__burger {
    outline: none;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 46px;
    height: 46px;
    position: relative;
    z-index: 10;
}
.header-nav__burger svg {
    display: block;
    width: 100%;
    height: 100%;
}
.header__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.main {
    padding: 35px 0 105px 0;
}
.s-news__container {
    display: grid;
    grid-template-columns: 1fr 347px;
    align-items: flex-start;
    grid-gap: 26px;
}
.s-news__wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    grid-gap: 30px;
}
.s-news__more {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 283px;
    height: 81px;
    margin: 0 auto;
    background: #0073FF;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Roboto';
    font-size: 30px;
    line-height: 37px;
    color: #FFFFFF;
    text-decoration: none;
    outline: none;
    border: none;
    transition: 200ms linear;
}
.s-news__more:hover {
    background: rgba(0, 115, 255, 0.7);
}
.preview-news {
    display: flex;
    flex-direction: column;
    grid-gap: 28px;
}
.preview-news__image {
    width: 100%;
    height: 242px;
    margin-bottom: 6px;
}
.preview-news__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.preview-news__right {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.preview-news__title {
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    color: rgba(60, 60, 60, 1);
}
.preview-news__intro {
    font-size: 19px;
    line-height: 21px;
    color: #4F4F4F;
}
.preview-news__bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
}
.preview-news__data {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: fit-content;
}
.preview-news__btn {
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    background: rgba(0, 30, 255, 1);
    border-radius: 25px;
    font-size: 17px;
    line-height: 19px;
    color: #FFFFFF;
    font-weight: 400;
    text-decoration: none;
    transition: 200ms linear;
}
.preview-news__btn:hover {
    background: rgba(0, 30, 255, 0.7);
}
.preview-news__date {
    font-size: 20px;
    line-height: 1;
    color: rgba(60, 60, 60, 1);
}
.preview-news__cat {
    font-size: 20px;
    line-height: 1;
    color: rgba(60, 60, 60, 1);
}
.preview-news--big {
    grid-column: 3 span;
    gap: 33px;
}
.preview-news--big .preview-news__title {
    font-size: 36px;
    text-decoration: none;
}
.preview-news--big .preview-news__title:hover {
    text-decoration: underline;
}
.preview-news--big .preview-news__image {
    margin-bottom: 0;
    margin-top: 7px;
    height: 553px;
}

.latest-news__title {
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 36px;
    line-height: 1;
    color: #3C3C3C;
}
.latest-news .preview-news:not(:last-child) {
    margin-bottom: 47px;
}
.latest-news__wrap {
    display: grid;
    grid-template-columns: 100%;
    align-items: stretch;
    grid-gap: 30px;
}
.latest-news .preview-news {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px 14px;
    margin: 0 !important;
    padding: 30px 20px;
    background: #FFFFFF;
    border-radius: 10px;
}
.latest-news .preview-news__title {
    grid-column: 2 span;
    display: block;
    width: fit-content;
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    color: #3C3C3C;
}
.latest-news .preview-news__title:hover {
    text-decoration: underline;
}

.page-news {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-bottom: 76px;
}
.page-news img {
    max-width: 100%;
    height: 638px;
    object-fit: cover;
}
.page-news p {
    margin: 0;
}
.page-news__desc p:not(:last-child) {
    margin-bottom: 21px;
}
.page-news-data {
    display: flex;
    align-items: center;
    gap: 13px;
    width: fit-content;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    color: #3C3C3C;
}

.footer {
    background: rgba(0, 30, 255, 1);
}
.footer__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 42px 0;
}
.footer__links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer__links a {
    font-weight: 400;
    font-size: 22px;
    line-height: 1;
    color: rgba(103, 166, 255, 1);
    text-decoration: none;
}
.footer__links a:hover {
    text-decoration: underline;
}
.footer__social {
    display: flex;
    align-items: center;
    gap: 30px;
}
.footer__social a {
    font-size: 22.5px;
    line-height: 27px;
    text-decoration: underline;
    color: #FFFFFF;
}
.footer__social a:hover {
    text-decoration: none;
}
.footer__copyright {
    font-weight: 700;
    font-size: 22.5px;
    line-height: 30px;
    color: #FFFFFF;
}

@media (min-width: 1025px) {
    .header-nav__burger {
        display: none;
    }
}
@media (max-width: 1200px) {
    .s-news__wrap {
        grid-template-columns: 1fr 1fr;
    }
    .preview-news--big {
        grid-column: 2 span;
    }
}
@media (max-width: 1024px) {
    h1 {
        font-size: 30px;
    }
    .container {
        padding: 0 15px;
    }
    .header__wrap {
        position: relative;
        padding: 10px 20px;
        display: grid;
        grid-template-columns: 1fr auto auto;
        grid-gap: 20px;
    }
    .header__logo a img {
        max-width: 125px;
    }
    .header-nav.active ul {
        display: flex;
    }
    .header-nav ul {
        position: absolute;
        left: -15px;
        top: -15px;
        z-index: 5;
        width: calc(100% + 30px);
        border-radius: 0px;
        background-color: rgba(0, 30, 255, 1);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 20px;
        gap: 20px;
        display: none;
    }
    .header-nav ul li a {
        padding: 0;
        font-size: 24px;
        line-height: 1.25;
    }
    .header__social {
        grid-column: 2;
        grid-row: 1;
    }
    .s-news__container {
        grid-template-columns: 100%;
        gap: 100px;
    }
    .preview-news {
        grid-template-columns: 100%;
    }
    .preview-news__image {
        width: 100%;
    }
    .preview-news__right {
        gap: 11px;
    }
    .latest-news {
        grid-row: 2;
    }
    .latest-news__wrap {
        grid-template-columns: 1fr 1fr;
        grid-gap: 30px;
    }
    .s-news__more {
        grid-column: 1;
        grid-row: 2;
    }
    .page-news {
        padding-bottom: 0;
    }
    .page-news img {
        height: auto;
    }
}
@media (max-width: 768px) {
    .main {
        padding: 45px 0 100px 0;
    }
    body {
        font-size: 15px;
        line-height: 18px;
    }
    h1 {
        font-size: 24px;
    }
    .header-nav ul li a {
        font-size: 20px;
    }
    .page-news h1 {
        font-size: 24px;
        line-height: 1.25;
    }
    .page-news__desc {
        font-size: 16px;
        line-height: 1.25;
    }
    .page-news__desc p:not(:last-child) {
        margin-bottom: calc(16px * 1.25);
    }
    .preview-news--big {
        grid-column: 2 span;
    }
    .preview-news--big .preview-news__image {
        height: 453px;
    }
    .preview-news__image {
        min-height: auto;
        height: 206px;
    }
    .preview-news__title {
        font-size: 20px;
        line-height: 1.25;
    }
    .preview-news__intro {
        font-size: 16px;
        line-height: 1.25;
    }
    .preview-news__date,
    .preview-news__cat {
        font-size: 14px;
        line-height: 1.25;
    }
    .s-news__more {
        max-width: 425px;
        width: 100%;
        height: 60px;
        font-size: 24px;
        line-height: 1.25;
    }
    .latest-news__wrap {
        grid-template-columns: 100%;
    }

    .footer__wrap {
        padding: 25px 0;
        flex-direction: column;
        gap: 15px;
    }
}
@media (max-width: 525px) {
    .header-nav ul li a {
        font-size: 16px;
    }
    .header__social img {
        width: 30px;
    }
    .footer__links a {
        font-size: 24px;
        line-height: 1.2;
    }
    .footer__social {
        gap: 20px;
    }
    .footer__social img {
        width: 46px;
    }

    .s-news__wrap {
        grid-template-columns: 100%;
    }
    .preview-news {
        gap: 20px;
        padding-bottom: 0;
    }
    .preview-news--big {
        grid-column: 1;
    }
    .preview-news--big .preview-news__image {
        height: 300px;
    }
    .preview-news--big .preview-news__title {
        font-size: 26px;
        line-height: 34px;
    }
}
