/* Opt-in presentation for real product captures. The image's aspect ratio is
   preserved; a viewport crop meets its frame and the lightbox reveals detail. */
/* Extra space inside the existing frame, enabled only on reviewed screenshots.
   Padding overrides page-specific flush frames; captured pixels stay intact. */
.k-figure.kempu-screenshot-spaced { --screenshot-inset: clamp(16px, 2vw, 28px); }
.k-figure.kempu-screenshot-spaced > .k-shot {
  box-sizing: border-box;
  padding: var(--screenshot-inset) !important;
}
.k-figure.kempu-screenshot-spaced > .k-shot img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
/* Complete replacement captures no longer need a legacy bottom fade. */
.k-figure.kempu-screenshot-spaced > .k-shot::after { display: none; }
.k-figure.kempu-screenshot-spaced.k-capture-portrait { --screenshot-inset: 8px; }
.k-figure.kempu-screenshot-compact > .k-shot {
  width: 100%;
  max-width: calc(320px + var(--screenshot-inset, 0px) * 2);
  margin-inline: auto;
}
@media (max-width: 700px) {
  .k-figure.kempu-screenshot-spaced { --screenshot-inset: 12px; }
  .k-figure.kempu-screenshot-spaced.k-capture-portrait { --screenshot-inset: 8px; }
}
/* Photo overlays need more of their small frame for the readable UI detail. */
.k-work-scene__product:has(> .k-figure.kempu-screenshot-spaced) { width: 96%; }
.k-work-scene__product > .k-figure.kempu-screenshot-spaced { --screenshot-inset: 14px; }
@media (min-width: 1200px) {
  .home .wp-block-post-content > .k-figure--page.kempu-screenshot-spaced:first-of-type,
  .page-id-372 .k-section.is-style-wide-evidence > .k-wrap {
    max-width: calc(var(--wrap) + 128px);
  }
}
/* Dense screens opt in per figure; nearby screenshots keep their split layout. */
.k-section .k-split:has(> .k-figure:is(.k-capture-wide, .k-capture-panorama, .k-capture-panorama-large), > .k-work-scene .k-capture-wide) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start;
  gap: 40px;
}
.k-section .k-split:has(> .k-figure:is(.k-capture-wide, .k-capture-panorama, .k-capture-panorama-large), > .k-work-scene .k-capture-wide) > .k-stack {
  width: 100%;
  max-width: 760px;
  order: 0;
}
.k-section .k-split:has(> .k-figure:is(.k-capture-wide, .k-capture-panorama, .k-capture-panorama-large), > .k-work-scene .k-capture-wide) > .k-stack .k-intro { max-width: 760px; }
.k-section .k-split:has(> .k-figure:is(.k-capture-wide, .k-capture-panorama, .k-capture-panorama-large), > .k-work-scene .k-capture-wide) > .k-stack .k-lede { max-width: 65ch; }
.k-section .k-split > .k-figure:is(.k-capture-wide, .k-capture-panorama, .k-capture-panorama-large) {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 0;
  order: 1;
}
.k-section .k-split > .k-work-scene:has(.k-capture-wide) {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  order: 1;
}
.k-work-scene:has(.k-capture-wide) .k-work-scene__photo { width: 100%; max-width: 680px; }
.k-work-scene .k-work-scene__product:has(> .k-capture-wide) {
  width: 100%;
  max-width: 1000px;
  margin: -80px 0 0 auto;
}
.k-section:has(> .k-wrap > .k-split > .k-capture-panorama) > .k-wrap { max-width: 1280px; }
.k-section .k-split > .k-figure.k-capture-panorama { max-width: 1160px; }
.k-figure.k-capture-panorama { --screenshot-inset: clamp(12px, 2vw, 28px); }
.k-figure.k-capture-panorama > .k-shot { padding: var(--screenshot-inset) !important; }
.k-figure.k-capture-panorama > .k-shot img { width: 100%; height: auto; object-fit: contain; }
.k-section:has(> .k-wrap > .k-split > .k-capture-panorama-large) > .k-wrap { max-width: 1380px; }
.k-section .k-split > .k-figure.k-capture-panorama-large { max-width: 1260px; }
.k-section .k-split > .k-figure.k-capture-focus { width: 100%; max-width: 708px; padding: 0; margin-inline: auto; }
@media (min-width: 1100px) {
  .k-section .k-split:has(> .k-capture-focus) {
    display: grid;
    grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr);
    gap: 48px;
  }
}
@media (min-width: 1200px) {
  .k-figure--page.is-style-product-capture.k-capture-panorama { max-width: calc(var(--wrap) + 56px); }
}
@media (min-width: 900px) {
  .k-section .k-split:has(> .k-figure:is(.k-capture-wide, .k-capture-panorama, .k-capture-panorama-large)) > .k-stack:has(> .k-check) {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
    gap: 48px;
    max-width: none;
  }
  .k-section .k-split:has(> .k-figure:is(.k-capture-wide, .k-capture-panorama, .k-capture-panorama-large)) > .k-stack:has(> .k-check) > :is(.k-intro, .k-check) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
@media (max-width: 700px) {
  .k-section .k-split:has(> .k-figure:is(.k-capture-wide, .k-capture-panorama, .k-capture-panorama-large), > .k-work-scene .k-capture-wide) { gap: 28px; }
  .k-work-scene .k-work-scene__product:has(> .k-capture-wide) { margin-top: -28px; }
}

/* Blog frames opt in through the replacement attachment marker. Photos keep
   their original layouts, including photographic gallery and cover behavior. */
:is(.k-blog-hero-image, .k-blog-thumb, .k-blog-more__shot).kempu-screenshot-spaced {
  box-sizing: border-box;
  padding: clamp(8px, 1.5vw, 20px);
  background: #fff;
}
.k-blog-article-media .k-blog-hero-image.kempu-screenshot-spaced img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}
:is(.k-blog-thumb, .k-blog-more__shot).kempu-screenshot-spaced > a {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}
:is(.k-blog-thumb, .k-blog-more__shot).kempu-screenshot-spaced img {
  width: 100%;
  height: 100%;
  /* Featured-image blocks can emit an inline object-fit: cover declaration. */
  object-fit: contain !important;
}
.k-entry-content :is(.wp-block-image, .wp-block-media-text, .wp-block-cover).kempu-screenshot-spaced {
  box-sizing: border-box;
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid var(--line);
  background: #fff;
}
.k-entry-content img.kempu-screenshot-spaced {
  height: auto !important;
  max-height: none;
  object-fit: contain !important;
  border-radius: 0;
}
.k-entry-content .wp-block-gallery .wp-block-image.kempu-screenshot-spaced {
  display: block;
  align-self: start;
}
/* Keep the complete screen above the cover's existing words, so neither the
   UI nor the text is hidden by an overlay. The saved text stays unchanged. */
.k-entry-content .wp-block-cover.kempu-screenshot-spaced {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 0 !important;
  color: var(--ink);
}
.k-entry-content .wp-block-cover.kempu-screenshot-spaced > .wp-block-cover__background { display: none; }
.k-entry-content .wp-block-cover.kempu-screenshot-spaced > img {
  position: static !important;
  width: 100%;
}
.k-entry-content .wp-block-cover.kempu-screenshot-spaced > .wp-block-cover__inner-container {
  position: static;
  color: var(--ink);
}
/* Readable scales for these explicitly imported editorial screenshots only. */
.k-blog-article-media .k-blog-hero-image.kempu-source-skills-guidance-history-retina {
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
}
.k-entry-content > .wp-block-image:is(.kempu-source-board-three-columns, .kempu-source-security-gates-timeline-retina) {
  width: 100%;
  max-width: 848px;
  margin-inline: auto;
}
.k-entry-content .wp-block-gallery:has(.kempu-source-dashboard-attention-metrics-retina, .kempu-source-board-three-columns) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 848px;
  gap: 32px;
}
.k-entry-content .wp-block-gallery:has(.kempu-source-dashboard-attention-metrics-retina, .kempu-source-board-three-columns) > .wp-block-image {
  width: 100% !important;
  max-width: 848px;
  margin-inline: auto !important;
}
.k-entry-content .wp-block-gallery > .wp-block-image.kempu-source-dashboard-attention-metrics-retina { max-width: 374px; }
.k-entry-content .wp-block-media-text.kempu-source-security-gates-timeline-retina {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100%;
  max-width: 848px;
  margin-inline: auto;
  gap: 24px;
}
.k-entry-content .wp-block-media-text.kempu-source-security-gates-timeline-retina > .wp-block-media-text__media {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
}
.k-entry-content .wp-block-media-text.kempu-source-security-gates-timeline-retina > .wp-block-media-text__content {
  grid-column: 1;
  grid-row: 2;
  padding: 0;
  max-width: 65ch;
}

.k-figure.is-style-product-capture {
  --capture-ground: var(--panel);
  padding: clamp(24px, 4vw, 48px);
  border-radius: 24px;
  background: var(--capture-ground);
}
.k-figure--page.is-style-product-capture {
  width: calc(100% - var(--gutter) * 2);
  max-width: calc(var(--wrap) - var(--gutter) * 2);
  margin: 8px auto 24px;
}
.k-figure.is-style-product-capture .k-shot {
  border: 1px solid rgba(17, 17, 18, .1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(35, 31, 25, .04), 0 16px 40px rgba(35, 31, 25, .08);
}
.k-figure.is-style-product-capture .k-shot-link {
  display: block;
  border-radius: inherit;
}
.k-figure.is-style-product-capture .k-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.k-figure.is-style-product-capture .k-shot-link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
}
.k-figure.is-style-product-capture:has(+ .k-section--border-top) .k-shot {
  border: 1px solid rgba(17, 17, 18, .1);
  border-radius: 12px;
}
.k-figure.is-style-product-capture.k-capture-cool { --capture-ground: #f0f4f3; }
.k-figure.is-style-product-capture.k-capture-neutral { --capture-ground: #f3f3f2; }
.k-figure.is-style-product-capture.k-capture-portrait .k-shot {
  max-width: 320px;
  margin-inline: auto;
  border-radius: 24px;
}
.k-figure--page.is-style-product-capture.k-capture-panel {
  max-width: 880px;
}
.k-figure.is-style-product-capture.k-capture-panel .k-shot {
  max-width: 720px;
  margin-inline: auto;
}

/* Explicit detail caps also work on showcase figures outside capture bands. */
.k-figure.k-capture-focus > .k-shot { width: 100%; max-width: 708px; margin-inline: auto; }
.wp-block-post-content > .k-figure.k-capture-focus { max-width: 708px; margin-inline: auto; }
.k-figure--page.is-style-product-capture.k-capture-focus { max-width: 860px; }
.k-figure.k-capture-panel > .k-shot { width: 100%; max-width: 720px; margin-inline: auto; }
/* These dense editorial illustrations may leave the prose measure, while
   their text, captions and neighboring photos keep the original layout. */
@media (min-width: 900px) {
  .k-entry-content > .wp-block-image:is(.kempu-source-board-three-columns, .kempu-source-security-gates-timeline-retina),
  .k-entry-content > .wp-block-gallery:has(.kempu-source-board-three-columns),
  .k-entry-content > .wp-block-media-text.kempu-source-security-gates-timeline-retina {
    width: min(848px, calc(100vw - var(--gutter) * 2));
    max-width: 848px !important;
  }
}

/* Native phone captures can sit together without flattening them into a
   composite. Each remains individually editable and can be enlarged. */
.k-section.is-style-capture-gallery {
  padding-top: 8px;
  padding-bottom: 24px;
  background: #fff;
  border: 0;
}
.k-section.is-style-capture-gallery::before { content: none; }
.k-section.is-style-capture-gallery .k-grid {
  align-items: center;
  gap: clamp(20px, 3vw, 40px) !important;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 24px;
  background: var(--panel);
}
.k-section.is-style-capture-gallery .k-figure.is-style-product-capture {
  padding: 0;
  background: transparent;
}
.k-section.is-style-capture-gallery .k-figure.k-capture-portrait .k-shot {
  max-width: 288px;
}
.k-section.is-style-capture-gallery.k-capture-mixed .k-grid {
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
}
.k-section.is-style-capture-gallery.k-capture-mixed .k-figure:not(.k-capture-portrait) {
  grid-column: 1;
}
.k-section.is-style-capture-gallery.k-capture-mixed .k-figure.k-capture-portrait {
  grid-column: 2;
  grid-row: 1;
}
.k-section.is-style-capture-gallery .k-grid:has(> .k-capture-wide) { grid-template-columns: minmax(0, 1fr); }
.k-section.is-style-capture-gallery .k-grid:has(> .k-capture-wide) > .k-figure {
  grid-column: 1;
  grid-row: auto;
  width: 100%;
  max-width: 1000px;
  justify-self: center;
}
.k-section.is-style-capture-gallery .k-grid:has(> .k-capture-wide) > .k-figure.k-capture-portrait { max-width: 358px; }
.k-section.is-style-capture-gallery .k-grid:has(> .k-capture-wide) .k-figure.k-capture-portrait .k-shot { max-width: 358px; }

/* A list of what the product does, with captures of it beside the list.
   The captures show items from the list, so they share its section instead
   of following it: the list reads down one side while the captures stay in
   view on the other, each captioned with the number and title of the item it
   shows. On a panel band the band is the captures' stage; the list is ruled
   rather than carded, so the captures are the only objects on it. */
.k-section.is-style-capture-list .k-split {
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: 48px;
  align-items: start;
}
.k-section.is-style-capture-list .k-intro { margin-bottom: 28px; }
.k-section.is-style-capture-list .k-entries { gap: 0; }
.k-section.is-style-capture-list .k-entry {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.k-section.is-style-capture-list .k-entry:last-child { border-bottom: 1px solid var(--line); }
.k-section.is-style-capture-list.k-section--bg-surface { --line: var(--panel-line); }
.k-section.is-style-capture-list .k-entry h3 { font-size: 20px; line-height: 1.3; }
.k-section.is-style-capture-list .k-entry p { grid-column: 2; color: var(--body); font-size: 16px; line-height: 1.55; }
.k-section.is-style-capture-list .k-entry > .k-arw { display: none; }
.k-section.is-style-capture-list .k-split > .k-grid {
  position: sticky;
  top: 120px;
  gap: 28px !important;
  align-items: start;
}
.k-section.is-style-capture-list .k-figure.is-style-product-capture { margin: 0; padding: 0; background: transparent; }
.k-section.is-style-capture-list .k-figure.k-capture-portrait .k-shot { max-width: none; border-radius: 22px; }
.k-section.is-style-capture-list .k-grid > .k-figure:nth-child(even) { margin-top: 64px; }
.k-section.is-style-capture-list .k-figure figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.k-section.is-style-capture-list .k-figure figcaption strong {
  margin-left: 8px;
  color: var(--ink);
  font-family: var(--wp--preset--font-family--grotesk);
  font-size: 15px;
  font-weight: 500;
}
@media (max-width: 1080px) {
  /* Stacked, the list leads and the captures follow it side by side. */
  .k-section.is-style-capture-list .k-split { gap: 40px; }
  .k-section.is-style-capture-list .k-split > .k-grid { position: static; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .k-section.is-style-capture-list .k-split > .k-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    max-width: 358px;
    gap: 36px !important;
  }
  .k-section.is-style-capture-list .k-grid > .k-figure:nth-child(even) { margin-top: 0; }
  .k-section.is-style-capture-list .k-figure.k-capture-portrait .k-shot { border-radius: 14px; }
  .k-section.is-style-capture-list .k-figure figcaption strong { display: block; margin-left: 0; font-size: 13.5px; }
}

@media (min-width: 701px) {
  .k-section.is-style-capture-gallery.k-capture-mixed .k-grid:has(> :nth-child(3)) .k-figure.k-capture-portrait {
    grid-row: 1 / span 2;
  }
}

@media (max-width: 700px) {
  .k-figure.is-style-product-capture {
    padding: 16px;
    border-radius: 16px;
  }
  .k-figure--page.is-style-product-capture { margin-bottom: 16px; }
  .k-figure.is-style-product-capture .k-shot { border-radius: 8px; }
  .k-section.is-style-capture-gallery .k-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px !important;
    padding: 20px;
    border-radius: 16px;
  }
  .k-section.is-style-capture-gallery .k-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 16px) / 2);
    justify-self: center;
  }
  .k-section.is-style-capture-gallery .k-figure.k-capture-portrait .k-shot { border-radius: 16px; }
  .k-section.is-style-capture-gallery.k-capture-mixed .k-grid { grid-template-columns: minmax(0, 1fr); }
  .k-section.is-style-capture-gallery.k-capture-mixed .k-figure,
  .k-section.is-style-capture-gallery.k-capture-mixed .k-grid > :last-child:nth-child(odd) {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }
  .k-section.is-style-capture-gallery.k-capture-mixed .k-figure.k-capture-portrait {
    grid-column: 1;
    grid-row: auto;
    order: 1;
  }
}

@media (max-width: 560px) {
  .k-section.is-style-capture-gallery .k-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px !important;
  }
  .k-section.is-style-capture-gallery .k-grid:has(.k-capture-portrait) { padding-inline: 12px; }
  .k-section.is-style-capture-gallery .k-figure.k-capture-portrait .k-shot { max-width: 358px; }
  .k-section.is-style-capture-gallery .k-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }
}

/* Viewports continue beyond their edges, so the frame touches the captured UI.
   Complete cards retain their modest inset. Page spacing stays outside it. */
.k-figure.k-capture-flush > .k-shot,
.k-figure.k-capture-viewport > .k-shot {
  padding: 0 !important;
  overflow: hidden;
}
.k-figure.k-capture-flush > .k-shot .k-shot-link {
  display: block;
  overflow: hidden;
  border-radius: inherit;
}
.k-figure.k-capture-flush > .k-shot img { display: block; }

/* This complete dialog already has rounded corners in the captured image. */
#capture-375-11-assistant-mcp > .k-shot {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 16px 20px rgb(35 31 25 / 8%));
}

/* Compact landscape captures fit into the story instead of becoming posters. */
.k-figure--page.is-style-product-capture.k-capture-composed { max-width: 1000px; }
.k-figure.k-capture-composed > .k-shot { width: 100%; max-width: 900px; margin-inline: auto; }
.k-figure.k-capture-composed.k-capture-panel > .k-shot { max-width: 680px; }
.k-figure--page.is-style-product-capture.k-capture-composed.k-capture-panel { max-width: 780px; }
.k-section .k-split > .k-figure.k-capture-composed { padding: 0; }
.k-section .k-split > .k-figure.k-capture-wide.k-capture-composed { max-width: 900px; }
.page-id-362 .k-section .k-split > .k-figure.k-capture-wide.k-capture-composed { max-width: 1080px; }
.page-id-362 .k-figure.k-capture-composed > .k-shot { max-width: none; }

/* Keep Home's photo and Board together as one visual beside the copy. */
.k-section .k-split:has(> .k-work-scene .k-capture-composed) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: center;
  gap: 32px;
}
.k-section .k-split:has(> .k-work-scene .k-capture-composed) > .k-stack {
  width: 100%;
  max-width: none;
  order: 0;
}
.k-section .k-split > .k-work-scene:has(.k-capture-composed) {
  display: block;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  order: 1;
}
.k-work-scene:has(.k-capture-composed) .k-work-scene__photo { width: 100%; max-width: none; }
.k-work-scene .k-work-scene__product:has(> .k-capture-composed) {
  width: 96%;
  max-width: none;
  margin: -16% 0 0 auto;
}
@media (min-width: 1000px) {
  .k-section .k-split:has(> .k-work-scene .k-capture-composed) {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) !important;
    gap: clamp(40px, 4vw, 64px);
  }
  .k-section .k-split > .k-work-scene:has(.k-capture-composed) {
    max-width: none;
    margin: 0;
    order: -1;
  }
}
@media (min-width: 1100px) {
  .page-id-361 .k-section .k-split:has(> .k-capture-composed) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}
@media (max-width: 700px) {
  .k-work-scene .k-work-scene__product:has(> .k-capture-composed) {
    width: 94%;
    margin-top: -16%;
  }
}

/* Native windows keep their own rounded corners, and get the edge and shadow the
   OS draws around a window, so they stand apart from the padded ground. The
   radius follows the captured corner (26px on the 1802 x 1082 capture). */
.page-id-374 .k-figure.k-capture-flush > .k-shot,
.k-capture-mixed .k-figure.k-capture-composed > .k-shot {
  border: 0;
  border-radius: 1.44% / 2.4%;
  background: #f6f5f2;
  box-shadow:
    0 0 0 1px rgba(17, 17, 18, .14),
    0 2px 6px rgba(22, 22, 40, .08),
    0 22px 56px rgba(22, 22, 40, .18);
}
.k-section.is-style-capture-gallery.k-capture-mixed .k-figure.k-capture-portrait .k-shot { max-width: 280px; }

/* Editorial versions use the same broad, flush Board and compact Skills view. */
:is(.k-blog-hero-image, .k-blog-thumb, .k-blog-more__shot).kempu-source-board-landscape-overview,
.k-entry-content :is(.wp-block-image, .wp-block-media-text, .wp-block-cover).kempu-source-board-landscape-overview {
  padding: 0;
  overflow: hidden;
}
.k-entry-content > .wp-block-image.kempu-source-board-landscape-overview {
  width: 100%;
  max-width: 848px;
  margin-inline: auto;
}
.k-entry-content .wp-block-gallery:has(.kempu-source-board-landscape-overview) {
  display: grid;
  grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 848px;
}
.k-entry-content .wp-block-gallery:has(.kempu-source-board-landscape-overview) > .wp-block-image {
  width: 100% !important;
  margin-inline: auto !important;
}
.k-entry-content .wp-block-gallery:has(.kempu-source-board-landscape-overview) > figcaption { grid-column: 1 / -1; }
.k-entry-content > .wp-block-image.kempu-source-security-gates-timeline-retina,
.k-entry-content .wp-block-media-text.kempu-source-security-gates-timeline-retina {
  max-width: 500px !important;
}
.k-entry-content .wp-block-media-text.kempu-source-security-gates-timeline-retina { width: 100%; }
.k-blog-article-media .k-blog-hero-image.kempu-source-skills-guidance-history-wide {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .k-entry-content > .wp-block-image.kempu-source-board-landscape-overview,
  .k-entry-content > .wp-block-gallery:has(.kempu-source-board-landscape-overview) {
    width: min(848px, calc(100vw - var(--gutter) * 2));
    max-width: 848px !important;
  }
}
@media (max-width: 600px) {
  .k-entry-content .wp-block-gallery:has(.kempu-source-board-landscape-overview) {
    gap: 12px;
    grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  }
  .k-entry-content .wp-block-gallery:has(.kempu-source-board-landscape-overview) > .wp-block-image {
    min-width: 0;
    padding: 0;
  }
}
