/* Блок: страница новости (шапка и подвал вынесены по ТЗ) */
.news-article {
    --c-bg: #ffffff;
    --c-text: #000000;
    --c-accent: #aa182c;
    --white: #ffffff;
    --red: #aa182c;
    --font: "Circe", "PT Sans", "Segoe UI", system-ui, sans-serif;

    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font);
}

.news-article__inner {
    box-sizing: border-box;
    max-width: 1920px;
    margin: 0 auto;
}

/* Заголовок: текст в потоке, фото position:absolute справа (как в Figma) */
.news-article__main {
    position: relative;
    display: block;
    margin-bottom: 1.25rem;
    overflow: visible;
}

.news-article__text-col {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.news-article__date {
    margin: 0 0 0.5rem;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--c-accent);
}

.news-article__headline {
    margin: 0;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--c-accent);
    max-width: 1300px;
}

.news-article__figure {
    margin: 0;
    box-sizing: border-box;
    width: min(100%, 1400px, 55vw);
    max-width: 1400px;
    aspect-ratio: 1400 / 1050;
    overflow: hidden;
    z-index: 0;
}

@media (min-width: 1201px) {
    .news-article__figure {
        position: absolute;
        right: 0;
        top: 0; /* 527 - 378, макет Figma */
        left: auto;
        width: auto;
        z-index: -1;
    }
}

.news-article__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-article__lead {
    position: relative;
    z-index: 1;
    margin: 0 0 1.5rem;
    max-width: 1057px;
    font-size: 18px;
    line-height: 1.45;
    text-align: justify;
    font-weight: 400;
    background: var(--c-bg);
    overflow: visible;
}

.news-article__subheading {
    margin: 0 0 0.4rem;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    text-align: justify;
}

.news-article__subheading--large {
    font-size: 42px;
    line-height: 1.2;
    margin-top: 1.5rem;
    text-align: left;
}

.news-article__results {
    margin: 0 0 0.5rem;
    padding-left: 1.3em;
    list-style: disc;
    list-style-position: outside;
    max-width: 577px;
    font-size: 18px;
    line-height: 1.45;
    text-align: justify;
    font-weight: 400;
}

.news-article__results li {
    margin-bottom: 0.15rem;
    padding-left: 0.4em;
}

.news-article__results li::marker {
    color: var(--c-text);
    font-size: 1em;
}

.news-article__text {
    position: relative;
    z-index: 1;
    margin: 0 0 2rem;
    max-width: 1057px;
    font-size: 18px;
    line-height: 1.45;
    text-align: justify;
    font-weight: 400;
    background: var(--c-bg);
    overflow: visible;
}

/* Блок скачиваний: Frame 336, gap 27px; кнопка — чёрная обводка 1px, красный декор в группе слева */
.news-article__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 27px;
    width: fit-content;
    max-width: 100%;
}

.news-article__action-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    overflow: visible;
}

/* Стрелка по вертикали по центру кнопки; сдвиг -32px к макету */
.news-article__action-decor {
    flex: 0 0 auto;
    width: 63px;
    height: 10px;
    display: block;
    align-self: center;
    pointer-events: none;
    z-index: 1;
    position: relative;
    object-fit: contain;
    object-position: center;
    transform: translateX(0);
    transition: transform 0.2s ease, filter 0.2s ease;
}
.nnews-article__headline {
    color: #AA182C;
}
.news-article__action-row:hover .news-article__action-decor {
    filter: brightness(0);
    transform: translateX(4px);
}

.news-article__action {
    position: relative;
    z-index: 0;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    margin-left: -32px;
    flex: 0 1 auto;
    height: 37px;
    min-height: 37px;
    max-height: 37px;
    padding: 0 20px 0 40px;
    box-sizing: border-box;
    border: 1px solid #000000;
    border-radius: 100px;
    background: #ffffff;
    text-decoration: none;
    color: #000000;
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    overflow: hidden;
}

.news-article__action-label {
    min-width: 0;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-article__action:hover {
    color: var(--white);
    background-color: var(--red);
    border-color: var(--red);
}

.news-article__action:hover .news-article__action-picto {
    filter: brightness(0) invert(1);
}

.news-article__action-picto {
    display: block;
    flex-shrink: 0;
    width: 13px;
    height: 17px;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .news-article__inner {
     
    }

    .news-article__figure {
        position: relative;
        right: auto;
        top: 0;
        order: -1;
        width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
        display: none;
    }

    .news-article__main {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .news-article__headline,
    .news-article__subheading--large {
        font-size: 1.5rem;
    }

    .news-article__action {
        font-size: 1rem;
        line-height: 1;
        height: 37px;
        min-height: 37px;
        max-height: 37px;
        padding-left: 1.5rem;
    }
}
