/* KE EDITORIAL REV01 · concise reading rhythm and matched project archive photos.
   Scope: public editorial pages only; never protected KE NEXT / workspaces. */
.ke20-public .ke-service-page,
.ke20-public .ke-home{--ke-editorial-primary:#1a3c55;--ke-editorial-text:#304e60;--ke-editorial-signal:#f9b720;}
.ke20-public .ke-service-container,
.ke20-public .ke-service-content,
.ke20-public .ke-service-article,
.ke20-public #ke-service-details,
.ke20-public .ke-journey-service-group,
.ke20-public .ke-journey-service-grid>article{min-width:0;max-width:100%;}
.ke20-public #ke-service-details :where(h2,h3,p,li,figcaption),
.ke20-public .ke-journey-services :where(h2,h3,p,a,span){overflow-wrap:break-word;hyphens:auto;}
.ke20-public #ke-service-details :where(p,li){max-width:76ch;}
.ke20-public #ke-service-details :where(h2){max-width:30ch;text-wrap:balance;}
.ke20-public #ke-service-details :where(h3){max-width:44ch;}
.ke20-public .ke-service-lead{max-width:69ch;}
.ke20-public :where(#ke-service-details,#engineering-quiz,#runway-quiz,.ke-journey-service-group){scroll-margin-top:100px;}
.ke20-public #ke-service-details .ke-editorial-visual{
  display:block;box-sizing:border-box;min-width:0;max-width:min(100%,920px);
  margin:clamp(22px,3vw,36px) 0 clamp(26px,3.8vw,44px);
  border:1px solid #d8e3e8;border-radius:8px;overflow:hidden;
  background:#edf2f5;box-shadow:0 5px 16px rgba(26,60,85,.045);
}
.ke20-public #ke-service-details .ke-editorial-visual__image{
  width:100%;height:auto;max-height:430px;object-fit:contain;
  display:block;background:#e5ecef;
}
.ke20-public #ke-service-details .ke-editorial-visual figcaption{
  padding:13px 18px;margin:0;font-size:12px;line-height:1.6;
  color:#37566b;border-top:1px solid #d8e3e8;background:#f7f9fa;
}
.ke20-public .ke-journey-group-heading{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);
  align-items:center;gap:clamp(14px,3vw,30px);margin-bottom:18px;min-width:0;
}
.ke20-public .ke-journey-group-heading>div{min-width:0;}
.ke20-public .ke-journey-group-heading h2{margin:0 0 8px!important;color:#1a3c55;line-height:1.2;}
.ke20-public .ke-journey-group-heading p{margin:0;max-width:56ch;font-size:14px;line-height:1.65;color:#405868;}
.ke20-public .ke-journey-group-heading .ke-editorial-visual--group{
  min-width:0;margin:0;border:1px solid #d5e0e7;border-radius:7px;overflow:hidden;background:#e8eef1;
}
.ke20-public .ke-journey-group-heading .ke-editorial-visual__image{
  display:block;width:100%;height:150px;object-fit:contain;background:#e6edf1;
}
.ke20-public .ke-journey-group-heading figcaption{font-size:11px;line-height:1.45;color:#3c5a6c;padding:8px 11px;background:#f6f9fa;}
.ke20-public .ke-journey-service-grid article{min-width:0;transition:background-color .15s ease;}
.ke20-public .ke-journey-service-grid article:hover{background:#f6f9fa;}
.ke20-public .ke-journey-service-grid h3{max-width:100%;text-wrap:pretty;}
.ke20-public .ke-service-intro h1{max-width:25ch;text-wrap:balance;}
.ke20-public .ke-service-cta :where(a,button),.ke20-public .ke-service-search :where(input,button){min-height:44px;}
.ke20-public a:focus-visible,.ke20-public button:focus-visible,
.ke20-public :where(input,select,textarea):focus-visible{outline:3px solid #b77706;outline-offset:3px;}
.ke20-public .ke-service-side{min-width:0;}
@media(max-width:760px){
  .ke20-public .ke-journey-group-heading{grid-template-columns:minmax(0,1fr) minmax(115px,34%);gap:14px;}
  .ke20-public .ke-journey-group-heading .ke-editorial-visual__image{height:130px;}
  .ke20-public .ke-service-intro{padding-block:18px 22px;}
  .ke20-public .ke-service-content{gap:20px;}
  .ke20-public #ke-service-details :where(h2){font-size:clamp(23px,6.2vw,29px);line-height:1.24;margin-block:30px 14px;}
  .ke20-public #ke-service-details :where(p,li){font-size:16px;line-height:1.65;}
  .ke20-public .ke-service-lead{font-size:16px;line-height:1.55;}
  .ke20-public .ke-journey-service-grid article{padding-block:14px;}
  .ke20-public .ke-journey-group-heading figcaption{font-size:10px;}
}
@media(max-width:420px){
  .ke20-public .ke-journey-group-heading{grid-template-columns:1fr;}
  .ke20-public .ke-journey-group-heading .ke-editorial-visual--group{max-width:100%;}
  .ke20-public .ke-journey-group-heading .ke-editorial-visual__image{height:160px;}
  .ke20-public .ke-service-intro h1{font-size:clamp(27px,8vw,35px);}
  .ke20-public .ke-service-cta{flex-wrap:wrap;}
  .ke20-public .ke-service-cta a{max-width:100%;white-space:normal;text-align:center;}
  .ke20-public #ke-service-details .ke-editorial-visual figcaption{padding:11px 13px;}
}
@media(prefers-reduced-motion:reduce){
  .ke20-public .ke-journey-service-grid article{transition:none;}
}
