/* ============================================
   FULL-WIDTH CONTENT — abi.ria.ee (Scroll Sites)
   ============================================ */

/* Images: fit within container, never stretch or overflow
   EXCEPT the site header logo / favicon, which keeps its own size */
img:not(.site-logo):not(.header-logo):not([data-component="logo"]) {
  max-width: 100%;
  height: auto;
}

/* Code blocks / preformatted text: allow full width */
pre,
.code-block {
  width: 100%;
  max-width: 100%;
}

/* Tables — Scroll Sites renders these as a custom
   <table-sort> component wrapped in div[data-component="table"] */
div[data-component="table"] {
  width: 100% !important;
  max-width: 100% !important;
}

div[data-component="table"] table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
}

/* Neutralize fixed pixel widths stored on individual columns */
div[data-component="table"] table colgroup col {
  width: auto !important;
}

div[data-component="table"] table th,
div[data-component="table"] table td {
  width: auto !important;
  max-width: none !important;
}