/* =========================
   BLOG SECTION (COMPONENT)
========================= */

.blog-section {
    background: transparent;
}

/* Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* Card */
.blog-card {
    position: relative;
    height: 380px;
    border-radius: 22px;
    overflow: hidden;

    background: var(--bg) center / cover no-repeat;
    text-decoration: none;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.12),
        0 6px 16px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.25);
}

/* Overlay */
.blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.55) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

/* Content */
.blog-content {
    position: absolute;
    bottom: 0;
    padding: 28px;
    color: #fff;
    z-index: 2;
}

.blog-date {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 8px;
    display: block;
}

.blog-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    color: #fff;
}

.read-more {
    margin-top: 14px;
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    color: #ffd6ef;
}

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

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card {
        height: 320px;
    }
}
