:h6 {font-size: 22px;}
h5 {font-size: 30px;}
figure.vp-image img {border:0;}
/* Wrapping for header-links */
.header-links ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.3rem;
  justify-content: center;
  align-items: center;
}

.header-links li {
  flex: 0 0 130; /* your chosen width */
  min-width: 0;
  text-align: center; /* center text inside */
}

.header-links a {
  display: block;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.2;
  text-align: center;
}
/* =========================================================
   VARIANT BADGE — STICKY CHIP INSIDE ARTICLE HEADER ZONE
   ========================================================= */

#content .doc-variant-badge-row {
  position: sticky;
  top: 104px;
  z-index: 5;

  display: flex;
  justify-content: flex-end;

  margin: 8px 0 12px 0;
}

#content .doc-variant-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;

  font: 800 12px/1.1 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;

  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

#content .doc-variant-badge[data-variant="print-server"] {
  background: #DA0027;
}

#content .doc-variant-badge[data-variant="central-server"] {
  background: #000;
}

/* Attachment/download table styling */
.table-wrap:has(table.confluenceTable a[href*="/__attachments/"]) {
  display: block !important;
  width: 100% !important;
  max-width: 720px;
  overflow-x: visible !important;
  box-sizing: border-box;
}

.table-wrap:has(table.confluenceTable a[href*="/__attachments/"]) table.confluenceTable {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.table-wrap:has(table.confluenceTable a[href*="/__attachments/"]) th,
.table-wrap:has(table.confluenceTable a[href*="/__attachments/"]) td {
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.6rem 0.75rem;
}

.table-wrap:has(table.confluenceTable a[href*="/__attachments/"]) th {
  background: transparent;
  text-align: left;
}

.table-wrap:has(table.confluenceTable a[href*="/__attachments/"]) th button {
  all: unset;
  font-weight: 600;
}

.table-wrap:has(table.confluenceTable a[href*="/__attachments/"]) th:first-child,
.table-wrap:has(table.confluenceTable a[href*="/__attachments/"]) td:first-child {
  width: auto;
}

.table-wrap:has(table.confluenceTable a[href*="/__attachments/"]) th:last-child,
.table-wrap:has(table.confluenceTable a[href*="/__attachments/"]) td:last-child {
  width: 6rem;
  white-space: nowrap;
  text-align: right;
}

/*AI disclaimer*/

.mq-ai-translation-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 16px;
  padding: 10px 16px;
  border-radius: var(--K15t-radius-small, 6px);
  background: #e6f4ea;
  border: 1px solid #a8dab5;
  color: #1e4620;
  font-size: 14px;
  line-height: 1.4;
}

.mq-ai-translation-notice a {
  font-weight: 600;
  color: #0645ad;
  text-decoration: none;
}

.mq-ai-translation-notice a:hover,
.mq-ai-translation-notice a:focus {
  text-decoration: underline;
}

.mq-ai-translation-notice-dismiss {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: var(--K15t-radius-small, 4px);
  border: 1px solid #a8dab5;
  background: #fff;
  color: #1e4620;
  cursor: pointer;
  font-size: 13px;
}

.mq-ai-translation-notice-dismiss:hover {
  background: #d4ecda;
}