/* Nextly EU Badge v1.6.0 */

/* -------------------------------------------------------
   Fixed badge
------------------------------------------------------- */

#neb-badge {
  position: fixed;
  z-index: 99999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.neb-infoblokk-img {
  display: block;
  width: 360px;
  height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 14px 18px;
  box-sizing: border-box;
  border: 1px solid #d0d8ea;
}

@media (max-width: 520px) {
  .neb-infoblokk-img { width: calc(100vw - 40px); }
}

#neb-badge a { display: block; text-decoration: none; }
#neb-badge a:hover .neb-infoblokk-img {
  box-shadow: 0 6px 28px rgba(0,0,0,0.24);
}

/* -------------------------------------------------------
   Shortcode wrapper
------------------------------------------------------- */

.neb-projekt-info {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 12px;
  padding: 32px 36px;
  max-width: 860px;
  margin: 30px auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-shadow: 0 2px 16px rgba(0,40,120,0.07);
}

/* Logó */
.neb-projekt-logo-wrap {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e8eef8;
}

.neb-projekt-logo {
  max-width: 100%;
  height: auto;
}

/* Adatsor */
.neb-projekt-adatok {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid #e4eaf4;
  border-radius: 8px;
  overflow: hidden;
}

.neb-adat-sor {
  display: flex;
  align-items: baseline;
  padding: 11px 16px;
  border-bottom: 1px solid #eef2f8;
  gap: 12px;
}

.neb-adat-sor:last-child { border-bottom: none; }
.neb-adat-sor:nth-child(odd) { background: #f7faff; }

.neb-adat-cimke {
  font-size: 12px;
  font-weight: 700;
  color: #5a6a8a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 180px;
  flex-shrink: 0;
}

.neb-adat-ertek {
  font-size: 14px;
  color: #1a2a4a;
  line-height: 1.5;
}

.neb-kiemelt {
  font-weight: 700;
  color: #003399;
  font-size: 15px;
}

/* Leírás – egy hasáb, bekezdésekre törve */
.neb-projekt-leiras {
  margin-bottom: 24px;
}

.neb-projekt-leiras h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: #1a2a4a;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8eef8;
}

.neb-leiras-grid {
  border-left: 3px solid #003399;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.neb-leiras-grid p {
  font-size: 14px;
  color: #3a4a6a;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  text-align: justify;
}

/* Lábléc */
.neb-eu-tamogatas {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 0;
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid #eef2f8;
}

/* Kompakt */
.neb-projekt-info.neb-compact { padding: 16px 20px; font-size: 13px; }
.neb-compact .neb-projekt-logo { max-width: 100%; margin-bottom: 12px; }

@media (max-width: 600px) {
  .neb-adat-sor { flex-direction: column; gap: 2px; }
  .neb-adat-cimke { min-width: unset; }
  .neb-projekt-info { padding: 20px 18px; }
}
