/**
 * Blog Row Widget Styles
 * Simple single-row display of blog posts
 */

/* ===================
   CONTAINER
   =================== */
.hmea-blog-row {
    display: grid;
    gap: 24px;
    width: 100%;
}

/* ===================
   CARD
   =================== */
.hmea-blog-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hmea-blog-card:hover {
    transform: translateY(-4px);
}

/* ===================
   IMAGE
   =================== */
.hmea-blog-card-image {
    display: block;
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hmea-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hmea-blog-card:hover .hmea-blog-card-image img {
    transform: scale(1.05);
}

/* ===================
   CATEGORY BADGE
   =================== */
.hmea-blog-category {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-block;
    padding: 4px 10px;
    background-color: #10b981;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    z-index: 2;
}

/* ===================
   CONTENT
   =================== */
.hmea-blog-card-content {
    padding: 20px;
}

/* ===================
   TITLE
   =================== */
.hmea-blog-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.hmea-blog-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hmea-blog-title a:hover {
    color: #10b981;
}

/* ===================
   EXCERPT
   =================== */
.hmea-blog-excerpt {
    margin: 0 0 15px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* ===================
   META
   =================== */
.hmea-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #94a3b8;
}

.hmea-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hmea-blog-meta i {
    color: #cbd5e1;
    font-size: 12px;
}

/* ===================
   READ MORE
   =================== */
.hmea-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

.hmea-blog-read-more:hover {
    color: #059669;
    gap: 10px;
}

.hmea-blog-read-more i {
    font-size: 12px;
}

/* ===================
   RESPONSIVE
   =================== */
@media (max-width: 767px) {
    .hmea-blog-card-content {
        padding: 16px;
    }

    .hmea-blog-title {
        font-size: 16px;
    }

    .hmea-blog-excerpt {
        font-size: 13px;
    }

    .hmea-blog-meta {
        font-size: 12px;
    }
}