.fp-ped {
  --request-blue: #0058be;
  --request-ink: #132946;
  --request-border: #dce7f4;
  container-type: inline-size;
  min-width: 0;
  border: 1px solid var(--request-border);
  border-radius: 20px;
  background: #f3f7fc;
  overflow: hidden;
}

.fp-ped--home {
  margin: 26px 0 0;
}

.fp-ped-hd {
  padding: clamp(18px, 3.3cqi, 38px);
  background:
    linear-gradient(90deg, #0b315d 12%, #0b315d 31%, rgba(11, 49, 93, .28) 78%),
    #0b315d url("../img/score-requests.webp") right 54% / 70% auto no-repeat;
  color: #fff;
}

.fp-ped-hd h2 {
  max-width: 20ch;
  margin: 0;
  color: inherit;
  font-size: clamp(22px, 3.8cqi, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.fp-ped-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  margin-top: 13px;
}

.fp-ped a.fp-ped-b,
.fp-ped a.fp-ped-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  max-width: 100%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.fp-ped a.fp-ped-b {
  padding: 8px 13px;
  border-radius: 10px;
  background: #fff;
  color: #004eaa;
}

.fp-ped a.fp-ped-b:hover {
  background: #e5f0ff;
}

.fp-ped a.fp-ped-all {
  color: inherit;
}

.fp-ped a.fp-ped-all:hover {
  text-decoration: underline;
}

.fp-ped-lista {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(8px, 1.4cqi, 16px);
  list-style: none;
  margin: 0;
  padding: clamp(10px, 1.8cqi, 20px);
}

.fp-ped-lista > li {
  min-width: 0;
  margin: 0;
}

.fp-ped a.fp-ped-card {
  display: grid;
  align-content: start;
  grid-template-rows: auto 1fr auto;
  gap: 9px;
  height: 100%;
  padding: clamp(12px, 1.6cqi, 18px);
  border: 1px solid var(--request-border);
  border-radius: 13px;
  background: #fff;
  color: var(--request-ink);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}

.fp-ped a.fp-ped-card:hover {
  border-color: #87b7ec;
  box-shadow: 0 3px 12px rgba(8, 46, 92, .08);
}

.fp-ped a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.fp-ped a.fp-ped-b:focus-visible {
  outline-color: #fff;
}

.fp-ped-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fp-ped .fp-ped-note {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  height: 34px;
  border-radius: 9px;
  background: #e7f1fe;
  color: var(--request-blue);
  font-size: 15px;
}

.fp-ped-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2f7;
  color: #485d77;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.fp-ped-status--unanswered {
  background: #e7f1fe;
  color: #004eaa;
}

.fp-ped-card h3 {
  margin: 0;
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.fp-ped-help {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--request-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.fp-ped-card:hover .fp-ped-help {
  text-decoration: underline;
}

.fp-ped-empty {
  margin: 0;
  padding: 16px 20px;
  color: #485d77;
  font-size: 14px;
}

.fp-ped--lat {
  margin-bottom: 16px;
}

.fp-ped--lat .fp-ped-hd {
  background: #0b315d;
}

.fp-ped--lat .fp-ped-hd h2 {
  font-size: 18px;
}

@container (min-width: 464px) {
  .fp-ped--feed .fp-ped-lista {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container (min-width: 624px) {
  .fp-ped--home .fp-ped-lista {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fp-ped--home .fp-ped-hd h2 {
    max-width: 24ch;
  }
}

@container (width < 464px) {
  .fp-ped--home .fp-ped-hd,
  .fp-ped--feed .fp-ped-hd {
    background:
      linear-gradient(90deg, #0b315d 8%, rgba(11, 49, 93, .94) 52%, rgba(11, 49, 93, .4)),
      #0b315d url("../img/score-requests.webp") 64% center / cover no-repeat;
  }

  .fp-ped--home .fp-ped-card,
  .fp-ped--feed .fp-ped-card {
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 11px;
    row-gap: 4px;
  }

  .fp-ped--home .fp-ped-meta,
  .fp-ped--feed .fp-ped-meta {
    display: contents;
  }

  .fp-ped--home .fp-ped-note,
  .fp-ped--feed .fp-ped-note {
    grid-area: 1 / 1;
    width: 34px;
  }

  .fp-ped--home .fp-ped-card h3,
  .fp-ped--feed .fp-ped-card h3 {
    grid-area: 1 / 2;
    align-self: center;
  }

  .fp-ped--home .fp-ped-status,
  .fp-ped--feed .fp-ped-status {
    grid-column: 2;
    justify-self: start;
  }

  .fp-ped--home .fp-ped-help,
  .fp-ped--feed .fp-ped-help {
    grid-column: 2;
    padding-top: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-ped a.fp-ped-card {
    transition: none;
  }
}
