/*
Theme Name: Ameryaran
Theme URI: https://ameryaran.com/
Description: قالب بلوکی اختصاصی آمریاران. فقط ظاهر (فونت، رنگ، قالب صفحه‌ها) را نگه می‌دارد؛ نمونه‌کارها و محصولات در افزونه‌ی «آمریاران - سایت» هستند.
Author: علی جرجانی
Author URI: https://ameryaran.com/
Version: 0.3.0
Requires at least: 7.0
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: ameryaran
*/

/* Only what theme.json cannot express. Logical properties keep one file valid for RTL and LTR. */

:where(body) {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks > header {
	border-block-end: 1px solid var(--wp--preset--color--line);
}

.wp-site-blocks > footer {
	border-block-start: 1px solid var(--wp--preset--color--line);
}

/* Card and archive titles (post-title block, isLink true): no underline, hover or not — the card itself already
 * shows the hover state (image, chip, stretched-link), and most of these titles wrap to two lines, where an
 * underline reads as clutter rather than affordance. */
.wp-block-post-title a {
	text-decoration: none;
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--brass);
	outline-offset: 3px;
}

.wp-block-post-terms a {
	text-decoration: none;
}

.ayh-meta {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--stone);
}

.wp-block-quote {
	border: 0;
	border-inline-start: 3px solid var(--wp--preset--color--brass);
	padding-inline-start: 1.25rem;
}

.ayh-logo {
	display: block;
	line-height: 0;
}

.ayh-logo img {
	display: block;
	block-size: 4.5rem;
	inline-size: auto;
}
