/* Consistent editorial edges in the two blog article templates.
   Tablet only. Preserve article widths, responsive cards, sticky budget and JS. */
@media (min-width:810px) and (max-width:1199.98px) {
  /* Both article headings and the mobile/tablet contents box share an edge. */
  #main main[data-bv-name="Blog Article Main"] .bv-v242-toc {
    width:100% !important;
    max-width:840px !important;
    align-self:stretch !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  /* This article mounts its TOC directly in the body rather than in the text column. */
  #main main[data-bv-name="SaaS Video Article"] .bv-v242-toc {
    box-sizing:border-box !important;
    width:min(100%,840px) !important;
    max-width:840px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  /* Keep the compact sizes from v3, but stop indenting these elements
     40-50px relative to their parent article text and H2 headings. */
  #main :is(#bv-planner,#saas-cost) [data-bv-name="SaaS Video Scope Estimator v5"],
  #main [data-bv-name="Bulat Visual starting prices"],
  #main [data-bv-name="Scope progression diagram"],
  #main [data-bv-name="AI effort versus production scope"],
  #main [data-bv-name="Hidden-scope cards"],
  #main [data-bv-name="Editable Article Table"],
  #main [data-bv-name="Quote comparison matrix outer wrapper"],
  #main .bv-format-comparison {
    margin-left:0 !important;
    margin-right:0 !important;
  }
}
