/* ===========================================
   Darija as a Living Archive
   Post 2924
   Dedicated article styling
   =========================================== */

body.postid-2924 {
	background:
		linear-gradient(rgba(18, 24, 20, 0.34), rgba(18, 24, 20, 0.34)),
		url("https://darjarihla.com/wp-content/uploads/2026/10/darija-living-archive-background.webp") center center / cover no-repeat fixed;
}

/* Keep shared architecture intact, but remove heavy dark fill feeling */
body.postid-2924 .wp-site-blocks,
body.postid-2924 .site-main,
body.postid-2924 .wp-block-post-content,
body.postid-2924 .entry-content,
body.postid-2924 article {
	background: transparent !important;
}

/* Main readable article surface */
body.postid-2924 .wp-block-post-content,
body.postid-2924 .entry-content {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
	padding: clamp(24px, 3vw, 44px);
	background: rgba(247, 242, 232, 0.82) !important;
	border: 1px solid rgba(146, 126, 90, 0.16);
	border-radius: 20px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

/* Keep text column comfortably centered and readable */
body.postid-2924 .wp-block-post-content > *,
body.postid-2924 .entry-content > * {
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
}

/* Allow images to breathe a little wider than the text column */
body.postid-2924 .wp-block-post-content > figure,
body.postid-2924 .entry-content > figure,
body.postid-2924 .wp-block-post-content > .wp-block-image,
body.postid-2924 .entry-content > .wp-block-image {
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

/* Readable running text only */
body.postid-2924 .wp-block-post-content p,
body.postid-2924 .wp-block-post-content li,
body.postid-2924 .wp-block-post-content blockquote,
body.postid-2924 .wp-block-post-content figcaption,
body.postid-2924 .entry-content p,
body.postid-2924 .entry-content li,
body.postid-2924 .entry-content blockquote,
body.postid-2924 .entry-content figcaption {
	font-family: "Source Sans 3", Arial, Helvetica, sans-serif !important;
	font-size: clamp(1.08rem, 1.02rem + 0.18vw, 1.16rem);
	line-height: 1.85;
	letter-spacing: 0;
	color: #1f2430;
	text-align: left;
}

/* Stronger paragraph rhythm */
body.postid-2924 .wp-block-post-content p,
body.postid-2924 .entry-content p {
	margin-top: 0;
	margin-bottom: 1.15em;
}

/* Lists */
body.postid-2924 .wp-block-post-content ul,
body.postid-2924 .wp-block-post-content ol,
body.postid-2924 .entry-content ul,
body.postid-2924 .entry-content ol {
	padding-left: 1.35em;
}

/* Links */
body.postid-2924 .wp-block-post-content a,
body.postid-2924 .entry-content a {
	color: #8a6128;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

/* Captions */
body.postid-2924 .wp-block-post-content figcaption,
body.postid-2924 .entry-content figcaption {
	font-size: 0.96rem;
	line-height: 1.6;
	color: #4a4f58;
	margin-top: 0.75rem;
}

/* Images */
body.postid-2924 .wp-block-post-content img,
body.postid-2924 .entry-content img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}

/* Blockquotes remain readable but distinct */
body.postid-2924 .wp-block-post-content blockquote,
body.postid-2924 .entry-content blockquote {
	padding-left: 1.1rem;
	border-left: 3px solid rgba(138, 97, 40, 0.42);
	color: #313744;
}

/* Mobile refinement */
@media (max-width: 680px) {
	body.postid-2924 .wp-block-post-content,
	body.postid-2924 .entry-content {
		padding: 18px;
		border-radius: 16px;
	}

	body.postid-2924 .wp-block-post-content > *,
	body.postid-2924 .entry-content > * {
		max-width: 100%;
	}

	body.postid-2924 .wp-block-post-content p,
	body.postid-2924 .wp-block-post-content li,
	body.postid-2924 .wp-block-post-content blockquote,
	body.postid-2924 .entry-content p,
	body.postid-2924 .entry-content li,
	body.postid-2924 .entry-content blockquote {
		font-size: 1.04rem;
		line-height: 1.78;
	}
}

/* =========================================================
   DR POST 2924 CONTRAST PASS 01
   Light parchment article reading surface
   ========================================================= */

/* Article headings only, not the dark masthead */
body.postid-2924 .dr-single-content h2,
body.postid-2924 .dr-single-content h3,
body.postid-2924 .dr-single-content h4,
body.postid-2924 .dr-single-content h5,
body.postid-2924 .dr-single-content h6 {
    color: #252920 !important;
}

/* Preserve heading typography while fixing inherited light text */
body.postid-2924 .dr-single-content h2 *,
body.postid-2924 .dr-single-content h3 *,
body.postid-2924 .dr-single-content h4 * {
    color: inherit !important;
}

/* Bold and italic phrases inside the reading column */
body.postid-2924 .dr-single-content p strong,
body.postid-2924 .dr-single-content p em,
body.postid-2924 .dr-single-content li strong,
body.postid-2924 .dr-single-content li em {
    color: #252920 !important;
}

/* Consistent paragraph and list contrast */
body.postid-2924 .dr-single-content p,
body.postid-2924 .dr-single-content li {
    color: #28302c;
}

/* Research citations remain visually distinguishable */
body.postid-2924 .dr-single-content a {
    color: #80551e;
    text-underline-offset: 0.18em;
}

/* Captions */
body.postid-2924 .dr-single-content figcaption {
    color: #484b43 !important;
}


/* =========================================================
   DR POST 2924 FULL TRANSPARENCY PASS 02
   No opaque or translucent article canvas.
   ========================================================= */

body.postid-2924 .dr-single-body-wrap,
body.postid-2924 .dr-single-content-wrap,
body.postid-2924 .dr-single-content,
body.postid-2924 .wp-block-post-content,
body.postid-2924 .entry-content {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Readable body typography against the dark museum background */
body.postid-2924 .dr-single-content p,
body.postid-2924 .dr-single-content li,
body.postid-2924 .dr-single-content blockquote,
body.postid-2924 .dr-single-content strong,
body.postid-2924 .dr-single-content em {
    font-family: "Source Sans 3", Arial, Helvetica, sans-serif !important;
    color: #f3eee4 !important;
    line-height: 1.85;
    text-shadow: 0 1px 3px rgba(0,0,0,0.65);
}

/* Heading contrast */
body.postid-2924 .dr-single-content h2,
body.postid-2924 .dr-single-content h3,
body.postid-2924 .dr-single-content h4,
body.postid-2924 .dr-single-content h5,
body.postid-2924 .dr-single-content h6,
body.postid-2924 .dr-single-content h2 *,
body.postid-2924 .dr-single-content h3 *,
body.postid-2924 .dr-single-content h4 * {
    color: #fff4dd !important;
}

/* Links and source references */
body.postid-2924 .dr-single-content a {
    color: #e6c58a !important;
}

/* Image captions */
body.postid-2924 .dr-single-content figcaption,
body.postid-2924 .dr-single-content figcaption * {
    color: #e1ded4 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.65);
}

/* Leave images intact */
body.postid-2924 .dr-single-content figure {
    margin-inline: auto;
    max-width: 100%;
}

