/* /news: Kopfleiste (Icon + Titel | Kategorie-Pillen | Sortierung | Suche) */
.content-canvas .nb { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; width: 100%; max-width: 1176px; margin: 8px auto 22px; box-sizing: border-box; }
.nb-title { display: flex; align-items: center; gap: 14px; flex: none; }
.nb-title img { flex: none; object-fit: contain; }
.nb-title h1 { margin: 0; font-size: 24px; font-weight: 800; color: var(--px-ink); }
.nb-tabs { display: flex; flex-wrap: nowrap; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 4px 0; }
.nb-tabs::-webkit-scrollbar { display: none; }
.nb-tab { flex: none; }
.nb-tab { cursor: pointer; }
.nb-tab input { position: absolute; opacity: 0; pointer-events: none; }
.nb-tab span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 10px; color: #8a93a0; font-size: 14px; font-weight: 700; transition: background .15s, color .15s; }
.nb-tab:hover span { color: var(--px-ink); }
.nb-tab input:checked + span { background: #4fc3dc; color: #fff; }
.nb-tab input:focus-visible + span { outline: 2px solid #4fc3dc; outline-offset: 2px; }
.nb-sort { position: relative; display: flex; flex-direction: column; justify-content: center; flex: none; width: 160px; height: 50px; padding: 0 12px; box-sizing: border-box; border-radius: 10px; background: #fff; box-shadow: 0 4px 14px -10px rgba(20, 30, 70, .35); }
.nb-sort small { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #8a93a0; line-height: 1.2; }
.nb-sort select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0 20px 0 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--px-ink); cursor: pointer; outline: none; }
.nb-sort::after { content: ''; position: absolute; right: 14px; top: 50%; width: 0; height: 0; margin-top: -2px; border: 5px solid transparent; border-top-color: #8a93a0; }
.nb-search { flex: none; width: 150px; }
.nb-search input { width: 100%; height: 50px; box-sizing: border-box; padding: 0 38px 0 14px; border: 0; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a93a0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat right 12px center; box-shadow: 0 4px 14px -10px rgba(20, 30, 70, .35); font: inherit; font-size: 14px; color: var(--px-ink); }
.nb-search input::placeholder { color: #b0b7c1; }
.nb-search input:focus { outline: 2px solid #4fc3dc; outline-offset: 0; }
html[data-theme="dark"] .nb-title h1 { color: #e8ecf3; }
html[data-theme="dark"] .nb-sort, html[data-theme="dark"] .nb-search input { background-color: #202531; }
html[data-theme="dark"] .nb-sort select, html[data-theme="dark"] .nb-search input { color: #e8ecf3; }
html[data-theme="dark"] .nb-tab:hover span { color: #e8ecf3; }
@media (max-width: 1000px) { .nb-tabs { order: 3; flex-basis: 100%; } .nb-sort { margin-left: auto; } }
@media (max-width: 560px) { .nb-sort, .nb-search { flex: 1; width: auto; } }
