.requests-board { max-width: 1050px; margin-inline: auto; color: #222622; }
main:has(.requests-board) { background: #f9f8f4; }
.requests-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 25px;
  border-bottom: 1px solid #deddd4;
}
.requests-heading h1 { font-size: clamp(1.95rem, 3.5vw, 2.8rem); line-height: 1.05; }
.requests-heading p { color: #505650; margin-top: 8px; }
.requests-heading .primary { background: #e8d3a3; color: #252316; border-color: #d5be8d; }
.requests-subheading { margin: 26px 0 12px; font-size: 1.15rem; }
.requests-list { border: 1px solid #deddd4; border-radius: 9px; overflow: hidden; background: #fff; }
.request-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 124px;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  padding: 17px 20px;
}
.request-row + .request-row { border-top: 1px solid #e6e4dc; }
.request-row:hover { background: #fbfaf7; }
.request-specs h3 { font-size: 1rem; }
.request-specs h3 a { text-decoration: none; }
.request-specs h3 a:hover { text-decoration: underline; }
.request-specs p { margin-top: 4px; color: #555a53; font-size: .83rem; }
.request-specs .request-grade { font-weight: 700; color: #333830; }
.request-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.request-facts dt { color: #555a53; font-size: .76rem; }
.request-facts dd { margin: 4px 0 0; font-weight: 700; font-size: .9rem; overflow-wrap: anywhere; }
.request-row .button { justify-self: end; min-height: 44px; padding-inline: 9px; border-color: transparent; background: transparent; color: #253b43; white-space: nowrap; }
.request-row .button:hover { background: #eeeee8; text-decoration: underline; }
.requests-pagination { margin-top: 16px; }

@media (max-width: 780px) {
  .request-row { grid-template-columns: minmax(0, 1fr) auto; }
  .request-facts { grid-column: 1; grid-row: 2; }
  .request-row .button { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 560px) {
  .request-row { grid-template-columns: minmax(0, 1fr); padding: 15px 16px; gap: 9px; }
  .request-row .button { grid-column: 1; grid-row: auto; justify-self: start; padding-inline: 0; }
  .request-facts { padding-block: 10px; border-block: 1px solid #e6e4dc; }
}
