/* Royal Gateway countdown cards: painted arch frames and a readable inset timer. */
.countdown-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 768px);
  max-width: 768px;
  gap: clamp(8px, 2vw, 27px);
  margin: 22px auto 0;
}
.countdown-items > div {
  position: relative;
  width: 100%;
  height: auto;
  min-width: 0;
  aspect-ratio: 100 / 150;
  display: block;
  background-color: transparent;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  box-shadow: 0 9px 12px #4a210c35;
}
.countdown-items > div:nth-child(1) { background-image: url('assets/countdown-days.svg'); }
.countdown-items > div:nth-child(2) { background-image: url('assets/countdown-hours.svg'); }
.countdown-items > div:nth-child(3) { background-image: url('assets/countdown-minutes.svg'); }
.countdown-items > div:nth-child(4) { background-image: url('assets/countdown-seconds.svg'); }
.countdown-items strong {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  inset: 33% 15% 23%;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #f2cf75;
  text-shadow: 0 2px 3px #320d18b0;
  font: 700 clamp(23px, 3.3vw, 55px)/1 'Cinzel Decorative', serif;
}
.countdown-items span {
  position: absolute;
  display: block;
  left: 4%;
  right: 4%;
  bottom: 7%;
  color: #fff2c9;
  text-shadow: 0 1px 2px #7a3927;
  font: 500 clamp(6px, .72vw, 11px)/1.1 'Cinzel Decorative', serif;
  letter-spacing: .4px;
  text-align: center;
}
@media(max-width:600px) {
  .countdown-items { width: min(100%, 430px); gap: 7px; }
  .countdown-items strong { font-size: clamp(18px, 7vw, 32px); }
  .countdown-items span { font-size: clamp(5px, 1.65vw, 7px); letter-spacing: 0; }
}
@media(max-width:360px) {
  .countdown-items { gap: 5px; }
  .countdown-items strong { font-size: 21px; }
  .countdown-items span { font-size: 5px; }
}
