/* ==========================================================================
   قالب گیاه پزشکان — مجله پزشکی، طراحی ادیتوریال گیاهی
   کاغذ عاجی، سبز جنگلی، سفالی؛ تیترهای نسخ، تصویرهای طاق‌دار
   ========================================================================== */

@font-face { font-family: "Naskh"; src: url("../fonts/NotoNaskhArabic-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("../fonts/Estedad-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("../fonts/Estedad-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("../fonts/Estedad-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Estedad"; src: url("../fonts/Estedad-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
	--gp-forest: #1F3D31;
	--gp-clay: #C8693E;

	--gp-forest-deep: color-mix(in srgb, var(--gp-forest) 82%, #000);
	--gp-moss: color-mix(in srgb, var(--gp-forest) 70%, #7FA88A);
	--gp-sage: #DCE6D4;
	--gp-sage-line: #C6D5BC;
	--gp-clay-soft: color-mix(in srgb, var(--gp-clay) 12%, #FFF8F1);

	--gp-paper: #F6F2EA;
	--gp-paper-2: #EEE7D9;
	--gp-ink: #1B2420;
	--gp-text: #38423C;
	--gp-muted: #6C7470;
	--gp-rule: #DAD1BF;

	--gp-serif: "Naskh", "Noto Naskh Arabic", "Times New Roman", serif;
	--gp-sans: "Estedad", Tahoma, "Segoe UI", sans-serif;
	--gp-latin: Georgia, "Times New Roman", serif;
	--gp-nav-h: 54px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--gp-nav-h) + 18px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	margin: 0;
	font-family: var(--gp-sans);
	font-size: 1rem;
	line-height: 1.95;
	color: var(--gp-text);
	background: var(--gp-paper);
	direction: rtl;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--gp-ink); font-family: var(--gp-serif); font-weight: 700; line-height: 1.55; }

:focus-visible { outline: 2px solid var(--gp-clay); outline-offset: 3px; border-radius: 4px; }

.gp-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 28px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.gp-hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0, 0, 0, 0); opacity: 0; }

.gp-skip { position: absolute; top: -60px; right: 16px; z-index: 300; padding: 10px 18px; background: var(--gp-forest); color: #fff; border-radius: 6px; }
.gp-skip:focus { top: 12px; }

.gp-icon { flex: none; width: 1.1em; height: 1.1em; }
.gp-site { display: block; overflow-x: clip; }
.gp-sprig { color: var(--gp-moss); }

/* ---------- دکمه و لینک ---------- */
.gp-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--gp-forest);
	color: #fff;
	font-family: var(--gp-sans);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s, gap 0.2s;
}

.gp-btn:hover { background: var(--gp-forest-deep); gap: 14px; }
.gp-btn .gp-icon { width: 18px; height: 18px; }

.gp-link-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gp-forest);
	font-size: 0.92rem;
	font-weight: 700;
	border-bottom: 1.5px solid var(--gp-clay);
	padding-bottom: 2px;
	transition: gap 0.2s, color 0.2s;
}

.gp-link-more:hover { gap: 10px; color: var(--gp-clay); }
.gp-link-more .gp-icon { width: 16px; height: 16px; }

.gp-kicker {
	display: inline-block;
	color: var(--gp-clay);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.gp-kicker:hover { color: var(--gp-forest); }

.gp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; color: var(--gp-muted); font-size: 0.8rem; }

.gp-icon-btn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--gp-rule);
	border-radius: 50%;
	background: transparent;
	color: var(--gp-ink);
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.gp-icon-btn:hover, .gp-icon-btn[aria-expanded="true"] { border-color: var(--gp-forest); background: var(--gp-forest); color: #fff; }
.gp-icon-btn .gp-icon { width: 19px; height: 19px; }

/* ---------- سربرگ (ماست‌هد وسط‌چین) ---------- */
.gp-masthead { background: var(--gp-paper); }

.gp-mast-row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
	padding-block: 22px 18px;
}

.gp-mast-side { display: flex; align-items: center; gap: 12px; }
.gp-mast-end { justify-content: flex-end; }
.gp-today { color: var(--gp-muted); font-size: 0.85rem; }
.gp-menu-toggle { display: none; }

.gp-mast-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }

.gp-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--gp-forest); }
.gp-mark { width: 52px; height: 52px; flex: none; }
.gp-logo-name { font-family: var(--gp-serif); font-size: 2.35rem; font-weight: 700; line-height: 1.2; }
.gp-mast-tagline { margin: 2px 0 0; color: var(--gp-muted); font-size: 0.84rem; }
.custom-logo { width: auto; max-height: 72px; }

.gp-social { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }

.gp-social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: var(--gp-forest);
	transition: background-color 0.2s, color 0.2s;
}

.gp-social a:hover { background: var(--gp-forest); color: #fff; }
.gp-social .gp-icon { width: 17px; height: 17px; }

/* منو */
.gp-nav {
	position: sticky;
	top: 0;
	z-index: 60;
	background: color-mix(in srgb, var(--gp-paper) 94%, transparent);
	backdrop-filter: blur(8px);
	border-top: 1px solid var(--gp-rule);
	border-bottom: 3px double var(--gp-rule);
}

.admin-bar .gp-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .gp-nav { top: 0; } }

.gp-nav-inner { display: flex; justify-content: center; }
.gp-menu, .gp-menu ul { margin: 0; padding: 0; list-style: none; }
.gp-menu { display: flex; flex-wrap: wrap; justify-content: center; }
.gp-menu > li { position: relative; }

.gp-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	height: var(--gp-nav-h);
	padding: 0 18px;
	color: var(--gp-ink);
	font-size: 0.95rem;
	font-weight: 600;
	transition: color 0.2s;
}

.gp-menu > li > a::after {
	content: "";
	position: absolute;
	right: 18px;
	left: 18px;
	bottom: 12px;
	height: 2px;
	background: var(--gp-clay);
	transform: scaleX(0);
	transition: transform 0.25s;
}

.gp-menu > li > a:hover { color: var(--gp-forest); }
.gp-menu > li > a:hover::after,
.gp-menu > .current-menu-item > a::after,
.gp-menu > .current-menu-ancestor > a::after,
.gp-menu > .current-post-ancestor > a::after,
.gp-menu > .current-cat > a::after { transform: scaleX(1); }
.gp-menu > .current-menu-item > a, .gp-menu > .current-post-ancestor > a, .gp-menu > .current-cat > a { color: var(--gp-forest); }

.gp-menu .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 20;
	min-width: 220px;
	padding: 10px;
	border: 1px solid var(--gp-rule);
	border-radius: 10px;
	background: var(--gp-paper);
	box-shadow: 0 18px 40px -22px rgba(27, 36, 32, 0.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.gp-menu li:hover > .sub-menu, .gp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.gp-menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 0.9rem; }
.gp-menu .sub-menu a:hover { background: var(--gp-sage); color: var(--gp-forest); }

.gp-search-panel { padding: 16px 0 20px; border-top: 1px solid var(--gp-rule); }
.gp-search-panel[hidden] { display: none; }
.gp-search-panel .gp-search-form { max-width: 640px; margin-inline: auto; }

.gp-search-form {
	display: flex;
	align-items: center;
	height: 52px;
	border: 1px solid var(--gp-rule);
	border-radius: 999px;
	background: #FFFDF8;
	transition: border-color 0.2s;
}

.gp-search-form:focus-within { border-color: var(--gp-forest); }
.gp-search-form input { flex: 1; min-width: 0; height: 100%; padding: 0 20px; border: 0; background: transparent; color: var(--gp-ink); }
.gp-search-form input::placeholder { color: #9A9F98; }
.gp-search-form input:focus { outline: none; }

.gp-search-form button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-inline-end: 4px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--gp-forest);
	color: #fff;
	cursor: pointer;
}

/* منوی کشویی */
.gp-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(27, 36, 32, 0.45); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.gp-drawer.is-open { opacity: 1; visibility: visible; }

.gp-drawer-panel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: min(86vw, 340px);
	padding: 20px;
	overflow-y: auto;
	background: var(--gp-paper);
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.gp-drawer.is-open .gp-drawer-panel { transform: none; }
.gp-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.gp-drawer-head .gp-logo-name { font-size: 1.6rem; }
.gp-drawer-head .gp-mark { width: 40px; height: 40px; }
.gp-drawer-menu, .gp-drawer-menu ul { margin: 0; padding: 0; list-style: none; }
.gp-drawer-menu a { display: block; padding: 11px 4px; border-bottom: 1px solid var(--gp-rule); color: var(--gp-ink); font-weight: 600; }
.gp-drawer-menu .current-menu-item > a { color: var(--gp-clay); }
.gp-drawer-menu .sub-menu { padding-inline-start: 14px; }
body.gp-lock { overflow: hidden; }

/* ---------- عناصر مشترک ---------- */
.gp-section { padding-block: 56px 8px; }

.gp-section-head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }

.gp-section-title {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 18px;
	font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
	color: var(--gp-forest);
}

.gp-section-title::after { content: ""; flex: 1; height: 1px; background: var(--gp-rule); }
.gp-section-title a:hover { color: var(--gp-clay); }

/* طاق: امضای بصری قالب */
.gp-arch {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 999px 999px 10px 10px;
	background: var(--gp-sage);
}

.gp-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gp-arch:hover img { transform: scale(1.04); }

.gp-img { width: 100%; height: 100%; object-fit: cover; }

.gp-thumb-fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: var(--gp-sage);
}

.gp-thumb-fallback .gp-sprig { width: 26%; max-width: 80px; height: auto; color: var(--gp-moss); }

/* ---------- صفحه اصلی: مقاله برگزیده ---------- */
.gp-lead {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
	gap: 48px;
	padding-block: 44px 20px;
}

.gp-lead-story {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 330px);
	gap: 40px;
	align-items: center;
}

.gp-lead-text { position: relative; z-index: 1; }

.gp-lead-title {
	margin: 10px 0 14px;
	font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.9rem);
	line-height: 1.45;
	color: var(--gp-ink);
	text-wrap: balance;
}

.gp-lead-title a { background-image: linear-gradient(var(--gp-clay), var(--gp-clay)); background-size: 0 2px; background-repeat: no-repeat; background-position: 100% 92%; transition: background-size 0.4s; }
.gp-lead-title a:hover { background-size: 100% 2px; }

.gp-lead-excerpt { margin: 0 0 14px; color: var(--gp-text); font-size: 1.05rem; line-height: 2.05; }
.gp-lead-text .gp-meta { margin-bottom: 18px; }

.gp-lead-art {
	position: absolute;
	left: -24px;
	bottom: -20px;
	width: 110px;
	height: auto;
	color: var(--gp-clay);
	opacity: 0.55;
	pointer-events: none;
}

.gp-lead-list {
	margin: 0;
	padding: 0 32px 0 0;
	list-style: none;
	border-right: 1px solid var(--gp-rule);
}

.gp-lead-list li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) 76px;
	gap: 14px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--gp-rule);
}

.gp-lead-list li:first-child { padding-top: 0; }
.gp-lead-list li:last-child { border-bottom: 0; }

.gp-num { align-self: start; min-width: 1.2em; color: var(--gp-clay); font-family: var(--gp-serif); font-size: 1.9rem; font-weight: 700; line-height: 1.2; text-align: center; }
.gp-lead-list-title { margin: 2px 0 2px; font-size: 1.12rem; line-height: 1.6; }
.gp-lead-list-title a:hover { color: var(--gp-forest); }
.gp-lead-list-thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--gp-sage); }

/* ---------- گیاه این هفته ---------- */
.gp-spot {
	position: relative;
	margin-top: 48px;
	overflow: hidden;
	background:
		radial-gradient(ellipse 40% 70% at 100% 0%, rgba(255, 255, 255, 0.55), transparent 70%),
		var(--gp-sage);
}

.gp-spot-inner {
	display: grid;
	grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	padding-block: 56px;
}

.gp-spot-media { box-shadow: 0 30px 60px -36px rgba(31, 61, 49, 0.6); }

.gp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--gp-forest); font-size: 0.85rem; font-weight: 700; }
.gp-eyebrow .gp-icon { width: 18px; height: 18px; color: var(--gp-clay); }
.gp-spot-name { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); color: var(--gp-forest); line-height: 1.35; }
.gp-spot-name a:hover { color: var(--gp-clay); }
.gp-spot-sci { margin: 2px 0 14px; color: var(--gp-moss); font-family: var(--gp-latin); font-size: 1.15rem; font-style: italic; text-align: right; }
.gp-spot-excerpt { max-width: 62ch; margin: 0 0 16px; color: var(--gp-text); font-size: 1.02rem; }

.gp-spot-benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 24px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.gp-spot-benefits li { position: relative; padding-inline-start: 22px; font-size: 0.95rem; }

.gp-spot-benefits li::before {
	content: "";
	position: absolute;
	top: 0.75em;
	right: 0;
	width: 12px;
	height: 12px;
	border-radius: 0 12px 0 12px;
	background: var(--gp-moss);
}

.gp-spot-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.gp-spot-facts div { padding: 6px 14px; border: 1px solid var(--gp-sage-line); border-radius: 999px; background: rgba(255, 255, 255, 0.55); font-size: 0.85rem; }
.gp-spot-facts dt { display: inline; color: var(--gp-muted); }
.gp-spot-facts dt::after { content: ": "; }
.gp-spot-facts dd { display: inline; margin: 0; color: var(--gp-forest); font-weight: 700; }

/* ---------- کارت‌ها ---------- */
.gp-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 44px 32px;
}

.gp-card { display: flex; flex-direction: column; min-width: 0; }

.gp-card-media {
	display: block;
	aspect-ratio: 10 / 7;
	overflow: hidden;
	border-radius: 8px;
	background: var(--gp-sage);
}

.gp-card-media img { transition: transform 0.6s ease; }
.gp-card:hover .gp-card-media img { transform: scale(1.04); }

.gp-card-body { padding-top: 14px; }
.gp-card-title { margin: 4px 0 8px; font-size: 1.32rem; line-height: 1.6; text-wrap: pretty; }
.gp-card-title a:hover { color: var(--gp-forest); }

.gp-card-excerpt {
	display: -webkit-box;
	margin: 0 0 10px;
	overflow: hidden;
	color: var(--gp-muted);
	font-size: 0.92rem;
	line-height: 2;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* بلوک دسته در صفحه اصلی */
.gp-catblock-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	grid-template-rows: repeat(3, auto);
	gap: 0 40px;
}

.gp-card.is-big { grid-row: 1 / span 3; }
.gp-card.is-big .gp-card-media { aspect-ratio: 16 / 10; }
.gp-card.is-big .gp-card-title { font-size: 1.6rem; }

.gp-card.is-row {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--gp-rule);
}

.gp-card.is-row:nth-child(2) { padding-top: 0; }
.gp-card.is-row:last-child { border-bottom: 0; }
.gp-card.is-row .gp-card-media { aspect-ratio: 1; border-radius: 999px 999px 8px 8px; }
.gp-card.is-row .gp-card-body { padding: 0; }
.gp-card.is-row .gp-card-title { font-size: 1.12rem; }

/* صفحه‌بندی */
.gp-pagination { margin-top: 48px; }
.gp-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--gp-rule);
	border-radius: 999px;
	color: var(--gp-ink);
	font-weight: 700;
}

a.page-numbers:hover { border-color: var(--gp-forest); color: var(--gp-forest); }
.page-numbers.current { border-color: var(--gp-forest); background: var(--gp-forest); color: #fff; }
.page-numbers.dots { border-color: transparent; }

.gp-empty { position: relative; max-width: 620px; margin: 0 auto; padding: 36px 28px; text-align: center; }
.gp-empty-art { width: 60px; margin: 0 auto 8px; color: var(--gp-moss); }

/* ---------- سربرگ صفحه‌های فهرست ---------- */
.gp-pagehead {
	position: relative;
	overflow: hidden;
	padding-block: 44px 40px;
	border-bottom: 1px solid var(--gp-rule);
	text-align: center;
}

.gp-pagehead-art { position: absolute; top: 18px; left: 6%; width: 90px; color: var(--gp-sage-line); }
.gp-pagehead-inner { position: relative; }
.gp-pagehead .gp-breadcrumbs ol { justify-content: center; }
.gp-pagehead-title { margin: 8px 0 6px; color: var(--gp-forest); font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); }
.gp-pagehead-desc { max-width: 640px; margin: 0 auto; color: var(--gp-muted); }
.gp-pagehead-desc p { margin: 0; }
.gp-pagehead-meta { margin: 8px 0 0; color: var(--gp-clay); font-size: 0.88rem; font-weight: 700; }
.gp-pagehead-search { max-width: 560px; margin: 18px auto 0; }

/* مسیر راهنما */
.gp-breadcrumbs { color: var(--gp-muted); font-size: 0.82rem; }
.gp-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.gp-breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: var(--gp-rule); }
.gp-breadcrumbs a:hover { color: var(--gp-clay); }
.gp-breadcrumbs [aria-current] span { display: inline-block; max-width: 40ch; overflow: hidden; vertical-align: bottom; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- صفحه مقاله ---------- */
.gp-article-head {
	max-width: 900px;
	padding-block: 40px 28px;
	text-align: center;
}

.gp-article-head .gp-breadcrumbs ol { justify-content: center; }
.gp-article-head .gp-breadcrumbs { margin-bottom: 18px; }

.gp-article-title {
	margin: 8px auto 14px;
	font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem);
	line-height: 1.45;
	text-wrap: balance;
}

.gp-article-lead { max-width: 720px; margin: 0 auto 20px; color: var(--gp-text); font-size: 1.12rem; line-height: 2.05; }

.gp-article-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 0;
	color: var(--gp-muted);
	font-size: 0.85rem;
}

.gp-article-meta > span + span::before { content: "·"; margin: 0 10px; color: var(--gp-clay); }
.gp-byline { display: inline-flex; align-items: center; gap: 8px; }
.gp-byline img { width: 34px; height: 34px; border-radius: 50%; }
.gp-byline strong { color: var(--gp-ink); }

.gp-article-figure { max-width: 1100px; margin: 0 auto 8px; }
.gp-article-figure img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 14px; }
.gp-article-figure figcaption { margin-top: 10px; color: var(--gp-muted); font-size: 0.82rem; text-align: center; }

.gp-article-body { max-width: 760px; margin-inline: auto; padding: 36px 28px 20px; }

/* شناسنامه گیاه */
.gp-herb {
	position: relative;
	margin: 0 0 36px;
	padding: 26px 28px;
	overflow: hidden;
	border: 1px solid var(--gp-sage-line);
	border-radius: 16px;
	background: linear-gradient(160deg, #EEF3E8, #E3EBDB);
}

.gp-herb-art { position: absolute; bottom: -34px; left: -6px; width: 84px; color: var(--gp-sage-line); opacity: 0.7; pointer-events: none; }
.gp-herb-head { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.gp-herb-label { color: var(--gp-forest); font-family: var(--gp-serif); font-size: 1.35rem; font-weight: 700; }
.gp-herb-sci { color: var(--gp-moss); font-family: var(--gp-latin); font-size: 1.05rem; font-style: italic; }

.gp-herb-facts {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 24px;
	margin: 0 0 16px;
}

.gp-herb-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--gp-sage-line); font-size: 0.92rem; }
.gp-herb-facts dt { color: var(--gp-muted); }
.gp-herb-facts dd { margin: 0; color: var(--gp-ink); font-weight: 700; text-align: left; }

.gp-herb-lists { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.gp-herb-subtitle { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--gp-forest); font-weight: 800; font-size: 0.95rem; }
.gp-herb-subtitle .gp-icon { width: 18px; height: 18px; color: var(--gp-moss); }
.gp-herb-col.is-caution .gp-herb-subtitle, .gp-herb-col.is-caution .gp-herb-subtitle .gp-icon { color: var(--gp-clay); }
.gp-herb-col ul { margin: 0; padding: 0; list-style: none; }
.gp-herb-col li { position: relative; padding: 3px 18px 3px 0; font-size: 0.92rem; line-height: 1.9; }
.gp-herb-col li::before { content: ""; position: absolute; top: 0.95em; right: 0; width: 8px; height: 8px; border-radius: 0 8px 0 8px; background: var(--gp-moss); }
.gp-herb-col.is-caution li::before { border-radius: 50%; background: var(--gp-clay); }

/* متن مقاله */
.gp-content { color: var(--gp-text); font-size: 1.07rem; line-height: 2.15; overflow-wrap: break-word; }
.gp-content > *:first-child { margin-top: 0; }
.gp-content p { margin: 0 0 1.3em; }
.gp-content h2, .gp-content h3, .gp-content h4 { scroll-margin-top: 90px; color: var(--gp-forest); }
.gp-content h2 { margin: 2em 0 0.6em; font-size: 1.7em; line-height: 1.5; }
.gp-content h3 { margin: 1.7em 0 0.5em; font-size: 1.35em; }
.gp-content h4 { margin: 1.5em 0 0.4em; font-size: 1.12em; }

.gp-content a { color: var(--gp-forest); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gp-clay); text-decoration-thickness: 1.5px; text-underline-offset: 0.4em; }
.gp-content a:hover { color: var(--gp-clay); }
.gp-content strong, .gp-content b { color: var(--gp-ink); font-weight: 700; }

.gp-content ul, .gp-content ol { margin: 0 0 1.4em; padding-inline-start: 1.5em; }
.gp-content ol { list-style-type: persian; }
.gp-content li { margin: 0.4em 0; }
.gp-content ul > li::marker { color: var(--gp-moss); }
.gp-content ol > li::marker { color: var(--gp-clay); font-family: var(--gp-serif); font-weight: 700; }

/* نقل‌قول: پول‌کوت ادیتوریال */
.gp-content blockquote {
	position: relative;
	margin: 2.2em 0;
	padding: 1.2em 1.4em 0.4em;
	border-top: 1px solid var(--gp-rule);
	border-bottom: 1px solid var(--gp-rule);
	color: var(--gp-forest);
	font-family: var(--gp-serif);
	font-size: 1.32em;
	line-height: 1.85;
	text-align: center;
}

.gp-content blockquote::before {
	content: "«";
	direction: ltr;
	unicode-bidi: isolate;
	position: absolute;
	top: -0.62em;
	right: 50%;
	transform: translateX(50%);
	padding: 0 12px;
	background: var(--gp-paper);
	color: var(--gp-clay);
	font-size: 1.8em;
	line-height: 1;
}

.gp-content blockquote cite { display: block; margin: 0.3em 0 0.8em; color: var(--gp-muted); font-family: var(--gp-sans); font-size: 0.62em; font-style: normal; }

.gp-content img { border-radius: 10px; }
.gp-content figure { margin: 2em 0; }
.gp-content figcaption, .gp-content .wp-caption-text { margin-top: 8px; color: var(--gp-muted); font-size: 0.82em; text-align: center; }

.gp-content .wp-block-table, .gp-table-scroll { overflow-x: auto; margin: 2em 0; border: 1px solid var(--gp-rule); border-radius: 12px; }
.gp-content table { width: 100%; border-collapse: collapse; background: #FFFDF8; font-size: 0.92em; }
.gp-content th { padding: 12px 14px; background: var(--gp-sage); color: var(--gp-forest); font-weight: 800; text-align: right; }
.gp-content td { padding: 11px 14px; border-top: 1px solid var(--gp-rule); }
.gp-content hr { width: 120px; margin: 2.4em auto; border: 0; border-top: 1px solid var(--gp-clay); }
.gp-content code { padding: 0.1em 0.4em; border-radius: 4px; background: var(--gp-paper-2); font-size: 0.9em; direction: ltr; unicode-bidi: isolate; }
.gp-content iframe { max-width: 100%; }

/* باکس‌های نویسنده */
.gp-content .is-style-gp-tip,
.gp-content .is-style-gp-warning,
.gp-content .is-style-gp-recipe {
	margin: 1.8em 0;
	padding: 1em 1.3em;
	border-radius: 12px;
	font-size: 0.98em;
}

.gp-content .is-style-gp-tip::before,
.gp-content .is-style-gp-warning::before,
.gp-content .is-style-gp-recipe::before { display: block; margin-bottom: 0.2em; font-family: var(--gp-serif); font-size: 1.1em; font-weight: 700; }

.gp-content .is-style-gp-tip { border: 1px solid var(--gp-sage-line); background: #EEF3E8; }
.gp-content .is-style-gp-tip::before { content: "نکته"; color: var(--gp-forest); }
.gp-content .is-style-gp-warning { border: 1px solid color-mix(in srgb, var(--gp-clay) 35%, #fff); background: var(--gp-clay-soft); }
.gp-content .is-style-gp-warning::before { content: "احتیاط"; color: var(--gp-clay); }
.gp-content .is-style-gp-recipe { border: 1.5px dashed var(--gp-moss); background: #FFFDF8; }
.gp-content .is-style-gp-recipe::before { content: "طرز تهیه و مصرف"; color: var(--gp-moss); }

.gp-content ul.is-style-gp-check { padding-inline-start: 0; list-style: none; }
.gp-content ul.is-style-gp-check > li { position: relative; padding-inline-start: 1.9em; }

.gp-content ul.is-style-gp-check > li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	right: 0;
	width: 1.2em;
	height: 1.2em;
	border-radius: 50%;
	background: var(--gp-sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3D31' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 68% no-repeat;
}

/* فهرست مطالب */
.gp-toc { margin: 0 0 2em; border-top: 1px solid var(--gp-rule); border-bottom: 1px solid var(--gp-rule); font-size: 0.95em; }
.gp-toc summary { display: flex; align-items: center; gap: 10px; padding: 14px 0; color: var(--gp-forest); font-family: var(--gp-serif); font-size: 1.15em; font-weight: 700; cursor: pointer; list-style: none; }
.gp-toc summary::-webkit-details-marker { display: none; }
.gp-toc summary .gp-icon { color: var(--gp-clay); }
.gp-toc summary::after { content: "+"; margin-inline-start: auto; color: var(--gp-clay); font-family: var(--gp-sans); font-size: 1.3em; line-height: 1; }
.gp-toc[open] summary::after { content: "−"; }
.gp-content .gp-toc ol { margin: 0; padding: 0 0 16px; padding-inline-start: 1.6em; }
.gp-content .gp-toc ol ol { padding: 0; padding-inline-start: 1.2em; list-style: circle; }
.gp-content .gp-toc li { margin: 0.25em 0; line-height: 1.9; }
.gp-content .gp-toc a { color: var(--gp-text); font-weight: 400; text-decoration: none; }
.gp-content .gp-toc a:hover { color: var(--gp-clay); }

/* «بیشتر بخوانید» داخل متن */
.gp-popular { margin: 2em 0; padding: 18px 20px; border-right: 3px solid var(--gp-clay); background: #FFFDF8; border-radius: 0 0 0 0; }
.gp-popular-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px !important; color: var(--gp-forest); font-family: var(--gp-serif); font-size: 1.1rem; font-weight: 700; }
.gp-popular-title .gp-icon { color: var(--gp-moss); }
.gp-content .gp-popular-list { margin: 0; padding: 0; list-style: none; }
.gp-content .gp-popular-list li { margin: 0; }
.gp-content .gp-popular-list li::marker { content: none; }

.gp-content .gp-popular-list a {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 8px 0;
	border-top: 1px solid var(--gp-rule);
	color: var(--gp-ink);
	font-weight: 400;
	text-decoration: none;
}

.gp-content .gp-popular-list li:first-child a { border-top: 0; }
.gp-content .gp-popular-list a:hover .gp-popular-name { color: var(--gp-clay); }
.gp-popular-thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--gp-sage); }
.gp-popular-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.gp-popular-body { display: flex; flex-direction: column; }
.gp-popular-name { font-family: var(--gp-serif); font-size: 1.02rem; font-weight: 700; line-height: 1.7; }
.gp-popular-meta { color: var(--gp-muted); font-size: 0.78rem; }

/* هشدار پزشکی */
.gp-disclaimer {
	display: flex;
	gap: 14px;
	margin: 40px 0 26px;
	padding: 18px 0;
	border-top: 1px solid var(--gp-rule);
	border-bottom: 1px solid var(--gp-rule);
	color: var(--gp-muted);
	font-size: 0.88rem;
	line-height: 2;
}

.gp-disclaimer .gp-icon { width: 24px; height: 24px; margin-top: 4px; color: var(--gp-clay); }
.gp-disclaimer p { margin: 0; }

.gp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.gp-tags a { padding: 4px 14px; border: 1px solid var(--gp-rule); border-radius: 999px; color: var(--gp-text); font-size: 0.84rem; transition: all 0.2s; }
.gp-tags a::before { content: "#"; color: var(--gp-clay); }
.gp-tags a:hover { border-color: var(--gp-forest); color: var(--gp-forest); }

.gp-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.gp-share-label { color: var(--gp-ink); font-family: var(--gp-serif); font-size: 1.05rem; font-weight: 700; }
.gp-share ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.gp-share a, .gp-copy-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--gp-rule);
	border-radius: 999px;
	background: transparent;
	color: var(--gp-forest);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.gp-share a { padding: 0; }
.gp-share a:hover, .gp-copy-link:hover { border-color: var(--gp-forest); background: var(--gp-forest); color: #fff; }
.gp-copy-link.is-copied { border-color: var(--gp-moss); background: var(--gp-moss); color: #fff; }

.gp-author { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--gp-rule); }
.gp-author img { flex: none; width: 72px; height: 72px; border-radius: 999px 999px 8px 8px; object-fit: cover; }
.gp-author-name { margin: 0; color: var(--gp-forest); font-family: var(--gp-serif); font-size: 1.2rem; font-weight: 700; }
.gp-author-bio { margin: 2px 0 8px; font-size: 0.92rem; }

.gp-related { margin-top: 40px; padding-block: 52px 56px; background: var(--gp-paper-2); }
.gp-related .gp-section-title::after { background: var(--gp-rule); }

/* دیدگاه‌ها */
.gp-comments-wrap { max-width: 816px; padding-block: 48px 20px; }
.gp-comment-list, .gp-comment-list .children { margin: 0; padding: 0; list-style: none; }
.gp-comment-list .children { margin-inline-start: 36px; }
.gp-comment { padding: 18px 0; border-bottom: 1px solid var(--gp-rule); }
.gp-comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.gp-comment-head img { width: 36px; height: 36px; border-radius: 50%; }
.gp-comment-author { color: var(--gp-ink); font-weight: 700; }
.gp-comment-date { color: var(--gp-muted); font-size: 0.8rem; }
.gp-comment-text { font-size: 0.96rem; }
.gp-comment-text p { margin: 0.4em 0; }
.gp-comment-pending { color: var(--gp-clay); font-size: 0.85rem; }
.comment-reply-link { color: var(--gp-forest); font-size: 0.85rem; font-weight: 700; }
.bypostauthor > .gp-comment .gp-comment-author::after { content: "نویسنده"; margin-inline-start: 8px; padding: 0 8px; border-radius: 999px; background: var(--gp-sage); color: var(--gp-forest); font-size: 0.72rem; }
.gp-reply-title { margin: 28px 0 6px; color: var(--gp-forest); font-size: 1.35rem; }
.comment-notes { color: var(--gp-muted); font-size: 0.86rem; }
.comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.comment-form > p { grid-column: 1 / -1; margin: 0 0 14px; }
.comment-form .comment-form-author, .comment-form .comment-form-email { grid-column: auto; }
.comment-form label { display: block; margin-bottom: 6px; color: var(--gp-ink); font-size: 0.9rem; font-weight: 600; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--gp-rule); border-radius: 12px; background: #FFFDF8; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--gp-forest); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; color: var(--gp-muted); }

/* ---------- خبرنامه ---------- */
.gp-newsband { position: relative; margin-top: 72px; overflow: hidden; background: var(--gp-forest); color: rgba(255, 255, 255, 0.82); }

.gp-newsband-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
	gap: 36px;
	align-items: center;
	padding-block: 48px;
}

.gp-newsband-art { position: absolute; left: -10px; top: -30px; width: 140px; color: rgba(255, 255, 255, 0.12); }
.gp-newsband h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.gp-newsband p { margin: 4px 0 0; }

.gp-news-form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.gp-news-form input[type="email"] { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: #FFFDF8; color: var(--gp-ink); }
.gp-news-form input[type="email"]:focus { outline: 2px solid var(--gp-clay); }
.gp-news-form button { height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--gp-clay); color: #fff; font-weight: 800; cursor: pointer; }
.gp-news-form button:hover { background: color-mix(in srgb, var(--gp-clay) 85%, #000); }

.gp-news-msg { margin: 10px 0 0 !important; padding: 8px 14px; border-radius: 10px; font-size: 0.86rem; }
.gp-news-msg.is-success { background: rgba(157, 191, 143, 0.25); color: #E3F1D9; }
.gp-news-msg.is-info { background: rgba(255, 255, 255, 0.12); color: #fff; }
.gp-news-msg.is-error { background: rgba(200, 105, 62, 0.3); color: #FFE2D4; }

/* ---------- فوتر ---------- */
.gp-footer { background: var(--gp-forest-deep); color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; }
.gp-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 48px 36px; }
.gp-footer h2 { margin-bottom: 12px; color: #fff; font-size: 1.15rem; }
.gp-footer ul { margin: 0; padding: 0; list-style: none; }
.gp-footer li { padding: 4px 0; }
.gp-footer a:hover { color: #fff; }
.gp-footer .gp-logo { color: #fff; }
.gp-footer .gp-logo-name { font-size: 1.8rem; }
.gp-footer .gp-mark { width: 44px; height: 44px; }
.gp-footer-brand p { max-width: 42ch; margin: 14px 0; line-height: 2; }
.gp-footer-social a { color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); }
.gp-footer-warn { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 16px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; font-size: 0.86rem; line-height: 1.9; }
.gp-footer-warn .gp-icon { width: 22px; height: 22px; color: var(--gp-clay); }
.gp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.84rem; }
.gp-footer-bottom p { margin: 0; padding-block: 16px; }

.gp-to-top { position: fixed; bottom: 20px; left: 20px; z-index: 70; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 999px 999px 10px 10px; background: var(--gp-forest); color: #fff; cursor: pointer; }
.gp-to-top[hidden] { display: none; }

.gp-progress { position: fixed; top: 0; inset-inline: 0; z-index: 120; height: 3px; pointer-events: none; }
.gp-progress span { display: block; height: 100%; background: var(--gp-clay); transform-origin: right; transform: scaleX(var(--gp-p, 0)); }

.alignright { float: right; margin: 0.3em 0 1em 1.4em; }
.alignleft { float: left; margin: 0.3em 1.4em 1em 0; }
.aligncenter { display: block; margin-inline: auto; }

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 1120px) {
	.gp-lead { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.gp-lead-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 28px 0 0; border-right: 0; border-top: 1px solid var(--gp-rule); }
	.gp-lead-list li { grid-template-columns: auto minmax(0, 1fr); padding: 0; border: 0; }
	.gp-lead-list-thumb { display: none; }
	.gp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gp-menu > li > a { padding: 0 12px; }
	.gp-menu > li > a::after { right: 12px; left: 12px; }
}

@media (max-width: 880px) {
	.gp-nav-inner { display: none; }
	.gp-nav { border-top: 0; }
	.gp-menu-toggle { display: grid; }
	.gp-today, .gp-mast-social { display: none; }
	.gp-mast-row { padding-block: 14px; }
	.gp-mark { width: 42px; height: 42px; }
	.gp-logo-name { font-size: 1.8rem; }
	.gp-mast-tagline { display: none; }
	.gp-nav { position: sticky; }
	.gp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
	.gp-spot-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.gp-spot-media { width: min(320px, 70%); margin-inline: auto; }
	.gp-catblock-grid { grid-template-columns: minmax(0, 1fr); }
	.gp-card.is-big { grid-row: auto; margin-bottom: 18px; }
	.gp-newsband-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
	.gp-wrap { padding-inline: 16px; }
	.gp-lead { padding-block: 24px 8px; }
	.gp-lead-story { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.gp-lead-story .gp-arch { order: -1; width: 78%; margin-inline: auto; }
	.gp-lead-art { display: none; }
	.gp-lead-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.gp-lead-list li { padding: 14px 0; border-bottom: 1px solid var(--gp-rule); }
	.gp-grid { grid-template-columns: minmax(0, 1fr); }
	.gp-spot-inner { padding-block: 36px; }
	.gp-spot-benefits { grid-template-columns: minmax(0, 1fr); }
	.gp-section { padding-block: 40px 4px; }
	.gp-article-head { padding-block: 26px 18px; }
	.gp-article-figure img { border-radius: 10px; }
	.gp-article-body { padding: 26px 16px 10px; }
	.gp-herb { padding: 20px 18px; }
	.gp-herb-facts, .gp-herb-lists { grid-template-columns: minmax(0, 1fr); }
	.gp-content { font-size: 1.02rem; line-height: 2.1; }
	.comment-form { grid-template-columns: minmax(0, 1fr); }
	.gp-news-form { flex-direction: column; border-radius: 20px; }
	.gp-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.gp-pagehead-art { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
	.gp-masthead, .gp-nav, .gp-newsband, .gp-footer, .gp-share, .gp-related, .gp-comments-wrap, .gp-to-top, .gp-progress { display: none !important; }
	body { background: #fff; }
}
