/* KCPA Stories module only. Every selector is scoped with .kcpa-stories-module to stop global/site CSS clashes. */
.kcpa-stories-module{--ks-blue:#0757d8;--ks-navy:#071b34;--ks-ink:#0b1f3d;--ks-muted:#64748b;--ks-line:#dbe7f5;--ks-gold:#ffc247;background:linear-gradient(180deg,#f6f9fd 0%,#eef4fb 100%);color:var(--ks-ink);padding:34px 0 78px;min-height:70vh}.kcpa-stories-module *{box-sizing:border-box}.ks-container{width:min(1180px,calc(100% - 32px));margin:0 auto}.ks-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);gap:24px;align-items:stretch;margin-bottom:30px}.ks-panel{background:#fff;border:1px solid var(--ks-line);border-radius:22px;box-shadow:0 18px 50px rgba(7,27,52,.08);padding:28px}.ks-panel h1{font-size:clamp(2rem,3.3vw,3.15rem);font-weight:950;letter-spacing:-.04em;line-height:1.04;margin:0 0 10px}.ks-panel p{font-size:1.03rem;line-height:1.65;color:var(--ks-muted);margin:0}.ks-action-panel{background:linear-gradient(135deg,#071b34,#0a56cf);color:#fff;border-radius:22px;box-shadow:0 18px 50px rgba(7,27,52,.14);padding:28px;display:flex;flex-direction:column;justify-content:center}.ks-action-panel h2{font-size:1.6rem;font-weight:950;letter-spacing:-.03em;margin:0 0 10px}.ks-action-panel p{color:#e7f1ff;line-height:1.65;margin:0 0 16px}.ks-button{border:0;border-radius:15px;font-weight:950;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;background:linear-gradient(135deg,#ffc247,#ffda77);color:#061b38!important;padding:.86rem 1.28rem;box-shadow:0 16px 30px rgba(255,194,71,.25);width:max-content}.ks-button-white{background:#fff;color:#071b34!important;box-shadow:none}.ks-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:26px 0 18px}.ks-section-head h2{font-size:clamp(1.65rem,2.7vw,2.4rem);font-weight:950;letter-spacing:-.04em;margin:0 0 5px}.ks-section-head p{margin:0;color:var(--ks-muted);line-height:1.55}.ks-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.ks-card{background:#fff;border:1px solid var(--ks-line);border-radius:22px;box-shadow:0 16px 44px rgba(7,27,52,.075);padding:24px;min-height:220px;display:flex;flex-direction:column;color:var(--ks-ink);text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.ks-card:hover{transform:translateY(-4px);box-shadow:0 26px 70px rgba(7,27,52,.13);border-color:#b9d4ff}.ks-card-icon{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#eaf4ff,#d6eaff);display:grid;place-items:center;color:var(--ks-blue);font-weight:950;margin-bottom:18px}.ks-card h3{font-size:1.28rem;font-weight:950;margin:0 0 10px;color:var(--ks-ink);letter-spacing:-.025em}.ks-card p{color:var(--ks-muted);line-height:1.62;margin:0}.ks-card span{margin-top:auto;color:var(--ks-blue);font-weight:950;padding-top:18px}.ks-empty{grid-column:1/-1;background:#fff;border:1px dashed #bdd0e7;border-radius:18px;padding:22px;color:var(--ks-muted);box-shadow:0 10px 28px rgba(7,27,52,.05)}.ks-form-card{max-width:860px;margin:0 auto;background:#fff;border:1px solid var(--ks-line);border-radius:22px;box-shadow:0 18px 50px rgba(7,27,52,.08);padding:30px}.ks-form-card h1{font-size:clamp(2rem,3vw,3rem);font-weight:950;margin:0 0 8px}.ks-form-card p{color:var(--ks-muted)}.ks-form-card label{font-weight:850;color:#233d5b}.ks-form-card input,.ks-form-card textarea{border-radius:15px;border:1px solid #d5dfeb;padding:.9rem 1rem}.ks-story-article{max-width:900px;margin:0 auto;background:#fff;border:1px solid var(--ks-line);border-radius:24px;box-shadow:0 18px 50px rgba(7,27,52,.08);padding:34px}.ks-story-article h1{font-size:clamp(2rem,3.4vw,3.3rem);font-weight:950;line-height:1.05;letter-spacing:-.04em}.ks-story-body{font-size:1.08rem;line-height:1.8;color:#142b4a}.ks-story-body img{max-width:100%;height:auto;border-radius:18px}.ks-login-note{font-size:.95rem!important;color:#e8f1ff!important;margin-top:12px!important}@media(max-width:900px){.ks-hero,.ks-grid{grid-template-columns:1fr 1fr}}@media(max-width:680px){.kcpa-stories-module{padding:24px 0 56px}.ks-container{width:min(100% - 24px,1180px)}.ks-hero,.ks-grid{grid-template-columns:1fr}.ks-section-head{display:block}.ks-section-head .ks-button{margin-top:14px}.ks-panel,.ks-action-panel,.ks-form-card,.ks-story-article{padding:22px}}

/* Story detail reading experience - scoped to the Stories module only */
.kcpa-stories-module.ksd-story-page{padding:0 0 80px;background:linear-gradient(180deg,#f4f8fd 0%,#edf4fb 100%);}
.kcpa-stories-module .ksd-story-hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 85% 18%,rgba(38,169,225,.65),transparent 34%),linear-gradient(135deg,#071d3e 0%,#0b4db8 55%,#17a6d8 100%);color:#fff;padding:52px 0 72px;}
.kcpa-stories-module .ksd-story-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(7,29,62,.88),rgba(7,29,62,.56)),var(--ksd-hero-image,linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,0)));background-size:cover;background-position:center;z-index:-2;}
.kcpa-stories-module .ksd-story-hero::after{content:"";position:absolute;right:-130px;bottom:-210px;width:520px;height:520px;border-radius:50%;background:rgba(255,255,255,.12);z-index:-1;}
.kcpa-stories-module .ksd-hero-inner{max-width:920px;}
.kcpa-stories-module .ksd-back-link{display:inline-flex;color:#dbeafe;text-decoration:none;font-weight:850;margin-bottom:34px;}
.kcpa-stories-module .ksd-back-link:hover{color:#fff;}
.kcpa-stories-module .ksd-kicker{margin:0 0 12px;color:#ffd05a;text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;font-weight:950;}
.kcpa-stories-module .ksd-hero-inner h1{font-size:clamp(2.5rem,5vw,5.1rem);font-weight:950;line-height:.98;letter-spacing:-.06em;margin:0 0 18px;max-width:900px;}
.kcpa-stories-module .ksd-lead{font-size:clamp(1.05rem,1.5vw,1.25rem);line-height:1.75;max-width:760px;color:#eaf4ff;margin:0 0 24px;}
.kcpa-stories-module .ksd-hero-meta{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px;}
.kcpa-stories-module .ksd-hero-meta span{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.11);border-radius:999px;padding:.55rem .82rem;color:#f8fbff;font-weight:850;font-size:.92rem;backdrop-filter:blur(8px);}
.kcpa-stories-module .ksd-hero-actions{display:flex;flex-wrap:wrap;gap:12px;}
.kcpa-stories-module .ksd-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:.85rem 1.22rem;font-weight:950;text-decoration:none;border:1px solid transparent;}
.kcpa-stories-module .ksd-btn-light{background:#fff;color:#071d3e!important;box-shadow:0 16px 34px rgba(0,0,0,.16);}
.kcpa-stories-module .ksd-btn-outline{background:rgba(255,255,255,.1);color:#fff!important;border-color:rgba(255,255,255,.32);}
.kcpa-stories-module .ksd-btn-primary{background:linear-gradient(135deg,#ffc247,#ffda77);color:#061b38!important;box-shadow:0 14px 30px rgba(255,194,71,.22);}
.kcpa-stories-module .ksd-content-shell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:28px;align-items:start;margin-top:-38px;position:relative;z-index:2;}
.kcpa-stories-module .ksd-author-card{position:sticky;top:96px;background:#fff;border:1px solid #dbe7f5;border-radius:24px;box-shadow:0 24px 70px rgba(7,27,52,.11);padding:24px;}
.kcpa-stories-module .ksd-author-avatar{width:72px;height:72px;border-radius:22px;background:linear-gradient(135deg,#eaf4ff,#d7ebff);color:#0757d8;font-weight:950;font-size:1.25rem;display:grid;place-items:center;margin-bottom:16px;overflow:hidden;}
.kcpa-stories-module .ksd-author-avatar img{width:100%;height:100%;object-fit:cover;}
.kcpa-stories-module .ksd-author-card h2{font-size:1.25rem;font-weight:950;letter-spacing:-.03em;margin:0 0 4px;color:#071d3e;}
.kcpa-stories-module .ksd-author-card p{margin:0 0 18px;color:#64748b;line-height:1.55;}
.kcpa-stories-module .ksd-author-stats{display:grid;gap:10px;border-top:1px solid #e3edf8;border-bottom:1px solid #e3edf8;padding:14px 0;margin:0 0 16px;}
.kcpa-stories-module .ksd-author-stats div{display:grid;gap:2px;}
.kcpa-stories-module .ksd-author-stats strong{font-size:.92rem;color:#071d3e;}
.kcpa-stories-module .ksd-author-stats span{font-size:.8rem;color:#64748b;font-weight:850;text-transform:uppercase;letter-spacing:.08em;}
.kcpa-stories-module .ksd-small-link{color:#0757d8;text-decoration:none;font-weight:950;}
.kcpa-stories-module .ksd-reading-card{background:#fff;border:1px solid #dbe7f5;border-radius:24px;box-shadow:0 24px 70px rgba(7,27,52,.10);padding:clamp(26px,4vw,54px);}
.kcpa-stories-module .ksd-reading-intro{border-left:4px solid #ffc247;background:#f8fbff;border-radius:0 18px 18px 0;padding:16px 18px;margin-bottom:28px;}
.kcpa-stories-module .ksd-reading-intro p{margin:0;color:#365675;line-height:1.65;font-weight:750;}
.kcpa-stories-module .ksd-story-body{max-width:780px;font-size:1.12rem;line-height:1.92;color:#17324f;}
.kcpa-stories-module .ksd-story-body p{margin:0 0 1.55rem;}
.kcpa-stories-module .ksd-story-body h2,.kcpa-stories-module .ksd-story-body h3{color:#071d3e;font-weight:950;letter-spacing:-.035em;margin:2rem 0 1rem;line-height:1.12;}
.kcpa-stories-module .ksd-story-body h2{font-size:2rem;}.kcpa-stories-module .ksd-story-body h3{font-size:1.45rem;}
.kcpa-stories-module .ksd-story-body a{color:#0757d8;font-weight:850;}.kcpa-stories-module .ksd-story-body ul,.kcpa-stories-module .ksd-story-body ol{padding-left:1.4rem;margin-bottom:1.5rem;}.kcpa-stories-module .ksd-story-body li{margin-bottom:.55rem;}
.kcpa-stories-module .ksd-after-story{margin-top:30px;display:grid;gap:28px;}
.kcpa-stories-module .ksd-story-cta{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(135deg,#071d3e,#0b62d6);color:#fff;border-radius:24px;padding:28px;box-shadow:0 24px 70px rgba(7,27,52,.12);}
.kcpa-stories-module .ksd-story-cta h2{margin:0 0 6px;font-size:clamp(1.4rem,2.5vw,2rem);font-weight:950;letter-spacing:-.04em;}.kcpa-stories-module .ksd-story-cta p{margin:0;color:#dbeafe;line-height:1.6;}
.kcpa-stories-module .ksd-section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px;}.kcpa-stories-module .ksd-section-head h2{margin:0;color:#071d3e;font-weight:950;letter-spacing:-.04em;font-size:2rem;}.kcpa-stories-module .ksd-section-head a{font-weight:950;color:#0757d8;text-decoration:none;}
.kcpa-stories-module .ksd-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}.kcpa-stories-module .ksd-related-card{background:#fff;border:1px solid #dbe7f5;border-radius:20px;padding:22px;text-decoration:none;color:#071d3e;box-shadow:0 16px 44px rgba(7,27,52,.075);transition:transform .18s ease,box-shadow .18s ease;}.kcpa-stories-module .ksd-related-card:hover{transform:translateY(-3px);box-shadow:0 24px 58px rgba(7,27,52,.12);}.kcpa-stories-module .ksd-related-card h3{margin:0 0 8px;font-weight:950;letter-spacing:-.025em;}.kcpa-stories-module .ksd-related-card p{color:#64748b;line-height:1.6;margin:0 0 16px;}.kcpa-stories-module .ksd-related-card span{font-weight:950;color:#0757d8;}
@media(max-width:920px){.kcpa-stories-module .ksd-content-shell{grid-template-columns:1fr}.kcpa-stories-module .ksd-author-card{position:static;display:grid;grid-template-columns:auto 1fr;column-gap:16px}.kcpa-stories-module .ksd-author-stats,.kcpa-stories-module .ksd-small-link{grid-column:1/-1}.kcpa-stories-module .ksd-related-grid{grid-template-columns:1fr}.kcpa-stories-module .ksd-story-cta{display:block}.kcpa-stories-module .ksd-story-cta .ksd-btn{margin-top:16px}}
@media(max-width:640px){.kcpa-stories-module .ksd-story-hero{padding:34px 0 58px}.kcpa-stories-module .ksd-hero-inner h1{font-size:2.45rem}.kcpa-stories-module .ksd-content-shell{margin-top:-26px}.kcpa-stories-module .ksd-reading-card,.kcpa-stories-module .ksd-author-card,.kcpa-stories-module .ksd-story-cta{border-radius:20px;padding:22px}.kcpa-stories-module .ksd-story-body{font-size:1.03rem;line-height:1.82}.kcpa-stories-module .ksd-section-head{display:block}.kcpa-stories-module .ksd-section-head a{display:inline-block;margin-top:8px}}

/* Story detail compact hero override - added after main story CSS to reduce hero height without changing the layout. */
.kcpa-stories-module.ksd-story-page .ksd-story-hero{
  padding:30px 0 46px;
}
.kcpa-stories-module.ksd-story-page .ksd-story-hero::after{
  width:360px;
  height:360px;
  right:-90px;
  bottom:-170px;
  opacity:.65;
}
.kcpa-stories-module.ksd-story-page .ksd-back-link{
  margin-bottom:18px;
}
.kcpa-stories-module.ksd-story-page .ksd-kicker{
  margin-bottom:8px;
}
.kcpa-stories-module.ksd-story-page .ksd-hero-inner h1{
  font-size:clamp(2.15rem,4vw,3.75rem);
  line-height:1.02;
  max-width:780px;
  margin-bottom:12px;
}
.kcpa-stories-module.ksd-story-page .ksd-lead{
  font-size:clamp(1rem,1.2vw,1.12rem);
  line-height:1.58;
  max-width:720px;
  margin-bottom:16px;
}
.kcpa-stories-module.ksd-story-page .ksd-hero-meta{
  margin-bottom:18px;
}
.kcpa-stories-module.ksd-story-page .ksd-hero-meta span{
  padding:.43rem .72rem;
  font-size:.85rem;
}
.kcpa-stories-module.ksd-story-page .ksd-btn{
  padding:.72rem 1.05rem;
}
.kcpa-stories-module.ksd-story-page .ksd-content-shell{
  margin-top:-28px;
}
@media(max-width:640px){
  .kcpa-stories-module.ksd-story-page .ksd-story-hero{
    padding:24px 0 42px;
  }
  .kcpa-stories-module.ksd-story-page .ksd-back-link{
    margin-bottom:14px;
  }
  .kcpa-stories-module.ksd-story-page .ksd-hero-inner h1{
    font-size:2.05rem;
  }
  .kcpa-stories-module.ksd-story-page .ksd-lead{
    margin-bottom:14px;
  }
}
