
/* Single news — base */
body.single-fg_news {
    background: #2E1E14 url("../home/фон.webp") center top / cover fixed no-repeat;
}

.news-single {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    color: #FFFEF8;
    background: transparent;
}

.news-single__article {
    width: 100%;
}


/* =========================================
   SINGLE NEWS — HERO
   ========================================= */

.news-single__hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 520px;
    column-gap: 64px;

    width: calc(100% - 160px);
    max-width: 1280px;
    min-height: 560px;
    margin: 0 auto;
    padding: 72px 0 64px;
    box-sizing: border-box;
}

.news-single__intro {
    min-width: 0;
}

.news-single__date {
    display: block;
    margin-bottom: 24px;

    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    color: #FFFEF8;
}

.news-single__title {
    max-width: 680px;
    margin: 0;

    font-family: "Manrope", sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    color: #FFFEF8;
}

.news-single__divider {
    width: 100%;
    height: 3px;
    margin: 32px 0;

    background: #FFFEF8;
}

.news-single__subtitle {
    max-width: 620px;

    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #FFFEF8;
}

.news-single__subtitle p {
    margin: 0;
}

.news-single__image {
    align-self: end;
    width: 520px;
    height: 360px;
    overflow: hidden;
    border-radius: 24px;
}

.news-single__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tablet */
@media (max-width: 1100px) {
    .news-single__hero {
        grid-template-columns: 1fr 42%;
        column-gap: 40px;

        width: 89%;
        padding-top: 64px;
    }

    .news-single__title {
        font-size: clamp(34px, 4vw, 48px);
    }

    .news-single__image {
        width: 100%;
        height: 320px;
    }

    .news-single__subtitle {
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .news-single__hero {
        display: flex;
        flex-direction: column;

        width: auto;
        min-height: 0;
        margin: 0 16px;
        padding: 40px 0 48px;
    }

    .news-single__date {
        margin-bottom: 16px;
        font-size: 14px;
    }

    .news-single__title {
        font-size: 32px;
        line-height: 1.15;
    }

    .news-single__divider {
        margin: 24px 0;
        height: 2px;
    }

    .news-single__subtitle {
        max-width: none;
        font-size: 16px;
        line-height: 1.5;
    }

    .news-single__image {
        order: 2;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        margin-top: 32px;
        border-radius: 20px;
    }
}


/* =========================================
   SINGLE NEWS — ARTICLE CONTENT
   ========================================= */

.news-single__content {
    width: calc(100% - 160px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 80px 96px;
    box-sizing: border-box;

    background: #FFFEF8;
    color: #2E1E14;
    border-radius: 24px;

    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.news-single__content > *:first-child {
    margin-top: 0;
}

.news-single__content > *:last-child {
    margin-bottom: 0;
}

.news-single__content p {
    margin: 0 0 28px;
}

.news-single__content h2,
.news-single__content h3,
.news-single__content h4 {
    margin: 40px 0 8px;
    color: #2E1E14;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.news-single__content h2 {
    font-size: 28px;
}

.news-single__content h3 {
    font-size: 22px;
}

.news-single__content h4 {
    font-size: 20px;
}

.news-single__content strong {
    font-weight: 700;
}

/* Mobile */
@media (max-width: 767px) {
    .news-single__content {
        width: calc(100% - 32px);
        margin: 0 16px;
        padding: 40px 24px 56px;

        border-radius: 20px;

        font-size: 16px;
        line-height: 1.5;
    }

    .news-single__content p {
        margin-bottom: 24px;
    }

    .news-single__content h2,
    .news-single__content h3,
    .news-single__content h4 {
        margin-top: 32px;
    }

    .news-single__content h2 {
        font-size: 22px;
    }

    .news-single__content h3,
    .news-single__content h4 {
        font-size: 18px;
    }
}


/* Space between article and footer */
.news-single {
    padding-bottom: 64px;
}

@media (max-width: 767px) {
    .news-single {
        padding-bottom: 40px;
    }
}

/* =========================================
   LARGE SCREEN — CENTER HEADER
   ========================================= */

@media (min-width: 1441px) {
    body.single-fg_news .site-header {
        width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* =========================================
   SINGLE NEWS — LARGE SCREEN HEADER FIX
   ========================================= */

@media (min-width: 1441px) {

    body.single-fg_news .site-header {
        width: 1440px;
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }

    body.single-fg_news .site-header .site-shell {
        width: 1280px;
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }

}

