/* R18 – layout parity with the regular DLG Swiss pages.
 * The canonical .wrap/.shell width comes from css/site.*.css, not a fixed 1130px
 * cap and not the screen-wide R17 rule. Only three danbot pages are affected.
 */
.danbot-r16-page .danbot-r16-main,
.danbot-community-page main.wrap {
  width: min(var(--content-max, 1500px), calc(100% - (var(--page-gutter, clamp(18px, 4vw, 64px)) * 2)));
  max-width: none;
  margin-inline: auto;
  min-width: 0;
}
/* The same sticky header as /about; R16/R17 forced position:relative. */
.danbot-r16-page .site-header,
.danbot-community-page .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.danbot-r16-page .site-footer .wrap,
.danbot-community-page .site-footer .wrap {
  width: min(var(--content-max, 1500px), calc(100% - (var(--page-gutter, clamp(18px, 4vw, 64px)) * 2)));
  max-width: none;
  margin-inline: auto;
}
/* R12's separate CSS is retained for the community quiz and grids. Undo
 * incompatible broad site.css hero/section spacing only inside this page. */
.danbot-community-page .hero {
  min-height: 0;
  display: block;
  position: relative;
  overflow: visible;
  padding: clamp(38px, 5vw, 65px) 0 46px;
}
.danbot-community-page .section {
  padding: 0;
  margin: 48px 0;
}
.danbot-community-page #anleitung {
  scroll-margin-top: calc(var(--header-h, 88px) + 24px);
}
/* Long command descriptions stay legible without widening the outer shell. */
.danbot-r16-page .db-panel,
.danbot-community-page .panel { min-width: 0; }
.danbot-r16-page .db-panel p,
.danbot-r16-page .db-panel li { max-width: 86ch; overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .danbot-r16-page .danbot-r16-main { padding-top: 30px; }
  .danbot-community-page .section { margin: 35px 0; }
  .danbot-community-page .hero { padding: 38px 0 30px; }
}
