.blog-section {
    text-align: center;
    padding: 60px 20px;
    color: white;
}

/* HEADING */
.blog-header h1 {
    font-size: 48px;
    font-weight: 800;
}

.blog-header h1 span {
    color: orange;
}

.blog-header p {
    max-width: 800px;
    margin: 20px auto;
    color: #ccc;
    line-height: 1.6;
}

.blog-header h3 {
    margin-top: 30px;
    font-size: 20px;
}

/* FILTER BUTTONS */
.blog-filters {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-filters button {
    background: #111;
    color: orange;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s;
}

.blog-filters button.active,
.blog-filters button:hover {
    background: orange;
    color: black;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
    margin-bottom: 20px;
}

/* CARD */
.blog-card {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

/* IMAGE */
.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

/* DARK OVERLAY */
.blog-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* CONTENT */
.blog-content {
    position: absolute;
    bottom: 0;
    padding: 20px;
    z-index: 2;
    color: white;
}

/* TAG */
.blog-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.blog-tag {
    background: orange;
    font-size: 11px;
    padding: 4px 8px;
    font-weight: 600;
}

/* TITLE */
.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* META */
.blog-meta {
    font-size: 12px;
    color: #ff9d3c;
}

/* HOVER */
.blog-card:hover img {
    transform: scale(1.1);
}
@media (max-width: 1024px) {

    .blog-section {
        padding: 50px 15px;
    }

    /* HEADING */
    .blog-header h1 {
        font-size: 38px;
    }

    .blog-header p {
        font-size: 14px;
        max-width: 700px;
    }

    .blog-header h3 {
        font-size: 18px;
    }

    /* FILTER BUTTONS */
    .blog-filters {
        gap: 10px;
    }

    .blog-filters button {
        padding: 8px 14px;
        font-size: 13px;
    }

    /* GRID */
    .blog-grid {
        gap: 20px;
        margin-top: 40px;
    }

    /* CARD */
    .blog-card {
        height: 280px;
    }

    /* CONTENT */
    .blog-content {
        padding: 15px;
    }

    /* TAG */
    .blog-tag {
        font-size: 10px;
        padding: 3px 6px;
    }

    /* TITLE */
    .blog-title {
        font-size: 16px;
    }

    /* META */
    .blog-meta {
        font-size: 11px;
    }
}
@media (max-width: 768px) {

    .blog-section {
        padding: 40px 15px;
    }

    /* HEADING */
    .blog-header h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .blog-header h1 span {
        color: orange;
    }

    .blog-header p {
        font-size: 13px;
        max-width: 100%;
        padding: 0 10px;
        line-height: 1.5;
    }

    .blog-header h3 {
        font-size: 16px;
        margin-top: 25px;
    }

    /* FILTER BUTTONS */
    .blog-filters {
        gap: 8px;
        padding: 0 10px;
    }

    .blog-filters button {
        padding: 7px 12px;
        font-size: 12px;
        border-radius: 5px;
    }

    /* GRID → FORCE 2 COLUMNS */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px;
        margin-top: 35px;
        margin-bottom: 20px;
    }

    /* CARD */
    .blog-card {
        height: 260px;
        border-radius: 8px;
    }

    /* IMAGE */
    .blog-card img {
        transition: 0.3s;
    }

    /* CONTENT */
    .blog-content {
        padding: 12px;
    }

    /* TAGS */
    .blog-tags {
        gap: 6px;
        flex-wrap: wrap;
    }

    .blog-tag {
        font-size: 10px;
        padding: 3px 6px;
    }

    /* TITLE */
    .blog-title {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    /* META */
    .blog-meta {
        font-size: 11px;
    }

    /* HOVER (reduce intensity for mobile/tablet) */
    .blog-card:hover img {
        transform: scale(1.05);
    }
}
@media (max-width: 480px) {

    .blog-section {
        padding: 30px 12px;
    }

    /* HEADING */
    .blog-header h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .blog-header p {
        font-size: 13px;
        line-height: 1.6;
        padding: 0;
    }

    .blog-header h3 {
        font-size: 15px;
        margin-top: 20px;
    }

    /* FILTER BUTTONS */
    .blog-filters {
        gap: 8px;
        justify-content: center;
    }

    .blog-filters button {
        font-size: 11px;
        padding: 6px 10px;
    }

    /* GRID → 1 COLUMN */
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
        margin-top: 30px;
    }

    /* CARD */
    .blog-card {
        height: 240px;
        border-radius: 8px;
    }

    /* IMAGE */
    .blog-card img {
        transition: 0.3s;
    }

    /* CONTENT */
    .blog-content {
        padding: 12px;
    }

    /* TAGS */
    .blog-tags {
        gap: 5px;
        flex-wrap: wrap;
    }

    .blog-tag {
        font-size: 9px;
        padding: 3px 6px;
    }

    /* TITLE */
    .blog-title {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    /* META */
    .blog-meta {
        font-size: 10px;
    }

    /* HOVER → basically disabled feel (mobile doesn't need it) */
    .blog-card:hover img {
        transform: scale(1.02);
    }
}