/* tailwind-typography (inlinefallback.min.css 兼容层 — 本地版

   用途：替代 cdn.tailwindcss.com?plugins=typography 在本地无外部资源版本
   由于服务器 CSP 禁止拉取 cdn.tailwindcss.com 后，exhibitionnews/detail 页面使用的富文本区域缺少 .prose 系列排版样式
   本文件将基础 prose 类的最小集合，配合项目用在富文本内容默认从 cdn 下载的 typography 插件效果。
   保留原始语义：和 Tailwind typography 缺省样式，颜色与间距
*/

.prose {
  color: #374151;
  max-width: 65ch;
  font-size: 1rem;
  line-height: 1.75;
}
.prose [class~="lead"] {
  color: #4b5563;
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}
.prose a {
  color: #111827;
  text-decoration: underline;
  font-weight: 500;
}
.prose strong {
  color: #111827;
  font-weight: 600;
}
.prose a strong {
  color: #111827;
}
.prose h1 a,
.prose h2 a,
.prose h3 a,
.prose h4 a {
  color: inherit;
  font-weight: inherit;
}
.prose blockquote {
  color: #111827;
  border-left-width: 0.25rem solid #e5e7eb;
  border-left-color: #d1d5db;
  quotes: "\201C" "\201D" "\2018" "\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-left: 1em;
  font-style: italic;
}
.prose blockquote p:first-of-type::before {
  content: open-quote;
}
.prose blockquote p:last-of-type::after {
  content: close-quote;
}
.prose h1 {
  color: #111827;
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}
.prose h2 {
  color: #111827;
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}
.prose h3 {
  color: #111827;
  font-size: 1.25em;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}
.prose h4 {
  color: #111827;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}
.prose figure figcaption {
  color: #6b7280;
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}
.prose code {
  color: #111827;
  font-weight: 600;
  font-size: 0.875em;
}
.prose code::before {
  content: "`";
}
.prose code::after {
  content: "`";
}
.prose pre {
  color: #e5e7eb;
  background-color: #1f2937;
  overflow-x: auto;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding-top: 0.8571429em;
  padding-right: 1.1428571em;
  padding-bottom: 0.8571429em;
  padding-left: 1.1428571em;
}
.prose pre code {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: 400;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
.prose pre code::before,
.prose pre code::after {
  content: "";
}
.prose ol,
.prose ul {
  padding-left: 1.625em;
}
.prose ul {
  list-style-type: disc;
}
.prose ol {
  list-style-type: decimal;
}
.prose ul > li + li {
  margin-top: 0.25em;
}
.prose ol > li + li {
  margin-top: 0.25em;
}
.prose ul > li::marker {
  color: #9ca3af;
}
.prose ol > li::marker {
  color: #9ca3af;
  font-weight: 400;
}
.prose hr {
  border-color: #e5e7eb;
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
}
.prose img {
  margin-top: 2em;
  margin-bottom: 2em;
  border-radius: 0.5rem;
}
.prose video {
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose figure {
  margin-top: 2em;
  margin-bottom: 2em;
}
.prose table {
  width: 100%;
  table-layout: auto;
  text-align: left;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}
.prose thead {
  color: #111827;
  font-weight: 600;
  border-bottom-width: 1px;
  border-bottom-color: #d1d5db;
}
.prose thead th {
  vertical-align: bottom;
  padding-right: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-left: 0.5714286em;
}
.prose tbody tr {
  border-bottom-width: 1px;
  border-bottom-color: #e5e7eb;
}
.prose tbody tr:last-child {
  border-bottom-width: 0;
}
.prose tbody td {
  vertical-align: baseline;
  padding-top: 0.5714286em;
  padding-right: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-left: 0.5714286em;
}
.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}
.prose h2 + * {
  margin-top: 0;
}
.prose h3 + * {
  margin-top: 0;
}
.prose h4 + * {
  margin-top: 0;
}
.prose :where(.prose > ul > li p) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.prose :where(.prose > ol > li p) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.prose :where(.prose > ul > li > :first-child) {
  margin-top: 1.25em;
}
.prose :where(.prose > ul > li > :last-child) {
  margin-bottom: 1.25em;
}
.prose :where(.prose > ol > li > :first-child) {
  margin-top: 1.25em;
}
.prose :where(.prose > ol > li > :last-child) {
  margin-bottom: 1.25em;
}
.prose > :first-child {
  margin-top: 0 !important;
}
.prose > :last-child {
  margin-bottom: 0 !important;
}

.prose-sm {
  font-size: 0.875rem;
  line-height: 1.7142857;
}
.prose-lg {
  font-size: 1.125rem;
  line-height: 1.7777778;
}
.prose-xl {
  font-size: 1.25rem;
  line-height: 1.8;
}
.prose-invert {
  color: #d1d5db;
}
.prose-invert [class~="lead"],
.prose-invert a,
.prose-invert strong,
.prose-invert h1,
.prose-invert h2,
.prose-invert h3,
.prose-invert h4,
.prose-invert blockquote {
  color: #f9fafb;
}
