/* Compatibility partials are shared by overview pages and individual manuals. */
@media screen and (max-width: 768.5px) {
  .doc table.tableblock.compatibility-devices,
  .doc table.tableblock.compatibility-devices > tbody,
  .doc table.tableblock.compatibility-devices > tbody > tr,
  .doc table.tableblock.compatibility-devices > tbody > tr > td.tableblock {
    display: block;
  }

  .doc table.tableblock.compatibility-devices {
    width: 100%;
    border: 0;
  }

  .doc table.tableblock.compatibility-devices > colgroup {
    display: none;
  }

  .doc table.tableblock.compatibility-devices > thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .doc table.tableblock.compatibility-devices > tbody > tr {
    position: relative;
    border-top: 1px solid #edf0f4;
  }

  .doc table.tableblock.compatibility-devices > tbody > tr > td.tableblock {
    padding: 0.35rem 0.75rem 0.65rem;
    border: 0;
    overflow-wrap: anywhere;
  }

  .doc table.tableblock.compatibility-devices > tbody > tr > td.tableblock:first-child {
    padding-top: 0.9rem;
  }

  .doc table.tableblock.compatibility-devices > tbody > tr > td.tableblock:last-child {
    padding-bottom: 1rem;
  }

  .doc table.tableblock.compatibility-devices > tbody > tr > td.tableblock:first-child > .content > .paragraph:last-child {
    margin-bottom: 0;
  }

  .doc table.tableblock.compatibility-devices > tbody > tr > td.tableblock:nth-child(2)::before,
  .doc table.tableblock.compatibility-devices > tbody > tr > td.tableblock:nth-child(3)::before {
    display: block;
    margin-bottom: 0.3rem;
    color: #6b7686;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  :lang(de) .doc table.tableblock.compatibility-devices > tbody > tr > td.tableblock:nth-child(2)::before {
    content: "Kompatible Modelle";
  }

  :lang(de) .doc table.tableblock.compatibility-devices > tbody > tr > td.tableblock:nth-child(3)::before {
    content: "Anleitungen";
  }

  :lang(en) .doc table.tableblock.compatibility-devices > tbody > tr > td.tableblock:nth-child(2)::before {
    content: "Compatible Models";
  }

  :lang(en) .doc table.tableblock.compatibility-devices > tbody > tr > td.tableblock:nth-child(3)::before {
    content: "Instructions";
  }

  /* The meter overview already has its own responsive, searchable cards. */
  body:not(.meters-page) .doc table.tableblock.compatibility-meters,
  body:not(.meters-page) .doc table.tableblock.compatibility-meters > tbody,
  body:not(.meters-page) .doc table.tableblock.compatibility-meters > tbody > tr,
  body:not(.meters-page) .doc table.tableblock.compatibility-meters > tbody > tr > td.tableblock {
    display: block;
  }

  body:not(.meters-page) .doc table.tableblock.compatibility-meters {
    width: 100%;
  }

  body:not(.meters-page) .doc table.tableblock.compatibility-meters > colgroup {
    display: none;
  }

  body:not(.meters-page) .doc table.tableblock.compatibility-meters > caption {
    display: block;
    text-align: left;
  }

  body:not(.meters-page) .doc table.tableblock.compatibility-meters > tbody > tr > td.tableblock {
    box-sizing: border-box;
    margin-bottom: 0.75rem;
    padding: 1rem;
    border: 1px solid #d9dee6;
    border-radius: 0.75rem;
    overflow-wrap: anywhere;
  }
}
