/* Gham-e-Hussain Quran Platform — dark Azadari aesthetic: black / crimson / gold */

.ghq-root {
	--ghq-bg: #0b0b0d;
	--ghq-panel: #16141a;
	--ghq-gold: #c9a24b;
	--ghq-crimson: #8a1c2b;
	--ghq-text: #ece7dd;
	--ghq-text-dim: #a79f92;
	font-family: 'Noto Nastaliq Urdu', 'Scheherazade New', 'Amiri', sans-serif;
	color: var(--ghq-text);
	max-width: 1000px;
	margin: 0 auto;
	padding: 16px;
	box-sizing: border-box;
}
.ghq-root * { box-sizing: border-box; }

/* Surah index grid */
.ghq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}
.ghq-surah-card {
	background: var(--ghq-panel);
	border: 1px solid #2a2530;
	border-left: 3px solid var(--ghq-gold);
	border-radius: 10px;
	padding: 12px;
	cursor: pointer;
	transition: border-color .2s, transform .15s;
}
.ghq-surah-card:hover {
	border-color: var(--ghq-gold);
	transform: translateY(-2px);
}
.ghq-surah-card .num {
	display: inline-block;
	background: var(--ghq-crimson);
	color: var(--ghq-gold);
	font-size: 12px;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	border-radius: 50%;
	margin-bottom: 6px;
}
.ghq-surah-card .arabic {
	font-size: 22px;
	color: var(--ghq-gold);
	margin: 4px 0;
}
.ghq-surah-card .translit {
	font-size: 14px;
	color: var(--ghq-text);
}
.ghq-surah-card .meta {
	font-size: 11px;
	color: var(--ghq-text-dim);
	margin-top: 4px;
}

/* Dual-pane reader */
.ghq-ayah-row {
	background: var(--ghq-panel);
	border-radius: 10px;
	padding: 14px;
	margin-bottom: 10px;
	border: 1px solid #2a2530;
}
.ghq-ayah-arabic {
	font-size: 26px;
	line-height: 2;
	color: var(--ghq-gold);
	text-align: right;
	direction: rtl;
	margin-bottom: 8px;
}
.ghq-ayah-urdu {
	font-size: 18px;
	line-height: 1.9;
	text-align: right;
	direction: rtl;
	color: var(--ghq-text);
}
.ghq-ayah-number {
	font-size: 12px;
	color: var(--ghq-text-dim);
	margin-bottom: 6px;
}
.ghq-tafsir-toggle {
	margin-top: 8px;
	background: transparent;
	border: 1px solid var(--ghq-gold);
	color: var(--ghq-gold);
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 12px;
	cursor: pointer;
}
.ghq-tafsir-drawer {
	display: none;
	margin-top: 10px;
	border-top: 1px dashed #3a3440;
	padding-top: 10px;
	direction: rtl;
	text-align: right;
}
.ghq-tafsir-drawer.open { display: block; }
.ghq-tafsir-block {
	margin-bottom: 10px;
	padding: 8px;
	background: #100e13;
	border-radius: 8px;
}
.ghq-tafsir-source {
	font-size: 11px;
	color: var(--ghq-crimson);
	font-weight: bold;
	margin-bottom: 4px;
	direction: ltr;
	text-align: left;
}

/* Search */
#ghq-search-input {
	width: 100%;
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid var(--ghq-gold);
	background: var(--ghq-panel);
	color: var(--ghq-text);
	font-size: 16px;
	direction: rtl;
}
.ghq-search-filters { margin: 10px 0; }
#ghq-filter-source {
	background: var(--ghq-panel);
	color: var(--ghq-text);
	border: 1px solid #2a2530;
	border-radius: 6px;
	padding: 6px;
}
.ghq-result-snippet mark {
	background: var(--ghq-crimson);
	color: #fff;
	padding: 0 2px;
}
