/* Blog Grid Layout */
#blog-posts{
	min-height:500px;
	align-content: center;
}
.blog-grid{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:35px;
	margin-top:40px;
}
.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 20%);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}
.blog-card img{
    width:100%;
    max-height:220px;
	min-height:220px;
    object-fit:cover;
    transition:transform 0.4s ease;
}
.blog-card:hover img{
    transform:scale(1.05);
}
.blog-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-card h3 {
    margin-top: 0;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
}
.blog-card h3:hover a {
    color: #093B9E;   
}
.blog-card h3 a {
    color: #293d4c;   
}
.blog-card p {
    font-size: 16px;
    font-weight: 400;
    color: rgb(0, 0, 0);
    line-height: 1.6;
}
.read-more-block {
    margin-top: auto;
    text-align: center;
}
.blog-card .blog-more-btn {
    padding: 8px 15px;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    background: #293D4C;
    color: #fff;
    border-radius: 10px;
    min-width: 150px;
}
.blog-card .blog-card:hover{
     color: #fff;
}

/* Pagination */
.blog-pagination {
    margin: 40px 0 ;
    text-align: center;
    padding: 16px 24px;
    border-radius: 10px;
    border: 1px solid #C7C7CC;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-pagination .page-navigation {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px #1018280D;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    background: #F2F2F7;
    transition: 0.3s;
    color: #484848;
}

.blog-pagination .page-navigation:hover {
    background: #000;
    color: #fff;
}

.blog-pagination .page {
    display: inline-block;
    padding: 8px 14px;
    margin: 5px;
    border: 1px solid #C7C7CC;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    color: #282828;
}

.blog-pagination .page.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.blog-pagination .page:hover {
    background: #000000;
    color: #fff;
}

/* Responsive */
@media (max-width:1024px){
    .blog-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:640px){
    .blog-grid{
        grid-template-columns:1fr;
    }
    .blog-pagination{
        padding: 10px !important;
        flex-direction: column;
    }
}

.blog-loader{
	width:40px;
	height:40px;
	border:4px solid #eee;
	border-top:4px solid #00007b;
	border-radius:50%;
	animation:spin 1s linear infinite;
	margin:auto;
	text-align:center;
	padding:40px;
}

@keyframes spin{
	100%{transform:rotate(360deg);}
}
.blog-list-pagination{
	display:flex;
	justify-content:center;
	align-items:center;
	gap:10px;
	margin-top:40px;
	flex-wrap:wrap;
}

.blog-list-pagination a{
	padding:10px 15px;
	border:1px solid #ddd;
	border-radius:6px;
	text-decoration:none;
	color:#333;
	font-weight:500;
}

.blog-list-pagination a.active{
	background:#ff2c55;
	color:#fff;
	border-color:#ff2c55;
}

.blog-list-pagination a:hover{
	background:#f4f4f4;
}