.christmas-events {
  --winter-ink: #183c31;
  --winter-gold: #f2cd86;
  --winter-paper: #fffaf0;
  padding: clamp(22px, 3vw, 46px) clamp(14px, 4vw, 60px) 12px;
  color: var(--winter-paper);
  background-color: #183e32;
  background-image: linear-gradient(90deg, rgba(14, 46, 36, .97), rgba(20, 54, 43, .86) 56%, rgba(16, 44, 35, .66)),
    url("../images/agritur-la-regina-dei-prati-inverno-1200x900.jpg");
  background-size: cover;
  background-position: center 45%;
  border-bottom: 3px solid #c79f60;
}

.christmas-events__inner {
  max-width: 1160px;
  margin-inline: auto;
}

.christmas-events__heading {
  margin-bottom: clamp(16px, 2vw, 26px);
}

.christmas-events__season {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 5px;
  color: var(--winter-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.christmas-events__season::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.christmas-events h2 {
  margin: 0;
  color: var(--winter-paper);
  font: normal clamp(34px, 4.2vw, 60px) / 1.1 Georgia, serif;
  letter-spacing: -.035em;
  text-transform: none;
}

.christmas-events h2 em {
  color: var(--winter-gold);
}

.christmas-events__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(12px, 1.7vw, 24px);
}

.christmas-card {
  --card-pad: clamp(16px, 1.8vw, 26px);
  --poster-width: clamp(102px, 10vw, 146px);
  color: var(--winter-ink);
  background: var(--winter-paper);
  border: 1px solid #e5d5b6;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(6, 26, 19, .18);
}

.christmas-card:only-child {
  grid-column: 1 / -1;
  width: min(100%, 700px);
}

.christmas-card__overview {
  display: grid;
  grid-template-columns: var(--poster-width) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  padding: var(--card-pad);
}

.christmas-card__poster {
  display: block;
  padding: 3px;
  color: var(--winter-ink);
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 3px 9px rgba(62, 40, 18, .22);
  transform: rotate(-1.5deg);
  transition: transform .18s ease;
}

.christmas-card:nth-child(even) .christmas-card__poster {
  transform: rotate(1.5deg);
}

.christmas-card__poster img {
  display: block;
  width: 100%;
  height: auto;
}

.christmas-card__poster-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  padding: 4px 3px 2px;
  color: var(--winter-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.christmas-card h3 {
  margin: 0 0 12px;
  color: var(--winter-ink);
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -.045em;
  text-transform: none;
}

html[lang="de"] .christmas-card h3 {
  -webkit-hyphens: manual !important;
  hyphens: manual !important;
}

.christmas-card__copy p,
.christmas-card__programme {
  margin: 0;
  color: #43594e;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.5;
}

.christmas-card__copy .christmas-card__dates {
  color: #7f303d;
  font-weight: 700;
}

.christmas-card__copy .christmas-card__hours {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 3px;
  color: var(--winter-ink);
  font-weight: 650;
}

.christmas-card__hours .material-icons-access_time {
  font-size: 17px;
  line-height: 1;
}

.christmas-card details {
  border-top: 1px solid #e4d9c3;
}

.christmas-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 8px var(--card-pad);
  color: var(--winter-ink);
  border-radius: 0 0 15px 15px;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.christmas-card summary::-webkit-details-marker {
  display: none;
}

.christmas-card summary::after {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin: -3px 2px 0 0;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.christmas-card details[open] summary::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.christmas-card__programme {
  padding: 0 var(--card-pad) var(--card-pad);
}

.christmas-card__programme ul {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.christmas-card__programme li {
  display: grid;
  grid-template-columns: 4.5em 1fr;
  gap: 8px;
}

.christmas-card__programme time {
  color: #7f303d;
  font-weight: 700;
}

.christmas-card__programme p {
  margin: 0;
}

.christmas-card__programme p + p {
  margin-top: 8px;
}

.christmas-events__contacts,
.christmas-events__numbers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: clamp(14px, 2vw, 28px);
}

.christmas-events__contacts {
  margin-top: 10px;
  font-size: 14px;
}

.christmas-events__contacts strong {
  color: var(--winter-gold);
}

.christmas-events__numbers a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #bcba9d;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.christmas-events :is(a, summary):focus-visible {
  outline: 3px solid #aa572d;
  outline-offset: 2px;
}

.christmas-events__numbers a:focus-visible {
  outline-color: var(--winter-gold);
}

@media (hover: hover) {
  .christmas-card .christmas-card__poster:hover {
    transform: translateY(-2px);
  }
  .christmas-card summary:hover {
    color: #7f303d;
    background-color: #f6eedc;
  }
  .christmas-events__numbers a:hover {
    color: var(--winter-gold);
  }
}

@media (max-width: 839px) {
  .christmas-events__inner {
    max-width: 620px;
  }
  .christmas-events__cards {
    grid-template-columns: 1fr;
  }
  .christmas-card {
    --poster-width: clamp(86px, 20vw, 118px);
  }
  .christmas-events__contacts {
    gap: 0 14px;
  }
}

@media (max-width: 479px) {
  .christmas-card {
    --card-pad: 14px;
  }
  .christmas-card__overview {
    gap: 14px;
  }
  .christmas-card h3 {
    margin-bottom: 6px;
  }
  .christmas-card__copy .christmas-card__hours {
    margin-top: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .christmas-card__poster {
    transition: none;
  }
}
