/* Auction page: 6 lots. Desktop/tablet = original left + large headline.
   Phones = centered compact grid that stays in the viewport. */
html:has(.lsc-auctions),
body:has(.lsc-auctions) {
  height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  background: #000;
}
body:has(.lsc-auctions) {
  margin: 0;
  display: flex;
  flex-direction: column;
}
body:has(.lsc-auctions) .section-hero-horizontal,
body:has(.lsc-auctions) .hero-sticky,
body:has(.lsc-auctions) .frame,
body:has(.lsc-auctions) .frame-100,
body:has(.lsc-auctions) .hero-horizontal {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  transform: none !important;
}
body:has(.lsc-auctions) .section-hero-horizontal {
  flex: 1 1 auto;
  display: flex !important;
  min-height: 0;
}
body:has(.lsc-auctions) .hero-sticky,
body:has(.lsc-auctions) .frame,
body:has(.lsc-auctions) .frame-100,
body:has(.lsc-auctions) .hero-horizontal {
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0;
}
body:has(.lsc-auctions) .hero-horizontal {
  padding: 8em 1.5em 4em 12% !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}
body:has(.lsc-auctions) .block-hero-horizontal-loading {
  max-width: 50vw !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  gap: 1.1em !important;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}
body:has(.lsc-auctions) .heading-hero-large {
  font-size: 6.17vw !important;
  line-height: 1.04em !important;
  margin: 0 !important;
  flex: 0 0 auto;
  max-width: 100%;
}
body:has(.lsc-auctions) .code-embed-2,
body:has(.lsc-auctions) .w-embed {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  overflow: hidden;
}
@media screen and (max-width: 991px) {
  body:has(.lsc-auctions) .block-hero-horizontal-loading {
    max-width: 60vw !important;
  }
  body:has(.lsc-auctions) .heading-hero-large {
    font-size: 8vw !important;
  }
}
@media screen and (max-width: 767px), screen and (max-height: 520px) {
  body:has(.lsc-auctions) .image-logo {
    height: clamp(2rem, 7vh, 3.2rem) !important;
    width: auto !important;
    max-width: 42vw;
  }
  body:has(.lsc-auctions) .hero-horizontal {
    padding: 0 !important;
  }
  body:has(.lsc-auctions) .block-hero-horizontal-loading {
    max-width: none !important;
    width: 100% !important;
    padding: clamp(3rem, 10vh, 4.5rem) 12px 10px !important;
    align-items: stretch !important;
    gap: 0.45em !important;
  }
  body:has(.lsc-auctions) .heading-hero-large {
    font-size: clamp(1.15rem, 6vw, 1.8rem) !important;
    line-height: 1.08 !important;
  }
}

.lsc-auctions {
  --lsc-cols: 3;
  --lsc-rows: 2;
  --lsc-gap: 12px;
  --lsc-pad: 10px;
  --lsc-meta: 22px;
  --lsc-max: 200px;
  container-type: size;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  background: #000;
  padding: 0;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
@media (max-aspect-ratio: 1/1) {
  .lsc-auctions {
    --lsc-cols: 2;
    --lsc-rows: 3;
  }
}
@media screen and (max-width: 767px), screen and (max-height: 520px) {
  .lsc-auctions {
    align-items: center;
    justify-content: center;
    padding: 8px;
  }
}
.lsc-auctions *,
.lsc-auctions *::before,
.lsc-auctions *::after {
  box-sizing: border-box;
}
.lsc-grid {
  --lsc-tile: min(
    var(--lsc-max),
    calc((100cqw - (var(--lsc-cols) - 1) * var(--lsc-gap)) / var(--lsc-cols)),
    calc(
      (100cqh - (var(--lsc-rows) - 1) * var(--lsc-gap)) / var(--lsc-rows) -
        var(--lsc-meta) - var(--lsc-pad) * 2
    )
  );
  display: grid;
  grid-template-columns: repeat(var(--lsc-cols), var(--lsc-tile));
  gap: var(--lsc-gap);
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}
a.lsc-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: var(--lsc-tile);
  margin: 0;
  padding: var(--lsc-pad);
  background: #080808;
  border: 1px solid #1a1a1a;
  border-radius: 0;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.15s ease;
}
a.lsc-card:hover {
  opacity: 0.9;
}
.lsc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  width: 100%;
}
.lsc-lot {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #ccc;
  text-align: left;
  flex: 0 1 auto;
}
.lsc-frame {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #111;
  border: 1px solid #1a1a1a;
}
.lsc-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
  margin: 0;
  padding: 0;
  max-width: none;
}
.lsc-noimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.lsc-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 10px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.88) 55%);
}
.lsc-status {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: right;
  flex: 1 1 auto;
  min-width: 0;
  opacity: 0.5;
}
.lsc-status-reserve {
  color: #a3a3a3;
}
.lsc-status-bid {
  color: #ccac00;
}
.lsc-status-sold {
  color: #cccccc;
}
.lsc-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
