/* Expand Drupal content but preserve margins */
article.node .node__content {
  width: 100% !important;
  max-width: none !important;
  padding: 0 30px;
  box-sizing: border-box;
}

/* Let the body field use the available width */
article.node .field--name-body {
  width: 100% !important;
  max-width: none !important;
}

/* Center the dashboard and reduce its size */
.powerbi-dashboard {
  width: 100%;
  max-width: 933px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Responsive Power BI iframe */
.powerbi-dashboard iframe {
  display: block;
  width: 100%;
  aspect-ratio: 1024 / 612;
  height: auto;
  border: 0;
}

/* Smaller margins on mobile */
@media (max-width: 600px) {
  article.node .node__content {
    padding: 0 12px;
  }
}


/* Center introductory text above Power BI dashboard */
article.node .field--name-body > p {
  max-width: 933px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  line-height: 1.6;
  box-sizing: border-box;
}

