/* ==========================================================================
   SeeQuran block theme — component styles
   Colours, fonts and base typography come from theme.json.
   ========================================================================== */

:root {
	--sq-teal: #0A3D3E;
	--sq-teal-deep: #062A2B;
	--sq-teal-night: #041F20;
	--sq-teal-mid: #0E4C4B;
	--sq-teal-light: #13605F;
	--sq-gold: #C9A55A;
	--sq-gold-light: #E8D3A0;
	--sq-gold-dark: #7A5C1E;
	--sq-cream: #FBF7EE;
	--sq-sand: #F6F0E2;
	--sq-sand-deep: #F3ECDD;
	--sq-line: #EADFC8;
	--sq-line-2: #E2D5B8;
	--sq-ink: #142424;
	--sq-muted: #4C5D5C;
	--sq-mist: #B8CCC8;
	--sq-mist-light: #CFDDDA;
	--sq-serif: 'Cormorant Garamond', Amiri, Georgia, serif;
	--sq-sans: Manrope, Amiri, system-ui, sans-serif;
	--sq-arabic: Amiri, 'Traditional Arabic', serif;
	--sq-urdu: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
	--sq-card-shadow: 0 28px 56px -28px rgba(6, 42, 43, .45);
}

/* WordPress defines the root padding on body, so read it there. */
body { overflow-x: hidden; --sq-pad: var(--wp--style--root--padding-left, 32px); }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Containers built from blocks: spacing comes from `gap`, not block margins. */
.sq-top > *, .sq-main > *,
.sq-topbar *, .sq-header-inner > *, .sq-hero *, .sq-prayer *, .sq-section-intro > *,
.sq-split-head > *, .sq-pillar > *, .sq-download > *, .sq-download *, .sq-post-card *,
.sq-topics *, .sq-closing *, .sq-footer *, .sq-band *, .sq-reader-controls *,
.sq-surah-panel *, .sq-ayah > *, .sq-ayah *, .sq-ayahs > *, .sq-surah-nav > *, .sq-post-nav > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* The design leaves most text at the browser's `normal` line height. */
.sq-topbar, .sq-header, .sq-hero, .sq-prayer, .sq-pillars, .sq-downloads, .sq-blog, .sq-archive,
.sq-topics-wrap, .sq-closing, .sq-footer, .sq-band, .sq-reader-controls, .sq-reader { line-height: normal; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.sq-ar { font-family: var(--sq-arabic); direction: rtl; unicode-bidi: isolate; }
.sq-ur { font-family: var(--sq-urdu); direction: rtl; unicode-bidi: isolate; }
:lang(ar) { font-family: var(--sq-arabic); }
:lang(ur) { font-family: var(--sq-urdu); }

.sq-dark { background-color: var(--sq-teal); color: #fff; }
.sq-dark.sq-deep { background-color: var(--sq-teal-deep); }
.sq-girih, .is-style-sq-girih {
	background-image: url(../images/girih-07.svg);
	background-repeat: repeat;
	background-position: center top;
}
.is-style-sq-girih { background-color: var(--sq-teal); color: #fff; }
.is-style-sq-card {
	background: #fff;
	border: 1px solid var(--sq-line);
	border-radius: 24px;
	padding: 32px 28px;
}
.sq-dark :where(h1, h2, h3, h4, h5, h6) { color: #fff; }

.sq-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--sq-gold-dark);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .2em;
	line-height: normal;
	text-transform: uppercase;
}
.sq-eyebrow::before, .sq-eyebrow.is-centered::after {
	content: "";
	width: 40px;
	height: 1px;
	background: var(--sq-gold);
	flex: none;
}
.sq-eyebrow.is-centered { justify-content: center; }
.sq-dark .sq-eyebrow { color: var(--sq-gold); }

.sq-eyebrow-sm {
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--sq-gold);
	font-weight: 600;
	line-height: normal;
}

.sq-strong-link { font-weight: 700; font-size: 15px; }
.sq-strong-link a { text-decoration: none; color: var(--sq-gold-dark); }
.sq-strong-link a:hover { color: #5C4413; }

/* Brand (paragraph with link; the mark is drawn by CSS) */
.sq-brand {
	display: flex;
	align-items: center;
	font-family: var(--sq-serif);
	font-size: 32px;
	font-weight: 700;
	letter-spacing: .01em;
	line-height: normal;
	white-space: nowrap;
}
.sq-brand a {
	display: inline-flex;
	align-items: center;
	color: #fff;
	text-decoration: none;
}
.sq-brand a::before {
	content: "";
	width: 48px;
	height: 48px;
	flex: none;
	margin-right: 12px;
	background: url(../images/logo.svg) center / contain no-repeat;
}
.sq-brand mark { background: transparent; color: var(--sq-gold); padding: 0; }
.sq-brand-sm { font-size: 24px; }
.sq-brand-sm a::before { display: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.wp-block-button .wp-block-button__link {
	transition: filter .2s ease, transform .2s ease, background-color .2s ease, color .2s ease;
	text-decoration: none;
}
.wp-block-button:not(.is-style-outline):not(.is-style-sq-ghost-gold) .wp-block-button__link:hover {
	filter: brightness(1.07);
	transform: translateY(-1px);
}
.sq-btn-sm .wp-block-button__link { padding: 12px 22px; font-size: 14px; }
.sq-btn-md .wp-block-button__link { padding: 13px 24px; font-size: 15px; }
.sq-btn-lg .wp-block-button__link { padding: 17px 30px; font-size: 16px; }

.sq-ico .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; }
.sq-ico .wp-block-button__link::before {
	content: "";
	width: 20px;
	height: 20px;
	flex: none;
	background-color: currentColor;
	-webkit-mask-position: center; mask-position: center;
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.sq-ico-book .wp-block-button__link::before { -webkit-mask-image: url(../images/icons/book.svg); mask-image: url(../images/icons/book.svg); }
.sq-ico-download .wp-block-button__link::before { -webkit-mask-image: url(../images/icons/download.svg); mask-image: url(../images/icons/download.svg); }
.sq-ico-play .wp-block-button__link::before { -webkit-mask-image: url(../images/icons/play.svg); mask-image: url(../images/icons/play.svg); width: 18px; height: 18px; }
.sq-ico-play.is-playing .wp-block-button__link::before { -webkit-mask-image: url(../images/icons/pause.svg); mask-image: url(../images/icons/pause.svg); }

.wp-block-button.is-style-sq-ghost-gold .wp-block-button__link {
	background: transparent;
	color: var(--sq-gold-light);
	border: 1px solid rgba(201, 165, 90, .6);
	padding: 16px 28px;
	font-weight: 600;
}
.wp-block-button.is-style-sq-ghost-gold .wp-block-button__link:hover { background: rgba(201, 165, 90, .14); }

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--sq-teal);
	border: 1px solid var(--sq-teal);
	font-weight: 600;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(201, 165, 90, .14); color: var(--sq-teal); }
.sq-dark .wp-block-button.is-style-outline .wp-block-button__link { color: var(--sq-gold-light); border-color: rgba(201, 165, 90, .6); }

.wp-block-button.is-style-sq-teal .wp-block-button__link { background: var(--sq-teal); color: #fff; }
.sq-btn-md.is-style-sq-teal .wp-block-button__link { padding: 14px 26px; font-weight: 700; }

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */
.sq-site-header { position: relative; z-index: 20; }
.sq-topbar { background: var(--sq-teal-deep); color: var(--sq-mist); font-size: 13px; line-height: normal; }
.sq-topbar-inner { padding-block: 10px; gap: 8px 24px; align-items: center; }
.sq-topbar-contact { gap: 8px 24px; }
.sq-topbar-greeting { gap: 8px 18px; align-items: center; }
.sq-today-wd { white-space: pre; }
.sq-topbar-date { display: flex; align-items: center; gap: 0; color: #fff; font-weight: 500; letter-spacing: .01em; }
.sq-topbar-date::before {
	content: ""; width: 14px; height: 14px; flex: none; margin-right: 9px; background: var(--sq-gold-light);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 14.6A8.5 8.5 0 0 1 9.4 3.5a8.5 8.5 0 1 0 11.1 11.1Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 14.6A8.5 8.5 0 0 1 9.4 3.5a8.5 8.5 0 1 0 11.1 11.1Z'/%3E%3C/svg%3E");
	-webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.sq-topbar-free { display: flex; align-items: center; gap: 18px; color: var(--sq-gold-light); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 600; }
.sq-topbar-free::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: rgba(201, 165, 90, .55); }
@media (max-width: 700px) {
	.sq-topbar-free, .sq-topbar-langs > :first-child { display: none; }
	.sq-topbar-inner { flex-wrap: nowrap !important; }
	.sq-topbar-date { font-size: 12px; white-space: nowrap; }
	.sq-today-wd { display: none; }
	.sq-topbar-langs { flex-wrap: nowrap !important; gap: 12px; }
}
.sq-topbar-langs { gap: 14px; align-items: center; }
.sq-topbar .sq-lang { color: var(--sq-gold-light); }
.sq-topbar .sq-ur { font-size: 13px; line-height: normal; }
.sq-topbar .sq-lang-sd { font-size: 15px; line-height: normal; }

.sq-header { background-color: var(--sq-teal); color: #fff; }
.sq-top .sq-header { background-color: transparent; }
.sq-header .sq-header-inner {
	/* The design's divider runs the full 1240px bar, including the side padding. */
	max-width: none !important;
	margin-inline: max(calc((100% - 1240px) / 2 - var(--sq-pad)), calc(var(--sq-pad) * -1)) !important;
	padding: 22px var(--sq-pad);
	border-bottom: 1px solid rgba(201, 165, 90, .22);
	line-height: normal;
	gap: 16px 32px;
	align-items: center;
	flex-wrap: nowrap;
}
.sq-header-inner > .sq-brand { flex: none; }
.sq-header-cta { flex: none; }

/* Navigation */
.sq-nav { color: #E6EFEC; font-size: 15px; font-weight: 500; flex: 1 1 auto; }
.sq-nav .wp-block-navigation__container { gap: 8px 30px; }
.sq-nav .wp-block-navigation-item__content { color: inherit; text-decoration: none; }
.sq-nav .wp-block-navigation-item__content:hover,
.sq-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--sq-gold-light); }
.sq-nav .current-menu-item > .wp-block-navigation-item__content { box-shadow: 0 1px 0 var(--sq-gold); padding-bottom: 3px; }
.sq-nav .wp-block-navigation__submenu-icon { width: 16px; height: 16px; margin-left: 4px; }
.sq-nav .wp-block-navigation__submenu-icon svg { width: 12px; height: 12px; stroke-width: 2px; }
.sq-nav:not(.has-background) .wp-block-navigation__submenu-container {
	background: var(--sq-teal-deep);
	color: #E6EFEC;
	border: 1px solid rgba(201, 165, 90, .3);
	border-radius: 14px;
	padding: 8px;
	min-width: 220px;
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6);
}
.sq-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 14px; border-radius: 10px; }
.sq-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: rgba(201, 165, 90, .14); }
/* Menu (hamburger) and close buttons: a 44px gold-ringed circle matching the search button. */
.sq-nav .wp-block-navigation__responsive-container-open,
.sq-nav .wp-block-navigation__responsive-container-close {
	width: 44px; height: 44px; padding: 0; border-radius: 50%;
	align-items: center; justify-content: center;
	border: 1px solid rgba(201, 165, 90, .45); background: transparent; color: var(--sq-gold-light);
	cursor: pointer; transition: background-color .2s, border-color .2s;
}
.sq-nav .wp-block-navigation__responsive-container-close { display: flex; top: 0; right: 0; }
.sq-nav .wp-block-navigation__responsive-container-open:hover,
.sq-nav .wp-block-navigation__responsive-container-close:hover { background: rgba(201, 165, 90, .16); border-color: var(--sq-gold); }
.sq-nav .wp-block-navigation__responsive-container-open:focus-visible,
.sq-nav .wp-block-navigation__responsive-container-close:focus-visible { outline: 2px solid var(--sq-gold); outline-offset: 2px; }
.sq-nav .wp-block-navigation__responsive-container-open svg,
.sq-nav .wp-block-navigation__responsive-container-close svg { display: none; }
.sq-nav .wp-block-navigation__responsive-container-open::before,
.sq-nav .wp-block-navigation__responsive-container-close::before {
	content: ""; width: 20px; height: 20px; background: currentColor;
	-webkit-mask: var(--sq-menu-icon) center / contain no-repeat; mask: var(--sq-menu-icon) center / contain no-repeat;
}
.sq-nav .wp-block-navigation__responsive-container-open {
	--sq-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 5.5h14M3 10h14M7 14.5h10'/%3E%3C/svg%3E");
}
.sq-nav .wp-block-navigation__responsive-container-close {
	--sq-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m5 5 10 10M15 5 5 15'/%3E%3C/svg%3E");
}

/* Show the hamburger up to 1200px (the full menu needs that width). */
@media (min-width: 600px) and (max-width: 1199px) {
	.sq-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.sq-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1199px) {
	.sq-header-inner > .sq-nav { flex: 0 0 auto; margin-left: auto; }
	.sq-header .sq-header-inner { gap: 16px 20px; }
}
/* Mobile overlay */
.sq-nav .wp-block-navigation__responsive-container.is-menu-open {
	background-image: url(../images/girih-07.svg);
	padding: 28px var(--sq-pad);
}
.sq-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; }
.sq-nav .is-menu-open .wp-block-navigation__container { gap: 6px; font-family: var(--sq-serif); font-size: 30px; font-weight: 600; }
.sq-nav .is-menu-open .wp-block-navigation__submenu-container {
	font-family: var(--sq-sans); font-size: 16px; font-weight: 500;
	background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 4px 0 8px 14px !important;
}
.sq-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 6px 0; }
.sq-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content { box-shadow: none; }

/* Phones: logo + search + menu only (the hero already has a "Read Quran Online" button). */
@media (max-width: 539px) {
	.wp-block-buttons.sq-header-cta { display: none; }
	.sq-header .sq-header-inner { gap: 12px; }
	.sq-header-inner > .sq-brand { min-width: 0; }
}
@media (max-width: 359px) {
	.sq-topbar .sq-topbar-langs { display: none !important; }
	.sq-ayah { padding-inline: 16px; }
	.sq-ayah-head { gap: 8px; }
	.sq-ayah-ref { min-width: 0; overflow-wrap: anywhere; }
	.sq-ayah-head > .sq-ayah-actions { gap: 4px; }
	.sq-ayah-actions button { width: 36px; height: 36px; }
	.sq-brand { font-size: 24px; }
}
@media (max-width: 599px) {
	.sq-brand { font-size: 28px; }
	.sq-brand a::before { width: 40px; height: 40px; }
	.sq-header .sq-header-inner { padding-block: 16px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.sq-hero { padding-bottom: 150px; }
.sq-hero-inner { padding-top: 72px; gap: 56px; align-items: center; }
.sq-hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.sq-bismillah { align-self: flex-start; font-size: 26px; line-height: normal; color: var(--sq-gold-light); }
.sq-hero-title {
	color: #fff;
	font-family: var(--sq-serif);
	font-weight: 600;
	font-size: clamp(46px, 5.6vw, 80px);
	line-height: 1.02;
	letter-spacing: -.01em;
}
.sq-hero-title em { color: var(--sq-gold); font-weight: 500; }
.sq-hero-lead { max-width: 540px; font-size: 18px; line-height: 1.7; color: var(--sq-mist-light); }
.sq-hero-actions { gap: 14px; padding-top: 4px; }

.sq-hero-art { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.sq-arch {
	width: 100%;
	max-width: 440px;
	height: 560px;
	box-sizing: border-box;
	padding: 14px;
	border-radius: 220px 220px 28px 28px;
	background: var(--sq-teal-mid);
	border: 1px solid rgba(201, 165, 90, .55);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.sq-arch-inner {
	position: relative;
	height: 100%;
	box-sizing: border-box;
	border-radius: 206px 206px 18px 18px;
	border: 1px solid rgba(201, 165, 90, .4);
	background: var(--sq-teal-deep) url(../images/girih-08.svg) repeat center top;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
	padding: 40px 32px;
	text-align: center;
}
.sq-arch-verse { font-size: 58px; line-height: 1.5; color: var(--sq-gold-light); }
.sq-ornament.wp-block-separator,
.wp-block-separator.sq-ornament {
	width: 140px !important;
	max-width: 100%;
	height: 14px;
	border: 0 !important;
	margin: 0 auto !important;
	opacity: 1 !important;
	background: url(../images/ornament.svg) center / contain no-repeat !important;
}
.sq-arch-translation { font-family: var(--sq-serif); font-style: italic; font-size: 30px; line-height: 1.25; color: #fff; }
.sq-arch-urdu { font-size: 19px; line-height: 2.1; color: var(--sq-mist); }
.sq-arch-ref { font-size: 13px; color: var(--sq-mist); letter-spacing: .04em; line-height: normal; }
.sq-arch-link a {
	color: var(--sq-gold-light);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border-bottom: 1px solid rgba(232, 211, 160, .5);
	padding-bottom: 2px;
}
.sq-arch-link a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Namaz timings
   -------------------------------------------------------------------------- */
.sq-main > .sq-prayer, .sq-prayer { position: relative; z-index: 2; margin-top: -96px !important; }
.sq-prayer-card {
	box-sizing: border-box;
	background: #fff;
	border-radius: 28px;
	padding: 30px 32px;
	box-shadow: 0 30px 70px -30px rgba(6, 42, 43, .35);
	border: 1px solid var(--sq-line);
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.sq-prayer-head { gap: 8px 24px; align-items: baseline !important; }
.sq-prayer-title { font-size: 32px; font-weight: 700; color: var(--sq-teal); line-height: normal; }
.sq-prayer-meta { font-size: 14px; color: var(--sq-muted); }
.sq-prayer-grid { gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
.sq-prayer-time {
	position: relative;
	border-radius: 18px;
	background: var(--sq-sand);
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: background-color .3s ease, color .3s ease;
}
.sq-prayer-name { align-items: center; gap: 8px; }
.sq-prayer-name > p:first-child { font-weight: 600; font-size: 15px; line-height: normal; }
.sq-prayer-name .sq-ar { font-size: 18px; line-height: normal; color: var(--sq-gold-dark); }
.sq-time { font-family: var(--sq-serif); font-size: 38px; font-weight: 700; color: var(--sq-teal); line-height: normal; }
.sq-time .sq-ampm { font-size: 18px; }
.sq-prayer-time.is-next { background: var(--sq-teal); color: #fff; box-shadow: 0 18px 30px -18px rgba(10, 61, 62, .8); }
.sq-prayer-time.is-next .sq-ar, .sq-prayer-time.is-next .sq-time { color: var(--sq-gold-light); }
.sq-prayer-time.is-next::before {
	content: attr(data-next-label);
	position: absolute;
	top: -11px;
	left: 20px;
	background: var(--sq-gold);
	color: var(--sq-teal-deep);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: normal;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Sections (shared)
   -------------------------------------------------------------------------- */
.sq-section-intro { display: flex; flex-direction: column; gap: 16px; }
.sq-section-intro.is-centered { align-items: center; text-align: center; gap: 18px; }
.sq-section-title {
	font-family: var(--sq-serif);
	font-weight: 600;
	font-size: clamp(38px, 4vw, 56px);
	line-height: 1.08;
	color: var(--sq-teal);
}
.sq-dark .sq-section-title { color: #fff; }
.sq-section-intro.is-centered .sq-section-title { max-width: 760px; }
.sq-section-lead { max-width: 620px; font-size: 17px; line-height: 1.7; color: var(--sq-muted); }
.sq-split-head { gap: 20px 24px; align-items: flex-end !important; }
.sq-split-head .sq-section-intro { max-width: 640px; }
.sq-split-note { max-width: 380px; font-size: 16px; line-height: 1.7; color: var(--sq-mist-light); }

/* Pillars */
.sq-pillars { padding-top: 120px; padding-bottom: 110px; }
.sq-pillars > * + * { margin-top: 56px !important; }
.wp-block-group.sq-pillar-grid { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.sq-pillar {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--sq-line);
	color: var(--sq-ink);
	padding: 32px 26px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 300px;
	box-sizing: border-box;
	transition: transform .25s ease, box-shadow .25s ease;
}
.sq-pillar:hover, .sq-download:hover, .sq-post-card:hover { transform: translateY(-4px); box-shadow: var(--sq-card-shadow); }
.sq-pillar::before {
	content: "";
	width: 56px;
	height: 56px;
	flex: none;
	border-radius: 16px;
	background: var(--sq-sand-deep);
}
.sq-pillar::after {
	content: "";
	position: absolute;
	top: 45px;
	left: 39px;
	width: 30px;
	height: 30px;
	background-color: var(--sq-teal);
	-webkit-mask-position: center; mask-position: center;
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	pointer-events: none;
}
.sq-ic-tawhid::after { -webkit-mask-image: url(../images/icons/tawhid.svg); mask-image: url(../images/icons/tawhid.svg); }
.sq-ic-salah::after { -webkit-mask-image: url(../images/icons/salah.svg); mask-image: url(../images/icons/salah.svg); }
.sq-ic-sawm::after { -webkit-mask-image: url(../images/icons/sawm.svg); mask-image: url(../images/icons/sawm.svg); }
.sq-ic-zakat::after { -webkit-mask-image: url(../images/icons/zakat.svg); mask-image: url(../images/icons/zakat.svg); }
.sq-ic-hajj::after { -webkit-mask-image: url(../images/icons/hajj.svg); mask-image: url(../images/icons/hajj.svg); }
.sq-ic-book::after { -webkit-mask-image: url(../images/icons/book.svg); mask-image: url(../images/icons/book.svg); }
.sq-ic-layers::after { -webkit-mask-image: url(../images/icons/layers.svg); mask-image: url(../images/icons/layers.svg); }
.sq-ic-pen::after { -webkit-mask-image: url(../images/icons/pen.svg); mask-image: url(../images/icons/pen.svg); }

.sq-pillar-ar { font-size: 24px; line-height: normal; color: var(--sq-gold-dark); align-self: flex-start; }
.sq-pillar-title { font-size: 30px; font-weight: 700; line-height: normal; color: var(--sq-teal); }
.sq-pillar-title a { color: inherit; text-decoration: none; }
.sq-pillar-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sq-pillar-text { font-size: 15px; line-height: 1.65; color: var(--sq-muted); }
.sq-pillar-more { margin-top: auto !important; color: var(--sq-gold-light); font-weight: 600; font-size: 14px; }
.sq-pillar.is-featured { background: var(--sq-teal) url(../images/girih-10.svg) repeat; border-color: var(--sq-teal); color: #fff; }
.sq-pillar.is-featured::before { background: rgba(201, 165, 90, .16); }
.sq-pillar.is-featured::after { background-color: var(--sq-gold-light); }
.sq-pillar.is-featured .sq-pillar-ar { color: var(--sq-gold-light); }
.sq-pillar.is-featured .sq-pillar-title { color: #fff; }
.sq-pillar.is-featured .sq-pillar-text { color: var(--sq-mist-light); }

/* Downloads */
.sq-downloads { padding-top: 110px; padding-bottom: 110px; }
.sq-downloads > * + * { margin-top: 52px !important; }
.wp-block-group.sq-download-grid { gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.sq-download {
	position: relative;
	border-radius: 24px;
	background: var(--sq-teal-deep);
	border: 1px solid rgba(201, 165, 90, .35);
	padding: 34px 30px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.sq-download::before {
	content: "";
	width: 60px;
	height: 60px;
	flex: none;
	box-sizing: border-box;
	border-radius: 50%;
	border: 1px solid rgba(201, 165, 90, .6);
}
.sq-download::after {
	content: "";
	position: absolute;
	top: 50px;
	left: 46px;
	width: 28px;
	height: 28px;
	background-color: var(--sq-gold-light);
	-webkit-mask-position: center; mask-position: center;
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.sq-download-title { font-size: 32px; font-weight: 700; color: #fff; line-height: normal; }
.sq-download-text { font-size: 15px; line-height: 1.65; color: var(--sq-mist); }
.sq-tags { gap: 8px; }
.sq-tag { font-size: 13px; line-height: normal; padding: 5px 12px; border-radius: 999px; background: rgba(201, 165, 90, .14); color: var(--sq-gold-light); }
.sq-download-actions { margin-top: 8px !important; }
.sq-download-actions .wp-block-button__link { padding: 13px 22px; font-size: 15px; gap: 8px; }
.sq-download-actions .sq-ico .wp-block-button__link::before { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Post cards (Query Loop)
   -------------------------------------------------------------------------- */
.sq-blog { padding-top: 110px; padding-bottom: 90px; }
.sq-blog > * + * { margin-top: 48px !important; }
.sq-archive { padding-top: 72px; padding-bottom: 90px; }
.sq-posts .wp-block-post-template.sq-post-grid {
	gap: 26px;
	grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
	margin: 0;
	padding: 0;
}
.sq-posts .wp-block-post-template > li { margin: 0; display: flex; }
.sq-post-card {
	position: relative;
	width: 100%;
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--sq-line);
	color: var(--sq-ink);
	display: flex;
	flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease;
}
.sq-post-media { position: relative; height: 210px; background: var(--sq-teal); flex: none; }
.sq-post-thumb.wp-block-post-featured-image { margin: 0; height: 210px; }
.sq-post-thumb.wp-block-post-featured-image a,
.sq-post-thumb.wp-block-post-featured-image img { display: block; width: 100%; height: 100%; }
.sq-post-thumb.wp-block-post-featured-image img { object-fit: cover; }
.sq-thumb-fallback a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background: var(--sq-teal) url(../images/girih-16.svg) repeat center;
}
/* Panel colours follow the design's sequence: teal, light, deep, mid, light, teal. */
.sq-post-grid > li:nth-child(6n+2) .sq-thumb-fallback a,
.sq-post-grid > li:nth-child(6n+5) .sq-thumb-fallback a { background-color: var(--sq-teal-light); }
.sq-post-grid > li:nth-child(6n+3) .sq-thumb-fallback a { background-color: var(--sq-teal-deep); }
.sq-post-grid > li:nth-child(6n+4) .sq-thumb-fallback a { background-color: var(--sq-teal-mid); }
.sq-thumb-word { font-family: var(--sq-arabic); font-size: 64px; line-height: 1.3; color: var(--sq-gold-light); }
.sq-thumb-mark { width: 84px; height: 84px; background: url(../images/logo-fine.svg) center / contain no-repeat; }

.sq-badge.wp-block-post-terms {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	background: var(--sq-cream);
	color: var(--sq-teal);
	font-size: 12px;
	font-weight: 700;
	line-height: normal;
	padding: 6px 12px;
	border-radius: 999px;
}
.sq-badge a { color: inherit; text-decoration: none; }
.sq-badge a ~ a, .sq-badge .wp-block-post-terms__separator { display: none; }

.sq-post-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.sq-post-title.wp-block-post-title { font-size: 27px; line-height: 1.15; font-weight: 700; color: var(--sq-teal); }
.sq-post-title a { color: inherit; text-decoration: none; }
.sq-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sq-post-excerpt, .sq-post-excerpt p { font-size: 15px; line-height: 1.65; color: var(--sq-muted); }
.sq-post-excerpt .wp-block-post-excerpt__more-text { display: none; }
.sq-post-meta { margin-top: auto !important; padding-top: 10px; font-size: 13px; color: var(--sq-muted); align-items: center; gap: 12px; }
.sq-post-author { gap: 4px; line-height: 1.5; }
.sq-post-author .wp-block-post-author-name { font-size: inherit; }
.sq-read-more.wp-block-read-more { position: relative; z-index: 2; color: var(--sq-gold-dark); font-weight: 700; text-decoration: none; font-size: 13px; }

.sq-pagination { margin-top: 48px !important; gap: 8px; font-weight: 600; }
.sq-pagination a, .sq-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 14px; box-sizing: border-box;
	border-radius: 999px; border: 1px solid var(--sq-line-2); color: var(--sq-teal); text-decoration: none; background: #fff;
}
.sq-pagination .page-numbers.current { background: var(--sq-teal); color: #fff; border-color: var(--sq-teal); }
.sq-pagination .page-numbers.dots { border: 0; background: transparent; }
.sq-empty { text-align: center; max-width: 560px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }

/* --------------------------------------------------------------------------
   Topics (Categories block as chips)
   -------------------------------------------------------------------------- */
.sq-topics-wrap { padding-bottom: 110px; }
.sq-topics { border-radius: 28px; background: var(--sq-sand-deep); padding: 44px 40px; gap: 36px 56px; }
.sq-topics-intro { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.sq-topics-title { font-size: 36px; font-weight: 700; color: var(--sq-teal); line-height: normal; }
.sq-topics-intro p { font-size: 15px; line-height: 1.7; color: var(--sq-muted); }
.sq-topics-intro .sq-strong-link { color: inherit; }
.wp-block-categories.sq-chips {
	flex: 999 1 520px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-content: flex-start;
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.sq-chips li { margin: 0; }
.sq-chips .children { display: contents; }
.sq-chips a {
	display: inline-block;
	background: #fff;
	color: var(--sq-teal);
	border: 1px solid var(--sq-line-2);
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.sq-chips a:hover { background: var(--sq-teal); color: var(--sq-cream); }

/* --------------------------------------------------------------------------
   Closing verse
   -------------------------------------------------------------------------- */
.sq-closing { text-align: center; }
.sq-closing-inner { padding-block: 100px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.sq-mark { width: 72px; height: 72px; font-size: 0; overflow: hidden; background: url(../images/logo-fine.svg) center / contain no-repeat; }
.sq-closing-verse { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.6; color: var(--sq-gold-light); }
.sq-closing-translation { font-family: var(--sq-serif); font-style: italic; font-size: 28px; line-height: normal; color: #fff; }
.sq-closing-ref { font-size: 13px; letter-spacing: .08em; color: var(--sq-mist); line-height: normal; }
.sq-closing-actions { margin-top: 10px !important; justify-content: center; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.sq-site-footer { margin-top: 0 !important; }
.sq-footer { background: var(--sq-teal-night); color: var(--sq-mist); padding-top: 72px; padding-bottom: 36px; }
.sq-footer > * + * { margin-top: 52px !important; }
.sq-footer a { color: var(--sq-mist); text-decoration: none; }
.sq-footer a:hover { color: var(--sq-gold-light); }
.sq-footer-cols { gap: 40px 64px; align-items: flex-start !important; }
.sq-footer-about { flex: 2 1 300px; display: flex; flex-direction: column; gap: 18px; }
.sq-footer-about p:not(.sq-brand) { max-width: 360px; font-size: 15px; line-height: 1.7; }
.sq-footer .sq-brand { font-size: 30px; }
.sq-footer .sq-brand a { color: #fff; }
.sq-footer .sq-brand a::before { width: 46px; height: 46px; }
.sq-footer-col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.sq-footer-contact { flex-basis: 200px; }
.sq-footer-title.wp-block-heading {
	margin-bottom: 6px !important;
	font-family: var(--sq-sans);
	font-size: 13px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--sq-gold);
}
.sq-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sq-footer-links li { margin: 0; }
.sq-footer-bottom { border-top: 1px solid rgba(201, 165, 90, .2); padding-top: 26px; gap: 12px; font-size: 13px; align-items: center; }
.sq-footer-verse { font-size: 17px; color: var(--sq-gold); line-height: normal; }
.sq-footer-mini { padding-top: 32px; padding-bottom: 32px; }
.sq-footer-mini .sq-footer-bottom { border-top: 0; padding-top: 0; }
.sq-footer-mini .sq-brand a { color: #fff; }

/* --------------------------------------------------------------------------
   Inner page title bands, single posts and pages
   -------------------------------------------------------------------------- */
.sq-band { padding-top: 64px; padding-bottom: 76px; color: #fff; }
.sq-band-inner { display: flex; flex-direction: column; gap: 14px; }
.sq-band-inner.is-centered { align-items: center; text-align: center; }
.sq-band-title, .sq-band .wp-block-post-title, .sq-band .wp-block-query-title {
	font-family: var(--sq-serif);
	font-weight: 600;
	font-size: clamp(40px, 4.6vw, 64px);
	line-height: 1.06;
	color: #fff;
	max-width: 900px;
}
.sq-band-lead, .sq-band .wp-block-term-description { font-size: 17px; line-height: 1.7; color: var(--sq-mist-light); max-width: 640px; }
.sq-band-bismillah { align-self: flex-start; font-size: 24px; line-height: 1.6; color: var(--sq-gold-light); }
.sq-band-terms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600; }
.sq-band-terms a {
	color: var(--sq-gold-light); text-decoration: none;
	padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(201, 165, 90, .45); line-height: 1.4;
}
.sq-band-terms .wp-block-post-terms__separator { display: none; }
.sq-post-byline { gap: 6px; font-size: 14px; color: var(--sq-mist); align-items: center; }
.sq-post-byline a { color: var(--sq-gold-light); text-decoration: none; }
.sq-post-byline .wp-block-post-date, .sq-post-byline .wp-block-post-author-name { font-size: inherit; }
.sq-band-post { padding-bottom: 150px; }
body:not(.has-post-thumbnail) .sq-band-post { padding-bottom: 76px; }
.sq-top + .sq-band-post { margin-top: 0 !important; }

.sq-article, .sq-page { padding-top: 64px; padding-bottom: 90px; }
.sq-article > * + *, .sq-page > * + * { margin-block-start: 36px; }
.sq-article-image.wp-block-post-featured-image { margin-top: -120px !important; position: relative; z-index: 2; }
.sq-page .sq-article-image.wp-block-post-featured-image { margin-top: 0 !important; }
.sq-article-image img { border-radius: 24px; box-shadow: var(--sq-card-shadow); max-height: 560px; object-fit: cover; }
.sq-article-content { font-size: 17px; line-height: 1.85; color: #2E3F3E; }
.sq-article-content > * + * { margin-block-start: 1.2em; }
.sq-article-content :where(h2) { font-size: clamp(30px, 3vw, 38px); margin-block-start: 1.6em; }
.sq-article-content :where(h3) { font-size: 28px; margin-block-start: 1.4em; }
.sq-article-content a { color: var(--sq-gold-dark); text-decoration-color: rgba(201, 165, 90, .6); text-underline-offset: 3px; }
.sq-article-content img { border-radius: 16px; }
.sq-article-content :where(blockquote) { margin-inline: 0; }
.sq-article-content :where(.has-text-align-right, [dir="rtl"]) { line-height: 2; }
.sq-article-tags { font-size: 14px; color: var(--sq-muted); }
.sq-article-tags a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sq-sand-deep); color: var(--sq-teal); text-decoration: none; font-weight: 600; margin: 2px; }
.sq-article-sep.wp-block-separator { border: 0; border-top: 1px solid var(--sq-line); opacity: 1; width: 100%; }
.sq-post-nav { gap: 16px; font-weight: 600; }
.sq-post-nav a { color: var(--sq-teal); text-decoration: none; }
.sq-post-nav a:hover { color: var(--sq-gold-dark); }
.sq-related { padding-top: 90px; background: var(--sq-sand); }
.sq-comments { font-size: 15px; }
.sq-comments .wp-block-comments-title { font-size: 30px; }
.sq-comment { padding: 20px 0; border-bottom: 1px solid var(--sq-line); }
.sq-comment-head { gap: 12px; align-items: center; }
.sq-comment-head .wp-block-avatar img { border-radius: 50%; }
.sq-comments .wp-block-post-comments-form input:not([type="submit"]):not([type="checkbox"]),
.sq-comments .wp-block-post-comments-form textarea {
	border: 1px solid var(--sq-line-2); border-radius: 14px; padding: 12px 14px; background: #fff; font: inherit;
}
.sq-comments .wp-block-post-comments-form input[type="submit"] {
	background: var(--sq-gold); color: var(--sq-teal-deep); border: 0; border-radius: 999px; padding: 13px 24px; font-weight: 700; cursor: pointer;
}

/* Search block */
.sq-search .wp-block-search__inside-wrapper { border: 1px solid var(--sq-line-2); border-radius: 999px; padding: 4px; background: #fff; max-width: 520px; }
.sq-search .wp-block-search__input { border: 0; background: transparent; padding: 10px 16px; font: inherit; color: var(--sq-ink); outline: none; }
.sq-search .wp-block-search__button {
	border: 0; border-radius: 999px; background: var(--sq-gold); color: var(--sq-teal-deep); font-weight: 700; padding: 10px 22px; margin: 0; cursor: pointer;
}
.sq-search-dark .wp-block-search__inside-wrapper { border-color: rgba(201, 165, 90, .45); background: rgba(6, 42, 43, .6); }
.sq-search-dark .wp-block-search__input { color: #fff; }
.sq-search-dark .wp-block-search__input::placeholder { color: var(--sq-mist); }
.sq-empty .sq-search .wp-block-search__inside-wrapper { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Quran reader
   -------------------------------------------------------------------------- */
.sq-reader-page { background: var(--sq-cream); }
.sq-reader-hero { background: var(--sq-teal) url(../images/girih-07.svg) repeat center top; margin-top: -1px !important; }
.sq-reader-hero .sq-band-inner { gap: 14px; }
.sq-reader-hero .sq-eyebrow-sm { letter-spacing: .24em; font-weight: 700; }
.sq-reader-ar-title { font-size: clamp(48px, 5vw, 72px); line-height: 1.5; color: var(--sq-gold-light); }
.sq-reader-title { font-family: var(--sq-serif); font-size: 48px; font-weight: 600; line-height: 1; color: #fff; }
.sq-outline-tags { gap: 10px; padding-top: 8px; }
.sq-outline-tags p { font-size: 13px; line-height: 1.5; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(201, 165, 90, .45); color: var(--sq-gold-light); }

.sq-reader-controls { background: #fff; border-bottom: 1px solid var(--sq-line); }
.sq-reader-controls-inner { padding-block: 16px; gap: 14px 24px; align-items: center; }
.sq-segmented { gap: 4px; padding: 4px; border-radius: 999px; background: var(--sq-sand-deep); }
.sq-segmented > p, .sq-segmented > button {
	border: 0;
	background: transparent;
	font: inherit;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	padding: 10px 20px;
	border-radius: 999px;
	color: var(--sq-teal);
	text-align: center;
	user-select: none;
	transition: background-color .2s ease, color .2s ease;
}
.sq-segmented > .sq-ur { font-weight: 400; padding: 6px 20px; line-height: 1.6; }
.sq-segmented > .sq-ar { font-size: 17px; font-weight: 400; padding: 8px 20px; line-height: 1.4; }
.sq-segmented > .is-active { background: var(--sq-teal); color: #fff; }
.sq-segmented > :focus-visible, .sq-size-btn:focus-visible { outline: 2px solid var(--sq-gold); outline-offset: 2px; }
.sq-reader-tools { gap: 10px; align-items: center; }
.sq-size-btn {
	width: 44px; height: 44px; box-sizing: border-box;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%; border: 1px solid var(--sq-line-2); background: #fff; color: var(--sq-teal);
	font-weight: 700; font-size: 14px; line-height: 1; cursor: pointer; user-select: none;
	transition: background .2s ease, color .2s ease;
}
.sq-size-up { font-size: 17px; }
.sq-size-btn:hover { background: var(--sq-teal); color: var(--sq-cream); }
.sq-play-all .wp-block-button__link { padding: 12px 22px; }

.sq-reader-inner { padding-top: 44px; padding-bottom: 96px; gap: 32px; align-items: flex-start !important; }
.sq-surah-panel {
	flex: 1 1 290px;
	max-width: 100%;
	box-sizing: border-box;
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--sq-line);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.sq-segmented.sq-browse { border-radius: 14px; gap: 4px; display: grid; grid-template-columns: 1fr 1fr; }
.sq-browse > p, .sq-browse > button { border-radius: 10px; padding: 10px; font-weight: 600; color: var(--sq-muted); }
.sq-browse > p a { color: inherit; text-decoration: none; display: block; }
.sq-browse > .is-active { background: #fff; color: var(--sq-teal); font-weight: 700; }
.sq-surah-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--sq-line-2);
	border-radius: 14px;
	padding: 0 14px;
	color: var(--sq-muted);
	font-size: 15px;
	line-height: 1.5;
	min-height: 50px;
	box-sizing: border-box;
}
.sq-surah-search::before {
	content: ""; width: 18px; height: 18px; flex: none; background-color: currentColor;
	-webkit-mask: url(../images/icons/search.svg) center / contain no-repeat; mask: url(../images/icons/search.svg) center / contain no-repeat;
}
.sq-surah-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 15px; padding: 13px 0; background: transparent; color: var(--sq-ink); }
.sq-surah-search:focus-within { border-color: var(--sq-gold); }
.sq-surah-list { display: flex; flex-direction: column; gap: 2px; }
.sq-surah-row { position: relative; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .2s ease; }
.sq-surah-row:hover { background: var(--sq-sand); }
.sq-surah-row.is-current { background: var(--sq-sand-deep); box-shadow: inset 0 0 0 1px var(--sq-gold); }
.sq-surah-row[hidden] { display: none !important; }
.sq-surah-n {
	width: 34px; height: 34px; flex: none; box-sizing: border-box;
	display: flex; align-items: center; justify-content: center;
	font-size: 13px; font-weight: 700; border-radius: 10px; border: 1px solid var(--sq-line-2); color: var(--sq-gold-dark); background: var(--sq-cream);
}
.sq-surah-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sq-surah-en { font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--sq-teal); }
.sq-surah-en a { color: inherit; text-decoration: none; }
.sq-surah-en a::after { content: ""; position: absolute; inset: 0; }
.sq-surah-count { font-size: 12px; line-height: 1.4; color: var(--sq-muted); }
.sq-surah-ar { font-size: 20px; line-height: 1.4; color: var(--sq-gold-dark); }
.sq-surah-all { font-size: 14px; padding: 4px 6px; }

.sq-ayahs { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.sq-ayah {
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--sq-line);
	padding: 26px 32px 30px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	scroll-margin-top: 24px;
	transition: box-shadow .25s ease, border-color .25s ease;
}
.sq-ayah.is-playing { border-color: var(--sq-gold); box-shadow: 0 0 0 1px var(--sq-gold), var(--sq-card-shadow); }
.sq-ayah-head { align-items: center; gap: 12px; }
.sq-ayah-num {
	width: 46px; height: 46px; flex: none;
	display: flex; align-items: center; justify-content: center;
	background: url(../images/ayah-badge.svg) center / contain no-repeat;
	font-size: 19px; font-weight: 700; color: var(--sq-teal); line-height: 1;
}
/* Keep 2- and 3-digit numbers inside the star: smaller type, tighter spacing. */
.sq-ayah-num.sq-digits-2 { font-size: 17px; }
.sq-ayah-num.sq-digits-3 { width: 50px; height: 50px; margin: -2px; font-size: 13px; letter-spacing: -.03em; }
.sq-surah-card-n, .sq-para-no { font-variant-numeric: tabular-nums; }
.sq-surah-card-n:has(+ *) { letter-spacing: -.02em; }
.sq-ayah-ref { font-size: 13px; font-weight: 600; color: var(--sq-muted); line-height: 1.4; }
.sq-ayah-head > .sq-ayah-actions { margin-left: auto; display: flex; gap: 6px; }
.sq-ayah-actions button {
	width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0;
	background: var(--sq-sand-deep); color: var(--sq-teal); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: background .2s ease, color .2s ease;
}
.sq-ayah-actions button:hover, .sq-ayah-actions button[aria-pressed="true"] { background: var(--sq-teal); color: var(--sq-cream); }
.sq-ayah-actions button:focus-visible { outline: 2px solid var(--sq-gold); outline-offset: 2px; }
.sq-ayah-actions button::before {
	content: ""; width: 18px; height: 18px; background-color: currentColor;
	-webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.sq-ayah-actions .sq-act-play::before { -webkit-mask-image: url(../images/icons/play.svg); mask-image: url(../images/icons/play.svg); }
.sq-ayah-actions .sq-act-play[aria-pressed="true"]::before { -webkit-mask-image: url(../images/icons/pause.svg); mask-image: url(../images/icons/pause.svg); }
.sq-ayah-actions .sq-act-bookmark::before { -webkit-mask-image: url(../images/icons/bookmark.svg); mask-image: url(../images/icons/bookmark.svg); }
.sq-ayah-actions .sq-act-copy::before { -webkit-mask-image: url(../images/icons/copy.svg); mask-image: url(../images/icons/copy.svg); }
.sq-ayah-actions .sq-act-copy.is-done::after {
	content: attr(data-done); position: absolute; transform: translateY(-38px);
	background: var(--sq-teal); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px;
}
.sq-ayah-text { font-size: calc(38px * var(--sq-ayah-scale, 1)); line-height: 2.1; color: var(--sq-teal); text-align: right; }
.sq-tr { font-size: 17px; line-height: 1.75; color: #2E3F3E; border-top: 1px solid #F0E7D3; padding-top: 18px; }
.sq-tr.sq-ur, .sq-tr-ur { font-family: var(--sq-urdu); direction: rtl; text-align: right; line-height: 2.2; }
.sq-tr-sd { font-family: var(--sq-arabic); direction: rtl; text-align: right; font-size: 20px; line-height: 2; }
.sq-reader[data-lang="en"] .sq-tr:not(.sq-tr-en),
.sq-reader[data-lang="ur"] .sq-tr:not(.sq-tr-ur),
.sq-reader[data-lang="sd"] .sq-tr:not(.sq-tr-sd) { display: none; }
.sq-reader-credit { font-size: 13px; color: var(--sq-muted); margin-top: 6px !important; }
.sq-surah-nav { gap: 14px; padding-top: 16px; align-items: center; }
.sq-surah-prev { padding: 14px 24px; border-radius: 999px; border: 1px solid var(--sq-line-2); color: #6B7A79; font-weight: 600; font-size: 15px; line-height: 1.4; }
.sq-surah-prev a { color: var(--sq-teal); text-decoration: none; }

/* --------------------------------------------------------------------------
   Dynamic blocks (server-rendered markup)
   -------------------------------------------------------------------------- */
.sq-container { box-sizing: border-box; width: 100%; max-width: calc(1240px + 2 * var(--sq-pad)); margin-inline: auto; padding-inline: var(--sq-pad); }
.sq-quran .sq-container .sq-container { padding-inline: 0; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.sq-quran *, .sq-arch *, .sq-prayer-card *, .sq-contact-form * { margin-block: 0; }
.sq-quran [hidden], .sq-prayer-card [hidden] { display: none !important; }

/* Verse of the day */
.wp-block-seequran-verse-of-the-day.sq-arch { margin-inline: auto; height: auto; min-height: 560px; display: flex; }
.wp-block-seequran-verse-of-the-day .sq-arch-inner { height: auto; flex: 1; }
.sq-arch .sq-ornament { display: block; width: 140px; height: 14px; flex: none; background: url(../images/ornament.svg) center / contain no-repeat; }
.sq-arch.is-medium .sq-arch-verse { font-size: 40px; line-height: 1.7; }
.sq-arch.is-medium .sq-arch-translation { font-size: 24px; }
.sq-arch.is-long .sq-arch-verse { font-size: 28px; line-height: 1.8; }
.sq-arch.is-long .sq-arch-translation { font-size: 19px; line-height: 1.35; }
.sq-arch.is-long .sq-arch-urdu { font-size: 15px; line-height: 2.1; }
.sq-arch.is-long .sq-arch-inner, .sq-arch.is-medium .sq-arch-inner { gap: 16px; }
.sq-arch-sindhi { font-size: 20px; line-height: 1.8; }
.sq-arch-inner > * { max-width: 100%; }

/* Namaz timings */
.sq-prayer-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.sq-prayer-meta { display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 14px; color: var(--sq-muted); }
.sq-prayer-meta > span:not(:empty) + span:not(:empty)::before { content: "·"; margin-inline: 6px; }
.sq-prayer-countdown { color: var(--sq-gold-dark); font-weight: 700; }
.sq-prayer-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
.sq-prayer-name { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sq-prayer-name > span:first-child { font-weight: 600; font-size: 15px; }
.sq-prayer-name .sq-ar { font-size: 18px; color: var(--sq-gold-dark); }
.sq-prayer-time.is-next .sq-prayer-name .sq-ar { color: var(--sq-gold-light); }
.sq-prayer-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; font-size: 12px; color: var(--sq-muted); }
.sq-prayer-locate { border: 1px solid var(--sq-line-2); background: #fff; color: var(--sq-teal); border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.sq-prayer-locate:hover { background: var(--sq-teal); color: #fff; }

/* Reader: hero, search form, controls */
.sq-reader-hero ul.sq-outline-tags { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sq-outline-tags li { font-size: 13px; line-height: normal; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(201, 165, 90, .45); color: var(--sq-gold-light); }
.sq-quran-search { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; max-width: 680px; margin-top: 18px !important; padding: 6px; box-sizing: border-box; border-radius: 999px; background: rgba(6, 42, 43, .65); border: 1px solid rgba(201, 165, 90, .45); }
.sq-quran-search input, .sq-quran-search select { font: inherit; font-size: 15px; border: 0; outline: none; background: transparent; color: #fff; }
.sq-quran-search input { flex: 1 1 220px; min-width: 0; padding: 10px 16px; }
.sq-quran-search input::placeholder { color: var(--sq-mist); }
.sq-quran-search select {
	padding: 10px 30px 10px 10px; color: var(--sq-gold-light); cursor: pointer;
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23E8D3A0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5'/%3E%3C/svg%3E") no-repeat right 10px center / 10px 7px;
}
.sq-quran-search select option { color: var(--sq-ink); }
.sq-quran-search button { border: 0; border-radius: 999px; background: var(--sq-gold); color: var(--sq-teal-deep); font: inherit; font-weight: 700; font-size: 15px; padding: 10px 22px; cursor: pointer; }
.sq-quran-search:focus-within { border-color: var(--sq-gold); }
.sq-reader-controls-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.sq-reader-tools { display: flex; flex-wrap: wrap; }
.sq-lang-switch, .sq-index-tabs { display: inline-flex; }
.sq-goto, .sq-reciter { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--sq-muted); }
/* Custom dropdown arrow: the native one sits too close to the rounded edge. */
.sq-goto select, .sq-reciter select {
	font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--sq-teal); cursor: pointer; max-width: 230px;
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%230A3D3E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5'/%3E%3C/svg%3E") no-repeat right 16px center / 11px 8px;
	border: 1px solid var(--sq-line-2); border-radius: 999px; padding: 11px 40px 11px 18px;
	text-overflow: ellipsis; transition: border-color .2s, box-shadow .2s;
}
.sq-goto select:hover, .sq-reciter select:hover { border-color: var(--sq-gold); }
.sq-goto select:focus-visible, .sq-reciter select:focus-visible { outline: none; border-color: var(--sq-gold); box-shadow: 0 0 0 3px rgba(201, 165, 90, .25); }
.sq-goto select::-ms-expand, .sq-reciter select::-ms-expand { display: none; }
.sq-play-all {
	display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 15px;
	background: var(--sq-gold); color: var(--sq-teal-deep); padding: 12px 22px; border-radius: 999px; transition: filter .2s ease;
}
.sq-play-all::before { content: ""; width: 18px; height: 18px; background-color: currentColor; -webkit-mask: url(../images/icons/play.svg) center / contain no-repeat; mask: url(../images/icons/play.svg) center / contain no-repeat; }
.sq-play-all.is-playing::before { -webkit-mask-image: url(../images/icons/pause.svg); mask-image: url(../images/icons/pause.svg); }
.sq-play-all:hover { filter: brightness(1.07); }
.sq-audio-error { flex-basis: 100%; font-size: 13px; color: #8A2E1C; }

/* Reader: body */
.sq-reader-inner { display: flex; flex-wrap: wrap; align-items: flex-start; }
.sq-surah-panel { position: sticky; top: 16px; }
.admin-bar .sq-surah-panel { top: 48px; }
.sq-browse button { cursor: pointer; }
.sq-surah-search input.sq-filter { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 15px; padding: 13px 0; background: transparent; color: var(--sq-ink); }
.sq-surah-panel .sq-surah-list { max-height: min(62vh, 640px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; }
a.sq-surah-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; text-decoration: none; color: inherit; }
a.sq-surah-row[hidden] { display: none; }
.sq-surah-en { display: block; }
.sq-surah-count { display: block; }
.sq-bismillah-line { text-align: center; font-size: calc(34px * var(--sq-ayah-scale, 1)); line-height: 1.9; color: var(--sq-teal); padding: 10px 0 4px; }
.sq-juz-marker { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.sq-juz-marker a { color: var(--sq-gold-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.sq-juz-marker a::before, .sq-juz-marker a::after { content: ""; width: 40px; height: 1px; background: var(--sq-gold); }
.sq-para-surah a {
	display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 20px; text-decoration: none;
	background: var(--sq-teal) url(../images/girih-10.svg) repeat; color: #fff; margin-top: 10px;
}
.sq-para-surah .sq-surah-n { background: transparent; border-color: rgba(201, 165, 90, .55); color: var(--sq-gold-light); }
.sq-para-surah-name { flex: 1; font-family: var(--sq-serif); font-size: 26px; font-weight: 700; }
.sq-para-surah-name small { font-family: var(--sq-sans); font-size: 13px; font-weight: 500; color: var(--sq-mist); margin-left: 6px; }
.sq-para-surah .sq-ar { font-size: 24px; color: var(--sq-gold-light); }
a.sq-ayah-ref { text-decoration: none; color: var(--sq-muted); }
a.sq-ayah-ref:hover { color: var(--sq-gold-dark); }
.sq-ayah-flag { font-size: 12px; font-weight: 700; color: var(--sq-gold-dark); background: var(--sq-sand-deep); padding: 4px 10px; border-radius: 999px; }
.sq-ayah-actions { display: flex; gap: 6px; margin-left: auto; }
.sq-ayah-actions .sq-act-share::before { -webkit-mask-image: url(../images/icons/share.svg); mask-image: url(../images/icons/share.svg); }
.sq-ayah-actions button { position: relative; }
.sq-ayah-head { display: flex; align-items: center; gap: 12px; }
.sq-reader-credit { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.sq-reader[data-lang="en"] .sq-reader-credit > [class^="sq-credit-"]:not(.sq-credit-en),
.sq-reader[data-lang="ur"] .sq-reader-credit > [class^="sq-credit-"]:not(.sq-credit-ur),
.sq-reader[data-lang="sd"] .sq-reader-credit > [class^="sq-credit-"]:not(.sq-credit-sd) { display: none; }
.sq-surah-nav { display: flex; flex-wrap: wrap; justify-content: space-between; }
a.sq-surah-prev { color: var(--sq-teal); text-decoration: none; }
a.sq-surah-prev:hover { background: var(--sq-sand); }
.sq-surah-next { margin-left: auto; background: var(--sq-teal); color: #fff; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
.sq-surah-next:hover { color: #fff; filter: brightness(1.15); }

/* Reader: index */
.sq-quran-index { padding: 40px 0 96px; }
.sq-continue { margin-bottom: 24px; }
.sq-continue-link {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 20px 26px; border-radius: 20px;
	background: #fff; border: 1px solid var(--sq-gold); text-decoration: none; color: var(--sq-teal); box-shadow: var(--sq-card-shadow);
}
.sq-continue-link strong { font-family: var(--sq-serif); font-size: 24px; }
.sq-continue-link strong::after { content: " →"; color: var(--sq-gold-dark); }
.sq-index-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-bottom: 28px; }
.sq-index-filter { flex: 0 1 340px; background: #fff; }
.sq-index-tabs button { cursor: pointer; }
.sq-index-heading { font-size: 36px; margin: 48px 0 20px !important; }
.sq-index-panel:first-of-type .sq-index-heading { margin-top: 0 !important; }
.sq-surah-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); }
.sq-surah-card {
	display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--sq-line);
	text-decoration: none; color: var(--sq-ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sq-surah-card:hover { transform: translateY(-3px); box-shadow: var(--sq-card-shadow); border-color: var(--sq-gold); color: var(--sq-ink); }
.sq-surah-card[hidden] { display: none; }
.sq-surah-card-n {
	width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center;
	background: url(../images/ayah-badge.svg) center / contain no-repeat; font-size: 14px; font-weight: 700; color: var(--sq-teal);
}
.sq-surah-card-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sq-surah-card-name strong { font-size: 16px; color: var(--sq-teal); }
.sq-surah-card-name small, .sq-surah-card-ar small { font-size: 12px; color: var(--sq-muted); }
.sq-surah-card-ar { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.sq-surah-card-ar .sq-ar { font-size: 21px; line-height: 1.4; color: var(--sq-gold-dark); }
.sq-bookmark-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.sq-bookmark { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--sq-line); }
.sq-bookmark a { font-weight: 700; color: var(--sq-teal); text-decoration: none; }
.sq-bookmark button { border: 0; background: var(--sq-sand-deep); color: var(--sq-teal); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; }
.sq-empty-note { color: var(--sq-muted); font-size: 15px; padding: 24px 0; }

/* Reader: search results */
.sq-search-results { padding: 36px 0 96px; }
.sq-results-count { font-weight: 700; color: var(--sq-teal); margin-bottom: 18px !important; }
.sq-results { display: flex; flex-direction: column; gap: 14px; }
.sq-result { display: flex; flex-direction: column; gap: 10px; padding: 22px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--sq-line); text-decoration: none; color: var(--sq-ink); transition: border-color .2s ease; }
.sq-result:hover { border-color: var(--sq-gold); color: var(--sq-ink); }
.sq-result-ref { font-size: 13px; font-weight: 700; color: var(--sq-gold-dark); }
.sq-result-ar { font-size: 28px; line-height: 1.9; color: var(--sq-teal); text-align: right; }
.sq-result-tr { font-size: 16px; line-height: 1.7; color: #2E3F3E; }
.sq-result-tr.sq-tr-ur, .sq-result-tr.sq-tr-sd { direction: rtl; text-align: right; font-family: var(--sq-urdu); line-height: 2.2; }
.sq-result-tr.sq-tr-sd { font-family: var(--sq-arabic); }
.sq-result mark { background: rgba(201, 165, 90, .35); color: inherit; padding: 0 2px; border-radius: 3px; }

/* Pages */
.sq-page-intro { padding-top: 56px; }
.sq-page-intro:has(> .wp-block-post-content:empty) { display: none; }
.sq-page-intro + * { margin-top: 0 !important; }
.sq-main > .sq-page-intro { margin: 0; }
.sq-paras { padding-top: 100px; padding-bottom: 100px; }
.sq-paras > * + * { margin-top: 44px !important; }
.sq-split-note-light { color: var(--sq-muted); }
.wp-block-group.sq-para-cards { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.sq-para-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--sq-line); }
.sq-para-card > * { margin: 0 !important; }
.sq-para-card-head { align-items: center; }
.sq-para-no { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: url(../images/ayah-badge.svg) center / contain no-repeat; font-weight: 700; color: var(--sq-teal); font-size: 15px; }
.sq-para-ar { font-size: 24px; color: var(--sq-gold-dark); line-height: normal; }
.sq-para-name { font-size: 24px; line-height: 1.15; }
.sq-para-actions { gap: 8px; }
.sq-para-actions .wp-block-button__link { padding: 9px 16px; font-size: 13px; }
.sq-para-actions .sq-ico .wp-block-button__link::before { width: 15px; height: 15px; }

/* PDF library pages (Download template) */
.sq-library-content > * { margin-block: 0 !important; }
.sq-library-alt { background: var(--sq-sand); }
.sq-file-card .sq-para-name { font-size: 22px; }
.sq-file-meta { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--sq-muted); }
.sq-file-card .sq-para-actions { margin-top: auto !important; padding-top: 4px; }
.sq-file-card .sq-para-ar { text-align: end; }
.sq-lead { font-size: 1.2em; line-height: 1.7; }

/* Page content under the reader index (flipbooks etc.) */
.sq-reader-extra { padding: 24px var(--sq-pad, 24px) 96px; }
.sq-reader-extra-inner { max-width: 1240px; margin: 0 auto; }
.sq-reader-extra-inner > * + * { margin-top: 1.25em; }
.sq-reader-extra-inner h2:not(.sq-section-title) { font-size: clamp(26px, 3vw, 34px); margin-top: 1.6em; }
.sq-reader-extra-inner h3 { margin-top: 1.6em; }
.sq-reader-extra-inner ._df_book { margin-top: 16px; }
.sq-offers { padding-top: 100px; padding-bottom: 100px; }
.sq-offers > * + * { margin-top: 48px !important; }
.wp-block-group.sq-offer-grid { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.sq-offer { min-height: 0; }
.sq-stats { padding-top: 72px; padding-bottom: 72px; }
.wp-block-group.sq-stat-grid { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); text-align: center; }
.sq-stat > * { margin: 0 !important; }
.sq-stat-number { font-family: var(--sq-serif); font-size: clamp(48px, 5vw, 68px); font-weight: 700; color: var(--sq-gold-light); line-height: 1; }
.sq-stat-label { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sq-mist); margin-top: 10px !important; }
.sq-contact { padding-top: 80px; padding-bottom: 110px; }
.sq-contact-inner { gap: 28px; align-items: stretch !important; }
.sq-contact-info, .sq-contact-card { box-sizing: border-box; border-radius: 28px; padding: 40px 36px; display: flex; flex-direction: column; gap: 18px; }
.sq-contact-info > *, .sq-contact-card > * { margin: 0 !important; }
.sq-contact-info { flex: 1 1 360px; }
.sq-contact-card { flex: 1.4 1 460px; background: #fff; border: 1px solid var(--sq-line); box-shadow: 0 30px 70px -40px rgba(6, 42, 43, .35); }
.sq-contact-title { font-family: var(--sq-serif); font-size: clamp(32px, 3.4vw, 44px); font-weight: 600; line-height: 1.1; color: #fff; }
.sq-contact-lead { font-size: 16px; line-height: 1.7; color: var(--sq-mist-light); }
.sq-contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sq-contact-list li { display: flex; align-items: center; gap: 12px; color: var(--sq-gold-light); font-weight: 600; }
.sq-contact-list li::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--sq-gold); flex: none; }
.sq-contact-verse { margin-top: auto !important; font-size: 30px; line-height: 1.7; color: var(--sq-gold-light); padding-top: 18px; }
.sq-contact-verse-tr { font-family: var(--sq-serif); font-style: italic; font-size: 20px; color: #fff; }
.sq-contact-card-title { font-size: 30px; }

/* Contact form */
.sq-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sq-field { display: flex; flex-direction: column; gap: 6px; }
.sq-field-wide { grid-column: 1 / -1; }
.sq-field label { font-size: 13px; font-weight: 700; color: var(--sq-teal); }
.sq-field input, .sq-field textarea {
	font: inherit; font-size: 15px; color: var(--sq-ink); background: var(--sq-cream); border: 1px solid var(--sq-line-2); border-radius: 14px; padding: 13px 15px; width: 100%; box-sizing: border-box;
}
.sq-field input:focus, .sq-field textarea:focus { outline: none; border-color: var(--sq-gold); box-shadow: 0 0 0 3px rgba(201, 165, 90, .25); background: #fff; }
.sq-field textarea { resize: vertical; min-height: 150px; }
.sq-field-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sq-form-actions { margin-top: 18px !important; }
.sq-form-actions button { border: 0; border-radius: 999px; background: var(--sq-gold); color: var(--sq-teal-deep); font: inherit; font-weight: 700; font-size: 16px; padding: 15px 30px; cursor: pointer; transition: filter .2s ease; }
.sq-form-actions button:hover { filter: brightness(1.07); }
.sq-form-note { padding: 14px 18px; border-radius: 14px; font-weight: 600; margin-bottom: 16px !important; }
.sq-form-note.is-success { background: #E3F1EA; color: #14532D; }
.sq-form-note.is-error { background: #FBE9E4; color: #8A2E1C; }

@media (max-width: 781px) {
	.sq-surah-panel { position: static; }
	.sq-surah-panel .sq-surah-list { max-height: 320px; }
	.sq-reader-controls-inner { gap: 10px; }
	.sq-reciter select { max-width: 170px; }
	.sq-quran-search { border-radius: 22px; }
	.sq-quran-search button { flex: 1 0 100%; }
	.sq-index-heading { font-size: 30px; }
	.sq-para-surah-name { font-size: 21px; }
	.sq-para-surah-name small { display: none; }
	.sq-contact-info, .sq-contact-card { padding: 30px 22px; border-radius: 22px; }
	.sq-form-grid { grid-template-columns: 1fr; }
	.sq-paras, .sq-offers { padding-top: 72px; padding-bottom: 72px; }
	.sq-arch.is-medium .sq-arch-verse { font-size: 34px; }
	.sq-arch.is-long .sq-arch-verse { font-size: 24px; }
}

/* --------------------------------------------------------------------------
   Quran search (field, suggestions, header button, dialog, results)
   -------------------------------------------------------------------------- */
.sq-qs { position: relative; width: 100%; text-align: left; }
.sq-qs-form {
	display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 6px 6px 18px; box-sizing: border-box;
	background: #fff; border: 1px solid var(--sq-line-2); border-radius: 999px; box-shadow: 0 18px 40px -28px rgba(6, 42, 43, .45);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.sq-qs-form:focus-within { border-color: var(--sq-gold); box-shadow: 0 0 0 4px rgba(201, 165, 90, .22), 0 18px 40px -28px rgba(6, 42, 43, .45); }
.sq-qs-icon {
	width: 20px; height: 20px; flex: none; background-color: var(--sq-muted);
	-webkit-mask: url(../images/icons/search.svg) center / contain no-repeat; mask: url(../images/icons/search.svg) center / contain no-repeat;
}
.sq-qs.is-loading .sq-qs-form .sq-qs-icon { animation: sq-spin 1s linear infinite; background-color: var(--sq-gold); }
@keyframes sq-spin { to { transform: rotate(360deg); } }
.sq-qs-input {
	flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; color: var(--sq-ink); padding: 11px 4px;
	-webkit-appearance: none; appearance: none;
}
.sq-qs-input::-webkit-search-cancel-button { display: none; }
.sq-qs-input::placeholder { color: #7D8C8B; }
.sq-qs-clear {
	width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; background: var(--sq-sand-deep); cursor: pointer; position: relative;
}
.sq-qs-clear::before { content: ""; position: absolute; inset: 9px; background: var(--sq-teal); -webkit-mask: url(../images/icons/close.svg) center / contain no-repeat; mask: url(../images/icons/close.svg) center / contain no-repeat; }
.sq-qs-submit { flex: none; border: 0; border-radius: 999px; background: var(--sq-gold); color: var(--sq-teal-deep); font: inherit; font-weight: 700; font-size: 15px; padding: 12px 22px; cursor: pointer; }
.sq-qs-submit:hover { filter: brightness(1.06); }

.sq-qs-panel, .sq-qs-hints {
	position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 8px); box-sizing: border-box;
	max-height: min(70vh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 10px;
	background: #fff; border: 1px solid var(--sq-line); border-radius: 22px; box-shadow: 0 34px 70px -30px rgba(6, 42, 43, .55);
	color: var(--sq-ink); text-align: left;
}
.sq-qs-panel[hidden], .sq-qs-hints[hidden] { display: none; }
.sq-qs-group-title { margin: 8px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sq-gold-dark); }
.sq-qs-option {
	display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: inherit;
	scroll-margin: 8px;
}
.sq-qs-option:hover, .sq-qs-option.is-active { background: var(--sq-sand); color: inherit; }
.sq-qs-option.is-active { box-shadow: inset 0 0 0 1px var(--sq-gold); }
.sq-qs-badge { width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--sq-sand-deep); position: relative; }
.sq-qs-badge::before { content: ""; position: absolute; inset: 9px; background: var(--sq-teal); -webkit-mask: url(../images/icons/book.svg) center / contain no-repeat; mask: url(../images/icons/book.svg) center / contain no-repeat; }
.is-para .sq-qs-badge::before { -webkit-mask-image: url(../images/icons/layers.svg); mask-image: url(../images/icons/layers.svg); }
.is-ayah.is-quick .sq-qs-badge { background: var(--sq-teal); }
.is-ayah.is-quick .sq-qs-badge::before { background: var(--sq-gold-light); -webkit-mask-image: url(../images/icons/arrow.svg); mask-image: url(../images/icons/arrow.svg); }
.sq-qs-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sq-qs-text strong { font-size: 15px; color: var(--sq-teal); }
.sq-qs-text small { font-size: 12px; color: var(--sq-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sq-qs-ar { font-family: var(--sq-arabic); font-size: 20px; color: var(--sq-gold-dark); flex: none; }
.sq-qs-option.is-ayah:not(.is-quick) { flex-direction: column; align-items: stretch; gap: 6px; }
.sq-qs-ref { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--sq-teal); }
.sq-qs-lang { font-size: 11px; font-weight: 700; color: var(--sq-gold-dark); background: var(--sq-sand-deep); padding: 2px 8px; border-radius: 999px; }
.sq-qs-ayah-ar { font-family: var(--sq-arabic); font-size: 21px; line-height: 1.9; color: var(--sq-teal); text-align: right; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sq-qs-ayah-tr { font-size: 14px; line-height: 1.6; color: #2E3F3E; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sq-qs-tr-ur { font-family: var(--sq-urdu); line-height: 2.2; text-align: right; }
.sq-qs-tr-sd { font-family: var(--sq-arabic); text-align: right; }
.sq-qs-panel mark, .sq-results mark { background: rgba(201, 165, 90, .38); color: inherit; border-radius: 3px; padding: 0 1px; }
.sq-qs-option.is-more { justify-content: center; font-weight: 700; color: var(--sq-gold-dark); margin-top: 4px; border-top: 1px solid var(--sq-line); border-radius: 0 0 14px 14px; }
.sq-qs-empty { margin: 0; padding: 16px 12px; color: var(--sq-muted); font-size: 14px; }
.sq-qs-chips, .sq-qs-recent { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px 6px; }
.sq-qs-chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: normal;
	background: var(--sq-cream); border: 1px solid var(--sq-line-2); color: var(--sq-teal); text-decoration: none; cursor: pointer;
}
.sq-qs-chip:hover, .sq-qs-chip:focus-visible { background: var(--sq-teal); color: #fff; border-color: var(--sq-teal); outline: none; }
.sq-qs-chip[lang="ur"] { font-family: var(--sq-urdu); font-weight: 400; padding-block: 4px; }
.sq-qs-chip.is-recent { padding-right: 6px; }
.sq-qs-remove { border: 0; background: transparent; color: inherit; font-size: 16px; line-height: 1; cursor: pointer; padding: 0 4px; opacity: .6; }
.sq-qs-tip { margin: 10px 10px 4px; font-size: 12px; color: var(--sq-muted); }

/* On dark backgrounds */
.sq-qs.is-hero { max-width: 720px; margin-top: 18px; }
.sq-qs.is-hero .sq-qs-form { background: rgba(255, 255, 255, .97); border-color: transparent; }

/* Header button + dialog */
.sq-header-search { flex: none; }
.sq-qs-open {
	display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px 9px 14px; border-radius: 999px; text-decoration: none;
	color: #E6EFEC; border: 1px solid rgba(201, 165, 90, .45); background: rgba(6, 42, 43, .35); font-size: 14px; font-weight: 600; line-height: normal;
	transition: background .2s ease, border-color .2s ease;
}
.sq-qs-open:hover { background: rgba(201, 165, 90, .16); border-color: var(--sq-gold); color: #fff; }
.sq-qs-open .sq-qs-icon { background-color: var(--sq-gold-light); width: 18px; height: 18px; }
.sq-qs-open kbd { font: inherit; font-size: 12px; line-height: 1; padding: 4px 7px; border-radius: 6px; border: 1px solid rgba(201, 165, 90, .45); color: var(--sq-gold-light); }
.sq-qs-dialog {
	width: min(760px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 12vh); margin: 8vh auto auto; padding: 0;
	border: 0; border-radius: 28px; background: var(--sq-cream); color: var(--sq-ink); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .6); overflow: visible;
}
.sq-qs-dialog::backdrop { background: rgba(4, 31, 32, .72); backdrop-filter: blur(3px); }
.sq-qs-dialog-inner { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.sq-qs-dialog-head { display: flex; align-items: center; justify-content: space-between; }
.sq-qs-dialog-title { margin: 0; font-family: var(--sq-serif); font-size: 26px; font-weight: 700; color: var(--sq-teal); }
.sq-qs-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sq-sand-deep); cursor: pointer; position: relative; }
.sq-qs-close::before { content: ""; position: absolute; inset: 11px; background: var(--sq-teal); -webkit-mask: url(../images/icons/close.svg) center / contain no-repeat; mask: url(../images/icons/close.svg) center / contain no-repeat; }
.sq-qs.is-in-dialog .sq-qs-panel, .sq-qs.is-in-dialog .sq-qs-hints {
	position: static; margin-top: 12px; max-height: calc(100vh - 12vh - 160px); box-shadow: none;
}
html.sq-qs-locked { overflow: hidden; }

/* Home search band */
.sq-search-band { padding-top: 96px; padding-bottom: 8px; }
.sq-search-band > * + * { margin-top: 28px !important; }
.sq-search-band-title { font-size: clamp(32px, 3.4vw, 46px); }
.sq-search-band .sq-qs-form { padding-block: 8px; }

/* Results page */
.sq-search-hero .sq-band-inner { gap: 6px; }
.sq-search-quick { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); margin-bottom: 28px; }
.sq-quick-card {
	display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 18px 22px; border-radius: 20px; text-decoration: none;
	background: var(--sq-teal) url(../images/girih-10.svg) repeat; color: #fff; transition: transform .2s ease, box-shadow .2s ease;
}
.sq-quick-card:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--sq-card-shadow); }
.sq-quick-type { grid-column: 1 / -1; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sq-gold); }
.sq-quick-card strong { font-family: var(--sq-serif); font-size: 24px; line-height: 1.2; }
.sq-quick-card small { grid-column: 1; font-size: 13px; color: var(--sq-mist); }
.sq-quick-card .sq-ar { grid-column: 2; grid-row: 2 / span 2; align-self: center; font-size: 26px; color: var(--sq-gold-light); }
.sq-search-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin-bottom: 18px; }
.sq-search-toolbar .sq-results-count { margin: 0 !important; }
.sq-lang-filter { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 999px; background: var(--sq-sand-deep); }
.sq-lang-filter a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--sq-teal); text-decoration: none; }
.sq-lang-filter a.is-active { background: var(--sq-teal); color: #fff; }
.sq-result-ref { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sq-result-lang { font-size: 11px; font-weight: 700; color: var(--sq-gold-dark); background: var(--sq-sand-deep); padding: 3px 10px; border-radius: 999px; }
.sq-search-pages { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 36px !important; }
.sq-empty-note .sq-qs-chips { padding: 12px 0 0; }

@media (max-width: 1199px) {
	.sq-header-inner > .sq-header-search { margin-left: auto; order: 2; }
	.sq-header-inner > .sq-header-cta { order: 3; }
	.sq-header-inner > .sq-nav { order: 4; margin-left: 0; }
}
@media (max-width: 781px) {
	.sq-qs-open { width: 44px; height: 44px; padding: 0; justify-content: center; }
	.sq-qs-open-label, .sq-qs-open kbd { display: none; }
	.sq-qs-dialog { width: 100vw; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
	.sq-qs-dialog-inner { padding: 16px; height: 100%; box-sizing: border-box; }
	.sq-qs.is-in-dialog { display: flex; flex-direction: column; flex: 1; min-height: 0; }
	.sq-qs.is-in-dialog .sq-qs-panel, .sq-qs.is-in-dialog .sq-qs-hints { max-height: none; flex: 1; overflow-y: auto; border-radius: 18px; }
	.sq-qs-dialog-title { font-size: 22px; }
	.sq-qs-form { padding-left: 14px; }
	.sq-qs-submit { padding: 11px 16px; }
	.sq-qs:not(.is-in-dialog) .sq-qs-panel, .sq-qs:not(.is-in-dialog) .sq-qs-hints { max-height: 60vh; }
	.sq-search-band { padding-top: 72px; }
	.sq-lang-filter { width: 100%; justify-content: space-between; }
	.sq-lang-filter a { padding: 8px 12px; }
}
@media (max-width: 420px) {
	.sq-qs-submit { display: none; }
}

/* --------------------------------------------------------------------------
   Tasbeeh One app page
   -------------------------------------------------------------------------- */
.sq-ico-play-store .wp-block-button__link::before { -webkit-mask-image: url(../images/icons/play-store.svg); mask-image: url(../images/icons/play-store.svg); width: 18px; height: 18px; }
.sq-app-hero .sq-hero-title em { color: var(--sq-gold); }
.sq-hero.sq-app-hero { padding-bottom: 96px; }
.sq-app-badges { gap: 8px; }
.sq-app-badges p { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(201, 165, 90, .45); color: var(--sq-gold-light); }
.sq-app-art { flex-basis: 360px; }

/* Phone illustration */
.sq-phone {
	width: 290px; max-width: 100%; aspect-ratio: 9 / 18.5; box-sizing: border-box; padding: 12px; margin-inline: auto;
	border-radius: 46px; background: linear-gradient(160deg, #1B1B1B, #050505); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(255, 255, 255, .08);
	position: relative;
}
.sq-phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 999px; background: #050505; z-index: 2; }
.sq-phone-screen {
	height: 100%; box-sizing: border-box; border-radius: 36px; overflow: hidden; padding: 54px 18px 14px;
	background: radial-gradient(120% 70% at 50% 0%, #2A2112 0%, #120E07 60%), #120E07; color: #F3E3B6;
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
}
.sq-phone-screen > * { margin: 0 !important; }
.sq-phone-bar { font-family: var(--sq-serif); font-size: 18px; font-weight: 700; color: #E9C46A; letter-spacing: .02em; }
.sq-phone-dhikr { font-size: 30px; line-height: 1.6; color: #F6DE9C; margin-top: 10px !important; }
.sq-phone-meaning { font-size: 11px; color: #B9A274; letter-spacing: .06em; text-transform: uppercase; }
.sq-phone-ring {
	--p: 0.818; width: 168px; height: 168px; border-radius: 50%; margin: 14px auto 8px !important; display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: radial-gradient(closest-side, #19130A 82%, transparent 83% 100%), conic-gradient(#E9C46A calc(var(--p) * 360deg), rgba(233, 196, 106, .15) 0);
	box-shadow: 0 0 40px -8px rgba(233, 196, 106, .45);
}
.sq-phone-ring > * { margin: 0 !important; }
.sq-phone-count { font-family: var(--sq-serif); font-size: 64px; font-weight: 700; line-height: 1; color: #FFF3D1; }
.sq-phone-of { font-size: 12px; color: #B9A274; }
.sq-phone-keys { gap: 18px; margin-top: 4px !important; }
.sq-phone-key { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 600; line-height: 1; margin: 0 !important; }
.sq-phone-key.is-minus { background: rgba(233, 196, 106, .12); color: #E9C46A; border: 1px solid rgba(233, 196, 106, .35); }
.sq-phone-key.is-plus { width: 72px; height: 72px; background: linear-gradient(160deg, #F1CF78, #C9A24C); color: #2A1E07; font-size: 34px; box-shadow: 0 12px 26px -10px rgba(233, 196, 106, .7); }
.sq-phone-keys { align-items: center !important; }
.sq-phone-tabs { margin-top: auto !important; width: 100%; padding: 10px 6px 4px; border-top: 1px solid rgba(233, 196, 106, .15); }
.sq-phone-tabs p { margin: 0 !important; font-size: 11px; color: #8E7B54; font-weight: 600; }
.sq-phone-tabs p.is-active { color: #E9C46A; }

/* Features */
.sq-app-features { padding-top: 110px; padding-bottom: 100px; }
.sq-app-features > * + * { margin-top: 52px !important; }
.sq-app-features .sq-section-title { max-width: 760px; }
.wp-block-group.sq-app-feature-grid { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.sq-app-feature {
	position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--sq-line);
	transition: transform .25s ease, box-shadow .25s ease;
}
.sq-app-feature:hover { transform: translateY(-4px); box-shadow: var(--sq-card-shadow); }
.sq-app-feature > * { margin: 0 !important; }
.sq-app-feature::before { content: ""; width: 52px; height: 52px; border-radius: 16px; background: var(--sq-sand-deep); flex: none; }
.sq-app-feature::after {
	content: ""; position: absolute; top: 43px; left: 41px; width: 26px; height: 26px; background-color: var(--sq-teal);
	-webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.sq-af-tap::after { -webkit-mask-image: url(../images/icons/tap.svg); mask-image: url(../images/icons/tap.svg); }
.sq-af-fatima::after { -webkit-mask-image: url(../images/icons/tawhid.svg); mask-image: url(../images/icons/tawhid.svg); }
.sq-af-save::after { -webkit-mask-image: url(../images/icons/save.svg); mask-image: url(../images/icons/save.svg); }
.sq-af-offline::after { -webkit-mask-image: url(../images/icons/offline.svg); mask-image: url(../images/icons/offline.svg); }
.sq-af-haptic::after { -webkit-mask-image: url(../images/icons/haptic.svg); mask-image: url(../images/icons/haptic.svg); }
.sq-af-calm::after { -webkit-mask-image: url(../images/icons/calm.svg); mask-image: url(../images/icons/calm.svg); }
.sq-af-fatima { background: var(--sq-teal) url(../images/girih-10.svg) repeat; border-color: var(--sq-teal); color: #fff; }
.sq-af-fatima::before { background: rgba(201, 165, 90, .16); }
.sq-af-fatima::after { background-color: var(--sq-gold-light); }
.sq-af-fatima .sq-app-feature-title { color: #fff; }
.sq-af-fatima .sq-app-feature-text { color: var(--sq-mist-light); }
.sq-app-feature-title { font-size: 26px; line-height: 1.15; color: var(--sq-teal); }
.sq-app-feature-text { font-size: 15px; line-height: 1.65; color: var(--sq-muted); }

/* Tasbeeh Fatima */
.sq-app-fatima { padding-top: 100px; padding-bottom: 100px; }
.sq-app-fatima > * + * { margin-top: 48px !important; }
.wp-block-group.sq-fatima-steps { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); counter-reset: step; }
.sq-fatima-step {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 34px 26px;
	border-radius: 24px; background: var(--sq-teal-deep); border: 1px solid rgba(201, 165, 90, .35);
}
.sq-fatima-step > * { margin: 0 !important; }
.sq-fatima-no { font-family: var(--sq-serif); font-size: 52px; font-weight: 700; line-height: 1; color: var(--sq-gold); }
.sq-fatima-ar { font-size: 36px; line-height: 1.6; color: var(--sq-gold-light); }
.sq-fatima-name { font-weight: 700; font-size: 16px; color: #fff; }
.sq-fatima-meaning { font-size: 14px; color: var(--sq-mist); }

/* Privacy + facts */
.sq-app-privacy { padding-top: 100px; padding-bottom: 40px; }
.sq-app-privacy-inner { gap: 32px 64px; border-radius: 28px; background: var(--sq-sand-deep); padding: 48px 44px; align-items: center !important; }
.sq-app-privacy-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }
.sq-app-privacy-copy > * { margin: 0 !important; }
.sq-app-privacy-copy p:not(.sq-eyebrow):not(.sq-strong-link) { font-size: 16px; line-height: 1.7; color: var(--sq-muted); }
.sq-app-checks { flex: 1 1 320px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sq-app-checks li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--sq-line); font-weight: 600; color: var(--sq-teal); margin: 0; }
.sq-app-checks li::before {
	content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%;
	background: var(--sq-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8D3A0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.sq-app-facts-wrap { padding-top: 24px; padding-bottom: 100px; }
.wp-block-group.sq-app-facts { gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.sq-app-fact { padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--sq-line); text-align: center; }
.sq-app-fact > * { margin: 0 !important; }
.sq-app-fact-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sq-gold-dark); }
.sq-app-fact-value { font-family: var(--sq-serif); font-size: 26px; font-weight: 700; color: var(--sq-teal); margin-top: 4px !important; }
.sq-app-support { font-size: 14px; color: var(--sq-mist); }
.sq-app-support a { color: var(--sq-gold-light); }

/* Home promo */
.sq-app-promo-wrap { padding-bottom: 110px; }
.sq-app-promo { border-radius: 32px; padding: 56px 56px 0; gap: 32px 56px; overflow: hidden; align-items: flex-end !important; }
.sq-app-promo-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; padding-bottom: 56px; align-self: center; }
.sq-app-promo-copy > * { margin: 0 !important; }
.sq-app-promo-art { flex: 0 1 300px; margin-inline: auto; }
.sq-app-promo-art .sq-phone { width: 260px; margin-bottom: -150px; }
.sq-app-promo-art { height: 400px; overflow: hidden; }

@media (max-width: 781px) {
	.sq-app-features, .sq-app-fatima { padding-top: 76px; padding-bottom: 76px; }
	.sq-app-privacy { padding-top: 76px; }
	.sq-app-privacy-inner { padding: 30px 22px; border-radius: 24px; }
	.sq-app-promo { padding: 36px 24px 0; border-radius: 24px; }
	.sq-app-promo-copy { padding-bottom: 8px; }
	.sq-app-promo-art { height: 320px; }
	.sq-app-promo-art .sq-phone { width: 230px; }
	.sq-phone { width: 260px; }
	.sq-app-promo-wrap { padding-bottom: 80px; }
}

/* Breadcrumbs and search title (reader) */
.sq-breadcrumbs ol { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; font-size: 13px; line-height: normal; }
.sq-breadcrumbs li { display: inline-flex; align-items: center; color: var(--sq-mist); }
.sq-breadcrumbs li + li::before { content: "›"; margin: 0 8px; color: var(--sq-gold); }
.sq-breadcrumbs a { color: var(--sq-mist-light); text-decoration: none; }
.sq-breadcrumbs a:hover { color: var(--sq-gold-light); }
.sq-breadcrumbs [aria-current] { color: var(--sq-gold-light); }
.sq-search-title { margin: 0; font-family: var(--sq-serif); font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; color: #fff; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 781px) {
	.sq-hero { padding-bottom: 128px; }
	.sq-hero-inner { padding-top: 44px; gap: 44px; }
	.sq-hero-copy { gap: 22px; }
	.sq-bismillah { font-size: 22px; }
	.sq-hero-lead { font-size: 16px; }
	.sq-arch { height: 520px; border-radius: 200px 200px 24px 24px; }
	.sq-arch-inner { border-radius: 186px 186px 14px 14px; padding: 36px 22px; gap: 18px; }
	.sq-arch-verse { font-size: 48px; }
	.sq-arch-translation { font-size: 26px; }
	.sq-prayer-card { padding: 24px 20px; border-radius: 24px; }
	.sq-prayer-title { font-size: 28px; }
	.sq-prayer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.sq-prayer-time { padding: 18px 16px; }
	.sq-time { font-size: 32px; }
	.sq-time .sq-ampm { font-size: 15px; }
	.sq-pillars { padding-top: 84px; padding-bottom: 80px; }
	.sq-pillars > * + * { margin-top: 40px !important; }
	.sq-pillar { min-height: 0; }
	.sq-downloads, .sq-blog { padding-top: 80px; padding-bottom: 80px; }
	.sq-downloads > * + * { margin-top: 36px !important; }
	.sq-blog > * + * { margin-top: 36px !important; }
	.sq-topics-wrap { padding-bottom: 80px; }
	.sq-topics { padding: 32px 22px; border-radius: 24px; }
	.sq-closing-inner { padding-block: 76px; }
	.sq-closing-translation { font-size: 24px; }
	.sq-footer { padding-top: 56px; }
	.sq-footer > * + * { margin-top: 40px !important; }
	.sq-band { padding-top: 44px; padding-bottom: 56px; }
	.sq-band-post { padding-bottom: 120px; }
	body:not(.has-post-thumbnail) .sq-band-post { padding-bottom: 56px; }
	.sq-article-image.wp-block-post-featured-image { margin-top: -96px !important; }
	.sq-article-image img { border-radius: 18px; }
	.sq-article, .sq-page { padding-top: 44px; }
	.sq-reader-controls-inner { justify-content: center !important; }
	.sq-reader-inner { padding-top: 28px; gap: 24px; }
	.sq-surah-panel { order: 2; }
	.sq-ayah { padding: 22px 20px 24px; border-radius: 20px; }
	.sq-ayah-text { font-size: calc(32px * var(--sq-ayah-scale, 1)); }
	.sq-ayah-actions button { width: 40px; height: 40px; }
}
@media (max-width: 420px) {
	.sq-prayer-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.sq-hero-actions .wp-block-button { width: 100%; }
	.sq-hero-actions .wp-block-button__link { width: 100%; justify-content: center; box-sizing: border-box; }
	.sq-topbar-langs > p:first-child { display: none; }
	.sq-segmented > p, .sq-segmented > button {
	border: 0;
	background: transparent;
	font: inherit; padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}

/* --------------------------------------------------------------------------
   Editor tweaks (the editor wraps content in .editor-styles-wrapper)
   -------------------------------------------------------------------------- */
.editor-styles-wrapper .sq-pillar-title a::after,
.editor-styles-wrapper .sq-post-title a::after,
.editor-styles-wrapper .sq-surah-en a::after { display: none; }

/* Contact details rendered as links */
.sq-topbar-contact a, .sq-footer-contact a, .sq-contact-list a { color: inherit; text-decoration: none; }
.sq-topbar-contact a:hover, .sq-footer-contact a:hover, .sq-contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sq-reader-extra { padding-top: 0; }

/* Safety net: nothing can make the page scroll sideways on phones. */
html, body { overflow-x: clip; }
.sq-article-content iframe, .sq-article-content embed, .sq-article-content video, .sq-article-content table { max-width: 100%; }
