/* OFM Digital Editions 1.2.0: the "Found on pages" line on a cover when the finder searched inside the issues.
   Kept apart from site.css on purpose. A cover with matches is a box holding the cover link and the line, because
   a link may not sit inside a link; covers without matches keep the single-link markup and site.css. */
.ofm-card.ofm-card-hit { display: flex; flex-direction: column; gap: 6px; color: #1d2733; }
.ofm-card.ofm-card-hit .ofm-card-main,
.ofm-card.ofm-card-hit .ofm-card-main:visited { display: flex; flex-direction: column; gap: 6px; color: #1d2733; text-decoration: none; }
.ofm-card.ofm-card-hit .ofm-card-main:focus .ofm-card-img { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(29, 39, 51, .2); }
.ofm-card.ofm-card-hit .ofm-card-main:focus-visible { outline: 3px solid rgba(37, 166, 225, .45); outline-offset: 3px; border-radius: 4px; }
.ofm-card.ofm-card-hit .ofm-card-main:hover .ofm-card-date { color: #188bc0; }

.ofm-card .ofm-card-found { margin: 2px 0 0; padding: 0; font: 600 13px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #3b4754; overflow-wrap: anywhere; }
.ofm-card .ofm-found-label { display: block; margin: 0 0 3px; }
.ofm-card .ofm-found-page,
.ofm-card .ofm-found-page:visited { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; margin: 2px 1px; padding: 0 8px; box-sizing: border-box; border: 1.5px solid #bfe3f5; border-radius: 999px; background: #e8f5fc; color: #0f6f99; font: 800 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-decoration: none; }
.ofm-card .ofm-found-page:hover,
.ofm-card .ofm-found-page:focus { border-color: #188bc0; background: #188bc0; color: #fff; }
.ofm-card .ofm-found-page:focus-visible { outline: 3px solid rgba(37, 166, 225, .45); outline-offset: 2px; }
@media (max-width: 600px) { .ofm-card .ofm-found-page, .ofm-card .ofm-found-page:visited { min-width: 36px; min-height: 36px; } }

/* While only some issues can be searched inside, and when a search found nothing: say what was searched. */
.ofm-finder .ofm-finder-note { margin: -8px 0 18px; font: 600 13px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #5b6672; }
.ofm-finder .ofm-finder-note a, .ofm-finder .ofm-finder-note a:visited { color: #188bc0; font-weight: 700; text-decoration: underline; }
.ofm-finder .ofm-finder-note a:hover, .ofm-finder .ofm-finder-note a:focus { color: #0f6f99; }
.ofm-finder .ofm-finder-empty .ofm-empty-words { margin: 0 0 8px; font-weight: 700; overflow-wrap: anywhere; }
