/*!
	Theme Name: پوسته فرزند قالب وردپرس نادر
	Template: nader
	Author: Ali Emadzadeh
	Author URI: https://www.rtl-theme.com/author/halbia/
	Version: 1.0.5
*/

.nader-related-projects-title,
.nader-project-products-title {
	font-size: 1.35rem;
	font-weight: 700;
}

.nader-child-item-slider.owl-carousel .owl-stage {
	display: flex;
}

.nader-child-item-slider.owl-carousel .owl-item {
	display: flex;
	height: auto;
}

.nader-child-item-slider .blog-post-slider-item-wrapper {
	display: flex;
	width: 100%;
	height: 100%;
}

.nader-child-item-slider .blog-post-slider-item {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	border: 0;
	box-shadow: none;
}

.nader-child-item-slider .blog-post-slider-media {
	height: 200px;
	flex-shrink: 0;
}

.nader-child-item-slider .blog-post-slider-body {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.nader-child-item-slider .post-item-title {
	min-height: 48px;
}

.nader-child-item-slider .project-slider-excerpt {
	margin: 0.75rem 0 0;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--nader-text-color, #666);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(0.9rem * 1.7 * 3);
}

.nader-child-item-slider .blog-post-slider-footer {
	margin-top: auto;
	border-top: 0;
}

.nader-child-item-slider .project-slider-more {
	font-size: 0.85rem;
	font-weight: 600;
}

.nader-child-item-slider .project-slider-price {
	font-size: 0.85rem;
	font-weight: 700;
}

.nader-project-products-slider .blog-post-slider-item {
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.nader-project-products-slider .blog-post-slider-media {
	border-radius: 0;
}

.nader-project-products-slider .blog-post-slider-body {
	padding: 14px 14px 0;
}

.nader-project-products-slider .project-slider-excerpt {
	margin-top: 0.65rem;
}

.nader-project-products-slider .blog-post-slider-footer {
	padding: 12px 14px 14px;
	margin-top: 14px;
	border-top: 0;
	gap: 12px;
	flex-wrap: nowrap;
}

.nader-project-products-slider .project-slider-footer-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	flex: 1;
}

.nader-project-products-slider .blog-post-slider-footer .cat_name {
	display: inline-block;
	font-size: 0.78rem;
	line-height: 1.4;
	color: #888;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nader-project-products-slider .blog-post-slider-footer .cat_name:hover {
	color: var(--nader-color-main, #d79d4b);
}

.nader-project-products-slider .project-slider-price {
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--nader-color-dark, #222);
}

.nader-project-products-slider .project-slider-price .price {
	margin: 0;
}

.nader-project-products-slider .project-slider-price del {
	font-size: 0.78rem;
	color: #999;
}

.nader-project-products-slider .project-slider-price ins {
	text-decoration: none;
}

.nader-project-products-slider .project-slider-more {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 12px;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--nader-color-main, #d79d4b);
	background: rgba(215, 157, 75, 0.1);
	border-radius: 6px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.nader-project-products-slider .project-slider-more:hover {
	color: #fff;
	background: var(--nader-color-main, #d79d4b);
}

.mobile-menu .menu-header .menu-header-title {
	display: block;
	font-family: 'Emkan', var(--nader-font-family), serif;
	font-size: 36px;
	font-weight: 700;
	line-height: normal;
}

html[dir=rtl] .mobile-menu .menu-header .menu-header-title {
	font-family: 'Emkan', var(--nader-font-family), serif;
}

@media (max-width: 767px) {
	body {
		line-height: 1.65;
	}

	.elementor .text-1,
	.elementor .text-2,
	.elementor span.text-1,
	.elementor span.text-2,
	.elementor span.text-2.trans03,
	span.text-2.trans03 {
		display: block !important;
		position: relative !important;
		top: auto !important;
		right: auto !important;
		bottom: auto !important;
		left: auto !important;
		width: 100%;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		line-height: 1.65 !important;
		white-space: normal !important;
		word-break: break-word;
		overflow: visible !important;
		transform: none !important;
	}

	.elementor .text-1 + .text-2,
	.elementor .text-2 + .text-1,
	.elementor span.text-1 + span.text-2,
	.elementor span.text-2 + span.text-1 {
		margin-top: 0.35em;
	}

	.elementor .dfx:has(.text-1),
	.elementor .dfx:has(.text-2),
	.elementor .e-con:has(.text-1),
	.elementor .e-con:has(.text-2) {
		flex-wrap: wrap !important;
		align-items: flex-start !important;
		align-content: flex-start;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		gap: 10px;
	}

	.elementor .dfx.aic:has(.text-2),
	.elementor .e-con.e-flex:has(.text-2) {
		align-items: flex-start !important;
	}

	.elementor.elementor-10954 .elementor-element-605e974,
	.elementor.elementor-10954 .elementor-element-605e974 > .e-con,
	.elementor.elementor-10954 .elementor-element-605e974 .e-con-inner,
	.elementor.elementor-10954 .elementor-element-605e974 .elementor-widget-container {
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		overflow: visible !important;
	}

	.elementor.elementor-10954 span.text-2.trans03 {
		font-size: clamp(18px, 5.5vw, 26px) !important;
		line-height: 1.7 !important;
		letter-spacing: 0;
	}

	.elementor-widget-heading .elementor-heading-title,
	.elementor-widget-text-editor {
		line-height: 1.65 !important;
	}
}

@media (max-width: 768px) {
	.single-product .single-banner .post-details {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.single-product .single-banner .post-title {
		margin-bottom: 0;
		padding-bottom: 12px;
	}

	.single-product .single-banner .post-title h1 {
		line-height: 1.65;
		font-size: 15px;
		word-break: break-word;
	}

	.single-product .single-banner .product-information {
		gap: 14px;
		margin-bottom: 0;
	}

	.single-product .single-banner .product-information li {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		line-height: 1.75;
		font-size: 13px;
		font-weight: normal;
	}

	.single-product .single-banner .product-information li span {
		display: block;
		min-width: 0;
		font-weight: bold;
		line-height: 1.5;
	}

	.single-product .single-banner .product-summary-one {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		margin-bottom: 0;
	}

	.single-product .single-banner .product-summary-one .price-box {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.single-product .single-banner .product-summary-one .price-box .price {
		width: 100%;
		margin: 0;
	}

	.single-product .single-banner .product-summary-one .has-not-price-replacer-btn {
		width: 100%;
		min-width: 0;
		padding: 12px 16px;
		line-height: 1.5;
		font-size: 14px;
		white-space: nowrap;
	}

	.single-product .single-banner .product-summary-one .actions-box {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 10px;
	}
}

@media (max-width: 480px) {
	.single-product .single-banner .post-title h1 {
		font-size: 14px;
		line-height: 1.7;
	}

	.single-product .single-banner .product-information li {
		font-size: 12px;
		line-height: 1.8;
	}
}

.product-card .product-title :is(h2, span),
.card-style-2 .product-title :is(h2, span),
.card-style-3 .product-item-content .product-title :is(h2, span),
.card-style-7 .product-title :is(h2, span),
.card-style-8 .product-title :is(h2, span) {
	display: block;
}

.elementor-widget-WP_ACTIVE_WE_PostsColumn li.post-item a > :is(h3, span),
.elementor-widget-WP_ACTIVE_WE_PostsGrid1 .post-item .title:is(h2, h3, span),
.wp-active-we-linear-icon-box .title.dfx.dir-v > :is(h2, span),
.sidebar-section .title.dfx.dir-v > :is(h2, span) {
	display: block;
	margin: 0;
	font: inherit;
}

.post-item-wrapper .post-item .title:is(h2, h3, span) {
	display: block;
	margin: 0;
	font: inherit;
}

#respond .comment-reply-title:is(h2, h3, span) {
	display: block;
	margin: 0;
	font: inherit;
}

.woocommerce-products-box-title :is(h2, h3, span) {
	display: block;
	font-size: 16px;
	font-weight: bold;
	margin: 0;
}

.woocommerce-Tabs-panel .woocommerce-content-tab-title:is(h2, h3, span),
.woocommerce-Tabs-panel .product-faq-header:is(h2, h3, span) {
	display: block;
	margin: 0;
	font: inherit;
}

.e-loop-item :is(h3, span).elementor-heading-title,
.e-loop-item .title-tag :is(h3, span),
.nader-card .title-tag :is(h2, h3, span),
.nader-blog-posts .blog-title :is(h2, h3, span),
.archive-loop .card-title-wrap {
	display: block;
	margin: 0;
	font: inherit;
}

.nader-blog-posts .blog-title :is(h2, h3, span) {
	font: inherit;
}

.blog-post-slider-item .blog-post-slider-body .post-item-title :is(h2, h3, span) {
	display: block;
	margin: 0;
	font: inherit;
}

.woocommerce-products-header .shop-title-header .page-title {
	display: block;
	font-size: 18px;
	font-weight: bold;
	line-height: inherit;
	margin: 0;
}

.nader-home-seo-title {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.elementor-widget-theme-post-content a:not(.button):not(.wp-block-button__link):not(.btn):not(.nsp__cta),
.single-content-section .sc-inner a:not(.button):not(.wp-block-button__link):not(.btn):not(.nsp__cta):not(.post-tags a):not(.nader-share a):not(.page-actions a),
.single-content-section .sc-inner .nsp a:not(.nsp__cta):not(.button):not(.wp-block-button__link):not(.btn),
.elementor-widget-text-editor a:not(.button):not(.wp-block-button__link):not(.btn),
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel a:not(.button):not(.wp-block-button__link):not(.btn) {
	color: var(--nader-color-main, #d79d4b);
	text-decoration: underline;
	text-decoration-color: rgba(var(--nader-color-main-rgb, 215, 157, 75), 0.45);
	text-underline-offset: 3px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.elementor-widget-theme-post-content a:not(.button):not(.wp-block-button__link):not(.btn):not(.nsp__cta):hover,
.single-content-section .sc-inner a:not(.button):not(.wp-block-button__link):not(.btn):not(.nsp__cta):not(.post-tags a):not(.nader-share a):not(.page-actions a):hover,
.single-content-section .sc-inner .nsp a:not(.nsp__cta):not(.button):not(.wp-block-button__link):not(.btn):hover,
.elementor-widget-text-editor a:not(.button):not(.wp-block-button__link):not(.btn):hover,
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel a:not(.button):not(.wp-block-button__link):not(.btn):hover {
	color: #a86f2a;
	text-decoration-color: currentColor;
}

body.single-post .single-content-section .post-content,
body.page .single-content-section .post-content,
body.single-post .elementor-location-single .elementor-widget-theme-post-content,
body.single-post .elementor-widget-theme-post-content.post-content,
body.single-post .elementor-widget-theme-post-content .elementor-widget-container,
body.page .elementor-location-single .elementor-widget-theme-post-content,
body.page .elementor-widget-theme-post-content .elementor-widget-container {
	text-align: justify;
	text-justify: inter-word;
}

body.single-post .single-content-section .post-content :is(p, li, td, th, blockquote),
body.page .single-content-section .post-content :is(p, li, td, th, blockquote),
body.single-post .elementor-widget-theme-post-content :is(p, li, td, th, blockquote),
body.page .elementor-widget-theme-post-content :is(p, li, td, th, blockquote) {
	text-align: justify;
	text-justify: inter-word;
}

body.single-post .single-content-section .post-content :is(h1, h2, h3, h4, h5, h6, .page-title, .page-actions, .post-tags, .nader-share, .font-size-changer),
body.page .single-content-section .post-content :is(h1, h2, h3, h4, h5, h6, .page-title, .page-actions, .post-tags, .nader-share, .font-size-changer),
body.single-post .elementor-widget-theme-post-content :is(h1, h2, h3, h4, h5, h6),
body.page .elementor-widget-theme-post-content :is(h1, h2, h3, h4, h5, h6) {
	text-align: initial;
}

body.single-post .single-content-section .post-content :is(.wp-block-image, figure.wp-caption, .page-thumbnail),
body.page .single-content-section .post-content :is(.wp-block-image, figure.wp-caption, .page-thumbnail),
body.single-post .elementor-widget-theme-post-content :is(.wp-block-image, figure.wp-caption, figure:has(img), .page-thumbnail),
body.page .elementor-widget-theme-post-content :is(.wp-block-image, figure.wp-caption, figure:has(img), .page-thumbnail) {
	text-align: center;
	margin-inline: auto;
}

body.single-post .single-content-section .post-content :is(.wp-block-image img, figure.wp-caption img, .page-thumbnail img),
body.page .single-content-section .post-content :is(.wp-block-image img, figure.wp-caption img, .page-thumbnail img),
body.single-post .elementor-widget-theme-post-content :is(.wp-block-image img, figure img, .page-thumbnail img),
body.page .elementor-widget-theme-post-content :is(.wp-block-image img, figure img, .page-thumbnail img) {
	display: block;
	margin-inline: auto;
}

body.page .single-content-section .nsp :is(.nsp__text, .nsp__lead, .nsp__card-text, p, li),
body.single-post .single-content-section .nsp :is(.nsp__text, .nsp__lead, .nsp__card-text, p, li) {
	text-align: justify;
	text-justify: inter-word;
}

body.page .single-content-section .nsp :is(.nsp__title, .nsp__heading, .nsp__subheading, h1, h2, h3, h4),
body.single-post .single-content-section .nsp :is(.nsp__title, .nsp__heading, .nsp__subheading, h1, h2, h3, h4) {
	text-align: initial;
}

body.page .single-content-section .nsp .nsp__figure,
body.single-post .single-content-section .nsp .nsp__figure {
	text-align: center;
}

.sidebar-section .sidebar-item .si-header .si-header-title,
.sidebar-section .title.dfx.dir-v .si-header-title {
	font-size: 14px;
	font-weight: 700;
}
