.custom-filter-buttons {
    margin-bottom: 20px;
    text-align: center;
}

.filter-btn {
    display: flex;
    height: 47px;
    text-wrap: unset;
    color: #181A1B;
    padding: 16px 32px;
    opacity: 1;
    border-radius: 50px;
    background: #FFF;
    border: unset;
    width: unset;
    font-family: Sora;
    font-weight: 400;
    font-size: 15px;
    line-height: 15px;
    text-align: center;
    vertical-align: middle;
    align-items: center;
    white-space: nowrap;
}

.filter-btn.active,
.filter-btn:hover {
    opacity: 1;
    border-radius: 50px;
    background: #495F48;
    border: unset;
    font-family: Sora;
    font-weight: 400;
    font-size: 15px;
    line-height: 15px;
    vertical-align: middle;
    color: white;
}

.custom-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 16px 0;
}

@media screen and (max-width: 992px) {
    .custom-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.custom-post-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    transition: box-shadow .3s;
}

.custom-post-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom-post-cat {
    font-size: 12px;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.custom-post-thumb a {
    display: flex;
}

.custom-post-thumb img {
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.custom-post-title {
    margin: 0;
    font-family: Sora;
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    vertical-align: middle;
}

.custom-post-title a {
    color: #181A1B;
}

.custom-post-excerpt p {
    font-family: Sora;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    vertical-align: middle;
    color: #555555;
}

.custom-post-meta {
    font-size: 13px;
    color: #777;
    display: flex;
    justify-content: space-between;
}

.filters-div {
    display: flex;
    padding: 16px 0;
    gap: 14px;
    opacity: 1;
    flex-direction: column;
}

.filters-div p {
    font-family: Sora;
    font-weight: 500;
    font-size: 24px;
    line-height: 40px;
    vertical-align: middle;
    margin-bottom: 0;
}

.post-title-div {
    display: flex;
    padding: 16px 0;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}

.custom-blog-filters {
    overflow-x: auto;
    overflow-y: unset;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    min-width: 100%;
}

.post-title-div h3,
.post-title-div p {
    margin: 0;
}

.post-title-div h3 {
    font-family: Sora;
    font-weight: 400;
    font-size: 48px;
    line-height: 48px;
    vertical-align: middle;
}

.post-title-div p {
    font-family: Sora;
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    vertical-align: middle;
}

.breadcrumbs-div {
    gap: 32px;
}

.custom-post-category {
    padding: 8px 16px;
    border-radius: 50px;
    background: #FBF4E4;
    display: flex;
    align-items: center;
    flex-direction: row;
    font-family: Sora;
    font-weight: 400;
    font-size: 15px;
    line-height: 15px;
    text-align: center;
    vertical-align: middle;
    width: fit-content;
}

.custom-post-category a {
    color: #181A1B;
}

span.custom-read-time {
    font-family: Sora;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    vertical-align: middle;
    text-transform: uppercase;
    color: #495F48;
}

span.custom-post-date {
    font-family: Sora;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    vertical-align: middle;
    color: #555555;
}

.custom-post-excerpt {
    padding: 4px 0 13px 0;
}

.custom-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    padding: 16px 32px;
    gap: 24px;
    opacity: 1;
}

.custom-pagination .page-numbers li {
    margin-right: unset !important;
    border-radius: 100px !important;
}

.page-numbers li span,
.page-numbers li a {
    width: 62px;
    height: 58px;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    color: #555555;
    border-radius: 100px !important;
}

.page-numbers li span,
.page-numbers li a.current {
    background: unset;
}

@media(max-width: 1024px) {

    .custom-post-grid,
    .post-title-div,
    .filters-div {
        padding: 16px 24px;
    }

    .post-title-div h3 {
        font-size: 32px;
    }
}

@media(max-width: 768px) {

    .custom-post-grid,
    .post-title-div,
    .filters-div,
    .first-banner-blog {
        padding: 16px;
    }
}


.custom-post-thumb img {
    height: 300px;
    object-fit: cover;
}

@media(max-width: 991px) {
    .custom-post-thumb img {
        height: 235px;
    }
	.custom-pagination ul{
		gap: 5px;
	}
	.page-id-1218  .page-numbers li span, 
	.page-id-1218 .page-numbers li a{
		padding: 14px !important;
		height: 50px;
		width: 50px;
		margin-bottom: 30px;
	}
	
}

@media(max-width: 600px) {
    .custom-post-thumb img {
        height: 240px;
    }
}

.custom-pagination {
    margin-bottom: 30px;
}

