.posts {
    flex: 9;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    align-items: flex-start; /* 🔥 BUNU EKLE */
}

.posts .post {
    width: calc(50% - 20px);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
}

.posts h1 {
    font-family: 'Pacifico', cursive;
    letter-spacing: 2px;
}

.posts img {
    border-radius: 10px;
    margin-bottom: 5px;
    height: 300px;
    object-fit: cover;
}

.posts p {
    padding: 5px;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-height: 23px;
}

.posts .authorAndDate {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0px 10px;
}

.posts .authorAndDate span:nth-child(1) {
    font-family: 'Ubuntu Mono', monospace;
    font-weight: 700;
}

.posts .authorAndDate span:nth-child(2) {
    font-family: 'Ubuntu Mono', monospace;
    font-weight: 700;
}

/* --- Scroll Animation  */
/* --- Scroll Animation  */
.posts .post {
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.5s;
}

.posts .post:nth-child(2n) {
    transition: all 0.8s;
}

.posts .post.active {
    transform: translateX(0px);
    opacity: 1;

}


/* Responsive Area */
/* Responsive Area */
@media(max-width:1100px) {
    .posts .post {
        width: 100%;
    }

    .posts .post:nth-child(2n) {
        transition: all 0.5s;
    }
}