/* ============================================================
   Blog / article typography — mirrors the homepage:
     headings  → IRANYekanX (Iran Yekan, bold)
     body text → Vazirmatn
   Only loaded on blog / article contexts (see functions.php).
   Body-class-prefixed selectors override the child theme's
   global `font-family: IRANSans !important` rules.
   ============================================================ */

@font-face {
	font-family: 'IRANYekanX';
	src: url('../fonts/IRANYekanX-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- Headings → Iran Yekan ---------- */
body.blog h1, body.blog h2, body.blog h3, body.blog h4, body.blog h5, body.blog h6,
body.single-post h1, body.single-post h2, body.single-post h3, body.single-post h4, body.single-post h5, body.single-post h6,
body.archive h1, body.archive h2, body.archive h3, body.archive h4, body.archive h5, body.archive h6,
body.search h1, body.search h2, body.search h3, body.search h4, body.search h5, body.search h6,
body.blog .blog-title, body.single-post .blog-title, body.archive .blog-title,
body.blog .sec-title, body.single-post .sec-title, body.archive .sec-title,
body.blog .widget_title, body.single-post .widget_title, body.archive .widget_title,
body.blog .widget-title, body.single-post .widget-title, body.archive .widget-title,
body.blog .wp-block-heading, body.single-post .wp-block-heading, body.archive .wp-block-heading {
	font-family: 'IRANYekanX', 'Vazirmatn', sans-serif !important;
}

/* ---------- Body text → Vazirmatn ---------- */
body.blog, body.single-post, body.archive, body.search,
body.blog p, body.single-post p, body.archive p, body.search p,
body.blog li, body.single-post li, body.archive li, body.search li,
body.blog a, body.single-post a, body.archive a, body.search a,
body.blog span, body.single-post span, body.archive span, body.search span,
body.blog td, body.single-post td, body.archive td,
body.blog th, body.single-post th, body.archive th,
body.blog .blog-text, body.single-post .blog-text, body.archive .blog-text,
body.blog .blog-meta, body.single-post .blog-meta, body.archive .blog-meta,
body.blog .blog-meta a, body.single-post .blog-meta a, body.archive .blog-meta a,
body.blog blockquote, body.single-post blockquote, body.archive blockquote,
body.blog .widget, body.single-post .widget, body.archive .widget,
body.blog input, body.single-post input, body.archive input, body.search input,
body.blog button, body.single-post button, body.archive button, body.search button,
body.blog textarea, body.single-post textarea {
	font-family: 'Vazirmatn', 'IRANSans', sans-serif !important;
}
