/*
Theme Name: Ogarniam Życie
Author: Ogarniam Życie
Description: Indywidualny motyw kampanii. Wersja robocza na podstawie zaakceptowanej makiety.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ogarniam-zycie
*/
:root{--blue:#0064aa;--ink:#173337;--paper:#faf9f5;--muted:#566669;--line:#d9dfd9}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:16px;line-height:1.6}button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button{border:0}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,sans-serif;line-height:1.13;letter-spacing:-.045em}h2{font-size:clamp(32px,3.5vw,48px);font-weight:750}em{font-style:normal;color:var(--blue)}p{color:var(--muted)}.wrap{width:min(1180px,calc(100% - 96px));margin:auto}.preview{background:#163a40;color:#f3f5eb;display:flex;align-items:center;justify-content:center;gap:12px;min-height:31px;font-size:10px;letter-spacing:.09em}.preview button{background:transparent;color:#d9e9b7;font-size:10px;margin-left:18px;text-decoration:underline}.preview span{color:#c6e4a7}header{height:111px;width:min(1280px,calc(100% - 80px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:25px}.logo{width:157px;height:auto}nav{display:flex;align-items:center;gap:29px;font-size:13px;font-weight:600}nav>a:not(.button):hover{color:var(--blue)}.button{display:inline-flex;justify-content:space-between;align-items:center;gap:25px;padding:17px 23px;border-radius:7px;background:var(--blue);color:white;font-size:14px;font-weight:600;transition:transform .2s,background .2s}.button:hover{background:#004f87;transform:translateY(-2px)}.button span{font-size:22px;line-height:1}.button.small{padding:13px 18px;font-size:12px}.menu-toggle{display:none}.hero{display:grid;grid-template-columns:1fr 1fr;gap:30px;min-height:635px;padding-top:37px;padding-bottom:68px;align-items:center}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.16em;color:var(--blue);margin-bottom:22px;display:flex;align-items:center;gap:9px}.dot{width:7px;height:7px;background:#70a779;border-radius:50%;display:inline-block}.hero h1{font-size:clamp(48px,5.8vw,78px);font-weight:800;line-height:1.03;position:relative;letter-spacing:-.055em}.hero h1 em{display:inline-block;position:relative;z-index:0}.hero h1 em:after{content:'';position:absolute;bottom:2px;left:0;width:104%;height:11px;background:#d1e5a5;z-index:-1;transform:rotate(-3deg)}.spark{display:inline-block;color:var(--blue);font-size:67px;margin-left:30px;font-weight:400;vertical-align:top;transform:rotate(12deg)}.intro{font-size:17px;line-height:1.7;margin:29px 0 25px}.actions{display:flex;align-items:center;gap:25px}.text-link{background:transparent;padding:0;display:inline-flex;align-items:center;gap:17px;font-weight:600;font-size:13px;color:var(--ink);text-align:left}.text-link:hover{color:var(--blue)}.hero-foot{display:flex;align-items:center;gap:14px;margin-top:32px}.mini-infinity{font-family:Arial;font-size:54px;line-height:1;color:var(--blue)}.hero-foot p{font-size:11px;line-height:1.45}.hero-foot strong{font-weight:500;color:var(--ink)}.hero-visual{position:relative;height:470px;margin-left:13px}.photo-frame{height:413px;width:95%;position:absolute;right:0;top:4px;border-radius:110px 14px 85px 14px;overflow:hidden;background:#c9dbe3}.photo-frame>img{height:100%;width:100%;object-fit:cover;object-position:51% 50%}.photo-frame:after{content:'';position:absolute;inset:60% 0 0;background:linear-gradient(transparent,#13262799)}.photo-caption{position:absolute;bottom:32px;right:24px;color:white;font-size:14px;z-index:1}.round-note{position:absolute;top:-14px;right:-15px;border-radius:50%;width:119px;height:119px;background:#d6eaa5;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(11deg);line-height:1.3;font-size:13px;color:#263e26}.round-note strong{font-size:19px}.round-note span{font-size:27px}.little-photo{position:absolute;left:-26px;bottom:-3px;width:205px;transform:rotate(-7deg);padding:8px 8px 11px;background:white;box-shadow:0 5px 20px #102b2c14;border-radius:3px}.little-photo img{height:138px;width:100%;object-fit:cover}.little-photo span{display:block;text-align:center;font-size:12px;margin-top:8px;font-weight:600}.scribble{position:absolute;bottom:6px;right:55px;font-size:104px;font-family:Georgia;color:var(--blue);transform:rotate(-20deg);line-height:1}.edition{background:#eaf0e4;display:flex;align-items:center;gap:29px;padding:24px 30px;border-radius:9px}.edition-label{font-size:10px;font-weight:700;letter-spacing:.1em;white-space:nowrap;display:flex;align-items:center;gap:9px}.edition-dot{width:7px;height:7px;border-radius:50%;background:#427341}.edition h2{font-size:21px;letter-spacing:-.025em}.edition p{font-size:12px;margin-top:5px}.round-button{width:46px;height:46px;border:1px solid #97ad92;border-radius:50%;background:transparent;font-size:24px;margin-left:auto;flex-shrink:0}.round-button:hover{background:#d1e5a5}.about{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-top:99px;padding-bottom:100px}.about .large-copy{font-size:21px;color:var(--ink);line-height:1.55;margin-bottom:17px}.about p:not(.eyebrow):not(.large-copy){font-size:14px}.about .text-link{margin-top:23px}.projects-section{background:#f0f2ec;padding:83px 0 71px}.section-top{display:flex;align-items:flex-end;justify-content:space-between;gap:35px;margin-bottom:35px}.section-top>p{font-size:14px;max-width:320px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:29px}.filters button{background:transparent;border:1px solid #cbd4cb;border-radius:100px;padding:9px 18px;font-size:12px}.filters button.active{background:var(--ink);border-color:var(--ink);color:white}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.project{padding:26px 25px 20px;min-height:325px;border-radius:10px;text-align:left;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.project:hover{transform:translateY(-4px);box-shadow:0 10px 20px #15333710}.peach{background:#f4dfcc}.lilac{background:#e4dff0}.lime{background:#e0eac2}.sky{background:#d9e8ef}.sand{background:#efe6c8}.mint{background:#d6e7de}.project-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:28px}.project-top>span:last-child{font-size:8px;font-weight:700;letter-spacing:.055em}.project-icon{font-size:32px;line-height:1}.project h3{font-size:27px;letter-spacing:-.035em;line-height:1.14}.project p{font-size:13px;line-height:1.6;color:#435554;margin:16px 0 20px}.project-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:15px;border-top:1px solid #183c3429;font-size:10px;font-weight:500}.project-bottom b{font-size:23px;font-weight:400}.project[hidden]{display:none}.extra-project{border-top:1px solid #ccd7c9;margin-top:28px;padding-top:24px;display:flex;align-items:center;gap:22px}.extra-project>span{font-size:8px;letter-spacing:.1em;max-width:120px}.extra-project p{font-size:17px;font-weight:600;color:var(--ink)}.extra-project button{margin-left:auto;font-size:11px}.news{padding-top:95px;padding-bottom:90px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.news-image{padding:0;display:block;position:relative;width:100%;height:229px;border-radius:10px;overflow:hidden;background:#e2e7df}.news-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.news-image:hover img{transform:scale(1.04)}.news-tag{position:absolute;bottom:14px;left:14px;border-radius:50px;padding:6px 11px;background:var(--paper);font-size:8px;font-weight:700;letter-spacing:.08em}.date{font-size:9px;letter-spacing:.1em;margin:20px 0 11px}.news h3{font-size:23px;line-height:1.3}.news h3 button{background:none;padding:0;text-align:left;font:inherit;letter-spacing:inherit}.news article>.text-link{margin-top:19px;font-size:11px}.school{background:#0064aa;border-radius:13px;color:white;display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:49px 48px}.school .eyebrow{color:#c9e4f5;margin-bottom:20px}.school h2{font-size:39px}.school em{color:#d4e8a5}.school p:not(.eyebrow){color:#e2eaf1;font-size:13px;max-width:340px;margin:21px 0 24px}.button.white{background:var(--paper);color:var(--blue);font-size:12px;padding:13px 20px}.school-links{display:flex;flex-direction:column;justify-content:center}.school-links button{display:flex;justify-content:space-between;align-items:center;text-align:left;background:none;color:white;padding:24px 0;border-bottom:1px solid #ffffff45;font-size:17px;gap:15px}.school-links button:hover{color:#d4e8a5}.school-links button:first-child{border-top:1px solid #ffffff45}.school-links small{font-size:8px;letter-spacing:.16em;color:#d1e5f4;display:block;margin-bottom:7px}.school-links b{font-size:24px;font-weight:400}.partners{padding:82px 0 77px;text-align:center}.partners .eyebrow{justify-content:center;margin-bottom:13px}.partners h2{font-size:31px}.partner-row{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;margin-top:42px;align-items:start}.partner-row a{font-family:Manrope;font-weight:800;font-size:25px;letter-spacing:-.05em}.partner-row a:hover{color:var(--blue)}.partner-row span{font-family:'DM Sans';display:block;line-height:1.4;font-size:10px;font-weight:400;letter-spacing:0;margin-top:5px;color:#637173}footer{border-top:1px solid #dde2d8;background:#f0f2eb;padding-top:43px}.footer-top{display:flex;justify-content:space-between;gap:30px;padding-bottom:38px}.footer-top img{width:142px;height:auto}.footer-top p:not(.eyebrow){font-size:12px;margin-top:14px}.footer-top>div:last-child{padding-top:10px}.footer-top .eyebrow{margin-bottom:18px}.contact{display:block;font-size:20px;font-family:Manrope;letter-spacing:-.02em;margin-bottom:14px}.footer-top a:not(.contact){font-size:11px}.footer-bottom{border-top:1px solid #d0d9d0;padding:19px 0;display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#526762}.skip{position:fixed;left:10px;top:-100px;z-index:100;background:white;padding:12px}.skip:focus{top:5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}:focus-visible{outline:3px solid #cf763c;outline-offset:5px}dialog{border:0;border-radius:15px;max-width:760px;width:calc(100% - 32px);padding:0;color:var(--ink);background:var(--paper);max-height:87vh;box-shadow:0 20px 90px #14303755}dialog::backdrop{background:#0a292ca6;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:15px 27px;background:#edf1e9;position:sticky;top:0;border-bottom:1px solid #d6dfd1}.dialog-head span{font-size:10px;letter-spacing:.13em;color:var(--blue);font-weight:700}.dialog-head button{font-size:29px;background:transparent;line-height:1;padding:5px 10px}.dialog-body{padding:34px}.dialog-body h2{font-size:33px;margin-bottom:25px}.dialog-body p{margin:14px 0;font-size:15px}.dialog-body .notice{background:#e7efdc;border-radius:6px;padding:14px 17px;font-size:12px}.dialog-body a{color:var(--blue);text-decoration:underline}.dialog-body .archive-item{display:block;background:none;border-bottom:1px solid var(--line);text-align:left;width:100%;padding:18px 0;font-weight:600}.dialog-body ul{padding-left:20px}.dialog-body li{margin:9px 0}.dialog-body input{width:100%;padding:12px;border:1px solid #b8c7c1;border-radius:5px;background:white}.no-scroll{overflow:hidden}@media(min-width:1500px){.hero{padding-top:45px;padding-bottom:80px}}@media(max-width:1050px){.wrap{width:calc(100% - 56px)}header{width:calc(100% - 50px)}nav{gap:16px;font-size:11px}.logo{width:137px}.hero h1{font-size:62px}.spark{font-size:48px;margin-left:18px}.hero-visual{height:435px}.photo-frame{height:365px}.little-photo{width:180px}.hero{gap:15px}.intro{font-size:15px}.project-top>span:last-child{font-size:7px}.school{gap:35px;padding:36px}.news-image{height:190px}.contact{font-size:17px}}@media(max-width:760px){html{scroll-padding-top:20px}.wrap{width:calc(100% - 36px)}.preview{font-size:8px;gap:7px;min-height:29px}.preview button{font-size:8px;margin-left:3px}header{height:88px;width:calc(100% - 36px);position:relative}.logo{width:129px}.menu-toggle{display:block;border:1px solid #c9d4cb;background:transparent;padding:7px 13px;border-radius:5px;font-size:12px}nav{display:none;position:absolute;top:82px;right:0;left:0;z-index:10;background:var(--paper);border:1px solid #d1dccf;border-radius:8px;padding:20px;box-shadow:0 12px 20px #14333720}nav.open{display:flex;flex-direction:column;align-items:stretch;font-size:14px;gap:20px}.hero{grid-template-columns:1fr;padding-top:23px;padding-bottom:29px;gap:40px;min-height:0}.hero h1{font-size:clamp(48px,12vw,77px)}.eyebrow{font-size:8px;margin-bottom:19px}.hero .intro{font-size:15px;margin-top:24px}.spark{font-size:52px;margin-left:24px}.hero-foot{display:none}.actions{gap:22px}.button{font-size:12px;padding:15px 18px;gap:18px}.text-link{font-size:12px}.hero-visual{height:355px;margin:0 13px 12px}.photo-frame{height:300px;width:95%;border-radius:80px 10px 65px 10px}.round-note{width:99px;height:99px;font-size:11px;right:-9px}.round-note strong{font-size:16px}.little-photo{width:161px;left:-7px;bottom:0}.little-photo img{height:102px}.little-photo span{font-size:10px}.scribble{right:25px;font-size:83px}.photo-caption{font-size:11px;bottom:25px;right:15px}.edition{padding:22px;gap:15px;display:grid;grid-template-columns:1fr auto}.edition-label{grid-column:1/-1;font-size:9px}.edition h2{font-size:20px}.edition p{font-size:11px}.edition .round-button{width:39px;height:39px}.about{grid-template-columns:1fr;gap:27px;padding:57px 0}.about .large-copy{font-size:20px}h2{font-size:34px}.projects-section{padding:50px 0}.section-top{display:block;margin-bottom:26px}.section-top>p{margin-top:22px;font-size:13px}.filters{gap:8px}.filters button{font-size:10px;padding:8px 13px}.project-grid{grid-template-columns:1fr 1fr;gap:11px}.project{padding:19px 16px 15px;min-height:310px}.project h3{font-size:23px}.project-top{display:block;margin-bottom:20px}.project-top>span:last-child{display:block;font-size:7px;margin-top:10px}.project p{font-size:12px}.project-bottom{font-size:9px;line-height:1.4}.extra-project{flex-wrap:wrap;gap:10px}.extra-project>span{max-width:none;width:100%;font-size:8px}.extra-project p{font-size:15px}.extra-project button{margin:0}.news{padding:57px 0}.news .section-top>.text-link{margin-top:21px}.news-grid{grid-template-columns:1fr;gap:33px}.news-image{height:250px}.news h3{font-size:25px}.news h3 br{display:none}.date{margin-top:16px}.news article>.text-link{margin-top:14px}.school{grid-template-columns:1fr;padding:30px 25px;gap:28px}.school h2{font-size:34px}.school-links button{font-size:15px;padding:19px 0}.partners{padding:56px 0}.partner-row{grid-template-columns:repeat(2,1fr);gap:29px;margin-top:32px}.partner-row a:last-child{grid-column:1/-1}.footer-top{display:block}.footer-top>div:last-child{padding-top:32px}.contact{font-size:16px;overflow-wrap:anywhere}.footer-bottom{flex-wrap:wrap;gap:12px;font-size:8px}.footer-bottom span:nth-child(2){display:none}.dialog-body{padding:25px}.dialog-body h2{font-size:27px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}} 

.article-wrap{max-width:820px;margin:55px auto 80px;padding:0 24px}.article-wrap h1{font-size:clamp(34px,5vw,62px);margin:20px 0 35px}.entry-content{overflow-wrap:anywhere}.entry-content p,.entry-content ul,.entry-content ol{margin:20px 0}.entry-content a{color:var(--blue);text-decoration:underline}.entry-content h2,.entry-content h3{margin:36px 0 18px}.entry-content img{height:auto;max-width:100%;border-radius:10px}.entry-content iframe{max-width:100%}.post-list article{padding:25px 0;border-bottom:1px solid var(--line)}.post-list h2{font-size:30px}.post-list p{margin:15px 0}.pagination{margin-top:30px}.page-numbers{padding:8px}.wp-block-image img{height:auto}.custom-logo{max-width:157px;height:auto}.entry-content table{display:block;overflow:auto}.entry-content th,.entry-content td{padding:10px;border:1px solid var(--line)}
