
/* Woiya RC2 Preview 6 — Compact Editorial Tech Database refinement */
:root{--w2-p6-shell:1040px;--w2-p6-product:1080px}
body.theme-woiya .w2-container{max-width:var(--w2-p6-shell)!important}
body.theme-woiya .tech-shell{max-width:var(--w2-p6-shell)!important}
body.theme-woiya .w2rc2-product-page .tech-shell{max-width:var(--w2-p6-product)!important}

/* Header cleanup without changing Preview 5 sticky architecture. */
body.theme-woiya .w2-header-row.t26-header-inner{gap:12px!important;grid-template-columns:auto minmax(0,1fr) minmax(180px,214px)!important}
body.theme-woiya .w2-logo.t26-logo img{max-width:148px!important}
body.theme-woiya .w2-primary-nav>a,body.theme-woiya .w2-nav-more>summary{padding:0 7px!important}
body.theme-woiya .w2-primary-nav>a::after,body.theme-woiya .w2-nav-more>summary::after{height:1px!important;left:7px!important;right:7px!important}
body.theme-woiya .w2-header-search{height:32px!important}
body.theme-woiya .w2-header-search input{height:30px!important;font-size:11px!important}
body.theme-woiya .w2-header-search button{width:32px!important;height:32px!important}
body.theme-woiya .w2-trending{opacity:.97}
body.theme-woiya .w2-trending-track{gap:14px!important}

/* Homepage feed: list first, not gray cards. */
body.theme-woiya .w2p4-main-grid{grid-template-columns:minmax(0,1fr) 250px!important;gap:24px!important;align-items:start}
body.theme-woiya .w2p4-feed-list{background:#fff!important;border-top:1px solid #e8ebef!important}
body.theme-woiya .w2p4-feed-row{display:grid!important;grid-template-columns:145px minmax(0,1fr)!important;gap:13px!important;align-items:center!important;padding:11px 0!important;border:0!important;border-bottom:1px solid #eceff2!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.theme-woiya .w2p4-feed-media{width:145px!important;height:82px!important;border-radius:5px!important;overflow:hidden!important;background:#f2f4f7!important}
body.theme-woiya .w2p4-feed-media img{width:100%!important;height:100%!important;object-fit:cover!important}
body.theme-woiya .w2p4-feed-body{padding:0!important;min-width:0!important}
body.theme-woiya .w2p4-feed-tag{display:inline-flex!important;margin-bottom:4px!important;padding:2px 5px!important;border-radius:999px!important;background:#f2f4f7!important;color:#667085!important}
body.theme-woiya .w2p4-feed-row h3{font-size:14px!important;line-height:1.28!important;margin:0 0 5px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.theme-woiya .w2p4-feed-meta{font-size:10px!important;color:#7a8493!important}
body.theme-woiya .w2p4-sidebar{width:auto!important}
body.theme-woiya .w2p4-sidebox{border:0!important;border-top:2px solid #101828!important;border-radius:0!important;padding:10px 0 0!important;background:#fff!important;box-shadow:none!important;margin-bottom:18px!important}
body.theme-woiya .w2p4-sidebox-head{padding:0 0 8px!important;border:0!important}
body.theme-woiya .w2p4-pick-list li{padding:8px 0!important;border-top:1px solid #edf0f3!important}.w2p4-pick-list li:first-child{border-top:0!important}
body.theme-woiya .w2p6-side-link{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid #edf0f3;color:#151922;text-decoration:none;font-size:11px}
body.theme-woiya .w2p6-topic-list{display:flex;gap:6px;flex-wrap:wrap}.w2p6-topic-list a{padding:4px 7px;border:1px solid #e4e7ec;border-radius:999px;color:#475467;font-size:10px;text-decoration:none;background:#fff}

/* Tech slot stays compact; brand logo has room when present. */
body.theme-woiya.home-page--woiya .tech-home-slot--theme-woiya{margin-top:24px!important;margin-bottom:18px!important}
body.theme-woiya.home-page--woiya .tech-home-brand img{max-height:20px!important;max-width:58px!important;object-fit:contain!important}

/* Brand directory: utility page, not a giant landing hero. */
body.theme-woiya.woiya-tech-brands .w2-directory-hero{padding:18px 0 14px!important;border-bottom:1px solid #edf0f2!important}
body.theme-woiya.woiya-tech-brands .w2-directory-hero h1{font-size:30px!important;line-height:1.05!important;margin:8px 0 5px!important}
body.theme-woiya.woiya-tech-brands .w2-directory-hero p{max-width:680px!important;font-size:12.5px!important;margin:0!important}
body.theme-woiya.woiya-tech-brands .w2-tech-section{padding:22px 0!important}
body.theme-woiya.woiya-tech-brands .w2-tech-section--soft{padding:24px 0 30px!important}
body.theme-woiya.woiya-tech-brands .w2-tech-heading{margin-bottom:12px!important}
body.theme-woiya.woiya-tech-brands .tech-brand-grid{gap:9px!important}
body.theme-woiya.woiya-tech-brands .tech-brand-card{min-height:58px!important;padding:9px 11px!important;border-radius:7px!important}
body.theme-woiya.woiya-tech-brands .tech-brand-card__logo img{max-height:22px!important;max-width:62px!important}
body.theme-woiya.woiya-tech-brands .tech-device-grid{gap:11px!important}
body.theme-woiya.woiya-tech-brands .tech-device-card{min-height:0!important}

/* Brand detail: logo-led compact identity. */
body.theme-woiya.woiya-tech-brand .w2-brand-hero{padding:16px 0 0!important}
body.theme-woiya.woiya-tech-brand .w2-brand-hero__grid{grid-template-columns:minmax(0,1fr) auto!important;gap:18px!important;padding:12px 0!important;align-items:center!important}
body.theme-woiya.woiya-tech-brand .w2-brand-identity{gap:14px!important;align-items:center!important}
body.theme-woiya.woiya-tech-brand .w2-brand-logo{width:110px!important;height:66px!important;padding:7px!important;border-radius:8px!important}
body.theme-woiya.woiya-tech-brand .w2-brand-identity h1{font-size:34px!important;line-height:1!important;margin:4px 0!important}
body.theme-woiya.woiya-tech-brand .w2-brand-identity p{font-size:11px!important;margin:0 0 5px!important}
body.theme-woiya.woiya-tech-brand .w2-brand-stat{min-width:80px!important;padding-left:20px!important}.w2-brand-stat strong{font-size:24px!important}.w2-brand-stat span{font-size:9px!important}
body.theme-woiya.woiya-tech-brand .w2-brand-series{margin-top:2px!important;padding:0!important;min-height:38px!important}
body.theme-woiya.woiya-tech-brand .w2-tech-section{padding:24px 0 30px!important}
body.theme-woiya.woiya-tech-brand .w2-brand-filter{margin:10px 0 14px!important}
body.theme-woiya.woiya-tech-brand .tech-device-grid{gap:11px!important}

/* Product: editorial/image-first, less database dashboard. */
body.theme-woiya .w2rc2-product-breadcrumb{margin-bottom:10px!important}
body.theme-woiya .w2rc2-product-top{grid-template-columns:minmax(0,42%) minmax(0,58%)!important;column-gap:26px!important;row-gap:16px!important;padding:10px 0 16px!important;align-items:center!important}
body.theme-woiya .w2rc2-product-top:has(.w2rc2-coverage-sidebar){grid-template-columns:minmax(0,38%) minmax(0,42%) minmax(190px,20%)!important;align-items:start!important}
body.theme-woiya .w2rc2-product-gallery{min-height:320px!important;background:#fff!important;border:1px solid #edf0f2!important;border-radius:9px!important;padding:8px!important}
body.theme-woiya .w2rc2-product-image{min-height:300px!important}.w2rc2-product-image img{max-height:330px!important;object-fit:contain!important}
body.theme-woiya .w2rc2-product-summary{padding:4px 0!important}
body.theme-woiya .w2rc2-product-title-row h1{font-size:29px!important}
body.theme-woiya .w2rc2-product-lead{font-size:12.5px!important;line-height:1.55!important;max-width:570px!important}
body.theme-woiya .w2rc2-quick-specs{border-top:1px solid #eceff2!important;border-bottom:1px solid #eceff2!important;margin-top:12px!important}
body.theme-woiya .w2rc2-overview{grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr)!important;gap:18px!important;padding:18px 0!important}
body.theme-woiya .w2rc2-fact-card{background:#fafbfc!important;border:1px solid #eceff2!important;border-radius:8px!important;padding:10px 12px!important}
body.theme-woiya .w2rc2-commerce{gap:10px!important}.w2rc2-panel{background:#fff!important;border:1px solid #e6e9ed!important;border-radius:8px!important;padding:12px!important}
body.theme-woiya .w2rc2-spec-section{margin-top:20px!important}
body.theme-woiya .w2rc2-spec-group{border-top:1px solid #e6e9ed!important;background:#fff!important}.w2rc2-spec-group h3{background:#f8f9fa!important;border:0!important;padding:8px 10px!important;font-size:10px!important;letter-spacing:.04em!important}.w2rc2-spec-row{padding:7px 10px!important;border-top:1px solid #f0f2f4!important;background:#fff!important}.w2rc2-spec-row:nth-child(even){background:#fff!important}
body.theme-woiya .w2rc2-product-content{grid-template-columns:1fr!important;max-width:900px!important}
body.theme-woiya .w2rc2-product-sidecol{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important}
body.theme-woiya .w2p6-source-section{margin-top:24px!important;border-top:1px solid #e7eaee!important;padding-top:16px!important}.w2p6-source-section a{display:inline-flex!important;flex-direction:column!important;margin:0 12px 10px 0!important;padding:8px 10px!important;border:1px solid #e7eaee!important;border-radius:7px!important;min-width:180px!important}

/* Article: minor polish only. */
body.theme-woiya .w2-article-header h1{font-size:clamp(30px,3.2vw,38px)!important;line-height:1.06!important}
body.theme-woiya .w2-article-featured{max-width:940px!important;margin-top:12px!important}
body.theme-woiya .w2-article-byline{margin-top:10px!important}

@media(max-width:900px){body.theme-woiya .w2p4-main-grid{grid-template-columns:1fr!important}.w2p4-sidebar{position:static!important}.w2rc2-product-top,.w2rc2-product-top:has(.w2rc2-coverage-sidebar){grid-template-columns:1fr!important}.w2rc2-product-gallery{min-height:260px!important}.w2rc2-product-image{min-height:240px!important}.w2rc2-product-content{max-width:none!important}}
@media(max-width:767px){:root{--w2-p6-shell:100%}body.theme-woiya .w2p4-feed-row{grid-template-columns:118px minmax(0,1fr)!important;gap:10px!important;padding:9px 0!important}.w2p4-feed-media{width:118px!important;height:70px!important}.w2p4-feed-row h3{font-size:12.5px!important}.w2rc2-product-gallery{min-height:230px!important}.w2rc2-product-image{min-height:210px!important}.w2rc2-product-sidecol{grid-template-columns:1fr!important}.w2-brand-hero__grid{grid-template-columns:1fr!important}.w2-brand-stat{display:none!important}.w2-brand-logo{width:92px!important;height:56px!important}}
