.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:0 0.25px 0.75px light-dark(rgba(0, 0, 0, 2%), rgba(0, 0, 0, 6%)), 0 2px 6px light-dark(rgba(0, 0, 0, 4%), rgba(0, 0, 0, 12%));
    height: 100%;
    display: flex;
    flex-direction: column;
     /* align-items: center;
    justify-content: space-between;
    gap: 16px; */
}

.blog-card:hover{
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
 
/* .blog-card-content {
    flex: 1;
    min-width: 0;
}

.blog-card-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #f23436;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-arrow {
    transform: translate(3px, -3px);
}  */

.blog-card-image {
    display: block;
    width: 100%;
    text-decoration: none;
    padding: 18px 18px 0;
}

.blog-card-img {
    width: 100%;
    max-height: 232px;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.blog-card-placeholder {
    width: 100%;
    height: 200px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.blog-card-placeholder i {
    font-size: 48px;
    color: #bdbdbd;
}

.blog-card-content {
     padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1
}

/* =========================
   META
========================= */

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
    color: #777b89;
    font-size: 11px;
}

.blog-card-meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.blog-card-category {
    color: #f23536;
    font-weight: 600;
    text-transform: capitalize;
}

.blog-card-date {
    position: relative;
    padding-left: 10px;
}

.blog-card-date::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 3px;
    background: #999;
    border-radius: 50%;
    transform: translateY(-50%);
}

.blog-card-meta-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
    white-space: nowrap;
}

.blog-card-views {
    position: relative;
    padding-left: 10px;
}

.blog-card-title { 
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.3px;
    font-weight: 550;
}

.blog-card-title a {
    color: #1f1f1f;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #f23536;
}

/* =========================
   EXCERPT
========================= */

.search-post-excerpt {
    margin-bottom: 15px;
    color: #666b7b;
    font-size: 13px;
    line-height: 1.7;
    flex: 1;
}

/* =========================
   CARD FOOTER
========================= */

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 5px;
}

.blog-card-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #777b89;
    font-size: 12px;
}

.blog-card-author img {
    width: 33px;
    height: 33px;
    flex: 0 0 36px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-card-author-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.blog-card-author-name {
    color: #555;
    font-size: 12px;
    line-height: 15px;
    font-weight: 600;
} 

.sblog-card-author-role {
    margin-top: 2px;
    color: #999;
    font-size: 11px;
    line-height: 14px;
}


/* =========================
   READ MORE
========================= */
 

.blog-card-read-more {
    color: #f23536;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;  display: inline-flex;
    align-items: center;
    gap: 6px;
}
 

.blog-card-read-more .read-more-arrow {
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.blog-card-read-more:hover .read-more-arrow {
    transform: translateX(4px);
}

 


@media (min-width:768px) and (max-width:1200px) {
    .blog-card-placeholder {
       aspect-ratio: 16 / 7.8;
       height: auto;
    }
}

@media (min-width:992px) and (max-width:1200px) { 
     .blog-card-title{
       letter-spacing: 0.1px;
        font-size: 14.5px;
    }
}

@media (min-width:1201px) and (max-width:1399px) {
    .blog-card-placeholder {
        height: 170px;
    }
}

@media (min-width:1400px) {
    .blog-grid{
        gap:40px;
        padding: 20px;
    }
    .blog-card-placeholder {
        height: 200px;
    }
    .blog-card-content{
        padding: 15px 20px 20px;
    }
    .blog-card-title{
        min-height: 65px;
        line-height: 22px;
    }
}


.blog-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-numbers li {
    margin: 0;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.blog-pagination .page-numbers a:hover {
    background: #f23536;
    border-color: #f23536;
    color: #fff;
}

.blog-pagination .page-numbers .current {
    background: #f23536;
    border-color: #f23536;
    color: #fff;
}

.blog-pagination .page-numbers .dots {
    border: none;
    min-width: auto;
}