/* Native scrolling keeps every transaction available without JavaScript. */
.closed-transactions { padding-block: clamp(48px, 6vw, 80px); background: #f3f1eb; color: #122c3b; }
.closed-transactions__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 32px; }
.closed-transactions__head .h2 { color: #122c3b; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.closed-transactions__link { color: #183d52; font-size: .875rem; white-space: nowrap; text-underline-offset: 5px; }
.closed-transactions__link:hover { text-decoration: underline; }
.closed-transactions__rail { display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #6b7d83 #e1e3df; list-style: none; padding: 0 0 18px; margin: 0; }
.closed-card { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; scroll-snap-align: start; background: #fff; }
.closed-card > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.closed-card__body { padding: 24px; }
.closed-card__type { font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: #4d626e; margin-bottom: 10px; }
.closed-card h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 1.8vw, 1.65rem); font-weight: 400; line-height: 1.3; color: #122c3b; }
.closed-card dl { margin-top: 24px; border-top: 1px solid #d9dfdf; }
.closed-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 13px; }
.closed-card dt { font-size: .8125rem; color: #4d626e; }
.closed-card dd { margin: 0; font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums; color: #122c3b; }
.closed-transactions__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; }
.closed-transactions__foot p { font-size: .75rem; color: #4d626e; }
.closed-transactions__controls { display: flex; gap: 8px; }
.closed-transactions__controls[hidden] { display: none; }
.closed-transactions__controls button { width: 48px; height: 48px; border: 1px solid #71828b; background: transparent; color: #122c3b; font-size: 1.4rem; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.closed-transactions__controls button:hover:not(:disabled) { background: #122c3b; color: #fff; }
.closed-transactions__controls button:disabled { opacity: .4; cursor: default; }
.closed-transactions :focus-visible { outline: 2px solid #183d52; outline-offset: 4px; }
@media (max-width: 1000px) { .closed-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) {
  .closed-transactions__head { align-items: flex-start; flex-direction: column; gap: 16px; }
  .closed-card { flex-basis: 88%; }
  .closed-card__body { padding: 20px; }
  .closed-transactions__rail { gap: 16px; }
  .closed-transactions__controls { flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) { .closed-transactions__controls button { transition: none; } }
