.cebg-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:32px;
margin:40px 0;
}

.cebg-card{
background:#fff;
border-radius:24px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
display:flex;
flex-direction:column;
min-height:680px;
}

.cebg-image{
position:relative;
overflow:hidden;
aspect-ratio:16/10;
width:100%;
}

.cebg-image img{
width:100%;
height:100%;
object-fit:cover;
object-position:center;
display:block;
transition:.4s;
}

.cebg-card:hover .cebg-image img{
transform:scale(1.04);
}

.cebg-category{
position:absolute;
top:18px;
left:18px;
background:rgba(0,0,0,.75);
color:#fff;
padding:10px 16px;
border-radius:10px;
font-size:13px;
font-weight:700;
z-index:2;
}

.cebg-content{
padding:30px;
display:flex;
flex-direction:column;
flex:1;
}

.cebg-title{
font-size:24px;
line-height:1.35;
margin:0 0 24px;
min-height:130px;
font-weight:700;
}

.cebg-title a{
color:#111;
text-decoration:none;
transition:.3s ease;
}

.cebg-title a:hover{
color:#7a0000 !important;
}

.cebg-excerpt{
font-size:16px;
line-height:1.9;
color:#444;
min-height:100px;
margin-bottom:30px;
}

.cebg-button-wrap{
margin-top:auto;
padding-bottom:30px;
}

.cebg-button{
background:#c40000;
color:#fff !important;
padding:15px 26px;
border-radius:12px;
text-decoration:none;
display:inline-block;
transition:.3s ease;
}

.cebg-button:hover{
background:#222 !important;
color:#fff !important;
}

.cebg-meta{
border-top:1px solid #e5e5e5;
padding-top:22px;
display:flex;
flex-direction:column;
gap:12px;
font-size:14px;
font-weight:600;
}

.cebg-pagination{
margin-top:45px;
text-align:center;
}

.cebg-pagination .page-numbers{
display:inline-block;
padding:12px 18px;
margin:5px;
border-radius:12px;
background:#f3f3f3;
text-decoration:none;
color:#111;
}

.cebg-pagination .current{
background:#c40000;
color:#fff;
}

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

@media(max-width:767px){
.cebg-grid{
grid-template-columns:1fr;
}

.cebg-card{
min-height:auto;
}

.cebg-title{
font-size:22px;
min-height:auto;
}

.cebg-excerpt{
min-height:auto;
}
}
