.kapcq-history{--history-point:#8f2949;--history-ink:#13221c;--history-muted:#6c746f;--history-line:#dfe3e0;color:var(--history-ink);font-family:inherit}.kapcq-history *{box-sizing:border-box}.kapcq-history-tabs{position:sticky;z-index:20;top:72px;display:flex;border-bottom:1px solid var(--history-line);background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}.kapcq-history-tabs button{position:relative;padding:22px 28px;border:0;background:transparent;color:#777;font:inherit;font-size:15px;font-weight:500;cursor:pointer}.kapcq-history-tabs button::after{position:absolute;height:2px;right:50%;bottom:-1px;left:50%;content:"";background:var(--history-point);transition:left .2s ease,right .2s ease}.kapcq-history-tabs button.is-active{color:var(--history-ink)}.kapcq-history-tabs button.is-active::after{right:0;left:0}.kapcq-history-tabs button:focus-visible{outline:2px solid var(--history-point);outline-offset:-4px}.kapcq-history-panel[hidden]{display:none!important}.kapcq-history-heading{display:grid;max-width:820px;gap:14px;padding:clamp(60px,9vw,120px) 0 clamp(42px,6vw,76px)}.kapcq-history-heading p{margin:0;color:var(--history-point);font-size:12px;font-weight:800;letter-spacing:.22em}.kapcq-history-heading h2{margin:0;font-size:clamp(38px,5vw,68px);font-weight:600;line-height:1.12;letter-spacing:-.055em}.kapcq-history-heading span{color:var(--history-muted);font-size:17px;line-height:1.75}.kapcq-history-timeline{position:relative;border-top:1px solid var(--history-line)}.kapcq-history-event{display:grid;grid-template-columns:180px minmax(0,1fr);gap:36px;padding:25px 0;border-bottom:1px solid var(--history-line)}.kapcq-history-event time{color:var(--history-point);font-family:Georgia,serif;font-size:20px;font-weight:700}.kapcq-history-event h3{margin:0;font-size:17px;font-weight:600;line-height:1.55;letter-spacing:-.02em}.kapcq-history-event p{margin:4px 0 0;color:var(--history-muted);font-family:Arial,sans-serif;font-size:14px;line-height:1.45}.kapcq-history-stories{display:grid;gap:0}.kapcq-history-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:480px;border-top:1px solid var(--history-line)}.kapcq-history-story:nth-child(even) .kapcq-history-story__image{order:2}.kapcq-history-story__image{display:grid;min-height:420px;background-color:#d9e9e8;background-position:center;background-size:cover;place-items:center;overflow:hidden}.kapcq-history-story__image span{color:rgba(255,255,255,.82);font-family:Georgia,serif;font-size:clamp(110px,17vw,240px);line-height:1}.kapcq-history-story:nth-child(2n) .kapcq-history-story__image{background-color:#d8d2e6}.kapcq-history-story:nth-child(3n) .kapcq-history-story__image{background-color:#d9e2c9}.kapcq-history-story__copy{display:flex;justify-content:flex-start;flex-direction:column;padding:40px 10px 10px}.kapcq-history-story__copy h3{margin:0 0 25px;font-size:clamp(28px,3.2vw,46px);font-weight:600;line-height:1.25;letter-spacing:-.045em;word-break:keep-all}.kapcq-history-story__copy>div{color:var(--history-muted);font-size:16px;line-height:1.85;word-break:keep-all}.kapcq-history-admin{margin:40px 0 70px;padding:20px 22px;border:1px dashed var(--history-point);background:#fff8fa}.kapcq-history-admin strong{color:var(--history-point)}.kapcq-history-admin p{margin:7px 0 0;font-size:13px;line-height:1.6}.kapcq-history-admin code{padding:2px 5px;background:#f1e5e9}
@media(max-width:800px){.kapcq-history-tabs{top:68px;overflow-x:auto}.kapcq-history-tabs button{flex:1 0 auto;padding:18px 24px}.kapcq-history-heading{padding:48px 0 35px}.kapcq-history-event{grid-template-columns:1fr;gap:8px;padding:21px 0}.kapcq-history-event time{font-size:17px}.kapcq-history-event h3{font-size:15px}.kapcq-history-event p{font-size:13px}.kapcq-history-story{grid-template-columns:1fr;min-height:0}.kapcq-history-story:nth-child(even) .kapcq-history-story__image{order:0}.kapcq-history-story__image{min-height:62vw}.kapcq-history-story__copy{padding:40px 10px 10px}.kapcq-history-story__copy>div{font-size:15px}}

/* Keep the local history tabs below the shared sticky third-level menu. */
.kapcq-history-navigation > .kapcq-history > .kapcq-history-tabs {
	position: relative;
	top: auto;
}

#history-story > .kapcq-history-heading{max-width:none}
#history-story > .kapcq-history-heading > span{width:100%;min-width:0}

/* Brand blue headings with neutral story descriptions. */
#history-story > .kapcq-history-heading > p,
#history-story > .kapcq-history-heading > h2,
#history-story .kapcq-history-story__copy > h3 {
	color: var(--kapcq-blue, #1d4882);
}
#history-story > .kapcq-history-heading > span,
#history-story .kapcq-history-story__copy > div {
	color: #30343a;
}

/* Full-viewport row backgrounds without widening timeline or story content
 * or introducing horizontal scrolling from viewport-sized elements. */
.kapcq-history-timeline > .kapcq-history-event,
.kapcq-history-stories > .kapcq-history-story {
	--history-row-background: #fff;
	position: relative;
	isolation: isolate;
}
.kapcq-history-timeline > .kapcq-history-event:nth-child(odd),
.kapcq-history-stories > .kapcq-history-story:nth-child(odd) {
	--history-row-background: var(--kapcq-soft-blue, #f2f6fa);
}
.kapcq-history-timeline > .kapcq-history-event::before,
.kapcq-history-stories > .kapcq-history-story::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	content: "";
	background: var(--history-row-background);
	box-shadow: 0 0 0 100vmax var(--history-row-background);
	clip-path: inset(0 -100vmax);
	pointer-events: none;
}

/* Keep 40px between each story image and its text. */
.kapcq-history-story.has-image { min-height: 0; }
.kapcq-history-story.has-image > .kapcq-history-story__image {
	position: relative;
	min-height: 0;
	align-self: start;
	background: transparent;
}
.kapcq-history-story__image > img {
	display: block;
	width: 100%;
	height: auto;
}
@media(min-width:801px){
.kapcq-history-story:nth-child(odd) .kapcq-history-story__copy{padding-left:40px}
.kapcq-history-story:nth-child(even) .kapcq-history-story__copy{padding-right:40px}
}
@media(max-width:800px){
.kapcq-history-story .kapcq-history-story__copy{padding-top:40px}
}
