/* search.html 专用样式（make_search_page.py 内联进 <head>）。只用站内已有的字号与颜色（#353535 / #919191 / #d7d7d7 / #f5f5f5）。 */
.search-page{max-width:960px;margin-inline:auto}
.search-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.search-page-form{align-items:stretch}
.search-page-form input{min-width:0}
.search-page-submit{flex:0 0 auto;margin:6px;padding:0 24px;border:0;border-radius:6px;background:#353535;color:#fff;font-size:1rem;font-weight:700;cursor:pointer}
.search-page-submit:hover,.search-page-submit:focus-visible{background:#000}
.search-page-tags ul{padding:0;margin:0}
.search-page-tags a[aria-current="true"]{background-color:#353535;color:#fff}
.search-page .archive-filter{margin-block:24px}
.search-page .archive-filter-inner .filter-form{margin-block-start:0}
.search-status{margin-block:32px 16px;font-size:1rem;line-height:1.625;font-weight:700;color:#353535}
.search-results{list-style:none;margin:0;padding:0;border-top:1px solid #d7d7d7}
.search-result{padding:20px 4px;border-bottom:1px solid #d7d7d7}
.search-result__head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.search-result__cat{display:inline-block;padding:2px 10px;border-radius:4px;background:#f5f5f5;font-size:0.75rem;line-height:1.6;font-weight:700;color:#353535}
.search-result__badge{display:inline-block;padding:2px 8px;border:1px solid #919191;border-radius:4px;font-size:0.75rem;line-height:1.6;color:#353535}
.search-result__title{font-size:1.125rem;line-height:1.6;font-weight:700;color:#353535;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.search-result__title:hover{text-decoration-thickness:2px}
.search-result__snippet{margin:8px 0 0;font-size:0.9375rem;line-height:1.75;color:#353535;overflow-wrap:anywhere}
.search-result__snippet mark{background:#fff3a3;color:inherit;padding:0 1px;border-radius:2px}
.search-result__url{margin:6px 0 0;font-size:0.75rem;line-height:1.5;color:#919191;overflow-wrap:anywhere}
.search-related-head{margin-block:40px 12px;font-size:1rem;font-weight:700;color:#353535}
.search-more{display:block;margin:24px auto 0;padding:10px 32px;border:1px solid #919191;border-radius:8px;background:#fff;color:#353535;font-size:0.9375rem;font-weight:700;cursor:pointer}
.search-more:hover{background:#f5f5f5}
.search-empty ul{margin:0 0 24px;padding-left:1.4em;font-size:0.9375rem;line-height:1.9;color:#353535}
.search-empty a{color:#353535;text-decoration:underline}
.search-fallback{margin-top:48px}
.search-fallback-title{margin:0 0 16px;font-size:1.125rem;font-weight:700;color:#353535}
.search-fallback-group{margin:0 0 20px}
.search-fallback-group h3{margin:0 0 6px;font-size:0.875rem;font-weight:700;color:#919191}
.search-fallback-group ul{display:flex;flex-wrap:wrap;gap:6px 20px;margin:0;padding:0;list-style:none}
.search-fallback-group a{font-size:0.9375rem;line-height:1.7;color:#353535;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
/* 新闻列表版式（结果 / 一览的 ul·ol 带模版的 top-latest-news-items 时）：行样式来自模版，这里只补正文栏与去掉默认列表外观 */
.search-page .top-latest-news-items{margin:0;padding:0;border-top:1px solid #d7d7d7}
.top-latest-news-items .search-result{padding:0;border:0}
.top-latest-news-items .search-result__body{flex:1 1 auto;min-width:0}
.search-page .top-latest-news-items .news-item__title{margin-block:0}
.top-latest-news-items .search-result__body .news-item__title{display:block;overflow:visible}
@media (min-width:1025px){.top-latest-news-items .news-item>a .search-result__snippet{margin-inline-start:8px}}
.top-latest-news-items .search-result__snippet{margin:6px 0 0;font-weight:400}
.top-latest-news-items .search-result__badge{vertical-align:middle;font-weight:700}
[hidden]{display:none!important}
@media (max-width:600px){.search-page-submit{padding:0 14px}.search-result__title{font-size:1rem}}
