/**
 * Content Styles
 * استایل‌های محتوا با استفاده از BEM
 */

.content {
	padding: calc(100px + 3rem) 0 3rem 0 !important;
	min-height: 60vh !important;
	margin-top: 0 !important;
}

/* جلوگیری از اعمال استایل‌های content روی single-product */
body.single-product .content,
body.single-product .content__container {
	display: none !important;
}

.content__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Post Styles */
.post {
	margin-bottom: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.post__header {
	margin-bottom: 1.5rem;
}

.post__title {
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #ffffff;
}

.post__title-link {
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.post__title-link:hover {
	opacity: 0.7;
}

.post__meta {
	display: flex;
	gap: 1rem;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.6);
}

.post__date {
	color: rgba(255, 255, 255, 0.6);
}

.post__content {
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.8;
}

.post__content p {
	margin-bottom: 1.5rem;
}

.post__content a {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.3);
	transition: text-decoration-color 0.3s ease;
}

.post__content a:hover {
	text-decoration-color: rgba(255, 255, 255, 0.7);
}

.post--single {
	max-width: 800px;
	margin: 0 auto;
}

/* Page Styles */
.page {
	margin-bottom: 3rem;
}

.page__header {
	margin-bottom: 2rem;
}

.page__title {
	font-size: 2.5rem;
	font-weight: 600;
	color: #ffffff;
	margin-bottom: 1rem;
}

.page__content {
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.8;
}

.page__content p {
	margin-bottom: 1.5rem;
}

.page__content a {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.3);
	transition: text-decoration-color 0.3s ease;
}

.page__content a:hover {
	text-decoration-color: rgba(255, 255, 255, 0.7);
}

/* Archive Header */
.archive-header {
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-header__title {
	font-size: 2.5rem;
	font-weight: 600;
	color: #ffffff;
}

/* Search Header */
.search-header {
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-header__title {
	font-size: 2.5rem;
	font-weight: 600;
	color: #ffffff;
}

.search-header__title span {
	color: rgba(255, 255, 255, 0.7);
}

/* No Content */
.no-content {
	text-align: center;
	padding: 4rem 0;
}

.no-content__text {
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.125rem;
}

/* Error 404 */
.error-404 {
	text-align: center;
	padding: 6rem 0;
}

.error-404__title {
	font-size: 8rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 1rem;
	line-height: 1;
}

.error-404__text {
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 2rem;
}

.error-404__link {
	display: inline-block;
	padding: 1rem 2rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	color: #ffffff;
	text-decoration: none;
	transition: all 0.3s ease;
}

.error-404__link:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Advanced Page Template - قالب پیشرفته صفحات
   ============================================ */

.tshop-page {
	position: relative !important;
	min-height: 100vh !important;
	padding: calc(100px + 3rem) 0 4rem 0 !important;
	background: #000000 !important;
	overflow-x: hidden !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* Background Effects */
.tshop-page__background {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	z-index: 0 !important;
	pointer-events: none !important;
}

.tshop-page__grid-overlay {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background-image: 
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
	background-size: 50px 50px !important;
	opacity: 0.5 !important;
}

.tshop-page__gradient-orb {
	position: absolute !important;
	border-radius: 50% !important;
	filter: blur(80px) !important;
	opacity: 0.3 !important;
	animation: float 20s ease-in-out infinite !important;
	pointer-events: none !important;
}

.tshop-page__gradient-orb--1 {
	width: 400px !important;
	height: 400px !important;
	background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%) !important;
	top: 10% !important;
	right: 10% !important;
	animation-delay: 0s !important;
}

.tshop-page__gradient-orb--2 {
	width: 300px !important;
	height: 300px !important;
	background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, transparent 70%) !important;
	bottom: 20% !important;
	left: 15% !important;
	animation-delay: 5s !important;
}

@keyframes float {
	0%, 100% {
		transform: translate(0, 0) scale(1);
	}
	25% {
		transform: translate(30px, -30px) scale(1.1);
	}
	50% {
		transform: translate(-20px, 20px) scale(0.9);
	}
	75% {
		transform: translate(20px, 30px) scale(1.05);
	}
}

/* Container */
.tshop-page__container {
	position: relative !important;
	z-index: 1 !important;
	max-width: 1000px !important;
	margin: 0 auto !important;
	padding: 0 2rem !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* Breadcrumb */
.tshop-page__breadcrumb {
	margin-bottom: 2rem !important;
	padding-bottom: 1.5rem !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.tshop-page__breadcrumb .woocommerce-breadcrumb {
	color: rgba(255, 255, 255, 0.6) !important;
	font-size: 0.9rem !important;
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.tshop-page__breadcrumb .woocommerce-breadcrumb a {
	color: rgba(255, 255, 255, 0.7) !important;
	text-decoration: none !important;
	transition: color 0.3s ease !important;
}

.tshop-page__breadcrumb .woocommerce-breadcrumb a:hover {
	color: #ffd700 !important;
}

/* Page Header */
.tshop-page__header {
	margin-bottom: 4rem !important;
	position: relative !important;
}

.tshop-page__featured-image {
	position: relative !important;
	width: 100% !important;
	height: 400px !important;
	border-radius: 24px !important;
	overflow: hidden !important;
	margin-bottom: 2rem !important;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
}

.tshop-page__image {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.tshop-page__featured-image:hover .tshop-page__image {
	transform: scale(1.05) !important;
}

.tshop-page__image-overlay {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%) !important;
	pointer-events: none !important;
}

.tshop-page__header-content {
	text-align: center !important;
}

.tshop-page__title {
	font-size: clamp(2rem, 5vw, 3.5rem) !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin: 0 0 1rem 0 !important;
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	line-height: 1.3 !important;
	letter-spacing: -0.02em !important;
}

.tshop-page__excerpt {
	font-size: 1.125rem !important;
	color: rgba(255, 255, 255, 0.7) !important;
	line-height: 1.7 !important;
	margin: 0 !important;
	max-width: 700px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Page Article */
.tshop-page__article {
	background: linear-gradient(135deg, 
		rgba(255, 255, 255, 0.06) 0%, 
		rgba(255, 255, 255, 0.03) 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 24px !important;
	padding: 3rem !important;
	backdrop-filter: blur(20px) saturate(150%) !important;
	-webkit-backdrop-filter: blur(20px) saturate(150%) !important;
	box-shadow: 
		0 8px 32px rgba(0, 0, 0, 0.2),
		0 0 0 1px rgba(255, 255, 255, 0.05) inset !important;
	transition: all 0.3s ease !important;
}

.tshop-page__article:hover {
	border-color: rgba(255, 255, 255, 0.18) !important;
	box-shadow: 
		0 12px 48px rgba(0, 0, 0, 0.25),
		0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
}

/* Page Content */
.tshop-page__content {
	color: rgba(255, 255, 255, 0.85) !important;
	line-height: 1.9 !important;
	font-size: 1.0625rem !important;
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.tshop-page__content p {
	margin-bottom: 1.5rem !important;
}

.tshop-page__content p:last-child {
	margin-bottom: 0 !important;
}

.tshop-page__content h1,
.tshop-page__content h2,
.tshop-page__content h3,
.tshop-page__content h4,
.tshop-page__content h5,
.tshop-page__content h6 {
	color: #ffffff !important;
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-weight: 700 !important;
	margin-top: 2.5rem !important;
	margin-bottom: 1rem !important;
	line-height: 1.4 !important;
}

.tshop-page__content h1 {
	font-size: 2.25rem !important;
}

.tshop-page__content h2 {
	font-size: 1.875rem !important;
}

.tshop-page__content h3 {
	font-size: 1.5rem !important;
}

.tshop-page__content h4 {
	font-size: 1.25rem !important;
}

.tshop-page__content h5 {
	font-size: 1.125rem !important;
}

.tshop-page__content h6 {
	font-size: 1rem !important;
}

.tshop-page__content a {
	color: #ffd700 !important;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(255, 215, 0, 0.3) !important;
	transition: all 0.3s ease !important;
}

.tshop-page__content a:hover {
	color: #ffffff !important;
	border-bottom-color: rgba(255, 255, 255, 0.6) !important;
}

.tshop-page__content ul,
.tshop-page__content ol {
	margin: 1.5rem 0 !important;
	padding-right: 2rem !important;
}

.tshop-page__content ul li,
.tshop-page__content ol li {
	margin-bottom: 0.75rem !important;
	color: rgba(255, 255, 255, 0.8) !important;
}

.tshop-page__content blockquote {
	margin: 2rem 0 !important;
	padding: 1.5rem 2rem !important;
	border-right: 4px solid rgba(255, 215, 0, 0.5) !important;
	background: rgba(255, 255, 255, 0.03) !important;
	border-radius: 12px !important;
	font-style: italic !important;
	color: rgba(255, 255, 255, 0.9) !important;
}

.tshop-page__content img {
	max-width: 100% !important;
	height: auto !important;
	border-radius: 16px !important;
	margin: 2rem 0 !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.tshop-page__content code {
	background: rgba(255, 255, 255, 0.1) !important;
	padding: 0.25rem 0.5rem !important;
	border-radius: 6px !important;
	font-size: 0.9em !important;
	color: #ffd700 !important;
	font-family: 'Courier New', monospace !important;
}

.tshop-page__content pre {
	background: rgba(0, 0, 0, 0.4) !important;
	padding: 1.5rem !important;
	border-radius: 12px !important;
	overflow-x: auto !important;
	margin: 2rem 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.tshop-page__content pre code {
	background: transparent !important;
	padding: 0 !important;
	color: rgba(255, 255, 255, 0.9) !important;
}

.tshop-page__content table {
	width: 100% !important;
	border-collapse: collapse !important;
	margin: 2rem 0 !important;
	background: rgba(255, 255, 255, 0.03) !important;
	border-radius: 12px !important;
	overflow: hidden !important;
}

.tshop-page__content table th,
.tshop-page__content table td {
	padding: 1rem !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
	text-align: right !important;
}

.tshop-page__content table th {
	background: rgba(255, 255, 255, 0.05) !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.tshop-page__content table td {
	color: rgba(255, 255, 255, 0.8) !important;
}

.tshop-page__content table tr:last-child td {
	border-bottom: none !important;
}

/* Responsive */
@media (max-width: 768px) {
	.content {
		padding: calc(90px + 2rem) 0 2rem 0 !important;
	}

	.post__title {
		font-size: 1.75rem;
	}

	.page__title {
		font-size: 2rem;
	}

	.error-404__title {
		font-size: 5rem;
	}

	.tshop-page {
		padding: calc(90px + 2rem) 0 3rem 0 !important;
	}

	.tshop-page__container {
		padding: 0 1.5rem !important;
	}

	.tshop-page__featured-image {
		height: 250px !important;
		border-radius: 16px !important;
		margin-bottom: 1.5rem !important;
	}

	.tshop-page__title {
		font-size: 2rem !important;
	}

	.tshop-page__excerpt {
		font-size: 1rem !important;
	}

	.tshop-page__article {
		padding: 2rem 1.5rem !important;
		border-radius: 16px !important;
	}

	.tshop-page__content {
		font-size: 1rem !important;
		line-height: 1.8 !important;
	}

	.tshop-page__content h1 {
		font-size: 1.75rem !important;
	}

	.tshop-page__content h2 {
		font-size: 1.5rem !important;
	}

	.tshop-page__content h3 {
		font-size: 1.25rem !important;
	}
}

