.pg-resource-claim,
.pg-resource-preview {
  max-width: 760px;
  margin: 44px auto;
  padding: 28px;
  border: 1px solid rgba(23, 50, 77, .1);
  border-radius: 8px;
  background: #fffaf1;
  box-shadow: 0 18px 44px rgba(23, 50, 77, .07);
}

.pg-resource-claim--spaced {
  margin-top: 60px;
  margin-bottom: 60px;
}
.pg-resource-claim__header h2,
.pg-resource-preview h2 {
  margin: 0 0 8px;
  color: #17324D;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.pg-resource-claim__header p {
  margin: 0 0 20px;
  color: #637587;
}
.pg-resource-claim__form {
  display: grid;
  gap: 16px;
}
.pg-resource-claim__field {
  display: grid;
  gap: 7px;
}
.pg-resource-claim__field label,
.pg-resource-claim__consent {
  color: #17324D;
  font-weight: 800;
}
.pg-resource-claim__field input,
.pg-resource-claim__field select {
  min-height: 46px;
  width: 100%;
  border: 1px solid rgba(23, 50, 77, .18);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}
.pg-resource-claim__consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-size: .92rem;
  line-height: 1.5;
}
.pg-resource-claim__submit {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #F47C5B;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.pg-resource-claim__submit[disabled] {
  opacity: .7;
  cursor: wait;
}
.pg-resource-claim__status {
  border-radius: 8px;
  padding: 0;
}
.pg-resource-claim__status--success,
.pg-resource-claim__status--error {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #e9f7ee;
  color: #17324D;
}
.pg-resource-claim__status--error {
  background: #fff0eb;
}
.pg-resource-claim__hp {
  position: absolute;
  left: -9999px;
}
.pg-resource-preview__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pg-resource-preview__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.pg-resource-preview__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.pg-resource-preview__item figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(23, 50, 77, .72);
  color: #fff;
  font-size: .72rem;
}
@media (max-width: 640px) {
  .pg-resource-claim,
  .pg-resource-preview {
    padding: 20px;
  }
  .pg-resource-preview__gallery {
    grid-template-columns: 1fr;
  }
  .pg-resource-claim__submit {
    width: 100%;
  }
}
