.custom-posts-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}
.custom-post-card {
border: 1px solid #eee;
border-radius: 0px;
padding: 0px;
background: #fff;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
transition: all 0.2s ease;
}
.custom-post-card:hover {
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.custom-post-thumb {
position: relative;
margin-bottom: 0px;
}
.custom-post-thumb.fill-box img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 8px;
}
.custom-post-title {
font-size: 16px;
line-height: 18px;
margin: 1px 5px;
font-family: Roboto Slab;
}
.custom-post-title a {
text-decoration: none;
color: inherit;
}
.custom-post-meta {
font-size: 13px;
color: #888;
margin-bottom: 10px;
}
.custom-post-meta .author::before {
content: " • ";
}
.custom-post-excerpt {
font-size: 14px;
color: #555;
}
.custom-post-category {
position: absolute;
bottom: 5px;
left: 0;
background: rgba(0,0,0,0.7);
color: #fff;
padding: 2px 5px;
font-size: 12px;
border-top-right-radius: 6px;
z-index: 2;
}
.latest-posts-list {
list-style: none;
padding: 0;
margin: 0;
}
.latest-post-item {
display: flex;
list-style-type: none;
align-items: flex-start;
gap: 10px;
padding: 10px 0;
border-bottom: 1px solid #eee;
}
.latest-post-thumb img {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 4px;
}
.latest-post-content {
flex: 1;
}
.latest-post-title {
text-decoration: none;
font-weight: 600;
color: #222;
display: block;
font-size: 14px !important;
}
.latest-post-item .date {
font-size: 13px;
color: #777;
}