
html,
body {
    background-color: #FAF9FE !important;
     width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Main website sections */
section,
main,
footer,
.wrapper,
.container {
    background-color: #FAF9FE;
}

/* Common page backgrounds */
.nec-export-page,
.nec-machine-section,
.nec-content-section,
.nec-products-section,
.nec-faq-section {
    background-color: #FAF9FE !important;
}


/* =========================================
   NEC BLOG PAGE
========================================= */

.nec-blog-page {
    box-sizing: border-box;
    width: 100%;
    min-height: 600px;
    padding: 150px 100px 50px 100px;
    background: #f8f9fb;
    font-family: 'League spartan', Arial, sans-serif;
}

.nec-blog-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

/* BLOG CARD */

.nec-blog-card {
    width: 380px;
    max-width: 100%;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.035);
    transition: box-shadow 0.3s ease;
}

.nec-blog-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* TOP CONTENT */

.nec-blog-content-top {
    padding: 20px;
}

.nec-blog-category {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #173b70;
    margin-bottom: 21px;
}

.nec-blog-content-top h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #232323;
    margin: 0;
    padding: 0;
}

/* BLOG IMAGE */

.nec-blog-image {
    width: 100%;
    height: 270px;
    overflow: hidden;
}

.nec-blog-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* BLOG DESCRIPTION */

.nec-blog-description {
    padding: 20px;
}

.nec-blog-description p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    color: #232323;
    margin: 0 0 20px;
}

/* BLOG META */

.nec-blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    color: #232323;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.nec-blog-author,
.nec-blog-date {
    display: inline-block;
}

.nec-blog-separator {
    color: #173b70;
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1300px) {

    .nec-blog-container {
        width: 92%;
    }

}

@media (max-width: 768px) {
    
    .nec-blog-page {
        padding: 20px 0;
        margin-top:80px;
    }

    .nec-blog-container {
        width: 92%;
        justify-content: center;
    }

    .nec-blog-card {
        width: 100%;
        max-width: 396px;
    }

    .nec-blog-content-top {
        padding: 18px 22px;
    }

    .nec-blog-content-top h2 {
        font-size: 17px;
    }

    .nec-blog-image {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .nec-blog-description {
        padding: 17px 22px 25px;
    }

    .nec-blog-description p {
        font-size: 13px;
    }

}

@media (max-width: 480px) {
    
    .nec-blog-meta {
        gap: 7px;
        font-size: 9px;
    }

}
.nec-blog-card a,
.nec-blog-card a:hover,
.nec-blog-card a:focus {
    text-decoration: none !important;
}