
.m2toc-box{margin:22px 0;padding:0;border:1px solid #dfe4e9;border-radius:7px;background:#fff;box-shadow:0 1px 4px rgba(20,29,39,.05);overflow:hidden}
.m2toc-head{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid #edf0f2;border-left:4px solid #cf0614}
.m2toc-head strong{font-size:17px;color:#171b22}
.m2toc-toggle{border:0;background:transparent;color:#cf0614;font-weight:800;cursor:pointer}
.m2toc-body{padding:12px 16px 15px}
.m2toc-list{margin:0;padding-left:22px}.m2toc-list li{margin:5px 0}.m2toc-list a{color:#252d36!important;text-decoration:none!important}.m2toc-list a:hover{color:#cf0614!important}.m2toc-list .m2toc-sub{margin-left:16px;font-size:.95em}
.m2toc-box.is-collapsed .m2toc-body{display:none}


/* v1.1 Elementor compatibility */
.elementor .m2toc-box,
.elementor-page .m2toc-box,
.m2inp-engine-elementor .m2toc-box{
  width:min(100%,1180px);
  margin:18px auto 24px;
  box-sizing:border-box;
}

.elementor .m2toc-box *,
.elementor-page .m2toc-box *,
.m2inp-engine-elementor .m2toc-box *{
  box-sizing:border-box;
}

.elementor .m2toc-list,
.elementor-page .m2toc-list,
.m2inp-engine-elementor .m2toc-list{
  margin-top:0;
  margin-bottom:0;
}

.elementor .m2toc-list a,
.elementor-page .m2toc-list a,
.m2inp-engine-elementor .m2toc-list a{
  line-height:1.5;
}

/* Anchored headings should not hide underneath sticky WP/admin/header bars. */
.m2toc-anchor-target,
.elementor h2[id],
.elementor h3[id],
.elementor h4[id],
.entry-content h2[id],
.entry-content h3[id],
.entry-content h4[id]{
  scroll-margin-top:110px;
}


/* v1.2 fallback-generated section headings */
.m2toc-generated-heading{
  margin-top:28px;
}

.m2toc-box + h2,
.m2toc-box + .elementor h2{
  scroll-margin-top:110px;
}
