/* vn140 Photo under glass (INV-18, stage 1, A2480): the photo is cut to the slab's outline and the glass lies over it; its name
   and map on a stone below. The viewer in section.js is INV-03's. */
.vn140 { display: flex; flex-direction: column; align-items: center; gap: var(--sgl-gap-in); padding: var(--k-section-pad) 0; color: var(--k-on-dark); }
.vn140 .vn140__cards { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.vn140 .vn140-card { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vn140 .vn140__lead { width: var(--k-stone-w); }
.vn140 .vn140__lead-img { object-position: var(--vn140-pos, 50% 50%); }
.vn140 .vn140__info { display: flex; align-items: center; justify-content: center; }
.vn140 .vn140__in { text-align: center; text-shadow: var(--sgl-text-shadow); }
.vn140 .vn140__name { font: 400 1.32rem/1.2 var(--k-font-display); }
.vn140 .vn140__addr { max-width: 30ch; margin: 0 auto; font: 400 .8rem/1.4 var(--k-font-body); text-wrap: balance; }
.vn140 .vn140__map { display: inline-flex; align-items: center; min-height: 32px; font: 400 .68rem/1 var(--k-font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--k-on-dark); text-decoration: underline; text-decoration-color: var(--c-secondary); text-underline-offset: 4px; }
.vn140 .vn140__more { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; text-align: center; }
.vn140 .vn140__more span { font: 400 .85rem/1.4 var(--k-font-body); color: var(--k-on-dark-soft); }
@media (min-width: 1100px) {
  .vn140 .vn140__cards { flex-direction: row; align-items: flex-start; justify-content: center; gap: 40px; }
}
/* the photo viewer, from INV-03 */
.vn140 .vn140__view {
  position: fixed; inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: var(--k-ink, #2E211A); color: var(--k-on-dark);
  overflow: hidden; overscroll-behavior: contain; touch-action: pinch-zoom;
}
.vn140 .vn140__view::backdrop { background: var(--k-ink, #2E211A); }
.vn140 .vn140__view-in {
  height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "fig fig" "prev next"; align-items: center; gap: var(--k-s-4);
  padding: calc(76px + env(safe-area-inset-top)) var(--k-s-4) calc(var(--k-s-5) + env(safe-area-inset-bottom));
}
.vn140 .vn140__view-fig { grid-area: fig; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 0; height: 100%; margin: 0; }
.vn140 .vn140__view-img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: min(78vh, calc(100vh - 240px)); max-height: min(78svh, calc(100svh - 240px));
  object-fit: contain; border-radius: 1px; user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .4), 0 18px 40px -20px rgb(0 0 0 / .7);
}
.vn140 .vn140__view-cap { max-width: 60ch; margin-top: var(--k-s-3); text-align: center; font: 400 .95rem/1.5 var(--k-font-body); color: var(--k-on-dark-soft); }
.vn140 .vn140__view-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vn140 .vn140__view-btn[hidden] { display: none; }
.vn140 .vn140__view-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vn140 .vn140__view-close {
  position: absolute; z-index: 2; top: calc(var(--k-s-4) + env(safe-area-inset-top)); right: calc(var(--k-s-4) + env(safe-area-inset-right));
  background: var(--c-primary); color: #FFFFFF; border: 1px solid rgb(255 255 255 / .35);
}
.vn140 .vn140__view-close:active { background: var(--c-primary-dark); }
.vn140 .vn140__view-prev, .vn140 .vn140__view-next { background: rgb(255 255 255 / .06); color: #FFFFFF; border: 1px solid rgb(255 255 255 / .6); }
.vn140 .vn140__view-prev { grid-area: prev; justify-self: end; }
.vn140 .vn140__view-next { grid-area: next; justify-self: start; }
  .vn140 .vn140__view-in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr); grid-template-areas: "prev fig next";
    gap: var(--k-s-5); padding: calc(76px + env(safe-area-inset-top)) var(--k-s-5) var(--k-s-5); }
  .vn140 .vn140__view-prev, .vn140 .vn140__view-next { justify-self: center; }
  .vn140 .vn140__view-img { max-height: min(78vh, calc(100vh - 180px)); max-height: min(78svh, calc(100svh - 180px)); }
  .vn140 .vn140__view-in { padding: var(--k-s-5); }
  .vn140 .vn140__view-img { max-height: min(84vh, calc(100vh - 130px)); max-height: min(84svh, calc(100svh - 130px)); }
/* W1 (A2545): the photo under a clear landscape plate; its name, address and map on a small crystal label below and to
   the right (phone, tablet) or beside it (laptop), never over a photo pixel. The second venue mirrored. */
.vn140 .vn140__lead { width: min(84vw, 300px); }
.vn140 .vn140-card { gap: 10px; }
.vn140 .vn140-card .vn140__info { align-self: flex-end; rotate: -1.5deg; }
.vn140 .vn140-card:nth-child(even) .vn140__info { align-self: flex-start; rotate: 1.5deg; }
.vn140 .vn140-card { width: min(90vw, 360px); }
.vn140 .vn140__name { color: var(--k-gold); font-size: 1.15rem; }
@media (min-width: 700px) { .vn140 .vn140__lead { width: 420px; } .vn140 .vn140-card { width: 520px; } }
@media (min-width: 1100px) {
  .vn140 .vn140__cards { flex-direction: column; align-items: center; gap: 56px; }
  .vn140 .vn140-card { flex-direction: row; align-items: center; width: auto; gap: 32px; }
  .vn140 .vn140-card:nth-child(even) { flex-direction: row-reverse; }
  .vn140 .vn140__lead { width: 520px; }
  .vn140 .vn140-card .vn140__info, .vn140 .vn140-card:nth-child(even) .vn140__info { align-self: center; }
}
/* W1.3 (A2589): the objects on the table (scripts/morning_table_props.py), true size, on top, never over a word */
/* W1.4 (A2597): the key is gone (the owner's crop); two drops of red glass by the last card's corner */
.vn140 .vn140-card:not(:last-child) .vn140__dr { display: none; }
.vn140 .vn140__d1 { right: -7%; bottom: -12%; }
.vn140 .vn140__d2 { right: 6%; bottom: -16%; }
