/* Studio Catarraso v5.10.11 — Editorial layout for single blog articles ONLY.
 * Loaded after the page and theme styles so normal pages retain the original design.
 * A PHP content wrapper keeps existing articles and legacy templates consistent.
 */
body.single-post .sc-article-shell {
  box-sizing:border-box;
  width:calc(100% - 64px);
  max-width:860px;
  margin:0 auto;
  padding:54px 0 94px;
  font-family:'Open Sans',Arial,sans-serif;
  color:#2a3f55;
  font-size:16px;
  font-weight:400;
  line-height:1.85;
  letter-spacing:normal;
  overflow-wrap:break-word;
}
body.single-post .sc-article-shell :where(*) {box-sizing:border-box;}
/* Some existing WP posts use an H1 inside post-content rather than a Post Title block. */
body.single-post .sc-article-shell h1,
body.single-post .wp-block-post-title {
  font-family:'Open Sans',Arial,sans-serif!important;
  font-size:clamp(29px,3vw,42px)!important;
  font-weight:600!important;
  line-height:1.26!important;
  letter-spacing:-.028em!important;
  color:#263b50!important;
  overflow-wrap:break-word;
  hyphens:auto;
}
body.single-post .sc-article-shell h1 {margin:6px 0 28px!important;}
body.single-post .sc-article-shell :where(h2,h3,h4,h5,h6) {
  font-family:'Open Sans',Arial,sans-serif!important;
  color:#2d465c!important;
  letter-spacing:-.015em!important;
  font-weight:700!important;
  overflow-wrap:break-word;
}
body.single-post .sc-article-shell h2 {
  font-size:clamp(23px,2.2vw,29px)!important;
  line-height:1.34!important;
  margin:48px 0 16px!important;
}
body.single-post .sc-article-shell h3 {
  font-size:clamp(19px,1.8vw,23px)!important;
  line-height:1.38!important;
  margin:36px 0 13px!important;
}
body.single-post .sc-article-shell h4,
body.single-post .sc-article-shell h5,
body.single-post .sc-article-shell h6 {
  font-size:18px!important;
  line-height:1.45!important;
  margin:28px 0 12px!important;
}
body.single-post .sc-article-shell :where(h1,h2,h3,h4,h5,h6) + p {margin-top:0!important;}
body.single-post .sc-article-shell p,
body.single-post .sc-article-shell .wp-block-paragraph {
  font-family:inherit!important;
  font-size:inherit!important;
  line-height:1.85!important;
  color:inherit;
  margin:0 0 22px!important;
  letter-spacing:normal;
}
body.single-post .sc-article-shell :where(p,li) strong,
body.single-post .sc-article-shell :where(p,li) b {font-weight:700;color:#2a3e54;}
body.single-post .sc-article-shell :where(ul,ol) {
  margin:8px 0 26px!important;
  padding-left:1.5em!important;
  line-height:1.75!important;
}
body.single-post .sc-article-shell li {margin:0 0 9px!important;padding-left:3px;}
body.single-post .sc-article-shell li :where(p,ul,ol) {margin-bottom:10px!important;}
body.single-post .sc-article-shell :where(blockquote,.wp-block-quote) {
  margin:32px 0!important;
  padding:10px 0 10px 24px!important;
  border-left:3px solid #85b4d9!important;
  color:#46647b;
  background:transparent;
}
body.single-post .sc-article-shell blockquote p:last-child {margin-bottom:0!important;}
body.single-post .sc-article-shell :where(img,video,iframe) {max-width:100%;height:auto;}
body.single-post .sc-article-shell :where(figure,.wp-block-image,.wp-block-gallery,.wp-block-cover) {
  max-width:100%;
  margin:30px auto!important;
}
body.single-post .sc-article-shell figure img {display:block;max-width:100%;height:auto;}
body.single-post .sc-article-shell figcaption {color:#647d92;font-size:13px;line-height:1.6;margin:11px 0 0!important;}
body.single-post .sc-article-shell :where(table,.wp-block-table table) {
  display:block;
  max-width:100%;
  overflow-x:auto;
  border-collapse:collapse;
  margin:24px 0 32px!important;
  font-size:14px;
  line-height:1.55;
}
body.single-post .sc-article-shell table :where(th,td) {border:1px solid #dbe6f0;padding:12px 14px;}
body.single-post .sc-article-shell table th {background:#f2f7fb;font-weight:700;}
body.single-post .sc-article-shell pre {max-width:100%;overflow-x:auto;padding:17px;background:#f2f6fa;line-height:1.55;}
body.single-post .sc-article-shell a {color:#3479b1;text-decoration:underline;text-underline-offset:3px;}
body.single-post .sc-article-shell a:hover {color:#1d5583;}
body.single-post .sc-article-shell :where(hr,.wp-block-separator) {margin:38px 0!important;border-color:#d8e5ef;}
body.single-post .sc-article-shell :where(time,.wp-block-post-date) {
  display:block;
  color:#6b879e;
  font-size:13px!important;
  line-height:1.6;
  font-weight:500;
  margin:0 0 14px!important;
}
body.single-post .sc-article-shell > :last-child {margin-bottom:0!important;}
/* If the single template has a Post Title block outside the content wrapper. */
body.single-post .wp-site-blocks > .wp-block-post-title {
  box-sizing:border-box;
  width:calc(100% - 64px);
  max-width:860px;
  margin:40px auto 20px!important;
}
@media(max-width:760px) {
  body.single-post .sc-article-shell {
    width:calc(100% - 40px);
    max-width:100%;
    padding:31px 0 63px;
    font-size:15.5px;
    line-height:1.78;
  }
  body.single-post .sc-article-shell h1 {
    font-size:clamp(27px,7.4vw,34px)!important;
    line-height:1.25!important;
    margin:5px 0 21px!important;
  }
  body.single-post .sc-article-shell h2 {font-size:clamp(22px,5.7vw,25px)!important;margin:35px 0 13px!important;}
  body.single-post .sc-article-shell h3 {font-size:19px!important;margin:27px 0 11px!important;}
  body.single-post .sc-article-shell h4 {font-size:17px!important;margin:22px 0 10px!important;}
  body.single-post .sc-article-shell p,
  body.single-post .sc-article-shell .wp-block-paragraph {line-height:1.78!important;margin-bottom:19px!important;}
  body.single-post .sc-article-shell :where(ul,ol) {margin:6px 0 23px!important;padding-left:1.35em!important;}
  body.single-post .sc-article-shell li {margin-bottom:8px!important;}
  body.single-post .sc-article-shell :where(figure,.wp-block-image,.wp-block-gallery) {margin:22px auto!important;}
  body.single-post .wp-site-blocks > .wp-block-post-title {width:calc(100% - 40px);margin-top:28px!important;}
}
@media(max-width:380px) {
  body.single-post .sc-article-shell {width:calc(100% - 32px);font-size:15px;}
  body.single-post .sc-article-shell h1 {font-size:27px!important;}
}


/* v5.10.10 — Single-post alignment repair.
   A stored Gutenberg single-post template or a content filter may already have
   established an article column. If the content is wrapped twice, the previous
   width:calc(100% - 64px) produced a second, unwanted horizontal inset under
   the date/title. Nested wrappers must use the full width of the article column.
*/
body.single-post .sc-article-shell .sc-article-shell {
  box-sizing:border-box;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
/* Gutenberg's neutral groups must not apply an extra gutter within the article.
   Preserve deliberately styled callouts and full-width media blocks. */
body.single-post .sc-article-shell > :is(.wp-block-post-content,.wp-block-group:not(.has-background):not(.has-border-color),.is-layout-constrained:not(.has-background):not(.has-border-color)) {
  box-sizing:border-box;
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
  padding-inline:0!important;
}
/* Align direct editorial text blocks to the same left edge as the article title. */
body.single-post .sc-article-shell > :is(p,h1,h2,h3,h4,h5,h6,ul,ol,blockquote),
body.single-post .sc-article-shell > :is(.wp-block-group,.wp-block-post-content) > :is(p,h1,h2,h3,h4,h5,h6,ul,ol) {
  margin-left:0!important;
  margin-right:0!important;
}
/* Date/title/body should never get accidental alignment changes from global
   group styles. The content remains responsive and has its normal margins. */
body.single-post .sc-article-shell :is(.wp-block-post-title,h1) {text-align:left;}
@media(max-width:760px) {
  body.single-post .sc-article-shell .sc-article-shell {
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
}


/* v5.10.11 — one common editorial column for the date, title and body.
   In stored block templates the post-title/date are sometimes siblings of
   post-content: a second 860px max-width on the_content caused the inset.
   Apply the same width even when extra CSS from v5.10.10 is still present. */
body.single-post .wp-site-blocks :is(.sc-article-shell, .wp-block-post-title, .wp-block-post-date),
body.single-post .wp-block-template-part ~ :is(.sc-article-shell, .wp-block-post-title, .wp-block-post-date) {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:940px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
/* Neutral wrappers must not introduce a second horizontal inset. */
body.single-post .wp-site-blocks .sc-article-shell > :is(.wp-block-post-content, .wp-block-group:not(.has-background), .is-layout-constrained:not(.has-background)),
body.single-post .wp-site-blocks .sc-article-shell > .wp-block-group:not(.has-background) > :is(.wp-block-group:not(.has-background), .wp-block-post-content),
body.single-post .wp-site-blocks .sc-article-shell .sc-article-shell {
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
/* No artificial word breaks at line ends, e.g. “impre-sa”. */
body.single-post .wp-site-blocks :is(.wp-block-post-title, .sc-article-shell h1),
body.single-post :is(.wp-block-post-title, .sc-article-shell h1) {
  font-size:clamp(29px,2.55vw,38px)!important;
  line-height:1.28!important;
  font-weight:600!important;
  hyphens:none!important;
  -webkit-hyphens:none!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  text-wrap:pretty;
}
/* Keep other article headings and paragraphs readable, not indented. */
body.single-post .wp-site-blocks .sc-article-shell :where(p, h2, h3, h4, h5, h6) {text-indent:0!important;}
@media(max-width:760px) {
  body.single-post .wp-site-blocks :is(.sc-article-shell, .wp-block-post-title, .wp-block-post-date),
  body.single-post .wp-block-template-part ~ :is(.sc-article-shell, .wp-block-post-title, .wp-block-post-date) {
    max-width:calc(100% - 36px)!important;
  }
  body.single-post .wp-site-blocks :is(.wp-block-post-title, .sc-article-shell h1),
  body.single-post :is(.wp-block-post-title, .sc-article-shell h1) {
    font-size:clamp(27px,6.3vw,33px)!important;
    line-height:1.28!important;
  }
}
@media(max-width:380px) {
  body.single-post .wp-site-blocks :is(.sc-article-shell, .wp-block-post-title, .wp-block-post-date) {
    max-width:calc(100% - 28px)!important;
  }
}
