/*
Theme Name: Rozsądni Bracia
Author: Rozsądni Bracia
Description: Autorski motyw: wiedza i narzędzia dla inwestorów i deweloperów.
Version: 0.2.8
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: rozsadni-bracia
*/
:root{--ink:#202423;--muted:#626966;--red:#bd493f;--paper:#f5f4f0;--line:#dedfd8;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--white);font:17px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:5px}a:hover{color:var(--red)}img{max-width:100%;height:auto}h1,h2,h3{line-height:1.12;letter-spacing:-.035em;margin:0 0 24px;font-weight:650}h1{font-size:clamp(40px,5.6vw,76px)}h2{font-size:clamp(30px,3.6vw,48px)}h3{font-size:25px}p{margin:0 0 22px}.wrap{width:min(1200px,calc(100% - 64px));margin:auto}.site-header{border-bottom:1px solid var(--line);background:white}.header-inner{min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:32px}.brand img{display:block;width:215px;max-height:90px;object-fit:contain}.custom-logo-link img{width:215px;height:auto}.nav-list{display:flex;gap:25px;list-style:none;padding:0;margin:0;font-size:14px;font-weight:600}.nav-list a{text-decoration:none}.menu-toggle{display:none}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--red);margin:0 0 24px}.hero{background:var(--paper);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:24px;min-height:620px}.hero-copy{padding:65px 0}.hero-copy p:not(.eyebrow){max-width:530px;color:var(--muted);font-size:19px}.hero-photo{align-self:end}.hero-photo img{display:block;width:100%;object-fit:contain}.caption{font-size:12px;color:var(--muted);text-align:center;margin:12px 0 20px}.actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 23px;border:1px solid var(--ink);background:var(--ink);color:white;text-decoration:none;font-size:14px;font-weight:650;border-radius:4px}.button:hover{background:#393f3c;color:white}.button.secondary{background:transparent;color:var(--ink);border-color:#8b918b}.button.secondary:hover{background:white}.section{padding:88px 0}.section.soft{background:var(--paper)}.section-head{max-width:720px;margin-bottom:40px}.section-head p{color:var(--muted)}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:26px}.entry{padding:38px;border:1px solid var(--line);border-radius:6px;display:flex;flex-direction:column;align-items:start}.entry p{color:var(--muted)}.entry a{margin-top:auto;font-weight:650}.number{color:var(--red);font-size:13px;font-weight:700;display:block;margin-bottom:28px}.topic-list{display:grid;grid-template-columns:repeat(3,1fr);gap:0 32px;border-top:1px solid var(--line)}.topic-list a{display:flex;justify-content:space-between;gap:15px;padding:25px 0;border-bottom:1px solid var(--line);text-decoration:none;font-weight:600}.topic-list span{color:var(--red)}.tool-box{padding:45px;background:var(--ink);color:white;border-radius:6px;display:grid;grid-template-columns:1.4fr 1fr;gap:55px;align-items:center}.tool-box p{color:#c8ceca}.tool-box .eyebrow{color:#f7a498}.tool-box .button{background:white;color:var(--ink)}.future{border-top:1px solid var(--line);padding-top:32px}.future p{color:var(--muted)}.status{display:inline-block;color:var(--muted);font-size:12px;border:1px solid var(--line);padding:4px 10px;border-radius:30px;margin-bottom:22px}.about-strip{display:grid;grid-template-columns:1fr 1.1fr;gap:70px;align-items:center}.about-strip img{background:var(--paper);border-radius:6px;display:block}.site-footer{padding:50px 0 24px;background:var(--ink);color:white}.footer-inner{display:flex;justify-content:space-between;gap:40px}.footer-inner p{font-size:14px;color:#bdc5bf;max-width:430px}.footer-links{display:flex;gap:24px;align-items:start;font-size:14px}.copyright{border-top:1px solid #48504a;margin-top:40px;padding-top:20px;color:#bdc5bf;font-size:12px}.skip-link{position:absolute;left:16px;top:-100px;background:white;padding:12px;z-index:100}.skip-link:focus{top:16px}:focus-visible{outline:3px solid var(--red);outline-offset:5px}.content{max-width:780px;margin:auto;padding:70px 0 90px}.content h2{font-size:32px;margin-top:50px}.content h3{margin-top:30px}.content ul{padding-left:24px}.content figure{margin:30px 0}.content img{object-fit:contain}.post-meta{color:var(--muted);font-size:13px;margin-bottom:24px}.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.post-card{border:1px solid var(--line);border-radius:6px;overflow:hidden}.post-card .card-body{padding:25px}.post-card h3{font-size:23px}.post-card p{font-size:15px;color:var(--muted)}.post-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:contain;background:var(--paper)}.pagination{margin-top:40px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.search-form{display:flex;gap:12px;flex-wrap:wrap}.search-field{padding:12px;border:1px solid #8b918b;font:inherit;max-width:100%}.search-submit{padding:12px 22px;font:inherit;background:var(--ink);color:white;border:0;cursor:pointer}.wp-block-button__link{background:var(--ink)}@media(max-width:960px){.nav-list{gap:14px;font-size:12px}.brand img{width:170px}.hero-grid{min-height:520px}.hero-copy p:not(.eyebrow){font-size:17px}.topic-list{grid-template-columns:1fr 1fr}.about-strip{gap:35px}}@media(max-width:760px){.wrap{width:calc(100% - 40px)}.header-inner{min-height:88px;flex-wrap:wrap;gap:0}.brand img{width:165px;max-height:75px}.menu-toggle{display:block;background:white;border:1px solid var(--line);border-radius:4px;padding:10px 15px;font:inherit;font-size:14px}.site-nav{display:none;width:100%;padding:20px 0}.site-nav.is-open{display:block}.nav-list{display:flex;flex-direction:column;gap:18px;font-size:16px}.hero-grid{grid-template-columns:1fr;gap:0}.hero-copy{padding:48px 0 16px}.hero-photo{max-width:480px;margin:auto}.hero-photo img{max-height:350px}.hero h1{font-size:44px}.section{padding:58px 0}.grid-two,.about-strip,.tool-box{grid-template-columns:1fr}.entry{padding:28px}.topic-list{grid-template-columns:1fr}.tool-box{padding:30px;gap:20px}.posts{grid-template-columns:1fr}.footer-inner{flex-direction:column;gap:20px}.footer-links{flex-wrap:wrap}.content{padding:48px 0 60px}.content h1{font-size:40px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Article typography is independent of homepage headlines. */
.single .content>h1{font-size:clamp(32px,3.5vw,48px);line-height:1.18;letter-spacing:-.025em;overflow-wrap:anywhere}.article-body{font-size:18px;line-height:1.8}.article-body p{margin-bottom:24px}.article-body .article-lead{font-size:20px;line-height:1.65;font-weight:450;letter-spacing:normal;color:#414944;margin:0 0 22px}.article-body h2{font-size:30px;line-height:1.3;margin:40px 0 20px}.article-body h3{font-size:25px;line-height:1.35}.article-body iframe{max-width:100%}.article-body table{display:block;max-width:100%;overflow-x:auto}.article-body blockquote{margin:30px 0;padding:8px 0 8px 24px;border-left:3px solid var(--red);color:var(--muted)}@media(max-width:760px){.single .content>h1{font-size:32px}.article-body{font-size:17px}.article-body .article-lead{font-size:19px}.article-body h2{font-size:26px}}

/* A balanced first screen, with room for the people and the two actions. */
.hero-grid{grid-template-columns:1.05fr 1fr;min-height:560px;gap:40px}.hero-copy{padding:52px 0}.hero-copy h1{font-size:clamp(40px,4.6vw,60px);line-height:1.12;max-width:650px;text-wrap:balance}.hero-photo{align-self:center;min-width:0}.hero-photo img{width:130%;max-width:none;margin-left:-15%;height:auto}.hero-photo .caption{margin-top:10px}.hero-copy .eyebrow{margin-bottom:24px}@media(max-width:960px){.hero-grid{gap:24px;min-height:500px}.hero-copy h1{font-size:46px}}@media(max-width:760px){.hero-grid{grid-template-columns:1fr;gap:14px;min-height:0}.hero-copy{padding:40px 0 0}.hero-copy h1{font-size:40px;max-width:580px}.hero-photo{width:100%;max-width:480px;margin:auto;overflow:hidden}.hero-photo img{width:115%;margin-left:-7.5%;max-height:none}.hero-copy .actions{margin-top:24px}.hero-photo .caption{margin-bottom:22px}}

.featured-heading{margin:42px 0 22px}.home-posts{margin-bottom:42px}.home-posts .post-card{background:white;display:flex;flex-direction:column}.home-posts .card-image{display:flex;align-items:center;background:#eaeae4;aspect-ratio:16/10;overflow:hidden}.home-posts .card-image img{height:100%;width:100%;object-fit:contain;aspect-ratio:auto}.home-posts .card-body{display:flex;flex-direction:column;flex:1}.home-posts .eyebrow{font-size:10px;margin-bottom:15px}.home-posts h3{font-size:25px;line-height:1.22}.home-posts h3 a{text-decoration:none}.card-bottom{margin-top:auto;display:flex;justify-content:space-between;gap:16px;font-size:13px;padding-top:20px;border-top:1px solid var(--line)}.card-bottom a{font-weight:650}.home-posts .draft-note{font-size:11px;line-height:1.45;margin:15px 0 0;color:#6f746c}.topic-list{margin-top:30px}@media(max-width:960px) and (min-width:761px){.home-posts{gap:18px}.home-posts .card-body{padding:20px}.home-posts h3{font-size:22px}}

/* Signup: real people, readable form, no clipped faces. */
.home-signup{background:#fff;border-bottom:1px solid var(--line)}.signup-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:center}.signup-people{min-width:0;text-align:center}.signup-people .eyebrow{text-align:left}.signup-people img{display:block;width:100%;height:auto;object-fit:contain}.signup-people>p:last-child{max-width:440px;margin:24px auto 0;color:var(--muted);font-size:17px}.signup-form{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:32px}.signup-form .rbz-wrap{margin:0;max-width:none}.signup-form .rbz-wrap h2{font-size:34px;line-height:1.15;margin-top:0;text-wrap:balance}.signup-form .rbz-wrap>p{font-size:16px;color:var(--muted)}.signup-form .rbz-form fieldset{background:white}.signup-form .rbz-form input[type=email]{background:white;max-width:none}.signup-form .rbz-form button{width:100%}.signup-nav a{color:var(--red)}
@media(min-width:761px) and (max-width:1100px){.header-inner{gap:20px}.nav-list{gap:12px;font-size:12px}.brand img{width:170px}.signup-grid{gap:30px}.signup-form{padding:24px}}
@media(max-width:760px){.signup-grid{grid-template-columns:1fr;gap:24px}.signup-people{max-width:430px;margin:auto}.signup-people .eyebrow{text-align:center;margin-bottom:12px}.signup-people>p:last-child{display:none}.signup-form{padding:24px 20px}.signup-form .rbz-wrap h2{font-size:29px}}

/* Page titles are smaller than the home hero; body headings never look like titles. */
.page .content{padding-top:48px}.page .content>h1{font-size:clamp(30px,3.2vw,44px);line-height:1.2;letter-spacing:-.025em;margin:0 0 30px;text-wrap:balance;overflow-wrap:anywhere}.page .content>.eyebrow{margin-bottom:18px}.page-body{font-size:17px;line-height:1.8}.page-body h1,.page-body h2{font-size:27px!important;line-height:1.3!important;letter-spacing:-.015em;margin:34px 0 16px!important}.page-body h3{font-size:23px!important;line-height:1.35!important;margin:28px 0 14px!important}.page-body p{margin-bottom:22px}.page-body .rbz-wrap h2{font-size:27px!important;margin-top:0!important}@media(max-width:760px){.page .content{padding-top:32px}.page .content>h1{font-size:30px}.page-body h1,.page-body h2{font-size:24px!important}.page-body h3{font-size:21px!important}}

/* Shared real article cards and progressively enhanced blog archive. */
.rb-blog .posts{align-items:stretch}.rb-blog .post-card,.home-posts .post-card{min-width:0;display:flex;flex-direction:column;overflow:hidden}.rb-blog .card-image{display:block;aspect-ratio:16/10;background:#f3f6fa}.rb-blog .card-image img{width:100%;height:100%;object-fit:contain}.rb-blog .card-body,.home-posts .card-body{flex:1;display:flex;flex-direction:column;min-width:0}.rb-blog h3,.home-posts h3{overflow-wrap:anywhere}.rb-article-read{margin-top:auto;min-height:44px;display:inline-flex;align-items:center;font-weight:650}.rb-blog-more{margin-top:32px;cursor:pointer}.rb-blog-status{color:#515b64;margin:16px 0}.rb-blog .pagination{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.rb-blog .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:6px 12px;border:1px solid #dfe5ec}.rb-blog .current{background:#202423;color:white}.rb-blog-more[hidden]{display:none}.rb-blog [aria-busy=true]{opacity:.8}

/* Shared global header; dedicated training headers remain independent. */
.site-header .wrap{width:min(1240px,calc(100% - 60px))}.site-header .header-inner{min-height:94px;gap:24px}.site-header .brand img{width:180px;max-height:76px}.site-header .nav-list{gap:21px;font-weight:650}.site-header .nav-list a{white-space:nowrap}.site-header .nav-list a:hover{color:#d71920}
@media(max-width:760px){.site-header .wrap{width:calc(100% - 40px)}}
.rb-article-end{margin:0 auto 50px}.rb-read-next{padding:40px 0;border-top:1px solid #dfe5ec}.rb-read-next h2{font-size:36px}.rb-read-next .post-card{display:flex;flex-direction:column;min-width:0;overflow:hidden}.rb-read-next .card-image{display:block;aspect-ratio:16/10;background:#f3f6fa}.rb-read-next .card-image img{width:100%;height:100%;object-fit:contain}.rb-read-next .card-body{display:flex;flex:1;flex-direction:column;padding:24px}.rb-read-next h3{font-size:24px;overflow-wrap:anywhere}.rb-read-next .rb-article-read{margin-top:auto}.rb-next-step{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center;padding:32px;background:#101c2c;border-radius:8px;color:#fff}.rb-next-step h2{font-size:30px;color:#fff;margin-bottom:16px}.rb-next-step p{margin:0;color:#d9e0ea}.rb-next-actions{display:flex;flex-direction:column;gap:18px;align-items:start}.rb-next-actions .button{background:#b81820;border-color:#b81820}.rb-quiet-link{font-size:15px;color:inherit}.rb-all-articles{margin:24px 0;color:#56616c;font-size:15px}
.rb-comments{max-width:860px;margin:0 auto 70px;padding-top:36px;border-top:1px solid #dfe5ec}.rb-comments h2{font-size:34px}.rb-comments .comment-list,.rb-comments .children{list-style:none;padding:0}.rb-comments .children{margin-left:clamp(12px,3vw,36px)}.rb-comments .comment-body{padding:24px 0;border-bottom:1px solid #e4e8ee}.rb-comments .avatar{float:left;margin:0 12px 8px 0;border-radius:50%}.rb-comments .comment-metadata{font-size:13px;color:#626c77;margin:6px 0 14px}.rb-comments .comment-content{overflow-wrap:anywhere}.rb-comments .reply{font-size:14px;color:#a4121a}.rb-comments .comment-respond{margin-top:36px;padding:28px;background:#f3f6fa;border-radius:8px}.rb-comments label{display:block;font-weight:600;margin-bottom:7px}.rb-comments input:not([type=checkbox]):not([type=submit]),.rb-comments textarea{display:block;width:100%;max-width:100%;min-width:0;padding:12px;border:1px solid #b7c1cc;border-radius:5px;background:#fff;color:#202423;font:inherit}.rb-comments textarea{min-height:150px}.rb-comments .comment-form-cookies-consent{display:flex;gap:12px;font-size:13px;align-items:flex-start}.rb-comments .comment-form-cookies-consent input{margin-top:6px}.rb-comments .comment-notes,.rb-comments .logged-in-as{font-size:14px;color:#53606c}.rb-comment-notice{padding:18px;border-left:3px solid #aa1720;background:#f7eeef}.rb-comments .submit{cursor:pointer;background:#b81820;border-color:#b81820;color:#fff;min-height:48px}.rb-comments :focus-visible{outline:3px solid #a63f36;outline-offset:3px}.rb-blog [data-rb-blog-pagination][hidden]{display:none!important}.rb-blog-sentinel{height:1px;width:100%}
@media(max-width:760px){.rb-next-step{grid-template-columns:1fr;padding:26px}.rb-next-actions{gap:16px}.rb-comments .comment-respond{padding:20px}.rb-comments h2{font-size:29px}.rb-read-next h3{font-size:23px}}
.site-header{--line:#dfe5ec;color:#13151a}.site-header .nav-list{font-size:14px}
@media(max-width:1100px){.site-header .header-inner{flex-wrap:wrap;gap:0;padding:12px 0}.site-header .menu-toggle{display:block;background:#fff;border:1px solid #dfe5ec;border-radius:4px;padding:11px 17px;min-height:44px;font:inherit;font-size:14px}.site-header .site-nav{display:none;width:100%;padding:20px 0}.site-header .site-nav.is-open{display:block}.site-header .nav-list{flex-direction:column;font-size:16px;gap:18px}}

.rb-blog .section-head h1{font-size:clamp(30px,4vw,48px);line-height:1.15;max-width:none}.rb-comment-summary{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:16px;margin:28px 0}.rb-comment-summary a:last-child{margin-left:16px}#respond{scroll-margin-top:110px}
