/* Scoped catalogue card improvements, 2026-09-22. Loaded after legacy/compare CSS. */
.eq-card .eq-actions { justify-content: space-between; gap: 18px; }
.eq-card .eq-actions .link-arrow,
.eq-card .eq-actions .link-secondary {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.eq-card .eq-actions .link-arrow { background: var(--orange); color: var(--ink); }
.eq-card .eq-actions .link-arrow:hover { background: var(--orange-soft); color: var(--ink); }
.eq-card .eq-actions .link-secondary { margin-left: auto; background: #fff; color: var(--orange); }
.eq-card .eq-actions .link-secondary:hover { background: var(--orange); color: #fff; }
.eq-card .eq-actions .link-arrow:focus-visible,
.eq-card .eq-actions .link-secondary:focus-visible { outline: 3px solid #995700; outline-offset: 2px; }
.cat-content .eq-card > .compare-toggle,
#eq-grid .eq-card > .compare-toggle {
  align-self: flex-start;
  min-height: 32px;
  margin-top: 8px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
}
.cat-content .eq-card > .compare-toggle:hover,
.cat-content .eq-card > .compare-toggle[aria-pressed=true],
#eq-grid .eq-card > .compare-toggle:hover,
#eq-grid .eq-card > .compare-toggle[aria-pressed=true] {
  background: transparent;
  border-color: var(--orange);
  color: var(--orange);
}

.dir-card { display: flex; flex-direction: column; padding: 0 0 22px; }
.dir-card:hover { border-color: var(--orange); }
.dir-card .dir-photo {
  width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--bg-soft); margin-bottom: 20px;
}
.dir-card .dir-photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.dir-card:hover .dir-photo img { transform: scale(1.035); }
.dir-card h3 { margin: 0 22px 8px; }
.dir-card .dir-meta { margin: 0 22px 18px; }
.dir-card .dir-arrow { margin: auto 22px 0; min-height: 32px; }
.dir-card:hover .dir-arrow { color: var(--orange); }
.dir-card:focus-visible, .mfr-card:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px;
}

.mfr-card-logo {
  width: min(100%, 230px); height: 100px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: flex-start;
}
.mfr-card-logo img {
  display: block; width: 100%; max-width: 230px; max-height: 100px;
  height: auto; object-fit: contain; object-position: left center;
}
.mfr-hero-logo {
  width: 200px; height: 94px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.mfr-hero-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mfr-logo-dark {
  width: fit-content; max-width: 230px; padding: 12px 16px;
  border-radius: 10px; background: #18232e; box-sizing: border-box;
}
.mfr-logo-dark img { max-width: 190px; }

@media (max-width: 380px) {
  .eq-card .eq-actions { gap: 8px; }
  .eq-card .eq-actions .link-arrow,
  .eq-card .eq-actions .link-secondary { padding: 9px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .dir-card, .dir-card .dir-photo img { transition: none; }
}
