/* Lavori: the site's card opened from a screenshot (lavori.js). The site's paper, ink and burgundy; pills as on the page. */
.wd-open, .wd-open body { overflow: hidden; }
.wd {
  position: fixed; inset: 0; z-index: 2147482000; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(0, 0, 0, .42); font-family: "PP Editorial Old", "Times New Roman", serif; animation: wd-in .3s ease both;
}
.wd *, .wd *::before, .wd *::after { box-sizing: border-box; }
.wd__panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); width: min(1080px, 100%);
  max-height: calc(100dvh - 48px); overflow: auto; background: #e9e9e9; color: #000;
  border: 1px solid rgba(0, 0, 0, .22); border-radius: 6px; box-shadow: 0 16px 48px rgba(0, 0, 0, .22); text-align: left;
}
.wd__panel:focus { outline: none; }
.wd__shot { margin: 0; padding: 28px 0 28px 28px; display: flex; align-items: center; }
.wd__img { display: block; width: 100%; height: auto; border-radius: 3px; }
.wd__body { display: flex; flex-direction: column; padding: 56px 40px 36px 36px; }
.wd__eyebrow { margin: 0 0 10px; font-size: 17px; font-style: italic; font-weight: 200; }
.wd__title { margin: 0 0 18px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 400; line-height: 1.08; color: #7a2e3a; }
.wd__text { margin: 0 0 28px; font-size: 19px; font-weight: 300; line-height: 1.5; }
.wd__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: auto 0 0; }
.wd__visit {
  display: inline-block; padding: 12px 28px; border: 1px solid #7a2e3a; border-radius: 50px; background: #7a2e3a; color: #e9e9e9;
  font-size: 19px; font-weight: 200; line-height: 1.2; text-decoration: none; transition: background-color .25s ease, border-color .25s ease;
}
.wd__visit:hover, .wd__visit:focus-visible { background: #1d201f; border-color: #1d201f; }
.wd__host { font-size: 16px; font-style: italic; font-weight: 200; }
.wd__close {
  position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; padding: 0; border: 0; background: transparent;
  color: #000; font-family: inherit; font-size: 30px; line-height: 1; cursor: pointer;
}
.wd__close:hover, .wd__close:focus-visible { color: #7a2e3a; }
@keyframes wd-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wd { animation: none; } .wd__visit { transition: none; } }
@media (max-width: 820px) {
  .wd { padding: 14px; }
  .wd__panel { grid-template-columns: 1fr; max-height: calc(100dvh - 28px); }
  .wd__shot { padding: 52px 18px 0; }
  .wd__body { padding: 22px 22px 26px; }
  .wd__text { font-size: 18px; }
  .wd__visit { flex: 1 1 100%; text-align: center; }
}
