/* Oak Therapy — Single article page. Deliberately scoped so shared WP header/footer stay unchanged. */
.oak-post {
  --oak-post-cream:#fffbf6;
  --oak-post-deep:#2b171b;
  --oak-post-muted:#715c60;
  --oak-post-orange:#c44732;
  --oak-post-orange-dark:#a83625;
  --oak-post-line:#eddbd5;
  --oak-post-serif:'DM Serif Display',Georgia,'Times New Roman',serif;
  --oak-post-sans:'DM Sans','Segoe UI',Arial,sans-serif;
  color:var(--oak-post-deep);
  background:var(--oak-post-cream);
  overflow:clip;
}
.oak-post *,.oak-post *::before,.oak-post *::after {box-sizing:border-box}
.oak-post-container{width:min(1190px,calc(100% - 96px));margin-inline:auto}
.oak-post a{text-decoration:none}
.oak-post a:focus-visible{outline:3px solid var(--oak-post-orange-dark);outline-offset:4px}
.oak-post-eyebrow{font-size:.7rem;font-weight:700;color:var(--oak-post-orange);letter-spacing:.18em;line-height:1.5;text-transform:uppercase;margin:0 0 17px}
.oak-post-eyebrow a:hover{text-decoration:underline}
.oak-post-hero{position:relative;background:linear-gradient(117deg,#fffbf6 3%,#fff6ef 60%,#f9edea 100%);border-bottom:1px solid #f0e3db;padding:28px 0 68px}
.oak-post-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:11px;color:#816e70;font-size:.78rem;line-height:1.5;margin-bottom:49px}
.oak-post-breadcrumb a:hover{color:var(--oak-post-orange-dark);text-decoration:underline}
.oak-post-breadcrumb [aria-current="page"]{max-width:min(40ch,45vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4e373a}
.oak-post-crumb-separator{color:#c6aba4}
.oak-post-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.89fr);align-items:center;gap:clamp(34px,4.2vw,72px)}
.oak-post-hero-copy{position:relative;z-index:1;padding:10px 0}
.oak-post-eyebrow-dot{display:inline-block;background:#c44732;width:7px;height:7px;border-radius:50%;margin-right:9px;vertical-align:middle}
.oak-post-title{font-family:var(--oak-post-serif);font-weight:400;letter-spacing:-.043em;font-size:clamp(3rem,4.6vw,5.1rem);line-height:1.095;margin:0 0 22px;color:#281618;overflow-wrap:break-word}
.oak-post-description{font-size:clamp(.98rem,1.35vw,1.13rem);line-height:1.75;color:var(--oak-post-muted);max-width:610px;margin:0 0 29px}
.oak-post-meta{display:flex;align-items:center;flex-wrap:wrap;gap:14px;color:#765e62;font-size:.84rem;font-weight:600}
.oak-post-meta>span{display:inline-flex;gap:9px;align-items:center}
.oak-post-meta svg{width:18px;height:18px;color:var(--oak-post-orange)}
.oak-post-meta-divider{width:4px;height:4px;background:#cbaba3;border-radius:50%}
.oak-post-hero-visual{position:relative;min-height:375px;isolation:isolate}
.oak-post-hero-blob{position:absolute;inset:11% -6% 1% 10%;border-radius:47% 24% 28% 25%;background:linear-gradient(130deg,#fbe2d8,#f0e6f6);transform:rotate(-6deg);z-index:-1}
.oak-post-hero-image{width:100%;height:clamp(340px,33vw,460px);overflow:hidden;border-radius:33% 11% 24% 12%;clip-path:polygon(20% 0%,100% 0%,100% 88%,85% 100%,0 100%,0 14%)}
.oak-post-featured-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.oak-post-decor{position:absolute;z-index:1;right:-32px;top:-43px;width:145px;height:auto;transform:rotate(27deg);opacity:.74;pointer-events:none}
.oak-post-body-layout{display:grid;grid-template-columns:minmax(0,750px) minmax(260px,320px);justify-content:space-between;align-items:start;gap:clamp(36px,6vw,96px);padding-top:76px;padding-bottom:96px}
.oak-post-article{min-width:0}
.oak-post-article-kicker{color:var(--oak-post-orange);font-size:.7rem;font-weight:700;letter-spacing:.19em;margin:0 0 28px;display:flex;gap:18px;align-items:center}
.oak-post-article-kicker span{width:80px;height:1px;background:#e6c8be}
.oak-post-content{font-family:var(--oak-post-sans);color:#4e3c3e;font-size:1.075rem;line-height:1.9;overflow-wrap:break-word}
.oak-post-content> :first-child{margin-top:0}
.oak-post-content p{margin:0 0 1.55em;color:inherit}
.oak-post-content h2,.oak-post-content h3,.oak-post-content h4,.oak-post-content h5,.oak-post-content h6{font-family:var(--oak-post-serif);font-weight:400;line-height:1.2;letter-spacing:-.025em;color:var(--oak-post-deep);scroll-margin-top:95px}
.oak-post-content h2{font-size:clamp(2rem,3.1vw,2.65rem);margin:1.65em 0 .53em}
.oak-post-content h3{font-size:clamp(1.5rem,2.25vw,1.95rem);margin:1.65em 0 .48em}
.oak-post-content h4{font-size:1.25rem;margin:1.5em 0 .5em}
.oak-post-content ul,.oak-post-content ol{padding-left:1.5em;margin:0 0 1.7em}
.oak-post-content li{padding-left:.25em;margin-bottom:.55em}
.oak-post-content li::marker{color:var(--oak-post-orange)}
.oak-post-content a:not(.wp-block-button__link){color:var(--oak-post-orange-dark);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.oak-post-content a:hover{color:var(--oak-post-orange)}
.oak-post-content strong{font-weight:700;color:#3b292d}
.oak-post-content blockquote,.oak-post-content .wp-block-quote{border:0;border-left:4px solid var(--oak-post-orange);margin:2.25em 0;padding:17px 25px;background:#fff2ec;border-radius:0 15px 15px 0;color:#4c3438}
.oak-post-content blockquote p{font-family:var(--oak-post-serif);font-size:clamp(1.2rem,2vw,1.55rem);line-height:1.5;margin:0 0 12px}
.oak-post-content blockquote cite{font-family:var(--oak-post-sans);font-size:.85rem;font-style:normal;color:#856b6c}
.oak-post-content :is(img,video,iframe){max-width:100%}
.oak-post-content :is(figure,.wp-block-image){margin:2.1em 0}
.oak-post-content figure img,.oak-post-content .wp-block-image img{height:auto;border-radius:17px}
.oak-post-content figcaption{margin-top:9px;font-size:.82rem;line-height:1.55;color:#806b70;text-align:center}
.oak-post-content .wp-block-separator{border:0;border-top:1px solid #e8d5ce;margin:2em 0}
.oak-post-content .wp-block-pullquote{padding:12px 0;border-top:2px solid #e9d3cd;border-bottom:2px solid #e9d3cd}
.oak-post-content .wp-block-pullquote blockquote{background:transparent;border:0;padding:0;text-align:center}
.oak-post-content .wp-block-button__link{background:var(--oak-post-orange);color:#fff;border-radius:100px;font-size:.9rem;font-weight:700;padding:13px 23px;text-decoration:none}
.oak-post-content .wp-block-button__link:hover{background:var(--oak-post-orange-dark)}
.oak-post-content .wp-block-table,.oak-post-content .wp-block-table table{max-width:100%;overflow-x:auto}
.oak-post-content table{border-collapse:collapse;width:100%;font-size:.92rem;margin:1.5em 0}
.oak-post-content :is(td,th){border:1px solid #e9d6d1;padding:11px 13px;vertical-align:top}
.oak-post-content th{background:#fff0e9;text-align:left;color:#3a292c}
.oak-post-content pre,.oak-post-content .wp-block-code{white-space:pre-wrap;overflow-x:auto;background:#f8eee8;padding:20px;border-radius:12px;font-size:.89rem}
.oak-post-content .alignwide{max-width:100%}
.oak-post-content .alignleft{float:left;margin:.3em 1.4em 1em 0;max-width:43%}
.oak-post-content .alignright{float:right;margin:.3em 0 1em 1.4em;max-width:43%}
.oak-post-content::after{content:"";display:block;clear:both}
.oak-post-pages{display:flex;flex-wrap:wrap;gap:13px;padding-top:24px;margin-top:30px;border-top:1px solid var(--oak-post-line)}
.oak-post-disclaimer{background:#fff5ed;border:1px solid #f0dfd6;border-radius:19px;padding:24px 25px;display:flex;gap:16px;margin-top:47px}
.oak-post-note-icon{background:#f9ded3;color:var(--oak-post-orange);height:45px;width:45px;flex:0 0 45px;display:grid;place-items:center;border-radius:50%}
.oak-post-disclaimer strong{font-size:.97rem;color:#382327;display:block;margin:0 0 6px}
.oak-post-disclaimer p{color:#795e5f;font-size:.86rem;line-height:1.65;margin:0}
.oak-post-adjacent{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:22px}
.oak-post-adjacent a{border:1px solid #edddd5;border-radius:15px;padding:18px 20px;transition:background .2s,border-color .2s}
.oak-post-adjacent a:hover{background:#fff0e8;border-color:#debfb4}
.oak-post-adjacent a:last-child{grid-column:2}
.oak-post-adjacent a:first-child{grid-column:1}
.oak-post-adjacent small{display:block;color:var(--oak-post-orange);font-size:.71rem;letter-spacing:.09em;text-transform:uppercase;margin-bottom:8px}
.oak-post-adjacent strong{display:block;font-family:var(--oak-post-serif);font-weight:400;line-height:1.3;font-size:1.2rem}
.oak-post-sidebar{min-width:0}
.oak-post-sidebar-sticky{position:sticky;top:25px;display:grid;gap:18px}
.oak-post-side-card{border-radius:24px;padding:28px 26px}
.oak-post-side-card-primary{background:linear-gradient(125deg,#fff2eb,#f7e2d9)}
.oak-post-side-icon{display:grid;place-items:center;border-radius:50%;width:51px;height:51px;background:#fffaf5;color:var(--oak-post-orange);margin-bottom:23px}
.oak-post-side-icon svg{width:26px;height:26px}
.oak-post-side-card h2{font:400 clamp(1.65rem,2.25vw,2.1rem)/1.2 var(--oak-post-serif);letter-spacing:-.026em;margin:0 0 14px;color:#281618}
.oak-post-side-card h2 em,.oak-post-related h2 em,.oak-post-bottom-cta h2 em{color:var(--oak-post-orange);font-style:italic;font-weight:400}
.oak-post-side-card p:not(.oak-post-eyebrow){font-size:.88rem;line-height:1.65;color:#775f62;margin:0 0 18px}
.oak-post-link-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:49px;border:1px solid var(--oak-post-orange);padding:11px 19px;border-radius:100px;background:var(--oak-post-orange);color:white!important;font-weight:700;font-size:.82rem;text-decoration:none;transition:background .2s,border-color .2s,transform .2s}
.oak-post-link-button:hover{background:var(--oak-post-orange-dark);border-color:var(--oak-post-orange-dark);transform:translateY(-2px)}
.oak-post-text-link{display:inline-block;font-size:.83rem;font-weight:700;color:#9d3323;margin-top:17px}
.oak-post-text-link:hover{text-decoration:underline}
.oak-post-side-card-secondary{background:#f3ecf6;border:1px solid #e9dded}
.oak-post-side-card-secondary a{color:#9c3929;font-weight:700;font-size:.82rem}
.oak-post-side-card-secondary a:hover{text-decoration:underline}
.oak-post-related{background:#fff8f4;padding:75px 0 89px;border-top:1px solid #f1e2db}
.oak-post-related-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:29px}
.oak-post-related-heading h2,.oak-post-bottom-cta h2{font:400 clamp(2.5rem,4vw,3.7rem)/1.1 var(--oak-post-serif);letter-spacing:-.03em;margin:0;color:#281618}
.oak-post-related-heading>a{font-size:.85rem;font-weight:700;color:#a53e2b;white-space:nowrap}
.oak-post-related-heading>a:hover{text-decoration:underline}
.oak-post-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.oak-post-related-card{background:#fffdf9;border:1px solid #f1e3dd;border-radius:22px;overflow:hidden;min-width:0;display:flex;flex-direction:column;box-shadow:0 8px 26px #5423180a}
.oak-post-related-image{display:block;aspect-ratio:1.58;overflow:hidden;background:#f4e7e1}
.oak-post-related-image img{height:100%;width:100%;object-fit:cover;display:block;transition:transform .24s}
.oak-post-related-image:hover img{transform:scale(1.035)}
.oak-post-related-copy{padding:21px 21px 24px;display:flex;flex:1;flex-direction:column;align-items:flex-start}
.oak-post-related-copy small{color:#927579;font-size:.74rem;margin:0 0 12px}
.oak-post-related-copy h3{font:400 1.55rem/1.22 var(--oak-post-serif);letter-spacing:-.012em;margin:0 0 24px}
.oak-post-related-copy h3 a:hover{color:var(--oak-post-orange)}
.oak-post-related-read{font-size:.84rem;font-weight:700;color:#a63c29;margin-top:auto}
.oak-post-related-read:hover{text-decoration:underline}
.oak-post-bottom-cta{padding:66px 0 80px;background:var(--oak-post-cream)}
.oak-post-bottom-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}
.oak-post-bottom-cta p:not(.oak-post-eyebrow){color:#775f62;margin:12px 0 0;font-size:.99rem}
.oak-post-cta-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.oak-post-secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:49px;border:1.5px solid var(--oak-post-orange);border-radius:100px;padding:11px 19px;color:#993b2a;font-size:.82rem;font-weight:700}
.oak-post-secondary-button:hover{background:#fff0e9}
@media(max-width:1080px){
  .oak-post-container{width:calc(100% - 68px)}
  .oak-post-hero-grid{gap:35px}
  .oak-post-body-layout{grid-template-columns:minmax(0,1fr) 280px;gap:36px}
  .oak-post-title{font-size:clamp(2.85rem,5.2vw,4.3rem)}
  .oak-post-side-card{padding:25px 22px}
}
@media(max-width:780px){
  .oak-post-hero{padding-bottom:51px}
  .oak-post-hero-grid{display:flex;flex-direction:column;align-items:stretch;gap:28px}
  .oak-post-hero-copy{padding:0}
  .oak-post-hero-visual{min-height:0}
  .oak-post-hero-image{height:clamp(260px,56vw,420px)}
  .oak-post-decor{right:-18px;top:-32px;width:115px}
  .oak-post-breadcrumb{margin-bottom:32px}
  .oak-post-body-layout{display:flex;flex-direction:column;padding-top:56px;padding-bottom:68px;gap:40px}
  .oak-post-article,.oak-post-sidebar{width:100%}
  .oak-post-sidebar-sticky{position:static;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
  .oak-post-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .oak-post-related-card:last-child:nth-child(odd){grid-column:span 2}
  .oak-post-bottom-cta-inner{flex-direction:column;align-items:flex-start}
}
@media(max-width:560px){
  .oak-post-container{width:calc(100% - 38px)}
  .oak-post-hero{padding:21px 0 40px}
  .oak-post-breadcrumb{gap:8px;font-size:.69rem;margin-bottom:30px}
  .oak-post-breadcrumb [aria-current="page"]{max-width:24ch}
  .oak-post-title{font-size:clamp(2.5rem,10.4vw,3.45rem);line-height:1.07;margin-bottom:20px}
  .oak-post-description{font-size:.99rem;line-height:1.65}
  .oak-post-hero-image{height:270px;border-radius:29% 11% 24% 11%}
  .oak-post-hero-blob{inset:9% -3% 0 6%}
  .oak-post-article-kicker{margin-bottom:21px}
  .oak-post-content{font-size:1rem;line-height:1.8}
  .oak-post-content h2{font-size:2rem}
  .oak-post-content h3{font-size:1.56rem}
  .oak-post-content blockquote,.oak-post-content .wp-block-quote{padding:16px 17px}
  .oak-post-content .alignleft,.oak-post-content .alignright{float:none;max-width:100%;margin:1.5em 0}
  .oak-post-disclaimer{padding:19px 17px;gap:12px}
  .oak-post-note-icon{height:38px;width:38px;flex-basis:38px}
  .oak-post-adjacent{grid-template-columns:1fr}
  .oak-post-adjacent a:last-child,.oak-post-adjacent a:first-child{grid-column:1}
  .oak-post-sidebar-sticky{grid-template-columns:1fr}
  .oak-post-related{padding:55px 0 62px}
  .oak-post-related-heading{align-items:flex-start;flex-direction:column;gap:13px}
  .oak-post-related-grid{grid-template-columns:1fr}
  .oak-post-related-card:last-child:nth-child(odd){grid-column:auto}
  .oak-post-related-image{aspect-ratio:1.75}
  .oak-post-bottom-cta{padding:50px 0 63px}
  .oak-post-cta-actions{flex-direction:column;align-items:stretch;width:100%}
  .oak-post-cta-actions>a{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .oak-post a,.oak-post img{transition:none!important}
}

/* Classic Editor article media: fill the content column, not the sidebar.
   Preserve deliberate floated images, galleries and inline icons. */
.oak-post-content > img:not(.emoji,.wp-smiley,.alignleft,.alignright),
.oak-post-content > p > img:only-child:not(.emoji,.wp-smiley,.alignleft,.alignright),
.oak-post-content > a > img:only-child:not(.emoji,.wp-smiley,.alignleft,.alignright),
.oak-post-content > p > a:only-child > img:only-child:not(.emoji,.wp-smiley,.alignleft,.alignright) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 28px auto;
}
/* Classic [caption] shortcodes may emit a fixed inline wrapper width. */
.oak-post-content > .wp-caption:not(.alignleft,.alignright),
.oak-post-content > figure:not(.alignleft,.alignright,.wp-block-gallery,.gallery) {
  width: 100% !important;
  max-width: 100%;
  margin: 28px auto;
}
.oak-post-content :is(.wp-caption,figure:not(.wp-block-gallery,.gallery)) > img:not(.emoji,.wp-smiley,.alignleft,.alignright):not(:where(.gallery *, .wp-block-gallery *, .alignleft *, .alignright *)),
.oak-post-content :is(.wp-caption,figure:not(.wp-block-gallery,.gallery)) > a > img:not(.emoji,.wp-smiley,.alignleft,.alignright):not(:where(.gallery *, .wp-block-gallery *, .alignleft *, .alignright *)) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0 auto;
}
.oak-post-content .wp-caption {max-width: 100%;}
.oak-post-content .wp-caption-text,
.oak-post-content figcaption {
  margin: 9px 0 0;
  font-size: .82rem;
  line-height: 1.55;
  color: #806b70;
  text-align: center;
  overflow-wrap: anywhere;
}
@media(max-width:560px) {
  .oak-post-content > img:not(.emoji,.wp-smiley,.alignleft,.alignright),
  .oak-post-content > p > img:only-child:not(.emoji,.wp-smiley,.alignleft,.alignright),
  .oak-post-content > a > img:only-child:not(.emoji,.wp-smiley,.alignleft,.alignright),
  .oak-post-content > p > a:only-child > img:only-child:not(.emoji,.wp-smiley,.alignleft,.alignright),
  .oak-post-content > .wp-caption:not(.alignleft,.alignright),
  .oak-post-content > figure:not(.alignleft,.alignright,.wp-block-gallery,.gallery) {
    margin: 20px auto;
  }
}

/* Classic Editor attachments can be nested in spans, links or mixed-text
   paragraphs. Match WordPress attachment classes regardless of nesting.
   Keep galleries, floated images, emoji and inline icons out of this rule. */
.oak-post .oak-post-content img:is([class*="wp-image-"],.aligncenter,.alignnone):not(.emoji,.wp-smiley,.alignleft,.alignright):not(:where(.gallery *, .wp-block-gallery *, .alignleft *, .alignright *)) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px !important;
  margin: 28px auto !important;
}
/* Caption wrappers supply their own outer spacing. */
.oak-post .oak-post-content :is(.wp-caption,figure) img:is([class*="wp-image-"],.aligncenter,.alignnone):not(.emoji,.wp-smiley,.alignleft,.alignright):not(:where(.gallery *, .wp-block-gallery *, .alignleft *, .alignright *)) {
  margin: 0 auto !important;
}
@media (max-width:560px) {
  .oak-post .oak-post-content img:is([class*="wp-image-"],.aligncenter,.alignnone):not(.emoji,.wp-smiley,.alignleft,.alignright):not(:where(.gallery *, .wp-block-gallery *, .alignleft *, .alignright *)) {
    margin: 20px auto !important;
  }
  .oak-post .oak-post-content :is(.wp-caption,figure) img:is([class*="wp-image-"],.aligncenter,.alignnone):not(.emoji,.wp-smiley,.alignleft,.alignright):not(:where(.gallery *, .wp-block-gallery *, .alignleft *, .alignright *)) {
    margin: 0 auto !important;
  }
}
