/* Health Articles sidebar and search (owner request, round 4).
   Loaded only by the article listings (/blog/, /blog/page/N/, /category/.../) and /search/, after fidc-site.css.
   Source: tools/blog/fidc-blog.css; tools/build_blog_sidebar.py copies it to site/assets/css/.
   Look taken from the live WordPress sidebar: light blue rounded card, pill search field with a blue button,
   "Recent Posts" as blue title links. Beside the listing from 922px (Astra's breakpoint), below it on smaller screens. */
.listing.has-side{max-width:1240px}
.blog-main{min-width:0}
.blog-side{margin-top:40px}
.blog-side-in{background:#eef6fb;border:1px solid #d6e6f2;border-radius:14px;padding:22px 20px 10px;color:#1f2937}
@media (min-width:922px){
 .listing.has-side{display:grid;grid-template-columns:minmax(0,1fr) 300px;column-gap:48px;align-items:start}
 .blog-side{margin-top:0}
}
@media (min-width:922px) and (max-width:1199px){.has-side .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Search */
.blog-search{margin:0 0 24px}
.blog-search label{display:block;font-size:14px;line-height:1.4;color:#1f2937;margin:0 0 6px}
.blog-search-row{display:flex;gap:10px;align-items:stretch}
.blog-search input[type=search]{flex:1 1 auto;min-width:0;width:100%;height:42px;box-sizing:border-box;padding:10px 14px;
 font:16px/1.2 "Open Sans",system-ui,sans-serif;color:#111827;background:#fdfdfd;border:1px solid #c9d6e3;
 border-radius:22px 0 0 22px;box-shadow:0 1px 2px rgba(0,0,0,.05);-webkit-appearance:none;appearance:none}
.blog-search button{flex:none;height:42px;padding:0 18px;border:0;border-radius:0 22px 22px 0;background:#1565c0;color:#fff;
 font:600 16px/1 "Open Sans",system-ui,sans-serif;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.blog-search button:hover{background:#0d4f9c}
.blog-search input[type=search]:focus-visible,.blog-search button:focus-visible{outline:3px solid #10284a;outline-offset:2px}

/* Recent Posts */
.blog-side-h{font:400 22px/1.2 Lato,"Open Sans",sans-serif;color:#10284a;margin:0 0 14px}
.blog-recent{list-style:none;margin:0;padding:0}
.blog-recent li{margin:0 0 12px;line-height:1.35}
.blog-recent a{color:#1565c0;font-weight:600;font-size:17px;text-decoration:none}
.blog-recent a:hover{text-decoration:underline}
.blog-recent a:focus-visible{outline:2px solid #10284a;outline-offset:2px;border-radius:2px}
@media (max-width:921px){.blog-recent a{font-size:16px}}

/* /search/ results */
.search-head{margin:0 0 20px;padding:0 0 18px;border-bottom:1px solid #e3e8ef}
/* on /search/ the page's one form sits above the results (every width), in a card like the sidebar's */
.search-box{background:#eef6fb;border:1px solid #d6e6f2;border-radius:14px;padding:16px 20px 2px;margin:0 0 20px;max-width:560px}
.search-box .blog-search{margin:0 0 14px}
.search-status{font-size:17px;color:#1f2937;margin:0 0 16px}
.search-status a,.search-nojs a{color:#0b5cad}
.search-nojs{background:#fff8e6;border:1px solid #f1d38a;border-radius:12px;padding:16px 18px;color:#1f2937;font-size:16px;line-height:1.55}
.search-nojs p{margin:0 0 8px}
.search-nojs ul{margin:0;padding-left:1.2em}
.search-results{list-style:none;margin:0;padding:0}
.search-results li{padding:16px 0;border-bottom:1px solid #e5e7eb}
.search-results li:first-child{padding-top:0}
.search-results h2{margin:0 0 4px;font:700 20px/1.35 Lato,"Open Sans",sans-serif}
.search-results h2 a{color:#1565c0;text-decoration:none}
.search-results h2 a:hover{text-decoration:underline}
.search-results h2 a:focus-visible{outline:2px solid #10284a;outline-offset:2px;border-radius:2px}
.search-meta{font-size:13px;color:#64748b;margin:0 0 6px;text-transform:uppercase;letter-spacing:.03em}
.search-results p{margin:0;color:#475569;font-size:15px;line-height:1.55;overflow-wrap:anywhere}
.search-status,.search-results h2{overflow-wrap:anywhere}
