/* Front-end blog: article prose + small helpers used by post.php / category.php / archive.php */

/* line-clamp fallback (in case the Tailwind Play CDN build in use predates core line-clamp) */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-prose {
  font-size: 17px;
  line-height: 1.85;
  color: #1c1f3a;
}
.article-prose > * + * { margin-top: 1.25em; }

.article-prose h2 {
  font-weight: 900;
  font-size: 1.5em;
  letter-spacing: 0.01em;
  color: #12153f;
  margin-top: 1.8em;
}
.article-prose h3 {
  font-weight: 800;
  font-size: 1.25em;
  color: #12153f;
  margin-top: 1.6em;
}
.article-prose h4 {
  font-weight: 800;
  font-size: 1.1em;
  color: #12153f;
}

.article-prose p { }

.article-prose a {
  color: #3357e0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-prose a:hover { color: #1c2b73; }

.article-prose strong, .article-prose b { font-weight: 800; color: #12153f; }

.article-prose ul, .article-prose ol {
  padding-left: 1.4em;
}
.article-prose ul { list-style: disc; }
.article-prose ol { list-style: decimal; }
.article-prose li + li { margin-top: 0.5em; }

.article-prose blockquote {
  border-left: 3px solid #3357e0;
  background: #f7f8fc;
  border-radius: 0 12px 12px 0;
  padding: 1.1em 1.4em;
  font-weight: 600;
  color: #12153f;
  font-style: italic;
}
.article-prose blockquote cite {
  display: block;
  margin-top: 0.6em;
  font-size: 0.6em;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #12153f99;
}

.article-prose figure { margin: 0; }
.article-prose figure img {
  width: 100%;
  border-radius: 14px;
  display: block;
}
.article-prose figcaption {
  text-align: center;
  font-size: 0.55em;
  color: #12153f66;
  margin-top: 0.6em;
}

.article-prose mark {
  background: #4fb3ff33;
  padding: 0 0.15em;
  border-radius: 3px;
}

.article-delimiter {
  text-align: center;
  letter-spacing: 0.5em;
  color: #12153f33;
  font-weight: 700;
}

.article-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #0c0f33;
}
.article-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.article-embed-caption {
  text-align: center;
  font-size: 0.8em;
  color: #12153f66;
  margin-top: 0.5em !important;
}
