.posts-container {
    width: 100%;
    margin: 0 auto;
    padding: 10px 25px;
}

.page-title {
    font-size: 2rem; /* Mobile-first font size */
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px; /* Adjusted margin for mobile */
    text-align: right; /* Explicitly align right */
}

.post-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 20px;


    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);


    transition: transform 0.3s ease, box-shadow 0.3s ease;

    border: 1px solid #e5e7eb;
}

.post-card:hover {
    transform: translateY(-5px); /* Lift card on hover */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.post-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-top: 0;
    margin-bottom: 12px;
    text-align: right;
}

.post-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 16px;
    text-align: right;
}

.post-content:last-child {
    margin-bottom: 0;
}

@media (min-width: 576px) {

    .posts-container {
        padding: 1.5rem 3rem; /* Restore original padding for desktop */
    }

    .post-title {
        font-size: 1.75rem; /* Restore original font size */
        margin-bottom: 16px;
    }

    .post-content {
        font-size: 1.1rem; /* Restore original font size */
        line-height: 1.8;
    }

    .post-card {
        padding: 40px 30px;
        margin-bottom: 30px;
    }
}

@media (min-width: 768px) {
    .posts-container {
        padding: 2rem 5rem; /* Restore original padding for desktop */
    }
}

@media (min-width: 992px) {
    .posts-container {
        padding: 2.5rem 8rem; /* Restore original padding for desktop */
    }
}

@media (min-width: 1200px) {
    .posts-container {
        padding: 3rem 10rem; /* Restore original padding for desktop */
    }
}



