.ssnf-heading { margin: 0 0 0.5em; }
.ssnf-intro { color: #444; }

.ssnf-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 1.5em 0; padding-bottom: 1.2em; border-bottom: 1px solid #e3e3e3; }
.ssnf-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.ssnf-pill { padding: 6px 14px; border: 1px solid #d0d0d0; border-radius: 999px; font-size: 0.9em; text-decoration: none; color: inherit; background: #fff; }
.ssnf-pill:hover { border-color: #222; }
.ssnf-pill.is-active { background: #222; border-color: #222; color: #fff; }
.ssnf-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ssnf-search { display: flex; gap: 6px; margin: 0; }
.ssnf-search input[type="search"] { padding: 6px 10px; border: 1px solid #d0d0d0; border-radius: 4px; min-width: 180px; }
.ssnf-search button { padding: 6px 14px; border: 0; border-radius: 4px; background: #222; color: #fff; cursor: pointer; }
.ssnf-view { display: flex; border: 1px solid #d0d0d0; border-radius: 4px; overflow: hidden; }
.ssnf-viewbtn { display: flex; align-items: center; justify-content: center; padding: 7px 11px; text-decoration: none; color: inherit; background: #fff; }
.ssnf-viewbtn svg { display: block; }
.ssnf-viewbtn.is-active { background: #222; color: #fff; }
.ssnf-empty { padding: 2em 0; text-align: center; color: #666; }
.ssnf-intro p { margin: 0 0 1em; }
.ssnf-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin: 0 0 1.2em; }
.ssnf-pagination .page-numbers { padding: 6px 12px; border: 1px solid #e3e3e3; border-radius: 4px; text-decoration: none; }
.ssnf-pagination .page-numbers.current { background: #222; border-color: #222; color: #fff; }
.ssnf-pagination a.page-numbers:hover { border-color: #222; }

.ssnf { display: grid; gap: 24px; margin: 1.5em 0; }
.ssnf-grid.ssnf-cols-1 { grid-template-columns: 1fr; }
.ssnf-grid.ssnf-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ssnf-grid.ssnf-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ssnf-grid.ssnf-cols-4 { grid-template-columns: repeat(4, 1fr); }
.ssnf-list { grid-template-columns: 1fr; }

.ssnf-item { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e3e3; border-radius: 6px; overflow: hidden; }
.ssnf-list .ssnf-item { flex-direction: row; }
.ssnf-thumb { display: block; flex: 0 0 auto; }
.ssnf-thumb img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ssnf-list .ssnf-thumb { width: 260px; }
.ssnf-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ssnf-date { font-size: 0.8em; color: #666; }
.ssnf-title { margin: 0; font-size: 1.15em; line-height: 1.3; }
.ssnf-title a { text-decoration: none; color: inherit; }
.ssnf-title a:hover { text-decoration: underline; }
.ssnf-excerpt { margin: 0; color: #444; }
.ssnf-more { margin-top: auto; font-weight: 600; text-decoration: none; }

@media (max-width: 900px) {
	.ssnf-grid.ssnf-cols-3, .ssnf-grid.ssnf-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.ssnf-grid { grid-template-columns: 1fr !important; }
	.ssnf-list .ssnf-item { flex-direction: column; }
	.ssnf-list .ssnf-thumb { width: 100%; }
}
