/* فونت سراسری */
body {
	font-family: "IRANSans", tahoma, sans-serif;
	line-height: 1.75;
	direction: rtl;
	background: #ffffff;
	color: #212121;
	margin: 0;
}

/* حداکثر عرض محتوای متنی برای خوانایی بهتر */
article, .entry-content, .site-main {
	max-width: 720px;
	margin: auto;
	padding: 24px;
}

/* تیترها */
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	margin: 1.5em 0 .8em;
	line-height: 1.3;
	color: #ff5722;
}

/* لینک‌ها */
a {
	color: #0077ff;
	text-decoration: none;
}

a:hover {
	color: #005ad4;
	text-decoration: underline;
}

/* دکمه‌ها (کلاس عمومی) */
.btn, .button, button, input[type=submit] {
	background: #ff5722;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 24px;
	cursor: pointer;
	transition: background .2s ease-in-out;
}

.btn:hover, .button:hover, button:hover, input[type=submit]:hover {
	background: #e64a19;
}

/* فرم‌ها */
input[type=text], input[type=email], textarea, select {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 8px 12px;
	width: 100%;
}

/* تصاویر واکنش‌گرا */
img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

/* فاصله‌بندی پاراگراف‌ها */
p {
	margin: 0 0 1.25em;
}

/* جدول‌ها */
table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5em;
}

th, td {
	padding: 12px;
	border: 1px solid #e0e0e0;
	text-align: right;
}

/* کد (Code Block) */
pre, code {
	background: #f5f5f5;
	border-radius: 6px;
	padding: 4px 8px;
	direction: ltr;
}

/* واکنش‌گرایی */
@media (max-width: 640px) {
	article, .entry-content, .site-main {
		padding: 16px;
	}
}
