/* Croco replaces Astra's header.php, including its .ast-container opener.
 * Restore the native content width for ordinary WP page/post/archive bodies,
 * including Cart and registration. Tutor's full-width templates keep their layout.
 */
body.aim-site-chrome > #primary {
  float: none;
  width: calc(100% - 40px);
  max-width: var(--ast-normal-container-width, 1200px);
  margin-left: auto;
  margin-right: auto;
}
@media (max-width:921px) {
  body.aim-site-chrome > #primary { margin-top: 40px; margin-bottom: 40px; }
}
/* Keep course-topic descriptions inside their heading on narrow screens. */
@media (max-width:767px) {
  body.aim-tutor-chrome.single-courses .tutor-accordion-item-header > .tooltip-wrap { position: static; }
  body.aim-tutor-chrome.single-courses .tutor-accordion-item-header .tooltip-txt.tooltip-right {
    left: 0; right: auto; top: 100%; max-width: 100%; transform: none; margin-top: 8px;
  }
  body.aim-tutor-chrome.single-courses .tutor-accordion-item-header .tooltip-txt.tooltip-right::after { display: none; }
}
