/* Shared longform canvas: reading column, wide tools and photographic strips. */
.kk-theme .blog-article .content:has([data-kk-editorial]){max-width:none}
.kk-theme [data-kk-editorial]{--story-reading:720px;display:block}
.kk-theme [data-kk-editorial]>.kk-story-reading{max-width:var(--story-reading);margin:64px auto}
.kk-theme [data-kk-editorial] .kk-story-lead{font-size:clamp(23px,2.7vw,32px);line-height:1.45;letter-spacing:-.025em}
.kk-theme [data-kk-editorial] h2{font-size:clamp(32px,4vw,52px);line-height:1.08;letter-spacing:-.045em}
.kk-theme [data-kk-editorial] .kk-story-search,.kk-story-search{max-width:1040px;margin:48px auto;padding:clamp(20px,4vw,48px);border:1px solid var(--kk-line);border-radius:8px;background:var(--kk-soft)}
.kk-theme .kk-story-search h3{margin:0 0 24px;font-size:clamp(25px,3vw,36px);line-height:1.15;letter-spacing:-.035em}
.kk-theme .kk-story-search .kk-story-search-field{display:flex;align-items:center;position:relative;width:100%;max-width:none;margin:0;background:var(--kk-paper);min-height:56px}
.kk-theme .kk-story-search input{width:100%;min-width:0;border:0;background:transparent;padding:14px 64px 14px 20px;font:400 18px/1.4 var(--kk-font);outline-offset:4px;border-radius:24px}
.kk-theme .kk-story-search .kk-story-search-field>button{position:absolute;right:6px;width:44px;height:44px;display:grid;place-items:center;background:var(--kk-ink);color:var(--kk-paper);border:0;border-radius:50%;cursor:pointer}
.kk-theme .kk-story-search button svg{width:20px;height:20px}
.kk-theme .kk-story-prompts{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.kk-theme .kk-story-prompts .kk-button{font-size:14px;min-height:44px;padding:8px 14px;background:var(--kk-paper);white-space:normal;text-align:left}
.kk-theme .kk-story-status{display:flex;align-items:center;gap:10px;color:var(--kk-muted);font:400 14px/1.5 var(--kk-font)!important;min-height:42px;margin:20px 0!important}
.kk-theme .kk-story-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.kk-theme .kk-story-results a{display:block;font:400 14px/1.4 var(--kk-font);text-decoration:none!important}
.kk-theme .kk-story-results img{display:block;aspect-ratio:3/2;object-fit:cover;width:100%;border-radius:4px;margin:0 0 8px}
.kk-theme .kk-story-open{margin-top:24px}
.kk-theme .kk-story-search [hidden]{display:none!important}
.kk-theme .kk-story-triptych{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:56px 0}
.kk-theme .kk-story-triptych figure{margin:0!important;min-width:0}
.kk-theme .kk-story-triptych img{display:block;width:100%;border-radius:4px;border:1px solid var(--kk-line)}
.kk-theme .kk-story-triptych figcaption strong{display:block;color:var(--kk-ink);font-weight:600}
.kk-theme .kk-story-map{position:relative;width:calc(100vw - 2px);margin:64px 0 64px calc(50% - 50vw + 1px);background:var(--kk-soft);min-height:620px}
.kk-theme .kk-story-map iframe{display:block;width:100%;height:620px;border:0}
.kk-theme .kk-story-map-placeholder{min-height:620px;display:grid;align-content:center;justify-items:center;gap:16px;background:var(--kk-soft)}
.kk-theme .kk-story-map-placeholder[hidden]{display:none}
.kk-theme .kk-story-map-caption{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;padding:16px var(--kk-gutter);font:400 14px/1.5 var(--kk-font);background:var(--kk-paper)}
.kk-theme .kk-story-detail{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin:80px 0}
.kk-theme .kk-story-detail figure{margin:0!important}
.kk-theme .kk-story-detail img{display:block;width:100%;border-radius:4px}
.kk-theme .kk-story-detail h2{margin-top:0}
.kk-story-map-document :is(.kk-header,header.site-header,.breadcrumb,.kk-listing-controls,.kk-gallery-controls,.kk-footer,footer){display:none!important}
.kk-story-map-document .kk-main{padding:0!important;margin:0!important;max-width:none!important;width:100%!important}
.kk-story-map-document .kk-map-layout{margin:0!important;height:100vh!important;min-height:0!important}
.kk-story-map-document .kk-map-panel,.kk-story-map-document .kk-map-canvas{height:100vh!important;min-height:0!important;border-radius:0!important}
.kk-story-map-document .kk-map-settings-panel{max-height:calc(100vh - 100px)!important}
@media(max-width:700px){.kk-theme [data-kk-editorial]>.kk-story-reading{margin:40px auto}.kk-theme .kk-story-search{padding:20px;margin:32px 0}.kk-theme .kk-story-results{grid-template-columns:repeat(2,minmax(0,1fr))}.kk-theme .kk-story-triptych{grid-template-columns:1fr;gap:32px;margin:40px 0}.kk-theme .kk-story-detail{grid-template-columns:1fr;gap:20px;margin:48px 0}.kk-theme .kk-story-detail figure{order:0}.kk-theme .kk-story-detail>div{order:1}.kk-theme .kk-story-map{min-height:480px;margin-top:40px;margin-bottom:40px}.kk-theme .kk-story-map iframe,.kk-theme .kk-story-map-placeholder{height:480px;min-height:480px}}
@media(prefers-reduced-motion:reduce){.kk-story-search *{animation:none!important;transition:none!important}}

.kk-theme section.blog-article .content .kk-story-search h3{margin:0 0 24px;font-size:clamp(25px,3vw,36px);line-height:1.15}
.kk-theme .kk-story-search .kk-story-search-field{border:1px solid var(--kk-search-border);border-radius:var(--kk-search-radius);padding:0}
.kk-theme section.blog-article .content .kk-story-search input{border:0;box-shadow:none;height:56px}
.kk-theme .kk-story-search-field input:focus-visible{outline:2px solid var(--kk-focus);outline-offset:3px}

.kk-theme .kk-story-map-caption{align-items:center}.kk-theme .kk-story-map-caption .kk-button{min-height:44px;padding:8px 16px;white-space:nowrap;font-size:14px}
.kk-theme .kk-story-search-form{padding:0;margin:0;border:0;background:transparent}
.kk-theme .kk-story-search-field:focus-within{border-color:var(--kk-focus);box-shadow:0 0 0 1px var(--kk-focus)}
.kk-theme .kk-story-search-field input:focus-visible{outline:0}
.kk-theme .kk-story-triptych figure>a{display:block}

.kk-theme .blog-article:has([data-kk-editorial]) .header .article-title{max-width:1100px}.kk-theme .blog-article:has([data-kk-editorial]) .header h1{font-size:clamp(38px,5vw,68px);line-height:1.04}
.kk-theme section.blog-article .content [data-kk-editorial] .kk-story-lead{font-size:clamp(23px,2.7vw,32px);line-height:1.45;letter-spacing:-.025em}
.kk-theme section.blog-article .content [data-kk-editorial] h2{font-size:clamp(32px,4vw,52px);line-height:1.08;letter-spacing:-.045em}
.kk-theme section.blog-article .content [data-kk-editorial] .kk-story-detail h2{font-size:clamp(30px,3.4vw,44px);margin-top:0}

.kk-theme .kk-story-triptych figcaption{text-align:left}

/* The wrapper owns the only border/focus ring, including native search appearance. */
.kk-theme .kk-story-search .kk-story-search-field input[type=search]{appearance:none;-webkit-appearance:none;border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;border-radius:inherit}
.kk-theme .kk-story-search .kk-story-search-field{overflow:hidden}
.kk-theme .kk-story-search-invitation{display:flex;align-items:center;gap:8px;justify-content:flex-end;margin:0 0 10px!important;font:400 15px/1.4 var(--kk-font)!important;color:var(--kk-muted)}
.kk-theme .kk-story-search-invitation svg{width:72px;height:32px;flex:none;transform:translateY(8px)}
@media(max-width:700px){.kk-theme .kk-story-search-invitation{font-size:14px!important;justify-content:flex-start}.kk-theme .kk-story-search-invitation svg{width:48px}}

/* Shared, non-interactive search walkthrough. Text and icons stay sharp at any DPR. */
.kk-theme .kk-story-mock{height:100%;box-sizing:border-box;padding:24px;border:1px solid var(--kk-line);border-radius:8px;background:var(--kk-soft);display:flex;flex-direction:column;gap:20px;color:var(--kk-ink)}
.kk-theme .kk-story-walkthrough figure{display:grid;grid-template-rows:1fr auto;gap:12px}
.kk-theme .kk-story-mock .kk-story-mock-title{font:600 24px/1.2 var(--kk-font);letter-spacing:-.035em}
.kk-theme .kk-story-mock p{font:400 15px/1.5 var(--kk-font)!important;margin:0!important;color:var(--kk-muted)}
.kk-theme .kk-story-mock-field{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--kk-search-border);border-radius:var(--kk-search-radius);padding:6px 6px 6px 16px;background:var(--kk-paper);font:400 17px/1.4 var(--kk-font)}
.kk-theme .kk-story-mock-submit{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--kk-ink);color:var(--kk-paper)}
.kk-theme .kk-story-mock svg{width:18px;height:18px;flex:none}
.kk-theme .kk-story-mock-prompts,.kk-theme .kk-story-mock-filters{display:flex;flex-wrap:wrap;gap:8px}
.kk-theme .kk-story-mock .kk-button{font-size:14px;min-height:40px;padding:8px 12px;white-space:normal;cursor:default;pointer-events:none;text-align:left}
.kk-theme .kk-story-mock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
.kk-theme .kk-story-mock-photo{min-width:0;font:400 14px/1.4 var(--kk-font)}
.kk-theme .kk-story-mock-photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border:0;border-radius:4px;margin-bottom:8px}
.kk-theme .kk-story-mock>.kk-button{align-self:flex-start}
@media(max-width:1000px) and (min-width:701px){.kk-theme .kk-story-walkthrough{gap:12px}.kk-theme .kk-story-mock{padding:16px}.kk-theme .kk-story-mock .kk-story-mock-title{font-size:21px}}

/* Embedded maps share the article assistant; never mount a second visible launcher. */
.kk-story-map-document .kk-futu-launch{display:none!important}

/* Only the article embed is simplified; the full map retains these controls. */
.kk-story-map-document :is(.kk-map-export-controls,.kk-map-info,.kk-map-context-toggle,.kk-map-settings-panel){display:none!important}
.kk-story-map-document .kk-map-settings>summary[aria-disabled=true]{opacity:.45;cursor:not-allowed}
