/* KUSAK — wspólny styl podstron */
body .kk-page{width:100%;overflow:hidden;background:#f6f1e9;color:#1b292f;font-family:'Manrope',Arial,sans-serif}
body .kk-shell{width:min(calc(100% - 80px),1320px);margin-inline:auto}
body .kk-subhero,body .kk-knowledge-hero{position:relative;padding:74px 0 70px;background:
radial-gradient(circle at 82% 15%,rgba(57,103,137,.14),transparent 34%),
linear-gradient(110deg,#153039 0%,#1b363d 60%,#244138 100%);color:#fff;overflow:hidden}
body .kk-subhero:after,body .kk-knowledge-hero:after{content:"";position:absolute;right:-90px;bottom:-140px;width:420px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(232,205,166,.13),transparent 68%);pointer-events:none}
body .kk-subhero__grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:70px;align-items:end}
body .kk-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:24px;font-size:11.5px;line-height:1.4;color:rgba(255,255,255,.68)}
body .kk-breadcrumbs a{color:rgba(255,255,255,.78);text-decoration:none}
body .kk-eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:16px;font-size:11px;line-height:1;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:#a67849}
body .kk-eyebrow--light{color:#e6cba4}
body .kk-eyebrow__line{display:block;width:28px;height:1px;background:currentColor;flex:0 0 28px}
body .kk-display{font-family:'Cormorant Garamond',Georgia,serif;font-size:58px;line-height:.98;font-weight:500;letter-spacing:-.025em;color:#fff;max-width:900px}
body .kk-subhero__meta{max-width:440px;padding:0 0 8px;font-size:16px;line-height:1.55;color:rgba(255,255,255,.82)}
body .kk-lead{max-width:760px;margin-top:20px;font-size:17px;line-height:1.62;color:rgba(255,255,255,.82)}

body .kk-section{padding:72px 0;background:#f6f1e9}
body .kk-section:nth-of-type(even){background:#fffdf9}
body .kk-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:58px;align-items:start}
body .kk-copy{display:flex;flex-direction:column;gap:20px}
body .kk-copy p,body .kk-body{font-family:'Manrope',Arial,sans-serif;font-size:16px;line-height:1.78;color:#4c595f}
body .kk-h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:44px;line-height:1.02;font-weight:500;letter-spacing:-.02em;color:#243b44}
body .kk-h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:30px;line-height:1.05;font-weight:500;color:#243b44}
body .kk-rule{height:1px;background:#dfd7cc;margin:10px 0 4px}

body .kk-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;min-height:52px!important;padding:0 22px!important;border:0!important;border-radius:12px!important;background:#e8cda6!important;color:#16303a!important;font-family:'Manrope',Arial,sans-serif!important;font-size:13px!important;line-height:1!important;font-weight:700!important;text-decoration:none!important;box-shadow:0 10px 24px rgba(74,54,29,.08)!important;transition:transform .2s ease,background .2s ease,box-shadow .2s ease!important}
body .kk-btn:hover{background:#dfbd8d!important;color:#10262f!important;transform:translateY(-2px);box-shadow:0 14px 30px rgba(74,54,29,.12)!important}
body .kk-page-cta{margin-top:24px!important}

body .kk-sidebar-card,body .kk-contact-panel,body .kk-callout{padding:32px!important;border:0!important;border-radius:18px!important;background:#fffaf3!important;box-shadow:0 16px 42px rgba(43,35,24,.07)!important}
body .kk-callout__label{margin-bottom:12px;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:#a67849}
body .kk-sidebar-card__title,body .kk-callout__text{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:31px!important;line-height:1.06!important;font-weight:500!important;color:#263b43!important}

body .kk-subnav{background:#fffdf9;border-bottom:1px solid #e7e0d6}
body .kk-subnav__inner{width:min(calc(100% - 80px),1320px);margin:0 auto;display:flex;align-items:center;gap:8px;overflow-x:auto;padding:14px 0}
body .kk-subnav__link{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:999px;background:#f2e8da;color:#35474e;text-decoration:none;font-size:11.5px;line-height:1;font-weight:650;white-space:nowrap}
body .kk-subnav__link:hover{background:#e8cda6;color:#18323b}

body .kk-service-list{display:grid;grid-template-columns:1fr;gap:12px;margin:10px 0 6px}
body .kk-service-item{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:72px!important;padding:18px 20px!important;border:0!important;border-radius:14px!important;background:#fffdf9!important;box-shadow:0 8px 22px rgba(43,35,24,.045)!important}
body .kk-service-item__title{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:26px!important;line-height:1.05!important;font-weight:500!important;color:#28404a!important}
body .kk-service-item>span:last-child{font-size:11px!important;font-weight:700!important;color:#a67849!important;letter-spacing:.12em!important}

body .kk-practice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px;background:transparent!important}
body .kk-practice-list__item{min-height:104px!important;padding:22px!important;border-radius:15px!important;background:#fffdf9!important;color:#213740!important;text-decoration:none!important;box-shadow:0 9px 24px rgba(43,35,24,.05)!important}
body .kk-practice-list__title{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:27px!important;line-height:1.04!important;font-weight:500!important}
body .kk-practice-list__item:hover{background:#f1e5d4!important}

body .kk-practice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body .kk-practice-card,body .kk-topic-card{min-height:180px!important;padding:24px!important;border:0!important;border-radius:17px!important;background:#fffdf9!important;color:#213740!important;text-decoration:none!important;box-shadow:0 12px 30px rgba(43,35,24,.055)!important;transition:transform .2s ease,box-shadow .2s ease!important}
body .kk-practice-card:hover,body .kk-topic-card:hover{transform:translateY(-3px);box-shadow:0 17px 38px rgba(43,35,24,.08)!important}
body .kk-practice-card__title,body .kk-topic-card__title{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:28px!important;line-height:1.03!important;font-weight:500!important;color:#263d46!important}
body .kk-practice-card__arrow{font-size:22px;color:#a67849}

body .kk-person-hero{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);gap:56px;align-items:start}
body .kk-person-portrait{overflow:hidden;border-radius:20px;box-shadow:0 18px 42px rgba(43,35,24,.08)}
body .kk-person-portrait img{display:block;width:100%;height:auto;object-fit:cover}
body .kk-person-copy{padding-top:8px}

body .kk-clients-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body .kk-client-card{min-height:150px;padding:24px;border-radius:16px;background:#fffdf9;display:grid;place-items:center;box-shadow:0 10px 26px rgba(43,35,24,.05)}
body .kk-client-card img{max-width:180px;max-height:78px;object-fit:contain}

body .kk-knowledge-intro{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:end;margin-bottom:30px}
body .kk-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}

body .kk-contact-main{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
body .kk-contact-stack{border-radius:18px;background:#fffdf9;box-shadow:0 12px 30px rgba(43,35,24,.05);overflow:hidden}
body .kk-contact-line{display:grid;grid-template-columns:150px 1fr;gap:24px;padding:24px 28px;border-bottom:1px solid #e8e0d5}
body .kk-contact-line:last-child{border-bottom:0}
body .kk-contact-line__label{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#a67849}
body .kk-contact-line__value{font-size:16px;line-height:1.55;color:#2b3e46}
body .kk-contact-line__value a{color:#2b3e46;text-decoration:none}

body .kk-header{background:rgba(255,253,249,.96)!important;border-bottom:1px solid #e9e1d6!important;backdrop-filter:blur(14px)}
body .kk-header__inner{width:min(calc(100% - 80px),1320px)!important;margin-inline:auto!important}
body .kk-nav__link{font-size:13px!important;font-weight:650!important;color:#243840!important}
body .kk-lang{font-size:12px!important;color:#536067!important}
body .kk-footer{background:#183035!important;color:#fff!important}
body .kk-footer__title{color:#e8cda6!important}
body .kk-footer__link{color:rgba(255,255,255,.78)!important;text-decoration:none!important}

@media(max-width:1023px){
body .kk-shell,body .kk-subnav__inner,body .kk-header__inner{width:calc(100% - 40px)!important}
body .kk-subhero__grid{grid-template-columns:1fr;gap:24px}
body .kk-content-grid{grid-template-columns:1fr;gap:34px}
body .kk-practice-grid,body .kk-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body .kk-person-hero{grid-template-columns:1fr;gap:34px}
body .kk-person-portrait{max-width:620px}
body .kk-clients-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body .kk-contact-main{grid-template-columns:1fr}
}
@media(max-width:767px){
body .kk-shell,body .kk-subnav__inner,body .kk-header__inner{width:calc(100% - 30px)!important}
body .kk-subhero,body .kk-knowledge-hero{padding:54px 0 50px}
body .kk-display{font-size:44px}
body .kk-subhero__meta{font-size:15px}
body .kk-section{padding:54px 0}
body .kk-h2{font-size:38px}
body .kk-copy p,body .kk-body{font-size:15px;line-height:1.72}
body .kk-sidebar-card,body .kk-contact-panel,body .kk-callout{padding:25px!important}
body .kk-practice-list,body .kk-practice-grid,body .kk-topic-grid,body .kk-clients-grid{grid-template-columns:1fr}
body .kk-practice-card,body .kk-topic-card{min-height:150px!important}
body .kk-knowledge-intro{grid-template-columns:1fr;gap:20px}
body .kk-contact-line{grid-template-columns:1fr;gap:7px;padding:20px 22px}
body .kk-btn{width:100%!important}
}


/* 2026-09-27 — większa czytelność podstron i subnawigacji */
body .kk-subnav__inner{
  width:min(calc(100% - 80px),1320px);
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:12px;
  overflow-x:auto;
  padding:18px 0;
}
body .kk-subnav__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  border-radius:999px;
  background:#f2e8da;
  color:#35474e;
  text-decoration:none;
  font-size:15px;
  line-height:1;
  font-weight:700;
  white-space:nowrap;
  box-shadow:0 6px 18px rgba(43,35,24,.05);
}
body .kk-subnav__link:hover{
  background:#e8cda6;
  color:#18323b;
}
body .kk-copy p,
body .kk-body{
  font-size:17px;
  line-height:1.82;
  color:#4c595f;
}
body .kk-display{
  font-size:62px;
}
body .kk-subhero__meta{
  font-size:18px;
  line-height:1.6;
}
body .kk-h2{
  font-size:48px;
}
body .kk-h3{
  font-size:32px;
}
body .kk-btn{
  min-height:56px!important;
  padding:0 24px!important;
  font-size:14px!important;
}
@media(max-width:767px){
  body .kk-subnav__inner{
    width:calc(100% - 30px);
    gap:10px;
    padding:14px 0;
  }
  body .kk-subnav__link{
    min-height:46px;
    padding:0 18px;
    font-size:14px;
  }
  body .kk-copy p,
  body .kk-body{
    font-size:16px;
    line-height:1.75;
  }
  body .kk-display{
    font-size:46px;
  }
  body .kk-subhero__meta{
    font-size:16px;
  }
  body .kk-h2{
    font-size:40px;
  }
}


/* 2026-09-28 — kontakt: większa czytelność danych i formularza kontaktowego */
body.page-id-16 .kk-section{
  padding:78px 0 86px;
}
body.page-id-16 .kk-contact-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,.88fr);
  gap:34px;
  align-items:stretch;
}
body.page-id-16 .kk-contact-stack{
  border-radius:20px;
  background:#fffdf9;
  box-shadow:0 14px 36px rgba(43,35,24,.06);
  overflow:hidden;
}
body.page-id-16 .kk-contact-line{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:30px;
  align-items:center;
  min-height:118px;
  padding:26px 30px;
  border-bottom:1px solid #e7ded2;
}
body.page-id-16 .kk-contact-line:last-child{
  border-bottom:0;
}
body.page-id-16 .kk-contact-line__label{
  font-family:'Manrope',Arial,sans-serif;
  font-size:13px;
  line-height:1.2;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-weight:800;
  color:#9b7043;
}
body.page-id-16 .kk-contact-line__value{
  font-family:'Manrope',Arial,sans-serif;
  font-size:20px;
  line-height:1.5;
  font-weight:600;
  color:#243940;
}
body.page-id-16 .kk-contact-line__value a{
  color:#243940;
  text-decoration:none;
  font-size:20px;
  font-weight:700;
  word-break:break-word;
}
body.page-id-16 .kk-contact-line__value a:hover{
  color:#396789;
}
body.page-id-16 .kk-contact-panel{
  padding:42px 40px!important;
  border-radius:20px!important;
  background:#ead8be!important;
  box-shadow:0 14px 36px rgba(43,35,24,.07)!important;
}
body.page-id-16 .kk-contact-panel .kk-eyebrow{
  margin-bottom:18px;
  color:#9b7043;
  font-size:12px;
}
body.page-id-16 .kk-contact-panel .kk-h2{
  max-width:520px;
  font-size:50px;
  line-height:1;
  color:#263b43;
}
body.page-id-16 .kk-contact-panel .kk-body{
  margin-top:20px;
  max-width:560px;
  font-size:17px;
  line-height:1.72;
  color:#4d5b61;
}
body.page-id-16 .kk-contact-panel .kk-btn{
  margin-top:28px!important;
  min-height:58px!important;
  padding:0 26px!important;
  border-radius:13px!important;
  background:#1c3b45!important;
  color:#fff!important;
  font-size:15px!important;
  box-shadow:none!important;
}
body.page-id-16 .kk-contact-panel .kk-btn:hover{
  background:#2d5663!important;
  color:#fff!important;
}
@media(max-width:1023px){
  body.page-id-16 .kk-contact-main{
    grid-template-columns:1fr;
  }
}
@media(max-width:767px){
  body.page-id-16 .kk-section{
    padding:54px 0 60px;
  }
  body.page-id-16 .kk-contact-line{
    grid-template-columns:1fr;
    gap:9px;
    min-height:auto;
    padding:22px 22px;
  }
  body.page-id-16 .kk-contact-line__label{
    font-size:12px;
  }
  body.page-id-16 .kk-contact-line__value,
  body.page-id-16 .kk-contact-line__value a{
    font-size:18px;
  }
  body.page-id-16 .kk-contact-panel{
    padding:30px 24px!important;
  }
  body.page-id-16 .kk-contact-panel .kk-h2{
    font-size:40px;
  }
  body.page-id-16 .kk-contact-panel .kk-body{
    font-size:16px;
  }
}


/* 2026-09-28 — oddech między pionową linią a tekstem w hero podstron */
body .kk-subhero__meta{
  padding-left:28px!important;
  padding-right:0!important;
  padding-bottom:8px!important;
}
@media(max-width:767px){
  body .kk-subhero__meta{
    padding-left:20px!important;
  }
}


/* 2026-09-28 — Paweł Kusak: dopasowanie ramki zdjęcia do rzeczywistej wysokości fotografii */
body.page-id-12 .kk-person-portrait,
body.page-id-101 .kk-person-portrait{
  aspect-ratio:auto!important;
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
  background:transparent!important;
  padding:0!important;
  display:block!important;
}
body.page-id-12 .kk-person-portrait img,
body.page-id-101 .kk-person-portrait img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  border-radius:20px!important;
}


/* 2026-09-29 — Klienci: typograficzne karty zamiast starych logo */
body.page-id-14 .kk-clients-grid,
body.page-id-103 .kk-clients-grid{
  counter-reset:kkclient;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px
}
body.page-id-14 .kk-client-card,
body.page-id-103 .kk-client-card{
  counter-increment:kkclient;
  position:relative;
  min-height:190px;
  padding:34px 34px 30px;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
  overflow:hidden;
  border:1px solid #e7ddcf;
  border-radius:18px;
  background:linear-gradient(145deg,#fffdf9 0%,#f2e7d8 100%);
  box-shadow:0 14px 34px rgba(43,35,24,.055)
}
body.page-id-14 .kk-client-card:before,
body.page-id-103 .kk-client-card:before{
  content:"0" counter(kkclient);
  position:absolute;
  top:24px;
  left:30px;
  color:#a47d51;
  font-family:'Manrope',Arial,sans-serif;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em
}
body.page-id-14 .kk-client-card:after,
body.page-id-103 .kk-client-card:after{
  content:"";
  position:absolute;
  right:-50px;
  top:-60px;
  width:170px;
  height:170px;
  border-radius:50%;
  background:rgba(57,103,137,.065)
}
body.page-id-14 .kk-client-card [data-client-name],
body.page-id-103 .kk-client-card [data-client-name]{
  position:relative;
  z-index:2;
  max-width:90%;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:34px;
  line-height:1.04;
  font-weight:600;
  color:#263b43
}
@media(max-width:767px){
  body.page-id-14 .kk-clients-grid,
  body.page-id-103 .kk-clients-grid{grid-template-columns:1fr}
  body.page-id-14 .kk-client-card,
  body.page-id-103 .kk-client-card{min-height:145px;padding:30px 24px 24px}
  body.page-id-14 .kk-client-card [data-client-name],
  body.page-id-103 .kk-client-card [data-client-name]{font-size:29px}
}
