/* Editorial pages share the shop's site shell, with a quieter reading layout. */
body.smartstuff-editorial .page-header { display:none; }
body.smartstuff-editorial .site-header .custom-mobile-logo { filter:brightness(0) invert(1); }
body.smartstuff-editorial .site-content { margin:0; padding:0; background:#fff; }
body.smartstuff-editorial #primary { width:100%; float:none; margin:0; padding:0; }
.ss-editorial { color:#17202c; font:16px/1.75 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.ss-editorial *, .ss-editorial *::before, .ss-editorial *::after { box-sizing:border-box; }
.ss-editorial :is(h1,h2,h3,h4) { font-family:inherit; color:inherit; letter-spacing:-.035em; }
.ss-editorial-wrap { width:min(1180px,calc(100% - 48px)); margin-inline:auto; }
.ss-editorial .ss-editorial-eyebrow { margin:0 0 16px; color:#ff8218; font-size:11px; font-weight:800; letter-spacing:.15em; text-transform:uppercase; }
.ss-editorial-description { max-width:760px; color:#64717f; margin-bottom:32px; }
.ss-story-layout { display:grid; grid-template-columns:230px minmax(0,780px); justify-content:space-between; gap:60px; padding-block:80px 100px; }
.ss-story-aside { border-top:2px solid #ff8218; padding-top:23px; color:#64717f; font-size:14px; }
.ss-story-aside .ss-editorial-eyebrow { color:#17202c; }
.ss-story-aside a { color:#17202c; font-weight:700; text-decoration:underline; text-underline-offset:5px; }
.ss-story-body { min-width:0; }
.ss-story-image { margin:0 0 40px; padding:20px; border:1px solid #dfe5ea; border-radius:12px; background:#f2f6f9; }
.ss-story-image img { display:block; max-height:560px; width:100%; object-fit:contain; }
.ss-prose { font-size:18px; line-height:1.85; overflow-wrap:anywhere; }
.ss-prose::after { content:""; display:table; clear:both; }
.ss-prose p { margin:0 0 1.5em; }
.ss-prose :is(h2,h3,h4) { margin:1.8em 0 .7em; line-height:1.25; font-weight:750; }
.ss-prose h2 { font-size:32px; }
.ss-prose h3 { font-size:25px; }
.ss-prose > :first-child { margin-top:0; }
.ss-prose a { color:#a64500; text-decoration:underline; text-underline-offset:3px; }
.ss-prose img { height:auto; max-width:100%; border-radius:8px; }
.ss-prose :is(figure,.alignwide,.alignfull) { max-width:100%; margin-inline:0; }
.ss-prose figcaption { font-size:13px; line-height:1.6; color:#64717f; }
.ss-prose blockquote { margin:32px 0; padding:20px 28px; border-left:3px solid #ff8218; background:#f2f6f9; }
.ss-prose :is(pre,.wp-block-table) { max-width:100%; overflow-x:auto; }
.ss-prose pre { padding:20px; background:#f2f6f9; font-size:14px; }
.ss-prose :is(iframe,video) { max-width:100%; }
.ss-prose :is(ul,ol) { padding-left:1.4em; }
.ss-story-end { margin-top:48px; padding-top:24px; border-top:1px solid #dfe5ea; }
.ss-story-end a { color:#17202c; font-weight:700; }
.ss-editorial #comments { margin-top:48px; }
.ss-news-section { padding-block:64px 96px; }
.ss-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.ss-news-card { min-width:0; display:flex; flex-direction:column; border:1px solid #dfe5ea; border-radius:12px; overflow:hidden; background:white; }
.ss-news-card__image { display:block; aspect-ratio:16/10; padding:18px; background:#f2f6f9; border-bottom:1px solid #dfe5ea; }
.ss-news-card__image img { width:100%; height:100%; object-fit:contain; }
.ss-news-placeholder { height:100%; display:flex; flex-direction:column; justify-content:center; padding:24px; color:#fff; background:var(--ss-hero-background); font-size:27px; font-weight:750; }
.ss-news-placeholder span { margin-top:18px; color:#ff8218; font-size:11px; letter-spacing:.05em; }
.ss-news-card__body { flex:1; display:flex; flex-direction:column; padding:28px; }
.ss-news-card time { color:#64717f; font-size:12px; }
.ss-news-card h2 { margin:14px 0; font-size:24px; line-height:1.25; }
.ss-news-card h2 a { color:#17202c; }
.ss-news-card__body > p { margin:0 0 26px; color:#64717f; font-size:14px; line-height:1.8; }
.ss-news-read { display:flex; justify-content:space-between; gap:12px; margin-top:auto; padding-top:18px; border-top:1px solid #dfe5ea; color:#17202c; font-size:13px; font-weight:750; }
.ss-news-read span { color:#a64500; }
.ss-editorial a:hover { text-decoration:underline; text-underline-offset:4px; }
.ss-editorial a:focus-visible { outline:3px solid #ff8218; outline-offset:4px; }
.ss-editorial .pagination { margin-top:48px; }
.ss-editorial .pagination .page-numbers { border-radius:6px; }
.ss-editorial .pagination .current { background:#17202c; color:#fff; }
@media(max-width:980px) {
 .ss-story-layout { grid-template-columns:180px minmax(0,1fr); gap:35px; }
 .ss-news-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
}
@media(max-width:640px) {
 .ss-editorial-wrap { width:calc(100% - 32px); }
 .ss-story-layout { grid-template-columns:1fr; gap:40px; padding-block:44px 64px; }
 .ss-story-aside { order:2; }
 .ss-prose { font-size:16px; line-height:1.8; }
 .ss-prose h2 { font-size:27px; }
 .ss-news-grid { grid-template-columns:1fr; }
 .ss-news-section { padding-block:40px 64px; }
 .ss-news-card__body { padding:24px; }
}

.ss-story-meta { margin:0 0 24px; color:#64717f; font-size:13px; }
