/* Final desktop catalogue: use the photo itself as the image box.
   Mobile layout deliberately remains exclusively in styles.css. */
@media (min-width: 900px) {
  .catalog.shell {
    width: min(1840px, calc(100% - 4vw));
    padding: 24px 0 30px;
  }

  .catalog .venue-grid#projects {
    gap: clamp(10px, 1vw, 16px);
    align-items: start;
  }

  .catalog .venue-select-card {
    display: grid;
    grid-template-rows: auto 198px;
    min-height: 0 !important;
    overflow: hidden;
  }

  .catalog .venue-select-card .card-image {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #171513;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .catalog .venue-select-card .card-image > img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 0;
    max-width: none;
    object-fit: contain;
    object-position: center;
    transform: none !important;
  }

  .catalog .venue-select-card .card-image::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -20px;
    background: center / cover no-repeat var(--venue-photo);
    filter: blur(18px) brightness(.62);
    transform: scale(1.06);
  }

  .catalog .venue-select-card .card-content {
    display: grid;
    grid-template-rows: 46px 19px minmax(38px, 1fr) 44px;
    row-gap: 8px;
    align-items: start;
    box-sizing: border-box;
    height: 198px;
    min-width: 0;
    padding: 12px 14px 14px;
  }

  .catalog .venue-select-card .card-logo {
    position: static;
    width: min(132px, 58%);
    height: 46px;
    max-width: 100%;
    margin: 0;
  }

  .catalog .venue-select-card .card-logo > img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .catalog .venue-select-card h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
  }

  .catalog .venue-select-card p {
    min-height: 0;
    margin: 0;
    font-size: 9px;
    line-height: 1.38;
  }

  .catalog .venue-select-card .card-bottom {
    align-self: end;
    padding-top: 9px;
  }
}
