/* Possession: a piece's page, its history and the add and edit forms. */

.detail-image {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
}
.detail-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0;
}
.detail-grid strong {
  font-weight: 450;
  font-size: 13px;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
@media (max-width: 640px) {
  .detail-image {
    height: 225px;
  }
  .detail-grid {
    gap: 23px;
  }
}
.asset-history {
  margin: 26px 0;
  padding: 24px;
  background: #e9e0d3;
  border: 1px solid #dcdfcf;
  border-radius: 3px;
  border-color: #d4c4af;
}
.history-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.history-heading > span {
  font-size: 30px;
  color: #9a8963;
}
.history-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.6px;
  margin-bottom: 7px;
}
.history-heading h3 {
  font-size: 27px;
}
.history-kind {
  font-size: var(--small-size);
  letter-spacing: 0.3px;
  color: #64705a;
  margin-bottom: 10px;
}
.asset-history h4 {
  font: 27px var(--serif);
  font-weight: 400;
  margin: 0 0 13px;
  line-height: 1.15;
}
.asset-history > p,
.curiosity p,
.owner-history p {
  font-size: 12px;
  line-height: 1.9;
  color: #596750;
  margin: 0;
}
.curiosity {
  padding: 17px 18px;
  border-left: 2px solid #a28b62;
  background: #f7f0e5;
  margin: 20px 0;
  border-color: var(--gold);
}
.curiosity > small {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #75623d;
  display: block;
  margin-bottom: 7px;
}
.history-sources {
  display: grid;
  gap: 8px;
  font-size: 10px;
  margin-top: 20px;
}
.history-sources a,
.owner-history > a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #774932;
  line-height: 1.7;
}
.history-sources > span {
  font-size: 9px;
  color: #64705d;
}
.asset-history p.history-scope {
  font-size: 10px;
  line-height: 1.8;
  color: #64705d;
  border-top: 1px solid #d6d9c9;
  margin-top: 16px;
  padding-top: 14px;
}
.owner-history {
  border-top: 1px solid #d6d9c9;
  margin-top: 19px;
  padding-top: 19px;
}
.owner-history > a {
  font-size: 10px;
  display: block;
  margin-top: 10px;
}
@media (max-width: 640px) {
  .asset-history {
    padding: 20px 17px;
  }
  .history-heading {
    gap: 9px;
  }
  .history-heading h3 {
    font-size: 24px;
  }
  .asset-history h4 {
    font-size: 26px;
  }
  .curiosity {
    padding: 14px;
  }
  .asset-history > p,
  .curiosity p,
  .owner-history p {
    font-size: 12px;
  }
}
.history-heading > span {
  color: var(--gold);
}
.history-kind,
.asset-history > p,
.curiosity p,
.owner-history p,
.history-sources > span,
.asset-history p.history-scope {
  color: #615b61;
}
.curiosity > small {
  color: #815237;
}
.asset-history p.history-scope,
.owner-history {
  border-color: #cfbfaa;
}
.possession-photo {
  margin: 0;
}
.possession-record .detail-image {
  height: clamp(290px, 45vw, 440px);
}
.photo-credit {
  padding: 9px 29px 0;
  font-size: 9px;
  letter-spacing: 0.4px;
  color: var(--muted);
}
.photo-credit a:hover {
  text-decoration: underline;
}
.possession-record .detail-category .eyebrow {
  margin: 0;
}
@media (max-width: 640px) {
  .photo-credit {
    padding: 9px 20px 0;
  }
  .possession-record .detail-grid {
    grid-template-columns: 1fr;
  }
}
.possession-actions {
  margin-top: 25px;
}
