/* ==========================================================================
   Blog article typography. The theme's markup used a Tailwind "prose"
   class name but the typography plugin was never compiled into main.css,
   so post content (headings, lists, links, quotes) rendered with zero
   styling. This file gives qoi-article-content real, brand-matched rules.
   ========================================================================== */

.qoi-article-content {
	color: var(--foreground, #14211c);
	font-size: 1.0625rem;
	line-height: 1.75;
}

.qoi-article-content > * + * {
	margin-top: 1.25em;
}

.qoi-article-content h2 {
	font-family: var(--font-display, inherit);
	font-size: 1.5rem;
	line-height: 1.3;
	color: var(--foreground, #14211c);
	margin-top: 2.25em;
	margin-bottom: 0.6em;
}
.qoi-article-content h3 {
	font-family: var(--font-display, inherit);
	font-size: 1.25rem;
	line-height: 1.35;
	color: var(--foreground, #14211c);
	margin-top: 1.9em;
	margin-bottom: 0.5em;
}
.qoi-article-content h4 {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--foreground, #14211c);
	margin-top: 1.6em;
	margin-bottom: 0.4em;
}

.qoi-article-content p {
	color: var(--muted-foreground, #5b6660);
}

.qoi-article-content strong {
	color: var(--foreground, #14211c);
	font-weight: 700;
}

.qoi-article-content a {
	color: var(--primary, #0f6b4f);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.qoi-article-content a:hover {
	color: var(--primary-deep, #0a3d2e);
}

.qoi-article-content ul,
.qoi-article-content ol {
	padding-left: 1.25em;
	color: var(--muted-foreground, #5b6660);
}
.qoi-article-content ul {
	list-style: disc;
}
.qoi-article-content ol {
	list-style: decimal;
}
.qoi-article-content li + li {
	margin-top: 0.5em;
}
.qoi-article-content li::marker {
	color: var(--primary, #0f6b4f);
}

.qoi-article-content blockquote {
	border-left: 3px solid var(--gold, #c8a24a);
	background: var(--sand, #f6f1e7);
	padding: 0.9em 1.25em;
	border-radius: 0.5rem;
	font-style: italic;
	color: var(--foreground, #14211c);
}

.qoi-article-content img {
	border-radius: 1rem;
	width: 100%;
	height: auto;
}

.qoi-article-content hr {
	border: none;
	border-top: 1px solid var(--border, #e5e1d8);
	margin: 2.5em 0;
}

.qoi-article-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}
.qoi-article-content th,
.qoi-article-content td {
	border: 1px solid var(--border, #e5e1d8);
	padding: 0.6em 0.8em;
	text-align: left;
}
.qoi-article-content th {
	background: var(--sand, #f6f1e7);
	color: var(--foreground, #14211c);
	font-weight: 700;
}

/* A Table of Contents block (common in long-form Quran-learning guides)
   dropped in as a plain list should still look intentional. */
.qoi-article-content > ul:first-child,
.qoi-article-content > ol:first-child {
	background: var(--card, #fff);
	border: 1px solid var(--border, #e5e1d8);
	border-radius: 0.75rem;
	padding: 1.25em 1.5em 1.25em 2.25em;
}
