/* ============== MAIN CONTAINER (MOBILE FIRST) ============== */
.main__content {
    background-color: var(--color-primary--4);
}


/* ============== HEADER WRAPPER (MOBILE) ============== */
.news__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}


/* ============== HEADER CONTENT (MOBILE) ============== */
.news__header-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* ============== HEADER TITLE (MOBILE) ============== */
.news__header-content > .news__header-title > h1 {
    margin: 0;
    padding: 0;
    color: var(--color-primary--1);
    font-family: var(--font-lexend);
    font-size: 28px;
    font-weight: 700;
    line-height: 140%;
}


/* ============== BACK LINK (MOBILE) ============== */
.news__header-back {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-lexend);
    font-size: 14px;
}

.news__header-back > a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.news__header-back::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 14px;
    margin-right: 8px;
    background-image: url('../../images/icons/arrow_left.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}


/* ============== HEADER IMAGE (MOBILE) ============== */
.news__header-image {
    width: 100%;
}
.news__header-image{
    border-radius: 4px;
    overflow: hidden;
}


/* ============== DESKTOP OVERRIDES (≥ 999px) ============== */
@media screen and (min-width: 999px) {

    /* Header layout */
    .news__header {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 32px;
    }

    /* Title sizing */
    .news__header-content > .news__header-title > h1 {
        font-size: 38px;
    }

    /* Image sizing */
    .news__header-image {
        min-width: 570px;
    }

    /* Back link size */
    .news__header-back {
        font-size: 16px;
    }

}
