/* ESP32.CO.UK — Editorial Article Layout V2. Scoped to individual posts. */
.single-post{--ea-ink:#112c44;--ea-muted:#607789;--ea-accent:#0a8293;--ea-border:#dce7ed;--ea-soft:#f4f8fa}
.single-post #main .ct-container[data-sidebar]{max-width:1260px}
.single-post #main .ct-container[data-sidebar] article{min-width:0}
.single-post .hero-section .entry-header{max-width:930px;margin-inline:auto}
.single-post .hero-section .entry-header:before{content:'ENGINEERING FIELD GUIDE';color:#087988;display:block;letter-spacing:.16em;font-size:11px;font-weight:800;margin-bottom:14px}
.single-post .hero-section .page-title{font-size:clamp(32px,3.5vw,49px);font-weight:800;line-height:1.14;letter-spacing:-.045em;color:var(--ea-ink);max-width:900px}
.single-post .hero-section .page-description{font-size:clamp(16px,1.5vw,18px);line-height:1.7;color:var(--ea-muted);max-width:790px}
.single-post .entry-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;color:#697f8e}
.single-post .entry-meta .meta-author img{border-radius:50%}
.single-post .entry-meta .meta-categories a{font-weight:700;color:#096e89}
.single-post article.post .entry-content{color:#263e50;font-size:17px;line-height:1.78}
.single-post article.post .entry-content>p{margin-bottom:1.35em}
.single-post article.post .entry-content>p:first-child{font-size:17.5px;line-height:1.77}
.single-post article.post .entry-content h2{font-size:clamp(24px,2.15vw,31px);line-height:1.3;font-weight:790;letter-spacing:-.03em;color:var(--ea-ink);margin:1.9em 0 .68em;padding-bottom:11px;border-bottom:1px solid var(--ea-border);scroll-margin-top:96px}
.single-post article.post .entry-content h3{font-size:clamp(20px,1.7vw,24px);line-height:1.33;font-weight:750;letter-spacing:-.02em;color:var(--ea-ink);margin-top:1.65em;scroll-margin-top:96px}
.single-post article.post .entry-content h4{font-size:19px;color:var(--ea-ink);margin-top:1.4em;scroll-margin-top:96px}
.single-post article.post .entry-content a:not(.wp-block-button__link){text-underline-offset:3px;text-decoration-thickness:1px}
.single-post article.post .entry-content :is(ul,ol){padding-left:1.5em}
.single-post article.post .entry-content li{margin-bottom:.35em}
.single-post article.post .entry-content figure.wp-block-image{margin-block:28px}
.single-post article.post .entry-content figure.wp-block-image img{max-width:100%;height:auto;border-radius:8px;border:1px solid #e1eaef}
.single-post article.post .entry-content figure figcaption{font-size:12px;line-height:1.5;color:#71818b;margin-top:9px}
.single-post article.post .entry-content .wp-block-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #d9e4eb;border-radius:9px;margin-block:26px;box-shadow:0 4px 20px rgba(20,53,75,.035)}
.single-post article.post .entry-content .wp-block-table table{width:100%;border-collapse:separate;border-spacing:0;min-width:460px;font-size:14px;line-height:1.52;color:#263f52}
.single-post article.post .entry-content .wp-block-table th{background:#123c57;color:#fff;font-weight:760;text-align:left;padding:13px 15px;border:0;border-right:1px solid #31556d;vertical-align:middle}
.single-post article.post .entry-content .wp-block-table td{padding:12px 15px;border:0;border-bottom:1px solid #e0e8ec;border-right:1px solid #e0e8ec;vertical-align:top}
.single-post article.post .entry-content .wp-block-table tbody tr:nth-child(even){background:#f4f8fa}
.single-post article.post .entry-content .wp-block-table tbody tr:hover{background:#eaf3f6}
.single-post article.post .entry-content .wp-block-table tr:last-child td{border-bottom:0}
.single-post article.post .entry-content .wp-block-table td:last-child,.single-post article.post .entry-content .wp-block-table th:last-child{border-right:0}
.single-post article.post .entry-content pre:not(.wp-block-verse){background:#102738;color:#e6f2f5;border:1px solid #29485c;border-radius:10px;line-height:1.55;font-size:13.5px;padding:23px;max-width:100%;overflow-x:auto;tab-size:2}
.single-post article.post .entry-content :not(pre)>code{font-size:.86em;padding:2px 5px;background:#edf3f7;border-radius:4px;color:#a52d3b}
.single-post article.post .entry-content blockquote{padding:22px 26px;border-left:4px solid #10a99a;background:#f0f8f7;border-radius:0 9px 9px 0}
/* Table of contents + reading controls */
.single-post .esp-v2-toc{border:1px solid #d6e5eb;background:#f6fafb;border-radius:11px;margin:24px 0 31px;overflow:hidden}
.single-post .esp-v2-toc summary{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:16px 21px;cursor:pointer;list-style:none;font-weight:790;font-size:15px;color:#12334c}
.single-post .esp-v2-toc summary::-webkit-details-marker{display:none}
.single-post .esp-v2-toc summary:after{content:'⌄';font-size:22px;color:#1b8290;line-height:1}
.single-post .esp-v2-toc[open] summary{border-bottom:1px solid #dce8ed}
.single-post .esp-v2-toc[open] summary:after{content:'⌃'}
.single-post .esp-v2-toc .esp-v2-toc-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 21px;padding:15px 23px 20px}
.single-post .esp-v2-toc a{font-size:13px;line-height:1.4;text-decoration:none!important;color:#28536a;display:block;padding:6px 0}
.single-post .esp-v2-toc a:hover{color:#007e97}
.single-post .esp-v2-toc small{font-size:12px;color:#657d8e;font-weight:600}
.single-post .esp-v2-scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:#0aa99c;z-index:999999;pointer-events:none}
.single-post .esp-v2-jump-top{position:fixed;bottom:24px;right:24px;border:1px solid #b5d4df;background:#fff;color:#0a607e;padding:9px 13px;border-radius:9px;font-size:12px;font-weight:800;box-shadow:0 6px 24px #12394c1f;z-index:500;cursor:pointer;display:none}
.single-post .esp-v2-jump-top.show{display:block}
/* Focused sidebar replacing ten generic text links */
.single-post #sidebar .ct-sidebar{gap:20px}
.single-post #sidebar .ct-widget{background:#fff;border:1px solid var(--ea-border);border-radius:12px;padding:20px;box-shadow:0 6px 22px rgba(19,52,73,.035)}
.single-post #sidebar .ct-widget h3{font-size:17px;color:#17334b;font-weight:800;letter-spacing:-.02em;margin:0 0 13px}
.single-post #sidebar .esp-v2-widget-eyebrow{font-size:10px;letter-spacing:.15em;color:#0b8492;font-weight:850;margin-bottom:6px}
.single-post #sidebar .esp-v2-side-search form{margin-top:10px}
.single-post #sidebar .esp-v2-related-list{display:grid;gap:0}
.single-post #sidebar .esp-v2-related-card{display:flex;gap:11px;align-items:center;padding:12px 0;border-bottom:1px solid #e9eff3;text-decoration:none}
.single-post #sidebar .esp-v2-related-card:last-child{border-bottom:0;padding-bottom:2px}
.single-post #sidebar .esp-v2-card-art{width:79px;height:68px;flex-shrink:0;border-radius:7px;background:#ebf3f7;overflow:hidden;display:grid;place-items:center}
.single-post #sidebar .esp-v2-card-art img{width:100%;height:100%;object-fit:contain;display:block}
.single-post #sidebar .esp-v2-card-art.no-thumb{background:linear-gradient(135deg,#143a56,#216e83);color:#c3f4ed;font-size:15px;font-weight:850;letter-spacing:.07em}
.single-post #sidebar .esp-v2-related-details{min-width:0}
.single-post #sidebar .esp-v2-related-details strong{font-size:12.5px;line-height:1.35;display:block;color:#1d3e55;font-weight:760}
.single-post #sidebar .esp-v2-related-card:hover strong{color:#087a90}
.single-post #sidebar .esp-v2-related-label{font-size:9px;letter-spacing:.08em;text-transform:uppercase;font-weight:850;color:#0d8293;display:block;margin-bottom:5px}
.single-post #sidebar .esp-v2-news-items{list-style:none;padding:0;margin:5px 0 13px}
.single-post #sidebar .esp-v2-news-items li{padding:10px 0;border-bottom:1px solid #e7eef2}
.single-post #sidebar .esp-v2-news-items li a{display:block;font-size:13px;line-height:1.4;color:#214459;text-decoration:none;font-weight:730}
.single-post #sidebar .esp-v2-news-items time{font-size:10px;color:#7b8b95}
.single-post #sidebar .esp-v2-news-widget p{font-size:12px;line-height:1.55;color:#607789;margin:4px 0 14px}
.single-post #sidebar .esp-v2-side-link{font-size:12px;color:#0c7189;font-weight:800;text-decoration:none}
.single-post #sidebar .esp-v2-topic-list{display:flex;flex-wrap:wrap;gap:7px}
.single-post #sidebar .esp-v2-topic-list a{font-size:11px;line-height:1.35;background:#edf6f8;border:1px solid #dcebef;color:#24546a;border-radius:6px;text-decoration:none;padding:8px 10px;font-weight:750}
.single-post #sidebar .esp-v2-topic-list a:hover{background:#d8eef0}
/* Read Next: illustrated editorial cards + one unobtrusive hardware decision route */
.single-post .esp-v2-after-article{padding:54px 20px 62px;background:#f4f8fa;border-top:1px solid #d9e6ed;margin-top:38px}
.single-post .esp-v2-after-inner{max-width:1190px;margin:auto}
.single-post .esp-v2-after-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.single-post .esp-v2-after-eyebrow{font-size:10px;font-weight:850;letter-spacing:.13em;color:#168398}
.single-post .esp-v2-after-head h2{font-size:clamp(27px,3vw,36px);letter-spacing:-.045em;color:#112e45;margin:8px 0}
.single-post .esp-v2-after-head p{font-size:14px;color:#60788a;margin:0}
.single-post .esp-v2-browse{font-size:13px;font-weight:800;color:#086d92;white-space:nowrap;text-underline-offset:4px}
.single-post .esp-v2-after-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.single-post .esp-v2-after-card{background:#fff;border:1px solid #dce8ee;border-radius:12px;overflow:hidden;min-width:0;display:flex;flex-direction:column;box-shadow:0 5px 20px rgba(12,43,68,.035)}
.single-post .esp-v2-after-cover{display:block;height:174px;overflow:hidden;background:#e4eff4}
.single-post .esp-v2-after-cover img{width:100%;height:100%;object-fit:contain}
.single-post .esp-v2-cover-placeholder{height:100%;width:100%;position:relative;display:grid;place-items:center;overflow:hidden;background:linear-gradient(130deg,#0b293e,#165a71)}
.single-post .esp-v2-cover-icon{font-size:35px;letter-spacing:.11em;font-weight:900;color:#b2e7dd;position:relative;z-index:2}
.single-post .esp-v2-cover-lines{position:absolute;width:280px;height:280px;border-radius:50%;border:1px solid #ffffff30;box-shadow:0 0 0 34px #ffffff09,0 0 0 75px #ffffff08;right:-62px;bottom:-170px}
.single-post .esp-v2-after-card-body{display:flex;flex-direction:column;padding:23px;flex:1}
.single-post .esp-v2-card-kicker{font-size:10px;letter-spacing:.11em;color:#0a8492;font-weight:850;text-transform:uppercase;margin-bottom:11px}
.single-post .esp-v2-after-card h3{font-size:19px;font-weight:800;letter-spacing:-.03em;line-height:1.3;color:#16334c;margin:0}
.single-post .esp-v2-after-card h3 a{color:inherit;text-decoration:none}
.single-post .esp-v2-after-card h3 a:hover{color:#078396}
.single-post .esp-v2-after-card-body p{font-size:12px;line-height:1.6;color:#667d8f;margin:14px 0 19px}
.single-post .esp-v2-card-action{font-size:13px;font-weight:800;color:#057f95;text-decoration:none;margin-top:auto}
.single-post .esp-v2-buying-route{display:flex;align-items:center;gap:19px;padding:25px 29px;margin-top:23px;border-radius:11px;border:1px solid #d5e5ec;background:#fff}
.single-post .esp-v2-buy-icon{height:47px;width:47px;flex:none;background:#e6f6f4;border-radius:10px;display:grid;place-items:center;color:#027e80;font-size:24px}
.single-post .esp-v2-buying-route>div:nth-child(2){flex:1}
.single-post .esp-v2-buying-route span{display:block;color:#0b8390;font-size:10px;font-weight:850;letter-spacing:.1em}
.single-post .esp-v2-buying-route strong{display:block;font-size:19px;color:#15334a;font-weight:800;margin:7px 0}
.single-post .esp-v2-buying-route p{font-size:13px;line-height:1.5;margin:0;color:#607687}
.single-post .esp-v2-buying-route>a{display:inline-flex;justify-content:center;padding:12px 16px;border-radius:7px;background:#0f7594;color:#fff;white-space:nowrap;font-size:13px;text-decoration:none;font-weight:850}
.single-post .esp-v2-buying-route>a:hover{background:#07566e}
@media(max-width:999px){.single-post #main .ct-container[data-sidebar]{max-width:860px}.single-post article.post .entry-content{font-size:16.5px}}
@media(max-width:850px){.single-post .esp-v2-after-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.single-post .esp-v2-after-card:last-child{display:none}.single-post .esp-v2-buying-route{flex-wrap:wrap}.single-post .esp-v2-buying-route>a{margin-left:66px}}
@media(max-width:650px){.single-post .hero-section .page-title{font-size:clamp(29px,8vw,38px)}.single-post article.post .entry-content{font-size:16px;line-height:1.74}.single-post article.post .entry-content .wp-block-table{margin-inline:-7px}.single-post article.post .entry-content .wp-block-table table{font-size:13px}.single-post article.post .entry-content .wp-block-table :is(th,td){padding:9px 10px}.single-post article.post .entry-content pre:not(.wp-block-verse){padding:15px;font-size:12.5px}.single-post .esp-v2-toc .esp-v2-toc-items{grid-template-columns:1fr}.single-post .esp-v2-jump-top{bottom:14px;right:14px}.single-post .esp-v2-after-article{padding:39px 17px}.single-post .esp-v2-after-head{display:block}.single-post .esp-v2-browse{display:inline-block;margin-top:10px}.single-post .esp-v2-after-grid{grid-template-columns:1fr}.single-post .esp-v2-after-card:last-child{display:flex}.single-post .esp-v2-after-cover{height:170px}.single-post .esp-v2-after-card-body{padding:20px}.single-post .esp-v2-buying-route{padding:21px;gap:13px}.single-post .esp-v2-buying-route>a{margin-left:0;width:100%}}
@media(prefers-reduced-motion:reduce){.single-post .esp-v2-scroll-progress{transition:none}}
