/* Two arch-cut sheets, with a foil keyline pressed into the front sheet. */
.datecard {
  --arch: 50% 50% 2px 2px / 10rem 10rem 2px 2px;
  position: relative;
  isolation: isolate;
  width: calc(100% - 1.35rem);
  max-width: 23.4rem;
  margin: .8rem auto 1rem;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  transform: none;
  color: #4a3729;
  text-align: center;
}
.datecard::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: .15rem -.35rem -.25rem .3rem;
  border: 1px solid #c5a47e;
  border-radius: var(--arch);
  transform: rotate(5deg);
  transform-origin: 55% 90%;
  background: linear-gradient(110deg, #d8c0a1, #e7d2af 42%, #dfc49f);
  box-shadow: .35rem 1rem 1.6rem -.95rem #61432666;
}
.datecard-paper {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: clamp(2.25rem, 4vw, 3rem) clamp(1.1rem, 2.7vw, 2rem) clamp(1.9rem, 3vw, 2.4rem);
  border-radius: var(--arch);
  border: 1px solid #b79972;
  background: linear-gradient(110deg, #fff9ec, #faf1df 58%, #f3e5ce);
  box-shadow: .15rem .3rem .65rem -.28rem #7355354a;
}
.datecard-paper::before {
  content: "";
  position: absolute;
  inset: .47rem;
  z-index: -1;
  border: 1px solid #b2976b99;
  border-radius: 50% 50% 0 0 / 9.6rem 9.6rem 0 0;
  pointer-events: none;
}
.datecard-mark {
  display: block;
  width: auto;
  height: clamp(4.2rem, 6.6vw, 5rem);
  object-fit: contain;
}
.datecard-date {
  display: block;
  margin-block-start: .65rem;
  color: #443226;
  font: 400 clamp(1.65rem, 3.55vw, 2.65rem)/1.4 Tajawal, Tahoma, sans-serif;
  white-space: nowrap;
}
.datecard-week {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  width: 100%;
  margin: clamp(1.1rem, 2vw, 1.45rem) 0 1rem;
  padding: 1.15rem 0 0;
  border-block-start: 1px solid #d5c2a6;
  list-style: none;
}
.datecard-week li {
  display: grid;
  justify-items: center;
  gap: .45rem;
  font: 400 .88rem/1.15 Tajawal, Tahoma, sans-serif;
  color: #6b5541;
}
.datecard-week b {
  display: grid;
  place-items: center;
  width: 1.95rem;
  height: 1.95rem;
  padding-top: .15rem;
  font: 400 1.13rem/1 Tajawal, Tahoma, sans-serif;
}
.datecard-week .wedding-day { color: #4a311d; }
.wedding-day b {
  border: 1.5px solid #977344;
  border-radius: 50%;
  background: #ecdbc0;
}
.datecard-hour {
  color: #5a4231;
  font: 400 1rem/1.4 Tajawal, Tahoma, sans-serif;
}
