
.pp-posmrtnice-wrapper {
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.pp-posmrtnice-inner {
  /* Restore a comfortable content column: full-width up to a max, centered */
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 12px;
}
.pp-posmrtnice-table {
  width: 100%;
  margin: 30px auto;
  /* Background is driven by the inline style injected by the plugin (admin option).
     Keep CSS minimal so the admin-chosen color applies. */
  background: transparent;
  color: #FCEABB;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
  border-radius: 11px;
  overflow: hidden;
  text-align: center;
  font-family: "Lora", serif;
}
.pp-posmrtnice-table th,
.pp-posmrtnice-table td {
  border: none !important;
  padding: 10px 16px;
  vertical-align: middle;
}
.pp-posmrtnice-table thead th,
.pp-posmrtnice-table tr:first-child th {
  font-size: 25px;
  font-weight: 600;
  text-align: center;
  color: #FCEABB;
}
.pp-posmrtnice-table tbody td,
.pp-posmrtnice-table tr td {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  color: #FCEABB;
}
.pp-posmrtnice-table img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
.pp-posmrtnice-error {
  max-width: 900px;
  margin: 24px auto;
  padding: 16px 20px;
  background: #7A7A7A;
  color: #FCEABB;
  border-radius: 11px;
  text-align: center;
  font-family: "Lora", serif;
}

/* Improve responsiveness and long-content handling */
.pp-posmrtnice-inner {
  overflow-x: auto;
}

.pp-posmrtnice-table td,
.pp-posmrtnice-table th {
  word-break: break-word;
  hyphens: auto;
}

/* Allow wrapper to inherit font when admin sets inline font-family */
.pp-posmrtnice-wrapper {
  font-family: inherit;
}

/* Stronger rules to prevent theme styles from hiding content */
.pp-posmrtnice-wrapper,
.pp-posmrtnice-inner {
  background: transparent !important;
  color: inherit !important;
}
.pp-posmrtnice-table {
  display: table !important;
  table-layout: auto !important;
  /* Do not override the inline background set by the plugin; remove forced transparent. */
  color: #FCEABB !important;
  border-collapse: separate !important;
  width: 100% !important;
}
.pp-posmrtnice-table td,
.pp-posmrtnice-table th {
  height: auto !important;
  min-height: 1.2em !important;
  color: #FCEABB !important;
  padding: 10px 16px !important;
  vertical-align: middle !important;
}
.pp-posmrtnice-table img {
  display: inline-block !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Ensure table structure can't be overridden by theme CSS */
.pp-posmrtnice-table { display: table !important; }
.pp-posmrtnice-table tbody { display: table-row-group !important; }
.pp-posmrtnice-table tr { display: table-row !important; }
.pp-posmrtnice-table td, .pp-posmrtnice-table th {
  display: table-cell !important;
  line-height: 1.4 !important;
  font-size: inherit !important;
  min-height: 1.2em !important;
  vertical-align: middle !important;
}

/* prevent accidental collapse from ancestors */
.pp-posmrtnice-inner, .pp-posmrtnice-wrapper { overflow: visible !important; }

/* Responsive: on smaller screens allow full width so cards are readable */
@media (max-width: 900px) {
  .pp-posmrtnice-inner {
    width: 100% !important;
    padding: 0 12px !important;
  }
}
