#thanksgiving-popup {
  box-sizing: border-box;
  width: min(700px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  border: 1px solid #e7cfa7;
  border-radius: 20px;
  padding: 0;
  overflow: auto;
  background: #fff6e5;
  color: #29251e;
  box-shadow: 0 24px 90px #100d0a80;
}

#thanksgiving-popup::backdrop { background: #1b211bc7; }
html:has(#thanksgiving-popup[open]) { overflow: hidden; }

.thanksgiving-popup-art {
  display: block;
  width: 100%;
  height: auto;
  max-height: 44dvh;
  object-fit: cover;
  object-position: center 60%;
  background: #314532;
}

.thanksgiving-popup-copy { padding: 26px 34px 30px; }
#thanksgiving-popup h2 {
  color: #233b2a;
  font: bold clamp(1.9rem, 4vw, 2.75rem)/1.02 Georgia, serif;
  letter-spacing: -.04em;
  margin: 0 0 20px;
}

#thanksgiving-popup p { margin: 0 0 16px; line-height: 1.5; }
.thanksgiving-popup-date { font-weight: 700; }
.thanksgiving-popup-time { color: #923d18; font-size: 1.2em; white-space: nowrap; }

.thanksgiving-popup-dismiss {
  border: 0;
  border-radius: 8px;
  padding: 10px 24px;
  min-height: 44px;
  background: #233b2a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.thanksgiving-popup-dismiss:hover { background: #34563e; }
.thanksgiving-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e7cfa7;
  background: #fff6e5;
  color: #233b2a;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 650px) {
  .thanksgiving-popup-copy { padding: 22px; }
  #thanksgiving-popup h2 { margin-bottom: 14px; }
}
