/* Scoped fixes loaded after the original theme. */
body.fx-layout.fx-daylight .sm6afe-about-card {
  background: #fce1ef;
  color: #402237 !important;
  border-color: #edbdd6;
}
body.fx-layout.fx-daylight .sm6afe-about-card :is(h3,h4,p,dt,dd,.sm6afe-milestones > div) {
  color: #402237 !important;
}
body.fx-layout.fx-daylight .sm6afe-about-card :is(.sm6afe-about-slogan em,.sm6afe-milestones strong) {
  color: #86204f !important;
}
body.fx-layout.fx-daylight .sm6afe-about-card .sm6afe-milestones {
  border-color: #d49ab9;
}
body.fx-layout.fx-daylight .sm6afe-about-card .sm6afe-cert {
  color: #54283f;
  background: #fff5fa;
  white-space: normal;
}
body.fx-layout .template-illustration {
  grid-column: 1 / -1;
  width: min(100%, 29rem);
  min-width: 0;
  margin: 1.5rem auto .5rem;
}
body.fx-layout .template-illustration img,
body.fx-layout .sm6afe-pg img,
body.fx-layout main img[src*="auto-brand/image-"] {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 12px;
}
body.fx-layout main,
body.fx-layout main :is(article,section,p,li,h1,h2,h3,dd,td,th),
body.fx-layout footer {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.fx-layout :target { scroll-margin-top: 5rem; }
@media (max-width: 899px) {
  body.fx-layout #nav.open {
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
  }
  body.fx-layout.fx-daylight .sm6afe-about-card .sm6afe-ameta {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: .6rem;
  }
}
@media (max-width: 480px) {
  body.fx-layout.fx-daylight .fx-table td {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  body.fx-layout .sm6afe-hw { padding-inline: 10px; gap: 6px; }
  body.fx-layout .sm6afe-hw-auth { gap: 4px; }
  body.fx-layout .sm6afe-hw-auth a {
    padding-inline: 7px;
    white-space: normal;
    text-align: center;
  }
}
