/**
 * As Sunnah Q&A Experience — hub page styles (Page ID 2797 only).
 * Palette: v3 cover / library banner — Deep Emerald, Soft Mint,
 * Off White, Warm Ivory, Subtle Gold. No animations, no popups.
 * Mobile-first. All selectors scoped under .asq-* classes plus the
 * body.page-id-2797 guard for the theme H1 hiding below.
 */

/* ------------------------------------------------------------------ */
/*  Theme H1 — hide on the hub page only. The approved hero title is  */
/*  the visible H1 instead (rendered by the plugin). JS removes any   */
/*  remaining H1 outside the hero from the DOM after load.            */
/* ------------------------------------------------------------------ */
body.page-id-2797 .entry-title,
body.page-id-2797 h1.entry-title,
body.page-id-2797 .page-title,
body.page-id-2797 h1.page-title,
body.page-id-2797 .ast-page-title,
body.page-id-2797 .elementor-heading-title,
body.page-id-2797 header.page-header h1,
body.page-id-2797 .entry-header h1 {
	display: none !important;
}

/* ------------------------------------------------------------------ */
/*  Base                                                                 */
/* ------------------------------------------------------------------ */
:root {
	--asq-emerald: #0b5d3b;
	--asq-emerald-dark: #084a2f;
	--asq-mint: #e7f3ec;
	--asq-mint-border: #cfe6d8;
	--asq-ivory: #faf6ea;
	--asq-offwhite: #fdfcf7;
	--asq-gold: #b8933a;
	--asq-gold-light: #e8d9a8;
	--asq-ink: #1e2b25;
	--asq-muted: #5a6b62;
	--asq-white: #ffffff;
}

.asq-hero,
.asq-section,
.asq-author {
	box-sizing: border-box;
	max-width: 100%;
}

.asq-hero *,
.asq-section *,
.asq-author * {
	box-sizing: border-box;
}

/* Reading progress bar (thin, top of page) */
.asq-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--asq-mint);
	z-index: 9999;
}
.asq-progress-bar {
	display: block;
	height: 100%;
	width: 0;
	background: var(--asq-gold);
}

/* ------------------------------------------------------------------ */
/*  Hero                                                                 */
/* ------------------------------------------------------------------ */
.asq-hero {
	background: var(--asq-ivory);
	border: 2px solid var(--asq-emerald);
	outline: 1px solid var(--asq-gold);
	outline-offset: 4px;
	border-radius: 6px;
	padding: 28px 20px 26px;
	margin: 0 0 28px;
	text-align: center;
}

.asq-hero-title {
	font-family: "Noto Serif Bengali", serif;
	font-size: 30px;
	line-height: 1.4;
	font-weight: 800;
	color: var(--asq-emerald-dark);
	margin: 0 0 12px;
}

.asq-hero-subtitle {
	font-family: "Hind Siliguri", sans-serif;
	font-size: 17px;
	line-height: 1.8;
	color: var(--asq-ink);
	margin: 0 auto 20px;
	max-width: 640px;
}

/* Search */
.asq-search {
	max-width: 640px;
	margin: 0 auto;
	text-align: left;
}

.asq-search-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.asq-search-input {
	width: 100%;
	font-family: "Hind Siliguri", sans-serif;
	font-size: 17px;
	line-height: 1.6;
	padding: 13px 16px;
	border: 2px solid var(--asq-emerald);
	border-radius: 6px;
	background: var(--asq-white);
	color: var(--asq-ink);
}

.asq-search-input:focus {
	outline: 2px solid var(--asq-gold);
	outline-offset: 1px;
}

.asq-search-results {
	margin-top: 10px;
}

.asq-result {
	display: block;
	background: var(--asq-white);
	border: 1px solid var(--asq-mint-border);
	border-left: 4px solid var(--asq-gold);
	border-radius: 4px;
	padding: 12px 14px;
	margin-bottom: 8px;
	text-decoration: none;
}

.asq-result-title {
	display: block;
	font-family: "Noto Serif Bengali", serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--asq-emerald-dark);
	margin-bottom: 4px;
}

.asq-result-answer {
	display: block;
	font-family: "Hind Siliguri", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--asq-ink);
}

.asq-result-category {
	display: inline-block;
	font-family: "Hind Siliguri", sans-serif;
	font-size: 13px;
	line-height: 1.4;
	color: var(--asq-emerald);
	background: var(--asq-mint);
	border-radius: 20px;
	padding: 2px 10px;
	margin-top: 6px;
}

.asq-no-results {
	background: var(--asq-offwhite);
	border: 1px solid var(--asq-mint-border);
	border-radius: 4px;
	padding: 14px 16px;
	font-family: "Hind Siliguri", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--asq-muted);
	margin: 0;
}

/* ------------------------------------------------------------------ */
/*  Sections, grids, cards                                               */
/* ------------------------------------------------------------------ */
.asq-section {
	margin: 0 0 32px;
}

.asq-section-title {
	font-family: "Noto Serif Bengali", serif;
	font-size: 24px;
	line-height: 1.5;
	font-weight: 700;
	color: var(--asq-emerald-dark);
	margin: 0 0 6px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--asq-gold-light);
}

.asq-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-top: 16px;
}

.asq-card {
	background: var(--asq-white);
	border: 1px solid var(--asq-mint-border);
	border-radius: 6px;
	padding: 16px;
}

a.asq-card {
	text-decoration: none;
	color: inherit;
}

/* Problem Finder */
.asq-finder-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border-top: 3px solid var(--asq-emerald);
}

.asq-finder-card .asq-card-text {
	font-family: "Hind Siliguri", sans-serif;
	font-size: 17px;
	line-height: 1.7;
	font-weight: 600;
	color: var(--asq-ink);
}

.asq-card-arrow {
	color: var(--asq-gold);
	font-weight: 700;
	flex-shrink: 0;
}

.asq-disclaimer {
	font-family: "Hind Siliguri", sans-serif;
	font-size: 15px;
	line-height: 1.7;
	color: var(--asq-muted);
	background: var(--asq-ivory);
	border-left: 3px solid var(--asq-gold);
	padding: 10px 14px;
	margin: 14px 0 0;
}

/* Category cards */
.asq-category-name {
	font-family: "Noto Serif Bengali", serif;
	font-size: 19px;
	line-height: 1.5;
	font-weight: 700;
	color: var(--asq-emerald-dark);
	margin: 0 0 2px;
}

.asq-category-count {
	font-family: "Hind Siliguri", sans-serif;
	font-size: 15px;
	line-height: 1.6;
	font-weight: 600;
	color: var(--asq-gold);
	margin: 0 0 6px;
}

.asq-category-desc {
	font-family: "Hind Siliguri", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--asq-ink);
	margin: 0 0 12px;
}

.asq-category-link {
	font-family: "Hind Siliguri", sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--asq-emerald);
	text-decoration: none;
}

.asq-coming-soon {
	display: inline-block;
	font-family: "Hind Siliguri", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: var(--asq-muted);
	background: var(--asq-mint);
	border-radius: 20px;
	padding: 3px 12px;
}

/* Most-searched */
.asq-popular-title {
	font-family: "Noto Serif Bengali", serif;
	font-size: 19px;
	line-height: 1.5;
	font-weight: 700;
	margin: 0 0 6px;
}

.asq-popular-title a {
	color: var(--asq-emerald-dark);
	text-decoration: none;
}

.asq-popular-intro {
	font-family: "Hind Siliguri", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--asq-ink);
	margin: 0 0 10px;
}

.asq-popular-meta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.asq-category-chip {
	display: inline-block;
	font-family: "Hind Siliguri", sans-serif;
	font-size: 13px;
	line-height: 1.4;
	color: var(--asq-emerald);
	background: var(--asq-mint);
	border-radius: 20px;
	padding: 2px 10px;
}

.asq-read-more {
	font-family: "Hind Siliguri", sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: var(--asq-emerald);
	text-decoration: none;
}

/* New questions */
.asq-new-list {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.asq-new-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	background: var(--asq-white);
	border: 1px solid var(--asq-mint-border);
	border-left: 4px solid var(--asq-emerald);
	border-radius: 4px;
	padding: 13px 14px;
	margin-bottom: 8px;
}

.asq-new-link {
	font-family: "Noto Serif Bengali", serif;
	font-size: 18px;
	line-height: 1.5;
	font-weight: 700;
	color: var(--asq-emerald-dark);
	text-decoration: none;
}

/* Author trust box */
.asq-author {
	background: var(--asq-ivory);
	border: 1px solid var(--asq-gold-light);
	border-top: 3px solid var(--asq-gold);
	border-radius: 6px;
	padding: 18px 20px;
	margin: 8px 0 0;
}

.asq-author-label {
	font-family: "Hind Siliguri", sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: var(--asq-muted);
	margin: 0 0 2px;
}

.asq-author-name {
	font-family: "Noto Serif Bengali", serif;
	font-size: 20px;
	line-height: 1.5;
	font-weight: 700;
	color: var(--asq-emerald-dark);
	margin: 0 0 2px;
}

.asq-author-role {
	font-family: "Hind Siliguri", sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--asq-ink);
	margin: 0;
}

/* ------------------------------------------------------------------ */
/*  Tablets and desktop                                                  */
/* ------------------------------------------------------------------ */
@media (min-width: 640px) {
	.asq-hero {
		padding: 36px 28px 32px;
	}

	.asq-hero-title {
		font-size: 36px;
	}

	.asq-hero-subtitle {
		font-size: 18px;
	}

	.asq-finder-grid,
	.asq-category-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

	.asq-popular-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.asq-finder-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
