/* Herdina center identity: lower placement and a crisp, opaque presentation. */
.sheet.company-herdina .watermark img,
.sheet.company-herdina .watermark span {
  opacity: 1;
}

.sheet.company-herdina .watermark img {
  filter: none;
}

.sheet.company-herdina .watermark .watermark-inner {
  box-sizing: border-box;
  border: 1.5px solid rgb(212 173 93 / 88%);
  background: #fff;
  box-shadow:
    0 0 0 3px rgb(237 245 244 / 96%),
    0 8px 24px rgb(5 47 59 / 14%);
}

.sheet.company-herdina .watermark span {
  color: #052f3b;
  letter-spacing: .35px;
  line-height: 1.25;
  text-align: center;
}

/* Formal dossier: place the identity below its old position in the lower
   center of the legal section. The wider center channel keeps the opaque
   badge clear of every contract article. */
.herdina-dossier .herdina-articles-grid {
  gap: 28mm;
}

.fsheet.company-herdina > .watermark-under-financial .watermark-inner {
  top: 52mm;
  width: 23mm;
  gap: 1.5mm;
  padding: 2.5mm 2mm 2mm;
  border-radius: 4mm;
}

.fsheet.company-herdina > .watermark-under-financial img {
  width: 18mm;
  height: 18mm;
  object-fit: contain;
}

.fsheet.company-herdina > .watermark-under-financial span {
  max-width: 19mm;
  white-space: normal;
  font-size: 10px;
  font-weight: 900;
}

/* Classic fallback: preserve the same clear identity while shifting the
   page-centered mark downward. */
.sheet.company-herdina:not(.fsheet) > .watermark {
  transform: translateY(24mm);
}

.sheet.company-herdina:not(.fsheet) > .watermark .watermark-inner {
  width: 92mm;
  max-height: none;
  gap: 3mm;
  padding: 5mm 7mm 4.5mm;
  border-radius: 6mm;
}

.sheet.company-herdina:not(.fsheet) > .watermark img {
  width: 64mm;
  height: 50mm;
  object-fit: contain;
}

.sheet.company-herdina:not(.fsheet) > .watermark span {
  max-width: 78mm;
  font-size: 27px;
  font-weight: 900;
}

@media print {
  .sheet.company-herdina .watermark .watermark-inner {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
