/* ===== Sír popup ===== */
.siro-popup {
  font-family: 'Inter', 'Segoe UI', Times;
  font-size: 8px;
  line-height: 1.05;
  max-width: 320px;
}

.siro-header {
  text-align: center;
  margin-bottom: 8px;
}

.siro-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
}

.siro-id {
  font-size: 10px;
  font-weight: 200;
  color: #111;
}

.siro-image {
  width: 60%;
  height: auto;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.siro-section {
  margin-top: 8px;
}

.siro-section .label {
  width: 100px;
  font-weight: bold;
  font-size: 12px;
}


@media (max-width: 600px) {
  .siro-section .label,
  .siro-section .value {
    font-size: 14px;
  }
}


html, body { height: 100%; margin: 0; }
#map { height: 100vh; width: 100%; }

.siro-zoom { text-align:center; font-size:11px; color:#777; cursor:pointer; }

.image-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20000;
}
.image-overlay img{
  max-width: 70vw;
  max-height: 70vh;
  background: #fff;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* ===== UI popup/modals megjelenítését CSAK CSS vezérli (JS csak class-t kapcsol) ===== */

.small-popup{
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 20000;
  display: none;
  pointer-events: none;
  font-family: 'Inter','Segoe UI',Times;
  font-size: 12px;
  color: #222;
}
.small-popup.is-open{
  display: block;
  animation: popupFade 3s ease forwards;
}
@keyframes popupFade{
  0%   { opacity: 0; transform: translateX(-50%) translateY(8px); }
  12%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  88%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-6px); }
}


/* CSS-only modal sír popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20000;
}
.popup-overlay.visible {
  display: flex;
}
.popup-box {
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 420px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  text-align: left;
  position: relative;
}
.popup-box .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  text-decoration: none;
  color: #333;
  cursor: pointer;
}

/* Sírinformációs kártya */
.siro-card {
  font-family: sans-serif;
}
.siro-header {
  font-weight: bold;
  font-size: 18px;
}
.siro-azonosito {
  margin-bottom: 8px;
  text-align: center;
}

@media (max-width: 600px) {
  .siro-image {
    max-width: 80vw;
    height: auto;
  }
}

.siro-section {
  display: flex;
  flex-direction: row;
  margin-bottom: 6px;
}
.siro-section .label {
  width: 100px;
  font-weight: bold;
}
.siro-section .value {
  flex: 1;
  font-size: 14px; /* vagy amekkorát szeretnél, pl. 14px, 18px stb. */
}




@media (max-width: 600px) {
  .siro-section .label,
  .siro-section .value {
    font-size: 14px;
  }

  .siro-image {
    max-width: 80vw;
    height: auto;
  }

  .popup-box {
    max-height: 80vh;
    padding: 16px 20px;
    overflow-y: auto;
  }

  .popup-box .close {
    font-size: 30px;
    top: 14px;
    right: 16px;
  }
}