/* ECOTONE – Veranstaltungs-Popup. Isolierte Styles, ohne Einfluss auf das Theme. */
.eco-news-popup[hidden] { display: none !important; }
.eco-news-popup {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 44px);
  box-sizing: border-box;
}
.eco-news-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 23, 21, .80);
  cursor: pointer;
}
.eco-news-popup__panel {
  position: relative;
  z-index: 1;
  display: block;
  width: fit-content;
  max-width: min(1100px, 100%);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  line-height: 0;
  border-radius: 5px;
  background: transparent;
  box-shadow: 0 18px 75px rgba(0,0,0,.40);
}
.eco-news-popup__image-button {
  display: block;
  padding: 0;
  margin: 0;
  width: 100%;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}
.eco-news-popup__image-button img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 44px);
  object-fit: contain;
  border-radius: 5px;
}
.eco-news-popup__close {
  position: absolute;
  z-index: 2;
  top: -15px;
  right: -15px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: #163831;
  color: #fff;
  font: 300 29px/1 Arial, sans-serif;
  cursor: pointer;
}
.eco-news-popup__image-button:focus-visible,
.eco-news-popup__close:focus-visible {
  outline: 3px solid #e6d26d;
  outline-offset: 4px;
}
.eco-news-popup__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 600px) {
  .eco-news-popup { padding: 15px; }
  .eco-news-popup__close { top: -12px; right: -8px; width: 34px; height: 34px; }
}
