/* ===============================
   MODERN BLOG CARD UI
================================ */

.blog-card-modern {
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

/* Hover Animation */
.blog-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

/* Image Section */
.blog-img {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card-modern:hover .blog-img img {
    transform: scale(1.1);
}

/* Category Badge */
.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #c552a0, #c48bb4);
    color: #fff;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
}

/* Content */
.blog-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Meta */
.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

.blog-meta i {
    color: #c552a0;
    margin-right: 4px;
}

/* Title */
.blog-title {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 18px;
    color: #777;
    font-family: Poppins, sans-serif;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Button */
.blog-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #c552a0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-btn i {
    transition: transform 0.3s ease;
}

.blog-btn:hover {
    color: #111;
}

.blog-btn:hover i {
    transform: translateX(6px);
}
