.tsf-featured-wrap {
    margin-bottom: 3rem;
}

.tsf-section-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;font-weight:bold;
}

.tsf-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border, #2a2a30);
}

/* ── Grid: 3-column base, big card spans all 3 ── */
.tsf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border, #2a2a30);
    border-radius: 12px;
    overflow: hidden;
}

/* Big card: full width top row */
.tsf-card-main {
    grid-column: 1 / -1;
    grid-row: 1;
    background: var(--surface, #17171a);
    transition: background 0.2s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.tsf-card-main:hover { background: var(--surface2, #1f1f24); }

/* Small cards: second row, 3 columns */
.tsf-card-sub {
    background: var(--surface, #17171a);
    transition: background 0.2s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.tsf-card-sub:hover { background: var(--surface2, #1f1f24); }

/* Count variants */
.tsf-grid.tsf-count-1 .tsf-card-main { grid-column: 1 / -1; }

.tsf-grid.tsf-count-2 { grid-template-columns: 1fr 1fr; }
.tsf-grid.tsf-count-2 .tsf-card-main { grid-column: 1 / -1; }

.tsf-grid.tsf-count-3 { grid-template-columns: 1fr 1fr; }
.tsf-grid.tsf-count-3 .tsf-card-main { grid-column: 1 / -1; }

.tsf-grid.tsf-count-4 { grid-template-columns: repeat(3, 1fr); }
.tsf-grid.tsf-count-4 .tsf-card-main { grid-column: 1 / -1; }

/* ── Thumbnails ── */
.tsf-thumb-wrap {
    width: 100%;
    overflow: hidden;
}
.tsf-card-main .tsf-thumb-wrap { aspect-ratio: 21 / 7; }
.tsf-card-sub  .tsf-thumb-wrap { aspect-ratio: 16 / 9; }

.tsf-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.4s;
}
.tsf-card-main:hover .tsf-thumb-wrap img,
.tsf-card-sub:hover  .tsf-thumb-wrap img {
    opacity: 1;
    transform: scale(1.02);
}

.tsf-no-thumb {
    background: var(--surface2, #1f1f24);
    width: 100%;
    display: block;
}
.tsf-card-main .tsf-no-thumb { aspect-ratio: 21 / 7; }
.tsf-card-sub  .tsf-no-thumb { aspect-ratio: 16 / 9; }

/* ── Card body ── */
.tsf-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.tsf-card-main .tsf-card-body { padding: 1.75rem; }

/* ── Tag ── */
.tsf-tag {
    display: inline-block;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

/* ── Title ── */
.tsf-card-title {
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-decoration: none;
    display: block;
    margin-bottom: 0.65rem;
}

.tsf-card-main .tsf-card-title { font-weight: 700; }
.tsf-card-sub  .tsf-card-title { font-weight: 700; }

/* ── Excerpt ── */
.tsf-excerpt {
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: auto;
}
.tsf-card-main .tsf-excerpt {
    -webkit-line-clamp: 3;
    max-width: 640px;
}

/* ── Meta ── */
.tsf-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
}
.tsf-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border, #2a2a30);
    display: inline-block;
}

/* ── Editor notice ── */
.tsf-editor-notice {
    background: var(--surface, #17171a);
    border: 2px dashed var(--border, #2a2a30);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .tsf-grid,
    .tsf-grid.tsf-count-2,
    .tsf-grid.tsf-count-3,
    .tsf-grid.tsf-count-4 {
        grid-template-columns: 1fr;
    }
    .tsf-card-main,
    .tsf-grid.tsf-count-4 .tsf-card-main {
        grid-column: 1;
        grid-row: auto;
    }
    .tsf-card-main .tsf-thumb-wrap { aspect-ratio: 16 / 9; }
}