:root{--kkb-csr-accent:#009dcc;--kkb-csr-surface:#f6fbfd;--kkb-csr-text:#111;--kkb-csr-radius:16px;--kkb-csr-gallery-columns:4}
.kkb-csr-page{width:min(1240px,calc(100% - 32px));margin:32px auto 72px;color:var(--kkb-csr-text)}
.kkb-csr-kicker{display:block;margin-bottom:8px;color:var(--kkb-csr-accent);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.kkb-csr-hero{padding:38px 42px;border-radius:calc(var(--kkb-csr-radius) + 8px);background:var(--kkb-csr-surface)}
.kkb-csr-hero h1{max-width:760px;margin:0;font-size:clamp(42px,6vw,72px);line-height:1;letter-spacing:-.045em}
.kkb-csr-hero p{max-width:820px;margin:18px 0 0;color:#5e7079;font-size:17px;line-height:1.75}
.kkb-csr-impact,.kkb-csr-projects{margin-top:56px}.kkb-csr-section-heading{max-width:820px;margin-bottom:24px}.kkb-csr-section-heading h2{margin:0;font-size:clamp(30px,4vw,46px);line-height:1.05;letter-spacing:-.035em}.kkb-csr-section-heading p{margin:10px 0 0;color:#687982;font-size:15px;line-height:1.7}
.kkb-csr-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.kkb-csr-stat{display:flex;min-height:150px;flex-direction:column;justify-content:center;padding:22px;border:1px solid rgba(0,85,115,.10);border-radius:var(--kkb-csr-radius);background:#fff;box-shadow:0 10px 24px rgba(20,70,90,.05)}.kkb-csr-stat strong{color:var(--kkb-csr-accent);font-size:clamp(28px,4vw,42px);line-height:1}.kkb-csr-stat span{margin-top:10px;font-size:14px;font-weight:700;line-height:1.45}.kkb-csr-stat small{margin-top:5px;color:#819097}
.kkb-csr-project-list{display:grid;gap:26px}.kkb-csr-project{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:24px;overflow:hidden;padding:22px;border:1px solid rgba(0,80,110,.11);border-radius:calc(var(--kkb-csr-radius) + 4px);background:#fff;box-shadow:0 10px 28px rgba(20,70,90,.05)}.kkb-csr-project.is-reversed .kkb-csr-project__image{order:2}.kkb-csr-project.is-reversed .kkb-csr-project__content{order:1}.kkb-csr-project__image{overflow:hidden;min-height:320px;border-radius:var(--kkb-csr-radius);background:#edf6f9}.kkb-csr-project__image img{display:block;width:100%;height:100%;object-fit:cover}.kkb-csr-project__content{align-self:center;padding:8px}.kkb-csr-project__meta{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:11px}.kkb-csr-project__meta span{padding:6px 9px;border-radius:999px;background:#edf8fb;color:#2e5f72;font-size:11px;font-weight:800}.kkb-csr-project__content h3{margin:0;font-size:clamp(24px,3vw,36px);line-height:1.08;letter-spacing:-.025em}.kkb-csr-project__amount{display:inline-flex;margin-top:12px;padding:7px 10px;border-radius:9px;background:#fff5c7;color:#3b3200;font-size:13px;font-weight:800}.kkb-csr-project__summary{margin:15px 0 0;color:#40545d;font-size:15px;line-height:1.7}.kkb-csr-project__story{margin-top:15px;color:#607179;font-size:14px;line-height:1.75}.kkb-csr-project__story p{margin:0 0 12px}.kkb-csr-project__gallery{grid-column:1/-1;padding-top:4px}
.kkb-csr-gallery{display:grid;grid-template-columns:repeat(var(--kkb-csr-gallery-columns),minmax(0,1fr));gap:10px}.kkb-csr-gallery__item{overflow:hidden;aspect-ratio:1/1;border-radius:12px;background:#edf4f6}.kkb-csr-gallery__item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.kkb-csr-gallery__item:hover img{transform:scale(1.03)}
.kkb-csr-cta{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-top:54px;padding:30px 34px;border-radius:calc(var(--kkb-csr-radius) + 6px);background:var(--kkb-csr-surface)}.kkb-csr-cta h2{margin:0;font-size:clamp(26px,3.4vw,40px);line-height:1.08}.kkb-csr-cta p{max-width:720px;margin:10px 0 0;color:#607179;line-height:1.65}.kkb-csr-cta a{display:inline-flex;flex:0 0 auto;padding:12px 18px;border-radius:999px;background:var(--kkb-csr-accent);color:#fff;font-size:13px;font-weight:800;text-decoration:none}
@media(max-width:920px){.kkb-csr-stats{grid-template-columns:1fr 1fr}.kkb-csr-project{grid-template-columns:1fr}.kkb-csr-project.is-reversed .kkb-csr-project__image,.kkb-csr-project.is-reversed .kkb-csr-project__content{order:initial}.kkb-csr-project__image{min-height:280px}.kkb-csr-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.kkb-csr-page{width:min(100% - 18px,1240px);margin-top:16px}.kkb-csr-hero{padding:24px 20px}.kkb-csr-hero h1{font-size:40px}.kkb-csr-stats{grid-template-columns:1fr}.kkb-csr-project{padding:14px}.kkb-csr-project__image{min-height:220px}.kkb-csr-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.kkb-csr-cta{align-items:flex-start;flex-direction:column;padding:22px 20px}}


/* v1.1.0 — original CSR page is the source of truth */
.kkb-csr-page--original{
  margin-top:28px;
}

.kkb-csr-original-page{
  width:100%;
}

.kkb-csr-original-page__header{
  margin-bottom:26px;
  padding:30px 34px;
  border-radius:calc(var(--kkb-csr-radius) + 6px);
  background:var(--kkb-csr-surface);
}

.kkb-csr-original-page__header h1{
  margin:0;
  font-size:clamp(38px,5vw,62px);
  line-height:1;
  letter-spacing:-.04em;
}

.kkb-csr-original-content{
  width:100%;
  color:#344851;
  font-size:15px;
  line-height:1.75;
}

.kkb-csr-original-content::after{
  content:"";
  display:table;
  clear:both;
}

.kkb-csr-original-content > *{
  max-width:100%;
}

.kkb-csr-original-content p,
.kkb-csr-original-content ul,
.kkb-csr-original-content ol,
.kkb-csr-original-content blockquote{
  max-width:920px;
}

.kkb-csr-original-content h1,
.kkb-csr-original-content h2,
.kkb-csr-original-content h3,
.kkb-csr-original-content h4,
.kkb-csr-original-content h5,
.kkb-csr-original-content h6{
  color:var(--kkb-csr-text);
  line-height:1.15;
  letter-spacing:-.02em;
}

.kkb-csr-original-content h2,
.kkb-csr-original-content h3{
  margin-top:30px;
}

.kkb-csr-original-content img{
  max-width:100%;
  height:auto;
  border-radius:10px;
}

.kkb-csr-original-content a img{
  transition:transform .18s ease, box-shadow .18s ease;
}

.kkb-csr-original-content a:hover img{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(20,70,90,.10);
}

.kkb-csr-original-content figure{
  max-width:100%;
  margin-top:14px;
  margin-bottom:14px;
}

.kkb-csr-original-content .wp-caption{
  max-width:100%!important;
}

.kkb-csr-original-content .wp-caption-text,
.kkb-csr-original-content figcaption{
  color:#76868d;
  font-size:12px;
  line-height:1.5;
}

/* Old WordPress galleries automatically become a modern responsive gallery,
   without changing or re-uploading any existing image. */
.kkb-csr-original-content .gallery,
.kkb-csr-original-content .wp-block-gallery,
.kkb-csr-original-content ul.blocks-gallery-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  margin:20px 0!important;
}

.kkb-csr-original-content .gallery-item,
.kkb-csr-original-content .blocks-gallery-item,
.kkb-csr-original-content .wp-block-image{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

.kkb-csr-original-content .gallery img,
.kkb-csr-original-content .wp-block-gallery img,
.kkb-csr-original-content .blocks-gallery-grid img{
  display:block;
  width:100%!important;
  height:100%!important;
  aspect-ratio:1/1;
  object-fit:cover;
  border:0!important;
}

/* If the old page simply contains a run of individually inserted images,
   keep them fully visible and remove the tiny legacy sizing constraints. */
.kkb-csr-original-content img[width],
.kkb-csr-original-content img[height]{
  max-width:100%;
}

.kkb-csr-source-option{
  display:flex;
  gap:9px;
  align-items:flex-start;
  margin:8px 0;
  padding:10px 11px;
  border:1px solid #dfe7eb;
  border-radius:9px;
  background:#fbfdfe;
}

.kkb-csr-source-option input{
  margin-top:3px;
}

.kkb-csr-source-option span{
  display:grid;
  gap:3px;
}

.kkb-csr-source-option small{
  color:#65767e;
  line-height:1.4;
}

@media(max-width:900px){
  .kkb-csr-original-content .gallery,
  .kkb-csr-original-content .wp-block-gallery,
  .kkb-csr-original-content ul.blocks-gallery-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media(max-width:640px){
  .kkb-csr-original-content{
    font-size:14px;
  }

  .kkb-csr-original-content .gallery,
  .kkb-csr-original-content .wp-block-gallery,
  .kkb-csr-original-content ul.blocks-gallery-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
}


/* v1.2.0 — preserve original CSR content but visibly modernize its presentation */
.kkb-csr-legacy-hero{
  padding:36px 40px;
  margin-bottom:34px;
  border-radius:calc(var(--kkb-csr-radius) + 8px);
  background:linear-gradient(135deg,var(--kkb-csr-surface),#fff);
  border:1px solid rgba(0,110,150,.08);
}
.kkb-csr-legacy-hero h1{
  margin:0;
  font-size:clamp(42px,6vw,70px);
  line-height:.98;
  letter-spacing:-.045em;
}
.kkb-csr-auto-impact-slot:empty{display:none}
.kkb-csr-auto-impact{margin:0 0 46px}
.kkb-csr-auto-impact-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.kkb-csr-auto-impact-card{
  display:flex;
  min-height:135px;
  flex-direction:column;
  justify-content:center;
  padding:22px;
  border:1px solid rgba(0,85,115,.11);
  border-radius:var(--kkb-csr-radius);
  background:#fff;
  box-shadow:0 12px 26px rgba(20,70,90,.06);
}
.kkb-csr-auto-impact-card strong{
  color:var(--kkb-csr-accent);
  font-size:clamp(27px,3.5vw,40px);
  line-height:1;
}
.kkb-csr-auto-impact-card span{
  margin-top:9px;
  color:#1d2b31;
  font-size:13px;
  font-weight:800;
  line-height:1.4;
}
.kkb-csr-auto-impact-card small{margin-top:5px;color:#788990}

.kkb-csr-original-content.is-enhanced{
  max-width:none;
  font-size:15px;
  line-height:1.78;
}
.kkb-csr-auto-intro{
  max-width:none;
  margin:0 0 42px;
  padding:28px 32px;
  border-left:4px solid var(--kkb-csr-accent);
  border-radius:0 var(--kkb-csr-radius) var(--kkb-csr-radius) 0;
  background:var(--kkb-csr-surface);
  box-shadow:0 8px 20px rgba(20,70,90,.035);
}
.kkb-csr-auto-intro > :first-child{margin-top:0}
.kkb-csr-auto-intro > :last-child{margin-bottom:0}
.kkb-csr-auto-section-title{
  display:block!important;
  max-width:none!important;
  margin:46px 0 22px!important;
  padding:0 0 12px!important;
  border-bottom:1px solid rgba(0,90,120,.13);
  color:var(--kkb-csr-text)!important;
  font-size:clamp(26px,3.5vw,38px)!important;
  font-weight:900!important;
  line-height:1.1!important;
  letter-spacing:-.03em!important;
}
.kkb-csr-auto-story-title{
  max-width:none!important;
  margin:34px 0 14px!important;
  padding:16px 18px!important;
  border-radius:12px;
  background:#f8fbfc;
  color:#172b34!important;
  font-size:16px!important;
  font-weight:850!important;
  line-height:1.55!important;
}
.kkb-csr-auto-gallery{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:18px 0 36px!important;
}
.kkb-csr-auto-gallery > *{
  float:none!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
}
.kkb-csr-auto-gallery img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:180px;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  border:0!important;
  border-radius:12px!important;
  box-shadow:0 8px 18px rgba(20,70,90,.07);
}
.kkb-csr-auto-feature-image{
  width:min(100%,640px);
  margin:18px 0 32px;
}
.kkb-csr-auto-feature-image > *{margin:0!important;width:100%!important;max-width:none!important}
.kkb-csr-auto-feature-image img{width:100%!important;height:auto!important;border-radius:14px!important}
.kkb-csr-auto-cta-line{
  max-width:none!important;
  margin:42px 0 0!important;
  padding:24px 28px!important;
  border-radius:var(--kkb-csr-radius);
  background:var(--kkb-csr-surface);
  color:#31474f;
  font-weight:700;
}

@media(max-width:900px){
  .kkb-csr-auto-impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kkb-csr-auto-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:640px){
  .kkb-csr-legacy-hero{padding:25px 20px;margin-bottom:22px}
  .kkb-csr-legacy-hero h1{font-size:42px}
  .kkb-csr-auto-impact-grid{grid-template-columns:1fr}
  .kkb-csr-auto-intro{padding:20px 18px;margin-bottom:28px}
  .kkb-csr-auto-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .kkb-csr-auto-gallery img{min-height:125px}
}
