/* ---------------------------------------------------------------
 * Reading page layout
 * (custom @font-face rules live in custom-fonts.css, loaded as
 * a dependency by the plugin so they're not duplicated here)
 * ------------------------------------------------------------- */
body.single-post {
	background: #FDFCF8;
}

.anasi-reader {
	background: #FDFCF8;
	padding: 48px 16px 80px;
	box-sizing: border-box;
}

.anasi-reader *,
.anasi-reader *::before,
.anasi-reader *::after {
	box-sizing: border-box;
}

.anasi-reader-container {
	max-width: 760px;
	margin: 0 auto;
}

.anasi-reader-category {
	text-align: center;
	color: #b45309;
	font-weight: 700;
	font-size: 14px;
	margin: 0 0 12px;
}

.anasi-reader .anasi-reader-title {
	text-align: center;
	font-family: 'Thmanyah Serif Display', 'Sakkal Majalla', 'Tajawal', sans-serif !important;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.5;
	color: #1a1a1a;
	margin: 0 0 24px;
}

.anasi-reader-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 32px;
}

.anasi-reader-avatar {
	border-radius: 50%;
	display: block;
}

.anasi-reader-meta-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.anasi-reader-author {
	font-family: 'Thmanyah Serif Text', 'Sakkal Majalla', 'Tajawal', sans-serif !important;
	font-weight: 700;
	background: #fde68a;
	padding: 1px 8px;
	border-radius: 4px;
	width: fit-content;
	font-size: 14px;
	color: #1a1a1a;
}

.anasi-reader-date {
	font-size: 13px;
	color: #6b7280;
}

.anasi-reader-thumb {
	margin: 0 0 32px;
}

.anasi-reader-thumb-img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
}

.anasi-reader-thumb-caption {
	text-align: center;
	font-size: 12px;
	color: #9ca3af;
	margin: 8px 0 0;
}

.anasi-reader-content {
	font-family: 'Sakkal Majalla', 'Thmanyah Serif Text', 'Tajawal', serif;
	font-size: 19px;
	line-height: 2;
	color: #333333;
}

.anasi-reader-content p {
	margin: 0 0 24px;
	text-align: justify;
	text-align-last: right;
}

.anasi-reader-intro {
	background: #f5f4f0;
	border-radius: 8px;
	padding: 20px 24px;
	margin: 0 0 32px;
}

.anasi-reader-intro p {
	margin: 0;
}

.anasi-reader-content h2,
.anasi-reader-content h3,
.anasi-reader-content h4 {
	text-align: center;
	font-family: 'Thmanyah Serif Display', 'Sakkal Majalla', 'Tajawal', sans-serif !important;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.6;
	margin: 40px 0 20px;
}

.anasi-reader-content blockquote {
	border-right: 4px solid #1a1a1a;
	padding: 8px 24px;
	margin: 32px 0;
	font-size: 21px;
	font-style: italic;
	color: #1a1a1a;
}

.anasi-reader-content figure.wp-block-image {
	margin: 32px 0;
}

.anasi-reader-content figure.wp-block-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

.anasi-reader-content figure.wp-block-image figcaption {
	text-align: center;
	font-size: 13px;
	color: #9ca3af;
	margin-top: 8px;
}

.anasi-reader-content .has-text-align-center { text-align: center; }
.anasi-reader-content .has-text-align-right { text-align: right; }
.anasi-reader-content .has-text-align-left { text-align: left; }

@media (max-width: 600px) {
	.anasi-reader-title { font-size: 26px; }
	.anasi-reader-content { font-size: 17px; }
	.anasi-reader-content blockquote { font-size: 18px; }
}
