.np-threecat-section {
    padding: 30px 5vw 40px;
    background: #f2f2f2;   /* light grey page background */
}

/* three columns in a row */
.np-threecat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* whole card for each category */
.np-threecat-card {
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* red label on top */
.np-threecat-label-wrap {
    text-align: center;
    padding-top: 8px;
}

.np-threecat-label {
    display: inline-block;
    background: #e51c23;
    color: #fff;
    padding: 4px 16px;
    border-radius: 2px;
    font-size: 22px;
    font-weight: 700;
}

/* main story */
.np-threecat-main {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0 0 10px;
}

.np-threecat-main-thumb {
    margin-top: 8px;
}

.np-threecat-main-thumb img,
.np-threecat-main-thumb-placeholder {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.np-threecat-main-thumb-placeholder {
    background: #ddd;
}

.np-threecat-main-title {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 12px 0;
    font-family: "Mukta", sans-serif;
     line-height: 1.4;
}



.np-threecat-list-item {
    display: block;
    padding: 8px 12px;
    border-top: 1px solid #f0f0f0;
    text-decoration: none;
    color: #111;
    font-size: 14px;
    line-height: 1.4;
}

.np-threecat-list-item:first-child {
    border-top: none;
}

.np-threecat-list-item:hover {
    background: #fafafa;
color: rgb(65, 105, 225);
}

/* responsive */
@media (max-width: 992px) {
    .np-threecat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .np-threecat-row {
        grid-template-columns: 1fr;
    }
    .np-threecat-main-thumb img,
    .np-threecat-main-thumb-placeholder {
        height: 180px;
    }
}


/* small list items with icon */
.np-threecat-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    text-decoration: none;
    color: #111;
    font-size: 18px;
    line-height: 1.4;
    font-family: "Mukta", sans-serif;
}

.np-threecat-list-item:first-child {
    border-top: none;
}

.np-threecat-list-item:hover {
    background: #fafafa;
    color: rgb(65, 105, 225);
}

/* icon style */
.np-threecat-list-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid #d0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #333;
    flex-shrink: 0;
}

.np-threecat-list-item:hover .np-threecat-list-icon {
    border-color: #d21920;
color: rgb(65, 105, 225);
}
.np-threecat-list{
        height: 380px;
}