.ald-resource-search { max-width: 1120px; margin: 1.5rem auto; }
.ald-resource-search [hidden] { display: none !important; }
.ald-resource-search label { display: block; font-weight: 600; }
.ald-resource-search input[type="search"], .ald-resource-search select { display: block; width: 100%; max-width: 100%; box-sizing: border-box; margin: .4rem 0; min-height: 44px; padding: .5rem; border: 1px solid #767676; border-radius: 4px; background: #fff; color: #222; font: inherit; }
.ald-search-primary { max-width: 420px; }
.ald-search-grid, .ald-result-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 1.25rem; margin: 1.25rem 0; }
.ald-search-field small { display: block; line-height: 1.5; }
.ald-search-help { margin-top: .75rem; }
.ald-search-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0; }
.ald-search-actions button { padding: .7rem 1.2rem; min-height: 44px; cursor: pointer; border: 1px solid #1c4769; border-radius: 4px; background: #1c4769; color: #fff; font: inherit; }
.ald-resource-search :focus-visible { outline: 3px solid #965400; outline-offset: 3px; }
.ald-search-results { border-top: 1px solid #ccc; padding-top: 1.5rem; }
.ald-resource-card { border: 1px solid #ccc; border-radius: 6px; padding: 1.25rem; min-width: 0; overflow-wrap: anywhere; }
.ald-resource-card img { width: 100%; height: auto; border-radius: 3px; }
.ald-resource-card h3 { margin-top: .75rem; }
.ald-result-detail { font-size: .9em; }
.ald-resource-search .page-numbers { display: flex; flex-wrap: wrap; list-style: none; gap: .75rem; padding: 0; }
.ald-resource-search .page-numbers a, .ald-resource-search .page-numbers .current { display: inline-block; padding: .5rem; }
