.blog-filter-toolbar{
display:flex;
justify-content:flex-end;
margin-bottom:25px;
}
.filter-dropdown-wrap{
position:relative;
}
.filters-toggle-btn{
background:#f5871f;
color:#fff;
border:0;
padding:12px 20px;
border-radius:6px;
cursor:pointer;
font-size:15px;
font-weight:600;
}
.filters-toggle-btn:hover{
background:#e27812;
}
.filters-dropdown{
position:absolute;
top:110%;
right:0;
background:#fff;
min-width:200px;
border-radius:8px;
border:1px solid #eee;
box-shadow:0 10px 30px rgba(0,0,0,.12);
display:none;
z-index:999;
}
.filter-option{
padding:12px 18px;
cursor:pointer;
transition:.3s;
}
.filter-option:hover{
background:#f5f5f5;
}
.filter-option.active{
background:#1c75bc;
color:#fff;
}
.blog-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}
.blog-card{
border-radius:12px;
overflow:hidden;
background:#fff;
border:1px solid #eee;
transition:.3s;
}
.blog-card:hover{
transform:translateY(-5px);
box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.blog-card img{
width:100%;
height:220px;
object-fit:cover;
display:block;
}
.card-body{
padding:20px;
}
.card-cat{
color:#1c75bc;
font-size:12px;
text-transform:uppercase;
font-weight:700;
margin-bottom:10px;
}
.blog-card h2{
margin:0 0 10px;
font-size:22px;
line-height:1.4;
}
.blog-card h2 a{
color:#222;
text-decoration:none;
}
.card-date{
color:#888;
font-size:13px;
}
@media(max-width:991px){
.blog-grid{
grid-template-columns:repeat(2,1fr);
}
}
@media(max-width:767px){
.blog-grid{
grid-template-columns:1fr;
}
.blog-filter-toolbar{
justify-content:center;
}
}