/*
Theme Name: Ranking TOP3
Description: Finansowy motyw blokowy z kafelkami, rankingami i kalkulatorami.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: ranking-top3
*/
.wp-site-blocks{padding-top:0;padding-bottom:0}.site-header{background:#fff;border-bottom:1px solid #e0e6f0;padding:22px max(24px,calc((100vw - 1280px)/2))}.site-header .wp-block-site-title{font-size:24px;font-weight:750;letter-spacing:-1px}.site-header a{text-decoration:none}.site-footer{padding:32px 24px;border-top:1px solid #e0e6f0;color:#64748b}.wp-block-post-content>.alignwide{max-width:1280px}.wp-block-navigation a{font-size:13px;font-weight:600}.front-hero{padding:45px 0 28px}.front-hero h1{font-size:clamp(36px,5vw,60px);line-height:1.04;letter-spacing:-2px;max-width:740px}.front-hero p{max-width:650px}.wp-block-button__link{border-radius:7px;font-size:14px;font-weight:600}.quick-links{gap:16px;padding-bottom:20px}.quick-links .wp-block-column{background:#fff;border:1px solid #e0e6f0;border-radius:10px;padding:20px}.quick-links h3{font-size:17px;margin-top:0}.quick-links p{font-size:12px;color:#64748b}.top3-editor-note{padding:20px;border:1px dashed #2463eb;background:#eef4ff;color:#14213b}.top3-component{max-width:1280px!important;margin-left:auto;margin-right:auto}.top3-component section{padding:26px 0}.top3-component footer{display:none}.top3-component .calculator-section{margin-top:0}.top3-component #rankingi{border:0}.top3-component #kalkulatory{border:0}.wp-block-post-content{padding:0 24px}.top3-demo-bar{padding:9px 20px;text-align:center;background:#fff7dc;color:#77520c;font-size:11px}.top3-downloads{padding:10px 0 35px}.top3-downloads .wp-block-column{border:1px solid #e0e6f0;background:#fff;border-radius:10px;padding:24px}.top3-downloads h3{font-size:20px}.top3-downloads p{font-size:13px}.wp-block-post-content details{max-width:100%}a:focus-visible,button:focus-visible{outline:3px solid #ffad29;outline-offset:3px}

/* Finanse TOP3 — czytelne kafelki i biblioteka arkuszy, v1.1 */
html{scroll-behavior:smooth;scroll-padding-top:32px}
.wp-site-blocks{--top3-ink:#13243d;--top3-muted:#596b83;--top3-line:#dce5f0;--top3-blue:#225ee8}
.site-header{padding-top:20px;padding-bottom:20px;background:#fff}
.site-header .wp-block-site-title a{display:inline-flex;align-items:center;gap:12px;color:#13243d}
.site-header .wp-block-site-title a:before{content:'3';display:grid;place-items:center;width:37px;height:39px;background:#225ee8;color:white;border-radius:10px;font-size:27px;font-weight:800;letter-spacing:-2px}
.site-header .wp-block-navigation a{font-size:14px}
.wp-block-post-content{padding:0 28px}
.top3-demo-bar{border:1px solid #e9dfbd;border-radius:8px;background:#fff9e8;font-size:12px;padding:10px 18px;line-height:1.5;margin-top:26px!important}
.front-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#12233d 0%,#183960 70%,#214c83 100%);border-radius:22px;padding:48px!important;margin-top:24px!important;color:white;box-shadow:0 18px 45px #14243d0b}
.front-hero:after{content:'3';position:absolute;right:38px;top:0;line-height:1.08;font-size:340px;font-weight:850;letter-spacing:-30px;color:#8ab7f529;z-index:-1}
.front-hero h1{color:white;font-size:clamp(34px,4.6vw,56px);font-weight:750;max-width:800px;line-height:1.08;letter-spacing:-2.3px;margin:0 0 22px}
.front-hero>p{color:#d5e3f7;font-size:17px;line-height:1.7;max-width:660px}
.front-hero .wp-block-buttons{gap:12px;margin-top:28px}
.front-hero .wp-block-button__link{background:#fff;color:#17395f;padding:13px 22px;border:1px solid white;font-size:14px;border-radius:9px}
.front-hero .is-style-outline .wp-block-button__link{background:transparent;color:white;border-color:#8aa7cc}
.quick-links{gap:16px!important;margin-top:22px!important;margin-bottom:32px!important}
.quick-links .wp-block-column{position:relative;padding:24px;border-radius:14px;border:1px solid var(--top3-line);box-shadow:0 5px 15px #14243d03}
.quick-links .wp-block-column:before{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#edf3ff;color:#225ee8;font-size:12px;font-weight:750;margin-bottom:16px;content:'01'}
.quick-links .wp-block-column:nth-child(2):before{content:'02'}.quick-links .wp-block-column:nth-child(3):before{content:'03'}
.quick-links h3{font-size:19px;line-height:1.25;margin:0 0 10px!important}
.quick-links p{font-size:14px;line-height:1.6;color:var(--top3-muted);margin:0}
.quick-links a{color:var(--top3-ink);text-decoration:none}.quick-links a:hover{text-decoration:underline;text-underline-offset:4px}
.top3-downloads{margin-top:38px!important;margin-bottom:42px!important;padding:0}
.top3-downloads>h2{font-size:clamp(27px,3vw,36px);line-height:1.15;letter-spacing:-1px;margin-bottom:14px}
.top3-downloads>p{color:var(--top3-muted);max-width:750px}
.top3-downloads .wp-block-columns{gap:18px;margin-top:26px}
.top3-downloads .wp-block-column{padding:26px;border:1px solid var(--top3-line);border-radius:15px;background:white;display:flex;flex-direction:column;align-items:start;box-shadow:0 7px 20px #14243d04}
.top3-downloads .file-label{font-size:11px;font-weight:750;letter-spacing:1px;color:#1d7050;background:#eaf6ef;border-radius:6px;padding:5px 9px;line-height:1.5;margin:0 0 24px}
.top3-downloads h3{font-size:23px;line-height:1.2;letter-spacing:-.5px;margin:0 0 14px}
.top3-downloads .wp-block-column>p:not(.file-label){font-size:14px;color:var(--top3-muted);line-height:1.65;margin:0 0 18px}
.top3-downloads ul{font-size:13px;line-height:1.8;padding-left:19px;color:#405875;margin:0 0 26px}
.top3-downloads .wp-block-buttons{margin-top:auto;width:100%}
.top3-downloads .wp-block-button{width:100%}
.top3-downloads .wp-block-button__link{width:100%;box-sizing:border-box;background:#225ee8;color:white;padding:13px 14px;border-radius:8px;font-size:14px;line-height:1.5}
.top3-downloads .download-note{font-size:13px;color:#596b83;line-height:1.7;border-left:3px solid #b3c9f4;padding-left:16px;max-width:none}
.excel-pro-note{border:1px solid #d6e2f3;background:#edf3fc;border-radius:13px;padding:24px;margin-top:25px}
.excel-pro-note h3{font-size:18px;margin:0 0 8px}.excel-pro-note p{margin:0;font-size:14px;color:#536780}
.top3-faq{margin-bottom:42px!important}.top3-faq>h2{font-size:28px;letter-spacing:-.7px}
.top3-faq details{padding:18px 0;border-top:1px solid var(--top3-line)}.top3-faq summary{cursor:pointer;font-weight:650;font-size:15px;line-height:1.5}.top3-faq details p{font-size:14px;color:var(--top3-muted);line-height:1.7}
.site-footer{margin-top:0;background:white;border-top:1px solid var(--top3-line);padding:34px 28px;color:#596b83}
.site-footer p{max-width:1160px!important;margin-left:auto;margin-right:auto;font-size:13px}.site-footer .wp-block-site-title{max-width:1160px!important}.site-footer a{text-underline-offset:4px}
:where(a,button,input,select,summary):focus-visible{outline:3px solid #e7a22a;outline-offset:4px}
@media(min-width:950px){.front-hero h1{max-width:770px}.front-hero>p{max-width:640px}}
@media(max-width:780px){.wp-block-post-content{padding:0 20px}.front-hero{padding:32px!important;border-radius:16px}.front-hero:after{font-size:270px;right:20px;top:24px;color:#8ab7f514}.front-hero h1{letter-spacing:-1.4px}.front-hero>p{font-size:15px}.quick-links .wp-block-column{padding:21px}.top3-downloads .wp-block-column{padding:24px}.top3-downloads .wp-block-columns{gap:15px}.top3-demo-bar{font-size:11px}.site-header{padding-left:20px;padding-right:20px}}
@media(max-width:480px){.wp-block-post-content{padding:0 16px}.front-hero{padding:27px 22px!important}.front-hero h1{font-size:35px;line-height:1.09}.front-hero .wp-block-buttons{align-items:stretch;flex-direction:column}.front-hero .wp-block-button{width:100%}.front-hero .wp-block-button__link{display:block}.quick-links{gap:12px!important}.quick-links .wp-block-column{padding:18px}.site-header .wp-block-site-title{font-size:22px}.top3-downloads>h2{font-size:29px}.top3-downloads .wp-block-column{padding:23px}.site-footer{padding:28px 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Finanse TOP3: czytelne sekcje, NAS preview, 2026-10-23 */
body{background:#f4f7fb;color:#152b49}
.wp-site-blocks{--top3-ink:#152b49;--top3-muted:#50627b;--top3-line:#d6e0ed;--top3-blue:#215bd7}
.site-header{border-bottom:1px solid #d6e0ed;padding-top:19px;padding-bottom:19px}
.site-header .wp-block-navigation a{color:#243d60;font-size:14px;padding:8px 0}
.site-header a[href$="#excel"],.site-header .wp-block-navigation-item:has(a[href$="#excel"]){display:none!important}
.top3-downloads,.top3-faq{display:none!important}
.wp-block-post-content{max-width:1224px;margin-inline:auto;box-sizing:border-box}
.top3-demo-bar{background:#fff9ea;border-color:#e7d8b4;color:#705418;margin-bottom:20px!important}
.front-hero{background:#132e52;border:1px solid #23446d;border-radius:20px;box-shadow:none;padding:44px 48px!important;margin-top:20px!important}
.front-hero:after{color:#7caaf51a}
.front-hero h1{font-size:clamp(34px,4.4vw,54px);line-height:1.12;letter-spacing:-1.8px}
.front-hero>p{color:#d6e2f3;font-size:17px;line-height:1.75}
.front-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link{background:#2867e8;border-color:#2867e8;color:#fff}
.front-hero .is-style-outline .wp-block-button__link{background:transparent;border-color:#8198b8;color:#fff}
.category-heading{margin:36px 0 16px!important;font-size:23px!important;letter-spacing:-.5px;color:#152b49}
.quick-links{margin-top:0!important;margin-bottom:40px!important;gap:16px!important}
.quick-links .wp-block-column{border:1px solid #d6e0ed;border-radius:13px;padding:23px;background:#fff;box-shadow:none}
.quick-links .wp-block-column:before{background:#eaf1fe;color:#215bd7;margin-bottom:15px}
.quick-links h3{font-size:19px}.quick-links p{color:#50627b;font-size:14px}
.top3-component{--ink:#152b49;--green:#215bd7;--line:#d6e0ed;--muted:#50627b;color:#152b49}
.top3-component #rankingi{background:#eaf0f8;border:1px solid #d6e0ed!important;border-radius:18px;padding:32px!important;margin:0 0 32px;scroll-margin-top:28px}
.top3-component h2{color:#152b49;font-size:32px;line-height:1.2;letter-spacing:-.8px}
.top3-component .eyebrow{color:#315b95;letter-spacing:1.2px}
.top3-component .pill{background:#fff;border-color:#c8d6e9;color:#50627b}
.top3-component #rankingIntro{color:#445a76;max-width:780px;font-size:15px;line-height:1.7}
.top3-component .tabs{gap:8px;margin:24px 0 20px}
.top3-component .tabs button{border-color:#c4d2e6;color:#294563;background:#fff;min-height:46px;padding:11px 20px}
.top3-component .tabs button[aria-pressed=true]{background:#17375e;border-color:#17375e;color:white}
.top3-component .filters{box-shadow:none;border:1px solid #cbd9eb;border-radius:12px;padding:23px;gap:20px}
.top3-component .filters input,.top3-component .filters select{border-color:#b6c7dc;min-height:48px;color:#152b49;background:#fff}
.top3-component .primary{background:#215bd7;min-height:48px;padding-inline:24px}
.top3-component .primary:hover,.top3-component .offer-cta:hover{background:#1747ae}
.top3-component .ranking-context{margin-top:18px;gap:15px}.top3-component .ranking-status{color:#445a76}
.top3-component .cards{gap:18px;margin-top:24px;align-items:stretch}
.top3-component .deposit-card{border:1px solid #cbd8e8;border-radius:13px;box-shadow:0 4px 14px #17375e06;padding:24px!important}
.top3-component .deposit-card:first-child{border:1px solid #7a9fe0;border-top:4px solid #215bd7;box-shadow:none}
.top3-component .offer-card-top{order:0;margin-bottom:20px}.top3-component .offer-bank{order:1;color:#50627b;font-size:13px}
.top3-component .deposit-card h3{order:2;font-size:22px;margin-bottom:20px!important;min-height:55px}
.top3-component .offer-result{order:3;background:#eaf7f0;border:1px solid #c8e6d5;padding:18px;margin-bottom:20px}
.top3-component .offer-result>span{color:#315b48;font-size:13px}.top3-component .offer-result strong{color:#11603c;font-size:34px;line-height:1.2;margin:8px 0;letter-spacing:-1px}
.top3-component .offer-result small{color:#416653;font-size:12px;line-height:1.5;display:block}
.top3-component .deposit-card:not(:has(.offer-rate)) .offer-result{background:#edf3fc;border-color:#d0dff3}.top3-component .deposit-card:not(:has(.offer-rate)) .offer-result strong{color:#17375e}.top3-component .deposit-card:not(:has(.offer-rate)) .offer-result>span,.top3-component .deposit-card:not(:has(.offer-rate)) .offer-result small{color:#445a76}
.top3-component .offer-rate{order:4;font-size:30px;color:#152b49;letter-spacing:-.8px}.top3-component .offer-rate>span{display:inline;font-size:12px;margin-left:6px;color:#50627b;letter-spacing:0}
.top3-component .offer-facts{order:5;margin:13px 0 18px;color:#445a76;font-size:13px}
.top3-component .offer-conditions-tags{order:6;margin-bottom:16px}.top3-component .offer-conditions-tags span{background:#f3f6fa;color:#445a76;border-color:#dce4ee}
.top3-component .offer-details{order:7;margin-top:0;margin-bottom:18px;padding:15px 0}.top3-component .offer-details summary{color:#215bd7;font-size:14px}
.top3-component .offer-details p,.top3-component .offer-details dl{font-size:13px;color:#445a76}
.top3-component .affiliate-label{order:8}.top3-component .offer-cta,.top3-component .offer-demo-cta{order:9}
.top3-component .offer-demo-cta{background:#edf2f8;color:#4b607c;border:1px solid #dce4ee;font-size:12px}
.top3-component .offer-compare{order:10;flex:0 0 auto;color:#445a76}
.top3-component .ranking-disclosure{background:#f7faff;border-color:#ccd9ea;border-left:3px solid #557aa8;padding:18px 20px}.top3-component .ranking-disclosure strong{color:#244567}
.home-how{background:white;border:1px solid #d6e0ed;border-radius:16px;padding:28px 32px!important;margin:0 0 40px!important}
.home-how h2{font-size:25px;margin:0 0 23px;letter-spacing:-.5px}.home-how .wp-block-column{border-top:2px solid #b7cbe8;padding-top:12px}.home-how h3{color:#244567;font-size:16px}.home-how p{color:#50627b}
.top3-component #kalkulatory{border:1px solid #d6e0ed!important;border-radius:18px;background:#fff;padding:32px!important;margin:0 0 40px;scroll-margin-top:28px}
.top3-component .calc-intro{gap:30px}.top3-component .calc-intro>p{color:#50627b;font-size:14px;line-height:1.75}
.top3-component .tool-grid{gap:12px;margin:10px 0 18px}.top3-component .tool-button{background:#f7f9fc;border-color:#d6e0ed;border-radius:10px;padding:17px;min-height:112px}
.top3-component .tool-button[aria-pressed=true]{background:#edf3ff;border-color:#215bd7;box-shadow:inset 0 0 0 1px #215bd7}.top3-component .tool-button strong{font-size:14px;color:#203e65}.top3-component .tool-button small{font-size:12px;color:#50627b}
.top3-component .calc-panel{box-shadow:none;border-color:#cbd9eb;border-radius:12px}.top3-component .calc-output-area{background:#17375e}.top3-component .calc-form-area{background:#fff}.top3-component .result-value{font-size:40px}
.site-footer{background:#132e52;color:#d1ddef;border-top:0;padding:32px 28px}.site-footer a,.site-footer .wp-block-site-title{color:#fff}.site-footer p{line-height:1.75}
@media(max-width:900px){.top3-component .cards{grid-template-columns:1fr}.top3-component .deposit-card h3{min-height:0}.top3-component .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.top3-component #rankingi,.top3-component #kalkulatory{padding:24px!important}.top3-component .calc-intro{display:block}.home-how{padding:25px!important}.front-hero{padding:32px!important}.top3-component h2{font-size:28px}.top3-component .section-head{align-items:start}.top3-component .offer-result strong{font-size:32px}}
@media(max-width:480px){.wp-block-post-content{padding-inline:14px}.front-hero{padding:28px 23px!important}.front-hero h1{font-size:34px}.top3-component #rankingi,.top3-component #kalkulatory{padding:20px 16px!important;border-radius:13px}.top3-component .filters{padding:17px}.top3-component .tabs button{padding:10px 12px;font-size:13px}.top3-component .deposit-card{padding:21px!important}.home-how{padding:23px!important}.top3-component .tool-button{padding:14px;min-height:145px}.top3-component .tool-button small{font-size:12px}.top3-component .calc-form-area,.top3-component .calc-output-area{padding:22px}.top3-component .calc-panel{grid-template-columns:minmax(0,1fr)}.top3-component .ranking-context a{white-space:normal}}
