/* GoodMessage Studio 1.3 — open article layout.
   Only single-post articles: the surrounding paper is REMOVED in template markup.
   This is a lightweight last-layer design; no scripts, assets or DB changes. */
body.rw-authority.single-post .rw-article-stage {
  background:#fcfaf6;
  padding:clamp(38px,4.8vw,70px) 0 clamp(74px,7vw,110px);
}
body.rw-authority.single-post .rw-article-shell {
  display:grid;
  grid-template-columns:minmax(0,750px) minmax(175px,208px);
  justify-content:center;
  align-items:start;
  gap:clamp(32px,4.3vw,74px);
}
/* The post's text has no paper background, padding, border, shadow or radius.
   The message cards below remain the only intentional card surfaces. */
body.rw-authority.single-post .gm-article-flow {
  min-width:0;
  width:100%;
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
body.rw-authority.single-post .gm-article-flow .rw-prose {
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  color:#4c414e;
  font-size:16px;
  line-height:1.85;
  overflow-wrap:anywhere;
}
body.rw-authority.single-post .gm-article-flow .rw-prose > p {
  max-width:72ch;
  margin:0 0 1.55em;
}
body.rw-authority.single-post .gm-article-flow .rw-prose > p:first-of-type {
  font-size:clamp(17px,1.5vw,19px);
  line-height:1.8;
  color:#504352;
  letter-spacing:-.012em;
  max-width:69ch;
  margin-bottom:1.55em;
}
body.rw-authority.single-post .gm-article-flow .rw-prose :is(h2,h3,h4) {
  color:#3b2d3d;
  overflow-wrap:anywhere;
}
body.rw-authority.single-post .gm-article-flow .rw-prose h2 {
  clear:both;
  margin:2.05em 0 .72em;
  padding:25px 0 0;
  font:normal clamp(29px,3.25vw,39px)/1.17 Georgia,'Times New Roman',serif;
  letter-spacing:-.052em;
  border-top:1px solid #e9dedb;
  scroll-margin-top:45px;
}
body.rw-authority.single-post .gm-article-flow .rw-prose h3 {
  margin:1.6em 0 .55em;
  font:normal clamp(23px,2.4vw,28px)/1.25 Georgia,'Times New Roman',serif;
  letter-spacing:-.035em;
  scroll-margin-top:45px;
}
body.rw-authority.single-post .gm-article-flow .rw-prose h4 {
  font-size:13px;
  letter-spacing:.035em;
}
body.rw-authority.single-post .gm-article-flow .rw-prose a:not(.rw-poster-download):not(.rw-poster-copy) {
  color:#8a506e;
  text-decoration-color:#cca6b7;
  text-underline-offset:3px;
}
body.rw-authority.single-post .gm-article-flow .rw-prose :is(ul,ol):not(.rw-poster-list) {
  background:transparent;
  border:0;
  padding:0 0 0 1.5em;
  margin:18px 0 30px;
}
body.rw-authority.single-post .gm-article-flow .rw-prose :is(ul,ol):not(.rw-poster-list) > li {
  padding:5px 0;
}
body.rw-authority.single-post .gm-article-flow .rw-prose hr {
  height:1px;border:0;background:#e8dcd8;margin:35px 0;
}
/* Respect existing HTML quote cards, including readable SEO text and commentary.
   Open, even gutters let those cards stand on their own. */
body.rw-authority.single-post .gm-article-flow .rw-prose :is(ul,ol).rw-poster-list {
  gap:clamp(14px,1.7vw,22px);
  margin:28px 0 48px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
body.rw-authority.single-post .gm-article-flow .rw-prose .rw-message-poster {
  box-shadow:0 5px 22px rgba(65,40,57,.055)!important;
  border-color:#e6d9d7!important;
}
body.rw-authority.single-post .gm-article-flow .rw-prose .rw-message-poster:hover {
  box-shadow:0 8px 26px rgba(65,40,57,.085)!important;
}
/* Unboxed, quiet side navigation, not another card inside a card. */
body.rw-authority.single-post .rw-article-rail {
  position:sticky;
  top:32px;
  min-width:0;
}
body.rw-authority.single-post .rw-on-this-page,
body.rw-authority.single-post .rw-rail-topic {
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  padding:18px 0 0;
  margin:0;
}
body.rw-authority.single-post .rw-on-this-page {
  border-top:2px solid #c59dac;
}
body.rw-authority.single-post .rw-on-this-page .rw-label,
body.rw-authority.single-post .rw-rail-topic > span {
  color:#8a586f;
  font-size:10px;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-weight:800;
}
body.rw-authority.single-post .rw-on-this-page .rw-toc {
  gap:4px;
  margin-top:15px;
}
body.rw-authority.single-post .rw-on-this-page .rw-toc a {
  display:block;
  font-size:12px;
  line-height:1.6;
  border-left:2px solid transparent;
  padding:7px 6px 7px 12px;
  color:#786875;
}
body.rw-authority.single-post .rw-on-this-page .rw-toc a:hover,
body.rw-authority.single-post .rw-on-this-page .rw-toc a.is-active {
  color:#814e69;
  border-left-color:#ba839b;
}
body.rw-authority.single-post .rw-rail-topic {
  margin-top:24px;
  border-top:1px solid #e9dedb;
}
body.rw-authority.single-post .rw-rail-topic a {color:#84516c;}
/* Allow article typography to breathe without losing the editorial hero. */
body.rw-authority.single-post .rw-article-hero {
  background:#f3eee9;
  border-bottom:1px solid #e8dcd6;
}
body.rw-authority.single-post .rw-article-hero-inner {
  padding-bottom:clamp(36px,4.6vw,61px);
}
body.rw-authority.single-post .rw-article-heading h1 {
  font-size:clamp(41px,5.2vw,76px);
  line-height:1.09;
  max-width:990px;
  color:#362a3c;
  text-wrap:balance;
}
body.rw-authority.single-post .rw-article-after {
  padding-bottom:clamp(55px,6vw,86px);
}
/* The inherited 2-column card layout becomes a single generous column on smaller screens. */
@media(max-width:1050px) {
  body.rw-authority.single-post .rw-article-shell {
    grid-template-columns:minmax(0,710px) minmax(155px,180px);
    gap:clamp(22px,3vw,34px);
  }
}
@media(max-width:820px) {
  body.rw-authority.single-post .rw-article-shell {
    display:block;
    max-width:740px;
  }
  body.rw-authority.single-post .rw-article-rail {display:none;}
  body.rw-authority.single-post .rw-mobile-toc {
    display:block;
    margin:0 0 31px;
    padding:0;
    background:transparent;
    border:0;
    border-bottom:1px solid #e8dcd9;
    border-radius:0;
    box-shadow:none;
  }
  body.rw-authority.single-post .rw-mobile-toc summary {
    padding:14px 0;
    color:#67435a;
    font-size:13px;
    font-weight:750;
    cursor:pointer;
  }
  body.rw-authority.single-post .rw-mobile-toc .rw-toc {padding:0 0 16px;}
}
@media(max-width:610px) {
  body.rw-authority.single-post .rw-article-stage {padding:27px 0 64px;}
  body.rw-authority.single-post .rw-article-hero-inner {padding-bottom:33px;}
  body.rw-authority.single-post .rw-article-heading h1 {
    font-size:clamp(34px,9vw,50px);
    line-height:1.12;
  }
  body.rw-authority.single-post .gm-article-flow .rw-prose {font-size:15.5px;line-height:1.8;}
  body.rw-authority.single-post .gm-article-flow .rw-prose > p:first-of-type {font-size:17px;}
  body.rw-authority.single-post .gm-article-flow .rw-prose h2 {
    font-size:clamp(27px,7.1vw,34px);
    margin-top:1.75em;
    padding-top:20px;
  }
  body.rw-authority.single-post .gm-article-flow .rw-prose :is(ul,ol).rw-poster-list {
    gap:17px;
    margin:24px 0 37px!important;
  }
  body.rw-authority.single-post .gm-article-flow .rw-prose .rw-message-poster {
    border-radius:10px!important;
  }
}
@media print {
  body.rw-authority.single-post .rw-article-stage {background:#fff;}
  body.rw-authority.single-post .rw-article-rail {display:none;}
  body.rw-authority.single-post .rw-article-shell {display:block;}
  body.rw-authority.single-post .gm-article-flow {width:100%;}
}
