/* Wspólna skala tekstu i układ listy warsztatowej. */
@media screen {
  body{font-family:"Segoe UI",system-ui,Arial,sans-serif;font-size:19px;line-height:1.75}
  .container{width:min(1440px,calc(100% - 80px))}
  .main-nav{gap:28px}.main-nav a,.header-shop,.menu-toggle{font-size:18px;font-weight:650}
  .eyebrow,.small-label,.footer-label{font-size:13px;letter-spacing:.09em}
  .text-link,.button{font-size:17px}.button{padding:14px 22px}
  .lead,.page-header .lead,.brand-hero .lead,.manual-header .lead{font-size:23px;line-height:1.75;max-width:1100px;color:var(--muted)}
  .page-header h1{font-size:clamp(34px,3.3vw,49px);line-height:1.2;max-width:1200px}
  .prose{font-family:inherit;font-size:22px;font-weight:500;line-height:1.8;text-align:left}
  .prose p{margin-bottom:1.25em}.prose strong{font-weight:700}
  .prose h2,.product-section .prose h2{font-size:32px;line-height:1.3}
  .prose h3{font-size:25px;line-height:1.4}.prose h4{font-size:22px}
  .prose table{font-size:17px;line-height:1.7}.prose pre{font-size:15px;line-height:1.75;font-weight:400}
  .prose p:has(>em:only-child){font-size:17px;line-height:1.7}
  .simple-page>.prose{max-width:none}.simple-page{padding-bottom:70px}
  .simple-page .prose h2{border-left:5px solid var(--accent);padding-left:18px}
  .simple-page .prose h2:nth-of-type(2){border-color:#9b4c17}
  .simple-page .prose h2:nth-of-type(3){border-color:#27664e}
  .simple-page .prose p{max-width:1200px}
  .article-header{max-width:none}.article-header h1,.article-header .lead{max-width:1120px}
  .article-layout{grid-template-columns:minmax(0,1fr) 250px;grid-template-areas:"content toc";gap:44px}
  .article-document{grid-area:content;max-width:none;text-align:left}.toc-column{grid-area:toc}
  .article-body{font-size:22px}.article-body h2{color:var(--ink)}
  .toc{background:#eef3f8;border-color:#9aabbd;font-size:15px}.toc summary{font-size:13px;letter-spacing:.04em}.toc-download{font-size:15px}
  .back-link,.article-byline,.article-byline>div>span,.print-button{font-size:14px}
  .article-takeaway{background:#fcf1d9;border-left-color:#966214}.article-takeaway p{font-size:20px;color:var(--ink)}
  .article-takeaway .eyebrow,.takeaway-tags span{font-size:13px}.takeaway-tags span{color:#614414;border-color:#b39661}
  .article-body details{background:#f6f8fb;border-color:#aab6c5}
  .article-body img[src$="wkladki-z007.jpg"],.article-body img[src$="narzedzie-z015.jpg"],.article-body img[src$="drv8833-przod.jpg"],.article-body img[src$="drv8833-piny.jpg"]{max-width:660px;display:block}
  .article-body img[src$="wymiary-insertu.svg"],.article-body img[src$="montaz-insertu.svg"],.article-body img[src$="pary-cewek.svg"]{max-height:none;max-width:860px;display:block}
  .filter-bar{align-items:flex-start;gap:22px;flex-wrap:wrap;border-color:#aab6c5}
  .filter-buttons{gap:10px}.filter-chip{font-size:16px;padding:9px 16px;border-color:#9baabb;font-weight:600}
  .filter-chip:hover{background:#e7edf5}.filter-chip.active{background:#173e63;color:#fff}
  .search-box{min-width:300px;background:white;border-color:#7c8d9f;padding:10px 14px}.search-box input{font-size:18px}
  .result-count{font-size:16px;color:var(--muted)}
  .product-card h3{font-size:18px;line-height:1.5}.product-card .text-link{font-size:16px}
  .product-card .small-label{font-size:13px}.product-card{border-color:#b6c0cc}
  .product-summary,.product-benefits>div>p:not(.eyebrow),.benefit-list,.kit-section p,.manual-banner p,.diy-note p,.product-warnings,.manual-help{font-size:20px;line-height:1.8}
  .product-id,.purchase-note,.product-section-nav,.gallery-hint,.manual-actions,.product-toc{font-size:16px}
  .product-toc{background:#eef3f8;border-color:#aab6c5;gap:14px}
  .brand-story-layout>div>p,.brand-principles p,.owner-section>div>p,.product-paths p{font-size:20px;line-height:1.8}
  .brand-story-layout>div>p.brand-story-lead{font-size:27px}.brand-principles h3{font-size:20px}
  .brand-signature,.stage-label,.stage-secondary>span,.product-paths span{font-size:12px}
  .stage-caption strong{font-size:20px}.stage-caption span{font-size:17px}
  .owner-search label,.owner-search input{font-size:18px}.owner-search p{font-size:16px}
  .reading-list strong{font-size:21px}.reading-list span{font-size:14px}
  .qr-page>p:not(.eyebrow),.qr-links>a:not(.button),.qr-reading a{font-size:19px}.qr-reminder{font-size:16px!important}
  .footer-top p,.footer-top>div:not(:first-child)>a{font-size:17px;line-height:1.7}.footer-bottom{font-size:14px}
  .brand-story{background:#f4efe5}.home-knowledge{background:#edf4f0}
  .product-paths>a:first-child{background:#eaf1f9;border-color:#abbcd0}.product-paths>a:nth-child(2){background:#fbf0dd;border-color:#c8b28a}
  .owner-search{background:#f1f5ee;border:1px solid #adc0a2}
  .blog-header{padding-bottom:36px}.blog-header .lead{max-width:1180px;color:var(--ink)}
  .blog-intro{border-left:5px solid #a36615;padding:4px 0 4px 24px;max-width:1180px;font-size:20px;line-height:1.8}
  .blog-intro p{margin:0 0 15px}.blog-intro .blog-signature{font-size:16px;font-weight:650;color:#68430e;margin:0}
  .blog-listing .post-grid{display:flex;flex-direction:column;gap:16px}
  .blog-listing .post-card{--row-accent:#235b80;--row-bg:#e9f2f9;display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px;padding:20px;border:1px solid #b4c1ce;border-left:5px solid var(--row-accent);border-radius:10px;background:#fff}
  .blog-listing .post-card[data-category="Projekty"]{--row-accent:#28684b;--row-bg:#e8f3e9}
  .blog-listing .post-card[data-category="Podstawy"]{--row-accent:#915216;--row-bg:#fcf0d8}
  .blog-listing .post-card[data-category="Poradnik techniczny"]{--row-accent:#235b80;--row-bg:#e9f2f9}
  .blog-listing .post-card:nth-child(3n+2){background:#fafbf8}
  .blog-listing .post-card:hover{border-color:var(--row-accent);box-shadow:0 3px 12px #14263810}
  .blog-listing .post-picture{width:170px;aspect-ratio:1.35;align-self:center;padding:12px;background:var(--row-bg);border-radius:8px}
  .blog-listing .post-picture img{width:100%;height:100%;mix-blend-mode:normal;object-fit:contain}
  .blog-listing .post-copy{padding:0;min-width:0}.blog-listing .post-copy>.small-label{font-size:13px;color:var(--row-accent);letter-spacing:.025em;font-weight:700}
  .blog-listing .post-copy h3{font-size:24px;line-height:1.35;margin:7px 0 8px;letter-spacing:-.02em}
  .blog-listing .post-copy p{font-size:17px;line-height:1.6;color:#3c4c5d;margin-bottom:10px}
  .blog-listing .post-card-bottom{padding:0;justify-content:flex-start;gap:22px;margin-top:0}
  .blog-listing .post-card-bottom time{font-size:13px;color:#465669}.blog-listing .post-card-bottom .text-link{font-size:15px;color:var(--row-accent)}
  .blog-listing .type-cover{justify-content:center;gap:10px}.blog-listing .type-cover strong{font-size:25px;overflow-wrap:anywhere;letter-spacing:-.02em;color:var(--row-accent)}
  .blog-listing .type-cover span{font-size:9px;letter-spacing:.04em}.blog-listing .type-cover span:last-child{display:none}
}
@media screen and (max-width:1000px){
  .header-inner{gap:20px}.main-nav{gap:20px}.main-nav a,.header-shop{font-size:16px}
  .article-layout{gap:26px;grid-template-columns:minmax(0,1fr) 220px}
  .brand-hero h1{font-size:52px}.brand-hero .lead{font-size:21px}
}
@media screen and (max-width:800px){
  .container{width:calc(100% - 48px)}
  .article-layout{grid-template-columns:1fr;grid-template-areas:"toc" "content"}
  .main-nav a{font-size:19px}.menu-toggle{font-size:18px}
  .article-header h1{font-size:39px}.blog-listing .post-card{grid-template-columns:125px minmax(0,1fr);gap:18px;padding:18px}
  .blog-listing .post-picture{width:125px}.blog-listing .post-copy h3{font-size:23px}
}
@media screen and (max-width:580px){
  .container{width:calc(100% - 36px)}
  .prose,.article-body{font-size:20px;line-height:1.8}.prose h2,.product-section .prose h2{font-size:28px}.prose h3{font-size:23px}.prose h4{font-size:21px}
  .prose pre{font-size:14px}.prose table{font-size:16px}
  .lead,.page-header .lead,.article-header .lead,.manual-header .lead{font-size:21px}
  .page-header h1,.article-header h1{font-size:34px}.simple-page .prose h2{padding-left:12px}
  .article-takeaway p{font-size:19px}.article-byline{flex-wrap:wrap}.article-byline>div>span{font-size:13px}
  .button,.text-link{font-size:16px}.product-card h3{font-size:16px}.product-card .text-link{font-size:14px}
  .product-grid{gap:14px}.product-card-copy{padding:14px}.product-card .small-label{font-size:12px}
  .brand-hero .button-row>.text-link{font-size:16px}.brand-principles p{font-size:18px}
  .owner-search{padding:22px}.reading-list strong{font-size:20px}
  .blog-intro{font-size:19px;padding-left:17px}.blog-listing .post-card{display:grid;grid-template-columns:1fr;padding:18px;gap:12px}
  .blog-listing .post-picture{display:none}.blog-listing .post-copy h3{font-size:23px}.blog-listing .post-copy p{font-size:17px}
  .blog-listing .post-card-bottom{gap:14px;flex-wrap:wrap}
  .filter-chip{font-size:15px;padding:8px 12px}.search-box{min-width:0;width:100%}
  .footer-top{gap:25px}.footer-top>div:not(:first-child)>a{font-size:16px}
}
@media screen{
  .blog-listing .post-card[data-category="Programowanie"]{--row-accent:#67458b;--row-bg:#f0eafa}
  .blog-listing .post-card[data-category="Diagnostyka"]{--row-accent:#974534;--row-bg:#fbece6}
  .blog-listing .post-card[data-category="Sprzęt"]{--row-accent:#196d70;--row-bg:#e4f3f1}
}
@media screen{
  .section-heading>.text-link{font-size:17px}.section-heading .eyebrow{font-size:13px}
  .product-hero .button{font-size:16px}.download-card strong{font-size:18px}.download-card>span:not(.download-icon){font-size:16px}.download-card b{font-size:14px}
  .tags span{font-size:13px}.article-document .notice{font-size:17px}
}
@media screen and (max-width:800px){
  .menu-toggle:not([hidden]){font-size:18px;min-height:44px}
  .main-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}
  .main-nav a{white-space:normal;padding:12px 0}
}

/* Jednolite przyciski nawigacji i spokojniejsza skala strony głównej. */
@media screen{
 .header-inner{gap:20px}.main-nav{gap:8px}
 .main-nav a{--nav-bg:#32485e;--nav-ink:#24374a;background:var(--nav-bg);color:#fff;border:1px solid var(--nav-bg);border-radius:9px;padding:9px 13px;font-size:17px;line-height:1.5;min-height:44px;text-align:center}
 .main-nav a:hover,.main-nav a[aria-current]{background:var(--nav-ink);color:#fff;border-color:var(--nav-ink)}
 .main-nav a[aria-current]:after{display:none}.main-nav a[aria-current]{box-shadow:0 3px 0 #14263830}
 .main-nav a:focus-visible,.header-shop:focus-visible{outline:3px solid #142638;outline-offset:4px}
 .header-shop{background:#32485e;color:#fff;border:1px solid #32485e;font-size:17px;padding:9px 14px;border-radius:9px;line-height:1.5;min-height:44px}.header-shop span{margin-left:6px}.header-shop:hover{background:#24374a;color:#fff}
 .home-page .brand-hero-layout{min-height:0;padding-block:38px;gap:45px}
 .home-page .brand-hero h1{font-size:clamp(40px,4.5vw,62px);margin-bottom:20px}
 .home-page .brand-hero .lead{font-size:21px;line-height:1.65;margin-bottom:22px}
 .home-page .brand-product-stage{min-height:0;padding:20px}.home-page .stage-main{height:270px;margin-bottom:12px}
 .home-page .stage-secondary{width:150px;right:-12px;top:85px}.home-page .stage-secondary img{height:125px}
 .home-page .brand-signature{margin-top:24px;padding-top:12px}
 .home-page .section,.home-page .brand-story{padding-block:50px}
 .home-page .section-heading{margin-bottom:24px}.home-page .brand-story-layout{gap:50px}
 .home-page .brand-story h2{font-size:36px}.home-page .brand-principles{margin-top:22px;padding-top:18px}
 .home-page .product-picture{aspect-ratio:1.6;padding:16px}.home-page .product-picture img{max-height:155px}
 .home-page .reading-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media screen and (min-width:801px) and (max-width:1150px){
 .site-header{height:auto}.header-inner{flex-wrap:wrap;padding-block:12px;gap:12px}
 .main-nav{order:3;width:100%;justify-content:center;margin:0}.header-shop{margin-left:auto}
}
@media screen and (max-width:800px){
 .main-nav{gap:10px}.main-nav a{padding:10px;font-size:17px;white-space:normal}
 .home-page .reading-list{grid-template-columns:1fr}.home-page .brand-hero-layout{gap:28px}
}
@media screen and (max-width:580px){
 .header-inner{gap:8px}.brand img{width:105px;height:auto}.header-shop{font-size:15px;padding:9px 10px}.menu-toggle{margin-left:auto}
 .home-page .brand-hero-layout{padding-block:28px}.home-page .brand-hero h1{font-size:44px}
 .home-page .brand-hero .lead{font-size:20px}.home-page .stage-main{height:215px}
 .home-page .stage-secondary{width:120px;top:70px}.home-page .stage-secondary img{height:95px}
 .home-page .section,.home-page .brand-story{padding-block:34px}
}
