body,
.site-main-container,
.content-wrapper {
	background: transparent !important;
}


img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.site-main-container {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 ;
	margin-bottom: 1rem;
}

.content-wrapper {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.post-wrapper {
	flex: 4.5;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: #fff;
	padding: 1rem;
	width: 100%;
}

.sidebar-wrapper {
	flex: 0 0 30%;
	max-width: 30%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: #fff;
	padding: 20px 10px;
	align-items: flex-start;
}

.post-section {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 0.5rem;
}

.post-title {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	padding: 0 0.3rem;
}

.post-body {
	line-height: 1.8;
	word-break: break-word;
	padding: 0 0.3rem;
}
.login-to-comment {
	text-align: center;
	margin: 1rem 0 2rem 0; 
	font-family: 'Vazir', sans-serif;
	position: relative;
}

.login-to-comment .login-link {
	display: inline-block;
	margin-bottom: 0.5rem; 
	font-weight: bold;
	font-size: 16px;
	color: var(--primary-color);
	text-decoration: none;
}

.login-to-comment .login-link:hover {
	text-decoration: underline;
}

.login-to-comment .login-hr {
	border: none;
	border-top: 1px solid #ccc;
	margin: 0 2rem; 
}

.login-to-comment .login-message {
	font-size: 14px;
	color: #555;
	margin-top: 0.5rem;
}

.sidebar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
	width: 100%;
	font-size: 0.75rem;
	color: #555;
}

.sidebar-header {
	font-size: 1.1rem;
	color: #333;
	text-align: right;
	width: 100%;
	padding-right: 0.2rem;
	margin-top: 0.1rem;
	line-height: 1.4;
}

.sidebar-header + hr {
	margin-top: 0.2rem;
	border: 0;
	border-top: 1px solid #00bfff;
	width: 100%;
}

.sidebar-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 0.4rem;
	width: 100%;
	font-size: 0.85rem;
}

.sidebar-btn {
	display: block;
	width: 100%;
	padding: 0.5rem;
	background: transparent;
	color: #333;
	border: 1px solid #eb2121;
	text-align: center;
	text-decoration: none;
	border-radius: 6px;
	transition: 0.3s;
}

.sidebar-btn:hover {
	background: #eb2121;
	color: #fff;
}

.sidebar-latest-box {
	width: 100%;
}

.sidebar-latest-header {
	font-size: 1.4rem;
	color: #555;
	text-align: right;
	margin-bottom: 0.7rem;
	font-weight: bold;
}

.sidebar-latest-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sidebar-latest-item {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	border-bottom: 1px solid #ddd;
	padding-bottom: 0.5rem;
}

.sidebar-latest-thumb {
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 10px;
	overflow: hidden;
}

.sidebar-latest-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sidebar-latest-info {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.sidebar-latest-info a {
	color: #4E5468;
	font-size: 13px;
	font-weight: 300;
	line-height: 24px;
}

.sidebar-latest-info span {
	font-size: 9px;
	color: #555;
}


.post-thumbnail {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.sidebar .post-item-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0.3rem 0;
}

.sidebar .post-meta {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	font-size: 0.95rem;
	color: #777;
}

.sidebar .post-meta .meta-icon {
	display: none;
}

.comment-form-wrapper {
	margin-top: 1rem;
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 0.8rem;
	background: #fff;
	padding: 1rem;
	border: 1px solid transparent;
	box-shadow: 0 0 10px rgba(235, 33, 33, 0.15);
	transition: 0.3s;
}

.comment-form-wrapper.active {
	display: flex;
	border: 1px solid #eb2121;
	box-shadow: 0 0 15px rgba(235, 33, 33, 0.3);
}

.comment-form-wrapper input,
.comment-form-wrapper textarea {
	width: 80%;
	padding: 0.7rem;
	border: 1px solid #ccc;
	font-size: 0.95rem;
	transition: 0.3s;
}

.comment-form-wrapper input:focus,
.comment-form-wrapper textarea:focus {
	border-color: #eb2121;
	outline: none;
	box-shadow: 0 0 5px #eb2121;
	background: #fff;
}

.comment-form-wrapper textarea {
	min-height: 100px;
	resize: vertical;
}

.submit-comment {
	background: #fff;
	color: #eb2121;
	border: 1px solid #eb2121;
	padding: 0.6rem 1.2rem;
	width: 30%;
	cursor: pointer;
	transition: 0.3s;
}

.submit-comment:hover {
	background: #eb2121;
	color: #fff;
}

.comments-list {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.single-comment {
	background: #fafafa;
	padding: 1rem;
	border-right: 4px solid #eb2121;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.comment-author {
	font-weight: bold;
	color: #eb2121;
}

.comment-date {
	font-size: 0.9rem;
	color: #777;
	margin-bottom: 0.4rem;
}

.comment-text {
	color: #333;
	line-height: 1.6;
}

.no-comments {
	text-align: center;
	color: #888;
	margin-top: 1rem;
}

.toggle-comment-form {
	display: block;
	width: 100%;
	background: #eb2121;
	color: #fff;
	padding: 0.8rem;
	border: none;
	font-size: 1rem;
	cursor: pointer;
	transition: 0.3s;
}

.toggle-comment-form:hover {
	background: #d92020;
}
.comment-login-link {
	display: block;
	margin-top: 5rem;
	text-align: right;
	font-size: 0.95rem;
	color: #4bb7ff;
	text-decoration: none;
}

.comment-login-link:hover {
	color: #1aa3ff;
}

.comment-divider {
	border: none;
	border-top: 1px solid #ddd;
	margin: 1rem 0 0.7rem 0;
}

.comment-login-warning {
	text-align: center;
	color: #888;
	font-size: 0.85rem;
	margin-bottom: 2rem;
}

.comments-title {
	margin-top: 2rem;
	font-size: 1.2rem;
	font-weight: bold;
	color: #333;
}

.comments-title + hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 0;
}

.comments-area {
	margin-top: 1rem;
}

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

.comment {
	padding: 1rem;
	margin-bottom: 1rem;
	background: #fafafa;
	border-right: 4px solid #eb2121;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.comment-meta {
	margin-bottom: 0.5rem;
}

.comment-author {
	font-weight: bold;
	color: #eb2121;
}

.comment-date {
	font-size: 0.8rem;
	color: #777;
}

.comment-content {
	color: #333;
	line-height: 1.7;
}

#respond {
	display: none !important;
}

@media (min-width: 1025px) {
	.meta {
		display: none !important;
	}
}
@media (max-width: 1024px) {
	.meta {
		display: flex !important;
	}
	.single-post .comments-area {
  display: none;
}
}


@media (max-width: 1024px) {
	.sidebar-wrapper { display: none; }
	.content-wrapper { flex-direction: column; gap: 0; padding: 0; }
	.post-wrapper { width: 100%; flex: none; padding: 0; }
	.post-section { margin-top: 0; }
	.post-thumbnail { display: block; }
	.meta { display: flex; gap: 1rem; font-size: 0.7rem; color: #555; padding-bottom: 0.3rem; }
	.comment-form-wrapper { display: flex; width: 100%; }
}

@media (max-width: 768px) {
	.bgwhite {
		background-color: #fff;
	}
	.single-post,
	.single-post .site-content,
	.single-post .content-wrapper,
	.single-post .post-section {
		margin: 0;
		padding: 0;
		width: 100vw;
		max-width: 100vw;
		background: none;
		box-sizing: border-box;
		margin-top: 1rem;
	}
	.single-post .post-title { font-size: 0.95rem; }
	.meta { display: flex; gap: 1rem; }
	.meta-date,
	.meta-time,
	.meta-comments { display: flex; }
	.post-thumbnail img { width: 100%; height: auto; object-fit: cover; display: block; }
}

@media (max-width: 480px) {
	.single-post .post-title { font-size: 0.9rem; }
	.post-thumbnail img { width: 100%; height: auto; object-fit: cover; }
}



.meta {
	display: flex;
	gap: 2rem;
	font-size: 0.7rem;
	color: #555;
	padding-bottom: 1rem;
	margin-right: 0.5rem;
}

.meta-date,
.meta-time,
.meta-comments {
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.meta-icon {
	width: 13px;
	height: 13px;
	display: inline-block;
	filter: brightness(0) saturate(100%) invert(55%) sepia(2%) saturate(17%) hue-rotate(330deg) brightness(91%) contrast(87%);
}

.single-post .post-title {
	font-size: 17px;
	font-weight: 400;
	letter-spacing: 0px;
	word-spacing: 0px;
	color: #4E5468;
}
.single-post .post-wrapper {
	padding: 0;
}
.single-post .post-thumbnail.hide-desktop {
	margin-bottom: 10px;
}
.single-post .post-body {
	text-align: justify;
	color: #4E5468;
	font-size: 15px;
	font-weight: 300;
	line-height: 31px;
}
.single-post .sidebar-header {
	color: #ed1b24;
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	border-bottom: 1px solid #ECF4FF;
	padding-bottom: 1rem;
}
.single-post .post-meta * {
	font-size: 12px;
	font-weight: 300;
	color: #4E5468;
}
.single-post .post-meta {
	gap: 10px !important;
}
.single-post .sidebar-buttons .sidebar-btn {
	font-size: 13px;
	font-weight: 400;
	fill: #4E5468;
	color: #4E5468;
}
.single-post .sidebar-buttons .sidebar-btn:hover {
	background: transparent;
}
.single-post .sidebar-latest-box .sidebar-latest-header {
	font-size: 14px;
	font-weight: 500;
	color: rgb(78, 84, 104) !important;
	opacity: 1;
	padding: 14px 0px 0px 0px;
}
.single-post .sidebar-latest-list .sidebar-latest-thumb {
	width: 31%;
	height: auto;
}
.single-post .sidebar-latest-info {
	color: #4E5468;
	font-size: 13px;
	font-weight: 300;
	line-height: 24px;
}
.single-post .sidebar-latest-item {
	gap: 6px;
}
.single-post .sidebar-latest-info span {
	font-size: 10px;
	font-weight: 300;
	color: #adadad;
	line-height: 1.3em;
}
.single-post .meta {
	color: #818181;
}
.videos .post-section {
	padding: 0;
	width:100%;
}
.videos .post-body {
	padding: 10px !important;
}
.videos .post-title.hide-mobile {
	padding: 0 1rem;
}
.videos #comments {
	display: none;
}
@media(min-width:768px){
	.single-post .post-title.hide-desktop {
		display:none;
	}
}
@media(max-width:768px){
	.videos .post-body {
	padding: 0 !important;
}
	.single-post .post-title.hide-mobile {
		display:none;
	}
	.single-post .post-title {
		margin-top: 0 !important;
		font-weight: 600;
		color: #4E5468;
		font-size: 15px;
		line-height: 1.7em;
		padding: 5px 10px 0px 10px;
	}
	.single-post .meta.responsive-only {
		justify-content: space-between;
		margin: 0 10px;		
	}
	.meta-icon {
		width: 14px;
		height: 14px;
	}
	.post-thumbnail img {
		width: 100%;
		height: 240px;
		object-fit: cover;
	}
	.single-post .post-body {
		font-weight: 300;
		padding: 0px 10px 0px 10px;
		font-size: 14px;
		line-height: 2.2em;
		text-align: justify;
		color: #4E5468;
	}
	.single-post .post-section {
		width: 100% !important;
		margin-top: 0 !important;

	}
	.single-post .site-main-container {
		padding:0 !important;
	}
}
.single-post .sidebar-buttons {
	flex-direction: row;
	flex-wrap: wrap;
}
.single-post .sidebar-buttons > a {
	flex: 1 1 48%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px !important;
}
