/* Unique Prefix 'ne-' to avoid CSS conflicts */

.ne-blog-outer {
    padding: 80px 5%;
    background-color: #f9f9f9;
    text-align: center;
    width: 100%;
    display: block;
}

.ne-blog-header-box {
    margin-bottom: 60px;
}

.ne-blog-header-box h1 {
    font-size: 38px;
    color: #0b1c39; /* Branded Dark Blue */
    font-weight: 800;
    margin: 0;
}

.ne-blog-header-box h1 span {
    color: #df0617; /* Signature Red */
}

.ne-blog-header-box p {
    color: #666;
    font-size: 16px;
    margin-top: 15px;
}

/* Unique Grid Layout */
.ne-blog-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Unique Post Card Styling */
.ne-post-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    /* OUR SIGNATURE RED BORDER */
    border-bottom: 5px solid #df0617;
}

.ne-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.ne-post-media {
    position: relative;
    height: 230px;
    width: 100%;
}

.ne-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ne-post-tag-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #df0617;
    color: #fff;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.ne-post-body {
    padding: 25px;
    flex-grow: 1;
}

.ne-post-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #df0617;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    display: block;
}

.ne-post-body h3 {
    font-size: 22px;
    color: #0b1c39;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.ne-post-body p {
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.ne-post-link {
    text-decoration: none !important;
    color: #0b1c39;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    margin-top: auto; /* Pushes to bottom */
}

.ne-post-link:hover {
    color: #df0617;
    padding-left: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ne-blog-main-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    .ne-blog-header-box h1 {
        font-size: 30px;
    }
}