/* Posmrnice NDD72 styles */
.ndd72-wrap {
  font-family: "Lora", serif;
  color: #000;
}

.ndd72-card {
  position: relative;
  width: 100%;
  max-width: 1100px; /* adapt to Elementor column width */
  margin: 24px auto;
  display: block;
}

.ndd72-card .ndd72-frame {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.ndd72-card .ndd72-inner {
  position: absolute;
  inset: var(--ndd72-padding, 50px);
  background: #fff;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ndd72-card .ndd72-inner .ndd72-table {
  width: 100%;
  border-collapse: collapse;
}

.ndd72-card table.ndd72-table th,
.ndd72-card table.ndd72-table thead th {
  font-size: 25px;
  font-weight: 600; /* semi-bold */
  text-align: left;
  padding: 10px 6px;
  color: #000;
  background: transparent;
  border: none;
}

.ndd72-card table.ndd72-table td {
  font-size: 18px;
  font-weight: 500; /* medium */
  color: #000;
  padding: 6px 6px;
  vertical-align: top;
  border: none;
}

.ndd72-card table.ndd72-table tr + tr td {
  padding-top: 10px;
}

.ndd72-error {
  color: #b00020;
  background: #ffe9ec;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 12px 0;
}

/* Ensure images inside table do not overflow */
.ndd72-card table.ndd72-table img {
  max-width: 100%;
  height: auto;
}
