/* Guides (blog). Site tokens: ink #0B0B0C, purple #7B68EE / #5B49D6, gold #E8B54A, lavender #F6F4FF, line #ECECEE.
   Reading face: Newsreader (article text); UI: Plus Jakarta Sans. */
body.nhh-guides { margin: 0; background: #FFFFFF; color: #0B0B0C; font-family: 'Plus Jakarta Sans', sans-serif; }
.nhh-g { --g-read: 'Newsreader', Georgia, 'Times New Roman', serif; --g-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%235B49D6' stroke-width='1'%3E%3Crect x='20' y='20' width='24' height='24'/%3E%3Crect x='20' y='20' width='24' height='24' transform='rotate(45 32 32)'/%3E%3C/g%3E%3C/svg%3E"); }
.nhh-g-saw { font-family: 'Amiri', 'Traditional Arabic', serif; font-size: 1.2em; font-style: normal; line-height: 1; }

/* Reading progress */
.nhh-g-progress { position: fixed; inset: 0 0 auto; z-index: 1000; height: 3px; pointer-events: none; }
.nhh-g-progress span { display: block; height: 100%; background: linear-gradient(90deg, #7B68EE, #E8B54A); transform: scaleX(0); transform-origin: 0 50%; }

/* Cover: light, centred, faint star pattern (no photos) */
.nhh-g-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 84px) 20px clamp(72px, 9vw, 104px); text-align: center; background: radial-gradient(520px 260px at 88% 0%, rgba(232, 181, 74, 0.2), transparent 70%), radial-gradient(520px 280px at 8% 100%, rgba(123, 104, 238, 0.16), transparent 70%), #F6F4FF; }
.nhh-g-hero::before { content: ""; position: absolute; inset: 0; opacity: 0.07; background-image: var(--g-pattern); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); pointer-events: none; }
.nhh-g-hero > * { position: relative; }
.nhh-g-hero-in { position: relative; max-width: 900px; margin: 0 auto; }
.nhh-g-crumbs { display: flex; justify-content: center; gap: 8px; margin: 0 0 22px; font-size: 13px; color: #A1A1AA; }
.nhh-g-crumbs a { color: #71717A; text-decoration: none; }
.nhh-g-crumbs a:hover { color: #5B49D6; }
.nhh-g-chip { display: inline-block; margin: 0; padding: 6px 14px; border: 1px solid #F0D79A; border-radius: 999px; background: #FFFFFF; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8A5A0B; }
.nhh-g-hero h1 { max-width: 860px; margin: 20px auto 0; font-family: var(--g-read); font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 500; line-height: 1.06; letter-spacing: -0.025em; color: #0B0B0C; }
.nhh-g-hero h1 span { display: block; font-style: italic; color: #5B49D6; }
.nhh-g-dek { max-width: 620px; margin: 20px auto 0; font-size: clamp(1.02rem, 1.5vw, 1.15rem); line-height: 1.65; color: #52525B; }
.nhh-g-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 24px 0 0; font-size: 13px; font-weight: 600; color: #71717A; }
.nhh-g-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 14px 2px 0; border-radius: 50%; background: #E8B54A; vertical-align: middle; }

/* One reading column */
.nhh-g-wrap { max-width: 700px; margin: 0 auto; padding: 0 20px 24px; }

/* "N steps in this guide" card, lifted over the cover */
.nhh-g-glance { position: relative; margin: -52px 0 44px; padding: 20px 22px 12px; border: 1px solid #ECECEE; border-radius: 24px; background: #FFFFFF; box-shadow: 0 30px 60px -40px rgba(91, 73, 214, 0.45); }
.nhh-g-glance-title { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8A5A0B; }
.nhh-g-glance ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin: 0; padding: 0; list-style: none; }
.nhh-g-glance li { margin: 0; border-top: 1px solid #F1F1F3; }
.nhh-g-glance li:nth-child(-n+2) { border-top: 0; }
.nhh-g-glance a { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: #27272A; text-decoration: none; transition: color 0.2s; }
.nhh-g-glance a span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #F6F4FF; color: #5B49D6; font-size: 12px; font-weight: 800; transition: background 0.2s, color 0.2s; }
.nhh-g-glance a:hover { color: #5B49D6; }
.nhh-g-glance a:hover span { background: #5B49D6; color: #FFFFFF; }

/* Article typography */
.nhh-g-body { font-family: var(--g-read); font-size: 21px; line-height: 1.72; color: #26262B; }
.nhh-g-body p { margin: 0 0 1.05em; }
.nhh-g-intro > p:first-child { font-size: 1.12em; line-height: 1.6; color: #0B0B0C; }
.nhh-g-intro > p:first-child::first-letter { float: left; margin: 0.08em 0.12em 0 0; font-size: 3.6em; font-weight: 600; line-height: 0.82; color: #5B49D6; }
.nhh-g-body h2 { scroll-margin-top: 80px; margin: 0 0 18px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.5rem, 2.6vw, 1.85rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; color: #0B0B0C; }
.nhh-g-body h3 { margin: 32px 0 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: #0B0B0C; }
.nhh-g-body strong { font-weight: 600; color: #0B0B0C; }
.nhh-g-body a { color: #5B49D6; text-underline-offset: 3px; }
.nhh-g-body ul, .nhh-g-body ol { margin: 0 0 1.2em; padding: 0; list-style: none; }
.nhh-g-body ul li { position: relative; margin: 0 0 0.55em; padding-left: 28px; }
.nhh-g-body ul li::before { content: ""; position: absolute; left: 6px; top: 0.68em; width: 7px; height: 7px; border-radius: 2px; background: #E8B54A; transform: rotate(45deg); }
.nhh-g-body ol { counter-reset: g; }
.nhh-g-body ol li { position: relative; counter-increment: g; margin: 0 0 0.7em; padding-left: 44px; }
.nhh-g-body ol li::before { content: counter(g); position: absolute; left: 0; top: 0.2em; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #F6F4FF; color: #5B49D6; font: 800 13px/1 'Plus Jakarta Sans', sans-serif; }

/* Sections; the five steps form one timeline */
.nhh-g-sec { margin-top: 64px; }
.nhh-g-sec.is-step { position: relative; padding-left: 68px; }
.nhh-g-sec.is-step::before { content: attr(data-n); position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(140deg, #FFF3D1, #E8B54A); box-shadow: 0 0 0 6px #FFFFFF, 0 12px 26px -12px rgba(138, 90, 11, 0.6); color: #3A2A08; font: 800 15px/1 'Plus Jakarta Sans', sans-serif; z-index: 1; }
.nhh-g-sec.is-step::after { content: ""; position: absolute; left: 22px; top: 50px; bottom: -64px; width: 2px; background: linear-gradient(#F0D79A, #ECE8FF); }
.nhh-g-sec.is-step:not(:has(+ .nhh-g-sec.is-step))::after { display: none; }
.nhh-g-body h2.nhh-g-step { display: flex; flex-direction: column; gap: 6px; }
.nhh-g-step-n { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #8A5A0B; }

/* Notes, questions, recitation, ayah, dua */
.nhh-g-note { margin: 28px 0; padding: 18px 22px 18px 58px; position: relative; border-radius: 18px; background: #FFF8E6; font-size: 0.92em; }
.nhh-g-note::before { content: "!"; position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #E8B54A; color: #FFFFFF; font: 800 15px/1 'Plus Jakarta Sans', sans-serif; }
.nhh-g-note > strong { display: block; margin-bottom: 4px; font: 800 12px/1.6 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #8A5A0B; }
.nhh-g-note p { margin: 0; }
.nhh-g-q { margin: 32px 0 10px; padding: 0 0 0 18px; border-left: 3px solid #7B68EE; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.5; color: #0B0B0C; }
.nhh-g-recite { position: relative; margin: 6px 0 22px; padding: 44px 30px 30px; border-radius: 24px; background: radial-gradient(340px 160px at 100% 0%, rgba(232, 181, 74, 0.25), transparent 70%), radial-gradient(300px 160px at 0% 100%, rgba(123, 104, 238, 0.35), transparent 70%), #0B0B0C; color: #FFFFFF; font-size: 1.12em; line-height: 1.65; font-style: italic; text-align: center; }
.nhh-g-recite::before { content: "Recite"; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font: 800 11px/1 'Plus Jakarta Sans', sans-serif; font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: #E8B54A; }
.nhh-g-ayah { margin: 36px 0; padding: 30px 8px; border-block: 1px solid #F0D79A; text-align: center; }
.nhh-g-ayah::before { content: "✦"; display: block; margin-bottom: 10px; color: #E8B54A; font-size: 16px; }
.nhh-g-ayah p { margin: 0; font-size: 1.3em; line-height: 1.45; font-style: italic; color: #0B0B0C; }
.nhh-g-ayah cite { display: block; margin-top: 14px; font: 700 12px/1.4 'Plus Jakarta Sans', sans-serif; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: #8A5A0B; }
.nhh-g-body ul.nhh-g-check { padding: 8px 22px; border: 1px solid #ECECEE; border-radius: 22px; background: #FFFFFF; box-shadow: 0 24px 50px -36px rgba(91, 73, 214, 0.45); }
.nhh-g-body ul.nhh-g-check li { margin: 0; padding: 13px 0 13px 40px; border-bottom: 1px dashed #ECECEE; }
.nhh-g-body ul.nhh-g-check li:last-child { border-bottom: 0; }
.nhh-g-body ul.nhh-g-check li::before { left: 0; top: 0.78em; width: 24px; height: 24px; border-radius: 50%; transform: none; background: #5B49D6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.nhh-g-dua { margin: 44px 0 0; padding: 34px 26px; border-radius: 24px; background: radial-gradient(360px 160px at 50% 0%, rgba(232, 181, 74, 0.18), transparent 70%), #F6F4FF; font-size: 1.15em; line-height: 1.55; font-style: italic; color: #0B0B0C; text-align: center; }
.nhh-g-dua::before { content: "✦"; display: block; margin-bottom: 10px; color: #E8B54A; font-size: 16px; font-style: normal; }

/* Help card */
.nhh-g-help { margin: 56px 0 0; padding: 28px 30px; border-radius: 24px; background: radial-gradient(420px 180px at 100% 0%, rgba(232, 181, 74, 0.2), transparent 70%), #0B0B0C; color: #D4D4D8; }
.nhh-g-help p { margin: 0 0 8px; line-height: 1.6; }
.nhh-g-help-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #FFFFFF; }
.nhh-g-help-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px !important; }
.nhh-g .nhh-g-btn { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 999px; background: #FFFFFF; color: #0B0B0C; font-size: 15px; font-weight: 700; text-decoration: none; transition: background 0.2s, color 0.2s; }
.nhh-g .nhh-g-btn:hover { background: #7B68EE; color: #FFFFFF; }
.nhh-g .nhh-g-btn--soft { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }

/* "Now reading" pill + contents */
.nhh-g-now { position: fixed; top: 14px; left: 50%; z-index: 999; width: min(520px, calc(100% - 24px)); transform: translateX(-50%); font-family: 'Plus Jakarta Sans', sans-serif; }
.nhh-g-now[hidden] { display: none; }
.nhh-g-now summary { display: flex; align-items: center; gap: 10px; padding: 7px 40px 7px 7px; border: 1px solid rgba(236, 236, 238, 0.9); border-radius: 999px; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -22px rgba(11, 11, 12, 0.35); cursor: pointer; list-style: none; position: relative; }
.nhh-g-now summary::-webkit-details-marker { display: none; }
.nhh-g-now summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 2px solid #71717A; border-bottom: 2px solid #71717A; transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.nhh-g-now[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.nhh-g-now-n { flex: none; padding: 6px 11px; border-radius: 999px; background: #F6F4FF; color: #5B49D6; font-size: 12px; font-weight: 800; white-space: nowrap; }
.nhh-g-now-t { min-width: 0; overflow: hidden; font-size: 14px; font-weight: 700; color: #0B0B0C; white-space: nowrap; text-overflow: ellipsis; }
.nhh-g-now ol { position: absolute; top: calc(100% + 8px); left: 0; right: 0; max-height: 62vh; overflow: auto; margin: 0; padding: 8px; border: 1px solid #ECECEE; border-radius: 20px; background: #FFFFFF; box-shadow: 0 30px 60px -30px rgba(11, 11, 12, 0.4); list-style: none; }
.nhh-g-now li { margin: 0; }
.nhh-g-now a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; color: #3F3F46; text-decoration: none; }
.nhh-g-now a:hover { background: #F6F4FF; }
.nhh-g-now a.is-active { background: #F6F4FF; color: #5B49D6; }

/* Cards (list + more guides) */
.nhh-g-list, .nhh-g-more { max-width: 1100px; margin: 0 auto; padding: 56px 20px 72px; }
.nhh-g-more { padding-top: 40px; }
.nhh-g-more h2 { margin: 0 0 22px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.nhh-g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
a.nhh-g-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ECECEE; border-radius: 22px; background: #FFFFFF; color: inherit; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
a.nhh-g-card:hover { transform: translateY(-3px); border-color: #D9D4FB; box-shadow: 0 24px 50px -30px rgba(91, 73, 214, 0.45); }
.nhh-g-cover { position: relative; display: grid; place-items: end start; height: 150px; padding: 16px; background: radial-gradient(260px 140px at 90% 0%, rgba(232, 181, 74, 0.3), transparent 70%), radial-gradient(260px 160px at 0% 100%, rgba(123, 104, 238, 0.28), transparent 70%), #F6F4FF; }
.nhh-g-cover::before { content: ""; position: absolute; inset: 0; opacity: 0.1; background-image: var(--g-pattern); }
.nhh-g-cover span { position: relative; padding: 5px 11px; border-radius: 999px; background: #FFFFFF; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8A5A0B; }
.nhh-g-card-body { display: grid; gap: 8px; padding: 18px 20px 20px; }
.nhh-g-card-body .nhh-g-chip { display: none; }
.nhh-g-card-title { font-family: var(--g-read); font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: #0B0B0C; }
.nhh-g-card-text { font-size: 15px; line-height: 1.6; color: #52525B; }
.nhh-g-card-meta { margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #A1A1AA; }
.nhh-g-empty { color: #71717A; }

@media (max-width: 640px) {
	.nhh-g-body { font-size: 19px; }
	.nhh-g-glance { margin-top: -44px; padding: 16px 16px 8px; }
	.nhh-g-glance ol { grid-template-columns: 1fr; }
	.nhh-g-glance li:nth-child(2) { border-top: 1px solid #F1F1F3; }
	.nhh-g-sec { margin-top: 52px; }
	.nhh-g-sec.is-step { padding-left: 0; }
	.nhh-g-sec.is-step::before { position: static; width: 40px; height: 40px; margin-bottom: 14px; font-size: 14px; }
	.nhh-g-sec.is-step::after { display: none; }
	.nhh-g-recite { padding: 40px 20px 24px; }
	.nhh-g-help { padding: 24px 22px; }
	.nhh-g-now { top: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
	a.nhh-g-card, .nhh-g-glance a, .nhh-g-glance a span { transition: none; }
}

/* Guides list: compact cover + featured newest guide */
.nhh-g-hero--list { padding: clamp(40px, 5vw, 60px) 20px clamp(96px, 10vw, 120px); }
.nhh-g-hero--list h1 { margin-top: 16px; font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.nhh-g-hero--list h1 span { display: inline; }
.nhh-g-hero--list .nhh-g-dek { margin-top: 14px; }
.nhh-g-list { position: relative; margin-top: -76px; padding-top: 0; }
a.nhh-g-feature { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); overflow: hidden; border: 1px solid #ECECEE; border-radius: 28px; background: #FFFFFF; color: inherit; text-decoration: none; box-shadow: 0 40px 80px -50px rgba(91, 73, 214, 0.55); transition: transform 0.3s ease, box-shadow 0.3s ease; }
a.nhh-g-feature:hover { transform: translateY(-3px); box-shadow: 0 50px 90px -50px rgba(91, 73, 214, 0.7); }
.nhh-g-feature-art { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 36px; background: radial-gradient(360px 220px at 100% 0%, rgba(232, 181, 74, 0.28), transparent 70%), radial-gradient(360px 240px at 0% 100%, rgba(123, 104, 238, 0.45), transparent 70%), #0B0B0C; color: #FFFFFF; }
.nhh-g-feature-art::before { content: ""; position: absolute; inset: 0; opacity: 0.08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1'%3E%3Crect x='20' y='20' width='24' height='24'/%3E%3Crect x='20' y='20' width='24' height='24' transform='rotate(45 32 32)'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.nhh-g-feature-art > * { position: relative; }
.nhh-g-feature-k { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #E8B54A; }
.nhh-g-feature-steps { display: grid; gap: 10px; }
.nhh-g-feature-steps span { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; background: rgba(255, 255, 255, 0.05); font-size: 15px; font-weight: 600; color: #F4F4F5; }
.nhh-g-feature-steps b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(140deg, #FFF3D1, #E8B54A); color: #3A2A08; font-size: 12px; font-weight: 800; }
.nhh-g-feature-body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 52px); }
.nhh-g-feature-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: #71717A; }
.nhh-g-feature-title { font-family: var(--g-read); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: #0B0B0C; }
.nhh-g-feature-text { font-size: 17px; line-height: 1.65; color: #52525B; }
.nhh-g-feature-cta { align-self: flex-start; display: inline-flex; gap: 8px; margin-top: 6px; padding: 13px 24px; border-radius: 999px; background: #0B0B0C; color: #FFFFFF; font-size: 15px; font-weight: 700; transition: background 0.2s; }
a.nhh-g-feature:hover .nhh-g-feature-cta { background: #5B49D6; }
.nhh-g-list .nhh-g-grid { margin-top: 24px; }
.nhh-g-soon { margin: 28px 0 0; text-align: center; font-size: 14px; font-weight: 600; color: #A1A1AA; }
@media (max-width: 860px) {
	a.nhh-g-feature { grid-template-columns: 1fr; }
	.nhh-g-feature-body { order: -1; }
	.nhh-g-feature-art { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	a.nhh-g-feature { transition: none; }
}
