/* Year article pages under Previous Finals */
.dwch .dwc-pfy {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.dwch .dwc-pfy-back {
  display: inline-block;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #b22222;
  text-decoration: none;
}

.dwch .dwc-pfy-back:hover {
  text-decoration: underline;
}

.dwch .dwc-pfy h2 {
  margin: 0 0 0.35em;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  letter-spacing: -0.01em;
}

.dwch .dwc-pfy-place {
  margin: 0 0 1.5em;
  font-size: 1.05rem;
  color: #666;
}

.dwch .dwc-pfy-hero {
  margin: 0 0 1.75em;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 14px 32px rgba(0, 0, 0, 0.1);
  line-height: 0;
}

.dwch .dwc-pfy-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Image carousel (Germany / Sardinia, etc.) */
.dwch .dwc-pfy-carousel {
  position: relative;
  margin: 0 0 1.75em;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 14px 32px rgba(0, 0, 0, 0.1);
}

.dwch .dwc-pfy-carousel-viewport {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.dwch .dwc-pfy-carousel-track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  height: 100%;
}

.dwch .dwc-pfy-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.dwch .dwc-pfy-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.dwch .dwc-pfy-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dwch .dwc-pfy-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dwch .dwc-pfy-carousel-btn:hover {
  background: #B22222;
}

.dwch .dwc-pfy-carousel-prev { left: 12px; }
.dwch .dwc-pfy-carousel-next { right: 12px; }

.dwch .dwc-pfy-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.dwch .dwc-pfy-carousel-dot {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dwch .dwc-pfy-carousel-dot.is-active {
  background: #B22222;
  transform: scale(1.15);
}

@media (max-width: 600px) {
  .dwch .dwc-pfy-carousel {
    border-radius: 14px;
  }

  .dwch .dwc-pfy-carousel-btn {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dwch .dwc-pfy-carousel-slide {
    transition: none;
  }
}

.dwch .dwc-pfy-video {
  position: relative;
  margin: 0 0 1.75em;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
  width: 100%;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 14px 32px rgba(0, 0, 0, 0.1);
}

.dwch .dwc-pfy-video video,
.dwch .dwc-pfy-video iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #111;
}

.dwch .dwc-pfy-video video {
  object-fit: contain;
}

.dwch .dwc-pfy p {
  margin: 0 0 1.25em;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #222;
}

.dwch .dwc-pfy p:last-child {
  margin-bottom: 0;
}

.dwch .dwc-pfy h3 {
  margin: 2.25em 0 0.85em;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.dwch .dwc-pfy-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dwch .dwc-pfy-results li {
  border-bottom: 1px solid #eee;
}

.dwch .dwc-pfy-results li:last-child {
  border-bottom: 0;
}

.dwch .dwc-pfy-results a {
  display: block;
  padding: 0.65rem 0;
  font-size: 1.05rem;
  color: #b22222;
  text-decoration: none;
}

.dwch .dwc-pfy-results a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .dwch .dwc-pfy {
    padding: 32px 20px 64px;
  }

  .dwch .dwc-pfy h2 {
    font-size: 1.3rem;
  }

  .dwch .dwc-pfy p {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  .dwch .dwc-pfy-hero,
  .dwch .dwc-pfy-video {
    border-radius: 14px;
  }
}
