/* Site search dialog (Pagefind), opened by the Divi search icon in the header */
.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: 16px; line-height: 1.5; color: #333; background: #fff; font-family: inherit; }
.site-search[open] { display: flex; }
.site-search::backdrop { background: rgba(3,60,30,.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 #03642E; 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: #03642E; text-decoration: none; }
.ss-title:hover { text-decoration: underline; }
.ss-cat { display: inline-block; margin-left: 8px; font-size: .8rem; color: #6D5042; background: #faf1e0; 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 #03642E; background: #faf1e0; color: #03642E; border-radius: 2rem; font-weight: 700; cursor: pointer; align-self: center; }
@media (max-width: 600px) { .site-search { width: 100vw; max-width: none; max-height: none; height: 100vh; margin: 0; border-radius: 0; } .ss-head input { font-size: 1.1rem; } }
