.newsItem {
    align-items: center;
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
}

@media (max-width: 640px) {
    .newsItem {
        flex-direction: column;
        gap: 10px;
    }
}

.newsItem .newsLink {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.newsItem:hover .imgBox img {
    scale: 1.05;
}

.newsItem:nth-child(even) {
    flex-direction: row-reverse;
}

@media (max-width: 640px) {
    .newsItem:nth-child(even) {
        flex-direction: column;
    }
}

.newsItem:nth-child(even) .imgBox::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    left: -10%;
    top: -10%;
    background-image: url('../assets/images/newsItemEven.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.newsItem:nth-child(odd) .imgBox::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    left: -10%;
    top: -10%;
    background-image: url('../assets/images/newsItemOdd.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.newsItem .imgBox {
    width: 45%;
    text-align: center;
    position: relative;
}

.newsItem .imgBox img {
    width: 280px;
    height: 280px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: all 0.65s ease-in-out;
}

@media (max-width: 1400px) {
    .newsItem .imgBox img {
        width: 240px;
        height: 240px;
    }
}

.newsItem .textBox {
    width: 55%;
}

@media (max-width: 640px) {
    .newsItem :is(.imgBox, .textBox) {
        width: 100%;
    }
}

.newsItem .date {
    font-size: 22px;
    font-weight: 700;
    color: #856b86;
    margin-bottom: 10px;
}

.newsItem .title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1;
    color: #561f58;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1400px) {
    .newsItem .title {
        font-size: 24px;
    }
}

.newsItem .desc {
    color: #484848;
    font-size: 18px;
    line-height: 1.625;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 25px;
}

@media (max-width: 1400px) {
    .newsItem .desc {
        font-size: 16px;
    }
}


.newsItem .btn {
    color: #fff;
    position: relative;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 40px;
    background-image: linear-gradient(-265deg, #ffc3c8 0%, #deb0c7 61%, #bd9dc6 100%);
    border-radius: 28px;
    position: relative;
}

.newsItem .btn:before {
    content: "";
    position: absolute;
    width: 115%;
    height: 115%;
    left: -9%;
    top: -9%;
    border: 1px solid #6e3267;
    border-radius: 28px;
    opacity: 0;
}

.newsInfo {
    position: relative;
}

.newsInfo::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: 0;
    top: 0;
    background-image: url('../assets/images/newsItemOdd.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

@media (max-width: 1400px) {
    .newsInfo::after {
        width: 400px;
        height: 400px;
    }
}

.newsInfo .btnBox {
    margin-top: 160px;
    justify-content: flex-end;
}

.newsInfo .newsContent {
    position: relative;
    z-index: 2;
}

.newsInfo .date {
    font-size: 22px;
    font-weight: 700;
    color: #856b86;
    margin-bottom: 10px;
}

.newsInfo .title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1;
    color: #561f58;
}

@media (max-width: 1400px) {
    .newsInfo .title {
        font-size: 24px;
    }
}

@media (max-width: 1400px) {
    .newsInfo .cover {
        max-width: 500px;
    }
}
