/* User-specified CNHORDA detail geometry; scoped to native post details, not public shell. */
.swei-news-single{--swei-ns-brand:#c62330;--swei-ns-ink:#000000;--swei-ns-soft:rgba(198,35,48,.1);background:#fff;color:#333;font:400 16px/24px var(--swei-font-family,Roboto,Arial,Helvetica,sans-serif);letter-spacing:normal}
.swei-news-single *,.swei-news-single *::before,.swei-news-single *::after{box-sizing:border-box}
.swei-news-single a{color:inherit;text-decoration:none}
.swei-news-single a:hover{color:var(--swei-ns-brand)}
.swei-news-single a:focus-visible{outline:2px solid var(--swei-ns-brand);outline-offset:4px}
.swei-news-single h1,.swei-news-single h2,.swei-news-single h3{font-family:inherit;letter-spacing:normal;color:var(--swei-ns-ink)}
.swei-ns-container{width:100%;max-width:1430px;margin:0 auto;padding:0 15px}
/* Accommodate the existing transparent Blocksy header without modifying it. */
.swei-ns-breadcrumb-bar{padding-top:calc(var(--header-height,0px)*var(--has-transparent-header,0));background:#f0f3f7}
.swei-ns-breadcrumb{height:60px;display:flex;align-items:center;color:var(--swei-ns-ink)}
.swei-ns-breadcrumb ol{display:flex;align-items:center;flex-wrap:wrap;gap:20px;list-style:none;padding:0;margin:0}
.swei-ns-breadcrumb li{margin:0;display:flex;align-items:center;gap:20px}
.swei-ns-breadcrumb li+li::before{content:'\203A';font-size:26px;font-weight:700;line-height:24px;color:var(--swei-ns-brand)}
.swei-ns-breadcrumb a{display:flex;align-items:center;gap:10px}
.swei-ns-breadcrumb svg{color:var(--swei-ns-brand);flex:none}
.swei-ns-category-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:60px}
.swei-ns-category-nav a{display:block;position:relative;width:240px;padding:15px 29px;border:1px solid var(--swei-ns-brand);overflow:hidden;text-align:center;font-size:18px;line-height:24px;font-weight:700;background:#fff;color:var(--swei-ns-brand)}
.swei-ns-category-nav a::before{content:'';position:absolute;bottom:0;right:0;width:24px;height:24px;transform:translate(50%,50%) rotate(45deg);background:var(--swei-ns-brand)}
.swei-ns-category-nav a.is-active,.swei-ns-category-nav a:hover,.swei-ns-category-nav a:focus-visible{color:#fff;background:var(--swei-ns-brand)}
.swei-ns-wrapper{padding:80px 0 160px;border-bottom:1px dashed rgba(198,35,48,.3)}
.swei-ns-row{display:flex;flex-wrap:wrap;margin:0 -15px}
.swei-ns-article{width:66.66666667%;min-width:0;padding:0 50px 0 15px;margin:0}
.swei-ns-sidebar{width:33.33333333%;min-width:0;padding:0 15px 0 50px}
.swei-news-single #swei-ns-title{margin:0;font-size:36px;line-height:42px;font-weight:700;overflow-wrap:break-word}
.swei-ns-date{display:flex;align-items:center;min-height:44px;color:var(--swei-ns-brand);font-size:16px;line-height:24px}
.swei-ns-deco{display:block;position:relative;width:40px;flex:0 0 40px;height:24px;margin-right:20px}
.swei-ns-deco::after{content:'';position:absolute;left:0;top:10px;width:40px;height:4px;background:linear-gradient(to right,var(--swei-ns-brand) 50%,#000 50%)}
.swei-ns-rule{height:1px;border-bottom:1px dashed var(--swei-ns-brand);margin:20px 0 40px;opacity:.5}
.swei-ns-content.entry-content{display:flow-root;color:#333;font:400 18px/28px var(--swei-font-family,Roboto,Arial,Helvetica,sans-serif);overflow-wrap:break-word}
.swei-ns-content.entry-content>*{max-width:100%}
.swei-ns-content.entry-content p{margin:0 0 15px;line-height:inherit;font-size:inherit;color:inherit}
.swei-ns-content.entry-content img{display:block;float:none;max-width:100%;height:auto;margin:0 auto;vertical-align:middle}
.swei-ns-content.entry-content figure{float:none;margin:0 auto 15px;max-width:100%}
.swei-ns-content.entry-content figure img{display:block}
.swei-ns-content.entry-content figcaption{font-size:14px;line-height:22px;margin:8px 0 0}
.swei-ns-content.entry-content a{color:var(--swei-ns-brand);text-decoration:underline;text-underline-offset:3px}
.swei-ns-content.entry-content h2{font-size:28px;line-height:34px;margin:30px 0 15px;font-weight:700}
.swei-ns-content.entry-content h3{font-size:24px;line-height:30px;margin:24px 0 15px;font-weight:700}
.swei-ns-content.entry-content ul,.swei-ns-content.entry-content ol{padding-left:24px;margin:0 0 15px}
.swei-ns-content.entry-content li{margin-bottom:8px}
.swei-ns-content.entry-content blockquote{margin:20px 0;padding:15px 24px;border-left:3px solid var(--swei-ns-brand)}
.swei-ns-content.entry-content .wp-block-table{overflow-x:auto}
.swei-ns-content.entry-content table{display:block;max-width:100%;overflow-x:auto;width:100%;font-size:inherit;line-height:inherit;border-collapse:collapse;margin:0}
.swei-ns-content.entry-content th,.swei-ns-content.entry-content td{padding:10px;border:1px solid #ddd;vertical-align:top}
.swei-ns-content.entry-content iframe,.swei-ns-content.entry-content video{max-width:100%}
.swei-ns-content.entry-content [id]{scroll-margin-top:140px}
.swei-ns-adjacent{margin:80px 0 0;padding:16px 20px;display:flex;align-items:center;gap:40px;color:var(--swei-ns-ink);background:#fff;border-radius:12px;box-shadow:0 4px 24px rgba(0,0,0,.07)}
.swei-ns-neighbor{display:flex;align-items:center;flex:1 1 0;min-width:0;font-size:16px;line-height:24px;gap:12px;color:var(--swei-ns-ink)}
.swei-ns-neighbor-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.swei-ns-neighbor-label{flex:none;color:#111;font-size:inherit;font-weight:600}
.swei-ns-newer{justify-content:flex-end;text-align:right}
.swei-ns-neighbor[aria-disabled="true"]{color:#687889}
.swei-ns-page-links{margin-top:30px}
.swei-ns-latest{display:flex;flex-direction:column;gap:40px}
.swei-news-single .swei-ns-list-title{font-size:20px;line-height:36px;font-weight:700;margin:0}
.swei-ns-news-item{display:flex;align-items:flex-start;min-width:0}
.swei-ns-news-image{width:30%;flex:0 0 30%;display:block;overflow:hidden;background:#f0f3f7;height:88px;align-self:auto}
.swei-ns-news-image img{width:100%;height:100%;object-fit:cover;display:block;margin:0}
.swei-ns-news-text{width:70%;padding-left:5%;min-width:0}
.swei-ns-news-title,.swei-ns-machine-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:44px;font-size:18px;line-height:22px;font-weight:600;color:var(--swei-ns-ink)!important}
.swei-ns-news-title:hover,.swei-ns-machine-title:hover{color:var(--swei-ns-brand)!important}
.swei-ns-machines{margin-top:60px;display:flex;flex-direction:column;gap:40px}
.swei-ns-machine-list{display:flex;flex-direction:column;gap:40px}
.swei-ns-machine{background:#fff;padding:35px 50px;font-size:18px;line-height:28px;font-weight:700}
.swei-ns-model{color:var(--swei-ns-brand);overflow-wrap:anywhere}
.swei-ns-machine-image{display:block;aspect-ratio:2/1}
.swei-ns-machine-image img{display:block;width:100%;height:100%;object-fit:contain;margin:0}
.swei-ns-machine-title{font-weight:700}
.swei-ns-details{display:flex;align-items:center;gap:20px;margin-top:8px;color:var(--swei-ns-brand)!important}
.swei-ns-details span{font-size:30px;font-weight:400}
.swei-ns-contact{padding:100px 15px;text-align:center;background:#fff}
.swei-news-single .swei-ns-contact h2{margin:0;font-size:36px;line-height:42px;font-weight:700}
.swei-ns-contact>a{display:table;margin:48px auto 0;padding:16px 100px;border-radius:50px;background:var(--swei-ns-brand);color:#fff;font-size:18px;line-height:32px;font-weight:700;text-transform:uppercase}
.swei-ns-contact>a:hover{color:#fff;background:#a71925}
@media(max-width:991.98px){
.swei-news-single{font-size:14px;line-height:20px}
.swei-ns-breadcrumb{height:48px}
.swei-ns-breadcrumb ol,.swei-ns-breadcrumb li{gap:12px}
.swei-ns-category-nav{margin-top:30px}
.swei-ns-category-nav a{width:auto;font-size:14px;line-height:20px;padding:9px 14px}
.swei-ns-wrapper{padding:30px 0}
.swei-ns-article{padding:0 7px 0 15px}
.swei-ns-sidebar{padding:0 15px 0 7px}
.swei-news-single #swei-ns-title{font-size:24px;line-height:28px}
.swei-ns-date{min-height:40px;font-size:14px;line-height:20px}
.swei-ns-content.entry-content{font-size:14px;line-height:22px}
.swei-ns-content.entry-content h2{font-size:22px;line-height:28px}
.swei-ns-content.entry-content h3{font-size:20px;line-height:26px}
.swei-ns-machine-list{gap:20px}
.swei-ns-machine{padding:15px;font-size:14px;line-height:22px}
.swei-ns-news-image{height:84px}
.swei-ns-adjacent{margin-top:40px;padding:16px 14px;gap:24px}
.swei-ns-neighbor{font-size:14px;line-height:20px;gap:8px}
.swei-ns-contact{padding:30px 15px}
.swei-news-single .swei-ns-contact h2{font-size:24px;line-height:28px}
.swei-ns-contact>a{margin-top:20px;padding:12px 60px;font-size:14px;line-height:32px}
}
@media(max-width:767.98px){.swei-ns-article,.swei-ns-sidebar{width:100%}}
@media(prefers-reduced-motion:reduce){.swei-news-single *{scroll-behavior:auto}}

/* Article-only automatic H2/H3 navigation; uses the existing sidebar hierarchy. */
.swei-ns-toc{margin:0 0 40px}
.swei-ns-toc-list{list-style:disc;margin:16px 0 0;padding:0 0 0 1.7em;display:flex;flex-direction:column;gap:10px}
.swei-ns-toc-list li{display:list-item;margin:0;padding:0;font-size:16px;line-height:24px;overflow-wrap:anywhere}
.swei-ns-toc-list li.swei-ns-toc-subheading{padding-left:20px}
.swei-ns-toc-list a{display:block;padding:3px 0;color:var(--swei-ns-ink)}
.swei-ns-toc-list a:hover{color:var(--swei-ns-brand)}
/* Keep the article sidebar in view, bounded by the article row (not the footer).
   Long contents remain keyboard-scrollable instead of being clipped. */
@media(min-width:768px){
.swei-ns-sidebar-sticky{
    --swei-ns-sticky-top:calc(100px + var(--wp-admin--admin-bar--height,0px));
    position:sticky;
    top:var(--swei-ns-sticky-top);
    max-height:calc(100vh - var(--swei-ns-sticky-top) - 20px);
    max-height:calc(100dvh - var(--swei-ns-sticky-top) - 20px);
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-gutter:stable;
}
.swei-ns-sidebar-sticky:focus-visible{outline:2px solid var(--swei-ns-brand);outline-offset:4px}
}
/* Article-only mobile/tablet flow: title/date, one TOC, body, then latest news. */
@media (max-width:1024px) {
    .swei-ns-article,
    .swei-ns-sidebar { width:100%; padding-left:15px; padding-right:15px; }
    .swei-ns-sidebar { margin-top:40px; }
    .swei-ns-sidebar-sticky { position:static; max-height:none; overflow-y:visible; scrollbar-gutter:auto; }
    .swei-ns-article > .swei-ns-toc { margin:0 0 32px; }
}
/* Native article TOC controls; reuse the public site's single double-arrow icon. */
.swei-news-single #swei-ns-toc-title{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.swei-news-single #swei-ns-toc-title>span{min-width:0}
.swei-news-single .swei-ns-toc-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;color:var(--swei-ns-ink);cursor:pointer;transform:none}
.swei-news-single .swei-ns-toc-toggle::after{content:'';display:block;width:18px;height:18px;background:currentColor;-webkit-mask:var(--swei-double-arrow) center/contain no-repeat;mask:var(--swei-double-arrow) center/contain no-repeat;transform:rotate(90deg);transition:transform .2s ease;pointer-events:none}
.swei-news-single .swei-ns-toc-toggle[aria-expanded="true"]::after{transform:rotate(-90deg)}
.swei-news-single .swei-ns-toc-toggle:hover,.swei-news-single .swei-ns-toc-toggle:focus-visible{background:transparent;color:var(--swei-ns-brand)}
.swei-news-single .swei-ns-toc-toggle:focus-visible{outline:2px solid var(--swei-ns-brand);outline-offset:2px}
.swei-news-single .swei-ns-toc-toggle:active{color:var(--swei-ns-brand);opacity:.75}
.swei-news-single .swei-ns-toc [hidden]{display:none!important}
.swei-news-single .swei-ns-toc-list a[aria-current="location"]{color:var(--swei-ns-brand);text-decoration:underline;text-underline-offset:3px}
.swei-news-single .swei-ns-toc-list li.is-current::marker{color:var(--swei-ns-brand)}
@media(prefers-reduced-motion:reduce){.swei-news-single .swei-ns-toc-toggle::after{transition:none}}

/* Article sidebar scrollbar matches the header product-category scrollbar. */
.swei-news-single .swei-ns-sidebar-sticky{scrollbar-color:var(--swei-brand,#c62330) #e2e4e3}
@supports selector(::-webkit-scrollbar){
.swei-news-single .swei-ns-sidebar-sticky{scrollbar-width:auto;scrollbar-color:auto}
.swei-news-single .swei-ns-sidebar-sticky::-webkit-scrollbar{width:6px;height:6px}
.swei-news-single .swei-ns-sidebar-sticky::-webkit-scrollbar-track{background:#e2e4e3}
.swei-news-single .swei-ns-sidebar-sticky::-webkit-scrollbar-thumb{background:var(--swei-brand,#c62330);border-radius:3px}
.swei-news-single .swei-ns-sidebar-sticky::-webkit-scrollbar-button{display:none;width:0;height:0}
}
