.dhc-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.dhc-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dhc-card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.dhc-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dhc-blog-card:hover .dhc-card-img {
    transform: scale(1.05);
}

.dhc-card-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #0d6efd;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dhc-card-category:hover {
    background-color: #0b5ed7;
    color: white;
}

.dhc-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dhc-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.dhc-card-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dhc-card-title a:hover {
    color: #0d6efd;
}

.dhc-card-excerpt {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.dhc-read-more {
    display: inline-block;
    color: #0d6efd;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    margin-top: auto;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.dhc-read-more:hover {
    color: #0b5ed7;
}

.dhc-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.75rem;
    color: #6c757d;
}

.dhc-meta-author {
    display: flex;
    align-items: center;
}

.dhc-meta-author img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.dhc-author-name {
    font-weight: 600;
    color: #212529;
}

.dhc-post-date {
    font-size: 0.75rem;
    color: #6c757d;
}

.dhc-meta-reading-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dhc-block-title {
    margin-bottom: 1.5rem;
    text-align: center;
}

.dhc-no-posts {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.dhc-preview-message {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    color: #6c757d;
}

/* Responsive styles */
@media (max-width: 767.98px) {
    .dhc-card-img {
        height: 180px;
    }

    .dhc-card-content {
        padding: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .dhc-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .dhc-meta-reading-time {
        margin-left: 2.5rem;
    }
}