/* Wpisy portfolio (Tank CPT "portfolio") – spójne z stroną główną. */
body.single-portfolio .tt-page-nav{display:none}

/* ---------- HERO ---------- */
.jr-page .jr-ph-hero{background:var(--jr-black);color:var(--jr-text-inverse);position:relative;overflow:hidden;min-height:86vh;display:flex;flex-direction:column;width:100%;box-sizing:border-box}
.jr-page .jr-ph-hero__texture,.jr-page .jr-ph-hero__photo,.jr-page .jr-ph-hero__film{position:absolute;inset:0;width:100%;height:100%;margin:0}
.jr-page .jr-ph-hero__texture{z-index:0;pointer-events:none}
.jr-page .jr-ph-hero__texture .elementor-widget-container,.jr-page .jr-ph-hero__photo .elementor-widget-container,.jr-page .jr-ph-hero__film .elementor-widget-container{height:100%}
.jr-page .jr-ph-hero__texture img,.jr-page .jr-ph-hero__film img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.jr-page .jr-ph-hero__photo{z-index:1;left:auto;right:0;width:62%}
.jr-page .jr-ph-hero__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;filter:grayscale(1) contrast(1.1) brightness(.9);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 42%);mask-image:linear-gradient(90deg,transparent 0,#000 42%)}
.jr-page .jr-ph-hero__film{z-index:2;opacity:.16;mix-blend-mode:screen;pointer-events:none}
.jr-page .jr-ph-hero:after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(0deg,rgba(13,12,11,.75),rgba(13,12,11,0) 45%);pointer-events:none}
.jr-page .jr-ph-hero__inner{position:relative;z-index:4;flex:1 1 auto;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;max-width:1600px;width:100%;margin:0 auto;padding:var(--s16) var(--s8) var(--s20);box-sizing:border-box}
.jr-page .jr-ph-hero__txt{display:flex;flex-direction:column;gap:var(--s5);max-width:640px}
.jr-page .jr-ph-back .elementor-button{background:transparent;padding:0;border-radius:0;font-family:var(--jr-font);font-weight:600;font-size:12px;letter-spacing:.2em;color:var(--jr-muted-inverse);line-height:normal;display:inline-flex;gap:var(--s2)}
.jr-page .jr-ph-back .elementor-button:before{content:"←";color:var(--jr-accent)}
.jr-page .jr-ph-back .elementor-button:hover{color:var(--jr-text-inverse);background:transparent}
.jr-page .jr-ph-title .elementor-heading-title{font-weight:800;font-size:clamp(40px,6.2vw,96px);line-height:1.02;text-transform:uppercase;letter-spacing:-.01em;color:var(--jr-text-inverse)}
.jr-page .jr-ph-rule{display:block}
.jr-page .jr-ph-rule .jr-rule{width:40px}
.jr-page .jr-ph-lede,.jr-page .jr-ph-lede p{font-size:17px;line-height:1.7;color:#b9b6b3;max-width:520px;margin:0}
.jr-page .jr-ph-meta{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--s2) var(--s6);margin-top:var(--s3)}
.jr-page .jr-ph-meta .elementor-heading-title{font-size:11px;letter-spacing:.2em;color:var(--jr-text-inverse);font-weight:400;line-height:normal}
.jr-page .jr-ph-meta .elementor-widget:nth-child(2) .elementor-heading-title{color:var(--jr-accent)}
.jr-page .jr-ph-scroll{position:absolute;left:50%;bottom:var(--s6);transform:translateX(-50%);z-index:4;display:flex;flex-direction:column;align-items:center;gap:var(--s2);width:auto}
.jr-page .jr-ph-scroll .elementor-heading-title{font-size:11px;letter-spacing:.2em;color:var(--jr-muted-inverse);font-weight:400;line-height:normal}
.jr-page .jr-ph-scroll__line{display:block;width:1px;height:26px;background:var(--jr-divider-inverse)}

/* ---------- INTRO (papier + karta) ---------- */
.jr-page .jr-ph-intro{box-sizing:border-box;width:100%;background-position:center;background-repeat:no-repeat;background-size:cover;padding:var(--s20) 0}
.jr-page .jr-ph-intro__row{display:flex;flex-direction:row;align-items:center;padding:0 var(--s6);max-width:1400px;margin:0 auto;gap:var(--s12);width:100%}
.jr-page .jr-ph-intro__card{flex:0 0 380px;width:380px}
.jr-page .jr-ph-intro__photos{flex:1 1 0;min-width:0;position:relative;aspect-ratio:16/10;max-height:620px}
.jr-page .jr-ph-intro__a,.jr-page .jr-ph-intro__b{position:absolute;margin:0;box-shadow:0 18px 40px rgba(13,12,11,.22)}
.jr-page .jr-ph-intro__a{top:0;left:0;width:56%;z-index:1}
.jr-page .jr-ph-intro__b{bottom:0;right:0;width:46%;z-index:2}
.jr-page .jr-ph-intro__a img,.jr-page .jr-ph-intro__b img{width:100%;height:auto;display:block;filter:grayscale(1) contrast(1.1)}
.jr-page .jr-ph-intro__a:hover img,.jr-page .jr-ph-intro__b:hover img{filter:grayscale(0) contrast(1)}
.jr-page .jr-ph-intro__a img,.jr-page .jr-ph-intro__b img{transition:filter .5s ease}
.jr-page .jr-ph-intro__film{position:absolute;inset:0;width:100%;height:100%;z-index:3;opacity:.35;pointer-events:none;mix-blend-mode:multiply}
.jr-page .jr-ph-intro__film .elementor-widget-container{height:100%}
.jr-page .jr-ph-intro__film img{width:100%;height:100%;object-fit:cover}

/* ---------- GALERIA ---------- */
.jr-page .jr-ph-gallery{background:var(--jr-bg);padding:var(--s24) var(--s6);box-sizing:border-box;width:100%}
.jr-page .jr-ph-gallery__inner{max-width:1400px;margin:0 auto;display:flex;flex-direction:column;gap:var(--s10);width:100%}
.jr-page .jr-ph-gallery__head{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:var(--s4);width:100%}
.jr-page .jr-ph-gallery__head .jr-h2 .elementor-heading-title{font-weight:800;font-size:32px;line-height:normal;color:var(--jr-text)}
.jr-page .jr-ph-count .elementor-heading-title{font-weight:600;font-size:14px;letter-spacing:.08em;color:var(--jr-muted);line-height:normal}
.jr-page .jr-ph-grid .gallery{display:block;column-count:3;column-gap:var(--s4);counter-reset:ph;margin:0}
.jr-page .jr-ph-grid .gallery:after,.jr-page .jr-ph-grid .gallery:before{display:none}
.jr-page .jr-ph-grid .gallery .gallery-item{display:block;float:none;width:100%!important;max-width:100%;flex:none;margin:0 0 var(--s4);padding:0;break-inside:avoid;position:relative;counter-increment:ph;gap:0}
.jr-page .jr-ph-grid .gallery-icon{position:relative;overflow:hidden;margin:0;line-height:0}
.jr-page .jr-ph-grid .gallery-icon a{display:block}
.jr-page .jr-ph-grid .gallery-icon img{width:100%;height:auto;display:block;border:0;filter:saturate(.58) contrast(1.03) brightness(.95);transition:filter .5s ease,transform .6s ease}
.jr-page .jr-ph-grid .gallery-icon:hover img{filter:grayscale(0) contrast(1);transform:scale(1.03)}
.jr-page .jr-ph-grid .gallery-icon:before{content:counter(ph,decimal-leading-zero);position:absolute;top:var(--s2);left:var(--s2);z-index:1;font-size:11px;line-height:normal;color:var(--jr-text-inverse);background:rgba(13,12,11,.55);padding:1px 5px;pointer-events:none;font-family:var(--jr-font)}
@media (hover:none){.jr-page .jr-ph-grid .gallery-icon img{filter:none}}

/* ---------- INNE SESJE ---------- */
.jr-page .jr-ph-more{background:var(--jr-black);color:var(--jr-text-inverse);padding:var(--s24) var(--s6);box-sizing:border-box;width:100%}
.jr-page .jr-ph-more__inner{max-width:1400px;margin:0 auto;display:flex;flex-direction:row;gap:var(--s16);align-items:flex-start;width:100%}
.jr-page .jr-ph-more__head{flex:0 0 300px;display:flex;flex-direction:column;gap:var(--s4)}
.jr-page .jr-ph-more__head .jr-h2 .elementor-heading-title{font-weight:800;font-size:32px;color:var(--jr-text-inverse);line-height:normal}
.jr-page .jr-ph-more__list{flex:1 1 0;min-width:0;display:flex;flex-direction:column;counter-reset:more}
.jr-page .jr-ph-link{counter-increment:more;border-top:1px solid var(--jr-divider-inverse)}
.jr-page .jr-ph-link:last-child{border-bottom:1px solid var(--jr-divider-inverse)}
.jr-page .jr-ph-link .elementor-button{display:flex;align-items:baseline;gap:var(--s4);background:transparent;border-radius:0;padding:var(--s4) 0;font-family:var(--jr-font);font-weight:800;font-size:28px;letter-spacing:-.01em;color:var(--jr-text-inverse);line-height:1.2;transition:color .25s,padding .25s}
.jr-page .jr-ph-link .elementor-button:before{content:counter(more,decimal-leading-zero);font-size:13px;font-weight:400;color:var(--jr-accent);letter-spacing:0}
.jr-page .jr-ph-link .elementor-button:after{content:"→";margin-left:auto;color:var(--jr-accent)}
.jr-page .jr-ph-link .elementor-button:hover{color:var(--jr-accent);background:transparent;padding-left:var(--s3)}
.jr-page .jr-ph-link .elementor-button-content-wrapper{flex-grow:0}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1100px){.jr-page .jr-ph-grid .gallery{column-count:2}}
@media (max-width:900px){
  .jr-page .jr-ph-hero{min-height:78vh}
  .jr-page .jr-ph-hero__photo{width:100%}
  .jr-page .jr-ph-hero__photo img{-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 70%);mask-image:linear-gradient(0deg,transparent 0,#000 70%);opacity:.7}
  .jr-page .jr-ph-hero__inner{padding:var(--s12) var(--s6) var(--s20)}
  .jr-page .jr-ph-intro__row{flex-direction:column;gap:var(--s8)}
  .jr-page .jr-ph-intro__card{flex:0 0 auto;width:100%}
  .jr-page .jr-ph-intro__photos{width:100%;aspect-ratio:4/3}
  .jr-page .jr-ph-more__inner{flex-direction:column;gap:var(--s8)}
  .jr-page .jr-ph-more__head{flex:0 0 auto}
}
@media (max-width:640px){
  .jr-page .jr-ph-gallery,.jr-page .jr-ph-more{padding-left:var(--s4);padding-right:var(--s4)}
  .jr-page .jr-ph-grid .gallery{column-count:1}
  .jr-page .jr-ph-link .elementor-button{font-size:22px}
}

/* Przedszkolne: zdjęcia w kolorze (wyjątek od stylistyki czerni i bieli) */
body.postid-2125 .jr-page .jr-ph-grid .gallery-icon img,body.postid-2125 .jr-page .jr-ph-grid .gallery-icon:hover img,body.postid-2125 .jr-page .jr-ph-intro__a img,body.postid-2125 .jr-page .jr-ph-intro__b img,body.postid-2125 .jr-page .jr-ph-hero__photo img{filter:none}
body.postid-2125 .jr-page .jr-ph-grid .gallery-icon:hover img{transform:scale(1.03)}

/* =========================================================
   KONTAKT + FORMULARZ (Contact Form 7)
   ========================================================= */
.jr-page .jr-ct{background:var(--jr-black);color:var(--jr-text-inverse);padding:var(--s24) var(--s6);box-sizing:border-box;width:100%}
.jr-page .jr-ct__inner{max-width:1400px;margin:0 auto;display:flex;flex-direction:row;gap:var(--s16);align-items:flex-start;width:100%}
.jr-page .jr-ct__info{flex:0 0 340px;display:flex;flex-direction:column;gap:var(--s5)}
.jr-page .jr-ct__info .jr-h2 .elementor-heading-title{font-weight:800;font-size:32px;line-height:1.2;color:var(--jr-text-inverse)}
.jr-page .jr-ct__info .elementor-widget-text-editor,.jr-page .jr-ct__info .elementor-widget-text-editor p{font-size:15px;line-height:1.7;color:var(--jr-muted-inverse)}
.jr-page .jr-ct__list{display:flex;flex-direction:column;border-top:1px solid var(--jr-divider-inverse);margin-top:var(--s2)}
.jr-page .jr-ct__row{display:flex;flex-direction:column;gap:4px;padding:var(--s4) 0;border-bottom:1px solid var(--jr-divider-inverse)}
.jr-page .jr-ct__row small{font-size:11px;letter-spacing:.2em;color:var(--jr-muted-inverse);text-transform:uppercase}
.jr-page .jr-ct__row a,.jr-page .jr-ct__row span{font-weight:800;font-size:20px;color:var(--jr-text-inverse);text-decoration:none;line-height:1.3;word-break:break-word}
.jr-page .jr-ct__row a:hover{color:var(--jr-accent)}
.jr-page .jr-ct__steps{display:flex;flex-direction:column;gap:var(--s3);counter-reset:st;margin-top:var(--s4)}
.jr-page .jr-ct__steps li{list-style:none;counter-increment:st;display:flex;gap:var(--s3);font-size:14px;line-height:1.6;color:var(--jr-muted-inverse)}
.jr-page .jr-ct__steps li:before{content:counter(st,decimal-leading-zero);color:var(--jr-accent);font-size:13px}
.jr-page .jr-ct__steps{padding:0;margin-left:0}
.jr-page .jr-ct__form{flex:1 1 0;min-width:0;border:1px solid var(--jr-divider-inverse);padding:var(--s10);position:relative;box-sizing:border-box}
.jr-page .jr-ct__form:before,.jr-page .jr-ct__form:after{content:"";position:absolute;width:18px;height:18px;border:2px solid var(--jr-accent);pointer-events:none}
.jr-page .jr-ct__form:before{top:-1px;left:-1px;border-right:0;border-bottom:0}
.jr-page .jr-ct__form:after{bottom:-1px;right:-1px;border-left:0;border-top:0}

.jr-form{font-family:var(--jr-font);color:var(--jr-text-inverse)}
.jr-form *{box-sizing:border-box}
.jr-form .jr-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--s8) var(--s8)}
.jr-form .jr-f{display:flex;flex-direction:column;gap:var(--s2);margin:0;min-width:0}
.jr-form .jr-f--wide{grid-column:1/-1}
.jr-form .jr-f>span:first-child,.jr-form .jr-f__l{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--jr-muted-inverse);font-weight:400}
.jr-form .wpcf7-form-control-wrap{display:block;width:100%}
body.jr-site .jr-form input[type=text],body.jr-site .jr-form input[type=email],body.jr-site .jr-form input[type=tel],body.jr-site .jr-form input[type=date],body.jr-site .jr-form select,body.jr-site .jr-form textarea{width:100%;background:transparent!important;border:0!important;border-bottom:1px solid rgba(243,242,242,.28)!important;border-radius:0!important;color:var(--jr-text-inverse)!important;font:400 16px/1.4 var(--jr-font)!important;letter-spacing:0!important;text-transform:none!important;padding:var(--s3) 0!important;margin:0;outline:0;box-shadow:none!important;transition:border-color .25s;-webkit-appearance:none;appearance:none}
body.jr-site .jr-form textarea{min-height:150px;resize:vertical;line-height:1.6!important}
body.jr-site .jr-form input:focus,body.jr-site .jr-form select:focus,body.jr-site .jr-form textarea:focus{border-bottom-color:var(--jr-accent)!important}
body.jr-site .jr-form ::placeholder{color:rgba(243,242,242,.34);opacity:1}
body.jr-site .jr-form select{background-image:linear-gradient(45deg,transparent 50%,var(--jr-accent) 50%),linear-gradient(135deg,var(--jr-accent) 50%,transparent 50%)!important;background-position:calc(100% - 10px) 52%,calc(100% - 4px) 52%!important;background-size:6px 6px,6px 6px!important;background-repeat:no-repeat!important;padding-right:var(--s6)!important;cursor:pointer}
.jr-form select option{background:#0d0c0b;color:#f3f2f2}
.jr-form input[type=date]{color-scheme:dark}
/* radio jako "pigułki" */
.jr-form .wpcf7-radio{display:flex;flex-wrap:wrap;gap:var(--s2)}
.jr-form .wpcf7-radio .wpcf7-list-item{margin:0}
.jr-form .wpcf7-radio label{position:relative;display:block;cursor:pointer;margin:0}
.jr-form .wpcf7-radio input{position:absolute;opacity:0;width:0;height:0}
.jr-form .wpcf7-radio .wpcf7-list-item-label{display:inline-block;padding:var(--s2) var(--s4);border:1px solid rgba(243,242,242,.28);font-size:13px;letter-spacing:.04em;color:var(--jr-text-inverse);transition:all .25s}
.jr-form .wpcf7-radio label:hover .wpcf7-list-item-label{border-color:var(--jr-accent)}
.jr-form .wpcf7-radio input:checked+.wpcf7-list-item-label{background:var(--jr-accent);border-color:var(--jr-accent);color:var(--jr-bg)}
.jr-form .wpcf7-radio input:focus-visible+.wpcf7-list-item-label{outline:1px solid var(--jr-text-inverse);outline-offset:2px}
/* zgoda */
.jr-form__consent{margin-top:var(--s8)}
.jr-form__consent .wpcf7-list-item{margin:0}
.jr-form__consent label{display:flex;gap:var(--s3);align-items:flex-start;font-size:13px;line-height:1.6;color:var(--jr-muted-inverse);cursor:pointer}
.jr-form__consent input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;border:1px solid rgba(243,242,242,.45);background:transparent;-webkit-appearance:none;appearance:none;position:relative;cursor:pointer}
.jr-form__consent input[type=checkbox]:checked{background:var(--jr-accent);border-color:var(--jr-accent)}
.jr-form__consent input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid var(--jr-bg);border-width:0 2px 2px 0;transform:rotate(45deg)}
/* wyślij */
.jr-form__actions{display:flex;align-items:center;gap:var(--s6);flex-wrap:wrap;margin-top:var(--s8)}
.jr-form__actions small{font-size:12px;color:var(--jr-muted-inverse)}
body.jr-site .jr-form .wpcf7-submit{background:var(--jr-accent)!important;color:var(--jr-bg)!important;border:0!important;border-radius:0!important;padding:var(--s4) var(--s8)!important;font:600 14px/normal var(--jr-font)!important;letter-spacing:.08em!important;text-transform:none!important;cursor:pointer;transition:background .25s,transform .25s;width:auto;box-shadow:none!important}
body.jr-site .jr-form .wpcf7-submit:hover{background:var(--jr-accent-dim)!important;transform:translateX(4px)}
.jr-form .wpcf7-spinner{background-color:var(--jr-muted-inverse);margin:0}
/* komunikaty */
.jr-form .wpcf7-not-valid-tip{color:var(--jr-accent);font-size:12px;margin-top:var(--s1);letter-spacing:.02em}
.jr-form .wpcf7-not-valid{border-bottom-color:var(--jr-accent)!important}
.jr-ct__form .wpcf7 form .wpcf7-response-output{margin:var(--s6) 0 0;padding:var(--s4);border:1px solid var(--jr-divider-inverse);color:var(--jr-text-inverse);font-size:14px;line-height:1.5;background:transparent}
.jr-ct__form .wpcf7 form.sent .wpcf7-response-output{border-color:#7ed3a0}
.jr-ct__form .wpcf7 form.invalid .wpcf7-response-output,.jr-ct__form .wpcf7 form.failed .wpcf7-response-output,.jr-ct__form .wpcf7 form.unaccepted .wpcf7-response-output{border-color:var(--jr-accent)}
@media (max-width:900px){
  .jr-page .jr-ct__inner{flex-direction:column;gap:var(--s10)}
  .jr-page .jr-ct__info{flex:0 0 auto;width:100%}
  .jr-page .jr-ct__form{width:100%;padding:var(--s6)}
}
@media (max-width:640px){
  .jr-page .jr-ct{padding-left:var(--s4);padding-right:var(--s4)}
  .jr-form .jr-form__grid{grid-template-columns:1fr;gap:var(--s6)}
  .jr-page .jr-ct__form{padding:var(--s5)}
}

.jr-page .jr-ph-crumb .elementor-heading-title{font-size:12px;letter-spacing:.2em;color:var(--jr-accent);font-weight:600;line-height:normal}

/* nadpisanie typografii etykiet motywu Tank */
body.jr-site .jr-form label,body.jr-site .jr-form label span,body.jr-site .jr-form .jr-f__l,body.jr-site .jr-form small,body.jr-site .jr-form .wpcf7-list-item-label{font-family:var(--jr-font)!important;font-style:normal!important;font-weight:400!important}
body.jr-site .jr-form .jr-f>span:first-child,body.jr-site .jr-form .jr-f__l{font-size:11px!important;letter-spacing:.2em!important;text-transform:uppercase!important;color:var(--jr-muted-inverse)!important;line-height:1.5!important}
body.jr-site .jr-form .wpcf7-radio .wpcf7-list-item-label{font-size:13px!important;letter-spacing:.04em!important;text-transform:none!important;line-height:1.3!important;color:var(--jr-text-inverse)!important}
body.jr-site .jr-form .wpcf7-radio input:checked+.wpcf7-list-item-label{color:var(--jr-bg)!important}
body.jr-site .jr-form__consent label,body.jr-site .jr-form__consent .wpcf7-list-item-label{font-size:13px!important;letter-spacing:0!important;text-transform:none!important;color:var(--jr-muted-inverse)!important;line-height:1.6!important}
body.jr-site .jr-form__actions small{font-size:12px!important;letter-spacing:0!important;text-transform:none!important}
body.jr-site .jr-page .jr-ct__steps li,body.jr-site .jr-ct__steps li{list-style:none!important;padding:0!important;margin:0!important;background:none!important;position:static}
body.jr-site .jr-ct__steps li:before{content:counter(st,decimal-leading-zero)!important;position:static!important;display:inline!important;width:auto!important;height:auto!important;background:none!important;border:0!important;transform:none!important;color:var(--jr-accent)!important;font-size:13px!important}
body.jr-site .jr-ct__steps li:after{display:none!important}

/* przycisk wysyłki: Tank opakowuje submit CF7 w .tt-contact-btn-wrap > .tt-btn > button */
body.jr-site .jr-form .jr-form__actions{display:flex;flex-direction:row;align-items:center;gap:var(--s6);flex-wrap:wrap;width:100%;margin-top:var(--s8)}
body.jr-site .jr-form .tt-contact-btn-wrap{display:flex;align-items:center;gap:var(--s3);width:auto;height:auto;margin:0;padding:0;flex:0 0 auto}
body.jr-site .jr-form .tt-btn.wpcf7-submit,body.jr-site .jr-form .tt-btn.wpcf7-submit:hover{display:block;position:static;width:auto;height:auto;margin:0;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;overflow:visible;min-width:0}
body.jr-site .jr-form .tt-btn.wpcf7-submit:before,body.jr-site .jr-form .tt-btn.wpcf7-submit:after,body.jr-site .jr-form .tt-btn.wpcf7-submit button:before,body.jr-site .jr-form .tt-btn.wpcf7-submit button:after{content:none!important;display:none!important}
body.jr-site .jr-form .tt-btn.wpcf7-submit button{display:inline-flex;align-items:center;justify-content:center;position:relative;width:auto;height:auto;margin:0;overflow:visible;background:var(--jr-accent)!important;color:var(--jr-bg)!important;border:0!important;border-radius:0!important;padding:var(--s4) var(--s8)!important;font:600 14px/normal var(--jr-font)!important;letter-spacing:.08em!important;text-transform:none!important;white-space:nowrap;cursor:pointer;box-shadow:none!important;transition:background .25s,transform .25s}
body.jr-site .jr-form .tt-btn.wpcf7-submit button:hover{background:var(--jr-accent-dim)!important;transform:translateX(4px)}
body.jr-site .jr-form .jr-form__actions small{flex:1 1 220px;min-width:180px;font-size:12px!important;line-height:1.5!important}

/* =========================================================
   O MNIE
   ========================================================= */
.jr-page .jr-am-hero .jr-ph-hero__photo{left:0;right:0;width:100%}
.jr-page .jr-am-hero .jr-ph-hero__photo img{-webkit-mask-image:none;mask-image:none;filter:none;object-position:center 22%}
.jr-page .jr-am-hero:before{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(13,12,11,.95) 0,rgba(13,12,11,.72) 38%,rgba(13,12,11,.1) 78%);pointer-events:none}
.jr-page .jr-am-hero .jr-ph-hero__film{opacity:.07}
.jr-page .jr-am-hero .jr-ph-title .elementor-heading-title{font-size:clamp(40px,5.6vw,88px)}

.jr-page .jr-am-story{box-sizing:border-box;width:100%;background-position:center;background-repeat:no-repeat;background-size:cover;padding:var(--s24) 0}
.jr-page .jr-am-story__row{max-width:1400px;margin:0 auto;display:flex;flex-direction:row;align-items:center;gap:var(--s12);padding:0 var(--s6);width:100%;box-sizing:border-box}
.jr-page .jr-am-story__photo{flex:0 0 46%;min-width:0;position:relative}
.jr-page .jr-am-story__photo img{width:100%;height:auto;display:block;box-shadow:0 18px 40px rgba(13,12,11,.22)}
.jr-page .jr-am-story__card{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:var(--s5);background:rgba(243,242,242,.9);padding:var(--s12);box-sizing:border-box}
.jr-page .jr-am-story__card .jr-about__h .elementor-heading-title{font-size:30px}
.jr-page .jr-am-story__card .elementor-widget-text-editor,.jr-page .jr-am-story__card .elementor-widget-text-editor p{font-size:15px;line-height:1.75;color:var(--jr-text)}

.jr-page .jr-am-pillars{background:var(--jr-black);color:var(--jr-text-inverse);padding:var(--s24) var(--s6);box-sizing:border-box;width:100%}
.jr-page .jr-am-pillars__inner{max-width:1400px;margin:0 auto;display:flex;flex-direction:column;gap:var(--s12);width:100%}
.jr-page .jr-am-pillars__head{display:flex;flex-direction:column;gap:var(--s4);max-width:700px}
.jr-page .jr-am-pillars__head .jr-h2 .elementor-heading-title{font-weight:800;font-size:32px;line-height:1.3;color:var(--jr-text-inverse)}
.jr-page .jr-am-pillars__grid{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--s10) var(--s8);width:100%}
.jr-page .jr-am-pillar{flex:1 1 240px;min-width:0;display:flex;flex-direction:column;gap:var(--s3);border-top:1px solid var(--jr-divider-inverse);padding-top:var(--s5)}
.jr-page .jr-am-pillar__n .elementor-heading-title{font-size:13px;color:var(--jr-accent);font-weight:400;line-height:normal;letter-spacing:.1em}
.jr-page .jr-am-pillar__t .elementor-heading-title{font-weight:800;font-size:22px;line-height:1.25;color:var(--jr-text-inverse)}
.jr-page .jr-am-pillar .elementor-widget-text-editor,.jr-page .jr-am-pillar .elementor-widget-text-editor p{font-size:14px;line-height:1.7;color:var(--jr-muted-inverse)}
.jr-page .jr-ph-more__head .elementor-widget-text-editor,.jr-page .jr-ph-more__head .elementor-widget-text-editor p{font-size:15px;line-height:1.7;color:var(--jr-muted-inverse)}
@media (max-width:900px){
  .jr-page .jr-am-hero:before{background:linear-gradient(0deg,rgba(13,12,11,.9) 0,rgba(13,12,11,.55) 60%,rgba(13,12,11,.25) 100%)}
  .jr-page .jr-am-story__row{flex-direction:column;gap:var(--s8)}
  .jr-page .jr-am-story__photo{flex:0 0 auto;width:100%}
  .jr-page .jr-am-story__card{padding:var(--s8)}
}
@media (max-width:640px){
  .jr-page .jr-am-pillars{padding-left:var(--s4);padding-right:var(--s4)}
  .jr-page .jr-am-story__card{padding:var(--s6)}
}

/* =========================================================
   PORTFOLIO (strona zbiorcza)
   ========================================================= */
.jr-page .jr-pf{background:var(--jr-bg);padding:var(--s24) var(--s6);box-sizing:border-box;width:100%}
.jr-page .jr-pf__inner{max-width:1400px;margin:0 auto;display:flex;flex-direction:column;gap:var(--s10);width:100%}
.jr-page .jr-pf__head{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:var(--s4);width:100%}
.jr-page .jr-pf__head .jr-h2 .elementor-heading-title{font-weight:800;font-size:32px;line-height:normal;color:var(--jr-text)}
.jr-page .jr-pf__grid{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--s4);width:100%;counter-reset:pf}
.jr-page .jr-pf-card{flex:1 1 calc(33.333% - var(--s4));min-width:280px;aspect-ratio:4/5;position:relative;overflow:hidden;background:var(--jr-black);color:var(--jr-text-inverse);cursor:pointer;counter-increment:pf;box-sizing:border-box}
.jr-page .jr-pf-card>.elementor-widget{position:static}
.jr-page .jr-pf-card__img{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.jr-page .jr-pf-card__img .elementor-widget-container{height:100%}
.jr-page .jr-pf-card__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.1) brightness(.9);transform:scale(1);transition:filter .5s ease,transform .7s ease}
.jr-page .jr-pf-card:hover .jr-pf-card__img img{filter:grayscale(.1) contrast(1.05) brightness(1);transform:scale(1.07)}
.jr-page .jr-pf-card:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(13,12,11,0) 38%,rgba(13,12,11,.92) 100%);pointer-events:none}
.jr-page .jr-pf-card:after{content:counter(pf,decimal-leading-zero);position:absolute;top:var(--s3);left:var(--s3);z-index:3;font-size:11px;letter-spacing:.1em;color:var(--jr-text-inverse);background:rgba(13,12,11,.55);padding:1px 6px;pointer-events:none}
.jr-page .jr-pf-card__film{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;opacity:0;mix-blend-mode:screen;transition:opacity .45s ease}
.jr-page .jr-pf-card__film .elementor-widget-container{height:100%}
.jr-page .jr-pf-card__film img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.jr-page .jr-pf-card:hover .jr-pf-card__film{opacity:.4}
.jr-page .jr-pf-card__count{position:absolute;top:var(--s3);right:var(--s3);z-index:3}
.jr-page .jr-pf-card__count .elementor-heading-title{font-size:11px;letter-spacing:.15em;color:var(--jr-text-inverse);font-weight:400;line-height:normal}
.jr-page .jr-pf-card__body{position:absolute;left:var(--s6);right:var(--s6);bottom:var(--s6);z-index:3;display:flex;flex-direction:column;gap:var(--s3)}
.jr-page .jr-pf-card__title .elementor-heading-title{font-weight:800;font-size:26px;line-height:1.15;text-transform:uppercase;letter-spacing:.02em;color:var(--jr-text-inverse)}
.jr-page .jr-pf-card__tag .elementor-heading-title{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--jr-muted-inverse);font-weight:400;line-height:normal}
.jr-page .jr-pf-card__body .jr-rule{width:32px;transition:width .35s ease}
.jr-page .jr-pf-card:hover .jr-pf-card__body .jr-rule{width:64px}
.jr-page .jr-pf-card .jr-see .elementor-button{background:transparent;padding:0;border-radius:0;font-family:var(--jr-font);font-weight:600;font-size:12px;letter-spacing:.1em;color:var(--jr-text-inverse);line-height:normal;display:inline-flex;gap:var(--s2)}
.jr-page .jr-pf-card .jr-see .elementor-button:after{content:"→";color:var(--jr-accent);transition:transform .3s}
.jr-page .jr-pf-card:hover .jr-see .elementor-button:after{transform:translateX(5px)}
@media (hover:none){.jr-page .jr-pf-card__img img{filter:grayscale(.2)}}
@media (max-width:900px){.jr-page .jr-pf-card{flex-basis:calc(50% - var(--s4))}}
@media (max-width:640px){.jr-page .jr-pf{padding-left:var(--s4);padding-right:var(--s4)}.jr-page .jr-pf-card{flex-basis:100%;aspect-ratio:4/4.6}}

/* karty portfolio: pozycjonowanie widgetów (wyższa specyficzność niż reset 'static') */
.jr-page .jr-pf-card>.jr-pf-card__img,.jr-page .jr-pf-card>.jr-pf-card__film{position:absolute;inset:0;width:100%;height:100%}
.jr-page .jr-pf-card>.jr-pf-card__count{position:absolute;top:var(--s3);right:var(--s3);left:auto;bottom:auto;width:auto;z-index:3}
.jr-page .jr-pf-card>.jr-pf-card__body{position:absolute}

/* puste miejsce przed stopką: Tank dokłada pod treścią pustą sekcję z dużym paddingiem (nawigacja "następny projekt") */
body.jr-site #page-content>.tt-section.padding-bottom-xlg-150,body.jr-site #page-content>.tt-section:empty{display:none!important;padding:0!important;margin:0!important;height:0!important}
body.jr-site #page-content{padding-bottom:0!important;margin-bottom:0!important}
body.jr-site #content-wrap{padding-bottom:0!important}

/* EN Preschool: zdjęcia w kolorze */
body.postid-2140 .jr-page .jr-ph-grid .gallery-icon img,body.postid-2140 .jr-page .jr-ph-grid .gallery-icon:hover img,body.postid-2140 .jr-page .jr-ph-intro__a img,body.postid-2140 .jr-page .jr-ph-intro__b img,body.postid-2140 .jr-page .jr-ph-hero__photo img{filter:none}

/* =========================================================
   Nawigacja między sesjami (poprzednia / wszystkie / następna) pod galerią
   ========================================================= */
.jr-page .jr-ph-pn{width:100%}
.jr-page .jr-pn{display:grid;grid-template-columns:1fr auto 1fr;gap:var(--s6);align-items:center;margin-top:var(--s6);padding-top:var(--s10);border-top:1px solid rgba(28,26,25,.2)}
.jr-page .jr-pn a{text-decoration:none;color:var(--jr-text)}
.jr-page .jr-pn__item{display:flex;flex-direction:column;gap:var(--s2);min-width:0;padding:var(--s2) 0}
.jr-page .jr-pn__prev{align-items:flex-start;text-align:left}
.jr-page .jr-pn__next{align-items:flex-end;text-align:right}
.jr-page .jr-pn__item small{display:flex;gap:var(--s3);align-items:center;font-size:11px;letter-spacing:.2em;color:var(--jr-muted);font-weight:400}
.jr-page .jr-pn__prev small:before{content:"←";color:var(--jr-accent);font-size:14px;letter-spacing:0;transition:transform .3s}
.jr-page .jr-pn__next small:after{content:"→";color:var(--jr-accent);font-size:14px;letter-spacing:0;transition:transform .3s}
.jr-page .jr-pn__item span{font-weight:800;font-size:clamp(20px,2.6vw,34px);line-height:1.15;text-transform:uppercase;letter-spacing:.01em;color:var(--jr-text);transition:color .25s,transform .3s;text-wrap:balance}
.jr-page .jr-pn__item:hover span{color:var(--jr-accent)}
.jr-page .jr-pn__prev:hover span{transform:translateX(-6px)}
.jr-page .jr-pn__next:hover span{transform:translateX(6px)}
.jr-page .jr-pn__prev:hover small:before{transform:translateX(-5px)}
.jr-page .jr-pn__next:hover small:after{transform:translateX(5px)}
.jr-page .jr-pn__mid{display:flex;flex-direction:column;align-items:center;gap:var(--s3);padding:0 var(--s4)}
.jr-page .jr-pn__all{display:flex;flex-direction:column;align-items:center;gap:var(--s2);color:var(--jr-text);transition:color .25s}
.jr-page .jr-pn__all small{font-size:11px;letter-spacing:.2em;font-weight:600}
.jr-page .jr-pn__all:hover{color:var(--jr-accent)}
.jr-page .jr-pn__home{font-size:12px;letter-spacing:.08em;color:var(--jr-muted)!important;border-bottom:1px solid transparent;transition:color .25s,border-color .25s}
.jr-page .jr-pn__home:hover{color:var(--jr-accent)!important;border-bottom-color:var(--jr-accent)}
@media (max-width:700px){
  .jr-page .jr-pn{grid-template-columns:1fr 1fr;gap:var(--s5) var(--s4)}
  .jr-page .jr-pn__mid{grid-column:1/-1;grid-row:2;flex-direction:row;justify-content:space-between;gap:var(--s4);padding:var(--s5) 0 0;border-top:1px solid rgba(28,26,25,.14)}
  .jr-page .jr-pn__all{flex-direction:row;gap:var(--s3)}
  .jr-page .jr-pn__item span{font-size:20px}
}
html.jr-light .jr-pn,html.jr-light .jr-pn__mid{border-color:rgba(28,26,25,.2)}

/* O mnie: film zamiast zdjęcia w sekcji "Moja historia" */
.jr-page .jr-am-story__media,.jr-page .jr-am-story__media .elementor-widget-container{width:100%}
.jr-page .jr-am-story__video{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;background:#0d0c0b;box-shadow:0 18px 40px rgba(13,12,11,.22)}
@media (max-width:900px){.jr-page .jr-am-story__video{aspect-ratio:auto;height:min(120vw,560px);object-position:56% 28%}}

/* =========================================================
   DOKUMENTACJA (strona techniczna chroniona hasłem)
   ========================================================= */
.jr-page .jr-doc-hero{background:var(--jr-black);color:var(--jr-text-inverse);padding:152px var(--s6) var(--s16);box-sizing:border-box;width:100%;position:relative;overflow:hidden}
.jr-page .jr-doc-hero:before{content:"";position:absolute;inset:0;background:url("https://fotojustyn.joost.pl/wp-content/themes/tank-child/jr-assets/hud-bg.webp") center/cover no-repeat;opacity:.55;pointer-events:none}
html.jr-light .jr-doc-hero:before{filter:invert(1) hue-rotate(180deg);mix-blend-mode:multiply;opacity:.45}
.jr-page .jr-doc-hero__inner{position:relative;max-width:1100px;margin:0 auto;display:flex;flex-direction:column;gap:var(--s5);width:100%}
.jr-page .jr-doc-hero .jr-doc-kicker .elementor-heading-title{font-size:12px;letter-spacing:.2em;color:var(--jr-accent);font-weight:600;line-height:normal}
.jr-page .jr-doc-hero .jr-doc-title .elementor-heading-title{font-weight:800;font-size:clamp(34px,5vw,72px);line-height:1.05;color:var(--jr-text-inverse);text-transform:uppercase;letter-spacing:-.01em}
.jr-page .jr-doc-hero .jr-doc-lead,.jr-page .jr-doc-hero .jr-doc-lead p{font-size:17px;line-height:1.7;color:var(--jr-muted-inverse);max-width:680px;margin:0}
.jr-page .jr-doc-meta{display:flex;flex-wrap:wrap;gap:var(--s2) var(--s6);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--jr-text-inverse)}
.jr-page .jr-doc-meta b{color:var(--jr-accent);font-weight:600}

.jr-page .jr-doc{background:var(--jr-bg);padding:var(--s16) var(--s6) var(--s24);box-sizing:border-box;width:100%}
.jr-page .jr-doc__inner{max-width:1100px;margin:0 auto;display:flex;flex-direction:column;gap:var(--s10);width:100%}
.jr-page .jr-doc,.jr-page .jr-doc p,.jr-page .jr-doc li{color:var(--jr-text)}
.jr-page .jr-doc .jr-doc-h2 .elementor-heading-title{font-weight:800;font-size:clamp(26px,3vw,38px);line-height:1.15;color:var(--jr-text)}
.jr-page .jr-doc .jr-doc-h2{padding-top:var(--s6);border-top:3px solid var(--jr-accent);margin-top:var(--s8)}
.jr-page .jr-doc .elementor-widget-text-editor,.jr-page .jr-doc .elementor-widget-text-editor p{font-size:16px;line-height:1.75}
.jr-page .jr-doc .elementor-widget-text-editor p{margin:0 0 var(--s3)}

/* wyszukiwarka + spis treści */
.jr-page .jr-doc-search{display:flex;flex-direction:column;gap:var(--s2)}
.jr-page .jr-doc-search label{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--jr-muted)}
.jr-page .jr-doc-search input{width:100%;background:transparent;border:0;border-bottom:2px solid var(--jr-text);padding:var(--s3) 0;font:400 20px var(--jr-font);color:var(--jr-text);outline:0;border-radius:0;box-shadow:none}
.jr-page .jr-doc-search input:focus{border-bottom-color:var(--jr-accent)}
.jr-page .jr-doc-search small{font-size:12px;color:var(--jr-muted)}
.jr-page .jr-doc-toc .elementor-icon-list-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 var(--s8);padding:0;margin:0}
.jr-page .jr-doc-toc .elementor-icon-list-item{border-bottom:1px solid var(--jr-divider);padding:var(--s3) 0}
.jr-page .jr-doc-toc .elementor-icon-list-item a{display:flex;align-items:center;gap:var(--s3);text-decoration:none;color:var(--jr-text);font-weight:600;font-size:16px;transition:color .2s}
.jr-page .jr-doc-toc .elementor-icon-list-item a:hover{color:var(--jr-accent)}
.jr-page .jr-doc-toc .elementor-icon-list-icon i,.jr-page .jr-doc-toc .elementor-icon-list-icon svg{color:var(--jr-accent);fill:var(--jr-accent);font-size:13px;width:13px}

/* akordeony, zakładki, przełączniki (Elementor) */
.jr-page .jr-doc .elementor-accordion .elementor-accordion-item,.jr-page .jr-doc .elementor-toggle .elementor-toggle-item{border:0;border-top:1px solid var(--jr-divider);margin:0}
.jr-page .jr-doc .elementor-accordion .elementor-accordion-item:last-child,.jr-page .jr-doc .elementor-toggle .elementor-toggle-item:last-child{border-bottom:1px solid var(--jr-divider)}
.jr-page .jr-doc .elementor-tab-title{padding:var(--s5) 0;font-family:var(--jr-font);font-weight:800;font-size:18px;line-height:1.3;color:var(--jr-text);border:0;cursor:pointer;transition:color .2s}
.jr-page .jr-doc .elementor-tab-title a{color:inherit;text-decoration:none}
.jr-page .jr-doc .elementor-tab-title:hover,.jr-page .jr-doc .elementor-tab-title.elementor-active,.jr-page .jr-doc .elementor-tab-title.elementor-active a{color:var(--jr-accent)}
.jr-page .jr-doc .elementor-accordion-icon,.jr-page .jr-doc .elementor-toggle-icon{color:var(--jr-accent)}
.jr-page .jr-doc .elementor-tab-content{padding:0 0 var(--s6);border:0;font-size:15px;line-height:1.75;color:var(--jr-text)}
.jr-page .jr-doc .elementor-tab-content h3,.jr-page .jr-doc .elementor-tab-content h4{font-family:var(--jr-font);font-weight:800;font-size:16px;margin:var(--s5) 0 var(--s2);color:var(--jr-text);text-transform:none;letter-spacing:0}
.jr-page .jr-doc .elementor-tab-content p{margin:0 0 var(--s3)}
.jr-page .jr-doc .elementor-tab-content ul,.jr-page .jr-doc .elementor-tab-content ol{margin:0 0 var(--s3);padding-left:var(--s6)}
.jr-page .jr-doc .elementor-tab-content li{margin:0 0 var(--s2);line-height:1.65}
.jr-page .jr-doc .elementor-tab-content code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em;background:rgba(236,48,19,.1);padding:1px 6px;color:inherit;word-break:break-word}
.jr-page .jr-doc .elementor-tab-content pre{background:#0d0c0b;color:#f3f2f2;padding:var(--s4) var(--s5);overflow:auto;margin:0 0 var(--s4);font-size:13px;line-height:1.65;border-left:3px solid var(--jr-accent)}
.jr-page .jr-doc .elementor-tab-content pre code{background:transparent;padding:0;color:#f3f2f2;word-break:normal;white-space:pre}
.jr-page .jr-doc .elementor-tab-content table{width:100%;border-collapse:collapse;margin:0 0 var(--s4);font-size:14px}
.jr-page .jr-doc .elementor-tab-content th,.jr-page .jr-doc .elementor-tab-content td{border-bottom:1px solid var(--jr-divider);padding:var(--s2) var(--s3);text-align:left;vertical-align:top}
.jr-page .jr-doc .elementor-tab-content th{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--jr-muted);font-weight:600}
.jr-page .jr-doc .elementor-tab-content a{color:var(--jr-accent);text-decoration:underline}
.jr-page .jr-doc .elementor-tabs-wrapper{display:flex;flex-wrap:wrap;gap:var(--s2) var(--s6);border-bottom:1px solid var(--jr-divider)}
.jr-page .jr-doc .elementor-tabs .elementor-tab-title{padding:var(--s3) 0;font-size:12px;letter-spacing:.14em;text-transform:uppercase;border-bottom:3px solid transparent;margin-bottom:-1px;width:auto}
.jr-page .jr-doc .elementor-tabs .elementor-tab-title.elementor-active{border-bottom-color:var(--jr-accent)}
.jr-page .jr-doc .elementor-tabs .elementor-tab-content{padding:var(--s6) 0 0}
.jr-page .jr-doc .elementor-tab-mobile-title{font-weight:800;padding:var(--s4) 0}
.jr-page .jr-doc .elementor-alert{border-radius:0;border:1px solid var(--jr-accent);border-left-width:6px;background:transparent;color:var(--jr-text);padding:var(--s4) var(--s5)}
.jr-page .jr-doc .elementor-alert .elementor-alert-title{font-weight:800;color:var(--jr-text)}
.jr-page .jr-doc .elementor-alert .elementor-alert-description{color:var(--jr-text);font-size:14px;line-height:1.65}
.jr-page .jr-doc [hidden],.jr-page .jr-doc .jr-hidden{display:none!important}
.jr-page .jr-doc-foot{border-top:1px solid var(--jr-divider);padding-top:var(--s6);font-size:13px;color:var(--jr-muted)}

/* formularz hasła (strona chroniona) */
body.jr-site .post-password-form{max-width:520px;margin:0 auto;padding:180px var(--s6) var(--s24);min-height:60vh;color:var(--jr-text)}
body.jr-site .post-password-form p{font-size:15px;line-height:1.7;margin:0 0 var(--s4)}
body.jr-site .post-password-form label{display:flex;flex-direction:column;gap:var(--s2);font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--jr-muted)}
body.jr-site .post-password-form input[type=password]{background:transparent!important;border:0!important;border-bottom:2px solid var(--jr-text)!important;border-radius:0!important;padding:var(--s3) 0!important;font:400 20px var(--jr-font)!important;color:var(--jr-text)!important;outline:0;box-shadow:none!important;width:100%}
body.jr-site .post-password-form input[type=submit]{background:var(--jr-accent)!important;color:var(--jr-bg)!important;border:0!important;border-radius:0!important;padding:var(--s4) var(--s8)!important;font:600 14px var(--jr-font)!important;letter-spacing:.08em;cursor:pointer;margin-top:var(--s4)}
@media (max-width:760px){
  .jr-page .jr-doc-toc .elementor-icon-list-items{grid-template-columns:1fr}
  .jr-page .jr-doc-hero{padding:120px var(--s4) var(--s12)}
  .jr-page .jr-doc{padding-left:var(--s4);padding-right:var(--s4)}
}


/* =========================================================
   BLOG (wpisy, lista, sekcja na stronie głównej)
   ========================================================= */
.jr-page .jr-bl-hero{min-height:78vh}
.jr-page .jr-bl-hero .jr-ph-hero__txt{max-width:780px}
.jr-page .jr-bl-hero .jr-ph-hero__photo img{filter:saturate(.9) contrast(1.04) brightness(.9);object-position:center 35%}
.jr-page .jr-bl-title .elementor-heading-title{font-size:clamp(30px,4.4vw,64px);line-height:1.08;text-transform:none;letter-spacing:-.015em}

/* treść artykułu (papier) */
.jr-page .jr-bl-article{box-sizing:border-box;width:100%;background-color:#ece9e6;background-position:center;background-size:cover;padding:var(--s20) var(--s6) var(--s24);color:#1c1a19}
.jr-page .jr-bl-col{display:flex;flex-direction:column;width:100%;max-width:760px;margin:0 auto}
.jr-page .jr-bl-by{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s3);margin:0 0 var(--s10);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#6a6561}
.jr-page .jr-bl-by i{display:block;width:4px;height:4px;border-radius:50%;background:var(--jr-accent)}
.jr-page .jr-bl-lead,.jr-page .jr-bl-lead p{font-size:clamp(18px,1.7vw,21px);line-height:1.75;font-weight:500;color:#1c1a19}
.jr-page .jr-bl-p,.jr-page .jr-bl-p p{font-size:18px;line-height:1.85;color:#2b2826}
.jr-page .jr-bl-lead p,.jr-page .jr-bl-p p{margin:0 0 var(--s6)}
.jr-page .jr-bl-h2{margin:var(--s12) 0 var(--s5)}
.jr-page .jr-bl-h2:before{content:"";display:block;width:40px;height:3px;background:var(--jr-accent);margin-bottom:var(--s4)}
.jr-page .jr-bl-h2 .elementor-heading-title{font-weight:800;font-size:clamp(24px,2.6vw,34px);line-height:1.2;letter-spacing:-.01em;color:#0d0c0b}
.jr-page .jr-bl-quote{margin:var(--s10) 0}
.jr-page .jr-bl-quote .elementor-heading-title{font-weight:700;font-size:clamp(21px,2.3vw,29px);line-height:1.38;color:#0d0c0b;border-left:3px solid var(--jr-accent);padding:var(--s2) 0 var(--s2) var(--s6)}

/* zdjęcia w tekście – szersze niż kolumna na desktopie */
.jr-page .jr-bl-fig,.jr-page .jr-bl-duo{margin:var(--s10) 0}
.jr-page .jr-bl-fig img{display:block;width:100%;height:auto;max-height:680px;object-fit:cover;box-shadow:0 18px 40px rgba(13,12,11,.18)}
.jr-page .jr-bl-duo{display:flex;flex-direction:row;align-items:stretch;gap:var(--s4)}
.jr-page .jr-bl-duo__i{flex:1 1 0;min-width:0;margin:0}
.jr-page .jr-bl-duo__i .elementor-widget-container{height:100%}
.jr-page .jr-bl-duo__i img{display:block;width:100%;height:100%;max-height:640px;object-fit:cover;box-shadow:0 18px 40px rgba(13,12,11,.18)}
@media (min-width:1100px){
  .jr-page .jr-bl-fig,.jr-page .jr-bl-duo{width:calc(100% + 240px);margin-left:-120px;margin-right:-120px}
}

/* koniec artykułu: linki do portfolio */
.jr-page .jr-bl-end{margin-top:var(--s16);padding-top:var(--s8);border-top:1px solid rgba(28,26,25,.3);display:flex;flex-direction:column;gap:var(--s5)}
.jr-page .jr-bl-end__label .elementor-heading-title{font-size:11px;letter-spacing:.22em;font-weight:600;color:var(--jr-accent);line-height:normal}
.jr-page .jr-bl-end__links{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--s3) var(--s8)}

/* „czytaj także” */
.jr-page .jr-bl-more{background:var(--jr-black);color:var(--jr-text-inverse);padding:var(--s24) var(--s6);box-sizing:border-box;width:100%}
.jr-page .jr-bl-more__inner{max-width:1400px;margin:0 auto;display:flex;flex-direction:row;gap:var(--s16);align-items:flex-start;width:100%}
.jr-page .jr-bl-more__inner>.elementor-widget{flex:1 1 0;min-width:0}

/* kafelki wpisów */
.jr-page .jr-bl-grid{display:grid;gap:var(--s6);grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
.jr-page .jr-bl-grid--n1{grid-template-columns:minmax(0,520px)}
.jr-page .jr-bl-grid--n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.jr-page .jr-bl-card{display:flex;flex-direction:column;color:var(--jr-text);background:#f7f6f5;border:1px solid rgba(28,26,25,.16);overflow:hidden;text-decoration:none;transition:transform .35s ease,border-color .3s ease,box-shadow .35s ease}
.jr-page .jr-bl-grid--dark .jr-bl-card{background:#161412;border-color:rgba(243,242,242,.16);color:var(--jr-text-inverse)}
.jr-page .jr-bl-card:hover{transform:translateY(-4px);border-color:var(--jr-accent);box-shadow:0 18px 36px rgba(13,12,11,.22)}
.jr-page .jr-bl-card__img{display:block;aspect-ratio:4/3;overflow:hidden;background:#222}
.jr-page .jr-bl-card__img img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover;transition:transform .7s ease,filter .5s ease;filter:saturate(.92)}
.jr-page .jr-bl-card:hover .jr-bl-card__img img{transform:scale(1.05);filter:saturate(1.05)}
.jr-page .jr-bl-card__body{display:flex;flex-direction:column;gap:var(--s3);padding:var(--s6);flex:1 1 auto}
.jr-page .jr-bl-card__meta{display:flex;flex-wrap:wrap;gap:var(--s2) var(--s3);font-size:11px;letter-spacing:.16em;color:var(--jr-muted)}
.jr-page .jr-bl-grid--dark .jr-bl-card__meta{color:var(--jr-muted-inverse)}
.jr-page .jr-bl-card__meta b{font-weight:600;color:var(--jr-accent)}
.jr-page .jr-bl-card__title{font-weight:800;font-size:clamp(18px,1.6vw,22px);line-height:1.25;letter-spacing:-.005em}
.jr-page .jr-bl-card__ex{font-size:15px;line-height:1.65;color:var(--jr-muted);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.jr-page .jr-bl-grid--dark .jr-bl-card__ex{color:#b9b6b3}
.jr-page .jr-bl-card__more{margin-top:auto;padding-top:var(--s3);font-size:12px;font-weight:600;letter-spacing:.2em;color:var(--jr-accent)}
.jr-page .jr-bl-card__more:after{content:" →";transition:margin-left .25s}
.jr-page .jr-bl-card:hover .jr-bl-card__more:after{margin-left:6px}

/* lista /blog/ */
.jr-page .jr-bl-list{box-sizing:border-box;width:100%;background-color:#ece9e6;background-size:cover;background-position:center;padding:var(--s20) var(--s6) var(--s24)}
.jr-page .jr-bl-list__inner{max-width:1400px;margin:0 auto;width:100%}

/* sekcja bloga na stronie głównej */
.jr-page .jr-blog{box-sizing:border-box;width:100%;background-color:#ece9e6;background-size:cover;background-position:center;padding:var(--s24) var(--s6);color:#1c1a19}
.jr-page .jr-blog__inner{max-width:1400px;margin:0 auto;width:100%;display:flex;flex-direction:column;gap:var(--s10)}
.jr-page .jr-blog__head{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:var(--s8)}
.jr-page .jr-blog__titles{display:flex;flex-direction:column;gap:var(--s4);max-width:640px}
.jr-page .jr-blog__label .elementor-heading-title{font-size:11px;letter-spacing:.22em;font-weight:600;color:var(--jr-accent);line-height:normal}
.jr-page .jr-blog__h .elementor-heading-title{font-weight:800;font-size:clamp(30px,3.6vw,48px);line-height:1.1;letter-spacing:-.015em;color:#0d0c0b}
.jr-page .jr-blog__lede,.jr-page .jr-blog__lede p{font-size:17px;line-height:1.7;color:#4a4642}

@media (max-width:1000px){
  .jr-page .jr-bl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jr-page .jr-bl-more__inner{flex-direction:column;gap:var(--s8)}
  .jr-page .jr-bl-more__inner>.elementor-widget{width:100%}
}
@media (max-width:640px){
  .jr-page .jr-bl-grid,.jr-page .jr-bl-grid--n2{grid-template-columns:minmax(0,1fr)}
  .jr-page .jr-bl-article{padding:var(--s12) var(--s4) var(--s16)}
  .jr-page .jr-bl-more,.jr-page .jr-bl-list,.jr-page .jr-blog{padding-left:var(--s4);padding-right:var(--s4)}
  .jr-page .jr-bl-more{padding-top:var(--s16);padding-bottom:var(--s16)}
  .jr-page .jr-bl-p,.jr-page .jr-bl-p p{font-size:17px}
  .jr-page .jr-bl-duo{gap:var(--s2)}
  .jr-page .jr-bl-duo__i img{max-height:340px}
  .jr-page .jr-blog__head{flex-direction:column;align-items:flex-start}
  .jr-page .jr-bl-hero .jr-ph-hero__inner{padding-bottom:var(--s16)}
}

/* blog: poprawki */
body.jr-blog-post .tt-blog-post + .tt-section{display:none}
@media (min-width:1100px){
  .jr-page .e-con .jr-bl-fig.elementor-widget{--container-widget-width:calc(100% + 240px);width:calc(100% + 240px);max-width:none;margin-left:-120px;margin-right:-120px}
}

/* blog: spokojne tło papieru (bez ciemnych śladów tekstury za tekstem) */
.jr-page .jr-blog,.jr-page .jr-bl-list,.jr-page .jr-bl-article{background-image:none!important;background-color:#ece9e6}

/* blog: ukryj domyślne udostępnianie Tanka, mobile hero */
body.jr-blog-post .tt-blog-post-share,body.jr-blog-post .tt-blog-post-tags{display:none!important}
@media (max-width:900px){
  .jr-page .jr-bl-hero .jr-ph-hero__photo img{opacity:.5}
  .jr-page .jr-bl-by{font-size:11px;letter-spacing:.12em}
}

/* linkowanie wewnętrzne w treściach */
.jr-page .elementor-widget-text-editor a:not(.elementor-button){color:var(--jr-accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;transition:color .2s}
.jr-page .elementor-widget-text-editor a:not(.elementor-button):hover{color:var(--jr-accent-dim)}
.jr-page .jr-cta .elementor-widget-text-editor a{color:inherit}
