/* AIMu learner quiz availability notices. Keep these rules scoped to AIMu so
   they do not change other LearnDash warnings or course components. */
.learndash-wrapper .ld-alert.aimuqa-access-notice {
  display: block !important; /* LearnDash uses flex for standard alerts. */
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: auto;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  padding: clamp(14px, 3vw, 24px);
  text-align: left;
}

.learndash-wrapper .ld-alert.aimuqa-access-notice > p {
  display: block !important;
  flex: none !important;
  float: none !important;
  clear: both;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  text-align: left;
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.65;
  letter-spacing: normal;
  white-space: normal;
  overflow-wrap: anywhere;
}

.learndash-wrapper .ld-alert.aimuqa-access-notice > p:last-child {
  margin-bottom: 0 !important;
}

.learndash-wrapper .ld-alert.aimuqa-access-notice time {
  display: inline;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .learndash-wrapper .ld-alert.aimuqa-access-notice {
    padding: 14px 12px;
    margin-inline: 0;
  }
  .learndash-wrapper .ld-alert.aimuqa-access-notice > p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px !important;
  }
}
