.category-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;;
}

.category-cards .category-card {
    flex: 1 0 calc(20% - 20px);
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
	padding: 20px;
}

.category-cards .category-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.category-cards .category-card img {
    width: 100%;
    height: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.category-cards .category-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.category-cards .category-card h3 {
    margin: 0;
    font-weight: 300;
    padding-bottom: 10px;

}

.category-cards .category-card p {
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

@media (max-width: 1200px) {
    .category-cards .category-card {
        flex: 1 0 calc(25% - 20px);
        max-width: calc(25% - 20px);
    }
}

@media (max-width: 992px) {
    .category-cards .category-card {
        flex: 1 0 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .category-cards .category-card {
        flex: 1 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .category-cards .category-card {
        flex: 1 0 calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
}

.post-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-cards .post-card {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-align: left;
}

.post-cards .post-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.post-cards .post-card h3 {
    margin: 0;
	    font-size: 1.3em;
    font-weight: 300;
	color: #5a5450;
}
