.section4 {
    padding: 0;
    background: #0e2740;
    align-items: stretch;
    justify-content: stretch;
    color: #fff;
}

.news-layout {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-left {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.news-tile {
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.news-tile-image {
    background: #111;
}

.news-tile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.news-tile-image:hover .news-tile-photo {
    transform: scale(1.08);
}

.news-tile-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 15px;
}

.news-tile-purple {
    background: #7e6fb0;
}

.news-tile-teal {
    background: #3aced4;
}

.news-tile-title {
    margin: 0 0 16px;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.2;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-tile-description {
    margin: 0;
    font-size: 12px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-right {
    background: url('../img/news-bg.png') center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(32px, 5vw, 68px);
    padding-right: 100px;
}

.news-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: stretch;
    gap: 0;
    margin-bottom: clamp(28px, 3vw, 40px);
    margin-top: 20px;
}

.news-tab {
    border: 1px solid #fff;
    background: transparent;
    color: #ada097;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
}

.news-tab h3,
.news-tab h4 {
    text-align: center;
    font-weight: normal;
}

.news-tab:hover,
.news-tab:focus-visible {
    transform: translateY(-1px);
}

.news-tab.active {
    background: #fff;
    color: #000;
}

.news-tab-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1;
    font-weight: 600;
    color: inherit;
}

.news-tab-subtitle {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
    color: inherit;
}

.news-tab-line {
    display: block;
    width: fit-content;
    min-width: 32px;
    height: 3px;
    margin: 0 auto;
    background: currentColor;
    opacity: 0.8;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.news-item-order {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    border: 1px solid #fff;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    line-height: 1;
    color: #fff;
}

.news-item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.news-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.news-item-title {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    text-decoration: none;
}

.news-item-title:hover,
.news-item-title:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.news-item-date {
    flex: 0 0 auto;
    padding-top: 4px;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
}

.news-item-summary {
    margin: 0;
    color: #dadada;
    font-size: 12px;
    line-height: 1.8;
}

.news-more {
    position: static;
    transform: none;
    align-self: flex-end;
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1199px) {
    .news-layout {
        grid-template-columns: 1.02fr 0.98fr;
    }

    .news-right {
        padding: 32px 28px;
    }

    .news-item {
        gap: 18px;
    }

    .news-item-order {
        width: 88px;
        height: 88px;
        flex-basis: 88px;
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .section4 {
        min-height: 100vh;
        height: auto;
    }

    .news-layout {
        grid-template-columns: 1fr;
        min-height: 100vh;
    }

    .news-left {
        min-height: 56vh;
    }

    .news-right {
        min-height: 44vh;
    }
}

@media (max-width: 767px) {
    .news-left {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, minmax(180px, auto));
    }

    .news-right {
        padding: 24px 16px 28px;
    }

    .news-tabs {
        gap: 12px;
    }

    .news-tab {
        padding: 0 0 10px;
    }

    .news-tab-title {
        font-size: 20px;
    }

    .news-tab-subtitle {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .news-item {
        gap: 14px;
    }

    .news-item-order {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
        font-size: 30px;
    }

    .news-item-top {
        flex-direction: column;
        gap: 6px;
    }
}
