/* Venue advance-sale catalogue, inside the event shop. */
.venue-lineup {
  --venue-ink: #23536d;
  --venue-line: #cfe6f3;
  width: min(100%, 1160px);
  margin: clamp(36px, 5vw, 80px) auto 0;
  color: var(--venue-ink);
}

.venue-lineup-heading {
  margin-bottom: clamp(18px, 2.2vw, 32px);
  text-align: center;
}

.venue-lineup-heading h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.35em;
  margin: 0;
  color: #2379ac;
  font-size: clamp(22px, 2.55vw, 38px);
  font-weight: 900;
  line-height: 1.35;
}

.venue-lineup-heading h3::before,
.venue-lineup-heading h3::after {
  content: "";
  flex: 1;
  height: 2px;
  margin-inline: 0.35em;
  background: #b9dfff;
}

.venue-lineup-heading p {
  margin: 8px 0 0;
  color: #526979;
  font-size: 14px;
  font-weight: 700;
}

.venue-lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.7vw, 24px);
}

.venue-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(16px, 1.8vw, 26px);
  border: 1px solid var(--venue-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(36, 99, 134, 0.05);
  text-align: left;
  container-type: inline-size;
}

.venue-item-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--venue-line);
}

.venue-item-heading h4 {
  margin: 0;
  font-size: 20px;
  font-size: clamp(19px, 4.9cqi, 25px);
  font-weight: 900;
  line-height: 1.45;
}

.venue-item-spec {
  color: #34637c;
  background: #eaf6fc;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.venue-item-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  align-items: center;
  flex: 1;
  gap: 14px 10px;
  padding-block: clamp(16px, 3.6cqi, 24px);
}

.venue-item-images a {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  border-radius: 8px;
  cursor: zoom-in;
  text-align: center;
}

.venue-item-images picture {
  display: block;
  width: 100%;
}

.venue-item-images img {
  display: block;
  width: 100%;
  height: 150px;
  height: clamp(108px, 42cqi, 220px);
  object-fit: contain;
}

.venue-item-images a:focus-visible,
.venue-image-toolbar button:focus-visible {
  outline: 3px solid #2479a8;
  outline-offset: 3px;
}

@media (hover: hover) {
  .venue-item-images a:hover {
    outline: 2px solid var(--venue-line);
    outline-offset: 3px;
  }
}

.venue-image-dialog:not([open]) { display: none; }

.venue-item-images a span {
  color: #475d6e;
  font-size: clamp(12px, 2.6cqi, 14px);
  font-weight: 700;
  line-height: 1.5;
}

.venue-item--stickers .venue-item-images {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.venue-item--diorama a span { word-break: keep-all; }

.venue-item--stickers img {
  height: clamp(110px, 37cqi, 205px);
}

.venue-item--students .venue-item-images {
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 0.9fr);
}

.venue-item--students .venue-item-images img {
  height: clamp(60px, 22cqi, 118px);
}

.venue-item-reverse {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.venue-item--badges img {
  height: clamp(68px, 22cqi, 110px);
}

.venue-item--charms {
  grid-column: 1 / -1;
}

.venue-item--charms .venue-item-images {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.venue-item--charms img {
  height: clamp(145px, 23cqi, 224px);
}

.venue-item-price {
  margin: 0;
  color: #645c60;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.venue-item-price strong {
  color: #ab4567;
  font-size: 24px;
  font-size: clamp(23px, 4.6cqi, 29px);
  font-weight: 900;
}

.venue-lineup-notes {
  margin-top: 20px;
  color: #485e6e;
  font-size: 14px;
  line-height: 1.75;
}

.venue-lineup-notes p { margin: 0; }

@media (max-width: 700px) {
  .venue-lineup-grid { grid-template-columns: minmax(0, 1fr); }
  .venue-item--diorama .venue-item-images { align-items: start; }
  .venue-lineup-heading h3::before,
  .venue-lineup-heading h3::after { display: none; }
  .venue-lineup-heading h3 span { white-space: nowrap; }
  .venue-item--charms .venue-item-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container (max-width: 380px) {
  .venue-item--stickers .venue-item-images,
  .venue-item--students .venue-item-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venue-item--stickers img { height: clamp(130px, 52cqi, 180px); }
  .venue-item--students .venue-item-images img { height: clamp(64px, 29cqi, 108px); }
  .venue-item-reverse {
    grid-area: auto / span 2;
    width: 50%;
    justify-self: center;
  }
}

.venue-image-dialog {
  width: min(calc(100% - 24px), 860px);
  max-height: 95vh;
  max-height: 95dvh;
  margin: auto;
  padding: 16px;
  border: 2px solid #b9dfff;
  border-radius: 18px;
  background: white;
  color: var(--venue-ink);
}

.venue-image-dialog::backdrop { background: rgba(15, 38, 53, 0.7); }

.venue-image-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.venue-image-toolbar h4 {
  margin: 0;
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.5;
}

.venue-image-toolbar button {
  padding: 8px 14px;
  border: 1px solid #93c7e6;
  border-radius: 99px;
  background: #eef8ff;
  color: var(--venue-ink);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.venue-image-full {
  width: 100%;
  height: min(68vh, 700px);
  height: min(68dvh, 700px);
  object-fit: contain;
}
