.prose-like {
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.8;
}

.prose-like h1,
.prose-like h2,
.prose-like h3,
.prose-like h4 {
  color: var(--foreground);
  font-weight: 600;
  line-height: 1.3;
  margin: 1.6em 0 0.7em;
}

.prose-like p,
.prose-like ul,
.prose-like ol,
.prose-like table,
.prose-like img {
  margin: 1em 0;
}

.prose-like img {
  border-radius: 8px;
  height: auto;
  max-width: 100%;
}

.static-lightbox-panel {
  position: relative;
}

.static-lightbox-close {
  align-items: center;
  background: white;
  border: 1px solid oklch(92% 0.005 90);
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  position: absolute;
  right: 24px;
  top: 24px;
  width: 40px;
}

.static-lightbox-doctor {
  background: rgb(0 0 0 / 48%);
}

.static-lightbox-doctor .static-lightbox-panel {
  background: white;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgb(15 23 42 / 22%);
  max-height: calc(100vh - 48px);
  max-width: min(92vw, 512px);
  overflow: auto;
  padding: 24px 44px 26px;
  width: min(92vw, 512px);
}

.static-lightbox-doctor .static-lightbox-media {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 100%;
  width: 324px;
}

.static-lightbox-doctor img {
  border-radius: 0;
  display: block;
  max-height: min(72vh, 580px);
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.static-lightbox-doctor .static-lightbox-close {
  border: 0;
  color: #64748b;
  height: 32px;
  right: 12px;
  top: 12px;
  width: 32px;
}

.static-lightbox-caption {
  margin-top: 16px;
  text-align: center;
}

.static-lightbox-caption strong,
.static-lightbox-caption span {
  display: block;
}

.static-lightbox-caption strong {
  color: var(--foreground);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.static-lightbox-caption span {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 2px;
}

.prose-like ul,
.prose-like ol {
  padding-left: 1.4em;
}

.prose-like ul {
  list-style: disc;
}

.prose-like ol {
  list-style: decimal;
}

@media (max-width: 640px) {
  .static-lightbox-doctor .static-lightbox-panel {
    max-width: calc(100vw - 24px);
    padding: 18px 18px 22px;
    width: calc(100vw - 24px);
  }

  .static-lightbox-doctor img {
    max-height: 70vh;
  }
}
