/* 21. 5E ARTICLE DESIGN SYSTEM — PLOT HOOKS ----------------------------- */
/* Scoped only to single posts in the Plot Hooks category. */
body.single-post.category-plot-hooks{
  --article-accent:#2f567a;
  --article-rgb:47,86,122;
  --article-soft:#9bbbd7;
}

body.single-post.category-plot-hooks .entry-content > :is(h1.wp-block-heading,h2.wp-block-heading,p:not(:empty)){
  width:min(940px,100%) !important;
  max-width:940px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box !important;
}

body.single-post.category-plot-hooks .entry-content > h1.wp-block-heading{
  margin-top:26px !important;
  margin-bottom:18px !important;
  padding-bottom:24px !important;
  color:#fff !important;
  font-size:clamp(42px,4.7vw,62px) !important;
  line-height:1.04 !important;
  letter-spacing:-.035em !important;
  background:linear-gradient(var(--article-accent),var(--article-accent)) left bottom/86px 4px no-repeat !important;
}

/* Descriptor directly below the H1. Works with both plain text and <strong>. */
body.single-post.category-plot-hooks .entry-content > h1.wp-block-heading + p:not(:empty){
  margin-top:0 !important;
  margin-bottom:34px !important;
  padding:13px 17px !important;
  border-left:3px solid var(--article-accent) !important;
  background:linear-gradient(90deg,rgba(var(--article-rgb),.12),rgba(var(--article-rgb),.025) 72%,transparent) !important;
  color:var(--article-soft) !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1.45 !important;
  letter-spacing:.065em !important;
  text-transform:uppercase !important;
}
body.single-post.category-plot-hooks .entry-content > h1.wp-block-heading + p:not(:empty) strong{
  color:inherit !important;
  font:inherit !important;
  letter-spacing:inherit !important;
}

body.single-post.category-plot-hooks .entry-content > p:not(:empty){
  margin-top:0 !important;
  margin-bottom:20px !important;
  color:var(--om-body) !important;
  font-size:16.5px !important;
  line-height:1.76 !important;
}

body.single-post.category-plot-hooks .entry-content > h2.wp-block-heading{
  margin-top:46px !important;
  margin-bottom:22px !important;
  padding-bottom:17px !important;
  color:#fff !important;
  font-size:clamp(30px,3vw,39px) !important;
  line-height:1.10 !important;
  letter-spacing:-.02em !important;
  background:linear-gradient(var(--article-accent),var(--article-accent)) left bottom/72px 4px no-repeat !important;
}

/* Give the actionable section a subtle identity without changing markup. */
body.single-post.category-plot-hooks .entry-content > h2.wp-block-heading:nth-of-type(2) + p:not(:empty){
  padding:18px 20px !important;
  border:0 !important;
  border-left:3px solid var(--article-accent) !important;
  border-radius:0 !important;
  background:linear-gradient(90deg,rgba(var(--article-rgb),.12),rgba(var(--article-rgb),.025) 72%,transparent) !important;
}

body.single-post.category-plot-hooks .entry-content > :is(ul.wp-block-list,ol.wp-block-list){
  width:min(940px,100%) !important;
  max-width:940px !important;
  margin:12px auto 24px !important;
  padding:17px 22px 17px 44px !important;
  box-sizing:border-box !important;
  border:1px solid rgba(255,255,255,.075) !important;
  border-radius:12px !important;
  background:rgba(255,255,255,.025) !important;
}
body.single-post.category-plot-hooks .entry-content > :is(ul.wp-block-list,ol.wp-block-list) li{
  margin:6px 0 !important;
  line-height:1.58 !important;
}
body.single-post.category-plot-hooks .entry-content > ul.wp-block-list li::marker{
  color:var(--article-accent) !important;
}
body.single-post.category-plot-hooks .entry-content > ol.wp-block-list li::marker{
  color:var(--article-soft) !important;
  font-weight:800 !important;
}

body.single-post.category-plot-hooks .entry-content blockquote{
  border-left-color:var(--article-accent) !important;
  background:linear-gradient(90deg,rgba(var(--article-rgb),.10),rgba(var(--article-rgb),.025)) !important;
}
body.single-post.category-plot-hooks .entry-content blockquote::before{
  color:var(--article-accent) !important;
}

@media (max-width:700px){
  body.single-post.category-plot-hooks .entry-content > :is(h1.wp-block-heading,h2.wp-block-heading,p:not(:empty),ul.wp-block-list,ol.wp-block-list){
    width:100% !important;
    max-width:100% !important;
  }
  body.single-post.category-plot-hooks .entry-content > h1.wp-block-heading{
    margin-top:20px !important;
    padding-bottom:20px !important;
    font-size:clamp(38px,10.5vw,50px) !important;
  }
  body.single-post.category-plot-hooks .entry-content > h1.wp-block-heading + p:not(:empty){
    margin-bottom:28px !important;
    padding:12px 14px !important;
    font-size:12px !important;
    letter-spacing:.055em !important;
  }
  body.single-post.category-plot-hooks .entry-content > h2.wp-block-heading{
    margin-top:38px !important;
    font-size:31px !important;
  }
  body.single-post.category-plot-hooks .entry-content > h2.wp-block-heading:nth-of-type(2) + p:not(:empty){
    padding:16px 17px !important;
  }
  body.single-post.category-plot-hooks .entry-content > :is(ul.wp-block-list,ol.wp-block-list){
    padding:15px 16px 15px 36px !important;
  }
}


/* --- WPWriter addition --- */


