/* v1.0.8 – article template enhancements. Scope: standard single posts only. */
body.single-post .article-layout{grid-template-columns:minmax(0,780px) minmax(260px,300px);gap:36px;align-items:start;justify-content:center}
body.single-post .article-main{min-width:0}
body.single-post .article-sidebar{position:static;top:auto;align-self:stretch;min-width:0;display:flex;flex-direction:column;gap:18px}
body.single-post .sidebar-card{background:#fff;border:1px solid #ddd;box-shadow:none;border-radius:9px;padding:20px}
body.single-post .sidebar-conversion{background:#f7f7f7}
body.single-post .sidebar-conversion__eyebrow{font-size:12px;color:#606060;letter-spacing:0;margin-bottom:7px}
body.single-post .sidebar-conversion h2{font-size:18px;font-weight:700;line-height:1.55;margin:0 0 10px}
body.single-post .sidebar-conversion p{font-size:14px;line-height:1.75;margin:0 0 12px}
body.single-post .sidebar-conversion .sidebar-conversion__price{border-top:1px solid #ddd;margin:16px 0;padding-top:15px}
body.single-post .sidebar-conversion__price strong{display:block;font-size:20px;line-height:1.5;color:#242424}
body.single-post .sidebar-extra-links h2{font-size:16px;margin:0 0 10px}
body.single-post .sidebar-extra-links .related-links{margin:0;padding:0;list-style:none}
body.single-post .sidebar-extra-links .related-links li{font-size:14px;line-height:1.6;margin:0;padding:11px 0;border-bottom:1px solid #e0e0e0}
body.single-post .sidebar-extra-links .related-links li:last-child{border-bottom:0;padding-bottom:0}
body.single-post .sidebar-extra-links .related-links a{text-decoration:underline;text-underline-offset:3px}
/* Desktop: article TOC appears below the conversion card in the right rail. */
@media(min-width:981px){
 body.single-post .article-content .urikata-toc{display:none}
 body.single-post .sidebar-toc-wrap{position:sticky;top:90px;align-self:stretch;z-index:1;padding:0;max-height:calc(100vh - 104px);overflow:auto;overscroll-behavior:contain}
 body.single-post .sidebar-toc-wrap .urikata-toc{border:0;background:#fff;margin:0;border-radius:9px}
 body.single-post .sidebar-toc-wrap .urikata-toc summary{font-size:15px;padding:17px 42px 13px 20px}
 body.single-post .sidebar-toc-wrap .urikata-toc ol{list-style:none;padding:10px 15px 18px;margin:0;counter-reset:step}
 body.single-post .sidebar-toc-wrap .urikata-toc li{margin:0;padding:0;border-left:3px solid #e4e4e4;counter-increment:step}
 body.single-post .sidebar-toc-wrap .urikata-toc li a{display:block;padding:9px 8px 9px 11px;color:#555;font-size:13px;font-weight:500;line-height:1.55;text-decoration:none;overflow-wrap:anywhere}
 body.single-post .sidebar-toc-wrap .urikata-toc li a:hover,
 body.single-post .sidebar-toc-wrap .urikata-toc li a.is-current{color:#222;background:#f3f3f3;font-weight:700}
 body.single-post .sidebar-toc-wrap .urikata-toc li:has(a.is-current){border-left-color:#555}
}
/* Mobile: an expandable TOC remains in the article; do not show two. */
@media(max-width:980px){
 body.single-post .article-layout{grid-template-columns:minmax(0,1fr);gap:25px}
 body.single-post .article-sidebar{display:block}
 body.single-post .article-sidebar .sidebar-conversion,body.single-post .article-sidebar .sidebar-toc-wrap{display:none}
 body.single-post .article-sidebar .sidebar-extra-links{max-width:none}
 body.single-post .article-content .urikata-toc{display:block}
}
/* If an Easy Table of Contents plugin also injects an automatic box, hide only its old article box. */
body.single-post .article-content #ez-toc-container,
body.single-post .article-content .ez-toc-container{display:none!important}
/* Greyscale editorial treatments inspired by structural wireframes only. */
body.single-post .article-content blockquote,
body.single-post .article-content .wp-block-quote{border-left:4px solid #5a5a5a;background:#f7f7f7;margin:26px 0;padding:15px 20px;font-size:.98rem}
body.single-post .article-content .wp-block-table{overflow-x:auto;margin:28px 0}
body.single-post .article-content .wp-block-table table{width:100%;border-collapse:collapse}
body.single-post .article-content .wp-block-table td,
body.single-post .article-content .wp-block-table th{padding:12px;border:1px solid #dedede}
body.single-post .article-content .wp-block-table th{background:#f5f5f5}
body.single-post .article-content .urikata-article-note{padding:18px 22px;margin:28px 0;border:1px solid #ddd;border-radius:8px;background:#f8f8f8}
body.single-post .article-content .urikata-article-checklist{padding:18px 24px;margin:28px 0;background:#f7f7f7;border-radius:8px}
body.single-post .article-content .urikata-article-checklist li{margin:9px 0}
body.single-post .article-content .urikata-article-inline-cta{padding:20px 22px;margin:28px 0;border:1px solid #ccc;border-radius:9px;background:#fafafa;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
body.single-post .article-content .urikata-article-inline-cta__copy{min-width:210px;flex:1;display:grid;gap:4px}
body.single-post .article-content .urikata-article-inline-cta__copy strong{font-size:17px;line-height:1.5}
body.single-post .article-content .urikata-article-inline-cta__copy span{font-size:13px;color:#666}
body.single-post .article-content a.urikata-article-inline-cta__button{background:#454545;color:#fff!important;border-radius:6px;padding:12px 16px;font-size:14px;line-height:1.5;text-decoration:none;text-align:center;font-weight:700}
/* Every standard post ends in the same real HubSpot download form CTA. */
body.single-post .article-end.article-form-cta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;background:#f4f4f4;border:1px solid #d7d7d7;border-radius:10px;margin:48px 0 0;padding:26px;align-items:start}
body.single-post .article-form-cta__intro{min-width:0}
body.single-post .article-form-cta__eyebrow{font-weight:700;font-size:12px;letter-spacing:.02em;color:#555;margin:0 0 8px}
body.single-post .article-form-cta h2{font-size:clamp(20px,2vw,25px);line-height:1.55;margin:0 0 14px;color:#292929}
body.single-post .article-form-cta__intro>p:not(.article-form-cta__eyebrow){font-size:14px;line-height:1.85;color:#444;margin:0 0 14px}
body.single-post .article-form-cta__document{margin:16px 0;border-radius:7px;overflow:hidden;border:1px solid #ddd;background:#fff}
body.single-post .article-form-cta__document img{display:block;width:100%;height:auto}
body.single-post .article-form-cta__intro ul{list-style:disc;margin:10px 0 13px;padding-left:20px;font-size:14px;line-height:1.8}
body.single-post .article-form-cta__intro .article-form-cta__note{font-size:12px;line-height:1.75;color:#666}
body.single-post .article-form-cta__form{min-width:0;padding:21px;background:#fff;border-radius:8px;border:1px solid #dadada}
body.single-post .article-form-cta__form h3{font-size:17px;line-height:1.5;color:#292929;margin:0 0 16px;border:0;padding:0}
body.single-post .article-form-cta__privacy,body.single-post .article-form-cta__fallback{font-size:12px;line-height:1.7;color:#666;margin:14px 0 0}
body.single-post .article-form-cta__privacy a,body.single-post .article-form-cta__fallback a{text-decoration:underline}
body.single-post .article-form-cta__hubspot{min-height:140px}
body.single-post .article-form-cta__hubspot iframe{max-width:100%;width:100%}
body.single-post .article-form-cta__form input:not([type=checkbox]):not([type=radio]),
body.single-post .article-form-cta__form select,
body.single-post .article-form-cta__form textarea{max-width:100%;font-size:16px}
@media(max-width:720px){
 body.single-post .article-end.article-form-cta{grid-template-columns:1fr;gap:16px;padding:17px;margin-top:36px}
 body.single-post .article-form-cta__form{padding:17px}
 body.single-post .article-form-cta h2{font-size:21px}
 body.single-post .article-content .urikata-article-inline-cta{display:block;padding:16px}
 body.single-post .article-content a.urikata-article-inline-cta__button{display:block;margin-top:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
