/* Woiya Design v2 — RC2 Preview 7
 * Runtime conflict + typography/geometry system pass.
 * This file is deliberately last in the Theme asset order.
 */
:root{
  --w2-p7-shell:1100px;
  --w2-p7-product:1120px;
  --w2-p7-reading:700px;
  --w2-p7-ink:#12161b;
  --w2-p7-muted:#697586;
  --w2-p7-border:#e7ebef;
  --w2-p7-soft:#f7f9fb;
}
body.theme-woiya{font-size:14px!important;line-height:1.58!important;color:var(--w2-p7-ink)!important}
body.theme-woiya .w2-container,
body.theme-woiya .tech-shell{max-width:var(--w2-p7-shell)!important}
body.theme-woiya .w2rc2-product-page .tech-shell{max-width:var(--w2-p7-product)!important}

/* Header scale: logo is a strong brand anchor; nav remains compact. */
body.theme-woiya .w2-header-row.t26-header-inner{grid-template-columns:auto minmax(0,1fr) minmax(180px,210px)!important;gap:11px!important}
body.theme-woiya .w2-logo.t26-logo{padding:1px!important}
body.theme-woiya .w2-logo.t26-logo img,
body.theme-woiya .w2-header.is-scrolled .w2-logo img{max-width:150px!important;max-height:50px!important}
body.theme-woiya .w2-primary-nav>a,
body.theme-woiya .w2-nav-more>summary{font-size:12.5px!important;font-weight:700!important;padding:0 7px!important}
body.theme-woiya .w2-primary-nav>a::after,
body.theme-woiya .w2-nav-more>summary::after{height:1px!important;left:8px!important;right:8px!important}
body.theme-woiya .w2-header-search{max-width:204px!important;height:31px!important}
body.theme-woiya .w2-header-search input{height:29px!important;font-size:11px!important}
body.theme-woiya .w2-trending-inner{gap:12px!important}
body.theme-woiya .w2-trending-label,
body.theme-woiya .w2-trending-track a{font-size:10px!important}
body.theme-woiya .w2-trending-track{gap:14px!important}

/* Global display scale: compact does not mean tiny, utility pages do not use hero-sized text. */
body.theme-woiya .tech-kicker{font-size:9px!important;letter-spacing:.11em!important;font-weight:800!important}
body.theme-woiya .w2-tech-heading h2{font-size:21px!important;line-height:1.12!important;letter-spacing:-.025em!important}
body.theme-woiya .tech-count{font-size:10.5px!important}
body.theme-woiya .tech-breadcrumb{font-size:10.5px!important}

/* Homepage: list-first, balanced against the header scale. */
body.theme-woiya .w2p4-hero-lead .w2p4-hero-copy strong{font-size:24px!important;line-height:1.08!important;letter-spacing:-.028em!important}
body.theme-woiya .w2p4-hero-copy strong{font-size:14px!important;line-height:1.18!important}
body.theme-woiya .w2p4-hero-kicker{font-size:8px!important}
body.theme-woiya .w2p4-section-head h2{font-size:19px!important;line-height:1.15!important}
body.theme-woiya .w2p4-feed-list{background:#fff!important;border-top:1px solid var(--w2-p7-border)!important}
body.theme-woiya .w2p4-feed-row{grid-template-columns:148px minmax(0,1fr)!important;gap:14px!important;padding:10px 0!important;border:0!important;border-bottom:1px solid var(--w2-p7-border)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.theme-woiya .w2p4-feed-media{width:148px!important;height:84px!important;border-radius:4px!important;background:#f2f4f6!important}
body.theme-woiya .w2p4-feed-body{padding:0!important}
body.theme-woiya .w2p4-feed-tag{font-size:9px!important;padding:1px 5px!important;margin-bottom:4px!important;background:#f3f5f7!important}
body.theme-woiya .w2p4-feed-row h3{font-size:14px!important;line-height:1.3!important;margin:0 0 5px!important}
body.theme-woiya .w2p4-feed-meta{font-size:10px!important}
body.theme-woiya .w2p4-sidebox{border-radius:6px!important;box-shadow:none!important;border-color:var(--w2-p7-border)!important}
body.theme-woiya .w2p4-sidebox-head h3{font-size:12.5px!important}
body.theme-woiya .w2p4-pick-list a{font-size:11.5px!important;line-height:1.38!important}

/* Pack-owned home modules: product image is the visual, text stays small. */
body.theme-woiya.home-page--woiya .tech-home-slot--theme-woiya .tech-home-slot__title{font-size:18px!important}
body.theme-woiya.home-page--woiya .tech-home-slot--theme-woiya .tech-home-device h3{font-size:11.5px!important;line-height:1.25!important}
body.theme-woiya.home-page--woiya .tech-home-slot--theme-woiya .tech-home-device__meta{font-size:9.5px!important}
body.theme-woiya.home-page--woiya .tech-home-slot--theme-woiya .tech-home-brand img{max-height:20px!important;max-width:62px!important}

/* /brands: utility directory, not a landing-page billboard. */
body.theme-woiya.woiya-tech-brands .w2-directory-hero{padding:16px 0 13px!important}
body.theme-woiya.woiya-tech-brands .w2-directory-hero h1{font-size:29px!important;line-height:1.06!important;letter-spacing:-.032em!important;margin:7px 0 4px!important}
body.theme-woiya.woiya-tech-brands .w2-directory-hero p{font-size:12px!important;line-height:1.5!important;max-width:650px!important}
body.theme-woiya.woiya-tech-brands .w2-tech-section{padding:20px 0!important}
body.theme-woiya.woiya-tech-brands .w2-tech-section--soft{padding:22px 0 28px!important}
body.theme-woiya.woiya-tech-brands .tech-brand-grid{gap:9px!important}
body.theme-woiya.woiya-tech-brands .tech-brand-card{min-height:56px!important;padding:9px 12px!important;border-radius:6px!important}
body.theme-woiya.woiya-tech-brands .tech-brand-card__name{font-size:13.5px!important}
body.theme-woiya.woiya-tech-brands .tech-brand-card>span:not(.tech-brand-card__logo):not(.tech-brand-card__name){font-size:10px!important}
body.theme-woiya.woiya-tech-brands .tech-brand-card__logo img{max-height:20px!important;max-width:64px!important}
body.theme-woiya.woiya-tech-brands .tech-device-grid{gap:11px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.theme-woiya.woiya-tech-brands .tech-device-card__media{aspect-ratio:4/3!important;padding:15px!important}
body.theme-woiya.woiya-tech-brands .tech-device-card__body{padding:11px 12px 13px!important}
body.theme-woiya.woiya-tech-brands .tech-device-card__body h3{font-size:14px!important;line-height:1.25!important;margin:7px 0 5px!important}
body.theme-woiya.woiya-tech-brands .tech-device-card__body p{font-size:10.5px!important;line-height:1.45!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.theme-woiya.woiya-tech-brands .tech-device-card__meta{font-size:9.5px!important}

/* Brand detail: logo-led identity; brand name must not overpower site chrome. */
body.theme-woiya.woiya-tech-brand .w2-brand-hero{padding:14px 0 0!important}
body.theme-woiya.woiya-tech-brand .w2-brand-hero__grid{grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;padding:10px 0!important}
body.theme-woiya.woiya-tech-brand .w2-brand-identity{gap:12px!important}
body.theme-woiya.woiya-tech-brand .w2-brand-logo{width:96px!important;height:58px!important;padding:6px!important;border-radius:7px!important}
body.theme-woiya.woiya-tech-brand .w2-brand-logo img{max-width:100%!important;max-height:100%!important;object-fit:contain!important}
body.theme-woiya.woiya-tech-brand .w2-brand-identity h1{font-size:30px!important;line-height:1.02!important;letter-spacing:-.034em!important;margin:3px 0!important}
body.theme-woiya.woiya-tech-brand .w2-brand-identity p{font-size:10.5px!important;line-height:1.4!important;margin:0 0 4px!important}
body.theme-woiya.woiya-tech-brand .w2-brand-links a{font-size:10.5px!important}
body.theme-woiya.woiya-tech-brand .w2-brand-stat{min-width:72px!important;padding-left:16px!important}
body.theme-woiya.woiya-tech-brand .w2-brand-stat strong{font-size:21px!important;line-height:1!important}
body.theme-woiya.woiya-tech-brand .w2-brand-stat span{font-size:8.5px!important}
body.theme-woiya.woiya-tech-brand .w2-brand-series{min-height:34px!important}
body.theme-woiya.woiya-tech-brand .w2-brand-series a{font-size:10.5px!important;padding:9px 10px!important}
body.theme-woiya.woiya-tech-brand .w2-tech-section{padding:20px 0 28px!important}
body.theme-woiya.woiya-tech-brand .w2-brand-filter{margin:8px 0 12px!important}
body.theme-woiya.woiya-tech-brand .tech-device-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important}
body.theme-woiya.woiya-tech-brand .tech-device-card__media{aspect-ratio:4/3!important;padding:15px!important}
body.theme-woiya.woiya-tech-brand .tech-device-card__body{padding:11px 12px 13px!important}
body.theme-woiya.woiya-tech-brand .tech-device-card__body h3{font-size:14px!important;margin:7px 0 5px!important}
body.theme-woiya.woiya-tech-brand .tech-device-card__body p{font-size:10.5px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Product: editorial/product first, database table second. */
body.theme-woiya .w2rc2-product-top{column-gap:28px!important;padding:10px 0 15px!important}
body.theme-woiya .w2rc2-product-gallery{min-height:330px!important;border-radius:8px!important;background:#fff!important}
body.theme-woiya .w2rc2-product-image{min-height:306px!important}
body.theme-woiya .w2rc2-product-image img{max-height:345px!important}
body.theme-woiya .w2rc2-product-brand a{font-size:12px!important}
body.theme-woiya .w2rc2-product-title-row h1{font-size:30px!important;line-height:1.06!important;letter-spacing:-.032em!important}
body.theme-woiya .w2rc2-product-launch{font-size:10px!important}
body.theme-woiya .w2rc2-product-lead{font-size:12.5px!important;line-height:1.55!important}
body.theme-woiya .w2rc2-quick-spec strong{font-size:11px!important}
body.theme-woiya .w2rc2-quick-spec>span:last-child{font-size:9px!important}
body.theme-woiya .w2rc2-overview h2,
body.theme-woiya .w2rc2-section-title h2,
body.theme-woiya .w2rc2-panel h2{font-size:18px!important;line-height:1.16!important}
body.theme-woiya .w2rc2-overview-copy p{font-size:12px!important;line-height:1.56!important}
body.theme-woiya .w2rc2-fact-card{background:#fff!important;border:1px solid var(--w2-p7-border)!important;border-radius:7px!important}
body.theme-woiya .w2rc2-spec-group{border-top:1px solid var(--w2-p7-border)!important;background:#fff!important}
body.theme-woiya .w2rc2-spec-group h3{font-size:10px!important;letter-spacing:.05em!important;background:#f5f7f9!important;padding:7px 10px!important}
body.theme-woiya .w2rc2-spec-row{font-size:10.5px!important;line-height:1.42!important;background:#fff!important;border-bottom:1px solid #eef1f3!important;padding:7px 10px!important}
body.theme-woiya .w2rc2-spec-row:nth-child(even){background:#fff!important}
body.theme-woiya .w2rc2-spec-row>span{color:#687384!important}
body.theme-woiya .w2rc2-spec-row>strong{font-weight:600!important;color:#20262d!important}
body.theme-woiya .w2p6-source-section{margin-top:18px!important;background:#fbfcfd!important;border:1px solid var(--w2-p7-border)!important}

/* Archive/search/author utility pages share the same display scale. */
body.theme-woiya .w2-archive-header h1,
body.theme-woiya .w2-search-hero h1,
body.theme-woiya .w2-author-profile h1{font-size:30px!important;line-height:1.08!important;letter-spacing:-.03em!important}
body.theme-woiya .w2-section-head h2{font-size:21px!important}

@media(max-width:1000px){
  body.theme-woiya.woiya-tech-brands .tech-device-grid,
  body.theme-woiya.woiya-tech-brand .tech-device-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:767px){
  :root{--w2-p7-shell:100%;--w2-p7-product:100%}
  body.theme-woiya .w2-header-row.t26-header-inner{grid-template-columns:40px minmax(0,1fr) 40px!important}
  body.theme-woiya .w2-logo.t26-logo img,body.theme-woiya .w2-header.is-scrolled .w2-logo img{max-width:120px!important;max-height:46px!important}
  body.theme-woiya .w2p4-hero-lead .w2p4-hero-copy strong{font-size:20px!important}
  body.theme-woiya .w2p4-feed-row{grid-template-columns:116px minmax(0,1fr)!important;gap:10px!important;padding:9px 0!important}
  body.theme-woiya .w2p4-feed-media{width:116px!important;height:70px!important}
  body.theme-woiya .w2p4-feed-row h3{font-size:12.75px!important}
  body.theme-woiya.woiya-tech-brands .w2-directory-hero h1{font-size:27px!important}
  body.theme-woiya.woiya-tech-brands .tech-device-grid,
  body.theme-woiya.woiya-tech-brand .tech-device-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.theme-woiya.woiya-tech-brand .w2-brand-hero__grid{grid-template-columns:1fr!important}
  body.theme-woiya.woiya-tech-brand .w2-brand-stat{display:none!important}
  body.theme-woiya.woiya-tech-brand .w2-brand-logo{width:84px!important;height:52px!important}
  body.theme-woiya.woiya-tech-brand .w2-brand-identity h1{font-size:27px!important}
  body.theme-woiya .w2rc2-product-title-row h1{font-size:25px!important}
}
