.blog-content { min-width: 0; overflow-wrap: anywhere; }
#blogContent { position: relative; }
.blog-edit-link { position: absolute; top: 0; right: 0; z-index: 3; background-color: var(--bs-body-bg, white); }
.blog-paragraph { white-space: pre-wrap; margin-bottom: 1rem; }
.blog-heading { display: flex; align-items: flex-start; gap: .3em; }
.blog-heading > h1, .blog-heading > h2, .blog-heading > h3, .blog-heading > h4 { min-width: 0; }
.text-center .blog-heading { justify-content: center; }
.blog-heading-hint:empty { display: none; }
.blog-hint-content { min-width: min(20em, 85vw); padding: .5em; text-align: left; }
.blog-collapse { margin-bottom: 1rem; }
.blog-collapse > summary { display: inline-block; }
.blog-collapse > summary::-webkit-details-marker { display: none; }
.blog-collapse-content { padding-top: .5rem; }
.blog-space { height: 1em; }
.blog-cards, .blog-images { display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.blog-card { display: block; min-width: 0; max-width: 100%; text-align: center; text-decoration: none; }
.blog-card-image { display: flex; justify-content: center; max-width: 100%; }
.blog-card-image > img, .blog-card-image > video { display: block; max-width: 100%; height: var(--blog-card-height, 300px); width: auto; object-fit: contain; }
.blog-card-name { font-size: 1.3em; }
.blog-card-label { opacity: .66; }
.blog-asset { max-width: 100%; }
.blog-images .blog-asset { max-width: min(300px, 100%); }
.blog-images-pixel .blog-asset { height: 300px; width: auto; max-width: 100%; object-fit: contain; image-rendering: pixelated; }
.blog-images-pixel .blog-inline-media > img { height: 300px; width: auto; max-width: 100%; object-fit: contain; }
.blog-cropped-image { display: inline-block; position: relative; overflow: hidden; max-width: 100%; vertical-align: middle; }
.blog-cropped-image > img { position: absolute; max-width: none !important; max-height: none !important; object-fit: fill; }
.blog-inline-media { display: inline-flex; vertical-align: middle; max-width: 100%; }
.blog-visual-media > img, .blog-visual-media > video { max-width: 100%; max-height: 80vh; }
.blog-navigation { font-size: .85em; color: var(--bs-secondary-color, #6c757d); margin-bottom: .5em; }
.blog-navigation > a, .blog-navigation-toggle { color: inherit; }
.blog-navigation-toggle { font: inherit; padding: 0; border: 0; background: none; }
.blog-navigation-pages { display: inline-block; }
.blog-navigation-pages .dropdown-menu { font-size: 1em; max-width: min(24rem, 85vw); max-height: 60vh; overflow-y: auto; }
.blog-navigation-pages .dropdown-item, .blog-navigation-pages .dropdown-item-text { white-space: normal; }
.blog-navigation-current { font-weight: 600; }
.blog-navigation-current:hover, .blog-navigation-current:focus { background: none; }
.blog-match-text { min-width: 0; overflow-wrap: anywhere; }
.blog-missing-media { font-family: monospace; }
.blog-frame-wrapper { width: 100%; min-width: 0; margin-bottom: .75em; }
.blog-frame { display: block; border: 0; width: 100%; }
.blog-frame-expanded { position: fixed; inset: 0; z-index: 2100; width: 100vw !important; height: 100dvh !important; background: var(--bs-body-bg, white); }
body:has(.blog-frame-expanded) { overflow: hidden; }
body.blog-component-body { min-height: 0; margin: 0; }
.blog-component-body > .container { max-width: none; width: 100%; padding: 0; }
.blog-component-body main { padding: 0 !important; min-height: 0; }
.blog-component-body .goods-timeline { margin-bottom: 0; }
.blog-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; align-items: start; }
.blog-editor textarea { width: 100%; min-height: 60vh; resize: vertical; font-family: monospace; }
.blog-editor .blog-preview { min-width: 0; padding: .75rem; border: 1px solid #8885; }
.blog-properties { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .5rem; }
.blog-properties label { display: block; min-width: 0; }
.blog-properties .form-control, .blog-properties .form-select { width: 100%; }
.blog-thumbnail { display: flex; align-items: center; justify-content: center; width: 54px; height: 48px; background: #8881; font: 2rem Georgia, serif; }
.blog-thumbnail img, .blog-thumbnail video { max-width: 100%; max-height: 100%; object-fit: contain; }
.blog-list-table td { vertical-align: middle; overflow-wrap: anywhere; }
.blog-list-child { padding-left: 1.25rem !important; }
.blog-media-picker { max-height: 55vh; overflow: auto; }
.blog-media-picker .recent-media-panel-content { max-height: 40vh; overflow: auto; }
@media (max-width: 991px) { .blog-editor { grid-template-columns: minmax(0, 1fr); } .blog-editor textarea { min-height: 40vh; } }

.blog-gallery { margin-bottom: .75em; }
.blog-gallery .media-card { text-decoration: none; color: inherit; }
.blog-gallery-more { display: block; margin: .5rem auto; }

.blog-framed-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .blog-framed-cards { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); } }
.blog-framed-card { min-width: 0; overflow-wrap: anywhere; padding: 8px; border: 3px solid #0002; border-radius: 20px; text-align: left; }
.blog-framed-card > .blog-paragraph, .blog-framed-modal-caption .blog-paragraph { margin-bottom: 0; }
.blog-framed-card > .blog-framed-media, .blog-framed-card > .blog-paragraph:first-child .blog-inline-media { display: block; }
.blog-framed-card > .blog-framed-media > img, .blog-framed-card > .blog-paragraph:first-child .blog-inline-media > img, .blog-framed-card > .blog-paragraph:first-child .blog-inline-media > video { width: 100%; height: auto; max-height: none; object-fit: contain; }
.blog-inline .external-link-icon { width: 12px; height: 12px; vertical-align: baseline; }

.blog-ascii { display: flex; flex-wrap: wrap; row-gap: 20px; column-gap: 10px; }
.blog-art { cursor: pointer; max-width: min(390px, 100%); padding: 8px; border: 3px solid #0002; border-radius: 20px; white-space: break-spaces; line-height: 1.21em; }
.blog-art:hover { background-color: #0001; }
.blog-art:active { background-color: #0003; }
