/* Retain classic S-port gutters; explicit block spacing settings stay effective. */
figure { margin: 0; }
.site-body { padding-left: 15px; padding-right: 15px; }
.wp-block-columns.sport-legacy-columns { gap: 2em; }
@media (min-width: 782px) {
 .wp-block-columns.sport-legacy-columns.vk-cols--media { gap: 3rem; }
}
.site-footer .widget_media_image > .wp-block-image { margin-bottom: 0; }
.site-footer .widget_media_image > .wp-block-image img { display: block; }
.site-footer .widget_text:last-child { margin-bottom: 2rem; }
.wp-block-columns.sport-legacy-columns .wp-block-image > figure:not(.alignleft):not(.alignright) { margin-bottom: 0; }
.wp-block-columns.sport-legacy-columns .wp-block-image img { display: block; }
.companyInfo_data table { margin-bottom: 1.5rem; border: 0; border-top: 1px solid var(--vk-color-border-hr); }
table { margin-bottom: var(--vk-margin-element-bottom); border-top: 1px solid var(--vk-color-border-hr); }
table td, table th { border: 1px solid var(--vk-color-border-hr); font-size: var(--vk-size-text-sm); }
.wp-block-image img { display: block; }
body .wp-block-image > figure:not(.alignleft):not(.alignright) { margin-bottom: 0; }
/* Keep the existing GIGAPOD circular crop defined by the child theme. */
.post-name-gigapod .sec01 img { height:100%!important; }
/* The Pro Outer already supplies its own responsive padding. */
.vk_outer-width-full.vk_outer-paddingLR-none > div > .vk_outer_container { padding-left: 0; padding-right: 0; }
/* Existing headings use kbd as inline text, predating the new keycap styling. */
.entry-body kbd { display: inline; margin: 0; padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; color: inherit !important; font-size: inherit !important; line-height: inherit; }
/* Token spans in the existing code highlighter are code, not individual keycaps. */
.editor_body .syntaxhighlighter code, .editor_body kbd {
  display: inline; margin: 0; padding: 0 !important; background: transparent !important;
  border: 0 !important; border-radius: 0 !important; color: inherit !important;
  font-size: inherit !important; line-height: inherit;
}
/* Classic article tables used one bottom gap and the text-colored cell border. */
.editor_body .wp-block-table { margin-bottom: 0; font-size: inherit; }
.editor_body .wp-block-table:not(.has-border-color) td,
.editor_body .wp-block-table:not(.has-border-color) th { border-color: currentColor; }
@media (max-width: 767.98px) { .site-footer .widget_text:last-child { margin-bottom: 0; } }
.ltg-slide-text-title + .ltg-slide-text-caption { margin-top: .7em; margin-bottom: 10px; line-height: 1.6; }
.ltg-slide .btn { margin-top: 1em; font-size: 1rem; }
.ltg-slide .btn-ghost { padding: .5em 2.2em; }
@media (max-width: 767px) { .swiper-container .ltg-slide-text-title + .ltg-slide-text-caption { margin: 0; } }
/* Easy TOC changed its ID selector to an attribute selector; retain title leading. */
#ez-toc-container .ez-toc-title { line-height: 1.45; }
/* Lightning changed the leading after figures for smaller headings. */
figure + :is(h4, h5, h6) { margin-top: 2em; }
/* Preserve the classic relative container width on narrow screens. */
@media (max-width: 575.98px) { :root { --vk-width-container: 100%; } }
/* Stacked media blocks retained their spacing before the parent update. */
@media (max-width: 600px) {
  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media { margin-bottom: 1.6rem; }
  .wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media { margin-top: 1.6rem; }
}
@media (max-width: 767.98px) {
  .ltg-slide .btn { font-size: 12px; }
  .ltg-slide-text-title { font-size: 18px; }
  /* The existing one-slide hero intentionally extends below its wrapper. */
  .home .lightning_swiper:has(.swiper-wrapper > .swiper-slide:only-child) { overflow: visible; }
}

/* The legacy h1 heading scale was relative to the smaller mobile root size. */
@media (max-width:767.98px) {
 .entry-body h1.has-huge-font-size:not([style*="font-size"]) { font-size:2.25rem!important; }
 .page-mv > div:has(.sport-legacy-columns.alignwide) { width:100%; }
}

/* Restore the small child-page button padding from Lightning 14. */
.childPage_list_more.btn-sm { padding-left:1rem; padding-right:1rem; }
/* Restore the observed Type V button default without overriding other pages. */
.post-name-type_v .wp-block-button:not(.is-style-outline) > .wp-block-button__link:not(.has-background) { background-color:#333; }

/* Lightning 15 adds keycap styling to plain inline code. Retain the original
 * browser defaults for existing unstyled command paragraphs only. */
.editor_body p > code:not([class]):not([style]) { all:revert!important; }

/* Preserve the child theme subtitle scale over the core regular-size preset. */
.post-name-singularity-xdr .sub-text.has-regular-font-size { font-size:var(--size-16)!important; }
/* Lightning 14 used only a top border on tables. On stacked Flexible Tables,
 * new side/bottom borders shift cell text and add one pixel per table. */
@media(max-width:767.98px) {
 .post-name-monitoring-operation .wp-block-flexible-table-block-table table.is-stacked-on-mobile {
  border-left:0!important; border-right:0!important; border-bottom:0!important;
 }
}

/* This legacy code sample nests code inside a sized span. Retain its original
 * inherited leading without Lightning 15 keycap styling. */
.post-name-morishita11 .editor_body pre.wp-block-code > span > code { all:revert!important; }
