#pc-vanocni-plakat {
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #fffaf0;
  color: #173a32;
  overflow: auto;
  overscroll-behavior: contain;
}

#pc-vanocni-plakat::backdrop {
  background: rgb(10 20 19 / 76%);
}

#pc-vanocni-plakat .pc-vanoce-panel {
  padding: 52px 4px 4px;
}

#pc-vanocni-plakat button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #173a32;
  color: white;
  font: 28px/1 system-ui, sans-serif;
  cursor: pointer;
}

#pc-vanocni-plakat button:focus-visible {
  outline: 2px solid #9e262e;
  outline-offset: 2px;
}

#pc-vanocni-plakat img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
  margin: auto;
}

#pc-vanocni-plakat .pc-vanoce-rozpis {
  box-sizing: border-box;
  width: min(420px, calc(100vw - 32px));
  padding: clamp(12px, 4vw, 26px);
  border: 2px solid #c39b55;
  border-radius: 10px;
  background: #173a32;
  color: #fffaf0;
  font: 16px/1.35 system-ui, sans-serif;
}

#pc-vanocni-plakat h2 {
  margin: 6px 0 16px;
  color: #fffaf0;
  font: 700 clamp(23px, 6vw, 32px)/1.1 Georgia, serif;
}

#pc-vanocni-plakat p {
  margin: 0;
  color: #ffe0a0;
}

#pc-vanocni-plakat dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 12px;
  margin: 0 0 16px;
}

#pc-vanocni-plakat dd {
  margin: 0;
  font-weight: 700;
}

