/* =============================================
   shortstory2 — news cards
   ============================================= */

:root {
    --nc-accent: rgb(255, 87, 34);
    --nc-accent-bg: rgba(255, 87, 34, 0.08);
}

/* Vertical dividers between cols */
.nc.col + .nc.col {
    border-left: 1px solid var(--bs-border-color) !important;
}

/* Card base */
.nc {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    transition: background 0.15s;
}

.nc:hover {
    background: rgba(0,0,0,0.02);
}

/* Accent bar — only on first card */
.nc.col:first-child {
    border-top: 3px solid var(--nc-accent) !important;
}

/* Top row */
.nc-top {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

/* Thumbnail */
.nc-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f1f3f5;
    border: 1px solid var(--bs-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 20px;
}

.nc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Meta */
.nc-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.nc-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--bs-body-color);
    text-decoration: none;
    display: block;
}

.nc-title:hover {
    color: var(--nc-accent);
    text-decoration: none;
}

.nc-date {
    font-size: 11px;
    color: var(--bs-secondary-color, #6c757d);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Body text */
.nc-body {
    font-size: 13px;
    color: var(--bs-secondary-color, #6c757d);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 0.75rem;
}

.nc-body img {
    display: none;
}

/* Footer */
.nc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 0.625rem;
    border-top: 1px solid var(--bs-border-color);
    margin-top: auto;
}

.nc-stats {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nc-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--bs-secondary-color, #6c757d);
    white-space: nowrap;
}

.nc-stat a {
    color: inherit;
    text-decoration: none;
}

.nc-stat a:hover {
    color: var(--nc-accent);
}

.nc-likes {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--bs-secondary-color, #6c757d);
    white-space: nowrap;
}

.nc-likes a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nc-likes a:hover {
    color: #e53935;
}

/* Actions */
.nc-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nc-actions a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* Bookmark */
.nc-actions a:has(.nc-bookmark) {
    color: #adb5bd;
    transition: color 0.15s;
}

.nc-actions a:has(.nc-bookmark):hover {
    color: var(--nc-accent);
}

.nc-actions a:has(.nc-bookmark.del) {
    color: var(--nc-accent);
}

i.nc-bookmark {
    font-size: 16px;
    line-height: 1;
}

/* Read more link */
.nc-link {
    font-size: 12px;
    font-weight: 500;
    color: var(--nc-accent) !important;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.nc-link:hover {
    opacity: 0.8;
}
/* Icon instead of image */
.nc-icon-box {
    background: rgb(195 195 195 / 8%);
    /*color: var(--nc-accent);*/
}

.nc-icon {
    display: none;
    font-size: 28px;
    line-height: 1;
}

/* 1st card */
.nc:nth-child(1) .nc-icon-1 {
    display: block;
}

/* 2nd card */
.nc:nth-child(2) .nc-icon-2 {
    display: block;
}

/* 3rd card */
.nc:nth-child(3) .nc-icon-3 {
    display: block;
}
/* Tag + date row */
.nc-info-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nc-tag {
    display: none;
    align-items: center;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    background: rgb(195 195 195 / 8%);
    /*color: var(--nc-accent);*/
    white-space: nowrap;
    border: 1px solid var(--bs-border-color);
}

/* 1st card */
.nc:nth-child(1) .nc-tag-1 {
    display: inline-flex;
}

/* 2nd card */
.nc:nth-child(2) .nc-tag-2 {
    display: inline-flex;
}

/* 3rd card */
.nc:nth-child(3) .nc-tag-3 {
    display: inline-flex;
}
/* Mobile: remove left border, add bottom border between cards */
@media (max-width: 767px) {
    .nc.col + .nc.col {
        border-left: none !important;
        border-top: 1px solid var(--bs-border-color) !important;
    }
    .nc.col:first-child {
        border-top: 3px solid var(--nc-accent) !important;
    }
}