/* The D search page: the box, the checked answer, and the rows under it (the card, facets and entity rows are d.css's) */
.srch-top { padding-top: 22px; max-width: 760px; }
.srch-top .srch { display: flex; gap: 8px; margin: 0 0 8px; }
.srch-top .srch input { flex: 1; min-width: 0; font: 16px var(--ui); padding: 11px 14px; border: 1px solid var(--rule); border-radius: 4px; background: var(--bg); color: var(--ink); }
.srch-top .srch button { font: 600 14px var(--ui); padding: 0 18px; border: 0; border-radius: 4px; background: var(--ink); color: var(--bg); cursor: pointer; }
.ans-card { max-width: 760px; margin: 18px 0 4px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 4px; background: var(--bg2); }
.ans-card .ans-q { margin: 2px 0 8px; font-weight: 600; }
.ans-card .ans-a { margin: 8px 0 6px; font-size: 14.5px; line-height: 1.5; }
.ans-card .ans-o { margin: 0; font-size: 13.5px; }
.more .ds-link { font: inherit; background: none; border: 0; color: var(--link); cursor: pointer; padding: 0; text-decoration: underline; }
.tl-h { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.facets .fk { color: var(--ink); }
#addr table, #addr .tw { max-width: 100%; }
@media (max-width: 860px) {
  .facets:not([hidden]) { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 10px; }
  .facets fieldset { margin: 0 0 8px; min-width: 0; }
  .facets label { gap: 14px; }
  .facets fieldset:nth-child(2) { flex-basis: 100%; }   /* the years on a line of their own, below the counts */
}
.facets .yr input::placeholder { color: var(--ink3); }
.ent-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 18px 0 6px; max-width: 760px; }
.ent-card { display: block; padding: 12px 14px; border: 1px solid var(--rule); border-left: 3px solid var(--link); border-radius: 4px; background: var(--bg2); color: var(--ink); text-decoration: none; }
.ent-card:hover b { text-decoration: underline; }
.ent-card b { display: block; font: 600 16px/1.3 var(--ui); color: var(--link); overflow-wrap: anywhere; }
.ent-card small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink2); }
