/* Remove redundant left-hand text branding on interior pages only. */
body:not(.home):not(.front-page) .kn-identity > .brand{display:none!important}
body:not(.home):not(.front-page) .kn-identity{justify-content:center;gap:24px}
.kn-category-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,300px);gap:25px;margin-top:25px;margin-bottom:40px;align-items:start}
.kn-category-main{min-width:0}.kn-category-heading{margin-bottom:20px}.kn-category-heading h1{font-size:clamp(26px,3vw,40px);margin:5px 0 12px;color:var(--text,#202020)}.kn-category-eyebrow{color:#b8202d;font-weight:800}.kn-category-description{line-height:1.9}
.kn-category-hero{position:relative;border-radius:18px;overflow:hidden;background:#151515;box-shadow:0 14px 34px #0002;margin-bottom:30px}.kn-category-slide{height:clamp(300px,40vw,490px)}.kn-category-slide[hidden]{display:none!important}.kn-category-slide-link{display:block;position:relative;width:100%;height:100%;color:#fff!important;text-decoration:none!important}.kn-category-slide-image{width:100%;height:100%;object-fit:cover;display:block}.kn-category-no-image{background:linear-gradient(135deg,#4a1118,#a92431,#252525)}.kn-category-slide-link:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.94),rgba(0,0,0,.08) 75%)}.kn-category-slide-content{position:absolute;z-index:1;bottom:50px;right:28px;left:28px;text-align:right}.kn-category-slide-content h2{font-size:clamp(21px,3vw,33px);line-height:1.65;color:#fff;margin:9px 0}.kn-category-slide-content p{font-size:15px;color:#f1f1f1;line-height:1.9;margin:0}.kn-category-pill{display:inline-block;background:#c92532;color:white;padding:5px 16px;border-radius:6px;font-size:13px;font-weight:700}.kn-category-slider-actions{position:absolute;z-index:2;bottom:10px;left:16px;right:16px;display:flex;justify-content:center;align-items:center;gap:12px}.kn-category-slider-actions>button{border:1px solid #fff7;background:#151515cc;color:#fff;border-radius:50%;width:34px;height:34px;cursor:pointer}.kn-category-dots{display:flex;gap:7px}.kn-category-dots button{border:0;background:#ffffff80;width:9px;height:9px;border-radius:50%;padding:0;cursor:pointer}.kn-category-dots button[aria-current=true]{background:#f52e41;width:22px;border-radius:9px}.kn-category-section-title{border-right:5px solid #c92532;padding-right:12px;margin:15px 0 22px;font-size:25px}.kn-category-fallback{background:#fff;padding:15px;border-radius:10px}.kn-category-fallback img{max-width:100%;height:auto}.kn-category-news .archive-grid{margin-bottom:20px}
@media(max-width:900px){.kn-category-layout{grid-template-columns:minmax(0,1fr)}.kn-category-layout>.sidebar{width:100%}}@media(max-width:600px){.kn-category-slide{height:320px}.kn-category-slide-content{right:15px;left:15px;bottom:45px}.kn-category-slide-content p{display:none}.kn-category-layout{margin-top:15px}.kn-category-hero{border-radius:12px}}
@media(prefers-reduced-motion:reduce){.kn-category-slide{transition:none!important}}

/* Interior page-only changes: homepage intentionally untouched. */
body:not(.home):not(.front-page) .kn-identity>.brand,
body:not(.home):not(.front-page) .kn-owner-stack,
body:not(.home):not(.front-page) .breaking,
body:not(.home):not(.front-page) .site-footer .kn-footer-grid,
body:not(.home):not(.front-page) .site-footer .kn-footer-about{display:none!important}
body:not(.home):not(.front-page) .kn-identity{display:flex!important;justify-content:center!important;align-items:center!important;min-height:115px}
body:not(.home):not(.front-page) .knce-page-identity{text-align:center;width:100%;padding:20px 12px;direction:rtl}
body:not(.home):not(.front-page) .knce-page-identity strong{font-size:clamp(26px,4vw,49px);line-height:1.65;color:var(--text,#202020);font-weight:900}
body:not(.home):not(.front-page) .knce-footer-credit{display:inline-block;padding:8px 14px;font-size:12px;font-weight:700;opacity:.82}
body:not(.home):not(.front-page) .knce-credit-menu-item{list-style:none}
.knce-ads-sidebar{display:flex;flex-direction:column;gap:14px;min-width:0}
.knce-ads-title{font-size:20px;margin:0;border-right:4px solid #c92330;padding-right:10px}
.knce-ad-card{border:1px solid #ddd;border-radius:12px;overflow:hidden;background:#fff;padding:5px}
.knce-ad-card img{width:100%;height:auto;display:block;border-radius:8px}
.knce-no-ads{min-height:180px;border:1px dashed #ddd;border-radius:12px}

/* v1.2.0 — interior-only brand, footer and pagination polish. */
body:not(.home):not(.front-page) .knce-page-identity{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:0 .35em;padding:18px 14px;border-radius:16px;background:linear-gradient(125deg,color-mix(in srgb,var(--accent,#c92330) 12%,transparent),transparent 75%);border:1px solid color-mix(in srgb,var(--accent,#c92330) 25%,transparent)}
body:not(.home):not(.front-page) .knce-page-identity .knce-page-name{font-size:clamp(26px,3.7vw,48px);color:var(--accent,#c92330);font-weight:900;text-shadow:0 1px 0 #fff3}
body:not(.home):not(.front-page) .knce-page-identity .knce-title-separator{font-size:clamp(22px,3vw,35px);color:var(--text,#252525)}
body:not(.home):not(.front-page) .knce-page-identity .knce-title-brand{font-size:clamp(25px,3.5vw,45px);font-weight:900;color:var(--text,#252525)}
body:not(.home):not(.front-page) .site-footer .kn-footer-grid,body:not(.home):not(.front-page) .site-footer .kn-footer-about,body:not(.home):not(.front-page) .site-footer .footer-widgets{display:none!important}
body:not(.home):not(.front-page) .site-footer .knce-footer-credit{display:inline-flex;align-items:center;justify-content:center;gap:12px;opacity:1;border:1px solid #ffffff3b;background:#ffffff12;border-radius:40px;padding:7px 15px;color:#fff}
body:not(.home):not(.front-page) .site-footer .knce-credit-menu-item{display:flex;align-items:center;justify-content:center;margin:5px 8px}
body:not(.home):not(.front-page) .site-footer .knce-developer-avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;border:2px solid var(--accent,#c92330);flex-shrink:0}
body:not(.home):not(.front-page) .site-footer .knce-credit-text{display:flex;flex-direction:column;text-align:left;line-height:1.35}
body:not(.home):not(.front-page) .site-footer .knce-credit-text small{font:600 11px/1.5 Arial,sans-serif;color:#dedede}
body:not(.home):not(.front-page) .site-footer .knce-credit-text strong{font:800 18px/1.45 Arial,sans-serif;color:#fff}
body:not(.home):not(.front-page) .kn-category-news nav.navigation.pagination{margin:32px auto 25px;display:flex;justify-content:center;background:transparent;color:inherit}
body:not(.home):not(.front-page) .kn-category-news nav.pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;margin:0}
body:not(.home):not(.front-page) .kn-category-news nav.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:9px 14px;border:1px solid color-mix(in srgb,var(--accent,#c92330) 27%,#ddd);border-radius:10px;background:#fff;color:#242424;font-weight:800;text-decoration:none;box-shadow:0 3px 10px #0000000a;transition:background .2s,color .2s,transform .2s}
body:not(.home):not(.front-page) .kn-category-news nav.pagination .page-numbers.current,body:not(.home):not(.front-page) .kn-category-news nav.pagination a.page-numbers:hover{background:var(--accent,#c92330);border-color:var(--accent,#c92330);color:#fff;transform:translateY(-1px)}
body.dark-mode:not(.home):not(.front-page) .kn-category-news nav.pagination .page-numbers{background:#282828;color:#eee;border-color:#555}
body.dark-mode:not(.home):not(.front-page) .kn-category-news nav.pagination .page-numbers.current,body.dark-mode:not(.home):not(.front-page) .kn-category-news nav.pagination a.page-numbers:hover{background:var(--accent,#c92330);color:#fff}
@media(max-width:600px){body:not(.home):not(.front-page) .knce-page-identity{padding:12px 6px}body:not(.home):not(.front-page) .kn-category-news nav.pagination .page-numbers{min-width:38px;min-height:38px;padding:6px 9px}}

/* v1.3.0: informational-page sidebar and category news layout; homepage untouched */
body:not(.home):not(.front-page) .knce-info-page .kn-category-main{min-width:0}
body:not(.home):not(.front-page) .knce-info-page .knce-page-article{background:var(--card,#fff);border:1px solid #e8e8e8;border-radius:16px;padding:clamp(16px,3vw,30px)}
body:not(.home):not(.front-page) .knce-info-page .entry-content{line-height:2.1;overflow-wrap:anywhere}
.knce-news-section{margin:20px 0 28px}.knce-news-section>h3{font-size:clamp(19px,2vw,24px);border-right:4px solid #c82336;padding:5px 13px;margin-bottom:16px;color:var(--text,#202020)}
.knce-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.knce-first-four .knce-news-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.knce-news-card{min-width:0;border:1px solid #e7e7e7;background:var(--card,#fff);border-radius:12px;overflow:hidden;box-shadow:0 3px 12px #0000000a}
.knce-news-link{display:flex;align-items:center;gap:12px;text-decoration:none!important;color:inherit!important;padding:10px;height:100%}
.knce-news-image{width:112px;height:90px;object-fit:cover;border-radius:8px;flex-shrink:0;background:#f4e9ea}
.knce-news-copy{min-width:0}.knce-news-copy h4{font-size:15px;line-height:1.6;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.knce-news-copy p{font-size:12px;line-height:1.7;margin:0;color:#777;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.knce-first-four .knce-news-link{display:block;padding:9px}.knce-first-four .knce-news-image{width:100%;height:125px;margin-bottom:8px}.knce-first-four .knce-news-copy h4{font-size:14px}.knce-first-four .knce-news-copy p{display:none}
.knce-pagination .page-numbers{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;list-style:none;padding:0}.knce-pagination a,.knce-pagination span{display:inline-block;padding:8px 13px;border-radius:8px;background:#fff;border:1px solid #d9b9bd;color:#a21c2b;text-decoration:none}.knce-pagination .current,.knce-pagination a:hover{background:#b91e30;color:#fff;border-color:#b91e30}
@media(max-width:1050px){.knce-first-four .knce-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.knce-news-grid,.knce-first-four .knce-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.knce-news-link,.knce-first-four .knce-news-link{display:block;padding:8px}.knce-news-image,.knce-first-four .knce-news-image{width:100%;height:95px;margin-bottom:7px}.knce-news-copy h4{font-size:13px}.knce-news-copy p{display:none}}

/* v1.4.1: category content cleanup and compact typography; homepage unaffected */
body.category .kn-category-heading,body.category .kn-category-section-title,body.category .kn-category-description{display:none!important}
body.category .kn-category-layout{margin-top:16px}
body.category .knce-news-section>h3{font-size:clamp(15px,1.45vw,18px)!important;line-height:1.55;margin:0 0 12px;padding:3px 10px}
body.category .knce-news-copy h4,body.category .knce-first-four .knce-news-copy h4{font-size:12px!important;line-height:1.55!important;font-weight:700}
body.category .knce-news-copy p{font-size:10px!important;line-height:1.55!important}
body.category .knce-news-link{gap:9px}
@media(max-width:600px){body.category .knce-news-section>h3{font-size:15px!important}body.category .knce-news-copy h4,body.category .knce-first-four .knce-news-copy h4{font-size:11px!important}body.category .knce-news-copy p{font-size:10px!important}}

/* v1.5.0: compact, readable news grid, labeled in-feed ads, refined pagination. */
body.category .knce-first-four .knce-news-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
body.category .knce-first-four .knce-news-image{height:82px;object-fit:cover}
body.category .knce-news-card{min-width:0;overflow:hidden}
body.category .knce-news-link{align-items:flex-start;gap:10px}
body.category .knce-news-copy{min-width:0;overflow:hidden;flex:1}
body.category .knce-news-copy h4{font-size:12px!important;line-height:1.8!important;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;word-break:normal;margin:0!important}
body.category .knce-news-copy p{display:none!important}
body.category .knce-middle-eight .knce-news-image,body.category .knce-last-eight .knce-news-image{width:77px;height:65px;object-fit:cover}
body.category .knce-inline-ad{border:1px solid color-mix(in srgb,var(--accent,#c92330) 35%,#ddd);background:var(--card,#fff)}
body.category .knce-inline-ad .knce-news-link{height:100%}
body.category .knce-inline-ad .knce-news-copy h4{font-size:11px!important;line-height:1.6!important}
body.category .knce-ad-label{display:inline-block;background:#fff0e4;color:#8a3d00;border:1px solid #e8c4a6;border-radius:5px;padding:2px 6px;font:700 10px/1.5 Arial,sans-serif;margin-bottom:5px;direction:rtl}
body.category .knce-pagination{margin:26px 0 35px;clear:both}
body.category .knce-pagination ul.page-numbers{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
body.category .knce-pagination ul.page-numbers li{margin:0;padding:0;list-style:none}
body.category .knce-pagination a.page-numbers,body.category .knce-pagination span.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:39px;min-height:39px;padding:7px 12px;line-height:1.4;border:1px solid #d6b9bc;border-radius:10px;background:var(--card,#fff);color:var(--text,#333);font-weight:700;text-decoration:none;box-shadow:0 2px 7px #0000000c;transition:background .15s ease,color .15s ease}
body.category .knce-pagination span.page-numbers.current,body.category .knce-pagination a.page-numbers:hover,body.category .knce-pagination a.page-numbers:focus-visible{background:var(--accent,#c92330);color:#fff;border-color:var(--accent,#c92330)}
body.category .knce-pagination .dots{border-color:transparent!important;background:transparent!important;box-shadow:none!important}
@media(max-width:1100px){body.category .knce-first-four .knce-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.category .knce-news-grid,body.category .knce-first-four .knce-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.category .knce-news-link{display:block;padding:7px}body.category .knce-middle-eight .knce-news-image,body.category .knce-last-eight .knce-news-image,body.category .knce-first-four .knce-news-image{width:100%;height:85px;margin:0 0 5px}body.category .knce-news-copy h4{font-size:11px!important;line-height:1.75!important}body.category .knce-pagination a.page-numbers,body.category .knce-pagination span.page-numbers{min-width:35px;min-height:35px;padding:6px 9px}}

/* v1.5.1 — Single article only; home and category layout untouched. */
body.single-post .knce-page-identity{padding:12px 18px;min-height:0;gap:0 .3em}
body.single-post .knce-page-identity .knce-page-name{font-size:clamp(18px,2.05vw,27px)!important;line-height:1.7!important;font-weight:800;overflow-wrap:anywhere}
body.single-post .knce-page-identity .knce-title-brand{font-size:clamp(17px,1.8vw,24px)!important;line-height:1.7!important}
body.single-post .knce-page-identity .knce-title-separator{font-size:clamp(17px,1.8vw,23px)!important}
body.single-post .single-article>h1{font-size:clamp(20px,2.2vw,27px);line-height:1.85;overflow-wrap:anywhere}
body.single-post .single-article .featured-image{width:min(290px,80vw);max-width:100%;margin:24px auto 18px;text-align:center;position:relative}
body.single-post .single-article .featured-image>img{width:100%;aspect-ratio:1/1;height:auto;object-fit:cover;border-radius:50%;border:5px solid var(--accent,#cf202e);box-shadow:0 10px 28px rgba(0,0,0,.16);transition:transform .45s ease,box-shadow .45s ease,border-color .45s ease;will-change:transform}
@media(hover:hover) and (prefers-reduced-motion:no-preference){body.single-post .single-article .featured-image:hover>img{transform:scale(1.065) rotate(1.5deg);box-shadow:0 14px 36px rgba(185,20,38,.35),0 0 0 7px rgba(207,32,46,.10);border-color:#e83e4b}}
@media(prefers-reduced-motion:reduce){body.single-post .single-article .featured-image>img{transition:none}}
body.single-post .single-article .featured-image figcaption{margin-top:12px;font-size:12px;line-height:1.8}
@media(max-width:600px){body.single-post .single-article .featured-image{width:min(230px,72vw)}body.single-post .knce-page-identity{padding:10px 8px}}

/* v1.5.2: single-news masthead: preserve original brand art, halve heading size. */
body.single-post .knce-single-header-wrap{display:flex;align-items:center;justify-content:center;gap:clamp(10px,2vw,24px);width:100%;min-width:0;flex-wrap:wrap;direction:rtl}
body.single-post .knce-single-header-art{display:block!important;flex:0 0 auto;width:clamp(120px,23vw,260px);max-width:45%;height:auto}
body.single-post .knce-single-header-art img{display:block;width:100%;height:auto;max-height:105px;object-fit:contain}
body.single-post .knce-single-identity{flex:1 1 230px;min-width:0;max-width:690px;padding:9px 13px!important;text-align:center;direction:rtl}
body.single-post .knce-single-identity .knce-page-name{font-size:clamp(11px,1.05vw,14px)!important;line-height:1.85!important;font-weight:800;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
@media(max-width:600px){body.single-post .knce-single-header-wrap{gap:7px}body.single-post .knce-single-header-art{width:clamp(100px,32vw,150px)}body.single-post .knce-single-identity{flex-basis:150px;padding:6px!important}body.single-post .knce-single-identity .knce-page-name{font-size:11px!important;line-height:1.65!important}}

/* v1.5.3 — One unified, rounded article-title banner with artwork inside its border. */
body.single-post .knce-single-header-wrap{box-sizing:border-box;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:clamp(10px,2vw,22px);padding:clamp(9px,1.5vw,17px);border:1px solid color-mix(in srgb,var(--accent,#c92330) 35%,transparent);border-radius:16px;background:linear-gradient(125deg,color-mix(in srgb,var(--accent,#c92330) 12%,transparent),transparent 78%);overflow:hidden;max-width:100%;box-shadow:0 5px 17px #0000000a}
body.single-post .knce-single-header-wrap .knce-single-header-art{box-sizing:border-box;flex:0 0 clamp(94px,19vw,205px);width:clamp(94px,19vw,205px);max-width:35%;margin:0!important;border-radius:13px;overflow:hidden;align-self:center}
body.single-post .knce-single-header-wrap .knce-single-header-art img{width:100%;height:auto;max-height:105px;object-fit:contain;border-radius:13px}
body.single-post .knce-single-header-wrap .knce-single-identity{box-sizing:border-box;flex:1 1 0;max-width:none;min-width:0;margin:0!important;padding:4px 7px!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:right;justify-content:flex-start}
body.single-post .knce-single-header-wrap .knce-page-name{font-size:clamp(12px,1.25vw,17px)!important;line-height:1.9!important;-webkit-line-clamp:3}
@media(max-width:600px){body.single-post .knce-single-header-wrap{gap:9px;padding:8px;border-radius:13px}body.single-post .knce-single-header-wrap .knce-single-header-art{flex-basis:86px;width:86px;max-width:32%;border-radius:10px}body.single-post .knce-single-header-wrap .knce-single-header-art img{border-radius:10px;max-height:75px}body.single-post .knce-single-header-wrap .knce-single-identity{flex-basis:0;padding:2px!important}body.single-post .knce-single-header-wrap .knce-page-name{font-size:11px!important;line-height:1.8!important}}
