/* Additive styles only – Christmas market 2026, keep existing site CSS intact. */

/* Homepage: replace only hero photo, not gradient/layout or headline. */
.wm-home-hero {
  background-image: linear-gradient(90deg, #073f35dd, #073f3533 72%),
                    url("../images/weihnachtsmarkt-2024.jpg");
}

/* Homepage: event poster before the unchanged Hollandmarkt recap. */
.wm-home-upcoming { margin-bottom: 3rem; }
.wm-home-teaser { grid-template-columns: 160px minmax(0, 1fr); gap: 1.5rem; align-items: center; margin-top: 1.1rem; }
.wm-home-teaser .event-teaser-poster,
.wm-home-teaser .event-teaser-poster img { width: 160px; max-width: 100%; }
.wm-home-teaser-copy p { margin: 0 0 .45rem; }
.wm-home-teaser-copy .date { font-size: 1.18rem; }
.wm-home-teaser-copy .btn { margin: .65rem 0 0; }

/* Events overview: small button inside the existing market box. */
.events-page .wm-more-info { margin: 1.15rem 0 0; }

/* Dedicated Christmas market page – compact calendar panel beneath existing hero box. */
.wm-detail-page .weihnachtsmarkt-feature { margin-bottom: 1.2rem; }
.wm-calendar-panel {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  padding: 1.05rem 1.25rem;
  margin: 0 0 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.wm-calendar-qr { display: block; flex: 0 0 92px; line-height: 0; }
.wm-calendar-qr img { width: 92px; height: 92px; border: 1px solid #e3ebea; border-radius: 8px; padding: 3px; background: #fff; }
.wm-calendar-main { min-width: 0; flex: 1; }
.wm-calendar-panel h2 { font-size: 1.25rem; margin: 0 0 .15rem; color: var(--g); }
.wm-calendar-panel p { font-size: .92rem; margin: 0 0 .45rem; line-height: 1.35; }
.wm-calendar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.wm-calendar-primary { padding: .55rem 1rem; margin: 0; line-height: 1.3; font-size: .94rem; text-align: center; }
.wm-google-calendar { font-size: .9rem; min-width: 0; }
.wm-google-calendar summary { color: var(--t); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.wm-google-calendar summary:hover { color: var(--g); }
.wm-google-links { display: flex; flex-wrap: wrap; gap: .35rem .85rem; margin: .45rem 0 .15rem; }
.wm-google-links a { display: inline-block; font-weight: 600; }
.wm-calendar-panel .wm-calendar-hint { margin: .4rem 0 0; color: #606f6e; font-size: .79rem; }

/* Hidden placeholder for the future MES-fed table: show it only after real records have loaded. */
.wm-exhibitors { margin: 0 0 1.5rem; }
.wm-exhibitors h2 { font-size: 1.6rem; }
.wm-exhibitors-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.wm-exhibitors table { border-collapse: collapse; width: 100%; min-width: 400px; }
.wm-exhibitors th, .wm-exhibitors td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
.wm-exhibitors th { background: #e8f3f2; color: var(--g); }

@media (max-width: 700px) {
  .wm-home-teaser { grid-template-columns: 100px minmax(0, 1fr); gap: .9rem; padding: 1rem; }
  .wm-home-teaser .event-teaser-poster,
  .wm-home-teaser .event-teaser-poster img { width: 100px; max-width: 100%; }
  .wm-home-teaser-copy .date { font-size: 1.06rem; }
  .wm-home-teaser-copy { font-size: .94rem; line-height: 1.4; }
  .wm-calendar-panel { padding: .85rem 1rem; }
  .wm-calendar-qr { display: none; } /* QR is for scanning from a second device or print. */
}
@media (max-width: 420px) {
  .wm-calendar-primary { width: 100%; }
  .wm-home-teaser { grid-template-columns: 88px minmax(0, 1fr); }
  .wm-home-teaser .event-teaser-poster,
  .wm-home-teaser .event-teaser-poster img { width: 88px; }
}
