/*
 Theme Name:	Astra Child
 Theme URI:		https://www.zhaket.com/store/web/nagatheme/
 Description:	Astra Child Theme Developed By NagaTheme
 Author:		NagaTheme
 Author URI:	https://NagaTheme.com
 License:		GNU General Public License v2 or later
 License URI:	http://www.gnu.org/licenses/gpl-2.0.html
 text-domain:	astra-child
 Template:		astra
 Version:		3.9.2
*/

/* = Theme customization starts below here = is blocked by functions.php
------------------------------------------------------------------------ */

/* ===== Dr Soroush Persian typography and article system — 2026-09 ===== */
:root {
	--drsb-ink: #17212b;
	--drsb-muted: #5f6b76;
	--drsb-primary: #0b6477;
	--drsb-primary-dark: #074b5a;
	--drsb-accent: #c79652;
	--drsb-soft: #f5fafb;
	--drsb-warm: #fff9f1;
	--drsb-border: #dbe7ea;
	--drsb-radius: 18px;
}

html[lang="fa-IR"] body,
html[lang="fa-IR"] button,
html[lang="fa-IR"] input,
html[lang="fa-IR"] select,
html[lang="fa-IR"] textarea {
	font-family: IRANSansFa, Tahoma, Arial, sans-serif !important;
	font-feature-settings: "kern" 1;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

html[lang="fa-IR"] h1,
html[lang="fa-IR"] h2,
html[lang="fa-IR"] h3,
html[lang="fa-IR"] h4,
html[lang="fa-IR"] h5,
html[lang="fa-IR"] h6,
html[lang="fa-IR"] .entry-title,
html[lang="fa-IR"] .site-title {
	font-family: IRANSansFaB, IRANSansFa, Tahoma, Arial, sans-serif !important;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--drsb-ink);
}

html[lang="fa-IR"] body {
	color: var(--drsb-ink);
	line-height: 1.9;
}

.single-post .site-content {
	background: linear-gradient(180deg, #f4f8f9 0, #ffffff 420px);
}

.single-post .ast-container {
	max-width: 1120px;
}

.single-post .site-main > article {
	max-width: 920px;
	margin-inline: auto;
	padding: clamp(24px, 4vw, 56px);
	background: #fff;
	border: 1px solid rgba(219, 231, 234, .9);
	border-radius: 24px;
	box-shadow: 0 18px 55px rgba(13, 58, 70, .08);
}

.single-post .entry-header {
	margin-bottom: 28px;
	text-align: right;
}

.single-post .entry-title {
	font-size: clamp(1.9rem, 3.7vw, 2.8rem);
	line-height: 1.45;
	margin-bottom: 16px;
}

.single-post .entry-meta {
	color: var(--drsb-muted);
	font-size: .9rem;
}

.single-post .post-thumb img,
.single-post .wp-post-image {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--drsb-radius);
	box-shadow: 0 12px 34px rgba(15, 55, 66, .12);
}

.single-post .entry-content {
	font-size: clamp(1.02rem, 1.3vw, 1.13rem);
	line-height: 2.05;
	color: var(--drsb-ink);
}

.single-post .entry-content > p {
	margin-bottom: 1.35em;
}

.single-post .entry-content h2 {
	font-size: clamp(1.45rem, 2.4vw, 1.85rem);
	line-height: 1.55;
	margin: 2.2em 0 .8em;
	padding-right: 15px;
	border-right: 4px solid var(--drsb-accent);
}

.single-post .entry-content h3 {
	font-size: clamp(1.18rem, 1.8vw, 1.4rem);
	line-height: 1.65;
	margin: 1.8em 0 .65em;
	color: var(--drsb-primary-dark);
}

.single-post .entry-content ul,
.single-post .entry-content ol {
	margin: 1em 0 1.6em;
	padding-right: 1.4em;
}

.single-post .entry-content li {
	margin-bottom: .7em;
	padding-right: .25em;
}

.single-post .entry-content li::marker {
	color: var(--drsb-primary);
	font-weight: 700;
}

.single-post .entry-content a {
	color: var(--drsb-primary);
	font-weight: 600;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.single-post .entry-content a:hover {
	color: var(--drsb-primary-dark);
}

.single-post .ds-lead {
	margin: 0 0 2rem;
	padding: 22px 24px;
	background: var(--drsb-soft);
	border: 1px solid var(--drsb-border);
	border-radius: var(--drsb-radius);
	font-size: 1.08em;
	line-height: 2.05;
}

.single-post .ds-cta {
	margin: 3rem 0 2rem;
	padding: clamp(24px, 4vw, 38px);
	background: linear-gradient(135deg, #edf8fa, var(--drsb-warm));
	border: 1px solid #d8e7e9;
	border-right: 6px solid var(--drsb-primary);
	border-radius: 22px;
	box-shadow: 0 14px 36px rgba(11, 100, 119, .1);
}

.single-post .ds-cta h2 {
	margin-top: 0;
	padding-right: 0;
	border-right: 0;
	color: var(--drsb-primary-dark);
}

.single-post .ds-cta a {
	display: inline-block;
	margin: .2rem .15rem;
	padding: .48rem .85rem;
	color: #fff;
	background: var(--drsb-primary);
	border-radius: 10px;
	text-decoration: none;
}

.single-post .ds-cta a:hover {
	color: #fff;
	background: var(--drsb-primary-dark);
	transform: translateY(-1px);
}

.single-post .ds-medical-note {
	margin-top: 2rem;
	padding: 14px 18px;
	color: var(--drsb-muted);
	background: #f7f7f7;
	border-radius: 12px;
	border-right: 3px solid #aeb8bf;
}

.single-post blockquote {
	margin: 2rem 0;
	padding: 20px 24px;
	background: var(--drsb-warm);
	border: 0;
	border-right: 5px solid var(--drsb-accent);
	border-radius: 14px;
}

.single-post .entry-content table {
	width: 100%;
	margin: 2rem 0;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border: 1px solid var(--drsb-border);
	border-radius: 14px;
}

.single-post .entry-content th {
	background: var(--drsb-primary-dark);
	color: #fff;
	font-family: IRANSansFaB, IRANSansFa, sans-serif;
}

.single-post .entry-content th,
.single-post .entry-content td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--drsb-border);
	text-align: right;
}

.blog .entry-title,
.archive .entry-title,
.search .entry-title {
	line-height: 1.65;
}

.blog .entry-summary,
.archive .entry-summary,
.search .entry-summary {
	font-size: 1rem;
	line-height: 1.95;
	color: var(--drsb-muted);
}

.ast-primary-header-bar .main-header-menu > .menu-item > .menu-link,
.site-footer,
.site-footer a {
	font-family: IRANSansFa, Tahoma, Arial, sans-serif !important;
}

@media (max-width: 768px) {
	.single-post .site-content {
		background: #fff;
	}

	.single-post .site-main > article {
		padding: 20px 17px 28px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.single-post .entry-title {
		font-size: 1.72rem;
		line-height: 1.55;
	}

	.single-post .entry-content {
		font-size: 1rem;
		line-height: 2;
	}

	.single-post .entry-content h2 {
		font-size: 1.38rem;
		margin-top: 2em;
	}

	.single-post .entry-content h3 {
		font-size: 1.16rem;
	}

	.single-post .ds-lead,
	.single-post .ds-cta {
		padding: 19px 17px;
		border-radius: 15px;
	}

	.single-post .ds-cta a {
		display: block;
		text-align: center;
		margin: .65rem 0 0;
	}
}
