/* STRATIGMA BLOG FULLSTORY · package 1031
   Canonical local owner for standard blog publication reading UX.
   Scope: section.post.postb[data-stratigma-article="blog"] only.
   Visual basis: strategic architecture — white field, strict editorial rhythm,
   one strong lead image, readable typography, restrained purple/pink accents. */

section.post.postb[data-stratigma-article="blog"]{
  font-family:"Manrope",Arial,sans-serif;
}

section.post.postb[data-stratigma-article="blog"] .blog-reading-column{
  width:100%;
  max-width:820px;
  margin:0 auto;
  min-width:0;
  box-sizing:border-box;
}
section.post.postb.has-stratigma-series[data-stratigma-article="blog"] .blog-reading-column{
  max-width:none;
  margin:0;
}

section.post.postb[data-stratigma-article="blog"] .blog-reading-column > h1{
  margin:0 0 18px;
  padding:0 0 18px;
  color:#3923B5;
  font-size:36px;
  line-height:1.18;
  font-weight:600;
  letter-spacing:-.015em;
  text-transform:uppercase;
}
section.post.postb[data-stratigma-article="blog"] .blog-reading-column > h1:before{
  width:46%;
  max-width:360px;
  height:3px;
  background:#6245DC;
}

section.post.postb[data-stratigma-article="blog"] .blog-reading-column > .date{
  height:auto;
  min-height:0;
  margin:0 0 16px;
  padding:9px 0 9px 30px;
  color:#6B6670;
  border-top:1px solid #E8E3FF;
  border-bottom:1px solid #E8E3FF;
  background-position:0 center;
  background-size:18px auto;
  font-size:13px;
  line-height:1.35;
  font-style:normal;
  box-sizing:border-box;
}

section.post.postb[data-stratigma-article="blog"] .blog-reading-column > .content-tags{
  margin:0 0 18px;
}

/* Canonical lead image: one predictable editorial frame regardless of source dimensions. */
section.post.postb[data-stratigma-article="blog"] .blog-lead-media{
  display:block;
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  margin:0 0 30px;
  padding:0;
  overflow:hidden;
  background:#F7F7F7;
  border:0;
  box-sizing:border-box;
}
section.post.postb[data-stratigma-article="blog"] .blog-lead-media[hidden]{
  display:none;
}
section.post.postb[data-stratigma-article="blog"] .blog-lead-media > a{
  display:block;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
}
section.post.postb[data-stratigma-article="blog"] .blog-lead-media img{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:cover !important;
  object-position:center center;
  border:0 !important;
  border-radius:0 !important;
}

/* Text is deliberately larger than the legacy blog scale. */
section.post.postb[data-stratigma-article="blog"] .blog-article-body{
  color:#292929 !important;
  font-size:18px !important;
  line-height:1.72 !important;
}
section.post.postb[data-stratigma-article="blog"] .blog-article-body p{
  margin:0 0 21px !important;
  color:#292929 !important;
  font-size:18px !important;
  line-height:1.72 !important;
}
section.post.postb[data-stratigma-article="blog"] .blog-article-body h2{
  margin:36px 0 16px !important;
  color:#3923B5 !important;
  font-size:25px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
  text-align:left !important;
}
section.post.postb[data-stratigma-article="blog"] .blog-article-body h3{
  margin:30px 0 13px !important;
  color:#292929 !important;
  font-size:21px !important;
  line-height:1.38 !important;
  text-align:left !important;
}

/* KOD STRATEGA uses the same editorial rule for semantic inner headings.
   Keep this scoped: do not alter global section h2/h3 or the page H1. */
section.post.postb[data-stratigma-article="code-stratega"] .blog-article-body h2,
section.post.postb[data-stratigma-article="code-stratega"] .blog-article-body h3{
  text-align:left !important;
}

section.post.postb[data-stratigma-article="blog"] .blog-article-body > ul > li,
section.post.postb[data-stratigma-article="blog"] .blog-article-body > ol > li{
  font-size:18px !important;
  line-height:1.65 !important;
}

/* Non-lead illustrations preserve their natural proportions. */
section.post.postb[data-stratigma-article="blog"] .blog-article-body img{
  display:block;
  width:auto;
  max-width:100% !important;
  height:auto !important;
  margin:28px auto 30px !important;
}

/* Related service: approved pre-migration editorial insert.
   Desktop preserves editor choice left / right / full.
   The visual skin and desktop float geometry remain owned by the accepted
   global component in style.css; this local owner only integrates it into
   the new fullstory reading layout. */
section.post.postb[data-stratigma-article="blog"] .blog-article-body-standard{
  display:flow-root;
}
section.post.postb[data-stratigma-article="blog"] .blog-service-inline-label{
  color:#C61959 !important;
}

section.post.postb[data-stratigma-article="blog"] .post-share-row{
  margin:30px 0 8px !important;
  padding:16px 0 0 !important;
  border-top:1px solid #E8E3FF;
}
section.post.postb[data-stratigma-article="blog"] .blog-publication-context{
  margin-top:20px;
}

/* =========================================================
   TABLET 731–1190
   ========================================================= */
@media only screen and (min-width:731px) and (max-width:1190px){
  body section.post.postb[data-stratigma-article="blog"] .blog-service-inline,
  body section.post.postb[data-stratigma-article="blog"] .blog-service-inline.is-enhanced.is-left,
  body section.post.postb[data-stratigma-article="blog"] .blog-service-inline.is-enhanced.is-right,
  body section.post.postb[data-stratigma-article="blog"] .blog-service-inline.is-enhanced.is-full{
    float:none !important;
    clear:both !important;
    width:100% !important;
    max-width:none !important;
    margin:24px 0 !important;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-reading-column{
    max-width:760px;
  }
  section.post.postb.has-stratigma-series[data-stratigma-article="blog"] .blog-reading-column{
    max-width:none;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-reading-column > h1{
    font-size:31px;
    line-height:1.2;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-article-body,
  section.post.postb[data-stratigma-article="blog"] .blog-article-body p,
  section.post.postb[data-stratigma-article="blog"] .blog-article-body > ul > li,
  section.post.postb[data-stratigma-article="blog"] .blog-article-body > ol > li{
    font-size:17px !important;
    line-height:1.68 !important;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-lead-media{
    margin-bottom:26px;
  }
}

/* =========================================================
   SMARTPHONE <=730
   ========================================================= */
@media only screen and (max-width:730px), only screen and (max-device-width:730px){
  section.post.postb[data-stratigma-article="blog"] .blog-reading-column{
    max-width:none;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-reading-column > h1{
    margin-bottom:14px;
    padding-bottom:15px;
    font-size:26px;
    line-height:1.2;
    letter-spacing:-.01em;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-reading-column > h1:before{
    width:42%;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-reading-column > .date{
    margin-bottom:14px;
    padding:8px 0 8px 26px;
    font-size:12px;
    background-size:16px auto;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-lead-media{
    aspect-ratio:4 / 3;
    margin-bottom:22px;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-article-body,
  section.post.postb[data-stratigma-article="blog"] .blog-article-body p,
  section.post.postb[data-stratigma-article="blog"] .blog-article-body > ul > li,
  section.post.postb[data-stratigma-article="blog"] .blog-article-body > ol > li{
    font-size:16px !important;
    line-height:1.62 !important;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-article-body p{
    margin-bottom:17px !important;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-article-body h2{
    margin-top:30px !important;
    font-size:21px !important;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-article-body h3{
    margin-top:25px !important;
    font-size:18px !important;
  }
  section.post.postb[data-stratigma-article="blog"] .blog-service-inline,
  section.post.postb[data-stratigma-article="blog"] .blog-service-inline.is-enhanced.is-left,
  section.post.postb[data-stratigma-article="blog"] .blog-service-inline.is-enhanced.is-right{
    margin:24px 0 !important;
    padding:17px 16px 18px !important;
  }
}
