/* Image width follows the content page, including its usual horizontal gutters.
   Text retains its existing column and reading width. */
body.single-post article:is(.category-journal,.category-stream) > .entry-content {
  --gbi-gutter: 16px;
  --gbi-gap: 32px;
}
body.single-post article:is(.category-journal,.category-stream) > .entry-content .gbi-media {
  float: none !important;
  clear: both;
  box-sizing: border-box;
  width: var(--gbi-width, calc(100% + 2 * var(--gbi-gutter))) !important;
  max-width: none !important;
  margin-left: var(--gbi-left, calc(-1 * var(--gbi-gutter))) !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: var(--gbi-gap) !important;
}
body.single-post article:is(.category-journal,.category-stream) > .entry-content .gbi-media:not(.wp-block-gallery):not(.gallery) {
  display: block;
}
body.single-post article:is(.category-journal,.category-stream) > .entry-content .gbi-media:not(img) > :is(a,picture),
body.single-post article:is(.category-journal,.category-stream) > .entry-content .gbi-media:not(img):not(.wp-block-gallery):not(.gallery) img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}
body.single-post article:is(.category-journal,.category-stream) > .entry-content img.gbi-media {
  height: auto !important;
}
body.single-post article:is(.category-journal,.category-stream) > .entry-content .gbi-media:is(.wp-block-gallery,.gallery) {
  row-gap: var(--gbi-gap) !important;
}
body.single-post article:is(.category-journal,.category-stream) > .entry-content .gbi-media figcaption {
  padding-inline: var(--gbi-gutter);
}
@media (min-width:1024px) {
  body.single-post article:is(.category-journal,.category-stream) > .entry-content {
    --gbi-gutter: 32px;
    --gbi-gap: 48px;
  }
}
/* 11-13 01:17 Georges「改回跟正文一样宽」:电脑版(≥769px,左边有导航栏)图片回到跟正文同宽、左右对齐正文;
   手机 / 平板(≤768px)照旧贴边。上面的规则同特异性，写在后面压过 --gbi-width / --gbi-left。 */
@media (min-width:769px) {
  body.single-post article:is(.category-journal,.category-stream) > .entry-content .gbi-media {
    width: 100% !important;
    margin-left: 0 !important;
  }
  body.single-post article:is(.category-journal,.category-stream) > .entry-content .gbi-media figcaption {
    padding-inline: 0;
  }
}
