/* v2.20.1: navy/gold speech cards. Presentation only; all copy and media remain post-managed. */
.kv-voices{--kv-ink:#061522;--kv-gold:#edcc81;--kv-card:#081826;position:relative;isolation:isolate;background:radial-gradient(ellipse at 86% 5%,rgba(37,74,104,.28),transparent 48%),radial-gradient(ellipse at 7% 100%,rgba(44,70,88,.2),transparent 54%),#050f1b;color:#f4f5f7;padding-block:clamp(68px,7vw,108px);border-top:1px solid rgba(231,191,110,.13);overflow:hidden}
.kv-voices::before,.kv-voices::after{content:"";position:absolute;z-index:-1;pointer-events:none;width:700px;height:300px;border:1px solid rgba(215,175,91,.14);border-radius:50%;transform:rotate(-20deg)}
.kv-voices::before{right:-220px;top:-165px;box-shadow:0 12px 0 -11px rgba(215,175,91,.2),0 24px 0 -23px rgba(215,175,91,.14),0 36px 0 -35px rgba(215,175,91,.08)}
.kv-voices::after{left:-310px;bottom:-180px;box-shadow:0 -12px 0 -11px rgba(215,175,91,.2),0 -24px 0 -23px rgba(215,175,91,.12)}
.kv-voices [hidden]{display:none!important}
.kv-voices .kap-container{position:relative;width:min(1320px,calc(100% - 64px));max-width:100%;margin-inline:auto}
.kv-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:24px}
.kv-heading h2{color:var(--kv-gold);font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,4.8vw,66px);font-weight:500;letter-spacing:-.02em;line-height:1.12;margin:0;text-transform:uppercase}
.kv-heading h2::before{content:"";display:block;width:82px;height:3px;background:linear-gradient(90deg,#b58433,#ffe5a0,transparent);margin-bottom:20px}
.kv-intro{font-size:18px;line-height:1.65;color:#d7dfe7;max-width:760px;margin-top:18px}
.kv-intro:empty{display:none}.kv-intro p{margin:0 0 .8em}.kv-intro p:last-child{margin-bottom:0}
.kv-admin-link,.kv-edit{color:#edcf91;text-decoration:underline;text-underline-offset:4px;font-size:12px;line-height:1.6}
.kv-sample-notice{font-size:12px;color:#c6b18a;line-height:1.65;margin:16px 0 0}
.kv-empty{padding:25px;border:1px dashed #b9944f;border-radius:14px;font-size:15px;color:#e7edf2}
.kv-carousel{--kv-columns:3;position:relative;min-width:0;container-type:inline-size;padding-top:84px}
.kv-carousel:focus-visible{outline:2px solid var(--kv-gold);outline-offset:7px;border-radius:12px}
.kv-slides{display:grid;grid-template-columns:repeat(var(--kv-columns),minmax(0,1fr));gap:88px 28px;align-items:stretch;min-width:0;max-width:calc(var(--kv-columns) * 440px + (var(--kv-columns) - 1) * 28px);margin-inline:auto;padding-bottom:26px}
.kv-slide{position:relative;display:flex;flex-direction:column;min-width:0;background:radial-gradient(ellipse at 50% 0%,#152d3e,transparent 52%),linear-gradient(155deg,#0a1826,#050f1c 86%);border:1px solid #cba75d;border-radius:24px;box-shadow:0 20px 42px rgba(0,0,0,.18);isolation:isolate;margin:0}
.kv-slide::before{content:"";position:absolute;pointer-events:none;z-index:-1;inset:auto 0 0 auto;width:75%;height:170px;background-image:radial-gradient(rgba(212,168,77,.3) .8px,transparent 1px);background-size:7px 7px;opacity:.38;mask-image:linear-gradient(145deg,transparent 12%,#000);border-radius:0 0 24px 0}
.kv-slide::after{content:"";position:absolute;width:28px;height:28px;left:41px;bottom:-15px;transform:skewY(-44deg);transform-origin:left top;background:#06121f;border-left:1px solid #cba75d;border-bottom:1px solid #cba75d;z-index:2;pointer-events:none}
.kv-card-quote{position:absolute;left:23px;top:16px;font:72px/.9 Georgia,serif;color:#eccc84;z-index:4;pointer-events:none;text-shadow:0 2px 5px rgba(0,0,0,.2)}
.kv-card-quote--end{top:auto;left:auto;right:22px;bottom:0;font-size:58px;line-height:.75}
.kv-brand-tab{position:absolute;top:0;right:0;width:32%;height:67px;display:grid;place-items:center;background:linear-gradient(120deg,#b98b3a,#f4d88d 60%,#d4a552);border-radius:0 23px 0 10px;z-index:1;padding:13px}
.kv-brand-tab img{display:block;width:74%;height:auto;max-height:38px;object-fit:contain;filter:brightness(0);opacity:.88;justify-self:end}
.kv-portrait{position:relative;z-index:2;height:272px;margin:-65px 23% 0 8%;isolation:isolate;min-width:0}
.kv-portrait__image{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 12%;filter:saturate(.72);border-radius:24px 24px 0 0;-webkit-mask-image:linear-gradient(to bottom,#000 65%,transparent 100%),linear-gradient(to right,transparent,#000 8%,#000 93%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(to bottom,#000 65%,transparent 100%),linear-gradient(to right,transparent,#000 8%,#000 93%,transparent);mask-composite:intersect}
.kv-portrait--center .kv-portrait__image{object-position:center}
.kv-portrait--contain .kv-portrait__image{object-fit:contain}
.kv-portrait__placeholder{height:100%;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 45%,#24465d,transparent 70%)}
.kv-portrait__placeholder>img{width:86px;height:auto;opacity:.8}
.kv-story{position:relative;z-index:3;padding:0 27px 46px;display:flex;flex-direction:column;flex:1;min-width:0;margin-top:-5px}
.kv-attribution{padding:0 0 20px;margin:0 0 21px;position:relative;min-height:97px}
.kv-attribution::after{content:"";position:absolute;bottom:0;left:0;width:42px;height:2px;background:linear-gradient(90deg,#edc678,rgba(237,198,120,.15))}
.kv-voices .kv-name{margin:0 0 9px;color:#eaca82;font-size:clamp(23px,2vw,29px);line-height:1.15;font-weight:650;letter-spacing:-.025em;text-transform:uppercase;overflow-wrap:break-word}
.kv-attribution>span{display:block;font-size:14px;line-height:1.55;color:#e1e5eb;overflow-wrap:anywhere}.kv-company{color:#c0cad6!important;margin-top:2px}
.kv-quote-wrap{min-width:0;margin-bottom:21px}
.kv-quote{border:0;padding:0;margin:0;color:#edf0f4;font-size:16px;font-style:italic;font-weight:400;line-height:1.75;letter-spacing:0;overflow-wrap:break-word;position:relative}
.kv-quote p{margin:0 0 1em}.kv-quote p:last-child{margin-bottom:0}.kv-quote strong{font-weight:700}.kv-quote a{color:inherit;text-decoration:underline}.kv-quote ul,.kv-quote ol{padding-left:1.25em}

.kv-read-more{display:inline-flex;gap:12px;align-items:center;border:0;padding:10px 0;background:none;color:#ebca83;font:inherit;font-size:12px;font-weight:600;line-height:1.6;cursor:pointer;text-align:left;text-underline-offset:4px;min-height:44px}
.kv-read-more:hover{text-decoration:underline}.kv-read-more span{font-size:18px}
.kv-card-actions{margin-top:auto;display:grid;align-content:end;gap:14px;min-height:8px}
.kv-play{display:inline-flex;align-items:center;gap:12px;justify-self:start;color:#f7f7f7;font:inherit;border:0;background:none;padding:0;cursor:pointer;text-align:left;min-height:46px}
.kv-play__circle{width:43px;height:43px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;color:#061625;background:linear-gradient(130deg,#ffdf90,#b88834);font-size:16px;padding-left:2px;box-shadow:0 3px 14px rgba(227,182,82,.12);transition:transform .2s ease}
.kv-play>strong{font-size:14px;font-weight:650}.kv-play:hover .kv-play__circle{transform:scale(1.07)}

.kv-player-status{margin:0;color:#f5dba3;background:rgba(240,203,122,.07);border:1px solid rgba(240,203,122,.25);padding:10px 12px;font-size:12px;line-height:1.6;border-radius:8px}
.kv-transcript{padding-top:14px;border-top:1px solid rgba(226,186,106,.25);color:#d1dce6;font-size:14px;line-height:1.7}.kv-transcript summary{color:#ebcd8b;cursor:pointer}.kv-transcript>div{margin-top:12px}
.kv-video-link{color:var(--kv-gold);text-decoration:underline;font-size:14px}
.kv-sample-badge{align-self:flex-start;font-size:9px;font-weight:700;letter-spacing:.1em;color:#edcc81;border:1px solid rgba(237,204,129,.4);border-radius:4px;padding:4px 7px;margin-bottom:12px}
.kv-photo-error{display:grid;place-items:center;height:100%;padding:25px;color:#edcc81;text-align:center;font-size:20px}
.kv-controls{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-top:22px;padding-block:10px}
.kv-controls__right{display:flex;gap:11px;align-items:center}.kv-count{color:#bcc8d5;font-size:11px;letter-spacing:.09em;font-weight:600;min-width:85px;text-align:center}
.kv-arrow{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(231,195,124,.65);border-radius:50%;background:rgba(255,255,255,.02);color:#f2d38c;font-size:25px;line-height:1;cursor:pointer;transition:background .2s,color .2s}
.kv-arrow:hover{background:#ebc982;color:#071421}
.kv-dots{display:flex;gap:4px;align-items:center;flex-wrap:wrap;max-width:65%}.kv-dot{width:32px;height:44px;background:none;border:0;padding:0;display:grid;place-items:center;cursor:pointer}
.kv-dot::before{content:"";width:7px;height:7px;border-radius:5px;background:#65717d;transition:width .2s,background .2s}.kv-dot[aria-current="true"]::before{width:25px;background:#e3bd70}
.kv-voices button:focus-visible,.kv-voices a:focus-visible,.kv-transcript summary:focus-visible{outline:2px solid #f4d287;outline-offset:5px}
.kv-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@container(max-width:1050px){.kv-slides{grid-template-columns:repeat(2,minmax(0,1fr));max-width:908px}.kv-carousel.is-enhanced .kv-slides{grid-template-columns:repeat(var(--kv-columns),minmax(0,1fr))}}
@container(max-width:640px){.kv-slides{grid-template-columns:1fr;max-width:440px}.kv-portrait{height:280px}.kv-name{font-size:27px}.kv-story{padding-inline:25px}.kv-attribution{min-height:0}.kv-carousel.is-enhanced .kv-slides{grid-template-columns:1fr}}
@media(max-width:720px){.kv-voices .kap-container{width:calc(100% - 36px)}.kv-heading{align-items:flex-start;gap:18px;flex-direction:column}.kv-heading h2{font-size:clamp(32px,7.8vw,44px)}.kv-intro{font-size:16px}.kv-carousel{padding-top:79px}.kv-controls{flex-wrap:wrap}.kv-controls__right{margin-left:auto}.kv-arrow{width:44px;height:44px}.kv-count{font-size:10px;min-width:64px}.kv-story{padding-inline:24px}.kv-portrait{height:263px}}
@media(max-width:375px){.kv-voices .kap-container{width:calc(100% - 28px)}.kv-brand-tab{height:54px;padding:10px}.kv-card-quote{left:15px;top:10px;font-size:60px}.kv-portrait{height:235px;margin-left:6%;margin-right:23%}.kv-voices .kv-name{font-size:23px}.kv-story{padding-inline:20px}.kv-quote{font-size:15px}.kv-dot{width:28px}}
@media(prefers-reduced-motion:reduce){.kv-voices *,.kv-voices *::before,.kv-voices *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.kv-voices{background:#fff;color:#111}.kv-heading h2{color:#111}.kv-voices .kv-slide[hidden]{display:flex!important}.kv-slides{display:block}.kv-slide{break-inside:avoid;margin:80px 0 45px;box-shadow:none}.kv-controls,.kv-play,.kv-stop,.kv-player,.kv-admin-link,.kv-edit,.kv-read-more{display:none!important}.kv-quote.is-collapsed{max-height:none!important;mask-image:none!important;-webkit-mask-image:none!important;overflow:visible!important}}


/* Compact excerpts: original quotations stay intact in templates and the reading dialog. */
.kv-carousel { --kv-quote-size:16px; }
.kv-carousel .kv-portrait { height:246px; }
.kv-carousel .kv-story { padding-bottom:36px; }
.kv-carousel .kv-attribution { margin-bottom:16px; padding-bottom:17px; }
.kv-carousel.is-enhanced .kv-attribution { min-height:var(--kv-attribution-height,97px); }
.kv-carousel .kv-quote { font-size:var(--kv-quote-size);line-height:1.72; }
.kv-carousel.is-enhanced .kv-quote-wrap { font-size:var(--kv-quote-size);height:6.88em;min-height:6.88em;flex-shrink:0;margin-bottom:18px; }
.kv-carousel .kv-quote-wrap:has(.kv-quote:empty) { margin-bottom:18px; }
.kv-carousel .kv-card-actions { display:flex;flex-wrap:wrap;align-items:center;align-content:flex-end;gap:8px 18px;min-height:46px; }
.kv-carousel .kv-read-more { font-size:13px;min-height:46px;padding-block:8px; }
.kv-carousel .kv-read-more span { font-size:18px; }
.kv-transcript-link { border:0;background:transparent;color:#ebca83;font:inherit;font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:4px 0;cursor:pointer; }
.kv-carousel .kv-player-status { flex-basis:100%; }
/* Override pasted inline colours without changing the saved HTML or link destinations. */
.kv-voices .kv-quote *, .kv-dialog .kv-dialog__quote * { color:inherit!important;-webkit-text-fill-color:inherit!important; }
.kv-voices .kv-quote :is(p,span,div,font) {font-size:inherit!important;line-height:inherit!important;}
.kv-voices .kv-quote a, .kv-voices .kv-quote a *,
.kv-dialog .kv-dialog__quote a, .kv-dialog .kv-dialog__quote a * {
 color:#f0cf78!important;-webkit-text-fill-color:#f0cf78!important;text-decoration-color:#d6ad54!important;
}
.kv-voices .kv-quote a, .kv-dialog .kv-dialog__quote a {text-decoration:underline!important;text-underline-offset:3px;text-decoration-thickness:1px;opacity:1;}
.kv-voices .kv-quote a:hover, .kv-dialog .kv-dialog__quote a:hover {color:#ffedb8!important;-webkit-text-fill-color:#ffedb8!important;}

/* Viewport popup: independent of portrait height, carousel clipping and transforms. */
.kv-dialog {
 position:fixed;inset:0;z-index:2147483647;margin:auto;padding:0;border:0;
 width:min(820px,calc(100vw - 32px));max-width:none;height:fit-content;
 max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);
 color:#f4f6f9;background:transparent;overflow:visible;
 font-family:Manrope,Arial,sans-serif;line-height:1.65;
}
.kv-dialog:not([open]) { display:none!important; }
.kv-dialog[open] { display:block; }
.kv-dialog [hidden] {display:none!important;}
.kv-dialog::backdrop { background:rgba(0,4,10,.94);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px); }
.kv-dialog-shade {position:fixed;inset:0;z-index:2147483646;background:rgba(0,4,10,.94);}
.kv-dialog-shade[hidden] {display:none!important;}
.kv-dialog__panel { border:1px solid rgba(230,190,111,.48);border-radius:14px;overflow:hidden;background:#081827;box-shadow:0 30px 100px rgba(0,0,0,.5); }
.kv-dialog__header {display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px;padding:7px 10px 7px 24px;background:#071422;}
.kv-dialog .kv-dialog__header h2 {font-size:15px;line-height:1.5;letter-spacing:0;color:#f0cf78;margin:0;font-weight:600;text-transform:none;overflow-wrap:anywhere;}
.kv-dialog .kv-dialog__close {display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border:1px solid #cba75d;border-radius:50%;font-size:28px;font-weight:400;line-height:1;background:#071b2b;color:#fff;padding:0;cursor:pointer;}
.kv-dialog .kv-dialog__close:hover {background:#e7c47b;color:#071422;}
.kv-dialog__body {max-height:calc(100vh - 116px);max-height:calc(100dvh - 116px);overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:clamp(20px,4vw,40px);scrollbar-color:#c5a05b #0a2032;}
.kv-dialog__meta {margin:0 0 24px;color:#b6c5d3;font-size:14px;line-height:1.7;}
.kv-dialog .kv-dialog__quote {margin:0;padding:0;border:0;color:#f0f3f7;font-size:clamp(17px,1.6vw,20px);font-weight:400;line-height:1.85;font-style:normal;overflow-wrap:anywhere;}
.kv-dialog .kv-dialog__quote p {margin:0 0 1.2em;}
.kv-dialog .kv-dialog__quote p:last-child {margin-bottom:0;}
.kv-dialog .kv-sample-badge {display:inline-block;margin-bottom:20px;}
.kv-dialog[data-mode="video"] {
 width:min(1600px,calc(100vw - 48px),calc((100vh - 116px) * 1.7777778));
 width:min(1600px,calc(100vw - 48px),calc((100dvh - 116px) * 1.7777778));
}
.kv-dialog[data-mode="video"] .kv-dialog__body {padding:0;background:#000;overflow:hidden;max-height:none;}
.kv-dialog[data-mode="video"] .kv-dialog__panel {border-color:rgba(255,255,255,.15);}
.kv-dialog__player {position:relative;width:100%;aspect-ratio:16/9;background:#000;}
.kv-dialog__player iframe, .kv-dialog__player video {position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;border:0;margin:0;padding:0;display:block;object-fit:contain;background:#000;}
.kv-dialog__status {position:absolute;bottom:12px;left:16px;right:16px;margin:0;padding:10px 14px;background:rgba(6,20,33,.94);border:1px solid #9c7c42;border-radius:8px;color:#f6deb0;font-size:13px;line-height:1.6;}
.kv-dialog button:focus-visible,.kv-dialog a:focus-visible {outline:2px solid #ffe1a2;outline-offset:3px;}
.kv-dialog,.kv-dialog * {cursor:auto!important;}
.kv-dialog button,.kv-dialog a,.kv-dialog button * {cursor:pointer!important;}
body.kv-modal-open .kap-cursor {display:none!important;}
@media(max-width:600px) {
 .kv-dialog {width:calc(100vw - 24px);max-height:calc(100dvh - 24px);}
 .kv-dialog__header {gap:12px;padding:6px 8px 6px 16px;min-height:56px;}
 .kv-dialog .kv-dialog__header h2 {font-size:12px;}
 .kv-dialog__body {max-height:calc(100dvh - 96px);padding:22px;}
 .kv-dialog[data-mode="video"] {width:min(calc(100vw - 16px),calc((100dvh - 88px) * 1.7777778));}
 .kv-carousel .kv-portrait {height:238px;}
}
@media(max-width:375px){.kv-carousel{--kv-quote-size:15px}.kv-carousel .kv-portrait{height:220px}.kv-carousel .kv-story{padding-inline:20px;}}
@media(prefers-reduced-motion:reduce){.kv-dialog *{transition:none!important;animation:none!important;scroll-behavior:auto!important;}}
@media print{.kv-dialog,.kv-dialog-shade{display:none!important}.kv-carousel.is-enhanced .kv-quote-wrap{height:auto;min-height:0}.kv-voices .kv-slide{background:#fff}.kv-voices .kv-name,.kv-voices .kv-quote{color:#111;}}

/* A sample badge must not push the contributor name out of alignment. */
.kv-story > .kv-sample-badge {position:absolute;top:-28px;left:27px;margin:0;z-index:4;background:#091a2a;max-width:calc(100% - 54px);}
