/* TESTIN: naturalne proporcje obrazow we wpisach (2026-09-12). */
body.single-post article.single-post .single-post__img-container img {
  display: block;
  height: auto;
}

body.single-post article.single-post .single-post__content img {
  max-width: 100%;
  height: auto;
}

/* TESTIN PORTFOLIO 2026-09-13 BEGIN */
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732){--tp-ink:#172435;--tp-muted:#536070;--tp-paper:#f7f7f4;--tp-line:#dfe3e5;--tp-accent:#f58f29;background:#fff;color:#172435}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) #primary{margin:0 auto;overflow:clip}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) :is(.container,.max-width){box-sizing:border-box;width:100%;max-width:1440px;margin-inline:auto;padding-inline:48px}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .top-header{min-height:88px;align-items:center;flex-wrap:nowrap;gap:28px;margin-inline:auto}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .top-header_left{flex:1;min-width:0;align-items:center;flex-direction:row;gap:36px}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .top-header_right{flex:0 0 auto}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .navigation_logo{flex:0 0 auto;width:auto;padding:0}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .navigation_logo img{width:130px;height:auto}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .upper-logo_txt{padding:0;margin-top:4px;font-size:8px;letter-spacing:.16em}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .top-bar{background:#f3f5f6}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .top-bar-inner{min-height:34px;align-items:center}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .navigation_contact-list li{padding:6px 0 6px 24px}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) :is(.navigation_contact-list a,.navigation_social span){font-size:12px}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .audit-menu{gap:22px}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .audit-menu>li{float:none;padding:0}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .audit-menu>li>a{font-size:14px;letter-spacing:0}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .audit-nav-cta{padding:13px 21px;font-size:13px;letter-spacing:0}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) #primary :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #00509d;outline-offset:5px}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) #primary :is(section[id],div[id]){scroll-margin-top:32px}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) #primary .btn{display:inline-flex;justify-content:center;align-items:center;min-height:48px;box-sizing:border-box;padding:14px 24px;font-size:14px;line-height:1.5;border-radius:7px;box-shadow:none;letter-spacing:0;text-transform:none;font-weight:600}
body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) #primary .audit-eyebrow{font-size:12px;line-height:1.6;letter-spacing:.13em}
.tp-work,.tp-brand{font-family:Poppins,sans-serif;line-height:1.7}.tp-work *,.tp-brand *{box-sizing:border-box}.tp-shell{width:100%;max-width:1440px;margin-inline:auto;padding-inline:48px}
.tp-kicker{display:flex;align-items:center;gap:12px;margin:0 0 24px;font-size:12px;font-weight:600;line-height:1.6;letter-spacing:.13em;text-transform:uppercase;color:#536070}.tp-kicker::before{content:'';display:block;width:28px;height:3px;background:#f58f29}
.tp-intro{padding:80px 0 58px;background:#f7f7f4;border-bottom:1px solid #dfe3e5}.tp-intro__grid{display:grid;grid-template-columns:1.4fr 1fr;align-items:end;gap:80px}
.tp-work h1,.tp-brand h1{margin:0;color:#172435;font-size:clamp(52px,6.9vw,100px);font-weight:700;line-height:1.04;letter-spacing:-.065em;text-wrap:balance}.tp-work h1 span{display:block;color:#536070;font-size:.66em;line-height:1.12;letter-spacing:-.05em;margin-top:12px}.tp-intro__copy{max-width:460px;padding-bottom:7px}.tp-intro__copy>p{margin:0 0 24px;color:#536070;font-size:17px;line-height:1.85}
.tp-link{display:inline-flex;align-items:center;gap:20px;min-height:48px;color:#172435!important;font-size:15px;font-weight:600;text-decoration:none}.tp-link span{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#f58f29;font-size:23px;transition:transform .2s}.tp-link:hover span{transform:translate(3px,-3px)}
.tp-nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-block:24px;border-bottom:1px solid #dfe3e5}.tp-nav a{display:inline-flex;align-items:center;gap:14px;min-height:46px;padding:10px 17px;border:1px solid #dfe3e5;border-radius:6px;color:#172435;font-size:13px;font-weight:500;white-space:nowrap;transition:background .2s,border-color .2s}.tp-nav a:hover{background:#172435;color:#fff;border-color:#172435}.tp-nav small{font:inherit;opacity:.7;font-variant-numeric:tabular-nums}
.tp-section{padding:72px 0 80px}.tp-section--paper{background:#f7f7f4}.tp-section-head{display:grid;grid-template-columns:1fr auto;align-items:end;gap:36px;margin:0 0 32px}.tp-section-head .tp-kicker{margin-bottom:12px}.tp-section-head h2{margin:0;color:#172435;font-size:clamp(30px,3.4vw,48px);line-height:1.14;font-weight:600;letter-spacing:-.045em;text-wrap:balance}.tp-section-head>p{max-width:365px;margin:0;color:#536070;font-size:14px;line-height:1.8}
.tp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 32px}.tp-card{min-width:0;margin:0}.tp-card>a{display:block;color:#172435;text-decoration:none}.tp-card__media{display:block;overflow:hidden;border:1px solid #e2e5e7;border-radius:12px;background:#eef0f1;aspect-ratio:8/5}.tp-card__media picture{display:block;width:100%;height:100%}.tp-card__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s cubic-bezier(.2,.7,.2,1)}.tp-card>a:hover .tp-card__media img{transform:scale(1.025)}.tp-card__body{position:relative;padding:21px 56px 0 0}.tp-card__body>p{margin:0 0 6px;color:#536070;font-size:12px;line-height:1.6;letter-spacing:.055em}.tp-card h3{margin:0;color:#172435;font-size:clamp(24px,2.25vw,32px);font-weight:600;line-height:1.25;letter-spacing:-.035em}.tp-card__body>span{position:absolute;top:24px;right:3px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #cbd2d9;border-radius:50%;font-size:22px;transition:background .2s}.tp-card>a:hover .tp-card__body>span{background:#f58f29;border-color:#f58f29}.tp-tags{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:12px!important;padding:0!important;list-style:none!important}.tp-tags li{color:#536070;font-size:12px;line-height:1.6}.tp-grid--archive{gap:36px 32px}
.tp-grid--logos{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 24px}.tp-grid--logos .tp-card__media{aspect-ratio:4/3;background:#fff}.tp-grid--logos .tp-card__media img{object-fit:contain;padding:24px}.tp-grid--logos .tp-card h3{font-size:18px;line-height:1.4;letter-spacing:-.02em}.tp-grid--logos .tp-card__body{padding:15px 0 0}.tp-grid--logos .tp-card__body>p{font-size:11px}
.tp-next{border-top:1px solid #dfe3e5;border-bottom:1px solid #dfe3e5;padding:38px 0;background:#f7f7f4}.tp-next>.tp-shell{display:flex;align-items:center;justify-content:space-between;gap:32px}.tp-next h2{margin:0 0 7px;color:#172435;font-size:27px;font-weight:600;line-height:1.3;letter-spacing:-.03em}.tp-next p{max-width:640px;margin:0;color:#536070;font-size:14px}
.tp-contact{padding:88px 0;background:#172435;color:#fff}.tp-contact>.tp-shell{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:start}.tp-contact h2{margin:0 0 24px;color:#fff;font-size:clamp(36px,4.4vw,62px);line-height:1.1;letter-spacing:-.05em;font-weight:600;text-wrap:balance}.tp-contact .tp-kicker{color:#e2e8ef}.tp-contact__copy>p:not(.tp-kicker){color:#d2dbe4;max-width:420px;font-size:16px;line-height:1.85}.tp-contact__links{display:grid;gap:12px;margin-top:32px}.tp-contact__links a{display:block;width:fit-content;min-height:44px;padding:8px 0;color:#fff;text-decoration:underline;text-decoration-color:#64778b;text-underline-offset:6px;font-size:20px}.tp-contact__form{min-width:0;padding:32px;border-radius:12px;background:#fff;color:#172435}.tp-contact__form .testin-lead-form{padding:0;margin:0;background:none;box-shadow:none;border:0}.tp-contact__form .testin-lead-form>h2{font-size:25px;color:#172435;letter-spacing:-.03em;line-height:1.25;margin:0 0 14px}.tp-contact__form .testin-lead-form>p{font-size:14px;line-height:1.7;color:#536070;margin:0 0 22px}.tp-contact__form .testin-form-field label{font-size:14px;line-height:1.65}.tp-contact__form .testin-form-field small{font-size:12px;line-height:1.65}.tp-contact__form .testin-form-field :is(input:not([type=checkbox]),textarea,select){box-sizing:border-box;width:100%;max-width:100%;min-height:48px;padding:12px;font-size:16px;border-radius:6px}.tp-contact__form .testin-form-field--consent label{font-size:12px}.tp-contact__form button[type=submit]{width:100%;font-size:15px!important}.tp-contact__form .ux-form-details summary{padding-block:10px;min-height:44px;font-size:14px}.tp-contact__form .ux-form-next{font-size:13px}
body.testin-portfolio :is(.portfolio-hero,.portfolio-legacy-hero){padding:64px 0 72px;background:#f7f7f4;border-bottom:1px solid #dfe3e5}body.testin-portfolio .portfolio-hero__grid{grid-template-columns:1fr;gap:42px}body.testin-portfolio .portfolio-hero__copy{display:grid;grid-template-columns:1fr auto;column-gap:40px;max-width:none;align-items:end}body.testin-portfolio .portfolio-hero__copy>:is(.portfolio-back,.audit-eyebrow,h1){grid-column:1/-1}body.testin-portfolio .portfolio-back{width:fit-content;margin-bottom:30px;font-size:13px;min-height:36px;padding:6px 0;color:#536070}body.testin-portfolio :is(.portfolio-hero,.portfolio-legacy-hero) h1{font-size:clamp(48px,6.3vw,88px);line-height:1.06;letter-spacing:-.055em;font-weight:700;color:#172435;text-wrap:balance;overflow-wrap:anywhere}body.testin-portfolio .portfolio-hero__lead{font-size:22px;line-height:1.5;max-width:750px;margin:20px 0 0;color:#536070}body.testin-portfolio .portfolio-hero__copy .audit-actions{margin-top:22px;align-self:end;justify-content:flex-end}body.testin-portfolio .portfolio-hero__image{width:100%;max-width:none;margin:0;border-radius:14px;box-shadow:none;border:1px solid #dde2e5;background:#edf0f2}body.testin-portfolio .portfolio-hero__image img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain}
body.testin-portfolio .portfolio-case-body{padding:76px 0 80px}body.testin-portfolio .portfolio-case-heading{font-size:38px;letter-spacing:-.04em;margin-bottom:24px}body.testin-portfolio .portfolio-case-intro>p{max-width:1000px;font-size:21px;line-height:1.75;margin-bottom:40px}body.testin-portfolio .audit-case-facts{gap:40px;margin-bottom:60px}body.testin-portfolio .audit-case-facts .audit-card{padding:22px 0 0;border-top:2px solid #172435}body.testin-portfolio .audit-case-facts dd{display:flex;flex-direction:column;gap:10px;margin:0}body.testin-portfolio .audit-case-facts dd strong{font-size:21px;line-height:1.5}body.testin-portfolio .audit-case-facts dd span{font-size:15px;line-height:1.75;color:#536070}body.testin-portfolio .portfolio-browser-shot{max-width:1200px;margin-bottom:72px;border-radius:12px;background:#f7f7f4}body.testin-portfolio .portfolio-browser-shot figcaption{font-size:13px;padding:16px 24px}
body.testin-portfolio :is(.portfolio-case-prose,.portfolio-legacy-body .audit-prose){max-width:850px;margin-inline:auto;font-size:17px;line-height:1.9;color:#536070}body.testin-portfolio .portfolio-legacy-body .audit-prose{max-width:950px}body.testin-portfolio :is(.portfolio-case-prose,.portfolio-legacy-body .audit-prose) :is(h2,h3){color:#172435;font-weight:600;letter-spacing:-.035em;line-height:1.25;text-wrap:balance}body.testin-portfolio :is(.portfolio-case-prose,.portfolio-legacy-body .audit-prose) h2{font-size:34px;margin:0 0 26px}body.testin-portfolio :is(.portfolio-case-prose,.portfolio-legacy-body .audit-prose) h3{font-size:30px;margin:44px 0 18px}body.testin-portfolio :is(.portfolio-case-prose,.portfolio-legacy-body .audit-prose) p{margin:0 0 22px;font-size:inherit;line-height:inherit}body.testin-portfolio :is(.portfolio-case-prose,.portfolio-legacy-body .audit-prose) li{font-size:inherit;line-height:1.85;color:inherit}body.testin-portfolio :is(.portfolio-case-prose,.portfolio-legacy-body .audit-prose) a:not(.btn){color:#00509d;text-decoration:underline;text-underline-offset:4px}body.testin-portfolio .portfolio-case-prose .wp-block-image img{max-height:680px;border-radius:10px}body.testin-portfolio .portfolio-case-prose .audit-related-cta{background:#f7f7f4;border:1px solid #dfe3e5;border-radius:10px;padding:32px;margin-top:48px}body.testin-portfolio .portfolio-contact-cta{padding:64px 0;background:#172435}body.testin-portfolio .portfolio-contact-cta h2{font-size:clamp(32px,3.8vw,52px);max-width:820px}body.testin-portfolio .portfolio-contact-cta .btn{color:#172435!important;background:#f58f29}
body.testin-portfolio .portfolio-legacy-hero__grid{grid-template-columns:.9fr 1.1fr;gap:60px;align-items:center}body.testin-portfolio .portfolio-legacy-hero__lead{font-size:18px;line-height:1.8;margin-top:26px}body.testin-portfolio .portfolio-legacy-hero__description{font-size:15px;line-height:1.85;margin-top:16px}body.testin-portfolio .portfolio-legacy-hero__visuals{padding:24px 16px;min-width:0}body.testin-portfolio .portfolio-legacy-hero__desktop{width:100%;max-height:620px;height:auto;object-fit:contain;filter:drop-shadow(0 22px 26px #17243514)}body.testin-portfolio .portfolio-legacy-hero__mobile{width:26%;max-height:350px;object-fit:contain;margin:90px 0 0 -24%}body.testin-portfolio .portfolio-legacy-body .audit-case-study-content{padding:72px 0}
body.testin-portfolio :is(.realizacja-home-wrap,.realizacja-elementyui-wrap,.realizacja-podstrony-wrap){padding:64px 0;margin:0;background-image:none!important;background-color:#f7f7f4}body.testin-portfolio .realizacja-elementyui-wrap{background-color:#fff}body.testin-portfolio :is(.realizacja-home-wrap_inner,.realizacja-elementyui_inner,.realizacja-podstrony_inner){box-sizing:border-box;width:100%;max-width:1280px;margin-inline:auto;padding:0 48px}body.testin-portfolio :is(.realizacja-home-wrap,.realizacja-elementyui-wrap,.realizacja-podstrony-wrap) .block-header{margin:0 0 36px;max-width:none;text-align:left}body.testin-portfolio :is(.realizacja-home-wrap,.realizacja-elementyui-wrap,.realizacja-podstrony-wrap) .block-title{font-size:32px;letter-spacing:-.025em;line-height:1.3}body.testin-portfolio .realizacja-home-wrap_inner>.realizacja-shadow-image{display:block;width:100%;max-width:1040px;height:auto;margin:0 auto;border-radius:8px;box-shadow:0 16px 44px #17243512}
body.testin-portfolio .ui-colors{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:24px;max-width:780px;margin:0 auto 38px}body.testin-portfolio .single-color{display:grid;justify-items:center;gap:12px;min-width:0}body.testin-portfolio .circle-color{width:78px;height:78px;margin:0;border-radius:50%;box-shadow:inset 0 0 0 1px #1724351f}body.testin-portfolio .color-id{font-size:13px}body.testin-portfolio :is(.ui-buttons,.ui-fonts){display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:32px;margin:32px 0}body.testin-portfolio .ui-buttons img{width:auto;max-width:min(100%,280px);height:auto;max-height:100px;object-fit:contain;box-shadow:none}body.testin-portfolio .ui-fonts img{width:auto;max-width:min(100%,320px);height:auto;max-height:220px;object-fit:contain}
body.testin-portfolio .realizacje-podstrony{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}body.testin-portfolio .realizacje-podstrony .lightbox-item{display:block;min-width:0;max-width:none;width:100%;margin:0;overflow:hidden;border:1px solid #dfe3e5;border-radius:8px;background:#fff;aspect-ratio:3/4}body.testin-portfolio .realizacje-podstrony .realizacje-podstrona-image{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:top;margin:0}body.testin-portfolio .odnosnik-klienta{padding:48px;max-width:1000px;margin:0 auto;text-align:center}body.testin-portfolio .odnosnik-klienta p{overflow-wrap:anywhere;font-size:16px;line-height:1.8}body.testin-portfolio .naszerealizacje-wrap{padding:64px 0;margin:0;background:#f7f7f4}body.testin-portfolio .naszerealizacje-wrap .block-header{max-width:1440px;padding:0 48px;margin:0 auto 32px}body.testin-portfolio .naszerealizacje-inner{box-sizing:border-box;max-width:1440px;padding-inline:48px;margin-inline:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}body.testin-portfolio .naszerealizacje-single figure{border:0;border-radius:10px;background:transparent}body.testin-portfolio .naszerealizacje-single picture{aspect-ratio:8/5;overflow:hidden;border-radius:10px;background:#edf0f2}body.testin-portfolio .naszerealizacje-single .hover-img figcaption{padding:20px 0;background:transparent}body.testin-portfolio .naszerealizacje-single .realizacja-owner{font-size:25px;line-height:1.3}body.testin-portfolio .naszerealizacje-single figcaption span{font-size:14px}body.testin-portfolio .realizacje_buttons{grid-column:1/-1;margin:12px 0 0;text-align:center}
.tp-brand-hero{padding:64px 0 72px;background:#f7f7f4;border-bottom:1px solid #dfe3e5}.tp-brand-back{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-bottom:28px;color:#536070;font-size:14px}.tp-brand .tp-brand-hero p:not(.tp-kicker){max-width:650px;margin:24px 0 0;color:#536070;font-size:18px;line-height:1.8}.tp-brand-showcase{padding:64px 0}.tp-brand-stage{padding:clamp(24px,5vw,70px);margin:0 0 40px;border:1px solid #dfe3e5;border-radius:12px;background:#fff;text-align:center}.tp-brand-stage img{display:block;width:auto;max-width:100%;height:auto;max-height:700px;object-fit:contain;margin:auto}.tp-brand-stage figcaption{margin-top:24px;color:#536070;font-size:13px}.tp-brand-stage--context{background:#f7f7f4;padding:24px}.tp-brand-stage--context img{max-height:850px}.tp-brand .tp-next{margin-top:24px}
@media(min-width:1181px){body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .audit-navigation{display:block}body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .audit-mobile-nav{display:none}}
@media(max-width:1180px){body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .top-header_right{display:none}body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .audit-mobile-nav summary{box-sizing:border-box;width:44px;height:44px;align-content:center}body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) #menu-mobile.audit-mobile-menu{box-sizing:border-box;left:24px;right:24px;top:100%;width:auto;max-height:calc(100dvh - 110px)}.tp-intro__grid{gap:40px;grid-template-columns:1.2fr 1fr}.tp-contact>.tp-shell{gap:40px}.tp-grid--logos{grid-template-columns:repeat(3,minmax(0,1fr))}body.testin-portfolio .portfolio-hero__copy{display:block}body.testin-portfolio .portfolio-hero__copy .audit-actions{justify-content:flex-start}body.testin-portfolio .portfolio-legacy-hero__grid{gap:36px}}
@media(max-width:900px){.tp-shell,body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) :is(.container,.max-width){padding-inline:28px}.tp-intro{padding:56px 0 44px}.tp-intro__grid{grid-template-columns:1fr;gap:28px}.tp-intro__copy{max-width:650px}.tp-section-head{grid-template-columns:1fr;gap:18px}.tp-section-head>p{max-width:620px}.tp-contact>.tp-shell{grid-template-columns:1fr;gap:36px}.tp-contact__copy>p:not(.tp-kicker){max-width:600px}.tp-contact__links{grid-template-columns:1fr 1fr;gap:16px}.tp-next>.tp-shell{align-items:flex-start;flex-direction:column;gap:18px}body.testin-portfolio .portfolio-legacy-hero__grid{grid-template-columns:1fr;gap:36px}body.testin-portfolio .portfolio-legacy-hero__visuals{max-width:800px;margin:auto;width:100%}body.testin-portfolio .portfolio-legacy-hero__copy{max-width:780px}body.testin-portfolio :is(.realizacja-home-wrap_inner,.realizacja-elementyui_inner,.realizacja-podstrony_inner,.naszerealizacje-inner){padding-inline:28px}body.testin-portfolio .naszerealizacje-wrap .block-header{padding-inline:28px}body.testin-portfolio .audit-case-facts{gap:24px}body.testin-portfolio .realizacje-podstrony{gap:18px}}
@media(max-width:700px){.tp-shell,body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) :is(.container,.max-width){padding-inline:20px}body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .top-bar{display:none}body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .top-header{min-height:78px}body:is(.testin-portfolio,.page-id-5732,.parent-pageid-5732) .navigation_logo img{width:120px}.tp-intro{padding:42px 0 34px}.tp-kicker{font-size:11px;margin-bottom:20px}.tp-work h1,.tp-brand h1{font-size:clamp(42px,10.6vw,68px);letter-spacing:-.055em}.tp-work h1 span{font-size:.71em;margin-top:10px}.tp-intro__copy>p{font-size:16px;margin-bottom:18px}.tp-nav{flex-wrap:nowrap;overflow-x:auto;padding-block:18px;scrollbar-width:thin;overscroll-behavior-x:contain}.tp-nav a{flex-shrink:0;font-size:12px;padding:10px 13px}.tp-section{padding:44px 0 50px}.tp-section-head{margin-bottom:26px}.tp-section-head h2{font-size:32px}.tp-section-head>p{font-size:14px}.tp-grid,.tp-grid--archive{grid-template-columns:1fr;gap:32px}.tp-card__media{border-radius:8px}.tp-card__body{padding-top:16px}.tp-card h3{font-size:27px}.tp-card__body>span{top:18px}.tp-tags{margin-top:9px!important;gap:5px 12px}.tp-grid--logos{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.tp-grid--logos .tp-card__media img{padding:16px}.tp-grid--logos .tp-card h3{font-size:16px}.tp-grid--logos .tp-card__body>p{font-size:10px}.tp-next{padding:30px 0}.tp-next h2{font-size:24px}.tp-contact{padding:48px 0}.tp-contact h2{font-size:40px}.tp-contact__links{grid-template-columns:1fr;gap:4px;margin-top:24px}.tp-contact__links a{font-size:19px}.tp-contact__form{padding:22px 18px}.tp-contact__form .testin-form-grid{grid-template-columns:1fr}.tp-contact__form .testin-lead-form>h2{font-size:25px}.tp-brand-hero{padding:36px 0 40px}.tp-brand-showcase{padding:36px 0}.tp-brand-stage{margin-bottom:24px;padding:24px 16px}.tp-brand .tp-brand-hero p:not(.tp-kicker){font-size:16px}.tp-brand-back{margin-bottom:18px}body.testin-portfolio :is(.portfolio-hero,.portfolio-legacy-hero){padding:34px 0 40px}body.testin-portfolio :is(.portfolio-hero,.portfolio-legacy-hero) h1{font-size:clamp(40px,10.6vw,64px);line-height:1.08}body.testin-portfolio .portfolio-hero__lead{font-size:19px;line-height:1.65;margin-top:18px}body.testin-portfolio .portfolio-hero__grid{gap:30px}body.testin-portfolio .portfolio-hero__image{border-radius:8px}body.testin-portfolio .portfolio-legacy-hero__lead{font-size:16px}body.testin-portfolio .portfolio-legacy-hero__description{font-size:15px}body.testin-portfolio .portfolio-legacy-hero__visuals{padding:8px 0}body.testin-portfolio .portfolio-legacy-hero__mobile{max-height:260px;margin-top:40px}body.testin-portfolio #primary .btn{font-size:14px;padding:13px 18px}body.testin-portfolio .portfolio-case-body{padding:42px 0 48px}body.testin-portfolio .portfolio-case-heading{font-size:30px}body.testin-portfolio .portfolio-case-intro>p{font-size:18px;line-height:1.8;margin-bottom:32px}body.testin-portfolio .audit-case-facts{grid-template-columns:1fr;gap:24px;margin-bottom:38px}body.testin-portfolio .audit-case-facts dd strong{font-size:20px}body.testin-portfolio .audit-case-facts dd span{font-size:15px}body.testin-portfolio .portfolio-browser-shot{margin-bottom:40px}body.testin-portfolio .portfolio-browser-shot figcaption{font-size:12px;padding:12px 16px}body.testin-portfolio :is(.portfolio-case-prose,.portfolio-legacy-body .audit-prose){font-size:16px;line-height:1.85}body.testin-portfolio :is(.portfolio-case-prose,.portfolio-legacy-body .audit-prose) h3{font-size:27px;margin-top:34px}body.testin-portfolio :is(.portfolio-case-prose,.portfolio-legacy-body .audit-prose) h2{font-size:29px}body.testin-portfolio .portfolio-case-prose .audit-related-cta{padding:24px 20px}body.testin-portfolio .portfolio-case-prose .audit-related-cta h2{font-size:27px}body.testin-portfolio .portfolio-contact-cta{padding:42px 0}body.testin-portfolio .portfolio-contact-cta h2{font-size:33px}body.testin-portfolio :is(.realizacja-home-wrap,.realizacja-elementyui-wrap,.realizacja-podstrony-wrap,.portfolio-legacy-body .audit-case-study-content,.naszerealizacje-wrap){padding-block:42px}body.testin-portfolio :is(.realizacja-home-wrap_inner,.realizacja-elementyui_inner,.realizacja-podstrony_inner,.naszerealizacje-inner){padding-inline:20px}body.testin-portfolio .naszerealizacje-wrap .block-header{padding-inline:20px}body.testin-portfolio :is(.realizacja-home-wrap,.realizacja-elementyui-wrap,.realizacja-podstrony-wrap) .block-title{font-size:27px}body.testin-portfolio .realizacje-podstrony,body.testin-portfolio .naszerealizacje-inner{grid-template-columns:1fr;gap:24px}body.testin-portfolio .realizacje-podstrony .lightbox-item{aspect-ratio:4/5}body.testin-portfolio .ui-colors{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}body.testin-portfolio .odnosnik-klienta{padding:36px 20px}body.testin-portfolio .portfolio-back{font-size:13px;margin-bottom:22px}}
@media(prefers-reduced-motion:reduce){.tp-work *,.tp-brand *,body.testin-portfolio #primary *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Final image and overflow safeguards. */
.tp-grid--archive .tp-card__media img{object-fit:contain}
.tp-brand h1,.tp-card h3{overflow-wrap:anywhere}
.tp-intro__grid>*,.tp-section-head>*,.tp-contact>.tp-shell>*,.tp-brand .tp-shell>*{min-width:0}
body.testin-portfolio .portfolio-hero__grid{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:64px;align-items:center}
body.testin-portfolio .portfolio-hero__copy{display:block}
body.testin-portfolio .portfolio-hero__copy .audit-actions{justify-content:flex-start}
body.testin-portfolio .portfolio-hero h1{font-size:clamp(48px,5.7vw,80px)}
@media(max-width:900px){body.testin-portfolio .portfolio-hero__grid{grid-template-columns:1fr;gap:32px}}
@media(max-width:700px){body.testin-portfolio .portfolio-hero h1{font-size:clamp(40px,10.6vw,64px)}.tp-grid--logos .tp-card__body{padding-right:0}}
/* TESTIN PORTFOLIO 2026-09-13 END */


/* --- WPWriter addition --- */
/* TESTIN_WPWRITER_CONNECTION_CHECK_20260913: test zapisu konektora; bez zmian wizualnych. */

/* --- WPWriter addition --- */
/* TESTIN_WPWRITER_PORTFOLIO_FOCUS_20260913_BEGIN
 * Naprawa widocznego fokusu klawiatury w kartach .tn-tease.
 * Kontener karty ma overflow:hidden; obrys rysujemy wewnatrz linku.
 * Cofniecie: usun tylko ten oznaczony blok z Dodatkowego CSS.
 */
body.page-id-5732 #primary .tn-tease > a:focus-visible {
  outline: 3px solid #f58f29;
  outline-offset: -6px;
  border-radius: inherit;
}
/* TESTIN_WPWRITER_PORTFOLIO_FOCUS_20260913_END */

/* --- WPWriter addition --- */
/* TESTIN_UI_INTERACTIONS_20260914_BEGIN
 * Scoped interaction improvements; preserve layout, media, URLs and forms.
 * Rollback: remove only this BEGIN/END block from Additional CSS.
 */
body .top-header :is(a, button, summary):focus-visible,
body .testin-lead-form :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #00509d !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 3px #ffffff !important;
}

body .testin-lead-form textarea {
  resize: vertical;
}

@media (max-width: 700px) {
  body .audit-mobile-nav > summary {
    box-sizing: border-box;
    min-width: 44px;
    min-height: 44px;
  }
  body .testin-lead-form .testin-form-field :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
    font-size: max(16px, 1em) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-5732 .tn-tease .tn-browser,
  body.page-id-5732 .tn-tease > a:hover .tn-browser,
  body.page-id-5732 .tn-tease > a:focus-visible .tn-browser,
  body.page-id-5732 .tn-tease > a:hover .tn-tease__photo {
    transform: none !important;
    transition: none !important;
  }
}
/* TESTIN_UI_INTERACTIONS_20260914_END */

/* --- WPWriter addition --- */
/* TESTIN_CONSENT_RESPONSIVE_20260914_BEGIN
 * Ograniczenie szerokosci panelu zgody i zawijanie przyciskow na malych ekranach.
 * Tylko panel #testin-consent-panel; bez zmian stanu zgody i logiki analityki.
 * Cofniecie: usun caly oznaczony blok z Dodatkowego CSS.
 */
@media (max-width: 600px) {
  body #testin-consent-panel {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: calc(100vw - 32px) !important;
    overflow-wrap: anywhere;
  }
  body #testin-consent-panel .testin-consent-actions {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap !important;
  }
  body #testin-consent-panel .testin-consent-actions button {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
/* TESTIN_CONSENT_RESPONSIVE_20260914_END */

/* --- WPWriter addition --- */
/* TESTIN_BLOG_IMAGE_WIDTH_FIX_20260914_BEGIN
 * Glowne obrazy wpisow blogowych - pelna szerokosc kontenera i naturalne proporcje.
 * Cofniecie: usun tylko ten oznaczony blok.
 */
body.single-post article.single-post .single-post__img-container {
  width: 100% !important;
  max-width: 100% !important;
}
body.single-post article.single-post .single-post__img-container img.single-post__img,
body.single-post article.single-post .single-post__img-container img.wp-post-image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
/* TESTIN_BLOG_IMAGE_WIDTH_FIX_20260914_END */

/* --- WPWriter addition --- */
/* TESTIN_UI_MOBILE_GALLERY_20260914_BEGIN
 * Only the three new-project cards on /realizacje/, up to 700px.
 * Keep media, copy, links, desktop layout and previous interaction fixes.
 * Flow layout prevents overlap when text wraps or is enlarged.
 * Rollback: remove this complete BEGIN/END block from Additional CSS.
 */
@media (max-width: 700px) {
  body.page-id-5732 #primary .tn-collection .tn-tease > a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    box-sizing: border-box;
    height: auto;
    min-height: 450px;
    padding: 28px 24px 24px;
  }
  body.page-id-5732 #primary .tn-collection .tn-tease .tn-browser {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: 0 0 auto;
    box-sizing: border-box;
    margin: 0;
  }
  body.page-id-5732 #primary .tn-collection .tn-tease .tn-tease__copy {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
    margin: 0;
    overflow-wrap: anywhere;
  }
  body.page-id-5732 #primary .tn-collection .tn-tease .tn-tease__copy > p {
    font-size: .8125rem !important;
    line-height: 1.6;
    letter-spacing: .065em;
  }
  body.page-id-5732 #primary .tn-collection .tn-tease .tn-tease__copy > span {
    font-size: .875rem;
    line-height: 1.7;
    max-width: none;
    padding-right: 52px;
    box-sizing: border-box;
  }
  body.page-id-5732 #primary .tn-collection .tn-tease .tn-tease__copy h3 {
    font-size: 1.8125rem !important;
    max-width: none;
    overflow-wrap: anywhere;
  }
  body.page-id-5732 #primary .tn-collection .tn-tease--wide .tn-tease__copy h3 {
    font-size: 2rem !important;
  }
}
/* TESTIN_UI_MOBILE_GALLERY_20260914_END */

/* --- WPWriter addition --- */
/* TESTIN_UI_MOBILE_GALLERY_FONT_FLOORS_20260914_BEGIN
 * Preserve minimum legibility when the theme changes the root font size.
 * Remove with the TESTIN_UI_MOBILE_GALLERY_20260914 block to roll back.
 */
@media (max-width: 700px) {
  body.page-id-5732 #primary .tn-collection .tn-tease .tn-tease__copy > p {
    font-size: max(13px, .8125rem) !important;
  }
  body.page-id-5732 #primary .tn-collection .tn-tease .tn-tease__copy > span {
    font-size: max(14px, .875rem);
  }
  body.page-id-5732 #primary .tn-collection .tn-tease .tn-tease__copy h3 {
    font-size: max(29px, 1.8125rem) !important;
  }
  body.page-id-5732 #primary .tn-collection .tn-tease--wide .tn-tease__copy h3 {
    font-size: max(32px, 2rem) !important;
  }
}
/* TESTIN_UI_MOBILE_GALLERY_FONT_FLOORS_20260914_END */

/* --- WPWriter addition --- */
/* TESTIN_OFFER_REFINEMENT_20260914_BEGIN */
body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary{--to-ink:#172435;--to-muted:#536070;--to-paper:#f7f7f4;--to-line:#dfe3e8;--to-accent:#f8992f;font-size:max(17px,1rem);line-height:1.75;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :where(section,article,figure,div){min-width:0;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :where(h1,h2,h3,p,li,a,summary){overflow-wrap:break-word;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary h1{font-size:max(32px,clamp(2rem,calc(1.1rem + 2.3vw),3.2rem)) !important;line-height:1.13 !important;letter-spacing:-.035em !important;text-wrap:balance;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary h2{font-size:max(26px,clamp(1.65rem,calc(1.2rem + 1.2vw),2.35rem)) !important;line-height:1.24 !important;letter-spacing:-.025em;text-wrap:balance;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary h3{font-size:max(20px,1.3rem) !important;line-height:1.35 !important;letter-spacing:-.015em;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.web-hero,.audit-service-hero){padding-block:clamp(36px,4.4vw,64px) !important;background:#f7f7f4;color:#172435;border-bottom:1px solid #dfe3e8;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.web-hero,.audit-service-hero) h1{color:#172435 !important;margin:16px 0 22px;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.web-hero__grid,.audit-service-hero__grid){display:grid !important;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr) !important;gap:clamp(28px,4vw,56px) !important;align-items:center;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.web-hero__grid,.audit-service-hero__grid)>*{min-width:0;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary > section > .container, body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary > .container{box-sizing:border-box;width:100%;max-width:1240px;margin-inline:auto;padding-inline:32px;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.web-lead,.audit-service-hero__lead){max-width:65ch;margin:0 0 24px;color:#536070 !important;font-size:max(18px,1.1rem) !important;line-height:1.7 !important;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.audit-actions,.web-actions,.to-actions){display:flex;align-items:center;flex-wrap:wrap;gap:12px;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(a.btn,button.btn,.to-btn,.wp-block-button__link){display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;min-height:48px;max-width:100%;padding:13px 22px !important;border:2px solid transparent;border-radius:8px !important;background:#f8992f !important;color:#172435 !important;box-shadow:none;font-size:max(16px,1rem) !important;font-weight:600 !important;line-height:1.45 !important;letter-spacing:0 !important;text-transform:none !important;text-decoration:none !important;text-align:center;white-space:normal !important;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(a.btn,button.btn,.to-btn,.wp-block-button__link):hover{background:#ffae51 !important;color:#172435 !important;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary a:is(.audit-btn-secondary,.web-btn-secondary,.to-btn--secondary){background:#fff !important;color:#172435 !important;border:2px solid #8793a2 !important;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary a:is(.audit-btn-secondary,.web-btn-secondary,.to-btn--secondary):hover{background:#edf1f5 !important;color:#172435 !important;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #00509d !important;outline-offset:3px !important;box-shadow:0 0 0 3px #fff !important;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(h2[id],section[id],div[id],form[id]){scroll-margin-top:112px;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary p a:not(.btn):not(.to-btn):not(.wp-block-button__link){text-decoration:underline;text-underline-offset:4px;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.audit-service-highlights,.audit-pricing-summary){box-sizing:border-box;margin:0;padding:24px 28px;border:1px solid #172435;border-top:4px solid #f8992f;border-radius:12px;background:#172435;color:#fff;box-shadow:none;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary .audit-service-highlights{list-style:none;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.audit-service-highlights,.audit-pricing-summary) li{margin:0;padding:12px 0;color:#fff !important;font-size:max(16px,1rem);line-height:1.6;border-bottom:1px solid #ffffff33;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.audit-service-highlights,.audit-pricing-summary) li:last-child{border-bottom:0;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary .audit-pricing-summary strong{color:#fff;font-size:max(18px,1.125rem);}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary .audit-pricing-summary ul{margin:12px 0 0;padding-left:20px;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary .audit-card{box-sizing:border-box;padding:28px;border:1px solid #dfe3e8;border-radius:12px;box-shadow:none;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary .audit-card p{font-size:max(17px,1rem);line-height:1.75;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary details:not(.ux-form-details){margin:12px 0;padding:0 !important;border:1px solid #d1d9e1 !important;border-radius:10px;background:#fff;color:#172435;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary details:not(.ux-form-details)>summary{box-sizing:border-box;min-height:56px;padding:17px 22px !important;color:#172435 !important;font-size:max(17px,1rem) !important;font-weight:600 !important;line-height:1.6;cursor:pointer;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary details:not(.ux-form-details)[open]>summary{border-bottom:1px solid #e4e9ef;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary details:not(.ux-form-details)>p{margin:18px 22px 22px;max-width:75ch;font-size:max(17px,1rem);line-height:1.8;color:#536070;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary .testin-lead-form h2{font-size:max(25px,1.6rem) !important;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary .testin-form-field :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){box-sizing:border-box;max-width:100%;min-height:48px;padding:12px;font-size:max(16px,1rem) !important;border-radius:7px;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary .testin-lead-form textarea{resize:vertical;}body.page-id-9680 #testin-woo-offer{font-size:max(17px,1rem);line-height:1.8;padding-inline:20px;}body.page-id-9680 #testin-woo-offer>section{margin-bottom:40px;}body.page-id-9680 #testin-woo-offer article{line-height:1.75;}body.page-id-9680 #testin-woo-offer article p{font-size:max(17px,1rem);}body.page-id-9680 #testin-woo-offer a[style*="display:inline-block"]{display:inline-flex !important;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;max-width:100%;font-size:max(16px,1rem);line-height:1.45 !important;white-space:normal;text-align:center;}body.page-id-9680 #testin-woo-offer [id]{scroll-margin-top:112px;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) .to-section-nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 0 30px;margin:0;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) .to-section-nav a{display:inline-flex;align-items:center;box-sizing:border-box;min-height:44px;padding:9px 14px;border:1px solid #8793a2;border-radius:7px;background:#fff;color:#172435;font-size:max(14px,.875rem);line-height:1.5;text-decoration:none;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) .to-section-nav a:hover{background:#edf1f5;}body.page-id-16466 .to-integrations{box-sizing:border-box;width:100%;max-width:1180px;margin:0 auto;color:#172435;font-size:max(17px,1rem);line-height:1.8;}body.page-id-16466 .to-integrations *{box-sizing:border-box;}body.page-id-16466 .to-integrations :where(h2,h3,p,li,a){overflow-wrap:break-word;}body.page-id-16466 .to-integrations .to-intro{padding:clamp(24px,4vw,48px);border-radius:14px;border-top:4px solid #f8992f;background:#172435;color:#fff;margin-bottom:28px;}body.page-id-16466 .to-integrations .to-intro p{margin:0 0 18px;color:#e4ebf2;}body.page-id-16466 .to-integrations .to-intro strong{display:block;margin-bottom:16px;color:#fff;font-size:max(24px,1.5rem);line-height:1.4;}body.page-id-16466 .to-integrations .to-section{padding:36px 0;border-top:1px solid #dfe3e8;}body.page-id-16466 .to-integrations h2{font-size:max(26px,1.8rem);line-height:1.25;margin:0 0 22px;text-wrap:balance;}body.page-id-16466 .to-integrations .to-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}body.page-id-16466 .to-integrations .to-panel{min-width:0;padding:28px;border:1px solid #dfe3e8;border-radius:12px;background:#f7f7f4;}body.page-id-16466 .to-integrations .to-panel h2{font-size:max(24px,1.5rem) !important;}body.page-id-16466 .to-integrations .to-panel p:last-child{margin-bottom:0;}body.page-id-16466 .to-integrations .to-steps{display:grid;gap:14px;padding-left:24px;}body.page-id-16466 .to-integrations .to-steps li{padding-left:8px;}body.page-id-16466 .to-integrations .to-next{padding:32px;border:1px solid #dfe3e8;border-radius:12px;background:#f7f7f4;margin-top:28px;}body.page-id-16466 .to-integrations a:not(.to-btn):not(.to-section-nav a){color:#00509d;text-decoration:underline;text-underline-offset:4px;}body.page-id-16466 .to-integrations [id]{scroll-margin-top:112px;}@media (max-width:900px){body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.web-hero__grid,.audit-service-hero__grid){grid-template-columns:minmax(0,1fr) !important;gap:30px !important;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.audit-service-highlights,.audit-pricing-summary){max-width:none;width:100%;}body.page-id-16466 .to-integrations .to-grid{grid-template-columns:minmax(0,1fr);}}@media (max-width:600px){body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary > section > .container, body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary > .container{padding-inline:20px;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.web-hero,.audit-service-hero){padding-block:32px !important;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.audit-actions,.web-actions,.to-actions){flex-direction:column;align-items:stretch;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.audit-actions,.web-actions,.to-actions)>a{width:100%;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary :is(.audit-service-highlights,.audit-pricing-summary,.audit-card){padding:22px;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary details:not(.ux-form-details)>summary{padding:15px 18px !important;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) #primary details:not(.ux-form-details)>p{margin:16px 18px 20px;}body.page-id-9680 #testin-woo-offer{padding-inline:16px;}body.page-id-9680 #testin-woo-offer>section{padding-inline:20px !important;margin-bottom:28px !important;}body.page-id-9680 #testin-woo-offer>section:first-of-type{padding-top:28px !important;padding-bottom:28px !important;}body.page-id-9680 #testin-woo-offer a[style*="display:inline-block"]{width:100%;}body.page-id-9680 #testin-woo-offer article{padding:20px !important;}body.page-id-16466 .to-integrations .to-panel, body.page-id-16466 .to-integrations .to-next{padding:22px;}body:is(.page-id-9682,.page-id-9680,.page-id-15968,.page-id-15969,.page-id-15970,.page-id-13941,.page-id-16466) .to-section-nav{gap:8px;padding-bottom:24px;}}
/* TESTIN_OFFER_REFINEMENT_20260914_END */

/* --- WPWriter addition --- */
/* TESTIN_LOGO_BROWSING_20260914_R6_BEGIN
   Only new controls on the four edited logo pages. No hero or form changes.
   Rollback: remove this block; reverse content-patches.json per page. */
body #primary.tp-brand .tp-brand-zoom{display:flex;flex-direction:column;align-items:center;gap:18px;box-sizing:border-box;width:100%;min-width:0;max-width:100%;border-radius:8px;color:#172435;text-decoration:none;cursor:zoom-in}
body #primary.tp-brand .tp-brand-zoom>img{display:block;max-width:100%;height:auto;object-fit:contain}
body #primary.tp-brand .tp-brand-zoom__hint{display:inline-flex;justify-content:center;align-items:center;gap:10px;box-sizing:border-box;min-height:44px;max-width:100%;padding:10px 18px;border:1px solid #f58f29;border-radius:7px;background:#f58f29;color:#172435;font-size:max(15px,.9375rem);font-weight:600;line-height:1.5;text-align:center;overflow-wrap:anywhere;transition:background-color .15s ease}
body #primary.tp-brand .tp-brand-zoom:hover .tp-brand-zoom__hint{background:#ffae51}
body #primary.tp-brand .tp-brand-more{margin-top:40px;padding-top:30px;border-top:1px solid #dfe3e5}
body #primary.tp-brand .tp-brand-more__title{margin:0 0 20px;color:#172435;font-size:max(26px,1.625rem);font-weight:600;line-height:1.3;letter-spacing:-.025em}
body #primary.tp-brand .tp-brand-more__links{display:flex;align-items:stretch;flex-wrap:wrap;gap:16px}
body #primary.tp-brand .tp-brand-more__links>a{display:flex;justify-content:center;box-sizing:border-box;flex:1 1 260px;min-width:0;min-height:60px;max-width:100%;padding:20px 24px;border:1px solid #cbd3dc;border-radius:10px;background:#f7f7f4;color:#172435;font-size:max(16px,1rem);line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
body #primary.tp-brand .tp-brand-more__project{flex-direction:column;gap:6px}
body #primary.tp-brand .tp-brand-more__project>span{color:#536070;font-size:max(13px,.8125rem)}
body #primary.tp-brand .tp-brand-more__project strong{font-size:max(20px,1.25rem)}
body #primary.tp-brand .tp-brand-more__all{align-items:center;gap:12px;font-weight:600}
body #primary.tp-brand .tp-brand-more__links>a:hover{border-color:#f58f29;background:#fff}
body #primary.tp-brand :is(.tp-brand-zoom,.tp-brand-more__links>a):focus-visible{outline:3px solid #00509d!important;outline-offset:5px!important;box-shadow:0 0 0 2px #fff}
@media(max-width:600px){body #primary.tp-brand .tp-brand-more__links>a{padding:18px;flex-basis:100%}body #primary.tp-brand .tp-brand-more{margin-top:28px;padding-top:24px}}
@media(prefers-reduced-motion:reduce){body #primary.tp-brand .tp-brand-zoom__hint{transition:none}}
/* TESTIN_LOGO_BROWSING_20260914_R6_END */

/* --- WPWriter addition --- */
/* TESTIN_OFFER_INTEGRATIONS_CONTAINER_20260914_BEGIN
 * The published integration template does not wrap its body in #primary.
 * Keep the same action styles within the observed .to-integrations root.
 * Rollback: remove only this complete BEGIN/END block.
 */
body.page-id-16466 h1 {
  max-width: 100%;
  font-size: max(32px, clamp(2rem, calc(1.1rem + 2.3vw), 3.2rem));
  line-height: 1.13;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
body.page-id-16466 .to-integrations .to-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
body.page-id-16466 .to-integrations a.to-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  min-height: 48px;
  max-width: 100%;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #f8992f;
  color: #172435;
  font-size: max(16px, 1rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  text-align: center;
  white-space: normal;
}
body.page-id-16466 .to-integrations a.to-btn:hover {
  background: #ffae51;
  color: #172435;
}
body.page-id-16466 .to-integrations a.to-btn--secondary {
  background: #fff;
  color: #172435;
  border-color: #8793a2;
}
body.page-id-16466 .to-integrations a.to-btn--secondary:hover {
  background: #edf1f5;
  color: #172435;
}
body.page-id-16466 .to-integrations :is(a, button, summary):focus-visible {
  outline: 3px solid #00509d !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 3px #fff !important;
}
@media (max-width: 600px) {
  body.page-id-16466 .to-integrations .to-actions {
    flex-direction: column;
    align-items: stretch;
  }
  body.page-id-16466 .to-integrations .to-actions > a {
    width: 100%;
  }
}
/* TESTIN_OFFER_INTEGRATIONS_CONTAINER_20260914_END */

/* --- WPWriter addition --- */
/* TESTIN_LOGO_BROWSING_TEXT_REFLOW_20260914_R6_BEGIN */
body #primary.tp-brand .tp-brand-more__title { overflow-wrap: anywhere; }
/* TESTIN_LOGO_BROWSING_TEXT_REFLOW_20260914_R6_END */

/* --- WPWriter addition --- */
/* TESTIN_MANROPE_20260914_BEGIN
 * Approved site-wide font change. Typography only; no layout/media/content changes.
 * Rollback: remove this entire BEGIN/END block from Additional CSS.
 * Existing CSS is retained; do not replace it when applying this block.
 * Fontsource Manrope variable, pinned to 5.3.0; Latin + extended Latin.
 */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/fontsource/fonts/manrope:vf@5.3.0/latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/fontsource/fonts/manrope:vf@5.3.0/latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+1E00-1EFF;
}
:root {
  --testin-font-sans: 'Manrope', 'Poppins', Arial, sans-serif;
}
body:not(.wp-admin):not(.login) {
  font-family: var(--testin-font-sans) !important;
}
body:not(.wp-admin):not(.login) :is(#page, #primary, main, header, footer, nav, section, article, .entry-content, .tp-work, .tp-brand, .to-integrations, #testin-woo-offer, .testin-lead-form):not(:where(#wpadminbar, #wpadminbar *)) {
  font-family: var(--testin-font-sans) !important;
}
/* Preserve icon fonts, code samples, SVG artwork and the WordPress admin bar. */
body:not(.wp-admin):not(.login) :is(h1, h2, h3, h4, h5, h6, p, a, li, dt, dd, label, button, input, select, textarea, summary, figcaption, blockquote, th, td, legend, span, strong, b, em):not(:where(#wpadminbar, #wpadminbar *, pre, pre *, code, code *, kbd, kbd *, samp, samp *, svg, svg *, .fa, .fas, .far, .fab, .fal, .fad, .dashicons, .ab-icon, .material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp, [class^="fa-"], [class*=" fa-"], [class^="icon-"], [class*=" icon-"], [class^="eicon-"], [class*=" eicon-"])) {
  font-family: var(--testin-font-sans) !important;
}
/* Keep the existing responsive sizes, line heights and emphasis. */
body:not(.wp-admin):not(.login) h1 {
  font-weight: 700;
}
body:not(.wp-admin):not(.login) :is(h2, h3, h4, h5, h6) {
  font-weight: 600;
}
/* Loosen only the previously over-tight portfolio display headlines. */
body:not(.wp-admin):not(.login) :is(.tp-work, .tp-brand) h1,
body:not(.wp-admin):not(.login) :is(.tp-work, .tp-brand) h1 span,
body.testin-portfolio :is(.portfolio-hero, .portfolio-legacy-hero) h1 {
  letter-spacing: -0.03em;
}
/* TESTIN_MANROPE_20260914_END */

/* --- WPWriter addition --- */
/* TESTIN_QUALITY_BLOG_MEDIA_RESERVE_20260914: test wycofany; brak poprawy CLS. */

/* --- WPWriter addition --- */
/* TESTIN_PORTFOLIO_MOTION_20260914_BEGIN
 * Portfolio index only. Stable mockups, quiet photo zoom, unified arrow motion.
 * Rollback: remove this entire marked block from Additional CSS.
 */
body.page-id-5732 #primary {
  --tp-motion-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Keep screenshots, logos and multi-image compositions sharp and stationary. */
body.page-id-5732 #primary .tn-tease > a .tn-browser,
body.page-id-5732 #primary .tp-card > a .tp-card__media img,
body.page-id-5732 #primary .tp-feature > a .tp-feature__media img {
  transform: none !important;
  transition: none !important;
}
body.page-id-5732 #primary .tn-tease > a .tn-tease__photo {
  transform: none;
  transition: none;
}
/* Straightened browser previews retain breathing room at wide breakpoints. */
@media (min-width: 701px) {
  body.page-id-5732 #primary .tn-tease:not(.tn-tease--wide) .tn-browser {
    max-width: 440px;
    right: max(9%, calc((100% - 440px) / 2));
  }
  body.page-id-5732 #primary .tn-tease--wide .tn-browser {
    max-width: 660px;
  }
}
body.page-id-5732 #primary :is(.tp-card__media, .tp-feature__media) {
  transition: border-color 280ms ease;
}

/* Animate the arrow inside a stationary circle; its existing aria-hidden stays. */
body.page-id-5732 #primary :is(.tn-tease__arrow, .tp-card__body > span[aria-hidden], .tp-feature__cta > span[aria-hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  transform: none;
  transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease;
}
body.page-id-5732 #primary :is(.tn-tease__arrow, .tp-card__body > span[aria-hidden], .tp-feature__cta > span[aria-hidden])::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M5 5h14v14' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M5 5h14v14' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: none;
  transition: transform 320ms var(--tp-motion-ease);
}
body.page-id-5732 #primary .tn-tease > a .tn-tease__arrow {
  background-color: transparent;
  border-color: #ffffff7a;
  color: #fff;
}
body.page-id-5732 #primary .tp-card > a .tp-card__body > span[aria-hidden],
body.page-id-5732 #primary .tp-feature > a .tp-feature__cta > span[aria-hidden] {
  background-color: transparent;
  border-color: #cbd2d9;
  color: #172435;
}

@media (hover: hover) and (pointer: fine) {
  body.page-id-5732 #primary .tn-tease > a .tn-tease__photo {
    transition: transform 700ms var(--tp-motion-ease);
  }
  body.page-id-5732 #primary .tn-tease > a:hover .tn-tease__photo {
    transform: scale(1.012);
  }
  body.page-id-5732 #primary .tn-tease > a:hover .tn-tease__arrow {
    background-color: #f7f7f4;
    border-color: #f7f7f4;
    color: #172435;
  }
  body.page-id-5732 #primary .tp-card > a:hover .tp-card__body > span[aria-hidden],
  body.page-id-5732 #primary .tp-feature > a:hover .tp-feature__cta > span[aria-hidden] {
    background-color: #f58f29;
    border-color: #f58f29;
    color: #172435;
  }
  body.page-id-5732 #primary :is(.tn-tease, .tp-card, .tp-feature) > a:hover :is(.tn-tease__arrow, .tp-card__body > span[aria-hidden], .tp-feature__cta > span[aria-hidden])::before {
    transform: translate(2px, -2px);
  }
  body.page-id-5732 #primary :is(.tp-card, .tp-feature) > a:hover :is(.tp-card__media, .tp-feature__media) {
    border-color: #9ca9b5;
  }
}

/* Keyboard has an immediate, high-contrast focus, independent of pointer motion. */
body.page-id-5732 #primary :is(.tp-card, .tp-feature) > a:focus-visible {
  outline: 3px solid #00509d;
  outline-offset: 6px;
  border-radius: 12px;
}
body.page-id-5732 #primary .tn-tease > a:focus-visible {
  outline: 3px solid #f58f29;
  outline-offset: -6px;
  border-radius: inherit;
}
body.page-id-5732 #primary :is(.tn-tease, .tp-card, .tp-feature) > a:focus-visible :is(.tn-tease__arrow, .tp-card__body > span[aria-hidden], .tp-feature__cta > span[aria-hidden]) {
  background-color: #f58f29;
  border-color: #f58f29;
  color: #172435;
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-5732 #primary :is(.tn-tease, .tp-card, .tp-feature) *,
  body.page-id-5732 #primary :is(.tn-tease, .tp-card, .tp-feature) *::before {
    transition: none !important;
    animation: none !important;
  }
  body.page-id-5732 #primary .tn-tease > a:hover .tn-tease__photo,
  body.page-id-5732 #primary :is(.tn-tease, .tp-card, .tp-feature) > a:hover :is(.tn-tease__arrow, .tp-card__body > span[aria-hidden], .tp-feature__cta > span[aria-hidden])::before {
    transform: none !important;
  }
}
/* TESTIN_PORTFOLIO_MOTION_20260914_END */


/* --- WPWriter addition --- */
/* TESTIN_FINKER_20260914_BEGIN — scoped case and one portfolio card. */
body #primary.tf-case{--tf-navy:#212e59;--tf-gold:#c4a45c;--tf-paper:#f7f5ef;--tf-ink:#202c48;--tf-muted:#586273;background:#fff;color:var(--tf-ink);font-size:17px;line-height:1.8;margin:0;padding:0;overflow:clip}
body #primary.tf-case *,body.page-id-5732 #primary .tf-card *{box-sizing:border-box;min-width:0}
body #primary.tf-case :is(h1,h2,h3,p,figure,dl,dd){margin:0}
body #primary.tf-case .tf-shell{width:100%;max-width:1440px;margin-inline:auto;padding-inline:48px}
body #primary.tf-case a{color:inherit;text-underline-offset:5px}
body #primary.tf-case a:focus-visible{outline:3px solid #c4a45c!important;outline-offset:5px!important;box-shadow:0 0 0 2px #212e59}
body #primary.tf-case .tf-eyebrow{font-size:12px;font-weight:600;line-height:1.65;letter-spacing:.14em;text-transform:uppercase;color:#716039;margin-bottom:22px}
body #primary.tf-case h1{font-size:clamp(50px,6.7vw,92px);font-weight:600;letter-spacing:-.064em;line-height:1.02;color:var(--tf-navy);text-wrap:balance}
body #primary.tf-case h2{font-size:clamp(34px,3.55vw,51px);font-weight:500;letter-spacing:-.05em;line-height:1.14;color:var(--tf-navy);text-wrap:balance}
body #primary.tf-case :is(h1,h2) em{font-style:normal;color:#786330}
body #primary.tf-case h3{font-size:22px;font-weight:600;line-height:1.35;letter-spacing:-.025em;color:var(--tf-navy)}
body #primary.tf-case .tf-hero{background:var(--tf-paper);padding:30px 0 0}
body #primary.tf-case .tf-back{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-bottom:34px;font-size:13px;text-decoration:none}
body #primary.tf-case .tf-back span{font-size:20px}
body #primary.tf-case .tf-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:64px;align-items:center;padding-bottom:62px}
body #primary.tf-case .tf-lead{font-size:18px;line-height:1.85;color:var(--tf-muted);max-width:520px;margin:28px 0}
body #primary.tf-case .tf-button{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:52px;max-width:100%;padding:14px 23px;border:1px solid var(--tf-gold);border-radius:5px;background:var(--tf-gold);color:#17243e;font-size:15px;font-weight:600;line-height:1.5;text-decoration:none;transition:background-color .25s ease,border-color .25s ease}
body #primary.tf-case .tf-button span{font-size:21px}
body #primary.tf-case .tf-button:hover{background:#d5b873;border-color:#d5b873}
body #primary.tf-case .tf-hero-visual{background:var(--tf-navy);border-radius:12px;padding:34px 32px 25px;position:relative;overflow:hidden;isolation:isolate}
body #primary.tf-case .tf-logo{background:#fff;padding:17px 22px;border-radius:4px;width:75%;max-width:350px;margin:0 auto 36px}
body #primary.tf-case .tf-logo img{display:block;width:100%;height:auto}
body #primary.tf-case .tf-portrait{width:min(100%,430px);margin:0 auto;border-radius:50%;overflow:hidden;background:var(--tf-gold);aspect-ratio:1;outline:1px solid #c4a45c55;outline-offset:10px}
body #primary.tf-case .tf-portrait img{width:100%;height:auto;display:block}
body #primary.tf-case .tf-portrait-caption{display:flex;justify-content:space-between;gap:18px;margin-top:30px;font-size:11px;line-height:1.7;color:#e5decd}
body #primary.tf-case .tf-portrait-caption span:first-child{color:#c4a45c}
body #primary.tf-case .tf-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;border-top:1px solid #d9d8d1;padding:29px 0 32px}
body #primary.tf-case .tf-facts dt{font-size:11px;letter-spacing:.12em;line-height:1.6;text-transform:uppercase;color:var(--tf-muted);margin-bottom:7px}
body #primary.tf-case .tf-facts dd{font-size:15px;font-weight:500;line-height:1.6}
body #primary.tf-case .tf-story{display:grid;grid-template-columns:1fr 1.05fr;gap:80px;padding-block:92px}
body #primary.tf-case .tf-story-copy p{color:var(--tf-muted);font-size:17px;line-height:1.9}
body #primary.tf-case .tf-story-copy p+p{margin-top:20px}
body #primary.tf-case .tf-details{background:var(--tf-navy);padding:72px 0 78px;color:#fff}
body #primary.tf-case .tf-details .tf-eyebrow{color:#d4b774}
body #primary.tf-case .tf-details h2,body #primary.tf-case .tf-details h3{color:#fff}
body #primary.tf-case .tf-details h2 em{color:#d4b774}
body #primary.tf-case .tf-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px;margin-top:48px}
body #primary.tf-case .tf-detail-grid article{border-top:1px solid #ffffff42;padding-top:22px}
body #primary.tf-case .tf-number{display:block;color:#d4b774;font-size:13px;margin-bottom:20px;font-variant-numeric:tabular-nums}
body #primary.tf-case .tf-detail-grid p{color:#d9dfef;font-size:15px;line-height:1.9;margin-top:16px}
body #primary.tf-case .tf-people{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:70px;padding-block:92px}
body #primary.tf-case .tf-team img{display:block;width:100%;height:auto;border-radius:9px}
body #primary.tf-case .tf-team figcaption{font-size:12px;color:var(--tf-muted);line-height:1.6;margin-top:12px}
body #primary.tf-case .tf-people-copy>p:not(.tf-eyebrow):not(.tf-caption){font-size:17px;line-height:1.9;color:var(--tf-muted);margin-top:25px}
body #primary.tf-case .tf-palette{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:30px}
body #primary.tf-case .tf-swatch{display:flex;flex-direction:column;justify-content:flex-end;min-height:125px;padding:19px 21px;border-radius:5px}
body #primary.tf-case .tf-swatch--navy{background:var(--tf-navy);color:#fff}
body #primary.tf-case .tf-swatch--gold{background:var(--tf-gold);color:#17243e}
body #primary.tf-case .tf-swatch span{font-size:16px;font-weight:500}
body #primary.tf-case .tf-swatch small{font-size:11px;letter-spacing:.08em;margin-top:2px}
body #primary.tf-case .tf-caption{font-size:12px;line-height:1.7;color:var(--tf-muted);margin-top:14px}
body #primary.tf-case .tf-offer{background:var(--tf-paper);padding:76px 0}
body #primary.tf-case .tf-offer-grid{display:grid;grid-template-columns:1fr 1.06fr;gap:80px}
body #primary.tf-case .tf-offer-grid>div>p:last-child{color:var(--tf-muted);font-size:17px;line-height:1.9;max-width:490px;margin-top:26px}
body #primary.tf-case .tf-services{margin:0;padding:0;list-style:none}
body #primary.tf-case .tf-services li{display:grid;grid-template-columns:34px 1fr;gap:18px;border-top:1px solid #d5d6d5;padding:20px 0}
body #primary.tf-case .tf-services li:first-child{padding-top:0;border-top:0}
body #primary.tf-case .tf-services li:last-child{padding-bottom:0}
body #primary.tf-case .tf-services li>span{color:#786330;font-size:12px;padding-top:4px}
body #primary.tf-case .tf-services h3{font-size:19px}
body #primary.tf-case .tf-services p{font-size:14px;color:var(--tf-muted);line-height:1.8;margin-top:7px}
body #primary.tf-case .tf-cta{background:var(--tf-navy);color:#fff;padding:76px 0}
body #primary.tf-case .tf-cta-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:center}
body #primary.tf-case .tf-cta h2{color:#fff}
body #primary.tf-case .tf-cta :is(.tf-eyebrow,h2 em){color:#d4b774}
body #primary.tf-case .tf-cta-grid>div>p:not(.tf-eyebrow){font-size:17px;line-height:1.85;color:#d9dfef;margin-bottom:26px;max-width:510px}
body #primary.tf-case .tf-text-link{display:block;width:fit-content;min-height:44px;margin-top:14px;padding:8px 0;font-size:13px;text-decoration:underline;color:#fff}
body #primary.tf-case .tf-tail{display:flex;justify-content:space-between;gap:24px;padding-block:25px}
body #primary.tf-case .tf-tail a{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:13px}
body.page-id-5732 #primary .tf-card{grid-column:1/-1;margin:0;background:#212e59;color:#fff;border-radius:12px;overflow:hidden}
body.page-id-5732 #primary .tf-card>a{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:45px;padding:42px 52px;color:#fff;text-decoration:none}
body.page-id-5732 #primary .tf-card-copy>p{color:#d4b774;margin:0 0 18px;font-size:12px;line-height:1.7;letter-spacing:.12em;text-transform:uppercase}
body.page-id-5732 #primary .tf-card-copy h3{color:#fff;margin:0 0 20px;font-size:clamp(42px,5.3vw,76px);font-weight:500;line-height:1.02;letter-spacing:-.055em}
body.page-id-5732 #primary .tf-card-line{display:block;color:#f3eee3;font-size:clamp(25px,2.8vw,39px);font-weight:400;line-height:1.23;letter-spacing:-.035em}
body.page-id-5732 #primary .tf-card-link{display:inline-flex;align-items:center;gap:20px;color:#f3eee3;font-size:13px;margin-top:28px}
body.page-id-5732 #primary .tf-card-link i{display:grid;place-items:center;width:42px;height:42px;border:1px solid #c4a45c;border-radius:50%;font-size:23px;font-style:normal;transition:background-color .25s ease,color .25s ease}
body.page-id-5732 #primary .tf-card-visual{display:grid;justify-items:center;gap:24px}
body.page-id-5732 #primary .tf-card-logo{background:#fff;padding:13px 20px;border-radius:4px;width:70%;max-width:265px}
body.page-id-5732 #primary .tf-card-logo img{display:block;width:100%;height:auto}
body.page-id-5732 #primary .tf-card-portrait{width:min(100%,315px);aspect-ratio:1;overflow:hidden;border-radius:50%;background:#c4a45c;outline:1px solid #c4a45c55;outline-offset:9px}
body.page-id-5732 #primary .tf-card-portrait img{display:block;width:100%;height:auto}
body.page-id-5732 #primary .tf-card-domain{font-size:11px;line-height:1.6;letter-spacing:.12em;color:#d4b774}
body.page-id-5732 #primary .tf-card>a:hover .tf-card-link i{background:#c4a45c;color:#17243e}
body.page-id-5732 #primary .tf-card>a:focus-visible{outline:3px solid #d4b774;outline-offset:-6px;border-radius:12px}
@media(max-width:1050px){body #primary.tf-case .tf-hero-grid{gap:35px}body #primary.tf-case .tf-hero-visual{padding:27px 25px 22px}body #primary.tf-case .tf-portrait-caption{flex-direction:column;gap:2px}body #primary.tf-case :is(.tf-story,.tf-people,.tf-offer-grid,.tf-cta-grid){gap:40px}body #primary.tf-case .tf-detail-grid{gap:28px}body.page-id-5732 #primary .tf-card>a{padding:34px;gap:35px}}
@media(max-width:760px){body #primary.tf-case .tf-shell{padding-inline:24px}body #primary.tf-case .tf-hero{padding-top:15px}body #primary.tf-case .tf-back{margin-bottom:23px}body #primary.tf-case .tf-hero-grid,body #primary.tf-case :is(.tf-story,.tf-people,.tf-offer-grid,.tf-cta-grid){grid-template-columns:minmax(0,1fr);gap:34px}body #primary.tf-case h1{font-size:clamp(47px,10vw,72px)}body #primary.tf-case h2{font-size:36px}body #primary.tf-case .tf-eyebrow{font-size:11px;margin-bottom:18px}body #primary.tf-case .tf-lead{font-size:17px;margin:22px 0;max-width:560px}body #primary.tf-case .tf-hero-grid{padding-bottom:35px}body #primary.tf-case .tf-hero-visual{max-width:530px;width:100%;margin-inline:auto;padding:28px 28px 22px}body #primary.tf-case .tf-logo{margin-bottom:28px}body #primary.tf-case .tf-portrait{max-width:350px}body #primary.tf-case .tf-portrait-caption{flex-direction:row;gap:16px;font-size:10px}body #primary.tf-case .tf-facts{grid-template-columns:1fr 1fr;gap:22px 18px;padding-block:27px}body #primary.tf-case .tf-facts dd{font-size:14px}body #primary.tf-case :is(.tf-story,.tf-people){padding-block:52px}body #primary.tf-case :is(.tf-details,.tf-offer,.tf-cta){padding-block:52px}body #primary.tf-case .tf-detail-grid{grid-template-columns:minmax(0,1fr);gap:27px;margin-top:30px}body #primary.tf-case .tf-number{margin-bottom:12px}body #primary.tf-case .tf-detail-grid p{margin-top:12px;font-size:16px}body #primary.tf-case .tf-people{gap:33px}body #primary.tf-case .tf-services h3{font-size:19px}body #primary.tf-case .tf-tail{padding-block:22px;flex-wrap:wrap;gap:6px 24px}}
@media(max-width:700px){body.page-id-5732 #primary .tf-card>a{grid-template-columns:minmax(0,1fr);gap:32px;padding:30px 26px}body.page-id-5732 #primary .tf-card-copy h3{font-size:52px;margin-bottom:14px}body.page-id-5732 #primary .tf-card-line{font-size:30px}body.page-id-5732 #primary .tf-card-copy>p{font-size:11px}body.page-id-5732 #primary .tf-card-link{margin-top:21px;font-size:14px}body.page-id-5732 #primary .tf-card-visual{gap:24px}body.page-id-5732 #primary .tf-card-portrait{max-width:285px}body.page-id-5732 #primary .tf-card-logo{width:78%;max-width:250px}}
@media(max-width:380px){body #primary.tf-case .tf-shell{padding-inline:20px}body #primary.tf-case h1{font-size:46px}body #primary.tf-case h2{font-size:32px}body #primary.tf-case .tf-button{font-size:14px;gap:16px;padding-inline:18px}body #primary.tf-case .tf-portrait-caption{flex-direction:column;gap:3px}body #primary.tf-case .tf-logo{width:85%;padding:14px 16px}body #primary.tf-case .tf-swatch{padding:16px;min-height:115px}body.page-id-5732 #primary .tf-card>a{padding:28px 22px}body.page-id-5732 #primary .tf-card-copy h3{font-size:47px}body.page-id-5732 #primary .tf-card-line{font-size:27px}}
@media(prefers-reduced-motion:reduce){body #primary.tf-case *,body.page-id-5732 #primary .tf-card *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* TESTIN_FINKER_20260914_END */

/* --- WPWriter addition --- */
/* TESTIN_FINKER_HEADER_20260914_BEGIN */
/* Shared portfolio fix: suppress the legacy title/form hero above each project's own layout. */
body.parent-pageid-5732 > header.navigation > section.main_header{display:none!important}
/* TESTIN_FINKER_HEADER_20260914_END */

/* --- WPWriter addition --- */
/* TESTIN_FINKER_CAPTION_20260914_BEGIN */
body #primary.tf-case .tf-portrait-caption{font-size:12px}
@media(max-width:760px){body #primary.tf-case .tf-portrait-caption{font-size:12px;flex-direction:column;gap:3px}}
/* TESTIN_FINKER_CAPTION_20260914_END */

/* TESTIN_PORTFOLIO_LAYOUT_REVIEW_20260919_BEGIN
   Scope: portfolio detail pages only. Remove this block to roll back CSS. */
body.parent-pageid-5732 main#primary {box-sizing:border-box;min-width:0;margin-inline:auto!important;}
body.parent-pageid-5732 #primary :is(.tp-shell,.tf-shell,.tn-shell,.tk-shell,.ayr-shell,.pa-shell) {box-sizing:border-box;min-width:0;margin-inline:auto;}
body.parent-pageid-5732 #primary :is(.tf-hero-grid,.tn-hero__row,.tn-story,.tn-facts,.tn-features,.ayr-hero-grid,.ayr-section,.ayr-facts,.pa-hero-grid,.pa-story,.pa-facts,.portfolio-hero__grid,.portfolio-legacy-hero__grid)>* {min-width:0;}
body.parent-pageid-5732 #primary :is(h1,h2,h3,dd,figcaption) {overflow-wrap:break-word;}
body.parent-pageid-5732 #primary :is(.tf-button,.tn-button,.ayr-button,.pa-button,.tp-link,.tn-tail a,.tf-tail a,.pa-related a) {max-width:100%;white-space:normal;overflow-wrap:break-word;}
/* Title classes preserve the design even when an editorial filter demotes h1. */
body.parent-pageid-5732 #primary.tp-brand .tp-brand-hero .tp-brand-title {margin:0;color:#172435;font-size:clamp(44px,6.9vw,100px);font-weight:700;line-height:1.08;letter-spacing:-.03em;text-wrap:balance;overflow-wrap:anywhere;}
body.page-id-16667 #primary.tf-case #tf-title {font-size:clamp(46px,6vw,88px);font-weight:600;letter-spacing:-.045em;line-height:1.05;color:#212e59;margin:0;text-wrap:balance;overflow-wrap:anywhere;}
body.page-id-16771 #primary.ayr-case #ayr-title {font-size:clamp(38px,5.5vw,76px);font-weight:750;line-height:1.06;letter-spacing:-.035em;color:#f5f6ef;margin:22px 0 30px;overflow-wrap:break-word;}
body.page-id-16771 #primary.ayr-case #ayr-title em {font-style:normal;color:#b8d63c;}
body.page-id-16666 #primary.pa-case .pa-display {overflow-wrap:anywhere;}
@media(max-width:900px){body.parent-pageid-5732 #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-hero__row {grid-template-columns:minmax(0,1fr);gap:25px;}}
@media(max-width:800px){body.page-id-16771 #primary.ayr-case .ayr-hero-grid {grid-template-columns:minmax(0,1fr);gap:30px;}body.page-id-16771 #primary.ayr-case .ayr-device-stage {min-height:0;padding:8px 32px 60px 0;}body.page-id-16771 #primary.ayr-case .ayr-browser {transform:none;}body.page-id-16771 #primary.ayr-case .ayr-phone {transform:none;width:26%;min-width:80px;max-width:170px;}body.page-id-16771 #primary.ayr-case .ayr-gallery-grid figure {transform:none;}}
@media(max-width:1000px){body.parent-pageid-5732 #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage {display:flex;flex-direction:column;gap:24px;min-height:0;padding:28px 24px 22px;}body.parent-pageid-5732 #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage__words {position:relative;inset:auto;max-width:100%;margin:0;font-size:clamp(34px,6.7vw,48px);line-height:1.12;overflow-wrap:break-word;}body.parent-pageid-5732 #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage .tn-browser {position:relative;inset:auto;width:100%;max-width:100%;margin:0;transform:none;flex:0 0 auto;}body.parent-pageid-5732 #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage__note {position:relative;inset:auto;max-width:100%;margin:0;font-size:10px;line-height:1.6;}}
@media(max-width:760px){body.page-id-16667 #primary.tf-case #tf-title {font-size:clamp(40px,10vw,68px);}}
@media(max-width:700px){body.parent-pageid-5732 #primary.tp-brand .tp-brand-hero .tp-brand-title {font-size:clamp(34px,9.5vw,64px);line-height:1.12;}body.parent-pageid-5732 #primary :is(.tp-brand-stage,.tp-brand-more,.tn-closeup figure,.tf-team) {min-width:0;max-width:100%;}body.page-id-16666 #primary.pa-case .pa-display {font-size:clamp(36px,8.8vw,58px);}body.page-id-16771 #primary.ayr-case #ayr-title {font-size:clamp(35px,9.5vw,62px);}}
body.page-id-16684 #primary.tk-case #tk-title{font-size:clamp(70px,10.6vw,150px);font-weight:500;line-height:1.06;letter-spacing:-.07em;color:var(--tk-navy);margin:0;text-wrap:balance;overflow-wrap:anywhere;}
@media(max-width:760px){body.page-id-16684 #primary.tk-case #tk-title{font-size:clamp(44px,12vw,92px);line-height:1.1;}}
/* TESTIN_PORTFOLIO_LAYOUT_REVIEW_20260919_END */

/* --- WPWriter addition --- */
/* TESTIN_FEEDBACK_20260923_BEGIN */
body.home #primary .audit-section--compact {
  background: #f7f9fc;
  border-block: 1px solid #e2e7f0;
  padding-block: clamp(36px, 4vw, 56px);
}
body.home #primary .audit-section--compact > .container {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
body.home #primary .audit-section--compact h2 {
  max-width: 820px;
  margin: 0;
  color: #14213d;
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.18;
  letter-spacing: -.03em;
}
body.home #primary .audit-section--compact p {
  max-width: 700px;
  margin: 0;
  color: #53627a;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
}
body.home #primary .audit-section--compact p a {
  color: #00509d;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body .footer .footer__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  align-items: center;
}
body .footer .footer__container > .four-columns-wrap {
  grid-column: 1 / -1;
}
body .footer .footer__container > .audit-footer-note {
  grid-column: 1;
  margin: 18px 0 24px;
}
body .footer .footer__container > #testin-consent-settings {
  grid-column: 2;
  justify-self: end;
  margin: 18px 0 24px !important;
  font-size: 14px;
}
body.testin-contact #primary .contact-location__card {
  border-top: 3px solid #f58f29;
}
@media (max-width: 700px) {
  body .footer .footer__container { grid-template-columns: 1fr; }
  body .footer .footer__container > .audit-footer-note,
  body .footer .footer__container > #testin-consent-settings { grid-column: 1; }
  body .footer .footer__container > .audit-footer-note { margin: 20px 0 0; }
  body .footer .footer__container > #testin-consent-settings {
    justify-self: start;
    margin: 0 0 22px !important;
  }
}
/* TESTIN_FEEDBACK_20260923_END */

/* TESTIN PORTFOLIO VISUAL 2026-10-03 BEGIN */

/* TESTIN CASE EDITORIAL POLISH — 2026-10-03. All selectors are confined to existing portfolio child pages. No sections, copy, forms, original images, links or archival galleries are hidden or removed. Append after existing theme CSS. The index page 5732 is explicitly excluded. */
body.parent-pageid-5732:not(.page-id-5732) #primary { --ce-paper:#f7f7f2;--ce-ink:#20221f;--ce-muted:#74776e;--ce-rule:#dcded5;--ce-shell:1440px;--ce-gutter:clamp(20px,3.4vw,48px);--ce-space:clamp(56px,7.2vw,108px);--ce-gap:clamp(28px,4.5vw,68px);--ce-display:clamp(48px,6.4vw,90px);--ce-title:clamp(32px,3.8vw,52px);text-align:left; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-case,.mp-case,.es-case,.mt-case,.fp-case,.kh-case,.pk-case,.nt-case) { width:100%;max-width:100%;margin-inline:0; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-shell,.pc-shell,.mp-shell,.es-shell,.mt-shell,.fp-shell,.kh-shell,.pk-shell,.nt-shell,.tf-shell,.pa-shell,.ayr-shell,.tk-shell,.tn-shell,.tp-shell) { box-sizing:border-box;width:100%;max-width:var(--ce-shell);margin-inline:auto;padding-inline:var(--ce-gutter); }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.pc-case,.mp-case,.es-case,.mt-case,.fp-case,.kh-case,.pk-case,.nt-case,.tc-case,.tn-case,.tf-case,.pa-case,.ayr-case,.tk-case,.tmcd,.portfolio-legacy,.portfolio-case,.tp-brand) :is(h1,h2,h3),
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-case,.mp-case,.es-case,.mt-case,.fp-case,.kh-case,.pk-case,.nt-case,.tc-case,.tn-case,.tf-case,.pa-case,.ayr-case,.tk-case,.tmcd,.portfolio-legacy,.portfolio-case,.tp-brand) :is(h1,h2,h3) { font-family:var(--testin-font-sans,Manrope,Arial,sans-serif);text-wrap:balance; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-hero,.pc-hero,.mp-hero,.es-hero,.mt-hero,.fp-hero,.kh-hero,.pk-hero,.nt-hero,.tf-hero,.pa-hero,.ayr-hero,.tn-hero,.portfolio-hero,.portfolio-legacy-hero,.tp-brand-hero) { padding-top:clamp(36px,4.8vw,72px);padding-bottom:clamp(38px,5vw,76px); }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-hero,.pc-hero,.mp-hero,.es-hero,.mt-hero,.fp-hero,.kh-hero,.pk-hero,.nt-hero,.ayr-hero,.tn-hero,.portfolio-hero,.portfolio-legacy-hero) h1 { font-size:var(--ce-display);line-height:1.04;letter-spacing:-.055em;max-width:13ch;overflow-wrap:normal; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-back,.pc-back,.mp-back,.es-back,.mt-back,.fp-back,.kh-back,.pk-back,.nt-back,.tf-back,.pa-back,.ayr-back,.tn-back,.tk-back,.portfolio-back,.tp-brand-back) { font-size:13px;letter-spacing:.01em;line-height:1.5;min-height:40px;margin-bottom:34px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-lead,.pc-lead,.mp-lead,.es-lead,.mt-lead,.fp-lead,.kh-lead,.pk-lead,.nt-lead,.tf-lead,.pa-lead,.ayr-lead,.tn-lead,.tn-hero__lead,.tk-lead,.portfolio-hero__lead,.portfolio-legacy-hero__lead) { font-size:clamp(17px,1.45vw,20px);line-height:1.75;max-width:56ch; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-grid,.pc-hero-grid,.mp-hero-grid,.es-hero-grid,.mt-hero-grid,.fp-hero-grid,.kh-hero-grid,.pk-grid,.nt-grid,.tf-hero-grid,.pa-hero-grid,.ayr-hero-grid,.tn-hero-grid,.portfolio-hero__grid,.portfolio-legacy-hero__grid) { gap:var(--ce-gap); }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-grid,.pc-hero-grid,.mp-hero-grid,.es-hero-grid,.mt-hero-grid,.fp-hero-grid,.kh-hero-grid,.pk-grid,.nt-grid,.tf-hero-grid,.pa-hero-grid,.ayr-hero-grid,.tn-hero-grid,.portfolio-hero__grid,.portfolio-legacy-hero__grid)>* { min-width:0; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-section-label,.tc-eyebrow,.pc-kicker,.mp-kicker,.es-kicker,.mt-kicker,.fp-kicker,.kh-kicker,.pk-kicker,.nt-kicker,.tf-eyebrow,.pa-kicker,.ayr-eyebrow,.ayr-label,.tn-overline,.tk-eyebrow,.tp-kicker,.audit-eyebrow) { font-size:12px;line-height:1.6;letter-spacing:.12em; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-facts,.pc-facts,.mp-facts,.es-facts,.mt-facts,.fp-facts,.kh-facts,.pk-facts,.nt-facts,.tf-facts,.pa-facts,.ayr-facts,.tn-facts,.tk-facts) { border-radius:0;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-facts,.tf-facts,.pa-facts,.ayr-facts,.tn-facts,.tk-facts) dt { font-size:11px;line-height:1.6;letter-spacing:.11em; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-facts,.tf-facts,.pa-facts,.ayr-facts,.tn-facts,.tk-facts) dd { font-size:15px;line-height:1.6; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-fact,.mp-fact,.es-fact,.mt-fact,.fp-fact,.kh-fact,.pk-fact,.nt-fact) { padding:24px 22px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-fact,.mp-fact,.es-fact,.mt-fact,.fp-fact,.kh-fact,.pk-fact,.nt-fact) small { font-size:11px;line-height:1.6; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-fact,.mp-fact,.es-fact,.mt-fact,.fp-fact,.kh-fact,.pk-fact,.nt-fact) strong { font-size:15px;line-height:1.6; }

/* Editorial sections: original order and brand colors retained; a shared rhythm and readable measure. */
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-section,.mp-section,.es-section,.mt-section,.fp-section,.kh-section,.pk-section,.nt-section,.pa-section,.tn-section,.tc-gallery,.tc-cta,.tf-details,.tf-offer,.tf-cta,.tk-solutions,.tk-gallery,.tk-cta,.tn-closeup,.tn-next) { padding-block:var(--ce-space); }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-two-col,.mp-two,.es-two,.mt-two,.fp-two,.kh-two,.pk-two,.nt-two) { grid-template-columns:minmax(130px,.27fr) minmax(0,1fr);gap:var(--ce-gap); }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-content,.mp-content,.es-content,.mt-content,.fp-content,.kh-content,.pk-content,.nt-content) { max-width:920px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-content,.mp-content,.es-content,.mt-content,.fp-content,.kh-content,.pk-content,.nt-content)>p { font-size:18px;line-height:1.8;max-width:72ch; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-case,.mp-case,.es-case,.mt-case,.fp-case,.kh-case,.pk-case,.nt-case) h2 { font-size:var(--ce-title);line-height:1.12;letter-spacing:-.04em;margin-bottom:26px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-case,.mp-case,.es-case,.mt-case,.fp-case,.kh-case,.pk-case,.nt-case) h3 { font-size:23px;line-height:1.3;letter-spacing:-.025em; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-card,.mp-card,.es-card,.mt-card,.fp-card,.kh-card,.pk-card,.nt-card) { border-radius:0;box-shadow:none;min-height:0;padding:28px 22px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-cards,.mp-cards,.es-cards,.mt-cards,.fp-cards,.kh-cards,.pk-cards,.nt-cards) { gap:22px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-card,.mp-card,.es-card,.mt-card,.fp-card,.kh-card,.pk-card,.nt-card) p { font-size:15px;line-height:1.8; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-process,.mp-structure,.es-journey,.mt-flow)>div { border-radius:0;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-quote,.mp-quote,.es-quote,.mt-quote,.fp-quote,.kh-quote,.pk-quote,.nt-quote) { border-radius:0;box-shadow:none;padding:clamp(26px,3vw,42px); }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-final,.mp-final,.es-final,.mt-final,.fp-final,.kh-final,.pk-final,.nt-final) { padding-block:var(--ce-space) 42px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-final-box,.mp-final-box,.es-final-box,.mt-final-box,.fp-final-box,.kh-final-box,.pk-final-box,.nt-final-box) { border-radius:0;box-shadow:none;padding:clamp(28px,4.2vw,60px);gap:38px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-button,.mp-button,.es-button,.mt-button,.fp-button,.kh-button,.pk-btn,.nt-btn,.tc-button,.tf-button,.pa-button,.ayr-button,.tn-button,.tk-button) { border-radius:3px;min-height:50px;font-size:14px;line-height:1.5;max-width:100%;white-space:normal; }

/* Hero collages keep the original imagery. Remove decorative heavy shadows while leaving photographic crops and authentic device proportions intact. */
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.mp-photo-main,.mp-photo-small,.es-main,.es-secondary,.mt-main,.mt-phone,.mt-product-card,.fp-main,.fp-wide,.fp-small,.kh-main,.kh-small,.kh-wide,.pk-main,.pk-side>div,.nt-main,.nt-prod) { border-radius:4px;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.es-secondary,.mt-phone,.fp-small,.kh-small) { transform:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-showcase,.mp-dark,.es-gallery,.mt-dark,.fp-dark,.kh-dark,.pk-dark,.nt-dark) { padding-block:var(--ce-space); }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-show-grid,.mp-show,.es-gallery-grid,.mt-show,.fp-show,.kh-show,.pk-dark-grid) { gap:28px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-show-main,.pc-show-side,.mp-shot,.es-shot,.mt-shot,.fp-shot,.kh-shot,.pk-dark-grid figure) { border-radius:4px;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-show-caption,.mp-caption,.es-caption,.mt-caption,.fp-caption,.kh-caption) { font-size:13px;line-height:1.6;padding:18px 20px; }

/* Authenticated website captures: preserve full desktop screen geometry. Photos elsewhere retain their intentional crops. */
body.parent-pageid-5732:not(.page-id-5732) #primary .mp-case :is(.mp-photo-main,.mp-shot) .mp-screen-link img { aspect-ratio:auto;height:auto;max-height:none;object-fit:contain; }
body.parent-pageid-5732:not(.page-id-5732) #primary .mp-case .mp-photo-main { padding:8px;border:1px solid #d3d7d7;background:#fff; }
body.parent-pageid-5732:not(.page-id-5732) #primary .mp-case .mp-photo-small { padding:6px;border:1px solid #d3d7d7; }
body.parent-pageid-5732:not(.page-id-5732) #primary .mp-case .mp-photo-small .mp-screen-link img { aspect-ratio:auto;height:auto;object-fit:contain; }
body.parent-pageid-5732:not(.page-id-5732) #primary .es-case :is(.es-main,.es-shot,.es-salon-screen) .es-screen-link img { aspect-ratio:auto;height:auto;max-height:none;object-fit:contain; }
body.parent-pageid-5732:not(.page-id-5732) #primary .es-case .es-main { border:1px solid #d6d3cc;background:#fff; }
body.parent-pageid-5732:not(.page-id-5732) #primary .es-case .es-secondary .es-screen-link img { aspect-ratio:auto;height:auto;object-fit:contain; }
body.parent-pageid-5732:not(.page-id-5732) #primary .nt-case :is(.nt-showcase-panel,.nt-laptop,.nt-phone) { box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary .nt-case .nt-showcase-panel { padding:clamp(24px,4vw,58px); }
body.parent-pageid-5732:not(.page-id-5732) #primary .nt-case .nt-laptop { border-radius:7px 7px 0 0; }
body.parent-pageid-5732:not(.page-id-5732) #primary .nt-case .nt-laptop-screen img { object-fit:contain;aspect-ratio:auto;height:auto; }

/* Shared TC family: five recent projects, uncluttered editorial screens. */
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case .tc-grid { grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr); }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case .tc-cover { padding:clamp(16px,2.4vw,34px);background:#e9e8e2;border-radius:4px;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case .tc-cover img { border-radius:2px;border:1px solid #d7d9d3;box-shadow:0 12px 30px -24px #17211e50; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case .tc-story { padding-block:var(--ce-space);gap:var(--ce-gap);grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case :is(.tc-story p,.tc-story li) { font-size:18px;line-height:1.8; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case h2 { font-size:var(--ce-title);line-height:1.13;letter-spacing:-.04em; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case .tc-gallery-head { max-width:790px;margin-bottom:44px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case .tc-gallery-grid { gap:30px;align-items:start; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case .tc-gallery figure { border-radius:4px;padding:24px;background:#f0f1ed; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case figcaption { font-size:13px;line-height:1.7;margin-top:16px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case .tc-note { font-size:13px;line-height:1.8;max-width:95ch; }

/* Pocztylion and Finker: factual copy, clearer text, restrained brand boards. */
body.parent-pageid-5732:not(.page-id-5732) #primary.pa-case .pa-display { font-size:var(--ce-display);line-height:1.05;letter-spacing:-.05em; }
body.parent-pageid-5732:not(.page-id-5732) #primary.pa-case .pa-art { border-radius:4px;padding:34px;background:#e3eff5; }
body.parent-pageid-5732:not(.page-id-5732) #primary.pa-case .pa-art:before { border-radius:0;inset:24px;border-color:#ffffff80; }
body.parent-pageid-5732:not(.page-id-5732) #primary.pa-case :is(.pa-story,.pa-identity) { gap:var(--ce-gap); }
body.parent-pageid-5732:not(.page-id-5732) #primary.pa-case h2 { font-size:var(--ce-title);line-height:1.13;letter-spacing:-.04em; }
body.parent-pageid-5732:not(.page-id-5732) #primary.pa-case .pa-prose p { font-size:18px;line-height:1.85; }
body.parent-pageid-5732:not(.page-id-5732) #primary.pa-case :is(.pa-product,.pa-brandboard) { border-radius:4px;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary.pa-case .pa-product p { font-size:15px;line-height:1.8; }
body.parent-pageid-5732:not(.page-id-5732) #primary.pa-case .pa-path { padding-block:28px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tf-case #tf-title { font-size:var(--ce-display);line-height:1.05;letter-spacing:-.05em; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tf-case :is(.tf-story,.tf-people) { padding-block:var(--ce-space);gap:var(--ce-gap); }
body.parent-pageid-5732:not(.page-id-5732) #primary.tf-case h2 { font-size:var(--ce-title);line-height:1.13;letter-spacing:-.04em; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tf-case :is(.tf-story-copy,.tf-people-copy) p { font-size:18px;line-height:1.85; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tf-case .tf-hero-visual { border-radius:4px;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tf-case .tf-team { border-radius:4px;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tf-case .tf-detail-grid p { font-size:16px;line-height:1.8; }

/* Hospitality / travel family: straighten browser frames; preserve photographic art direction and original screenshots. */
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage { border-radius:4px;min-height:600px; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage .tn-browser { transform:none;width:60%;right:40px;bottom:45px; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-browser { border-radius:5px;box-shadow:0 18px 35px -25px #0008; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage__words { font-size:clamp(40px,4.4vw,64px);letter-spacing:-.04em;max-width:44%; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-story { gap:var(--ce-gap); }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-story p { font-size:18px;line-height:1.85; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-features { padding-block:48px var(--ce-space);gap:30px; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-feature p { font-size:16px;line-height:1.8; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-closeup .tn-browser { max-width:1160px;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-photo-pair img { border-radius:3px; }

/* TK Biotech, Montessori and EXPERT: spacious authentic desktop/mobile galleries. */
body.parent-pageid-5732:not(.page-id-5732) #primary.tk-case :is(.tk-browser,.tk-gallery-mobile,.tk-hero-figure) { border-radius:4px;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tk-case .tk-stage { padding-block:clamp(28px,4vw,56px); }
body.parent-pageid-5732:not(.page-id-5732) #primary.tk-case :is(.tk-story-copy,.tk-feature p) { font-size:18px;line-height:1.8; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tk-case .tk-gallery-pair { gap:clamp(24px,4vw,54px);align-items:start; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tk-case .tk-screen-caption { font-size:13px;line-height:1.7; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-montessori,.tn-expert) .tn-visual { border-radius:4px;padding:14px 14px 0;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-montessori,.tn-expert) :is(.tn-story,.tn-feature) { gap:var(--ce-gap); }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-montessori,.tn-expert) :is(.tn-story,.tn-prose) p { font-size:18px;line-height:1.85; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-montessori,.tn-expert) :is(.tn-screen-showcase,.te-showcase) { padding-block:var(--ce-space); }
body.parent-pageid-5732:not(.page-id-5732) #primary.tn-montessori .tn-screen-grid figure>a { border-radius:4px;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tn-montessori .tn-screen-grid .tn-screen-desktop>a { padding:14px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tn-expert .te-gallery .te-image { border-radius:4px;box-shadow:none; }

/* Are You Ready: screenshots retain their own aspect ratio instead of being cropped into squares. */
body.parent-pageid-5732:not(.page-id-5732) #primary.ayr-case .ayr-browser>img { aspect-ratio:auto;height:auto;object-fit:contain; }
body.parent-pageid-5732:not(.page-id-5732) #primary.ayr-case .ayr-section { padding-block:72px;grid-template-columns:minmax(130px,.27fr) minmax(0,1fr);gap:var(--ce-gap); }
body.parent-pageid-5732:not(.page-id-5732) #primary.ayr-case .ayr-section p { font-size:18px;line-height:1.85; }
body.parent-pageid-5732:not(.page-id-5732) #primary.ayr-case .ayr-gallery-grid { gap:30px;align-items:start; }
body.parent-pageid-5732:not(.page-id-5732) #primary.ayr-case .ayr-gallery-grid img { aspect-ratio:auto;object-fit:contain;height:auto; }
body.parent-pageid-5732:not(.page-id-5732) #primary.ayr-case .ayr-photo-gallery { padding-block:var(--ce-space); }

/* McDonald’s: keep product art and original interface provenance; harmonize only spacing and presentation chrome. */
body.parent-pageid-5732:not(.page-id-5732) #primary.tmcd { max-width:var(--ce-shell); }
body.parent-pageid-5732:not(.page-id-5732) #primary.tmcd .m-shell { padding-inline:var(--ce-gutter); }
body.parent-pageid-5732:not(.page-id-5732) #primary.tmcd :is(.m-hero,.m-product-tile,.m-interface) { border-radius:4px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tmcd :is(.m-intro,.m-scope,.m-outcome) { padding-block:var(--ce-space); }
body.parent-pageid-5732:not(.page-id-5732) #primary.tmcd .m-prose { font-size:18px;line-height:1.85; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tmcd .m-browser { border-radius:4px;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tmcd :is(.m-caption,.m-pair-caption) { font-size:13px;line-height:1.7; }

/* Legacy portfolio: archival home screens, UI boards and subpages remain in place. Full images stay accessible through original gallery links. */
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy :is(.container,.realizacja-home-wrap_inner,.realizacja-elementyui_inner,.realizacja-podstrony_inner,.naszerealizacje-inner) { width:100%;max-width:var(--ce-shell);margin-inline:auto;padding-inline:var(--ce-gutter);box-sizing:border-box; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .portfolio-legacy-hero { background:#f7f7f2;border-bottom:1px solid var(--ce-rule); }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .portfolio-legacy-hero__visuals { padding:24px 0; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .portfolio-legacy-hero__desktop { filter:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .portfolio-legacy-hero__description { font-size:17px;line-height:1.8; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .audit-case-study-content { padding-block:var(--ce-space); }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .audit-prose { max-width:900px;font-size:18px;line-height:1.85; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .audit-prose :is(p,li) { font-size:inherit;line-height:inherit; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .audit-prose :is(h2,h3) { letter-spacing:-.035em;line-height:1.2; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy :is(.realizacja-home-wrap,.realizacja-elementyui-wrap,.realizacja-podstrony-wrap,.naszerealizacje-wrap) { padding-block:var(--ce-space); }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .realizacja-home-wrap { background-color:#eef0eb; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .realizacja-home-wrap .realizacja-shadow-image { display:block;width:100%;height:auto;max-width:1100px;margin-inline:auto;border-radius:3px;box-shadow:none;filter:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .block-title { font-size:clamp(30px,3.2vw,44px);line-height:1.16;letter-spacing:-.035em; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .realizacje-podstrony { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;align-items:start; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .realizacje-podstrony .lightbox-item { display:block;padding:16px;background:#eef0eb;border:1px solid #dde2da;border-radius:4px;box-shadow:none;aspect-ratio:4/3;overflow:hidden; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .realizacje-podstrony .lightbox-item img { width:100%;height:100%;max-height:none;object-fit:cover;object-position:center top;border-radius:0;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy :is(.ui-buttons,.ui-fonts) img { box-shadow:none;filter:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .ui-colors { gap:28px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .naszerealizacje-inner { gap:28px; }

/* Four portfolio-case pages: quiet browser stages and full readable narrative. */
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case :is(.container) { box-sizing:border-box;max-width:var(--ce-shell);padding-inline:var(--ce-gutter); }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .portfolio-hero { background:#f7f7f2; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .portfolio-hero__image { padding:18px;border-radius:4px;border:1px solid #d9ddd6;background:#e8ebe4;box-shadow:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .portfolio-hero__image img { border-radius:2px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .portfolio-case-body { padding-block:var(--ce-space); }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .portfolio-case-intro>p { font-size:21px;line-height:1.75;max-width:900px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .portfolio-case-prose { font-size:18px;line-height:1.85;max-width:850px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .portfolio-case-prose :is(p,li) { font-size:inherit;line-height:inherit; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .portfolio-browser-shot { max-width:1160px;border-radius:4px;box-shadow:none;background:#eef0eb; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .portfolio-browser-shot figcaption { font-size:13px;line-height:1.7; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .portfolio-case-prose .wp-block-image img { border-radius:3px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .audit-related-cta { border-radius:3px;box-shadow:none; }

/* Twelve identity case studies: original marks displayed on calm, consistent boards. */
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-hero { background:#f7f7f2;border-bottom:1px solid var(--ce-rule); }
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-title { font-size:var(--ce-display);font-weight:650;line-height:1.08;letter-spacing:-.05em; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-hero p:not(.tp-kicker) { font-size:19px;line-height:1.8;max-width:760px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-showcase { padding-block:var(--ce-space); }
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage { margin-bottom:48px;padding:clamp(28px,5vw,72px);border:1px solid var(--ce-rule);border-radius:3px;box-shadow:none;background:#fff; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage--context { background:#f0f1ed; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage img { max-height:760px;object-fit:contain; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage figcaption { font-size:13px;line-height:1.7; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-zoom { border-radius:0; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-zoom__hint { border-radius:3px;font-size:14px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-more__links>a { border-radius:3px;box-shadow:none; }

/* Optional new screenshot section. Root may add this markup to photo-only cases; existing photo sections need not be removed. */
body.parent-pageid-5732:not(.page-id-5732) #primary .ce-screen-section { padding-block:var(--ce-space);background:#eef0eb; }
body.parent-pageid-5732:not(.page-id-5732) #primary .ce-screen-shell { width:100%;max-width:var(--ce-shell);margin:auto;padding-inline:var(--ce-gutter);box-sizing:border-box; }
body.parent-pageid-5732:not(.page-id-5732) #primary .ce-screen-heading { display:grid;grid-template-columns:1fr .65fr;gap:var(--ce-gap);align-items:end;margin-bottom:40px; }
body.parent-pageid-5732:not(.page-id-5732) #primary .ce-screen-heading h2 { font-size:var(--ce-title);line-height:1.12;letter-spacing:-.04em;margin:0; }
body.parent-pageid-5732:not(.page-id-5732) #primary .ce-screen-heading p { font-size:16px;line-height:1.8;max-width:42ch;margin:0;color:#626965; }
body.parent-pageid-5732:not(.page-id-5732) #primary .ce-screen-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,22%);align-items:start;gap:clamp(24px,4vw,54px); }
body.parent-pageid-5732:not(.page-id-5732) #primary .ce-screen-grid--desktop { grid-template-columns:1fr; }
body.parent-pageid-5732:not(.page-id-5732) #primary .ce-screen-figure { min-width:0;margin:0; }
body.parent-pageid-5732:not(.page-id-5732) #primary .ce-screen-frame { display:block;padding:10px;background:#fff;border:1px solid #d3d9d0;border-radius:4px;overflow:hidden; }
body.parent-pageid-5732:not(.page-id-5732) #primary .ce-screen-frame img { display:block;width:100%;height:auto;max-width:100%;aspect-ratio:auto;object-fit:contain; }
body.parent-pageid-5732:not(.page-id-5732) #primary .ce-screen-figure figcaption { margin-top:14px;font-size:13px;line-height:1.7;color:#626965; }

/* Responsive layout: preserve media scale, avoid compressed multi-column copy. */
@media(max-width:1000px) {
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-two-col,.mp-two,.es-two,.mt-two,.fp-two,.kh-two,.pk-two,.nt-two,.ayr-section) { grid-template-columns:150px minmax(0,1fr);gap:32px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-cards,.mp-cards,.es-cards,.mt-cards,.fp-cards,.kh-cards,.pk-cards,.nt-cards) { grid-template-columns:repeat(2,minmax(0,1fr)); }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-hero-grid,.mp-hero-grid,.es-hero-grid,.mt-hero-grid,.fp-hero-grid,.kh-hero-grid,.pk-grid,.nt-grid,.tf-hero-grid,.pa-hero-grid,.ayr-hero-grid,.tn-hero-grid,.tc-grid,.portfolio-hero__grid,.portfolio-legacy-hero__grid) { grid-template-columns:1fr;gap:40px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case .tc-grid { grid-template-columns:1fr; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage { min-height:0;display:flex;flex-direction:column;gap:28px;padding:38px; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage__words { position:relative;inset:auto;max-width:650px;font-size:48px; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage .tn-browser { position:relative;inset:auto;width:100%;max-width:100%;transform:none; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage__note { position:relative;inset:auto;max-width:none; }
}
@media(max-width:700px) {
body.parent-pageid-5732:not(.page-id-5732) #primary { --ce-display:clamp(40px,10.8vw,66px);--ce-title:clamp(30px,7.8vw,40px);--ce-space:52px;--ce-gutter:20px;--ce-gap:28px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-hero,.pc-hero,.mp-hero,.es-hero,.mt-hero,.fp-hero,.kh-hero,.pk-hero,.nt-hero,.tf-hero,.pa-hero,.ayr-hero,.tn-hero,.portfolio-hero,.portfolio-legacy-hero,.tp-brand-hero) { padding-block:30px 42px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.tc-back,.pc-back,.mp-back,.es-back,.mt-back,.fp-back,.kh-back,.pk-back,.nt-back,.tf-back,.pa-back,.ayr-back,.tn-back,.portfolio-back,.tp-brand-back) { margin-bottom:24px;font-size:12px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-two-col,.mp-two,.es-two,.mt-two,.fp-two,.kh-two,.pk-two,.nt-two,.ayr-section,.tc-story,.pa-story,.pa-identity,.ce-screen-heading,.ce-screen-grid) { grid-template-columns:1fr;gap:24px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-content,.mp-content,.es-content,.mt-content,.fp-content,.kh-content,.pk-content,.nt-content)>p { font-size:17px;line-height:1.8; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-cards,.mp-cards,.es-cards,.mt-cards,.fp-cards,.kh-cards,.pk-cards,.nt-cards) { grid-template-columns:1fr;gap:16px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-show-grid,.mp-show,.es-gallery-grid,.mt-show,.fp-show,.kh-show,.pk-dark-grid,.tc-gallery-grid,.ayr-gallery-grid) { grid-template-columns:1fr;gap:24px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-facts,.mp-facts,.es-facts,.mt-facts,.fp-facts,.kh-facts,.pk-facts,.nt-facts) { grid-template-columns:repeat(2,minmax(0,1fr)); }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-fact,.mp-fact,.es-fact,.mt-fact,.fp-fact,.kh-fact,.pk-fact,.nt-fact) { padding:20px 14px; }
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pc-final-box,.mp-final-box,.es-final-box,.mt-final-box,.fp-final-box,.kh-final-box,.pk-final-box,.nt-final-box) { padding:26px;grid-template-columns:1fr; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case .tc-story { grid-template-columns:1fr;gap:18px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case :is(.tc-story p,.tc-story li) { font-size:17px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case .tc-gallery-grid { grid-template-columns:1fr; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tc-case .tc-gallery figure { padding:16px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.pa-case .pa-prose p { font-size:17px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tf-case :is(.tf-story-copy,.tf-people-copy) p { font-size:17px; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage { padding:26px;gap:24px; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-stage__words { font-size:36px; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-case--pi,.tn-case--green,.tn-case--orange) .tn-story p { font-size:17px; }
body.parent-pageid-5732:not(.page-id-5732) #primary:is(.tn-montessori,.tn-expert) :is(.tn-story,.tn-prose) p { font-size:17px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.ayr-case .ayr-section { grid-template-columns:1fr;padding-block:46px;gap:18px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.ayr-case .ayr-section p { font-size:17px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .audit-prose { font-size:17px;line-height:1.8; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .realizacje-podstrony { grid-template-columns:1fr;gap:26px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-legacy .realizacje-podstrony .lightbox-item { padding:10px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .portfolio-case-prose { font-size:17px;line-height:1.8; }
body.parent-pageid-5732:not(.page-id-5732) #primary.portfolio-case .portfolio-case-intro>p { font-size:19px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage { padding:26px 18px;margin-bottom:28px; }
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-hero p:not(.tp-kicker) { font-size:17px; }
body.parent-pageid-5732:not(.page-id-5732) #primary .ce-screen-grid .ce-screen-figure--mobile { max-width:280px;margin-inline:auto;width:100%; }
}

/* Keyboard focus and reduced-motion respect the original interactive behavior. */
body.parent-pageid-5732:not(.page-id-5732) #primary :is(a,button):focus-visible { outline:3px solid #ed8c34;outline-offset:5px; }
@media(prefers-reduced-motion:reduce) {
body.parent-pageid-5732:not(.page-id-5732) #primary :is(.ce-screen-frame,.pc-card,.mp-card,.es-card,.mt-card,.fp-card,.kh-card,.pk-card,.nt-card) { transition:none;animation:none; }
}
/* Identity family: the same structure is verified on all twelve pages.
   CSS moves the existing context board into the first visual row.
   Original images, captions, zoom links and navigation remain intact. */
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand {
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  grid-template-areas:"copy context" "logo logo" "more more" "cta cta";
  column-gap:clamp(32px,4vw,56px);
  align-items:center;
  box-sizing:border-box;
  width:100%;max-width:1440px;
  margin-inline:auto;padding-inline:var(--ce-gutter);
  background:#f7f7f2;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand>.tp-brand-hero {
  grid-area:copy;align-self:stretch;display:flex;align-items:center;
  min-height:560px;padding:56px 0 64px;margin:0;border:0;background:transparent;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand>.tp-brand-hero>.tp-shell {
  width:100%;max-width:none;margin:0;padding:0;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand>.tp-brand-hero .tp-brand-back {
  margin-bottom:44px;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand>.tp-brand-hero .tp-brand-title {
  max-width:100%;margin:18px 0 24px;
  font-size:clamp(42px,4.7vw,66px);line-height:1.05;letter-spacing:-.05em;
  text-wrap:balance;overflow-wrap:break-word;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand>.tp-brand-hero p:not(.tp-kicker) {
  max-width:34ch;font-size:18px;line-height:1.75;margin:0;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand>.tp-brand-showcase,
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand>.tp-brand-showcase>.tp-shell {
  display:contents;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage--context {
  grid-area:context;align-self:center;min-width:0;width:100%;max-width:none;
  margin:48px 0;padding:clamp(20px,2.8vw,40px);
  background:#ebece7;border:1px solid #dcded5;border-radius:4px;box-shadow:none;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage--context img {
  display:block;width:100%;max-width:100%;height:auto;max-height:430px;object-fit:contain;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage--context .tp-brand-zoom {
  gap:16px;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage--context .tp-brand-zoom__hint {
  min-height:40px;padding:8px 14px;font-size:12px;line-height:1.6;
  border:1px solid #c5cac0;border-radius:3px;background:transparent;color:#20221f;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage--context figcaption {
  margin-top:14px;font-size:12px;line-height:1.65;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage:not(.tp-brand-stage--context) {
  grid-area:logo;box-sizing:border-box;width:100%;max-width:850px;
  margin:32px auto 64px;padding:clamp(24px,4vw,56px);
  border:1px solid #dcded5;border-radius:4px;background:#fff;box-shadow:none;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage:not(.tp-brand-stage--context) img {
  width:auto;max-width:100%;height:auto;max-height:580px;object-fit:contain;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-more {
  grid-area:more;min-width:0;width:100%;margin:0 auto 64px;padding-top:32px;
}
body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand>.tp-next {
  grid-area:cta;min-width:0;margin:0 calc(-1 * var(--ce-gutter));
}
@media(max-width:850px) {
  body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"copy" "context" "logo" "more" "cta";
    gap:0;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand>.tp-brand-hero {
    min-height:0;padding:30px 0 28px;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand>.tp-brand-hero .tp-brand-back {
    margin-bottom:24px;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand>.tp-brand-hero .tp-brand-title {
    max-width:100%;margin:16px 0 20px;font-size:clamp(37px,9.4vw,60px);line-height:1.08;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand>.tp-brand-hero p:not(.tp-kicker) {
    max-width:40ch;font-size:17px;line-height:1.75;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage--context {
    max-width:700px;justify-self:center;margin:0 auto 42px;padding:22px;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-stage:not(.tp-brand-stage--context) {
    margin:0 auto 44px;padding:24px 18px;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary.tp-brand .tp-brand-more {
    margin-bottom:44px;padding-top:28px;
  }
}

/* Seven renewed heroes: on mobile the genuine screen follows the title.
   display:contents changes visual layout only; every original text/link/logo remains. */
@media(max-width:700px) {
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pa-hero-grid,.tf-hero-grid,.fp-hero-grid,.kh-hero-grid,.pk-grid,.nt-grid,.pc-hero-grid):has(>.tv26case-scene) {
    display:flex;flex-direction:column;align-items:stretch;gap:0;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pa-hero-grid,.tf-hero-grid,.fp-hero-grid,.kh-hero-grid,.pk-grid,.nt-grid,.pc-hero-grid):has(>.tv26case-scene)>div:first-child {
    display:contents;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pa-hero-grid,.tf-hero-grid,.fp-hero-grid,.kh-hero-grid,.pk-grid,.nt-grid,.pc-hero-grid):has(>.tv26case-scene)>div:first-child>* {
    order:5;min-width:0;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pa-hero-grid,.tf-hero-grid,.fp-hero-grid,.kh-hero-grid,.pk-grid,.nt-grid,.pc-hero-grid):has(>.tv26case-scene)>div:first-child>:is(.pa-kicker,.tf-eyebrow,.fp-kicker,.kh-kicker,.pk-kicker,.nt-kicker,.pc-kicker) {
    order:1;margin:0 0 14px;font-size:11px;line-height:1.7;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pa-hero-grid,.tf-hero-grid,.fp-hero-grid,.kh-hero-grid,.pk-grid,.nt-grid,.pc-hero-grid):has(>.tv26case-scene)>div:first-child>:is(h1,h2,#tf-title,.pa-display) {
    order:2;margin:0 0 24px;max-width:100%;font-size:clamp(38px,10.5vw,54px);line-height:1.06;letter-spacing:-.05em;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pa-hero-grid,.tf-hero-grid,.fp-hero-grid,.kh-hero-grid,.pk-grid,.nt-grid,.pc-hero-grid)>.tv26case-scene {
    order:3;align-self:stretch;width:100%;max-width:100%;margin:0 0 26px;aspect-ratio:1.18;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pa-hero-grid,.tf-hero-grid,.fp-hero-grid,.kh-hero-grid,.pk-grid,.nt-grid,.pc-hero-grid):has(>.tv26case-scene)>div:first-child>:is(.fp-logo,.kh-logo,.pk-logo,.nt-brand) {
    order:4;align-self:flex-start;width:auto;max-width:150px;max-height:74px;height:auto;object-fit:contain;margin:0 0 22px;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary .pa-hero-grid:has(>.tv26case-scene) .pa-tagline {
    order:4;font-size:25px;line-height:1.35;margin:0 0 18px;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pa-hero-grid,.tf-hero-grid,.fp-hero-grid,.kh-hero-grid,.pk-grid,.nt-grid,.pc-hero-grid):has(>.tv26case-scene)>div:first-child>:is(.pa-lead,.tf-lead,.fp-lead,.kh-lead,.pk-lead,.nt-lead,.pc-lead) {
    order:5;margin:0 0 22px;font-size:17px;line-height:1.8;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.pa-hero-grid,.tf-hero-grid,.fp-hero-grid,.kh-hero-grid,.pk-grid,.nt-grid,.pc-hero-grid):has(>.tv26case-scene)>div:first-child>:is(.pa-actions,.tf-button,.fp-actions,.kh-actions,.pk-actions,.nt-actions,.pc-actions) {
    order:6;margin-top:0;align-self:flex-start;
  }
}

/* Are You Ready: an older 2-ID selector sets pale title colors on a pale hero.
   Match both IDs and add the exact hero ancestor; no !important is needed. */
body.page-id-16771 #primary.ayr-case .ayr-hero #ayr-title {
  color:#14231a;
}
body.page-id-16771 #primary.ayr-case .ayr-hero #ayr-title em {
  color:#587b20;font-style:normal;
}

/* School with Passion: original transparent light lettering on a navy tile.
   The source logo is retained; no filters or distortion. */
body.page-id-16921.parent-pageid-5732 #primary .kh-case .kh-hero .kh-hero-grid>div:first-child>img.kh-logo {
  display:block;box-sizing:border-box;width:min(100%,220px);max-width:240px;
  height:auto;max-height:none;padding:15px 21px;margin-bottom:24px;
  background:#303263;border:1px solid #303263;border-radius:4px;object-fit:contain;
}
@media(max-width:700px) {
  body.page-id-16921.parent-pageid-5732 #primary .kh-case .kh-hero .kh-hero-grid>div:first-child>img.kh-logo {
    width:min(100%,176px);max-width:176px;height:auto;max-height:none;
    padding:12px 16px;margin-bottom:22px;
  }
}

/* Existing MP Legal, Estera and MobiTour hero compositions: screen-first mobile.
   Original desktop layout, original media, source order and links are retained. */
@media(max-width:700px) {
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.mp-hero-grid,.es-hero-grid,.mt-hero-grid) {
    display:flex;flex-direction:column;align-items:stretch;gap:0;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.mp-hero-grid,.es-hero-grid,.mt-hero-grid)>div:first-child {
    display:contents;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.mp-hero-grid,.es-hero-grid,.mt-hero-grid)>div:first-child>* {
    order:5;min-width:0;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.mp-hero-grid,.es-hero-grid,.mt-hero-grid)>div:first-child>:is(.mp-brandline,.es-logo,.mt-brand) {
    order:0;align-self:flex-start;margin:0 0 16px;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary .es-hero-grid>div:first-child>.es-logo {
    width:96px;max-width:96px;height:auto;max-height:80px;object-fit:contain;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.mp-brandline,.mt-brand) img {
    width:36px;height:36px;object-fit:contain;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary .mp-brandline strong {
    font-size:16px;line-height:1.4;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.mp-hero-grid,.es-hero-grid,.mt-hero-grid)>div:first-child>:is(.mp-kicker,.es-kicker,.mt-kicker) {
    order:1;margin:0 0 14px;font-size:11px;line-height:1.7;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.mp-hero-grid,.es-hero-grid,.mt-hero-grid)>div:first-child>:is(h1,h2) {
    order:2;max-width:100%;margin:0 0 24px;
    font-size:clamp(38px,10.5vw,54px);line-height:1.06;letter-spacing:-.05em;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.mp-hero-grid,.es-hero-grid,.mt-hero-grid)>:is(.mp-visual,.es-visual,.mt-visual) {
    order:3;align-self:stretch;width:100%;max-width:100%;margin:0 0 28px;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary .mt-hero-grid>.mt-visual {
    min-height:0;aspect-ratio:1.03;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.mp-hero-grid,.es-hero-grid,.mt-hero-grid)>div:first-child>:is(.mp-lead,.es-lead,.mt-lead) {
    order:4;margin:0 0 22px;font-size:17px;line-height:1.8;
  }
  body.parent-pageid-5732:not(.page-id-5732) #primary :is(.mp-hero-grid,.es-hero-grid,.mt-hero-grid)>div:first-child>:is(.mp-actions,.es-actions,.mt-actions) {
    order:5;margin-top:0;align-self:flex-start;
  }
}


/* Testin — authentic screens, October 2026. Native presentation only. */
#primary .tv26case-scene,#primary .tv26case-gallery,#primary .tv26case-scene *,#primary .tv26case-gallery *{box-sizing:border-box}
#primary .tv26case-scene{--tv26-paper:#e8edf0;--tv26-accent:#52697a;--tv26-ink:#172735;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;width:100%;max-width:100%;min-width:0;aspect-ratio:1.12;margin:0;align-self:center;padding:42px 28px 54px;border:1px solid rgba(255,255,255,.9);border-radius:6px;overflow:hidden;background:radial-gradient(ellipse at 15% 0%,rgba(255,255,255,.94),transparent 68%),var(--tv26-paper);box-shadow:inset 0 1px 0 #fff,0 16px 50px -44px rgba(26,39,51,.35);color:var(--tv26-ink)}
#primary .tv26case-scene::before{content:"";position:absolute;z-index:-1;left:8%;right:8%;bottom:17%;height:1px;background:linear-gradient(90deg,transparent,rgba(25,45,60,.1),transparent)}
#primary .tv26case-scene--with-mobile{padding-right:12%;padding-bottom:70px}
#primary .tv26case-browser{position:relative;width:100%;min-width:0;overflow:hidden;border:1px solid rgba(30,40,50,.16);border-radius:6px;background:#fff;box-shadow:0 16px 32px -24px rgba(25,40,53,.30),0 1px 4px rgba(25,40,53,.03)}
#primary .tv26case-browser__viewport{position:relative;overflow:hidden;width:100%}
#primary .tv26case-browser__bar{position:relative;display:flex;align-items:center;justify-content:center;height:27px;padding:0 40px;border-bottom:1px solid #e9eaec;background:linear-gradient(#fff,#f4f5f6);font-family:Arial,sans-serif;font-size:8px;line-height:1;letter-spacing:.025em;color:#7a8186;overflow:hidden;white-space:nowrap}
#primary .tv26case-browser__dots{position:absolute;left:11px;top:50%;display:flex;gap:4px;transform:translateY(-50%)}
#primary .tv26case-browser__dots i{display:block;width:4px;height:4px;border-radius:50%;background:#c2c6c8}
#primary .tv26case-browser img,#primary .tv26case-phone img{display:block!important;position:static!important;width:100%!important;max-width:100%!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;object-fit:contain!important;object-position:center top!important;transform:none!important;filter:none!important}
#primary .tv26case-phone{position:relative;overflow:hidden;width:100%;min-width:0;margin:0;border:5px solid #202326;border-top-width:10px;border-bottom-width:10px;border-radius:25px;background:#202326;box-shadow:0 16px 32px -22px rgba(15,24,32,.34),0 0 0 1px rgba(255,255,255,.6)}
#primary .tv26case-scene>.tv26case-phone{position:absolute;z-index:2;right:4%;bottom:46px;width:22%;max-width:150px}
#primary .tv26case-scene>figcaption{position:absolute;left:28px;right:28px;bottom:19px;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0!important;padding:0!important;font-size:9px!important;line-height:1.5!important;letter-spacing:.04em!important;font-weight:500!important;color:var(--tv26-ink)!important;opacity:.65}
#primary .tv26case-scene>figcaption span:last-child{white-space:nowrap}
#primary .tv26case-gallery{margin:0;padding:100px 0;background:#fff;color:var(--tv26-ink,#172735);border-bottom:1px solid #edf0f1}
#primary .tv26case-gallery__inner{width:calc(100% - 96px);max-width:1440px;min-width:0;margin:0 auto}
#primary .tv26case-gallery__head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:36px}
#primary .tv26case-gallery__eyebrow{margin:0 0 12px;font-size:10px;font-weight:650;line-height:1.5;letter-spacing:.15em;text-transform:uppercase;color:var(--tv26-accent,#52697a)}
#primary .tv26case-gallery__head h2{margin:0;font-size:clamp(30px,4vw,52px);font-weight:650;line-height:1.1;letter-spacing:-.045em;color:var(--tv26-ink,#172735)}
#primary .tv26case-gallery__note{max-width:260px;margin:0;font-size:12px;line-height:1.7;color:#737b81}
#primary .tv26case-gallery__stage{display:grid;grid-template-columns:minmax(0,1fr);gap:38px;align-items:end;padding:50px;border:1px solid rgba(25,45,60,.045);border-radius:6px;background:radial-gradient(ellipse at 0% 0%,rgba(255,255,255,.8),transparent 70%),var(--tv26-paper,#e8edf0)}
#primary .tv26case-gallery__stage--dual{grid-template-columns:minmax(0,1fr) minmax(120px,.24fr)}
#primary .tv26case-gallery__item{min-width:0;margin:0}
#primary .tv26case-gallery__item>a{display:block;color:inherit;text-decoration:none;border-radius:6px;outline-offset:8px}
#primary .tv26case-gallery__item>a:focus-visible{outline:2px solid var(--tv26-accent,#52697a)}
#primary .tv26case-gallery__item>figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 0;font-size:10px;line-height:1.5;letter-spacing:.03em;color:var(--tv26-ink,#172735);opacity:.64}
#primary .tv26case-gallery__item>figcaption span:last-child{font-size:13px}
#primary .tv26case-gallery .tv26case-browser__bar{height:32px;font-size:10px}
#primary .tv26case-gallery .tv26case-browser__dots i{width:5px;height:5px}
#primary .tv26case-gallery .tv26case-phone{border-width:6px;border-top-width:12px;border-bottom-width:12px;border-radius:28px}
@media(max-width:980px){#primary .tv26case-scene{max-width:760px;margin:0 auto;aspect-ratio:1.28}#primary .tv26case-gallery{padding:76px 0}#primary .tv26case-gallery__stage{padding:34px;gap:26px}#primary .tv26case-gallery__stage--dual{grid-template-columns:minmax(0,1fr) minmax(100px,.24fr)}}
@media(max-width:600px){#primary .tv26case-scene{aspect-ratio:1.13;border-radius:5px;padding:30px 16px 44px}#primary .tv26case-scene--with-mobile{padding-right:12%;padding-bottom:55px}#primary .tv26case-browser{border-radius:4px}#primary .tv26case-browser__bar{height:19px;padding:0 24px;font-size:6px}#primary .tv26case-browser__dots{left:7px;gap:3px}#primary .tv26case-browser__dots i{width:3px;height:3px}#primary .tv26case-scene>.tv26case-phone{right:4%;bottom:35px;width:22%;border-width:3px;border-top-width:6px;border-bottom-width:6px;border-radius:15px}#primary .tv26case-scene>figcaption{left:16px;right:16px;bottom:13px;gap:6px;font-size:7px!important}#primary .tv26case-gallery{padding:56px 0}#primary .tv26case-gallery__inner{width:calc(100% - 40px)}#primary .tv26case-gallery__head{display:block;margin-bottom:25px}#primary .tv26case-gallery__note{margin-top:17px;font-size:11px;max-width:none}#primary .tv26case-gallery__head h2{font-size:32px}#primary .tv26case-gallery__stage{display:flex;flex-direction:column;align-items:stretch;padding:20px 15px;border-radius:5px;gap:30px}#primary .tv26case-gallery__item--mobile{width:45%;max-width:190px;align-self:center}#primary .tv26case-gallery__item>figcaption{font-size:9px;margin-top:12px}#primary .tv26case-gallery .tv26case-browser__bar{height:22px;font-size:7px}#primary .tv26case-gallery .tv26case-phone{border-width:4px;border-top-width:8px;border-bottom-width:8px;border-radius:21px}}

/* Extra case heroes: existing story and galleries remain unchanged. */
#primary .tv26case-scene--wide{aspect-ratio:1.65;max-width:100%;padding:44px 17% 64px 48px}
#primary .tv26case-scene--wide>.tv26case-phone{width:18%;max-width:200px;right:4%;bottom:54px}
#primary .tv26case-scene--dark{background:radial-gradient(ellipse at 10% 0%,rgba(255,255,255,.08),transparent 65%),var(--tv26-paper);border-color:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
#primary .tv26case-scene--dark::before{background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent)}
#primary .tv26case-scene--dark>figcaption{opacity:.82}
@media(max-width:980px){#primary .tv26case-scene--wide{aspect-ratio:1.55;padding:34px 17% 56px 34px}#primary .tv26case-scene--wide>.tv26case-phone{max-width:160px;bottom:44px}}
@media(max-width:600px){#primary .tv26case-scene--wide{aspect-ratio:1.13;padding:30px 12% 55px 16px}#primary .tv26case-scene--wide>.tv26case-phone{width:22%;max-width:150px;right:4%;bottom:35px}}
@media(max-width:700px){
body:is(.page-id-17079,.page-id-17084) #primary .tc-grid:has(>.tv26case-scene){display:flex;flex-direction:column;align-items:stretch;gap:0}
body:is(.page-id-17079,.page-id-17084) #primary .tc-grid:has(>.tv26case-scene)>div:first-child{display:contents}
body:is(.page-id-17079,.page-id-17084) #primary .tc-grid:has(>.tv26case-scene)>div:first-child>*{order:5;min-width:0}
body:is(.page-id-17079,.page-id-17084) #primary .tc-grid:has(>.tv26case-scene)>div:first-child>.tc-eyebrow{order:1;margin:0 0 14px}
body:is(.page-id-17079,.page-id-17084) #primary .tc-grid:has(>.tv26case-scene)>div:first-child>h1{order:2;margin:0 0 24px;max-width:100%;font-size:clamp(38px,10.5vw,54px);line-height:1.06}
body:is(.page-id-17079,.page-id-17084) #primary .tc-grid>.tv26case-scene{order:3;align-self:stretch;max-width:100%;margin:0 0 26px;aspect-ratio:1.18}
body:is(.page-id-17079,.page-id-17084) #primary .tc-grid:has(>.tv26case-scene)>div:first-child>.tc-lead{order:4;margin:0 0 22px}
}

/* Hide empty elements inserted by wpautop around screenshot links. */
#primary .tv26case-gallery__item p:empty,
#primary .tv26case-gallery__item p:has(> a:only-child:empty),
#primary .tv26case-gallery__item a:empty {
  display:none;
}

/* Portfolio chrome only: listing 5732 and its child case studies. */
body:is(.page-id-5732,.parent-pageid-5732) header.navigation .audit-nav-cta.btn,
body:is(.page-id-5732,.parent-pageid-5732) #mb_nav a.audit-mobile-cta{background:#f44d23;border-color:#f44d23;color:#20221f!important}
body:is(.page-id-5732,.parent-pageid-5732) header.navigation .audit-menu>li>a,
body:is(.page-id-5732,.parent-pageid-5732) #mb_nav .audit-mobile-menu a:not(.audit-mobile-cta){color:#20221f}
body:is(.page-id-5732,.parent-pageid-5732) footer.footer{background:#20221f;color:#d9ded2}
body:is(.page-id-5732,.parent-pageid-5732) footer.footer .footer-single-title{color:#f7f7f2}
body:is(.page-id-5732,.parent-pageid-5732) footer.footer a{color:#e8ebdf}
body:is(.page-id-5732,.parent-pageid-5732) footer.footer .kontakt_footer>span,
body:is(.page-id-5732,.parent-pageid-5732) footer.footer .audit-footer-note{color:#bdc4b4}
body:is(.page-id-5732,.parent-pageid-5732) footer.footer :is(a,button):focus-visible{outline:3px solid #f44d23;outline-offset:5px}
@media(hover:hover){
body:is(.page-id-5732,.parent-pageid-5732) header.navigation .audit-nav-cta.btn:hover,
body:is(.page-id-5732,.parent-pageid-5732) #mb_nav a.audit-mobile-cta:hover{background:#20221f;border-color:#20221f;color:#f7f7f2!important;box-shadow:none}
body:is(.page-id-5732,.parent-pageid-5732) header.navigation .audit-menu>li>a:hover,
body:is(.page-id-5732,.parent-pageid-5732) #mb_nav .audit-mobile-menu a:not(.audit-mobile-cta):hover{color:#bd3b16}
body:is(.page-id-5732,.parent-pageid-5732) footer.footer a:hover{color:#ff9d80}
}
@media(min-width:601px) and (max-width:980px){
body:is(.page-id-5732,.parent-pageid-5732) footer.footer .four-columns-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 40px;align-items:start}
body:is(.page-id-5732,.parent-pageid-5732) footer.footer .four-columns-wrap>div{width:auto;max-width:none;min-width:0;flex-basis:auto}
}
/* Template-generated long name on the MindfulnessInside case only. */
body.page-id-11590 #primary.portfolio-legacy .portfolio-legacy-hero__copy{min-width:0}
body.page-id-11590 #primary.portfolio-legacy .portfolio-legacy-hero__copy>h1{max-width:100%;font-size:clamp(38px,4.6vw,60px);line-height:1.06;overflow-wrap:anywhere;word-break:normal;hyphens:manual}
@media(max-width:900px){
body.page-id-11590 #primary.portfolio-legacy .portfolio-legacy-hero__copy>h1{font-size:clamp(32px,10vw,60px)}
}
/* Legacy case heroes: show the project immediately after its title on mobile. */
@media(max-width:800px){
body.parent-pageid-5732 #primary.portfolio-legacy .portfolio-legacy-hero__grid{display:flex;flex-direction:column;align-items:stretch;gap:0}
body.parent-pageid-5732 #primary.portfolio-legacy .portfolio-legacy-hero__copy{display:contents}
body.parent-pageid-5732 #primary.portfolio-legacy .portfolio-legacy-hero__copy>.portfolio-back{order:1;align-self:flex-start;margin:0 0 18px}
body.parent-pageid-5732 #primary.portfolio-legacy .portfolio-legacy-hero__copy>.audit-eyebrow{order:2;margin:0 0 12px}
body.parent-pageid-5732 #primary.portfolio-legacy .portfolio-legacy-hero__copy>h1{order:3;max-width:100%;margin:0 0 22px}
body.parent-pageid-5732 #primary.portfolio-legacy .portfolio-legacy-hero__grid>.portfolio-legacy-hero__visuals{order:4;align-self:stretch;width:100%;max-width:100%;min-width:0;margin:0 0 22px;padding:6px 0 12px}
body.parent-pageid-5732 #primary.portfolio-legacy .portfolio-legacy-hero__copy>.portfolio-legacy-hero__lead{order:5;margin:0 0 16px}
body.parent-pageid-5732 #primary.portfolio-legacy .portfolio-legacy-hero__copy>.portfolio-legacy-hero__description{order:6;margin:0 0 22px}
body.parent-pageid-5732 #primary.portfolio-legacy .portfolio-legacy-hero__copy>.audit-actions{order:7;margin:0}
}

/* TESTIN PORTFOLIO VISUAL 2026-10-03 END */
