

.news {
    padding: 6rem 0;
    overflow: hidden;
}

.news .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.news h2 {
    margin-right: 1.5rem;
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    color: inherit;
}


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

.news .list > .item {
    margin-bottom: 6rem;
}

.news .list > .item:last-child {
    margin-bottom: 0;
}

.news .item {
    display: flex;
    align-items: center;
}

.news .item > .text {
    margin-right: 3rem;
}

.news .text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news .text > * {
    margin-bottom: 0.5rem;
}

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

.news .text h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: inherit;
    text-align: justify;
}

.news .text h3 a {
    color: inherit;
    transition: all 0.3s;
}

.news .text h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.news .text p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
}

.news .meta {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
}

.news .meta > * {
    margin-bottom: 0.25rem;
}

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

.news .date {
    font-size: 0.75rem;
    color: #666;
}

.news .source {
    font-size: 0.75rem;
    font-style: italic;
    color: #666;
}

.news .source:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.news .image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: fit-content;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news .image a {
    display: block;
    width: 100%;
    line-height: 0;
}

.news .image img {
    display: block;
    width: 100%;
}

@media (max-width: 1024px) {
    .news .image {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .news {
        padding: 4rem 0;
    }

    .news .header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
    }

    .news .header > * {
        margin-bottom: 1rem;
    }

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

    .news h2 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .news .list {
    }

    .news .list > .item {
        margin-bottom: 3rem;
    }

    .news .item {
        flex-direction: column;
        align-items: center;
    }

    .news .item > .text {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .news .image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .news .text h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    .news .text p {
        font-size: 1rem;
    }
    
    .news .meta {
        margin-top: 1rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .news {
        padding: 3rem 0;
    }
    
    .news h2 {
        font-size: 1.5rem;
    }
    

    .news .list > .item {
        margin-bottom: 2.5rem;
    }
    
    .news .text h3 {
        font-size: 1.125rem;
    }
    
    .news .text p {
        font-size: 0.875rem;
    }
    
    .news .image {
        margin-bottom: 0.5rem;
    }
    
    .news .date,
    .news .source {
        font-size: 0.75rem;
    }
}

.item .text, 
.item .image {
    opacity: 0;
    transform: translateX(150px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.item.animate .text, 
.item.animate .image {
    opacity: 1;
    transform: translateX(0); 
}
