.post-container {
    display: flex;
    flex-direction: row;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.post {
    min-width: 300px;
    max-width: 450px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 20px;
}

.post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid var(--light-blue);
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post:hover .post-image img {
    transform: scale(1.05);
}

.post-main {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff;
}

.post-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.post-header h2 {
    width: 100%;
    color: var(--light-blue);
    font-weight: 500;
    font-size: 1.4em;
    margin-bottom: 8px;
}

.post-content {
    padding: 30px 30px 20px 30px;
}

.post-content p {
    font-size: 1.2em;
    line-height: 1.6em;
    margin-bottom: 15px;
}


.post-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.post-footer-button {
    width: 100%;
    padding: 20px 24px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-start;
}

.post-footer-button .btn {
    padding: 8px 20px;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.post-footer-button .btn:hover {
    transform: translateY(-1px);
}


@media (max-width: 768px) {

    .post {
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
        align-items: center;
    }

    .post-image {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .post-image img {
        margin: 0px;
        max-width: 100%;
        box-shadow: 0px 4px 12px #dadada;
    }

}