.example-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.example-posts article {
    width: calc(33.333% - 20px);
    border: 1px solid #ddd;
    padding: 10px;
    box-sizing: border-box;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 5px;
	aspect-ratio:16/9;
}
.overlay-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.post-thumbnail:hover .overlay-content {
    opacity: 1;
}
.overlay-excerpt {
    font-size: 0.9rem;
    color: #f0f0f0;
    line-height: 1.4;
    max-width: 95%;
    word-break: break-word;
    overflow-wrap: break-word;
}
.overlay-title,
.overlay-excerpt {
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translate(-50%, 50%);
    opacity: 0;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 1rem;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 80%;
    max-width: 320px;
    text-align: center;
    box-sizing: border-box;
    z-index: 2;
    transition: all 0.4s ease;
}
.overlay-title {
    max-width: 320px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.post-thumbnail:hover .overlay-title,
.post-thumbnail:hover .overlay-excerpt {
    bottom: 50%;
    transform: translate(-50%, 50%);
    opacity: 1;
}
.post-thumbnail:hover .overlay-title {
    bottom: 70%;
}
.post-thumbnail:hover .overlay-excerpt {
    bottom: 40%;
}
@media screen and (max-width: 768px) {
    .example-posts article {
        width: 100%;
        position: relative;
    }

    .overlay-content {
        position: absolute;
        background: rgba(0, 0, 0, 0.6);
        padding: 10px;
        border-radius: 5px;
        opacity: 1 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        z-index: 5;
    }
    .overlay-title,
    .overlay-excerpt {
        position: static;
        transform: none;
        opacity: 1;
        color: #fff;
        width: 100%;
        max-width: none;
        padding: 5px 0;
    }
    .post-thumbnail:hover .overlay-title,
    .post-thumbnail:hover .overlay-excerpt,
    .post-thumbnail:hover .overlay-content {
        bottom: 0;
        left: 0;
        top: 0;
        transform: none;
        opacity: 1;
        transition:1s;
		 box-sizing:border-box;
    }
    .post-thumbnail:hover .overlay-content{
        height:100%; 
    }
}
.example-posts article{
	border-radius:5px;
}
.post_category_container{
	margin-bottom:60px;
}
.post_category_wrapper{
	max-width:1100px;
	width:95vw;
	margin:0 auto;
}
.post_category_heading_img img{
	width:100%;
	height:300px;
	object-fit:cover;
	border-radius:5px;
	filter:brightness(0.8);
}
.example-posts{
	max-width:1100px;
	width:90vw;
	margin:0 auto;
    justify-content: space-between;
}
.post_category_heading_text{
	margin-bottom:30px;
}
.post_category_heading_text p{
	font-size:30px;
}
@media(max-width:768px){
.post_category_wrapper{
	width:90vw;
}
.post_category_heading_text p{
	font-size:25px;
}
.post_category_heading_text{
	margin-bottom:30px;
}
}
.pagination {
    text-align: center;
    margin-top: 30px;
}
.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #0073aa;
    text-decoration: none;
}
.pagination .current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}
.pagination a:hover {
    background-color: #005177;
    color: #fff;
    border-color: #005177;
}
