/* ============ v34: each tradition painting carries its story ============ */
/* "What it kept": one line under each story, in gold italic, the value the painting held for its family */
.court-text .court-value { font-style: italic; color: var(--gold-lt); margin-top: .2rem; }
.court-text p:not(.court-kicker):not(.court-credit):not(.court-value) { max-width: 34em; }
@media (min-width: 761px) {
  .court-text p { font-size: clamp(1.02rem, .9rem + .35vw, 1.22rem); }
}
@media (max-width: 760px) {
  /* on a phone the story sits under the painting, so it is set a little smaller to fit the screen */
  .court-text p { font-size: .95rem; line-height: 1.4; margin-bottom: .4rem; }
  .court-text .court-value { font-size: .95rem; }
  /* the painting a little shorter and the museum line left to the laptop view, so the year stays above the bottom bar */
  .court-art img { height: min(25svh, 230px); }
  .court-text .court-credit { display: none; }
}
@media (max-width: 760px) and (max-height: 780px) {
  /* small phones: a touch more compact so the year line stays in view */
  .court-art img { height: min(19svh, 180px); }
  .court-track { padding-top: 10px; }
  .court-card { gap: 10px; }
  .court-text h3 { font-size: 1.25rem; margin: .1rem 0 .25rem; }
  .court-text p, .court-text .court-value { font-size: .86rem; line-height: 1.34; margin-bottom: .28rem; }
  .court-head h2 { font-size: 1.3rem; }
  .court-meta-below { margin-top: 8px; }
}
@media (min-width: 761px) and (max-height: 820px) {
  /* shorter laptop screens: a smaller heading and painting, so the story and the year both fit */
  .court-head h2 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem); }
  .court-art img { height: min(36svh, 400px); }
  .court-text h3 { margin: .2rem 0 .45rem; }
  .court-text p { font-size: 1rem; line-height: 1.42; margin-bottom: .55rem; }
  .court-text .court-credit { margin-top: .5rem; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .court-art img { height: 16svh; }
  .court-head h2 { font-size: 1.18rem; }
  .court-text .court-kicker { font-size: .66rem; }
  .court-text p, .court-text .court-value { font-size: .82rem; }
}
