body {
    background: whitesmoke;
}

.post-container {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: auto;

}

.post-card {
    height: 175px;
    display: flex;
    align-items: stretch;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.post-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.post-image {
    width: 240px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    color: grey;
    font-weight: 300;
}

.post-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #444;
    letter-spacing: 0.2px;
}

.post-text {
    font-size: 0.9rem;
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-text * {
    font-size: inherit !important;
}

.post-text p {
    margin: 0;
}

.post-bottom {
    height: contain;
    display: flex;
    justify-content: space-between;
}

.post-readmore {
    font-size: 0.9rem;
    width: fit-content;
    padding: 2px 15px 2px 15px;
    color: rgba(65, 105, 225, 1);
    background: rgba(65, 105, 225, 0.1);
    border-radius: 10px;
}

.post-category {
    font-size: 0.9rem;
    width: fit-content;
    padding: 2px 15px 2px 15px;
    color: rgba(0, 100, 0, 1);
    background: rgba(0, 100, 0, 0.1);
    border-radius: 10px;
}

.post-container > p {
    text-align: center;
    color: #b2bec3;
    font-style: italic;
    margin-top: 2rem;
}

.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 2rem 0;
}

#load-more-btn {
    padding: 0.5rem 4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: royalblue;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

#load-more-btn:hover {
    background: rgba(65, 105, 225, 0.1);
    color: royalblue;
    border-color: rgba(65, 105, 225, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

#load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

#load-more-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

@media (max-width: 768px) {
    .post-card {
        flex-direction: column;
        height: auto;
    }

    .post-image {
        width: 100%;
        height: auto;
    }
}