/* General container for each post type section */
.post-type-section {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-type-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Container for the post cards */
.post-type-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

/* Styling each card */
.wppost-card {
    width: 100%;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    text-decoration: none !important;
	display: flex;
	flex-direction: column;
}

.wppost-card:hover {
    transform: translateY(-5px);
}


.wppost-thumb {
    height: 120px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 35% auto;
    width: 100%;
}

/* Post details inside the card */
.wppost-details {
    padding: 15px;
	margin-top: auto;
}

.wppost-title {
    font-size: 18px;
    font-weight: bold;
        line-height: 24px;
        color: #333;
    text-decoration: none;
	    margin-bottom: 5px;
}

.wppost-meta {
    font-size: 12px;
    color: #666;
}

.wppost-excerpt {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.wppost-meta .wppost-author {
    font-weight: bold;
}

.wppost-meta .wppost-date {
    font-style: italic;
}

.load-more-btn {
    display: block;
    background-color: #ebebeb;
    color: #000 ;
    border: 2px solid #DADADA;
    padding: 10px 20px;
    margin: 20px auto 0;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.load-more-btn:hover {
    opacity: .9;
}

.loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease infinite;
    vertical-align: middle;
    margin-left: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 920px) {
	.post-type-container {
		grid-template-columns: 1fr 1fr;
	}
}


@media screen and (max-width: 580px) {
	.post-type-container {
		grid-template-columns: 1fr;
	}
}