/* ================================================
   BLOG CARDS
================================================ */

.wg-blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.wg-blog-card {
    background: #FFFFFF;
    border-radius: 1.25rem;
    border: 1px solid #F3F4F6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.35s ease;
    width: 100%;
    height: 100%;
}

.wg-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(217, 119, 6, 0.15);
}

.wg-blog-card-img-wrapper {
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.wg-blog-card-img {
    width: 100%;
    height: 220px !important;
    min-height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.wg-blog-card:hover .wg-blog-card-img {
    transform: scale(1.05);
}

.wg-blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 600;
    color: #D97706;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.01em;
}

.wg-blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
    gap: 6px;
}

.wg-blog-card-date {
    font-size: 11.5px;
    font-weight: 600;
    color: #D97706;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.wg-blog-card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    font-weight: 400;
    color: #1F2937;
    margin: 0;
    line-height: 1.3;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.wg-blog-card-title:hover {
    color: #D97706;
}

.wg-blog-card-excerpt {
    font-size: 13.5px;
    color: #4B5563;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wg-blog-card-spacer {
    flex: 1;
}

.wg-blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #F3F4F6;
}

.wg-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 0.75rem;
    background: #D97706;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #D97706;
    transition: all 0.25s ease;
    width: 100%;
    justify-content: center;
}

.wg-blog-read-more:hover {
    background: transparent;
    color: #D97706;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .wg-blog-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .wg-blog-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ── Clickable card overlay ── */
.wg-blog-card {
    position: relative;
}

.wg-blog-card-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}