/*
Theme Name: Paniz Music
Author: میلاد خواجوی
Description: قالب اختصاصی پانیذ موزیک برای انتشار موزیک، آلبوم و موزیک ویدیو
Version: 1.5.3
Text Domain: paniz-music
*/

/* ===== فونت‌های لوکال (بدون وابستگی به گوگل فونت) ===== */
@font-face {
	font-family: 'IRANSans';
	src: url('fonts/webfonts/IRANSansWeb-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IRANSans';
	src: url('fonts/webfonts/IRANSansWeb-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Estedad';
	src: url('fonts/webfonts/Estedad-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Estedad';
	src: url('fonts/webfonts/Estedad-Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* ===== توکن‌های طراحی ===== */
:root {
	--bg: #f2f2f2;
	--bg-elevated: #ffffff;
	--bg-elevated-2: #f2f2f2;
	--border: #e6e6ea;
	--divider: rgba(20, 19, 27, .1);
	--text: #14131b;
	--text-muted: #555557;
	--accent: #4d1dd3;
	--accent-dim: #4d1dd3;
	--accent-ink: #ffffff;
	--accent-grad: linear-gradient(180deg, #6b3bdd 0%, #804ee5 100%);
	--accent-2: #fac335;
	--accent-2-ink: #221100;
	--header-bg: #ffffff;
	--header-text: #ffffff;
	--footer-bg: #2b2a33;
	--quick-nav-bg: transparent;
	--search-bg: #44434b;
	--search-placeholder: #b5b4ba;
	--singers-list-bg: #44434b;
	--header-height: 56px;
	--radius-lg: 16px;
	--radius-md: 10px;
	--radius-sm: 6px;
	--font: 'IRANSans', Tahoma, sans-serif;
	--font-heading: 'Estedad', 'IRANSans', Tahoma, sans-serif;
}

/* ===== Reset ساده ===== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	max-width: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	background: var(--bg);
	color: var(--text);
	line-height: 1.8;
	direction: rtl;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 10px;
}

/* ===== هدر ===== */
.site-header {
	background: var(--header-bg);
	padding: 8px 0;
	position: sticky;
	top: 0;
	z-index: 50;
}

/* پوشش بالای هدر چسبان: اگر هنگام اسکرول فاصله‌ای بالای هدر باشد،
   محتوای سایت از آن دیده نمی‌شود و هدر کاملاً به بالای صفحه چسبیده است */
.site-header::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 120px;
	background: var(--header-bg);
	pointer-events: none;
}

/* وقتی کاربر لاگین است، نوار ابزار مدیریت وردپرس بالای صفحه ثابت می‌ماند؛
   بدون این تنظیم، هدر چسبان قالب موقع اسکرول زیر آن نوار پنهان می‌شود
   و به نظر می‌رسد هدر «پایین‌تر» و با فاصله چسبیده. این نوار فقط برای
   مدیر/کاربر لاگین‌شده نمایش داده می‌شود و بازدیدکننده‌های عادی اصلاً آن را نمی‌بینند. */
body.admin-bar .site-header {
	top: 32px;
}

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

/* در عرض ۶۰۰ پیکسل و کمتر، نوار مدیریت وردپرس ثابت نیست و با اسکرول بالا می‌رود؛
   پس هدر باید دقیقاً به بالای صفحه بچسبد (قبلاً ۴۶ پیکسل فاصله می‌ماند) */
@media (max-width: 600px) {
	body.admin-bar .site-header {
		top: 0;
	}
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	position: relative;
	padding: 0 7px;
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	min-width: 0;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: var(--radius-lg);
	padding: 10px 16px;
}

.site-logo {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--accent-ink);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 800;
	font-family: var(--font-heading);
	overflow: hidden;
}

.site-logo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.site-name {
	font-size: 18px;
	font-weight: 900;
	font-family: var(--font-heading);
	color: var(--accent-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 120px;
}

/* لوگوی هدر: تصویر آزاد (بدون دایره و پس‌زمینه) کنار راست هدر */
.site-header .site-brand {
	background: transparent;
	padding: 0;
	border-radius: 0;
	gap: 0;
}

.site-header .site-logo {
	width: auto;
	height: auto;
	border-radius: 0;
	background: transparent;
	color: var(--accent);
	font-size: 22px;
	overflow: visible;
}

.site-header .site-logo-img {
	display: block;
	width: auto;
	height: 40px;
	max-width: none;
	border-radius: 0;
	object-fit: contain;
}

/* اسم سایت فقط برای سئو/صفحه‌خوان‌ها (لوگو خودش اسم سایت را دارد) */
.site-header .site-name {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes eq-bounce {
	0%, 100% { transform: scaleY(.4); }
	50% { transform: scaleY(1); }
}

/* ===== نوار میانبر نوع محتوا (کنار لوگو) — دکمه‌های بنفش ===== */
.quick-nav {
	flex: 1;
	min-width: 0;
}

.quick-nav ul {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--quick-nav-bg);
	overflow: visible;
}

.quick-nav ul li {
	flex: 1 1 auto;
	min-width: 0;
}

.quick-nav ul::-webkit-scrollbar {
	display: none;
}

.quick-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	box-sizing: border-box;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	line-height: 1;
	color: var(--header-text);
	background: var(--accent);
	padding: 0 6px;
	border-radius: 10px;
	font-size: clamp(13px, 3.8vw, 15px);
	font-weight: 500;
	transition: background .15s ease;
}

.quick-nav a.is-active,
.quick-nav a:hover {
	background: #3a12ad;
}

/* ===== نوار جستجو (تمام‌عرض: فیلد خاکستری تیره + دکمه زرد) ===== */
.search-bar {
	margin: 0;
	background: var(--search-bg);
	border-radius: 0;
	padding: 0;
	display: flex;
	align-items: stretch;
	height: 50px;
}

.search-bar input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 0 14px;
	font-family: var(--font);
	font-size: 13px;
	color: #fff;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.search-bar input[type="search"]::placeholder {
	color: var(--search-placeholder);
	opacity: 1;
}

.search-bar input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.search-bar button {
	flex: 0 0 86px;
	border: 0;
	background: var(--accent-2);
	color: var(--accent-2-ink);
	font-family: var(--font);
	font-weight: 500;
	font-size: 14px;
	padding: 0;
	border-radius: 0;
	cursor: pointer;
}

.search-bar button:hover {
	filter: brightness(.96);
}

/* ===== باکس معرفی صفحه اصلی ===== */
.intro-card {
	background: var(--bg-elevated);
	border: 0;
	border-radius: var(--radius-lg);
	padding: 13px 13px 14px;
	text-align: center;
	margin-bottom: 14px;
}

.intro-card h1 {
	font-family: var(--font-heading);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 6px;
	text-align: center;
	color: var(--text);
}

.intro-card p {
	color: var(--text-muted);
	font-size: 15px;
	margin: 0;
	line-height: 1.6;
	text-align: center;
}

/* موبایل: باکس‌ها تمام‌عرض و سفید، با فاصله خاکستری بین آن‌ها */
@media (max-width: 699px) {
	.intro-card,
	.feed-grid:not(.feed-grid-grid) .home-card {
		margin-inline: -10px;
		border-radius: 0;
	}

	.feed-grid:not(.feed-grid-grid) {
		gap: 13px;
	}
}

/* ===== فید صفحه اصلی / آرشیو / جستجو (تک‌ستونه) ===== */
.feed-grid {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

/* ===== کارت پیش‌نمایش موزیک در فید ===== */
.home-card {
	background: var(--bg-elevated);
	border: 0;
	border-radius: var(--radius-lg);
	padding: 10px;
}

.home-card-desc {
	background: var(--bg-elevated);
	border-radius: var(--radius-lg);
	padding: 14px;
	margin-bottom: 14px;
	color: var(--text-muted);
	font-size: 14px;
	line-height: 1.9;
	text-align: center;
}

.home-card-desc p {
	margin: 0 0 6px;
}

.home-card-desc p:last-child {
	margin-bottom: 0;
}

.home-card-desc .ltr-text {
	direction: ltr;
}

.home-card-soon-badge {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	background: var(--accent-dim);
	color: var(--accent-ink);
	font-size: 11px;
	font-weight: 700;
	padding: 4px 9px;
	border-radius: var(--radius-md);
	z-index: 2;
}

/* ===== حالت گرید دوستونه (آرشیو / جستجو / دسته‌بندی‌ها) ===== */
.feed-grid-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	max-width: 100%;
}

@media (min-width: 700px) {
	.feed-grid-grid {
		gap: 16px;
	}
}

@media (min-width: 960px) {
	.feed-grid-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.feed-grid-grid .home-card {
	min-width: 0;
	max-width: 100%;
	padding: 8px;
}

.feed-grid-grid .home-card-desc {
	display: none;
}

.feed-grid-grid .title-box {
	padding: 8px 10px;
	margin-bottom: 10px;
}

.feed-grid-grid .title-box-meta {
	display: none;
}

.feed-grid-grid .title-box h1,
.feed-grid-grid .title-box h2 {
	font-size: 13px;
	color: var(--accent);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
}

.feed-grid-grid .full-player {
	padding: 6px 10px;
	gap: 6px;
}

.online-play-hero {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin-bottom: 8px;
	padding: 10px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	appearance: none;
	transition: transform .15s ease, filter .15s ease;
}

.online-play-hero:hover {
	transform: translateY(-1px);
	filter: brightness(1.08);
}

.online-play-hero:active {
	transform: translateY(0);
}

.online-play-hero .ml-icon-pause {
	display: none;
}

.online-play-hero.is-playing .ml-icon-play {
	display: none;
}

.online-play-hero.is-playing .ml-icon-pause {
	display: block;
}

.feed-grid-grid .online-play-hero {
	padding: 9px 10px;
	font-size: 12.5px;
}

.full-player input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	flex: 1;
	min-width: 0;
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(to left,
		var(--accent) 0%,
		var(--accent) var(--range-progress, 0%),
		var(--border) var(--range-progress, 0%),
		var(--border) 100%);
	cursor: pointer;
	outline: none;
}

.full-player input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--accent);
	border: 2px solid var(--accent-ink);
	box-shadow: 0 1px 4px rgba(0,0,0,.3);
	cursor: pointer;
}

.full-player input[type="range"]::-moz-range-thumb {
	width: 15px;
	height: 15px;
	border: 2px solid var(--accent-ink);
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 1px 4px rgba(0,0,0,.3);
	cursor: pointer;
}

.full-player input[type="range"]::-moz-range-track {
	height: 6px;
	border-radius: 999px;
	background: transparent;
}

/* ===== صفحه‌بندی (دکمه‌های بنفش گرد، صفحه‌ی فعلی زرد) ===== */
.feed-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 24px 0;
	padding: 16px 8px;
	background: var(--bg-elevated);
	border-radius: var(--radius-lg);
}

.feed-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(212deg, #4d1dd4, #9866ec);
	color: #fff;
	font-size: 15px;
	line-height: 1;
	transition: background 0.25s ease, color 0.25s ease;
}

.feed-pagination a.page-numbers:hover,
.feed-pagination .page-numbers.current {
	background: linear-gradient(212deg, #ffc108, #ffd179);
	color: #161125;
}

/* قبلی / صفحه بعدی / سه‌نقطه: بدون پس‌زمینه، فقط متن */
.feed-pagination .page-numbers.prev,
.feed-pagination .page-numbers.next,
.feed-pagination .page-numbers.dots {
	background: none;
	color: #56555e;
	min-width: 0;
	padding: 0 12px;
}

.feed-pagination a.page-numbers.prev:hover,
.feed-pagination a.page-numbers.next:hover {
	background: none;
	color: var(--accent);
}

/* ===== تک پست ===== */
.single-music {
	width: 100%;
	margin: 0 0 24px;
}

.single-music h1 {
	font-size: inherit;
	font-weight: inherit;
	font-family: inherit;
}

.single-media {
	position: relative;
}

.single-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 18px;
	background: #000;
}

.single-video video,
.single-video iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.single-cover {
	position: relative;
	max-height: 420px;
	overflow: hidden;
	border-radius: var(--radius-lg);
	margin-bottom: 18px;
}

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

/* ===== مسیر نان (breadcrumb) ===== */
.breadcrumb {
	background: var(--bg-elevated-2);
	border-radius: var(--radius-md);
	padding: 12px 16px;
	font-size: 14px;
	color: var(--text-muted);
	margin: 16px 0;
}

.breadcrumb a {
	color: var(--accent-dim);
}

.breadcrumb .sep {
	margin: 0 4px;
	color: var(--text-muted);
}

.compact-card {
	flex: 0 0 110px;
	width: 110px;
	scroll-snap-align: start;
}

.compact-cover {
	aspect-ratio: 1/1;
	border-radius: var(--radius-md) var(--radius-md) 0 0;
	overflow: hidden;
	background: var(--bg-elevated-2);
	margin-bottom: 0;
}

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

.compact-title {
	background: var(--bg-elevated-2);
	font-size: 13px;
	font-weight: 500;
	text-align: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.5;
	padding: 6px 6px;
	border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ===== باکس عنوان (تک‌پست و کارت‌های فید) ===== */
.title-box {
	background: var(--bg-elevated);
	color: var(--accent);
	border-radius: var(--radius-lg);
	padding: 10px 12px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin-bottom: 14px;
}

.title-box h1,
.title-box h2 {
	font-size: 17px;
	font-weight: 700;
	font-family: var(--font-heading);
	color: var(--accent);
	line-height: 1.6;
	margin: 0 0 3px;
	overflow-wrap: break-word;
	word-break: break-word;
}

.title-box-meta {
	font-size: 13px;
	color: #767676;
}

.title-box-meta-sep {
	margin: 0 4px;
	opacity: .6;
}

/* ===== پلیر کامل تک‌پست ===== */
.full-player {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--bg-elevated-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 10px 14px;
	max-width: 100%;
}

/* ===== دکمه‌های دانلود (دوستونه) ===== */
.download-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin: 16px 0;
}

.download-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background: var(--accent);
	color: var(--accent-ink);
	text-align: center;
	padding: 9px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	transition: filter .15s ease, transform .15s ease;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border: 0;
	font-family: inherit;
	appearance: none;
	cursor: pointer;
}

.download-btn:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.download-btn-online {
	background: transparent;
	border: 1.5px solid var(--accent);
	color: var(--accent-dim);
	cursor: pointer;
}

.download-btn-online:hover {
	background: rgba(77, 29, 211, .08);
}

.download-btn-online.is-playing {
	background: var(--accent);
	color: var(--accent-ink);
}

@media (max-width: 380px) {
	.download-grid {
		grid-template-columns: 1fr;
	}
}

/* در دسکتاپ (وقتی سایدبارها فعال می‌شوند و ستون اصلی باریک‌تر می‌شود)، دکمه‌های دانلود
   زیر هم قرار می‌گیرند تا متن داخلشان فشرده/بریده نشود. */
@media (min-width: 960px) {
	.download-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== لینک‌های میان‌بر خواننده/دسته ===== */
.quick-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 8px 0 4px;
}

.quick-link-pill {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	background: var(--accent);
	color: var(--header-text);
	font-weight: 700;
	font-size: 14px;
	padding: 12px;
	border-radius: var(--radius-md);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.quick-link-pill .ml-icon {
	flex: 0 0 auto;
}

/* ===== عنوان بخش با آیکون (مرتبط/پیشنهادی) ===== */
.section-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 10px;
}

.section-heading-icon {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}

/* ===== مطالب ویژه (باند سفید تمام‌عرض، کاور گرد، عنوان زیر کاور) ===== */
.featured-grid-section {
	background: var(--bg-elevated);
	margin: 14px 0 13px;
	padding: 14px 4px 12px;
}

.featured-grid-section .section-heading {
	display: none;
}

.featured-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px 8px;
}

.featured-grid .compact-card {
	display: block;
	width: auto;
	flex: initial;
}

.featured-grid .compact-cover {
	border-radius: 15px;
	background: var(--bg-elevated-2);
}

.featured-grid .compact-title {
	background: transparent;
	color: var(--text);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	padding: 8px 0 0;
	border-radius: 0;
}

@media (min-width: 700px) {
	.featured-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

/* ===== دکمه‌های ناوبری (آهنگ/صفحه قبلی‌بعدی) - چسبیده به لبه‌ی چپ و راست صفحه ===== */
.edge-nav {
	position: fixed;
	top: 56%;
	transform: translateY(-50%);
	width: 35px;
	height: 77px;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	white-space: nowrap;
	text-align: center;
	overflow: hidden;
	background: var(--accent-grad);
	color: var(--header-text);
	font-size: 13px;
	font-weight: 500;
	padding: 0 6px;
	z-index: 60;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(77,29,211,.25);
}

/* دکمه‌های قبلی/بعدی در همه‌ی اندازه‌ها (موبایل و دسکتاپ) دقیقاً به لبه‌ی چپ و راست صفحه می‌چسبند */
.edge-nav-next {
	right: 0;
	border-radius: 14px 0 0 14px;
}

.edge-nav-prev {
	left: 0;
	border-radius: 0 14px 14px 0;
}

/* عنوان مخفی متن آهنگ (فقط برای سئو و صفحه‌خوان) */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* متن آهنگ: بدون کادر جدا، داخل همان کادر مطلب و زیر پخش آنلاین */
.lyrics-text {
	margin: 4px 0 16px;
	text-align: center;
	color: var(--text);
}

.lyrics-text .lyrics-line {
	font-size: 16px;
	line-height: 2.2;
	margin: 0;
	overflow-wrap: break-word;
}

/* خط جداکننده: |———— ♪♫♬♭ ————| */
.lyrics-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 14px auto;
	max-width: 340px;
	color: var(--text-muted);
	direction: ltr;
}

.lyrics-divider::before,
.lyrics-divider::after {
	content: "";
	flex: 1;
	height: 14px;
	border-left: 2px solid currentColor;
	background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}

.lyrics-divider::after {
	border-left: 0;
	border-right: 2px solid currentColor;
}

.lyrics-divider-notes {
	font-size: 15px;
	line-height: 1;
	letter-spacing: 1px;
}

/* بنر وسط متن با اسم سایت */
.lyrics-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 10px 0;
	padding: 8px 16px;
	min-height: 64px;
	border-radius: 14px;
	overflow: hidden;
	direction: ltr;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='90' viewBox='0 0 220 90' fill='%23b9b9c6' fill-opacity='.45' font-family='Arial' font-size='30'%3E%3Ctext x='8' y='34'%3E%E2%99%AA%3C/text%3E%3Ctext x='72' y='72' font-size='24'%3E%E2%99%AB%3C/text%3E%3Ctext x='128' y='34'%3E%E2%99%AC%3C/text%3E%3Ctext x='184' y='74' font-size='26'%3E%E2%99%AA%3C/text%3E%3C/svg%3E") center / 220px 90px repeat,
		linear-gradient(90deg, #ececf4 0%, #f7f7fb 50%, #ececf4 100%);
}

.lyrics-banner-en,
.lyrics-banner-fa {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: clamp(18px, 6vw, 30px);
	line-height: 1.3;
	color: var(--accent);
	text-shadow: -1.5px -1.5px 0 #fff, 1.5px -1.5px 0 #fff, -1.5px 1.5px 0 #fff, 1.5px 1.5px 0 #fff, 0 3px 8px rgba(77, 29, 211, .25);
	position: relative;
	white-space: nowrap;
}

.lyrics-banner-en {
	direction: ltr;
}

.lyrics-banner-fa {
	direction: rtl;
}

.ml-ad-slot-output {
	margin: 18px 0;
	text-align: center;
	overflow: hidden;
}

.ml-ad-slot-output:empty {
	display: none;
}

.tags-list {
	/* از نظر بصری مخفی است اما همچنان در DOM و قابل خواندن برای گوگل باقی می‌ماند (بدون display:none) */
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tags-list a {
	background: var(--bg-elevated-2);
	border: 1px solid var(--border);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 13px;
	color: var(--text-muted);
	transition: color .15s ease, border-color .15s ease;
}

.tags-list a:hover {
	color: var(--accent-dim);
	border-color: var(--accent-dim);
}

/* مرتبط با خواننده */
.related-section {
	margin: 30px 0;
}

/* ===== فهرست خوانندگان (بعد از صفحه‌بندی) ===== */
.singers-list-section {
	margin: 13px 0;
}

.singers-list-card {
	background: var(--bg-elevated);
	border-radius: var(--radius-lg);
	overflow: hidden;
	padding: 12px 0 24px;
}

.singers-list-header {
	margin: 0 19px;
	padding: 0 13px 14px;
	border-bottom: 2px solid #dcd2f6;
}

.singers-list-header-text {
	display: block;
	font-family: var(--font);
	font-weight: 500;
	font-size: 17px;
	line-height: 2;
	color: var(--text);
	text-align: right;
}

.singers-list-body {
	background: transparent;
	color: var(--text-muted);
	padding: 14px 13px 0;
	text-align: right;
	line-height: 1;
	font-size: 15px;
}

.singers-list-body a {
	display: inline-block;
	position: relative;
	padding: 9px 0;
	margin-inline-start: 16px;
	padding-inline-start: 14px;
	color: var(--text-muted);
	white-space: nowrap;
}

.singers-list-body a::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	margin-top: -5px;
	border-style: solid;
	border-width: 5px 7px 5px 0;
	border-color: transparent #c4c4c8 transparent transparent;
}

.singers-list-body a:hover {
	color: var(--accent);
}

@media (max-width: 699px) {
	.singers-list-card {
		margin-inline: -10px;
		border-radius: 0;
	}
}

/* ===== پربازدیدترین آهنگ‌ها ===== */
.most-viewed-section {
	margin: 13px 0;
}

.most-viewed-card {
	background: var(--bg-elevated);
	border: 0;
	border-radius: var(--radius-lg);
	padding: 12px 0 14px;
	overflow: hidden;
}

.most-viewed-header {
	margin: 0 19px;
	padding: 0 13px 14px;
	border-bottom: 2px solid #dcd2f6;
}

.most-viewed-header-icon {
	display: none;
}

.most-viewed-header-pill {
	display: block;
	font-family: var(--font);
	font-weight: 500;
	font-size: 17px;
	line-height: 2;
	color: var(--text);
	text-align: right;
}

.most-viewed-list {
	list-style: none;
	margin: 0;
	padding: 10px 13px 0;
}

.most-viewed-list a,
.most-viewed-list .special-link-text {
	position: relative;
	display: block;
	padding: 12px 0;
	padding-inline-start: 20px;
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.8;
}

.most-viewed-list a::before,
.most-viewed-list .special-link-text::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	margin-top: -5px;
	border-style: solid;
	border-width: 5px 7px 5px 0;
	border-color: transparent #c4c4c8 transparent transparent;
}

.most-viewed-list .mv-title {
	flex: none;
}

.most-viewed-list a:hover .mv-title {
	color: var(--accent);
}

@media (max-width: 699px) {
	.most-viewed-card {
		margin-inline: -10px;
		border-radius: 0;
	}
}

/* ===== لینک‌های ویژه (بدون آدرس = متن ساده/تبلیغاتی، غیرقابل کلیک) ===== */
.most-viewed-list .special-link-text {
	cursor: default;
}

.special-links-section {
	margin-top: 14px;
}

/* ===== بخش نظرات (جمع و جور) ===== */
.comments-section {
	margin: 20px 0;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 12px;
}

/* ردیف عنوان: آیکون + عنوان + توضیح کوتاه، همه در یک خط */
.comments-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin-bottom: 10px;
}

.comments-header-icon {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
}

.comments-header-icon svg {
	width: 20px;
	height: 20px;
}

.comments-header-title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 16px;
	color: var(--text);
}

/* لیست نظرات */
.comment-list {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.comment-list > li + li,
.comment-list .children > li + li {
	border-top: 1px solid var(--border);
}

.comment-list .children {
	list-style: none;
	margin: 8px 0 0 0;
	padding-inline-start: 14px;
	padding-top: 8px;
	border-inline-start: 2px solid var(--accent-dim);
	display: flex;
	flex-direction: column;
}

.comment-body {
	padding: 8px 2px;
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}

.comment-author .avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: block;
	flex: 0 0 auto;
}

.comment-author .fn {
	font-weight: 700;
	font-size: 13px;
	font-style: normal;
	color: var(--text);
}

.comment-metadata {
	font-size: 11.5px;
	color: var(--text-muted);
}

.comment-metadata a {
	color: inherit;
}

.comment-content {
	font-size: 13.5px;
	line-height: 1.75;
	color: var(--text);
}

.comment-content p {
	margin: 0 0 6px;
}

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

.comment-reply-link,
.comment-edit-link {
	display: inline-block;
	margin-top: 4px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--accent-dim);
}

.comments-pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 10px 0 0;
}

.comments-closed {
	color: var(--text-muted);
	font-size: 13px;
	text-align: center;
	margin: 8px 0 0;
}

/* جعبه‌ی «هنوز نظری ثبت نشده» */
.no-comments-box {
	background: var(--bg-elevated-2);
	border: 1px dashed var(--border);
	border-radius: var(--radius-md);
	color: var(--text-muted);
	font-size: 13px;
	text-align: center;
	margin: 10px 0 0;
	padding: 12px;
}

/* فرم ثبت دیدگاه - جمع و جور، گرید دوستونه مطابق اسکرین‌شات مرجع */
#respond.comment-respond {
	margin: 0;
	padding-top: 10px;
	border-top: 1px solid var(--border);
}

.comment-list ~ #respond.comment-respond,
.comments-pagination ~ #respond.comment-respond {
	margin-top: 10px;
}

.comment-form p {
	margin: 0 0 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--border);
	background: var(--bg-elevated-2);
	border-radius: var(--radius-md);
	padding: 8px 10px;
	font-family: var(--font);
	font-size: 13.5px;
	color: var(--text);
	outline: none;
	resize: none;
}

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

.comment-form-comment textarea {
	height: 100%;
	min-height: 92px;
}

.comment-submit-btn {
	border: 0;
	cursor: pointer;
	width: 100%;
	margin-top: 0;
	padding: 8px 10px;
	font-size: 13.5px;
}

.comment-notes,
.logged-in-as {
	font-size: 12px;
	color: var(--text-muted);
	margin: 0 0 8px;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 12px;
	color: var(--text-muted);
	margin: 0 0 8px;
}

.comment-form-cookies-consent input[type="checkbox"] {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	margin: 2px 0 0;
	accent-color: var(--accent);
}

.comment-form-cookies-consent label {
	line-height: 1.6;
}

/* گرید دسکتاپ: متن نظر بزرگ‌تر در یک ستون، نام/ایمیل/دکمه در ستون کناری جمع‌تر */
@media (min-width: 560px) {
	.comment-form-compact {
		display: grid;
		grid-template-columns: 1fr 190px;
		grid-template-areas:
			"message name"
			"message email"
			"message submit";
		gap: 8px 10px;
		align-items: stretch;
	}

	.comment-form-compact .comment-form-comment {
		grid-area: message;
		margin-bottom: 0;
	}

	.comment-form-compact .comment-form-author {
		grid-area: name;
		margin: 0;
	}

	.comment-form-compact .comment-form-email {
		grid-area: email;
		margin: 0;
	}

	.comment-form-compact .form-submit {
		grid-area: submit;
		margin: 0;
		align-self: end;
	}

	.comment-form-compact .comment-notes,
	.comment-form-compact .logged-in-as,
	.comment-form-compact .comment-form-cookies-consent {
		grid-column: 1 / -1;
	}
}

/* ===== لایوت سه‌ستونه (دسکتاپ) ===== */
.layout-main {
	min-width: 0;
}

.layout-sidebar {
	margin: 26px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--border);
}

@media (min-width: 960px) {
	.layout-3col {
		display: grid;
		grid-template-columns: 220px minmax(0, 1fr) 220px;
		grid-template-areas: "left main right";
		align-items: start;
		gap: 24px;
	}

	.layout-main {
		grid-area: main;
	}

	.layout-sidebar-left {
		grid-area: left;
	}

	.layout-sidebar-right {
		grid-area: right;
	}

	.layout-sidebar {
		margin: 0;
		padding-top: 0;
		border-top: none;
		position: sticky;
		top: calc(var(--header-height, 78px) + 16px);
	}

	.layout-sidebar .singers-list-body {
		max-height: 65vh;
		overflow-y: auto;
	}
}

/* ===== فوتر (سفید، لوگوی بزرگ وسط‌چین، لینک‌ها با نقطه بنفش) ===== */
.site-footer {
	background: var(--bg-elevated);
	color: var(--text);
	margin-top: 13px;
	padding: 30px 0 34px;
	text-align: center;
	border-radius: 0;
}

.footer-logo {
	display: inline-block;
	margin-bottom: 14px;
}

.footer-logo-img {
	display: block;
	width: auto;
	height: 60px;
	max-width: 100%;
	margin: 0 auto;
	object-fit: contain;
}

.footer-copy,
.footer-credit {
	margin: 0;
	font-size: 14px;
	line-height: 2.1;
	color: var(--text);
}

.footer-credit a,
.footer-credit-name {
	color: var(--accent);
}

.footer-links {
	margin-top: 10px;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 34px;
}

.footer-menu a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	font-size: 16px;
	color: var(--text);
}

.footer-menu a::before {
	content: "";
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--accent);
	flex: 0 0 auto;
}

.footer-menu a:hover {
	color: var(--accent);
}

/* ===== ریسپانسیو ===== */
@media (max-width: 600px) {
	.site-name {
		font-size: 15px;
	}
}

/* ===== دسکتاپ / تبلت: استفاده بهتر از فضا ===== */
@media (min-width: 700px) {
	.quick-links {
		flex-direction: row;
	}
	.quick-link-pill {
		flex: 1;
	}
}

@media (min-width: 1000px) {
	.single-music {
		margin-bottom: 32px;
	}
}

/* ===== پلیر سراسری شناور (پخش آنلاین) — مطابق طرح مرجع ===== */
.sticky-player {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	direction: ltr;
	transform: translateY(100%);
	opacity: 0;
	transition: transform .2s ease, opacity .2s ease;
	z-index: 999;
	pointer-events: none;
}

.sticky-player.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

/* ردیف بالای نوار: دکمه‌ی بستن (چپ) + کارت اطلاعات قطعه (راست) */
.sticky-player .sp-top {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 12px 12px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	pointer-events: none;
}

.sticky-player .sp-top > * {
	pointer-events: auto;
}

.sticky-player .sp-close {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 8px;
	background: rgba(110, 110, 110, .92);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.sticky-player .sp-toast {
	direction: rtl;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 72%;
	min-width: 0;
	background: #262626;
	color: #fff;
	border-radius: 14px;
	padding: 8px 10px 8px 18px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

.sticky-player .sp-meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
	text-align: right;
	line-height: 1.7;
}

.sticky-player .sp-artist {
	font-size: 15px;
	font-weight: 700;
	font-family: var(--font-heading);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sticky-player .sp-title {
	font-size: 13px;
	font-weight: 500;
	color: #e4e4e4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sticky-player .sp-artist:empty {
	display: none;
}

.sticky-player .sp-cover {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
}

.sticky-player .sp-cover[hidden] {
	display: none;
}

/* نوار اصلی */
.sticky-player-inner {
	width: 100%;
	background: #4a4a4a;
	color: #fff;
	padding-bottom: env(safe-area-inset-bottom);
}

.sticky-player .sp-progress {
	--range-progress: 0%;
	display: block;
	width: 100%;
	height: 14px;
	margin: 0;
	padding: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.sticky-player .sp-progress::-webkit-slider-runnable-track {
	height: 5px;
	background: linear-gradient(to right, #8f5beb 0%, #8f5beb var(--range-progress), #222 var(--range-progress), #222 100%);
}

.sticky-player .sp-progress::-moz-range-track {
	height: 5px;
	background: #222;
}

.sticky-player .sp-progress::-moz-range-progress {
	height: 5px;
	background: #8f5beb;
}

.sticky-player .sp-progress::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 0;
	height: 0;
	border: 0;
}

.sticky-player .sp-progress::-moz-range-thumb {
	width: 0;
	height: 0;
	border: 0;
}

.sticky-player .sp-controls {
	display: flex;
	align-items: center;
	gap: 4px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 2px 12px 8px;
}

.sticky-player .sp-controls button {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.sticky-player .sp-controls button:disabled {
	opacity: .35;
	cursor: default;
}

.sticky-player .sp-play .ml-icon-pause {
	display: none;
}

.sticky-player .sp-play.is-playing .ml-icon-play {
	display: none;
}

.sticky-player .sp-play.is-playing .ml-icon-pause {
	display: block;
}

.sticky-player .sp-loop.is-on {
	color: #b794ff;
}

.sticky-player .sp-time {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: Roboto, Arial, sans-serif;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.sticky-player .sp-current,
.sticky-player .sp-sep {
	color: #9a9a9a;
}

.sticky-player .sp-duration {
	color: #fff;
}

@media (max-width: 380px) {
	.sticky-player .sp-controls button {
		width: 34px;
	}
	.sticky-player .sp-time {
		font-size: 13px;
		gap: 5px;
	}
}

/* وقتی پلیر شناور باز است، محتوای پایین صفحه زیرش گم نشود */
body.has-sticky-player {
	padding-bottom: 72px;
}

/* =====================================================================
   کارت پست (صفحه اصلی / آرشیو / جستجو) — مطابق طرح مرجع
   عنوان بنفش با نوار عمودی، تاریخ و نوع، توضیح، کاور + دکمه‌ها
   ===================================================================== */
.feed-grid {
	gap: 13px;
}

.post-card {
	background: var(--bg-elevated);
	border: 0;
	border-radius: var(--radius-lg);
	padding: 0;
	overflow: hidden;
}

.post-head {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 12px 16px 0;
}

.post-head-bar {
	flex: 0 0 13px;
	width: 13px;
	height: 29px;
	border-radius: 7px;
	background: var(--accent-grad);
}

.post-head h2 {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--accent);
	overflow-wrap: break-word;
	min-width: 0;
}

.post-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 30px;
	padding: 0 13px 14px;
	border-bottom: 1px solid var(--border);
	color: #767676;
	font-size: 14px;
	line-height: 24px;
}

.post-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.post-meta-item svg {
	flex: 0 0 auto;
	color: #a3a3a3;
}

.post-body {
	padding: 14px 10px 14px;
}

.post-card .home-card-desc {
	background: transparent;
	padding: 0 6px;
	margin: 0 0 10px;
	color: var(--text);
	font-size: 14px;
	line-height: 1.85;
	text-align: center;
}

.post-card .home-card-desc p {
	margin: 0;
}

.post-card .home-card-desc strong {
	font-weight: 700;
}

.post-card .home-card-desc .ltr-text {
	direction: ltr;
	font-family: Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-size: 15px;
}

.latin-num {
	font-family: Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.post-card .ltr-inline {
	direction: ltr;
	unicode-bidi: isolate;
	display: inline-block;
}

.post-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
}

.post-actions {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 9px;
}

.post-cover {
	position: relative;
	flex: 0 0 137px;
	width: 137px;
	height: 137px;
	border-radius: 20px;
	overflow: hidden;
	background: var(--bg-elevated-2);
	margin: 0;
	max-height: none;
}

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

.post-play-btn,
.post-dl-btn,
.post-more-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	border: 0;
	font-family: var(--font);
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
}

.post-play-btn {
	height: 39px;
	border-radius: 10px;
	background: #e4e4e4;
	color: var(--text);
}

.post-play-btn:hover {
	filter: none;
	transform: none;
	background: #dadada;
}

.post-dl-btn {
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(to left, #4d1dd3, #8f5ee8);
	color: #fff;
	font-size: 17px;
	box-shadow: 0 4px 10px rgba(77, 29, 211, .28);
}

.post-more-btn {
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(to left, #2f2d3b, #14131b);
	color: #fff;
	font-size: 17px;
	box-shadow: 0 4px 10px rgba(20, 19, 27, .2);
}

.post-more-btn:hover {
	filter: brightness(1.15);
}

.post-dl-btn:hover {
	filter: brightness(1.06);
}

.post-dl-btn svg,
.post-play-btn svg {
	flex: 0 0 auto;
}

@media (max-width: 699px) {
	.post-card {
		border-radius: 0;
	}
}

@media (max-width: 360px) {
	.post-cover {
		flex-basis: 110px;
		width: 110px;
		height: 110px;
	}
}

/* ===== صفحه تک‌پست (مطابق گیسو موزیک) =====
   ترتیب: کاور ← دکمه‌های دانلود ← لینک‌های زرد ← پخش آنلاین ← عنوان و توضیح */
.download-btn {
	height: 44px;
	padding: 0 8px;
	gap: 8px;
	border-radius: 14px;
	background: linear-gradient(to left, #1a5fef, #5f8df9);
	font-size: 14px;
	font-weight: 500;
}

.download-btn-online {
	background: transparent;
	border: 1.5px solid #1a5fef;
	color: #1a5fef;
}

.download-btn-online.is-playing {
	background: #1a5fef;
	color: #fff;
}

.download-grid {
	gap: 9px;
	margin: 0 0 13px;
}

.quick-links {
	gap: 13px;
	margin: 0 0 8px;
}

.quick-link-pill {
	height: 44px;
	padding: 0 10px;
	gap: 8px;
	border-radius: 14px;
	background: linear-gradient(to left, #ffc107, #ffd682);
	color: var(--text);
	font-size: 15px;
	font-weight: 500;
}

.single-audio {
	margin: 0 0 16px;
}

.single-audio-label {
	margin: 0 0 6px;
	text-align: center;
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
}

.single-audio audio {
	display: block;
	width: 100%;
	height: 54px;
	border-radius: 999px;
}

.single-music .post-head h1 {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--accent);
	overflow-wrap: break-word;
	min-width: 0;
}

.single-body {
	padding: 14px 11px 16px;
}

.single-music .single-cover,
.single-music .single-video {
	margin: 4px 0 21px;
}

@media (max-width: 699px) {
	/* کارت تمام‌عرض مثل کارت‌های صفحه اصلی؛ کاور بدون گوشه گرد مثل گیسو */
	.single-music.home-card {
		width: auto;
		margin: 0 -10px 13px;
		border-radius: 0;
	}

	.single-music .single-cover,
	.single-music .single-video {
		max-height: none;
		border-radius: 0;
	}

	.single-music .single-cover img {
		height: auto;
	}
}

/* ===== مسیر نان زیر مطالب ویژه ===== */
.site-main .breadcrumb {
	background: var(--bg-elevated);
	border-radius: var(--radius-lg);
	padding: 10px 14px;
	margin: 0 0 13px;
	font-size: 13px;
	line-height: 1.8;
}

/* ===== سایر آهنگ‌های خواننده (مثل مطالب ویژه) و نظرات: دو کادر جدا ===== */
.single-music.home-card {
	margin-bottom: 13px;
}

.related-section {
	background: var(--bg-elevated);
	border-radius: var(--radius-lg);
	padding: 14px 11px 12px;
	margin: 0 0 13px;
}

.related-section .section-heading {
	margin-bottom: 12px;
}

.comments-section {
	margin: 0 0 13px;
}

@media (max-width: 699px) {
	.site-main .breadcrumb,
	.related-section,
	.comments-section {
		margin-inline: -10px;
		border-radius: 0;
	}

	.comments-section {
		border-inline: 0;
	}
}

/* ===== بخش نظرات (مطابق گیسو موزیک) ===== */
.comments-section {
	border: 0;
	padding: 16px 11px 10px;
}

.comments-header {
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	margin: 0 10px;
	padding-bottom: 18px;
	border-bottom: 2px solid #d9cff5;
}

.comments-header-icon {
	width: auto;
	height: auto;
	background: transparent;
	border-radius: 0;
	color: #c4c4cb;
}

.comments-header-icon svg {
	width: 26px;
	height: 26px;
}

.comments-header-title {
	font-family: var(--font);
	font-weight: 500;
	font-size: 16px;
	color: var(--text);
}

.comments-rules {
	list-style: none;
	margin: 12px 0 10px;
	padding: 0;
}

.comments-rules li {
	position: relative;
	padding-inline-start: 15px;
	font-size: 13.5px;
	line-height: 1.8;
	color: #333;
}

.comments-rules li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	width: 7px;
	height: 3px;
	margin-top: -1.5px;
	border-radius: 3px;
	background: var(--accent);
}

#respond.comment-respond {
	padding-top: 0;
	border-top: 0;
}

.comment-form.comment-form-compact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas:
		"name email"
		"message message";
	gap: 12px 8px;
	align-items: stretch;
}

.comment-form-compact .comment-form-author { grid-area: name; margin: 0; }
.comment-form-compact .comment-form-email { grid-area: email; margin: 0; }
.comment-form-compact .comment-form-comment { grid-area: message; margin: 0; }

.comment-form-compact .comment-notes,
.comment-form-compact .logged-in-as,
.comment-form-compact .comment-form-cookies-consent {
	grid-column: 1 / -1;
	margin: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	background: #fff;
	border: 1px solid #dcdce0;
	border-radius: 14px;
	font-size: 15px;
	color: var(--text);
}

.comment-form input[type="text"],
.comment-form input[type="email"] {
	height: 42px;
	padding: 0 16px;
}

.comment-form textarea {
	height: 96px;
	min-height: 96px;
	padding: 12px 16px 54px;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
	color: #7a7a80;
	opacity: 1;
}

/* دکمه ارسال داخل کادر متن، گوشه پایین چپ */
.comment-form-compact .form-submit {
	grid-area: message;
	align-self: end;
	justify-self: end;
	margin: 0 10px 10px;
	z-index: 1;
}

.comment-form .comment-submit-btn {
	width: auto;
	min-width: 83px;
	height: 41px;
	padding: 0 18px;
	border-radius: 14px;
	background: linear-gradient(to left, #5f30d9, #8c5cec);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	box-shadow: none;
}

.no-comments-box {
	background: linear-gradient(to left, #ffc107, #ffd682);
	border: 0;
	border-radius: 14px;
	color: var(--text);
	font-size: 15px;
	line-height: 41px;
	padding: 0 10px;
	margin: 10px 0 0;
}

.comment-list {
	margin-top: 14px;
}

/* ===== نوار جستجوی هدر و لینک‌های اضافه (فقط دسکتاپ) ===== */
.search-bar-header,
.quick-nav-extra {
	display: none;
}

/* ===== حالت دسکتاپ (مطابق گیسو موزیک) ===== */
@media (min-width: 960px) {
	.container {
		padding: 0 20px;
	}

	/* هدر: ثابت نیست، دو ردیف (لوگو + منو، سپس جستجو) */
	.site-header {
		position: relative;
		padding: 14px 0;
	}

	.site-header::before {
		display: none;
	}

	.site-header .container {
		flex-wrap: wrap;
		gap: 10px 10px;
		padding: 0 20px;
	}

	.site-header .site-logo-img {
		height: 52px;
	}

	.quick-nav {
		flex: 1 1 auto;
	}

	.quick-nav ul {
		gap: 0;
		flex-wrap: nowrap;
	}

	.quick-nav ul li {
		flex: 0 0 auto;
	}

	.quick-nav-extra {
		display: block;
	}

	.quick-nav a {
		height: auto;
		padding: 8px 20px;
		background: transparent;
		color: #333;
		font-size: 15px;
		font-weight: 400;
		border-radius: 8px;
	}

	.quick-nav a.is-active,
	.quick-nav a:hover {
		background: transparent;
		color: var(--accent);
	}

	/* جستجو در هدر: فیلد خاکستری روشن + دکمه بنفش */
	.search-bar-mobile {
		display: none;
	}

	.search-bar-header {
		display: flex;
		flex: 0 0 340px;
		height: 48px;
		border-radius: 14px;
		overflow: hidden;
		background: #f0f0f4;
	}

	.search-bar-header input[type="search"] {
		font-size: 13px;
		color: var(--text);
		padding: 0 16px;
	}

	.search-bar-header input[type="search"]::placeholder {
		color: #8e8e94;
	}

	.search-bar-header button {
		flex: 0 0 85px;
		background: var(--accent);
		color: #fff;
		font-size: 14px;
	}

	/* مطالب ویژه: کادر سفید گرد، یک ردیف کاور مربعی بدون عنوان */
	.featured-grid-section {
		background: transparent;
		margin: 14px 0 14px;
		padding: 0;
	}

	.featured-grid-section .container {
		padding: 0 20px;
	}

	.featured-grid {
		display: grid;
		/* تعداد ستون ثابت = تعداد نمایش دسکتاپ؛ اگر مطلب کمتر باشد، کاورها بزرگ نمی‌شوند و جای خالی خالی می‌ماند */
		grid-template-columns: repeat(var(--featured-cols, 6), minmax(0, 1fr));
		grid-auto-flow: row;
		gap: 10px;
		background: var(--bg-elevated);
		border-radius: 16px;
		padding: 14px;
	}

	.featured-grid .compact-cover {
		border-radius: 14px;
	}

	.featured-grid .compact-title {
		display: none;
	}

	/* سه ستون: آرشیو خوانندگان (راست) | محتوا | جدیدترین‌ها و برترین‌ها (چپ) */
	.layout-3col {
		grid-template-columns: 225px minmax(0, 1fr) 262px;
		gap: 10px;
	}

	.feed-grid {
		gap: 14px;
	}

	.layout-sidebar {
		position: static;
	}

	.layout-sidebar .singers-list-body {
		max-height: none;
		overflow-y: visible;
	}

	.layout-sidebar .singers-list-section,
	.layout-sidebar .most-viewed-section {
		margin-top: 0;
	}
}

/* ===== موبایل/تبلت: فاصله یکسان (13px) بین همه باکس‌ها ===== */
@media (max-width: 959px) {
	.layout-sidebar {
		margin: 0;
		padding-top: 0;
		border-top: 0;
	}

	.feed-pagination {
		margin: 13px 0;
	}

	.intro-card {
		margin-bottom: 13px;
	}

	.special-links-section {
		margin-top: 13px;
	}

	.featured-grid-section {
		margin: 13px 0;
	}
}

/* صفحه‌بندی در موبایل: تمام‌عرض مثل بقیه‌ی باکس‌ها */
@media (max-width: 699px) {
	.feed-pagination {
		margin-inline: -10px;
		border-radius: 0;
	}
}

/* ===== دسکتاپ: عرض یکسان هدر، محتوا و فوتر (تقریباً تمام صفحه، حداکثر ۱۳۰۰ پیکسل) ===== */
@media (min-width: 960px) {
	.container,
	.site-header .container,
	.featured-grid-section .container {
		width: 96%;
		max-width: 1300px;
		padding: 0;
	}

	/* ستون‌ها به‌صورت درصدی: آرشیو خوانندگان ۲۴٪ | محتوا ۴۶٪ | جدیدترین‌ها ۲۸٪ */
	.layout-3col {
		grid-template-columns: minmax(0, 24fr) minmax(0, 46fr) minmax(0, 28fr);
		gap: 14px;
	}

	.sticky-player .sp-top,
	.sticky-player .sp-controls {
		max-width: 1300px;
	}
}


/* متن آهنگ در بخش محتوای مطلب (ادامه مطلب): وسط‌چین */
.content,
.content p,
.content div,
.content li,
.lyrics-text,
.lyrics-text .lyrics-line {
	text-align: center;
}

/* تصویر وسط متن آهنگ */
.lyrics-banner-image {
	margin: 12px 0;
	text-align: center;
}

.lyrics-banner-image img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 14px;
}

/* ===== ارسال متن آهنگ توسط کاربر ===== */
.lyrics-submit {
	margin: 10px 0 16px;
	text-align: center;
}

.lyrics-submit-toggle,
.lyrics-submit-send {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 8px 16px;
	font-family: var(--font);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
	cursor: pointer;
	border: 0;
	border-radius: 12px;
	color: #fff;
	background: linear-gradient(to left, #4d1dd3, #8f5ee8);
	box-shadow: 0 4px 10px rgba(77, 29, 211, .28);
	transition: filter .15s ease, transform .15s ease;
	appearance: none;
}

.lyrics-submit-toggle:hover,
.lyrics-submit-send:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.lyrics-submit-toggle:active,
.lyrics-submit-send:active {
	transform: none;
	filter: brightness(.97);
}

.lyrics-submit-toggle:focus-visible,
.lyrics-submit-send:focus-visible {
	outline: 2px solid var(--accent-2);
	outline-offset: 2px;
}

.lyrics-submit-form {
	margin-top: 12px;
	text-align: center;
}

.lyrics-submit-form[hidden],
.lyrics-submit-form [hidden] {
	display: none;
}

.lyrics-submit-note {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.8;
}

.lyrics-submit-form textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 150px;
	padding: 12px;
	margin-bottom: 10px;
	font-family: inherit;
	font-size: 15px;
	line-height: 2;
	text-align: center;
	color: var(--text);
	background: var(--bg-elevated);
	border: 1px solid #dcdce6;
	border-radius: 12px;
	resize: vertical;
}

.lyrics-submit-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.lyrics-submit-send:disabled {
	opacity: .6;
	cursor: default;
	transform: none;
	filter: none;
}

.lyrics-submit-msg {
	margin: 10px 0 0;
	font-size: 14px;
}

.lyrics-submit-msg.is-ok { color: #1a8a3c; }
.lyrics-submit-msg.is-error { color: #c62828; }

/* امضای ارسال‌کننده‌ی متن آهنگ */
.lyrics-signature {
	margin: 12px auto 0;
	padding: 8px 14px;
	max-width: 100%;
	font-size: 14px;
	line-height: 1.9;
	text-align: center;
	color: var(--accent);
	background: rgba(77, 29, 211, .08);
	border-radius: 10px;
}

.lyrics-signature strong {
	font-weight: 700;
}

.lyrics-submit-name {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	margin-bottom: 10px;
	font-family: inherit;
	font-size: 15px;
	text-align: center;
	border: 1px solid #dcdce6;
	border-radius: 12px;
}


.lyrics-submit-form textarea:focus,
.lyrics-submit-name:focus {
	outline: 0;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(77, 29, 211, .15);
}

/* ===== وسط‌چین قطعی: متن سئو صفحه اصلی + متن آهنگ ===== */
.intro-card,
.intro-card h1,
.intro-card p,
.lyrics-text,
.lyrics-text .lyrics-line,
.lyrics-text .lyrics-signature,
.content,
.content :where(p, div, span, li, h2, h3, h4, blockquote) {
	text-align: center !important;
	text-align-last: center !important;
}

.intro-card h1,
.intro-card p,
.lyrics-text .lyrics-line,
.content :where(p, div, li) {
	text-wrap: balance;
	unicode-bidi: plaintext;
	padding-inline: 0;
	text-indent: 0;
}

.intro-card p,
.lyrics-text .lyrics-line {
	margin-inline: auto;
}
