/*!
Theme Name: پویش صنعت دشتستان
Theme URI: https://www.poyeshsanat.com/
Author: پویش صنعت دشتستان
Author URI: https://www.poyeshsanat.com/
Description: پوسته اختصاصی شرکت ماشین‌سازی پویش صنعت دشتستان؛ طراحی مدرن تاریک با تم نارنجی، کاملاً راست‌چین و فارسی. شامل صفحه اول اختصاصی (هیرو، خدمات، محصولات، درباره ما، فراخوان مشاوره)، آرشیو، برگه، نوشته، ابزارک‌ها، فهرست‌های سفارشی و فرم مشاوره آنلاین.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pooyesh-sanat
Tags: rtl-language-support, translation-ready, custom-logo, custom-menu, custom-colors, featured-images, threaded-comments, blog, dark-mode, right-sidebar, three-columns, full-width-template
*/

/* =========================================================================
   ۱. فونت‌ها
   ========================================================================= */
@font-face {
	font-family: 'Vazirmatn';
	src: url('assets/fonts/Vazirmatn-Variable.woff2') format('woff2-variations'),
		url('assets/fonts/Vazirmatn-Variable.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Vazirmatn';
	src: url('assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

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

@font-face {
	font-family: 'Vazirmatn';
	src: url('assets/fonts/Vazirmatn-Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* =========================================================================
   ۲. متغیرهای طراحی (توکن‌ها)
   ========================================================================= */
:root {
	--ps-dark: #0b0f17;
	--ps-dark-alt: #0d121c;
	--ps-card: #121824;
	--ps-card-hover: #1a2334;
	--ps-border: #1e293b;
	--ps-orange: #f97316;
	--ps-orange-glow: #ff6b00;
	--ps-amber: #d97706;
	--ps-text: #f1f5f9;
	--ps-muted: #94a3b8;
	--ps-radius: 1rem;
	--ps-shadow-orange: 0 0 25px -5px rgba(249, 115, 22, 0.4);
	--ps-shadow-orange-lg: 0 0 40px 0 rgba(249, 115, 22, 0.5);
	--ps-shadow-orange-sm: 0 0 15px -3px rgba(249, 115, 22, 0.3);
	--ps-font: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
}

/* =========================================================================
   ۳. پایه
   ========================================================================= */
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--ps-font);
	background-color: var(--ps-dark);
	color: var(--ps-text);
	overflow-x: hidden;
	margin: 0;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.admin-bar .ps-header-sticky {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .ps-header-sticky {
		top: 46px;
	}
}

.ps-screen-reader-text,
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--ps-card);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--ps-orange);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	right: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* اسکرول‌بار اختصاصی */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--ps-dark);
}

::-webkit-scrollbar-thumb {
	background: #273549;
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: #ea580c;
}

::selection {
	background: var(--ps-orange);
	color: #fff;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover,
a:focus {
	color: var(--ps-orange);
}

img {
	max-width: 100%;
	height: auto;
}

[hidden],
[x-cloak] {
	display: none !important;
}

.dir-ltr {
	direction: ltr;
	display: inline-block;
}

/* =========================================================================
   ۴. پسزمینه‌ها و جلوه‌های اختصاصی
   ========================================================================= */
.circuit-bg {
	background-image: radial-gradient(rgba(249, 115, 22, 0.12) 1px, transparent 0);
	background-size: 28px 28px;
}

.circuit-grid-overlay {
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 40px 40px;
}

.ps-skip-link {
	position: absolute;
	right: -9999px;
	top: 0;
	z-index: 999;
	background: var(--ps-orange);
	color: #fff;
	padding: 0.6rem 1rem;
	border-radius: 0 0 0.5rem 0.5rem;
}

.ps-skip-link:focus {
	right: 0;
	color: #fff;
}

/* =========================================================================
   ۵. انیمیشن‌های هیرو
   ========================================================================= */
@keyframes hero-orb-drift {
	0%, 100% { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.42; }
	50% { transform: translate3d(3%, 2%, 0) scale(1.06); opacity: 0.58; }
}

@keyframes hero-primary-orb-drift {
	0%, 100% { transform: translate3d(calc(-50% - 2%), -1%, 0) scale(1); opacity: 0.42; }
	50% { transform: translate3d(calc(-50% + 3%), 2%, 0) scale(1.06); opacity: 0.58; }
}

@keyframes hero-grid-breathe {
	0%, 100% { opacity: 0.18; }
	50% { opacity: 0.28; }
}

.hero-background-media {
	transform: translate3d(var(--hero-mx, 0px), var(--hero-my, 0px), 0) scale(1.05);
	transform-origin: center;
	transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 700ms ease;
	will-change: transform;
}

.hero-ambient-orb {
	animation: hero-orb-drift 16s ease-in-out infinite;
	will-change: transform, opacity;
}

.hero-ambient-orb--primary {
	animation-name: hero-primary-orb-drift;
}

.hero-ambient-orb--secondary {
	animation-delay: -7s;
	animation-duration: 21s;
}

.hero-grid-overlay {
	animation: hero-grid-breathe 12s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-ambient-orb,
	.hero-grid-overlay { animation: none; }
	.hero-background-media { transition: none; }
}

/* =========================================================================
   ۶. فهرست‌ها (منوها)
   ========================================================================= */
.ps-nav-menu,
.ps-nav-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ps-nav-link {
	display: block;
	white-space: nowrap;
}

.ps-nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 210px;
	background: var(--ps-card);
	border: 1px solid var(--ps-border);
	border-radius: 0.9rem;
	padding: 0.5rem;
	margin-top: 0.5rem;
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.85);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 60;
}

.ps-nav-menu li {
	position: relative;
}

.ps-nav-menu li:hover > .sub-menu,
.ps-nav-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ps-nav-menu .sub-menu li {
	width: 100%;
}

.ps-nav-menu .sub-menu .sub-menu {
	top: 0;
	right: 100%;
	margin-top: 0;
}

.ps-footer-menu,
.ps-footer-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* =========================================================================
   ۷. محتوای نوشته‌ها (تایپوگرافی)
   ========================================================================= */
.ps-entry-content {
	color: #cbd5e1;
	font-size: 1rem;
	line-height: 2.1;
	word-wrap: break-word;
}

.ps-entry-content > * + * {
	margin-top: 1.35rem;
}

.ps-entry-content h1,
.ps-entry-content h2,
.ps-entry-content h3,
.ps-entry-content h4,
.ps-entry-content h5,
.ps-entry-content h6 {
	color: #fff;
	font-weight: 800;
	line-height: 1.5;
	margin: 2.2rem 0 0.9rem;
}

.ps-entry-content h1 { font-size: 1.9rem; }
.ps-entry-content h2 { font-size: 1.6rem; border-right: 4px solid var(--ps-orange); padding-right: 0.75rem; }
.ps-entry-content h3 { font-size: 1.35rem; }
.ps-entry-content h4 { font-size: 1.15rem; }
.ps-entry-content h5,
.ps-entry-content h6 { font-size: 1rem; }

.ps-entry-content p {
	margin: 0 0 1.35rem;
	text-align: justify;
}

.ps-entry-content a {
	color: #fb923c;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ps-entry-content a:hover {
	color: #fdba74;
}

.ps-entry-content ul,
.ps-entry-content ol {
	margin: 0 0 1.35rem;
	padding-right: 1.6rem;
}

.ps-entry-content ul { list-style: disc; }
.ps-entry-content ol { list-style: decimal; }

.ps-entry-content li {
	margin-bottom: 0.55rem;
}

.ps-entry-content li::marker {
	color: var(--ps-orange);
}

.ps-entry-content blockquote {
	background: var(--ps-card);
	border-right: 4px solid var(--ps-orange);
	border-radius: 0.9rem;
	padding: 1.25rem 1.5rem;
	margin: 1.8rem 0;
	color: #e2e8f0;
	font-style: normal;
}

.ps-entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.ps-entry-content img,
.ps-entry-content video,
.ps-entry-content iframe,
.ps-entry-content embed,
.ps-entry-content object {
	max-width: 100%;
	border-radius: 0.9rem;
}

.ps-entry-content figure {
	margin: 1.8rem 0;
}

.ps-entry-content figcaption,
.ps-entry-content .wp-caption-text {
	color: var(--ps-muted);
	font-size: 0.8rem;
	text-align: center;
	margin-top: 0.6rem;
}

.ps-entry-content table {
	width: 100%;
	border-collapse: collapse;
	background: var(--ps-card);
	border: 1px solid var(--ps-border);
	border-radius: 0.9rem;
	overflow: hidden;
	font-size: 0.9rem;
	margin: 1.8rem 0;
}

.ps-entry-content th,
.ps-entry-content td {
	padding: 0.8rem 1rem;
	border-bottom: 1px solid var(--ps-border);
	text-align: right;
}

.ps-entry-content th {
	background: #1a2233;
	color: #fff;
	font-weight: 700;
}

.ps-entry-content tr:last-child td {
	border-bottom: 0;
}

.ps-entry-content code,
.ps-entry-content kbd,
.ps-entry-content pre {
	font-family: 'Courier New', ui-monospace, monospace;
	direction: ltr;
	text-align: left;
}

.ps-entry-content code {
	background: #1a2233;
	color: #fdba74;
	padding: 0.15rem 0.4rem;
	border-radius: 0.35rem;
	font-size: 0.85em;
}

.ps-entry-content pre {
	background: #0b0f17;
	border: 1px solid var(--ps-border);
	border-radius: 0.9rem;
	padding: 1.1rem 1.25rem;
	overflow-x: auto;
	font-size: 0.85rem;
	line-height: 1.7;
}

.ps-entry-content pre code {
	background: transparent;
	color: #e2e8f0;
	padding: 0;
}

.ps-entry-content hr,
.ps-entry-content .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--ps-border);
	margin: 2.2rem 0;
}

.ps-entry-content .alignright {
	float: left;
	margin: 0.5rem 0 1rem 1.5rem;
}

.ps-entry-content .alignleft {
	float: right;
	margin: 0.5rem 1.5rem 1rem 0;
}

.ps-entry-content .aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.ps-entry-content .alignwide {
	max-width: 72rem;
	margin-right: auto;
	margin-left: auto;
}

.ps-entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
}

.ps-entry-content .wp-block-button__link {
	background: linear-gradient(to left, #f97316, #d97706);
	color: #fff;
	font-weight: 700;
	border-radius: 0.75rem;
	padding: 0.75rem 1.6rem;
	text-decoration: none;
}

.ps-entry-content .wp-block-quote {
	border-right: 4px solid var(--ps-orange);
}

.ps-entry-content .wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.ps-entry-content .wp-block-column {
	flex: 1 1 0;
	min-width: 0;
}

.ps-entry-content .wp-block-image {
	margin: 1.8rem 0;
}

.ps-entry-content .wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 0.75rem;
	padding: 0;
	list-style: none;
}

.sticky .ps-card-article {
	border-color: rgba(249, 115, 22, 0.6);
}

.bypostauthor > .comment-body .comment-author-name::after {
	content: ' \2013 نویسنده';
	color: var(--ps-orange);
	font-size: 0.7em;
}

/* =========================================================================
   ۸. جدول‌ها و بلوک‌های عمومی وردپرس
   ========================================================================= */
.wp-caption {
	max-width: 100%;
}

.wp-caption img {
	border-radius: 0.9rem;
}

.post-password-form input[type='password'] {
	background: var(--ps-card);
	border: 1px solid var(--ps-border);
	border-radius: 0.75rem;
	padding: 0.65rem 0.9rem;
	color: #fff;
}

.post-password-form input[type='submit'],
.wp-block-search__button {
	background: var(--ps-orange);
	border: 0;
	color: #fff;
	font-weight: 700;
	padding: 0.65rem 1.4rem;
	border-radius: 0.75rem;
	cursor: pointer;
}

/* =========================================================================
   ۹. ابزارک‌ها
   ========================================================================= */
.ps-widget {
	background: var(--ps-card);
	border: 1px solid var(--ps-border);
	border-radius: 1rem;
	padding: 1.4rem;
	margin-bottom: 1.5rem;
}

.ps-widget:last-child {
	margin-bottom: 0;
}

.ps-widget-title {
	color: #fff;
	font-size: 1.05rem;
	font-weight: 800;
	margin: 0 0 1rem;
	padding-right: 0.7rem;
	border-right: 3px solid var(--ps-orange);
	line-height: 1.6;
}

.ps-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ps-widget ul li {
	padding: 0.45rem 0;
	border-bottom: 1px dashed rgba(148, 163, 184, 0.18);
	font-size: 0.875rem;
	color: #cbd5e1;
}

.ps-widget ul li:last-child {
	border-bottom: 0;
}

.ps-widget ul li a:hover {
	color: var(--ps-orange);
}

.ps-widget ul li ul {
	padding-right: 1rem;
	margin-top: 0.4rem;
}

.ps-widget select,
.ps-widget input[type='text'],
.ps-widget input[type='search'],
.ps-widget input[type='email'],
.ps-widget input[type='url'],
.ps-widget input[type='tel'],
.ps-widget input[type='number'],
.ps-widget textarea {
	width: 100%;
	background: var(--ps-dark);
	border: 1px solid var(--ps-border);
	border-radius: 0.75rem;
	padding: 0.6rem 0.85rem;
	color: #fff;
	font-family: inherit;
	font-size: 0.85rem;
	outline: none;
}

.ps-widget select:focus,
.ps-widget input:focus,
.ps-widget textarea:focus {
	border-color: var(--ps-orange);
}

.ps-widget .tagcloud a {
	display: inline-block;
	background: #1a2233;
	border: 1px solid var(--ps-border);
	color: #cbd5e1;
	border-radius: 0.6rem;
	padding: 0.25rem 0.7rem;
	margin: 0 0 0.4rem 0.3rem;
	font-size: 0.78rem !important;
}

.ps-widget .tagcloud a:hover {
	background: var(--ps-orange);
	border-color: var(--ps-orange);
	color: #fff;
}

.ps-widget .wp-block-search__inside-wrapper {
	display: flex;
	gap: 0.5rem;
}

.ps-footer-widget .ps-widget {
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
}

.ps-footer-widget .ps-widget-title {
	border-right: 2px solid var(--ps-orange);
	font-size: 1.1rem;
}

/* =========================================================================
   ۱۰. دیدگاه‌ها
   ========================================================================= */
.ps-comments-area {
	margin-top: 3rem;
	background: var(--ps-card);
	border: 1px solid var(--ps-border);
	border-radius: 1.5rem;
	padding: 1.75rem;
}

.ps-comments-title,
.ps-comment-reply-title {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 800;
	margin: 0 0 1.5rem;
	padding-right: 0.75rem;
	border-right: 3px solid var(--ps-orange);
}

.ps-comment-list,
.ps-comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ps-comment-list .children {
	padding-right: 1.5rem;
	margin-top: 1.25rem;
}

.ps-comment-list > li {
	margin-bottom: 1.5rem;
}

.comment-body {
	background: var(--ps-dark);
	border: 1px solid var(--ps-border);
	border-radius: 1rem;
	padding: 1.25rem;
	position: relative;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.comment-author img {
	width: 44px;
	height: 44px;
	border-radius: 0.75rem;
	border: 1px solid rgba(249, 115, 22, 0.4);
}

.comment-author .fn {
	color: #fff;
	font-weight: 700;
	font-style: normal;
	font-size: 0.95rem;
}

.comment-metadata {
	font-size: 0.72rem;
	color: var(--ps-muted);
	margin-bottom: 0.75rem;
}

.comment-metadata a {
	color: var(--ps-muted);
}

.comment-content {
	color: #cbd5e1;
	font-size: 0.9rem;
	line-height: 1.9;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.reply {
	margin-top: 0.75rem;
}

.comment-reply-link {
	display: inline-flex;
	align-items: center;
	background: #1a2233;
	border: 1px solid var(--ps-border);
	color: #cbd5e1;
	border-radius: 0.6rem;
	padding: 0.3rem 0.85rem;
	font-size: 0.75rem;
	font-weight: 700;
}

.comment-reply-link:hover {
	background: var(--ps-orange);
	border-color: var(--ps-orange);
	color: #fff;
}

.comment-form {
	display: grid;
	gap: 1rem;
}

.comment-form label {
	display: block;
	color: #e2e8f0;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
	width: 100%;
	background: var(--ps-dark);
	border: 1px solid var(--ps-border);
	border-radius: 0.75rem;
	padding: 0.7rem 0.9rem;
	color: #fff;
	font-family: inherit;
	font-size: 0.875rem;
	outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--ps-orange);
}

.comment-form .submit {
	background: linear-gradient(to left, #f97316, #d97706);
	border: 0;
	color: #fff;
	font-weight: 800;
	font-size: 0.9rem;
	padding: 0.8rem 2rem;
	border-radius: 0.9rem;
	cursor: pointer;
	box-shadow: var(--ps-shadow-orange-sm);
	justify-self: start;
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.comment-form .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.comment-form .comment-form-cookies-consent input {
	margin-top: 0.35rem;
}

.comment-notes,
.logged-in-as {
	color: var(--ps-muted);
	font-size: 0.8rem;
}

.comment-respond {
	margin-top: 2rem;
}

/* =========================================================================
   ۱۱. صفحه‌بندی و ناوبری نوشته‌ها
   ========================================================================= */
.ps-pagination,
.navigation.pagination {
	margin: 3rem 0 0;
}

.ps-pagination .nav-links,
.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}

.ps-pagination .page-numbers,
.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.6rem;
	height: 2.6rem;
	padding: 0 0.7rem;
	background: var(--ps-card);
	border: 1px solid var(--ps-border);
	border-radius: 0.75rem;
	color: #cbd5e1;
	font-size: 0.85rem;
	font-weight: 700;
}

.ps-pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover {
	border-color: var(--ps-orange);
	color: #fff;
}

.ps-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
	background: linear-gradient(to left, #f97316, #d97706);
	border-color: transparent;
	color: #fff;
	box-shadow: var(--ps-shadow-orange-sm);
}

.ps-pagination .page-numbers.dots {
	background: transparent;
	border-color: transparent;
}

.post-navigation .nav-links,
.ps-post-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	margin-top: 2.5rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
	display: block;
	background: var(--ps-card);
	border: 1px solid var(--ps-border);
	border-radius: 1rem;
	padding: 1.1rem 1.25rem;
	color: #e2e8f0;
	height: 100%;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
	border-color: var(--ps-orange);
}

.post-navigation .nav-subtitle {
	display: block;
	color: var(--ps-orange);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 0.45rem;
}

.post-navigation .nav-title {
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.7;
}

/* =========================================================================
   ۱۲. کارت‌های آرشیو
   ========================================================================= */
.ps-card-article {
	background: var(--ps-card);
	border: 1px solid var(--ps-border);
	border-radius: 1.25rem;
	overflow: hidden;
	transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ps-card-article:hover {
	border-color: rgba(249, 115, 22, 0.5);
	transform: translateY(-4px);
	box-shadow: 0 24px 45px -28px rgba(249, 115, 22, 0.55);
}

.ps-card-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #0f1521;
}

.ps-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s ease;
}

.ps-card-article:hover .ps-card-thumb img {
	transform: scale(1.06);
}

.ps-card-body {
	padding: 1.35rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ps-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.72rem;
	color: var(--ps-muted);
	margin-bottom: 0.7rem;
}

.ps-card-meta i {
	color: var(--ps-orange);
}

.ps-card-title {
	color: #fff;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.7;
	margin: 0 0 0.6rem;
}

.ps-card-article:hover .ps-card-title {
	color: var(--ps-orange);
}

.ps-card-excerpt {
	color: var(--ps-muted);
	font-size: 0.85rem;
	line-height: 1.9;
	margin: 0 0 1.1rem;
	flex: 1;
}

.ps-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--ps-border);
	font-size: 0.75rem;
}

.ps-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: rgba(249, 115, 22, 0.12);
	border: 1px solid rgba(249, 115, 22, 0.3);
	color: #fb923c;
	border-radius: 999px;
	padding: 0.2rem 0.7rem;
	font-size: 0.7rem;
	font-weight: 700;
}

/* =========================================================================
   ۱۳. فرم‌ها (فرم مشاوره و تماس)
   ========================================================================= */
.ps-field {
	width: 100%;
	background: var(--ps-dark);
	border: 1px solid var(--ps-border);
	border-radius: 0.85rem;
	padding: 0.7rem 0.9rem;
	color: #fff;
	font-family: inherit;
	font-size: 0.85rem;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-field::placeholder {
	color: #64748b;
}

.ps-field:focus {
	border-color: var(--ps-orange);
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.ps-field.is-invalid {
	border-color: #ef4444;
}

.ps-form-message {
	border-radius: 0.9rem;
	padding: 0.85rem 1rem;
	font-size: 0.82rem;
	margin-top: 0.75rem;
	display: none;
}

.ps-form-message.is-success {
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.35);
	color: #34d399;
}

.ps-form-message.is-error {
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.35);
	color: #f87171;
}

.ps-form-message.is-visible {
	display: block;
}

.ps-honeypot {
	position: absolute !important;
	right: -9999px !important;
	opacity: 0;
	pointer-events: none;
}

/* =========================================================================
   ۱۴. بلوک‌های کمکی
   ========================================================================= */
.ps-section-badge {
	display: inline-block;
	color: var(--ps-orange);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	background: rgba(249, 115, 22, 0.1);
	border: 1px solid rgba(249, 115, 22, 0.2);
	padding: 0.3rem 1rem;
	border-radius: 999px;
}

.ps-line-clamp-3 {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ps-line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ps-media-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ps-link-overlay {
	position: absolute;
	inset: 0;
	z-index: 5;
}

.ps-mobile-drawer {
	max-height: calc(100vh - 120px);
	overflow-y: auto;
}

.ps-scrollspy-active {
	background: linear-gradient(to left, #f97316, #d97706);
	color: #fff !important;
	box-shadow: 0 6px 18px -8px rgba(249, 115, 22, 0.7);
}

@media (max-width: 767px) {
	.ps-entry-content h1 { font-size: 1.5rem; }
	.ps-entry-content h2 { font-size: 1.3rem; }
	.ps-entry-content h3 { font-size: 1.15rem; }
	.ps-comments-area { padding: 1.25rem; }
}

/* تورفتگی‌های پیش‌فرض وردپرس برای نوار مدیریت */
.alignright { float: left; }
.alignleft { float: right; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }

/* اصلاح Markup وردپرس در حالت تاریک */
.wp-block-image img,
.wp-block-gallery img {
	border-radius: 0.75rem;
}

.wp-block-search .wp-block-search__label {
	color: #fff;
	margin-bottom: 0.5rem;
	display: block;
	font-size: 0.85rem;
}