/* Question cards on /questions/ only. A separate file on purpose: a change to
   style.css alters the ?v= hash on every page, which would re-date all of them in
   the sitemap and resubmit them to Bing for a change only this page has. */
.pb-qcards {
  display: grid;
  gap: 16px;
  margin: 32px 0 8px;
}
.pb-qcard {
  display: block;
  padding: 26px 26px 22px;
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(184, 137, 61, 0.07);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pb-qcard:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(184, 137, 61, 0.16);
}
.pb-qcard:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.pb-qcard-title {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 12px;
}
.pb-qcard-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 0.3s var(--ease);
}
.pb-qcard:hover .pb-qcard-title::after { width: 56px; }
.pb-qcard-short {
  display: block;
  margin: 0 0 16px;
  color: var(--ink-soft);
}
.pb-qcard-more {
  display: inline-block;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.pb-qcard-arrow {
  display: inline-block;
  margin-left: 4px;
  color: var(--gold);
  transition: transform 0.25s var(--ease);
}
.pb-qcard:hover .pb-qcard-arrow { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .pb-qcard, .pb-qcard-arrow, .pb-qcard-title::after { transition: none; }
  .pb-qcard:hover { transform: none; }
  .pb-qcard:hover .pb-qcard-arrow { transform: none; }
}
