/* =========================================================
   01. News Card Base
   ========================================================= */

.nc-card {
    background: #111827 !important;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px !important;
    color: white;
    overflow: hidden;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .nc-card:hover {
        transform: translateY(-4px);
        border-color: rgba(139,92,246,.45);
        box-shadow: 0 18px 42px rgba(0,0,0,.35);
    }

.nc-image {
    min-height: 170px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.nc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(139,92,246,.9);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.nc-content {
    padding: 16px;
}

.nc-category {
    color: #a78bfa;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.nc-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.15;
}

.nc-card h4 {
    margin: 8px 0 0;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 500;
}

.nc-card p {
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.5;
    margin: 10px 0 0;
}

.nc-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: #9ca3af;
    font-size: 12px;
    margin-top: 12px;
}

    .nc-meta span + span::before {
        content: "•";
        margin-right: 8px;
    }

.nc-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.nc-icon {
    color: #c4b5fd;
    margin-bottom: 10px;
}

.nc-progress {
    margin-top: 12px;
}

/* =========================================================
   02. Layouts
   ========================================================= */

.nc-hero .nc-image {
    min-height: 390px;
}

.nc-hero .nc-content {
    padding: 22px;
}

.nc-hero h3 {
    font-size: 30px;
    letter-spacing: -.04em;
}

.nc-large .nc-image {
    min-height: 260px;
}

.nc-large h3 {
    font-size: 24px;
}

.nc-medium .nc-image {
    min-height: 180px;
}

.nc-compact {
    display: grid;
    grid-template-columns: 1fr;
}

    .nc-compact .nc-image {
        display: none;
    }

    .nc-compact .nc-content {
        padding: 14px;
    }

    .nc-compact h3 {
        font-size: 15px;
    }

.nc-horizontal {
    display: grid;
    grid-template-columns: 120px 1fr;
}

    .nc-horizontal .nc-image {
        min-height: 100%;
    }

    .nc-horizontal .nc-content {
        padding: 12px;
    }

    .nc-horizontal h3 {
        font-size: 15px;
    }

.nc-list {
    display: grid;
    grid-template-columns: 70px 1fr;
}

    .nc-list .nc-image {
        min-height: 70px;
    }

    .nc-list .nc-content {
        padding: 10px;
    }

    .nc-list h3 {
        font-size: 14px;
    }

/* =========================================================
   03. Mobile
   ========================================================= */

@media(max-width:768px) {
    .nc-horizontal,
    .nc-list {
        grid-template-columns: 90px 1fr;
    }

    .nc-hero .nc-image {
        min-height: 300px;
    }

    .nc-hero h3 {
        font-size: 24px;
    }
}


