[hidden] { display: none !important; }
.skip-link { position: absolute; z-index: 30; top: 8px; left: 12px; padding: 10px; background: var(--paper); }
.skip-link:not(:focus) { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; white-space: nowrap; }
.search-panel .search-form { display: flex; align-items: stretch; gap: 10px; }
.search-panel .search-form input { margin: 0; min-width: 0; }
.search-panel .search-form button { border: 0; color: white; background: var(--accent); padding-inline: 18px; }
.header .menu-toggle { display: none; }
.form-status[role="alert"] { color: var(--accent); }
.cards .card-image { display: block; }
.cards .card-image img { aspect-ratio: 45/29; object-fit: cover; border-radius: 10px; }
.card-title a:hover, .story-content h3 a:hover, .feature-copy h2 a:hover, .result-copy h2 a:hover { color: var(--accent); }
.category-filters a { border: 1px solid var(--line); border-radius: 28px; padding: 6px 13px; font-size: 13px; }
.category-filters a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section-security .category-filters a { border-color: #64736e; }
.section-security .category-filters a[aria-current] { color: #15211d; background: #b6efda; }
.section-security .story-content h3 a:hover { color: #b6efda; }
.story-meta .result-meta { display: flex; gap: 10px; flex-wrap: wrap; color: inherit; font-size: 12px; }
.result-row.no-image { grid-template-columns: minmax(0, 1fr); }
.article-layout.no-toc { display: block; }
.article-layout.no-toc .article-body { max-width: 760px; }
.article-body table { width: 100%; border-collapse: collapse; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px; overflow-wrap: anywhere; }
.article-body img { border-radius: 10px; }
.article-body h2 { scroll-margin-top: 24px; }
.article-body .chips { margin-top: 24px; }
.runtime-gap { margin-top: 36px; }
.pagination .nav-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.pagination .page-numbers { border: 1px solid var(--line); border-radius: 4px; display: inline-block; padding: 5px 11px; }
.pagination .current { color: var(--paper); background: var(--ink); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1000px) {
    .header { position: relative; }
    .header .menu-toggle { display: flex; }
    .header-tools { gap: 8px; }
    .header .icon-button { width: 44px; height: 44px; }
    .header .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        z-index: 20;
        background: var(--paper);
        border: 1px solid var(--line);
        padding: 8px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .header .primary-nav.open { display: flex; }
    .header .primary-nav > a { justify-content: space-between; min-height: 44px; }
}
@media (max-width: 700px) {
    .header .primary-nav.open { top: 100%; inset-inline: -20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
