/* PAVED R1.2.17 — event, artist and exhibition entries follow the live
   site's one-record-per-row format: available-width photography first,
   then the actual title, dates, details, biography and related links.
   Scope to only the three catalogue pages. Never change the site header. */

/* R1.2.16 mistakenly widened the whole page and placed photographs in
   small left-side columns. Let the site's existing content-width rules
   govern the overall page and use ALL of that width for each image. */
body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) {
  display: block !important;
  grid-template-columns: none !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) .catalog-card {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: clamp(22px, 3vw, 38px) 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(60,60,60,.16) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) .catalog-card:first-child {
  padding-top: 6px !important;
}
body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) .catalog-card:last-child {
  border-bottom: 0 !important;
}
/* No thumbnail strip, artificial 16:9 crop, or maximum-height restriction:
   images keep their native aspect ratio while spanning the entry width. */
body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) .catalog-card__image:not(.is-fallback) {
  display: block !important;
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 0 clamp(16px, 2.4vw, 26px) !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}
body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) .catalog-card__image:not(.is-fallback) img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center top !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* If the original record has no real picture, don't invent a giant
   PAVED / IMAGE TO COME banner or substitute a generic stock picture. */
body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) .catalog-card__image.is-fallback {
  display: none !important;
}
body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) .catalog-card__body {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) .catalog-card h2 {
  margin: 0 0 .65rem !important;
  line-height: 1.12 !important;
}
body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) .catalog-card .catalog-meta {
  margin: .4rem 0 .75rem;
}
body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) .catalog-card .catalog-description {
  max-width: none;
  margin-top: .8rem !important;
}
/* Compact list is still available as a deliberate alternate view. */
body.static-paved.paved-catalog-wide .catalog-grid.view-compact .catalog-card {
  min-width: 0;
}
@media(max-width:767px) {
  body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) .catalog-card {
    padding: 20px 0 !important;
  }
  body.static-paved.paved-catalog-wide .catalog-grid:not(.view-compact) .catalog-card__image:not(.is-fallback) {
    margin-bottom: 14px !important;
  }
}
