/* HomeCostBrief V12 targeted fixes */
@media (max-width: 999px) {
  /* keep the mobile inline table-of-contents only and remove the sidebar stack */
  .article-aside {
    display: none !important;
  }
  .on-this-page-mobile {
    display: block !important;
    margin: 1rem 0 1.35rem !important;
  }
  .on-this-page-mobile details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: .9rem 1rem;
    box-shadow: 0 10px 22px rgba(8,36,63,.05);
  }
  .on-this-page-mobile summary {
    color: var(--navy);
    font-weight: 900;
  }
}

/* make the desktop sidebar more stable */
@media (min-width: 1000px) {
  .article-aside {
    display: grid;
    gap: 1rem;
    align-content: start;
  }
  .article-aside > * {
    margin-top: 0 !important;
  }
}
