/* Site search dialog (Pagefind) */
.search-toggle { background: none; border: 0; color: #021089; padding: 10px; cursor: pointer; margin-left: 4px; line-height: 1; }
.search-toggle:hover { color: #c99c21; }
@media (max-width: 980px) { .search-toggle { margin-left: auto; order: 2; } .nav-toggle { order: 3; } .primary-nav { order: 4; } }
.site-search { width: min(720px, 94vw); max-height: 86vh; margin: 6vh auto auto; padding: 0; border: 0; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.35); overflow: hidden; flex-direction: column; font-size: 1rem; }
.site-search[open] { display: flex; }
.site-search::backdrop { background: rgba(2,24,96,.55); }
.ss-head { display: flex; gap: 8px; padding: 14px 14px 8px; border-bottom: 1px solid #e3e3e3; }
.ss-head input { flex: 1; font-size: 1.25rem; padding: 8px 12px; border: 2px solid #021089; border-radius: 8px; min-width: 0; }
.ss-close { background: none; border: 0; font-size: 2rem; line-height: 1; color: #555; cursor: pointer; padding: 0 8px; }
.ss-filters { display: flex; gap: 8px; padding: 8px 14px; flex-wrap: wrap; }
.ss-filters select { padding: 5px 8px; border: 1px solid #bbb; border-radius: 6px; max-width: 100%; font-size: .95rem; }
.ss-status { padding: 0 16px 6px; color: #555; font-size: .9rem; min-height: 1.5em; }
.ss-results { list-style: none; margin: 0; padding: 0 16px 8px; overflow-y: auto; flex: 1; }
.ss-item { padding: 12px 0; border-bottom: 1px solid #eee; }
.ss-title { font-size: 1.15rem; font-weight: 700; color: #021089; text-decoration: none; }
.ss-title:hover { text-decoration: underline; }
.ss-cat { display: inline-block; margin-left: 8px; font-size: .8rem; color: #8b6e4e; background: #f2e8dd; border-radius: 1rem; padding: 0 .6rem; }
.ss-excerpt { margin: .3rem 0 0; color: #333; font-size: .95rem; line-height: 1.6; }
.ss-excerpt mark { background: #ffe58a; color: inherit; padding: 0 1px; }
.ss-more { margin: 8px 16px 14px; padding: 8px 20px; border: 2px solid #021089; background: #ffedcf; color: #021089; border-radius: 2rem; font-weight: 700; cursor: pointer; align-self: center; }
@media (max-width: 600px) { .site-search { width: 100vw; max-height: 100vh; height: 100vh; margin: 0; border-radius: 0; } .ss-head input { font-size: 1.1rem; } }

/* Static site: comments are read-only, no Reply button */
.comment-reply-link, .reply, .comment .reply { display: none !important; }
