/* SoltanShop 3.20.18 – article TOC intelligence and mobile article flow. */
.single-blog .content h2[id],
.single-blog .content h3[id],
.single-blog .content h4[id],
.single-blog .content h5[id],
.single-blog .content h6[id]{scroll-margin-top:96px}

@media(max-width:767px){
  body.single-post .soltanshop-article-toolbar{
    margin-top:50px!important;
    gap:12px!important;
    align-items:flex-start!important;
  }
  body.single-post .soltanshop-article-toolbar .breadcrumb{
    min-width:0!important;
  }
  body.single-post .soltanshop-article-toolbar .single-blog__fav-share{
    flex:0 0 auto!important;
    padding-top:2px!important;
  }

  /* Mobile sequence: title → image → metadata → article body. */
  body.single-post .soltanshop-article-hero{
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
  }
  body.single-post .soltanshop-article-hero__text,
  body.single-post .soltanshop-article-hero__text .single-blog__excerpt,
  body.single-post .soltanshop-article-hero__media{
    display:contents!important;
  }
  body.single-post .soltanshop-article-hero__text .single-blog__excerpt>h1{
    order:1!important;
    width:100%!important;
    margin:0 0 16px!important;
  }
  body.single-post .soltanshop-article-hero__media>.single-blog__thumbnail{
    order:2!important;
    width:100%!important;
    margin:0!important;
  }
  body.single-post .soltanshop-article-hero__media>.single-blog__thumbnail img{
    display:block!important;
    width:100%!important;
    height:auto!important;
  }
  /* Hide only the single article summary on mobile. Widget/card excerpts stay untouched. */
  body.single-post .soltanshop-article-hero__text .single-blog__excerpt>:not(h1){
    display:none!important;
  }
  body.single-post .soltanshop-article-hero__media>.soltanshop-article-meta{
    order:3!important;
    width:100%!important;
    margin-top:14px!important;
  }
  .single-blog .content h2[id],
  .single-blog .content h3[id],
  .single-blog .content h4[id],
  .single-blog .content h5[id],
  .single-blog .content h6[id]{scroll-margin-top:82px}
}
