.post-content, .post-content-text, .post-gallery { min-width: 0; }
.post-content-text { overflow-wrap: anywhere; }
.post-content:not(.post-content--with-images) .post-content-text { width: 100%; max-width: none; }
.post-gallery { margin-bottom: 1rem; }
.post-gallery-stage { position: relative; }
.post-gallery-track { display: flex; }
.post-gallery-slide { display: block; padding: 0; min-width: 0; overflow: hidden; border: 0; border-radius: .75rem; background: transparent; cursor: zoom-in; }
.post-gallery-slide img { display: block; width: auto; max-width: 100%; max-height: 400px; object-fit: contain; }
.post-gallery-track--multiple { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.post-gallery-track--multiple .post-gallery-slide { aspect-ratio: 1; }
.post-gallery-track--multiple img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.post-gallery-arrow, .post-gallery-count, .post-gallery-dots { display: none; }
.post-gallery button:focus-visible { outline: 3px solid #0284c7; outline-offset: -3px; }
@media (min-width: 1024px) {
    .post-content--with-images { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
    .post-gallery { margin-bottom: 0; }
    .post-gallery-track { display: flex; align-items: flex-start; gap: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: .75rem; }
    .post-gallery-track::-webkit-scrollbar { display: none; }
    .post-gallery-track .post-gallery-slide { flex: 0 0 100%; width: 100%; aspect-ratio: auto; scroll-snap-align: start; scroll-snap-stop: always; }
    .post-gallery-track .post-gallery-slide img { width: auto; height: auto; max-width: 100%; max-height: min(400px, 55vh); margin-inline: auto; object-fit: contain; object-position: center top; }
    .post-gallery-count { display: block; position: absolute; top: .75rem; right: .75rem; padding: .2rem .6rem; border-radius: 1rem; background: rgb(15 23 42 / .7); color: white; font-size: 12px; pointer-events: none; }
    .post-gallery-arrow { display: grid; place-items: center; position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgb(255 255 255 / .9); color: #1e293b; box-shadow: 0 1px 6px #0003; cursor: pointer; }
    .post-gallery-arrow:disabled { opacity: .35; cursor: default; }
    .post-gallery-prev { left: .5rem; }
    .post-gallery-next { right: .5rem; }
    .post-gallery-dots { display: flex; justify-content: center; gap: 2px; padding-top: 6px; }
    .post-gallery-dot { display: grid; place-items: center; width: 28px; height: 28px; cursor: pointer; }
    .post-gallery-dot span { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; }
    .post-gallery-dot[aria-current="true"] span { background: #0284c7; transform: scale(1.25); }
}

@media (min-width: 1024px) {
    .post-gallery-track--multiple .post-gallery-slide { cursor: grab; user-select: none; }
    .post-gallery-track--multiple img { -webkit-user-drag: none; }
    .post-gallery-track.is-dragging { scroll-snap-type: none; }
    .post-gallery-track.is-dragging .post-gallery-slide { cursor: grabbing; }
}

@media (min-width: 1024px) {
    .post-ad-image { margin-bottom: 0; border: 0; background: transparent; box-shadow: none; }
    .post-ad-image img { width: auto; height: auto; max-width: 100%; max-height: min(400px, 55vh); margin-inline: auto; object-fit: contain; }
}
