/*
 * Al-Aqssa Heritage — main stylesheet.
 *
 * Written with CSS logical properties (margin-inline, inset-inline-start, …),
 * so the same rules lay out correctly in Arabic (RTL) and in a future English
 * (LTR) version without a separate rtl.css.
 *
 * Contents
 *  1. Tokens            8. Intro / about / fields, 8b. Hajj & Umrah programmes
 *  2. Base              9. Jerusalem band / news / CTA
 *  3. Utilities        10. Inner pages (hero, prose, patterns)
 *  4. Buttons, chips   11. Cards, grids, empty states, pagination
 *  5. Demo labels      12. Article, comments
 *  6. Header & nav     13. Contact page & form
 *  7. Hero             14. Footer, 404, search
 *                      15. Motion & reduced motion, print
 */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--aq-emerald-950: #10231b;
	--aq-emerald-900: #173327;
	--aq-emerald-800: #1e4a3b;
	--aq-emerald-700: #285e4a;
	--aq-olive-600: #56704f;
	--aq-gold-700: #7d5f26;
	--aq-gold-500: #b08d4a;
	--aq-gold-300: #d9c08a;
	--aq-gold-100: #f2e6c9;
	--aq-ivory: #fbf8f1;
	--aq-paper: #fffdf8;
	--aq-sand-100: #f5eedf;
	--aq-sand-200: #ebdfc6;
	--aq-sand-400: #cdb68c;
	--aq-ink: #23261f;
	--aq-ink-soft: #464a40;
	--aq-muted: #63655a;
	--aq-line: rgba(35, 38, 31, 0.12);
	--aq-line-strong: rgba(35, 38, 31, 0.2);

	--aq-font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
	--aq-font-head: "Amiri", "Traditional Arabic", "Times New Roman", serif;

	--aq-radius-sm: 10px;
	--aq-radius: 16px;
	--aq-radius-lg: 26px;
	--aq-arch: 999px 999px var(--aq-radius) var(--aq-radius);
	--aq-shadow-sm: 0 1px 2px rgba(23, 51, 39, 0.06), 0 4px 14px rgba(23, 51, 39, 0.05);
	--aq-shadow: 0 2px 6px rgba(23, 51, 39, 0.06), 0 18px 40px -12px rgba(23, 51, 39, 0.18);
	--aq-shadow-lg: 0 30px 70px -24px rgba(16, 35, 27, 0.35);

	--aq-container: 1200px;
	--aq-narrow: 760px;
	--aq-gutter: clamp(1rem, 4vw, 2.5rem);
	--aq-section: clamp(4rem, 9vw, 7.5rem);
	--aq-header-h: 84px;
	--aq-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--aq-flip: 1;

	/* Eight-point star lattice (original). */
	--aq-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23b08d4a' stroke-width='1'%3E%3Crect x='20' y='20' width='40' height='40'/%3E%3Crect x='20' y='20' width='40' height='40' transform='rotate(45 40 40)'/%3E%3Cpath d='M40 0v11.7M40 68.3V80M0 40h11.7M68.3 40H80M0 0l20 20M80 0L60 20M0 80l20-20M80 80L60 60'/%3E%3C/g%3E%3C/svg%3E");
	--aq-pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d9c08a' stroke-width='1'%3E%3Crect x='20' y='20' width='40' height='40'/%3E%3Crect x='20' y='20' width='40' height='40' transform='rotate(45 40 40)'/%3E%3Cpath d='M40 0v11.7M40 68.3V80M0 40h11.7M68.3 40H80M0 0l20 20M80 0L60 20M0 80l20-20M80 80L60 60'/%3E%3C/g%3E%3C/svg%3E");
}

[dir="rtl"] {
	--aq-flip: -1;
}

@media (max-width: 782px) {
	:root {
		--aq-header-h: 72px;
	}
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--aq-header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--aq-ivory);
	color: var(--aq-ink);
	font-family: var(--aq-font-body);
	font-size: 1.0625rem;
	line-height: 1.85;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

html.aq-nav-open body {
	overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	color: var(--aq-emerald-900);
	font-family: var(--aq-font-head);
	font-weight: 700;
	line-height: 1.4;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.25rem; }

p {
	margin: 0 0 1.2em;
}

a {
	color: var(--aq-emerald-700);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
	transition: color 0.2s var(--aq-ease);
}

a:hover {
	color: var(--aq-emerald-900);
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

ul,
ol {
	padding-inline-start: 1.4em;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--aq-emerald-700);
	outline-offset: 3px;
	border-radius: 4px;
}

.aq-dark :focus-visible {
	outline-color: var(--aq-gold-300);
}

::selection {
	background: var(--aq-gold-100);
	color: var(--aq-emerald-950);
}

.aq-main:focus {
	outline: none;
}

/* 3. Utilities ------------------------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	inset-block-start: 0.75rem;
	inset-inline-start: 0.75rem;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1.25rem;
	clip: auto;
	clip-path: none;
	background: var(--aq-emerald-900);
	color: var(--aq-ivory);
	border-radius: var(--aq-radius-sm);
	font-weight: 600;
	text-decoration: none;
}

.aq-container {
	width: min(100% - 2 * var(--aq-gutter), var(--aq-container));
	margin-inline: auto;
}

.aq-container--narrow {
	width: min(100% - 2 * var(--aq-gutter), var(--aq-narrow));
}

.aq-section {
	padding-block: var(--aq-section);
}

.aq-icon {
	width: 1.25em;
	height: 1.25em;
	flex-shrink: 0;
}

/* Arrows point in the reading direction. */
.aq-icon--arrow,
.aq-icon--chevron {
	transform: scaleX(var(--aq-flip));
}

.aq-icon--back {
	transform: scaleX(calc(var(--aq-flip) * -1));
}

.aq-arch {
	border-radius: var(--aq-arch);
	overflow: hidden;
}

/* Arabic has no true italics (browsers would synthesise a slant), so
   placeholders are distinguished by tone only. */
.aq-placeholder {
	color: inherit;
	opacity: 0.72;
	font-size: 0.9375em;
}

.aq-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1rem;
	color: var(--aq-gold-700);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.5;
}

.aq-eyebrow::before {
	content: "";
	width: 2.25rem;
	height: 1px;
	background: currentColor;
	opacity: 0.7;
}

.aq-eyebrow--center::after {
	content: "";
	width: 2.25rem;
	height: 1px;
	background: currentColor;
	opacity: 0.7;
}

/* Latin scripts may be tracked; Arabic must never be letter-spaced. */
html:not([dir="rtl"]) .aq-eyebrow {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.8125rem;
}

.aq-dark .aq-eyebrow {
	color: var(--aq-gold-300);
}

.aq-ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	color: var(--aq-gold-500);
	margin-block-end: 1.5rem;
}

.aq-ornament::before,
.aq-ornament::after {
	content: "";
	width: clamp(3rem, 10vw, 6rem);
	height: 1px;
	background: currentColor;
	opacity: 0.55;
}

.aq-ornament .aq-icon {
	width: 1.4rem;
	height: 1.4rem;
}

.aq-ornament--light {
	color: var(--aq-gold-300);
}

.aq-section-head {
	max-width: 46rem;
	margin-block-end: clamp(2.25rem, 5vw, 3.5rem);
}

.aq-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.aq-section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	max-width: none;
}

.aq-section-head--split > div {
	max-width: 42rem;
}

.aq-section-title {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.35;
	margin-block-end: 0.5em;
}

.aq-section-title--sm {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.aq-section-lead,
.aq-section-lead p {
	color: var(--aq-muted);
	font-size: 1.125rem;
}

.aq-section-lead p:last-child {
	margin-block-end: 0;
}

.aq-section-foot {
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
	text-align: center;
}

/* 4. Buttons, chips -------------------------------------------------------- */
.aq-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 48px;
	padding: 0.7rem 1.6rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--aq-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s var(--aq-ease), color 0.25s var(--aq-ease), border-color 0.25s var(--aq-ease), box-shadow 0.25s var(--aq-ease), transform 0.25s var(--aq-ease);
}

.aq-btn .aq-icon {
	width: 1.1rem;
	height: 1.1rem;
	transition: transform 0.25s var(--aq-ease);
}

.aq-btn:hover .aq-icon--arrow {
	transform: scaleX(var(--aq-flip)) translateX(3px);
}

.aq-btn--sm {
	min-height: 42px;
	padding: 0.5rem 1.2rem;
	font-size: 0.9375rem;
}

.aq-btn--primary {
	background: var(--aq-emerald-800);
	color: var(--aq-ivory);
	box-shadow: inset 0 0 0 1px rgba(217, 192, 138, 0.35), 0 8px 20px -10px rgba(30, 74, 59, 0.6);
}

.aq-btn--primary:hover {
	background: var(--aq-emerald-900);
	color: #fff;
	transform: translateY(-1px);
}

.aq-btn--ghost {
	border-color: rgba(30, 74, 59, 0.3);
	background: transparent;
	color: var(--aq-emerald-900);
}

.aq-btn--ghost:hover {
	border-color: var(--aq-emerald-800);
	background: var(--aq-sand-100);
	color: var(--aq-emerald-900);
}

.aq-btn--gold {
	background: var(--aq-gold-300);
	color: var(--aq-emerald-950);
}

.aq-btn--gold:hover {
	background: var(--aq-gold-100);
	color: var(--aq-emerald-950);
	transform: translateY(-1px);
}

.aq-btn--light {
	border-color: rgba(251, 248, 241, 0.4);
	color: var(--aq-ivory);
}

.aq-btn--light:hover {
	border-color: var(--aq-ivory);
	background: rgba(251, 248, 241, 0.08);
	color: #fff;
}

.aq-btn[disabled] {
	cursor: not-allowed;
	opacity: 0.6;
	transform: none;
	box-shadow: none;
}

.aq-chip {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.75rem;
	border-radius: 999px;
	background: var(--aq-gold-100);
	color: var(--aq-gold-700);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.7;
	text-decoration: none;
}

a.aq-chip:hover {
	background: var(--aq-gold-300);
	color: var(--aq-emerald-950);
}

.aq-link-more {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--aq-emerald-700);
	font-size: 0.9375rem;
	font-weight: 600;
}

.aq-link-more .aq-icon {
	width: 1rem;
	height: 1rem;
	transition: transform 0.25s var(--aq-ease);
}

/* 5. Demo labels ----------------------------------------------------------- */
.aq-demo-bar {
	background: var(--aq-emerald-950);
	color: var(--aq-gold-100);
	font-size: 0.875rem;
	line-height: 1.6;
}

.aq-demo-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding-block: 0.55rem;
	text-align: center;
}

.aq-demo-bar p {
	margin: 0;
}

.aq-demo-bar .aq-icon {
	width: 1.05rem;
	height: 1.05rem;
	color: var(--aq-gold-300);
}

.aq-demo-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-block: 0.25rem 1rem;
	padding: 0.2rem 0.75rem;
	border: 1px dashed var(--aq-gold-500);
	border-radius: 999px;
	background: var(--aq-gold-100);
	color: var(--aq-gold-700);
	font-family: var(--aq-font-body);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.6;
}

.aq-demo-badge .aq-icon {
	width: 0.95rem;
	height: 0.95rem;
}

.aq-dark .aq-demo-badge {
	border-color: rgba(217, 192, 138, 0.55);
	background: rgba(242, 230, 201, 0.1);
	color: var(--aq-gold-100);
}

.aq-content-note {
	display: flex;
	gap: 0.6rem;
	padding: 0.9rem 1.2rem !important;
	border: 1px dashed var(--aq-gold-500);
	border-radius: var(--aq-radius-sm);
	background: var(--aq-gold-100);
	color: var(--aq-gold-700);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.aq-caption-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.94);
	box-shadow: var(--aq-shadow-sm);
	color: var(--aq-muted);
	font-size: 0.75rem;
	line-height: 1.5;
}

.aq-caption-chip .aq-icon {
	width: 0.9rem;
	height: 0.9rem;
	color: var(--aq-gold-700);
}

.aq-admin-hint {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	max-width: 52rem;
	margin: 3rem auto 0;
	padding: 1rem 1.25rem;
	border-inline-start: 3px solid var(--aq-emerald-700);
	border-radius: var(--aq-radius-sm);
	background: var(--aq-paper);
	color: var(--aq-ink-soft);
	font-size: 0.9375rem;
}

.aq-admin-hint p {
	margin: 0;
}

.aq-admin-hint .aq-icon {
	margin-block-start: 0.3rem;
	color: var(--aq-emerald-700);
}

/* 6. Header & navigation --------------------------------------------------- */
.aq-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(251, 248, 241, 0.92);
	border-bottom: 1px solid var(--aq-line);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	transition: box-shadow 0.3s var(--aq-ease), background-color 0.3s var(--aq-ease);
}

.admin-bar .aq-header {
	top: 32px;
}

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

@media (max-width: 600px) {
	.admin-bar .aq-header {
		top: 0;
	}
}

.aq-header.is-scrolled {
	background: rgba(251, 248, 241, 0.97);
	box-shadow: 0 10px 30px -18px rgba(23, 51, 39, 0.35);
}

.aq-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: var(--aq-header-h);
}

.aq-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	color: var(--aq-emerald-900);
	text-decoration: none;
	flex-shrink: 0;
}

.aq-brand:hover {
	color: var(--aq-emerald-900);
}

.aq-brand__emblem {
	width: 50px;
	height: 50px;
	transition: transform 0.6s var(--aq-ease);
}

.aq-brand:hover .aq-brand__emblem {
	transform: rotate(45deg);
}

.aq-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.aq-brand__name {
	font-family: var(--aq-font-head);
	font-size: 1.3rem;
	font-weight: 700;
}

.aq-brand__tagline {
	color: var(--aq-muted);
	font-size: 0.8125rem;
}

.aq-brand--logo .custom-logo-link {
	display: block;
}

.aq-brand--logo img {
	width: auto;
	max-height: 60px;
}

.aq-footer .aq-brand--logo img {
	max-height: 72px;
}

/* Emblem colours. */
.aq-emblem__sq {
	fill: var(--aq-emerald-800);
	stroke: var(--aq-gold-500);
	stroke-width: 1.5;
}

.aq-emblem__sq + .aq-emblem__sq {
	fill: var(--aq-emerald-800);
}

.aq-emblem__ring {
	fill: var(--aq-ivory);
	stroke: var(--aq-gold-500);
	stroke-width: 1.5;
}

.aq-emblem__dome {
	fill: var(--aq-gold-500);
}

.aq-emblem__finial {
	stroke: var(--aq-gold-500);
	stroke-width: 1.6;
	stroke-linecap: round;
}

.aq-nav {
	margin-inline-start: auto;
}

.aq-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aq-menu li {
	position: relative;
}

.aq-menu a {
	position: relative;
	display: block;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	color: var(--aq-ink-soft);
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.aq-menu a:hover {
	color: var(--aq-emerald-900);
	background: var(--aq-sand-100);
}

.aq-menu > .current-menu-item > a,
.aq-menu > .current-menu-ancestor > a,
.aq-menu > .current_page_parent > a,
.aq-menu > li > a[aria-current="page"] {
	color: var(--aq-emerald-900);
	font-weight: 600;
}

.aq-menu > .current-menu-item > a::after,
.aq-menu > .current-menu-ancestor > a::after,
.aq-menu > .current_page_parent > a::after,
.aq-menu > li > a[aria-current="page"]::after {
	content: "";
	position: absolute;
	inset-inline-start: 50%;
	bottom: -2px;
	width: 7px;
	height: 7px;
	background: var(--aq-gold-500);
	transform: translateX(-50%) rotate(45deg);
}

[dir="rtl"] .aq-menu > li > a::after {
	transform: translateX(50%) rotate(45deg);
}

.aq-menu .menu-item-has-children > a {
	padding-inline-end: 1.6rem;
}

.aq-menu .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	inset-inline-end: 0.7rem;
	top: 50%;
	width: 6px;
	height: 6px;
	border-inline-end: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
}

.aq-menu .sub-menu {
	position: absolute;
	inset-inline-start: 0;
	top: 100%;
	z-index: 10;
	min-width: 230px;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	background: var(--aq-paper);
	border: 1px solid var(--aq-line);
	border-radius: var(--aq-radius);
	box-shadow: var(--aq-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s var(--aq-ease), transform 0.2s var(--aq-ease), visibility 0.2s;
}

.aq-menu li:hover > .sub-menu,
.aq-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.aq-menu .sub-menu a {
	border-radius: var(--aq-radius-sm);
	white-space: normal;
}

.aq-nav__cta {
	display: none;
}

.aq-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-inline-start: auto;
	padding: 0;
	border: 1px solid var(--aq-line-strong);
	border-radius: 50%;
	background: var(--aq-paper);
	color: var(--aq-emerald-900);
	cursor: pointer;
}

.aq-nav-toggle .aq-icon {
	width: 1.4rem;
	height: 1.4rem;
}

.aq-nav-toggle__close,
.aq-nav-toggle[aria-expanded="true"] .aq-nav-toggle__open {
	display: none;
}

.aq-nav-toggle[aria-expanded="true"] .aq-nav-toggle__close {
	display: block;
}

.aq-header__cta {
	flex-shrink: 0;
	white-space: nowrap;
}

/* Six menu items leave no room for the button on narrow desktops; the menu
   already links to the contact page. */
@media (max-width: 1199.98px) {
	.aq-header__cta {
		display: none;
	}
}

@media (max-width: 1100px) {
	.aq-menu a {
		padding-inline: 0.6rem;
	}
	.aq-brand__name {
		font-size: 1.15rem;
	}
}

@media (max-width: 1023.98px) {
	.aq-nav-toggle {
		display: inline-flex;
	}

	.aq-header__cta {
		display: none;
	}

	.aq-nav {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		max-height: calc(100vh - var(--aq-header-h));
		max-height: calc(100dvh - var(--aq-header-h));
		overflow-y: auto;
		margin: 0;
		padding: 1rem var(--aq-gutter) 2rem;
		background: var(--aq-ivory);
		border-bottom: 1px solid var(--aq-line);
		box-shadow: 0 30px 40px -30px rgba(23, 51, 39, 0.35);
		display: none;
	}

	.aq-header.is-nav-open .aq-nav {
		display: block;
		animation: aq-drop 0.28s var(--aq-ease);
	}

	.aq-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.aq-menu > li {
		border-bottom: 1px solid var(--aq-line);
	}

	.aq-menu a {
		padding: 0.95rem 0.25rem;
		border-radius: 0;
		font-size: 1.125rem;
	}

	.aq-menu a:hover {
		background: transparent;
	}

	.aq-menu > li > a::after,
	.aq-menu .menu-item-has-children > a::before {
		display: none;
	}

	.aq-menu > .current-menu-item > a,
	.aq-menu > li > a[aria-current="page"] {
		color: var(--aq-emerald-800);
		box-shadow: inset calc(3px * var(--aq-flip) * -1) 0 0 var(--aq-gold-500);
		padding-inline-start: 0.9rem;
	}

	.aq-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 1rem 0.75rem 0;
		padding-inline: 1rem 0;
		background: transparent;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.aq-menu .sub-menu a {
		padding-block: 0.55rem;
		font-size: 1rem;
		color: var(--aq-muted);
	}

	.aq-nav__cta {
		display: flex;
		width: 100%;
		margin-block-start: 1.5rem;
	}
}

/* Without JavaScript the toggle cannot work: show the menu inline instead. */
@media (max-width: 1023.98px) {
	html:not(.js) .aq-header {
		position: static;
	}
	html:not(.js) .aq-header__inner {
		flex-wrap: wrap;
	}
	html:not(.js) .aq-nav-toggle {
		display: none;
	}
	html:not(.js) .aq-nav {
		position: static;
		display: block;
		flex-basis: 100%;
		max-height: none;
		padding: 0 0 1rem;
		border: 0;
		box-shadow: none;
		background: transparent;
	}
}

@keyframes aq-drop {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 480px) {
	.aq-brand__emblem {
		width: 42px;
		height: 42px;
	}
	.aq-brand__name {
		font-size: 1.02rem;
	}
	.aq-brand__tagline {
		font-size: 0.75rem;
	}
}

/* 7. Hero ------------------------------------------------------------------ */
.aq-hero {
	position: relative;
	padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem);
	overflow: hidden;
	background:
		radial-gradient(ellipse 60% 70% at 85% 15%, rgba(217, 192, 138, 0.28), transparent 70%),
		linear-gradient(180deg, var(--aq-ivory) 0%, var(--aq-sand-100) 100%);
}

.aq-hero__pattern,
.aq-page-hero__pattern {
	position: absolute;
	inset: 0;
	background-image: var(--aq-pattern);
	background-size: 80px 80px;
	opacity: 0.16;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	pointer-events: none;
}

.aq-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(2.5rem, 6vw, 5.5rem);
}

.aq-hero__title {
	margin-block-end: 0.45em;
	color: var(--aq-emerald-950);
	font-size: clamp(2.5rem, 5.6vw, 4.5rem);
	line-height: 1.3;
}

.aq-hero__lead,
.aq-hero__lead p {
	max-width: 34em;
	color: var(--aq-ink-soft);
	font-size: clamp(1.08rem, 1.6vw, 1.25rem);
	line-height: 1.95;
}

.aq-hero__lead p {
	margin-block-end: 0.75rem;
}

.aq-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-block-start: 1.75rem;
}

.aq-hero__highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	margin: 2.75rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--aq-line);
	list-style: none;
}

.aq-hero__highlights li {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--aq-emerald-900);
	font-weight: 600;
}

.aq-hero__highlights .aq-icon {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--aq-gold-500);
}

.aq-hero__media {
	position: relative;
	width: 100%;
	max-width: 500px;
	margin: 0;
	margin-inline-start: auto;
	padding: 18px;
}

/* Offset outline arch behind the frame. */
.aq-hero__media::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid var(--aq-gold-500);
	border-radius: var(--aq-arch);
	opacity: 0.6;
}

.aq-hero__media::after {
	content: "";
	position: absolute;
	inset-block-end: -22px;
	inset-inline-end: -22px;
	width: 46%;
	height: 38%;
	border-radius: var(--aq-radius);
	background-image: var(--aq-pattern);
	background-size: 40px 40px;
	opacity: 0.35;
	z-index: -1;
}

.aq-hero__frame {
	position: relative;
	aspect-ratio: 4 / 5;
	background: var(--aq-sand-200);
	box-shadow: var(--aq-shadow-lg);
}

.aq-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aq-hero__seal {
	position: absolute;
	inset-block-start: 12%;
	inset-inline-end: -8px;
	display: grid;
	place-items: center;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: var(--aq-paper);
	box-shadow: var(--aq-shadow);
}

.aq-hero__seal .aq-emblem {
	width: 64px;
	height: 64px;
	animation: aq-spin 60s linear infinite;
}

.aq-hero__media .aq-caption-chip {
	position: absolute;
	inset-block-end: 34px;
	inset-inline-start: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
}

[dir="rtl"] .aq-hero__media .aq-caption-chip {
	transform: translateX(50%);
}

@keyframes aq-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 960px) {
	.aq-hero__grid {
		grid-template-columns: 1fr;
	}
	.aq-hero__media {
		max-width: 420px;
		margin-inline: auto;
	}
}

@media (max-width: 520px) {
	.aq-hero__media {
		padding: 12px;
	}
	.aq-hero__seal {
		width: 68px;
		height: 68px;
		inset-inline-end: -4px;
	}
	.aq-hero__seal .aq-emblem {
		width: 50px;
		height: 50px;
	}
	.aq-hero__media .aq-caption-chip {
		white-space: normal;
		width: max-content;
		max-width: 86%;
		text-align: center;
	}
	.aq-hero__actions .aq-btn {
		flex: 1 1 100%;
	}
}

/* 8. Intro / about / activities --------------------------------------------- */
.aq-intro {
	padding-block: clamp(4rem, 8vw, 6rem);
	background: var(--aq-paper);
	border-block: 1px solid var(--aq-line);
}

.aq-intro__inner {
	max-width: 58rem;
	text-align: center;
}

.aq-intro__text {
	margin: 0 0 1rem;
	color: var(--aq-emerald-900);
	font-family: var(--aq-font-head);
	font-size: clamp(1.55rem, 3.2vw, 2.35rem);
	line-height: 1.75;
}

.aq-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(2.5rem, 7vw, 6rem);
}

.aq-about__media {
	position: relative;
	margin: 0;
	max-width: 460px;
	width: 100%;
	justify-self: center;
}

.aq-about__frame {
	aspect-ratio: 4 / 5;
	background: var(--aq-sand-200);
	box-shadow: var(--aq-shadow-lg);
}

.aq-about__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aq-about__tile {
	position: absolute;
	inset-block-end: -28px;
	inset-inline-start: -28px;
	display: grid;
	place-items: center;
	width: 132px;
	height: 132px;
	border-radius: var(--aq-radius-lg);
	background-color: var(--aq-emerald-800);
	background-image: var(--aq-pattern-light);
	background-size: 44px 44px;
	box-shadow: var(--aq-shadow);
}

.aq-about__tile .aq-emblem {
	width: 74px;
	height: 74px;
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.aq-about__media .aq-caption-chip {
	position: absolute;
	inset-block-end: 1rem;
	inset-inline-end: 1rem;
	max-width: calc(100% - 9rem);
}

.aq-about__text p {
	color: var(--aq-ink-soft);
	font-size: 1.125rem;
}

.aq-pillars {
	display: grid;
	gap: 0.6rem;
	margin: 1.75rem 0 2rem;
	padding: 0;
	list-style: none;
}

.aq-pillars a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1.1rem;
	border: 1px solid var(--aq-line);
	border-radius: var(--aq-radius);
	background: var(--aq-paper);
	color: var(--aq-emerald-900);
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.25s var(--aq-ease), transform 0.25s var(--aq-ease), box-shadow 0.25s var(--aq-ease);
}

.aq-pillars a:hover {
	border-color: var(--aq-gold-500);
	box-shadow: var(--aq-shadow-sm);
	transform: translateX(calc(4px * var(--aq-flip) * -1));
}

.aq-pillars .aq-icon {
	color: var(--aq-gold-500);
}

.aq-pillars__chev {
	margin-inline-start: auto;
	width: 1rem !important;
	height: 1rem !important;
	color: var(--aq-muted) !important;
}

@media (max-width: 960px) {
	.aq-about__grid {
		grid-template-columns: 1fr;
	}
	.aq-about__media {
		max-width: 380px;
		margin-block-end: 1.5rem;
	}
	.aq-about__tile {
		width: 100px;
		height: 100px;
		inset-inline-start: -12px;
	}
	.aq-about__tile .aq-emblem {
		width: 56px;
		height: 56px;
	}
}

.aq-activities {
	position: relative;
	background: linear-gradient(180deg, var(--aq-sand-100), var(--aq-ivory));
}

.aq-fields {
	counter-reset: aq-field;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aq-field {
	counter-increment: aq-field;
	position: relative;
	padding: 2.25rem 2rem 2rem;
	border: 1px solid var(--aq-line);
	border-radius: var(--aq-radius-lg);
	background: var(--aq-paper);
	transition: transform 0.35s var(--aq-ease), box-shadow 0.35s var(--aq-ease), border-color 0.35s var(--aq-ease);
}

.aq-field::after {
	content: counter(aq-field, decimal-leading-zero);
	position: absolute;
	inset-block-start: 1.6rem;
	inset-inline-end: 1.8rem;
	color: var(--aq-sand-400);
	font-family: var(--aq-font-head);
	font-size: 1.75rem;
	line-height: 1;
}

[dir="rtl"] .aq-field::after {
	content: counter(aq-field, arabic-indic);
}

.aq-field:hover {
	border-color: rgba(176, 141, 74, 0.55);
	box-shadow: var(--aq-shadow);
	transform: translateY(-4px);
}

.aq-field__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 66px;
	margin-block-end: 1.4rem;
	border-radius: 999px 999px 12px 12px;
	background: var(--aq-emerald-800);
	color: var(--aq-gold-300);
	box-shadow: inset 0 0 0 1px rgba(217, 192, 138, 0.35);
}

.aq-field__icon .aq-icon {
	width: 1.6rem;
	height: 1.6rem;
	margin-block-start: 0.4rem;
}

.aq-field__title {
	margin-block-end: 0.5rem;
	font-size: 1.45rem;
}

.aq-field__text {
	margin: 0;
	color: var(--aq-muted);
	font-size: 0.98rem;
	line-height: 1.85;
}

@media (max-width: 1023.98px) {
	.aq-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.aq-fields {
		grid-template-columns: 1fr;
	}
	.aq-field {
		padding: 1.75rem 1.5rem 1.5rem;
	}
}

/* 8b. Hajj & Umrah programmes ---------------------------------------------- */
.aq-programs-section {
	position: relative;
	background: linear-gradient(180deg, var(--aq-sand-100), var(--aq-ivory));
}

.aq-programs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem;
}

.aq-programs--single {
	grid-template-columns: minmax(0, 40rem);
	justify-content: center;
}

.aq-program {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--aq-line);
	border-radius: var(--aq-radius-lg);
	background: var(--aq-paper);
	box-shadow: var(--aq-shadow-sm);
	transition: transform 0.35s var(--aq-ease), box-shadow 0.35s var(--aq-ease), border-color 0.35s var(--aq-ease);
}

.aq-program:hover {
	border-color: rgba(176, 141, 74, 0.5);
	box-shadow: var(--aq-shadow);
	transform: translateY(-4px);
}

.aq-program__media {
	aspect-ratio: 16 / 7;
	overflow: hidden;
	background: var(--aq-sand-200);
}

.aq-program__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--aq-ease);
}

.aq-program:hover .aq-program__media img {
	transform: scale(1.04);
}

.aq-program__art {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background-color: var(--aq-emerald-800);
	background-image:
		radial-gradient(ellipse 55% 75% at 50% 100%, rgba(217, 192, 138, 0.28), transparent 70%),
		var(--aq-pattern-light);
	background-size: auto, 56px 56px;
}

/* Arch outline framing the medallion. */
.aq-program__art::before {
	content: "";
	position: absolute;
	inset-block: 14% -1px;
	inset-inline: 50%;
	width: min(52%, 15rem);
	border: 1px solid rgba(217, 192, 138, 0.45);
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
	transform: translateX(-50%);
}

[dir="rtl"] .aq-program__art::before {
	transform: translateX(50%);
}

.aq-program__medallion {
	position: relative;
	display: grid;
	place-items: center;
	width: 96px;
	height: 110px;
	border-radius: 999px 999px 16px 16px;
	background: var(--aq-emerald-950);
	color: var(--aq-gold-300);
	box-shadow: inset 0 0 0 1px rgba(217, 192, 138, 0.5), 0 18px 34px -16px rgba(0, 0, 0, 0.55);
}

.aq-program__medallion .aq-icon {
	width: 2.75rem;
	height: 2.75rem;
	margin-block-start: 0.6rem;
	stroke-width: 1.3;
}

.aq-program__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1.4rem, 3vw, 2.25rem) clamp(1.6rem, 3vw, 2.25rem);
}

.aq-program__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 0.6rem;
	color: var(--aq-gold-700);
	font-size: 0.875rem;
	font-weight: 600;
}

.aq-program__tag .aq-icon {
	width: 1rem;
	height: 1rem;
	color: var(--aq-gold-500);
}

.aq-program__title {
	margin: 0 0 0.6rem;
	font-size: clamp(1.9rem, 3.4vw, 2.5rem);
	line-height: 1.35;
}

.aq-program__title a {
	color: var(--aq-emerald-900);
	text-decoration: none;
}

.aq-program__title a:hover {
	color: var(--aq-emerald-700);
}

.aq-program__text {
	margin: 0 0 1rem;
	color: var(--aq-muted);
	font-size: 1.02rem;
	line-height: 1.85;
}

.aq-program .aq-demo-badge {
	align-self: flex-start;
	margin-block-end: 1.25rem;
}

.aq-program__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-block-start: auto;
	padding-block-start: 0.5rem;
}

/* Secondary offering: religious tourism in Jerusalem. */
.aq-program-alt {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.25rem 1.75rem;
	margin-block-start: 1.75rem;
	padding: clamp(1.4rem, 3vw, 1.9rem) clamp(1.4rem, 3vw, 2.25rem);
	border: 1px solid var(--aq-line);
	border-radius: var(--aq-radius-lg);
	background:
		linear-gradient(90deg, var(--aq-paper), rgba(255, 253, 248, 0.86)),
		var(--aq-pattern);
	background-size: auto, 64px 64px;
}

.aq-program-alt__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 74px;
	border-radius: 999px 999px 12px 12px;
	background: var(--aq-sand-200);
	color: var(--aq-emerald-800);
	box-shadow: inset 0 0 0 1px rgba(176, 141, 74, 0.45);
}

.aq-program-alt__icon .aq-icon {
	width: 1.8rem;
	height: 1.8rem;
	margin-block-start: 0.4rem;
}

.aq-program-alt__kicker {
	margin: 0 0 0.2rem;
	color: var(--aq-gold-700);
	font-size: 0.875rem;
	font-weight: 600;
}

.aq-program-alt__title {
	margin: 0 0 0.3rem;
	font-size: clamp(1.4rem, 2.4vw, 1.7rem);
}

.aq-program-alt__text {
	margin: 0;
	color: var(--aq-muted);
	line-height: 1.8;
}

.aq-quicklinks {
	margin-block-start: clamp(2.25rem, 5vw, 3rem);
	text-align: center;
}

.aq-quicklinks__title {
	margin: 0 0 1rem;
	color: var(--aq-muted);
	font-family: var(--aq-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
}

.aq-quicklinks ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aq-quicklinks a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 46px;
	padding: 0.55rem 1.15rem;
	border: 1px solid var(--aq-line-strong);
	border-radius: 999px;
	background: var(--aq-paper);
	color: var(--aq-emerald-900);
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.25s var(--aq-ease), box-shadow 0.25s var(--aq-ease), transform 0.25s var(--aq-ease);
}

.aq-quicklinks a:hover {
	border-color: var(--aq-gold-500);
	box-shadow: var(--aq-shadow-sm);
	transform: translateY(-2px);
}

.aq-quicklinks .aq-icon {
	width: 1.15rem;
	height: 1.15rem;
	color: var(--aq-gold-700);
}

@media (max-width: 860px) {
	.aq-programs {
		grid-template-columns: 1fr;
	}
	.aq-program-alt {
		grid-template-columns: auto minmax(0, 1fr);
	}
	.aq-program-alt__link {
		grid-column: 1 / -1;
		justify-self: start;
	}
}

@media (max-width: 520px) {
	.aq-program-alt {
		grid-template-columns: 1fr;
	}
	.aq-program__actions .aq-btn {
		flex: 1 1 100%;
	}
	.aq-quicklinks ul {
		display: grid;
		grid-template-columns: 1fr;
	}
	.aq-quicklinks a {
		justify-content: center;
	}
}

/* Hajj & Umrah page, Visiting Jerusalem page, programme pages. */
.aq-hub__content {
	margin-block-start: clamp(3rem, 6vw, 4.5rem);
}

.aq-hub .aq-program-alt {
	margin-block-start: clamp(3rem, 6vw, 4rem);
}

.aq-hub .aq-admin-hint {
	margin-block-start: 1.75rem;
}

.aq-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.aq-prose .aq-info-grid > .aq-info-card {
	margin: 0;
	padding: clamp(1.5rem, 3vw, 2.1rem);
	border: 1px solid var(--aq-line);
	border-radius: var(--aq-radius-lg);
	background: var(--aq-paper);
	box-shadow: var(--aq-shadow-sm);
}

.aq-prose .aq-info-card h2 {
	margin-block: 0 0.6rem;
	font-size: clamp(1.45rem, 2.4vw, 1.75rem);
	scroll-margin-top: calc(var(--aq-header-h) + 1.5rem);
}

.aq-prose .aq-info-card h2::before {
	content: "";
	display: block;
	width: 2.25rem;
	height: 2px;
	margin-block-end: 0.9rem;
	background: var(--aq-gold-500);
}

.aq-prose .aq-info-card p:last-child {
	margin-block-end: 0;
}

@media (max-width: 760px) {
	.aq-info-grid {
		grid-template-columns: 1fr;
	}
}

.aq-split {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(2.5rem, 6vw, 5rem);
	margin-block-end: clamp(3.5rem, 7vw, 5rem);
}

.aq-split__media {
	justify-self: center;
}

@media (max-width: 960px) {
	.aq-split {
		grid-template-columns: 1fr;
	}
	.aq-split__media {
		max-width: 380px;
	}
}

.aq-enquire {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	max-width: var(--aq-narrow);
	margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
	padding: clamp(1.5rem, 3.5vw, 2.1rem) clamp(1.5rem, 3.5vw, 2.4rem);
	overflow: hidden;
	border-radius: var(--aq-radius-lg);
	background: linear-gradient(160deg, var(--aq-emerald-800), var(--aq-emerald-950));
	box-shadow: var(--aq-shadow);
}

.aq-enquire__pattern {
	position: absolute;
	inset: 0;
	background-image: var(--aq-pattern-light);
	background-size: 64px 64px;
	opacity: 0.08;
	pointer-events: none;
}

.aq-enquire > *:not(.aq-enquire__pattern) {
	position: relative;
}

.aq-enquire__body {
	flex: 1 1 18rem;
}

.aq-enquire__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.35rem, 2.6vw, 1.65rem);
}

.aq-enquire p {
	margin: 0;
	color: rgba(251, 248, 241, 0.82);
}

/* 9. Jerusalem band / news / CTA ------------------------------------------ */
.aq-dark {
	color: rgba(251, 248, 241, 0.86);
}

.aq-dark h1,
.aq-dark h2,
.aq-dark h3 {
	color: var(--aq-ivory);
}

.aq-dark a:not(.aq-btn) {
	color: var(--aq-gold-300);
}

.aq-dark a:not(.aq-btn):hover {
	color: var(--aq-gold-100);
}

/* Secondary to Hajj & Umrah: deliberately more compact than the hero. */
.aq-jerusalem {
	position: relative;
	padding-block: clamp(3.75rem, 7vw, 5.5rem) 0;
	overflow: hidden;
	background: var(--aq-emerald-900);
	text-align: center;
}

.aq-jerusalem__pattern {
	position: absolute;
	inset: 0;
	background-image: var(--aq-pattern-light);
	background-size: 96px 96px;
	opacity: 0.08;
}

.aq-jerusalem__glow {
	position: absolute;
	inset-inline-start: 50%;
	top: 35%;
	width: min(900px, 120vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(217, 192, 138, 0.2), transparent 62%);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

[dir="rtl"] .aq-jerusalem__glow {
	transform: translate(50%, -50%);
}

.aq-jerusalem__inner {
	position: relative;
	max-width: 50rem;
}

.aq-jerusalem__title {
	margin-block-end: 0.35em;
	color: var(--aq-gold-300) !important;
	font-size: clamp(2.3rem, 5.6vw, 4rem);
	line-height: 1.3;
	text-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.aq-jerusalem__text p {
	color: rgba(251, 248, 241, 0.86);
	font-family: var(--aq-font-head);
	font-size: clamp(1.2rem, 2.2vw, 1.5rem);
	line-height: 1.8;
}

.aq-jerusalem__action {
	margin: 2rem 0 0;
}

.aq-jerusalem__words {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 2.25rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.aq-jerusalem__words li {
	position: relative;
	color: var(--aq-ivory);
	font-size: 1.0625rem;
	font-weight: 600;
}

.aq-jerusalem__words li + li::before {
	content: "";
	position: absolute;
	inset-inline-start: -1.4rem;
	top: 50%;
	width: 7px;
	height: 7px;
	background: var(--aq-gold-500);
	transform: translateY(-50%) rotate(45deg);
}

.aq-jerusalem__skyline {
	position: relative;
	margin-block-start: clamp(2.25rem, 4.5vw, 3.25rem);
	line-height: 0;
}

.aq-jerusalem__skyline img {
	width: 100%;
	min-width: 760px;
	height: auto;
	margin-inline: auto;
	opacity: 0.9;
}

@media (max-width: 760px) {
	.aq-jerusalem__skyline {
		overflow: hidden;
	}
	.aq-jerusalem__skyline img {
		position: relative;
		inset-inline-start: 50%;
		transform: translateX(-50%);
	}
	[dir="rtl"] .aq-jerusalem__skyline img {
		transform: translateX(50%);
	}
}

.aq-news {
	background: var(--aq-ivory);
}

.aq-cta-wrap {
	padding-block-start: 0;
}

.aq-news + .aq-cta-wrap,
.aq-about-page + .aq-cta-wrap,
.aq-section--page + .aq-cta-wrap {
	padding-block-start: 0;
}

.aq-cta {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 4.5rem);
	border-radius: clamp(120px, 30vw, 420px) clamp(120px, 30vw, 420px) var(--aq-radius-lg) var(--aq-radius-lg) / clamp(70px, 14vw, 190px) clamp(70px, 14vw, 190px) var(--aq-radius-lg) var(--aq-radius-lg);
	background: linear-gradient(160deg, var(--aq-emerald-800), var(--aq-emerald-950));
	box-shadow: var(--aq-shadow-lg);
	text-align: center;
}

.aq-cta__pattern {
	position: absolute;
	inset: 0;
	background-image: var(--aq-pattern-light);
	background-size: 72px 72px;
	opacity: 0.09;
}

.aq-cta > *:not(.aq-cta__pattern) {
	position: relative;
}

.aq-cta__title {
	max-width: 32ch;
	margin-inline: auto;
	font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}

.aq-cta__text p {
	max-width: 40rem;
	margin-inline: auto;
	color: rgba(251, 248, 241, 0.82);
	font-size: 1.125rem;
}

.aq-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.85rem;
	margin-block-start: 2rem;
}

/* 10. Inner pages ------------------------------------------------------------ */
.aq-page-hero {
	position: relative;
	padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.75rem, 6vw, 4.5rem);
	overflow: hidden;
	background:
		radial-gradient(ellipse 50% 80% at 10% 0%, rgba(217, 192, 138, 0.25), transparent 70%),
		linear-gradient(180deg, var(--aq-sand-100), var(--aq-ivory));
	border-bottom: 1px solid var(--aq-line);
}

.aq-page-hero__arches {
	position: absolute;
	inset-block-end: -1px;
	inset-inline-end: clamp(-60px, -2vw, 0px);
	display: flex;
	align-items: flex-end;
	gap: 14px;
	height: 85%;
	pointer-events: none;
	opacity: 0.55;
}

.aq-page-hero__arches span {
	display: block;
	width: clamp(70px, 9vw, 120px);
	height: 100%;
	border: 1px solid var(--aq-gold-500);
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
}

.aq-page-hero__arches span:nth-child(2) {
	height: 80%;
}

.aq-page-hero__arches span:nth-child(3) {
	height: 62%;
}

.aq-page-hero__inner {
	position: relative;
}

.aq-page-hero__title {
	max-width: 22ch;
	margin-block-end: 0.35em;
	color: var(--aq-emerald-950);
}

.aq-page-hero__lead {
	max-width: 42rem;
	margin: 0;
	color: var(--aq-ink-soft);
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

@media (max-width: 760px) {
	.aq-page-hero__arches {
		opacity: 0.25;
	}
}

.aq-breadcrumbs {
	margin-block-end: 1.5rem;
	font-size: 0.875rem;
}

.aq-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aq-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--aq-muted);
}

.aq-breadcrumbs li + li::before {
	content: "";
	width: 5px;
	height: 5px;
	margin-inline: 0.35rem;
	background: var(--aq-gold-500);
	transform: rotate(45deg);
}

.aq-breadcrumbs a {
	color: var(--aq-emerald-700);
	text-decoration: none;
}

.aq-breadcrumbs a:hover {
	text-decoration: underline;
}

.aq-breadcrumbs [aria-current] {
	color: var(--aq-ink-soft);
	font-weight: 500;
}

.aq-section--page {
	padding-block: clamp(3rem, 7vw, 5.5rem);
}

/* Prose: block editor content. */
.aq-prose > * {
	max-width: var(--aq-narrow);
	margin-inline: auto;
}

.aq-prose > .alignwide {
	max-width: var(--aq-container);
}

.aq-prose > .alignfull {
	max-width: none;
	width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.aq-prose > p,
.aq-prose > ul,
.aq-prose > ol {
	color: var(--aq-ink-soft);
}

.aq-prose h2 {
	margin-block: 2.2em 0.7em;
}

.aq-prose h3 {
	margin-block: 1.8em 0.6em;
}

.aq-prose > :first-child,
.aq-prose > .aq-content-note:first-child + * {
	margin-block-start: 0;
}

.aq-prose li {
	margin-block-end: 0.4em;
}

.aq-prose li::marker {
	color: var(--aq-gold-500);
}

.aq-prose blockquote,
.aq-prose .wp-block-quote {
	margin-block: 2rem;
	padding: 0.5rem 1.5rem;
	border-inline-start: 3px solid var(--aq-gold-500);
	color: var(--aq-emerald-900);
	font-family: var(--aq-font-head);
	font-size: 1.4rem;
	line-height: 1.8;
}

.aq-prose blockquote cite {
	display: block;
	margin-block-start: 0.5rem;
	color: var(--aq-muted);
	font-family: var(--aq-font-body);
	font-size: 0.9375rem;
	font-style: normal;
}

.aq-prose .wp-block-pullquote {
	border-block: 2px solid var(--aq-gold-500);
	color: var(--aq-emerald-900);
}

.aq-prose figure {
	margin-block: 2rem;
}

.aq-prose img {
	border-radius: var(--aq-radius);
}

.aq-prose figcaption,
.aq-prose .wp-element-caption {
	margin-block-start: 0.6rem;
	color: var(--aq-muted);
	font-size: 0.875rem;
	text-align: center;
}

.aq-prose hr,
.aq-prose .wp-block-separator {
	width: 120px;
	margin-block: 3rem;
	border: 0;
	border-top: 1px solid var(--aq-gold-500);
	opacity: 1;
}

.aq-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.aq-prose th,
.aq-prose td {
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--aq-line);
	text-align: start;
}

.aq-prose th {
	background: var(--aq-sand-100);
	color: var(--aq-emerald-900);
}

.aq-prose .wp-block-button__link {
	border-radius: 999px;
	background: var(--aq-emerald-800);
	color: var(--aq-ivory);
	font-weight: 600;
	text-decoration: none;
}

.aq-prose .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--aq-emerald-900);
	border-color: var(--aq-emerald-800);
}

.aq-prose .aq-lead,
.aq-lead {
	color: var(--aq-emerald-900) !important;
	font-family: var(--aq-font-head);
	font-size: clamp(1.3rem, 2.4vw, 1.65rem);
	line-height: 1.85;
}

.aq-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin-block-end: 0.5rem !important;
	color: var(--aq-gold-700) !important;
	font-size: 0.9375rem;
	font-weight: 600;
}

.aq-kicker::before {
	content: "";
	width: 2.25rem;
	height: 1px;
	background: currentColor;
}

.aq-featured {
	margin-block: 0 3rem;
}

.aq-featured img {
	width: 100%;
	border-radius: var(--aq-radius-lg);
}

/* Pattern: About introduction. */
.aq-about-intro {
	margin-block-end: clamp(3rem, 6vw, 4.5rem);
}

.aq-about-intro > h2 {
	margin-block-start: 0;
}

/* Pattern: mission & vision. */
.aq-mv {
	margin-block: clamp(3rem, 6vw, 4.5rem);
}

.aq-mv .wp-block-columns {
	gap: 1.5rem;
	margin: 0;
}

.aq-mv__card {
	position: relative;
	overflow: hidden;
	padding: clamp(2rem, 4vw, 3rem) !important;
	border-radius: var(--aq-radius-lg);
}

.aq-mv__card > * {
	position: relative;
}

.aq-mv__card h3 {
	margin-block: 0.25em 0.6em;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.aq-mv__card p:last-child {
	margin-block-end: 0;
}

.aq-mv__card--mission {
	background: linear-gradient(160deg, var(--aq-emerald-800), var(--aq-emerald-950));
	color: rgba(251, 248, 241, 0.86);
}

.aq-mv__card--mission::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--aq-pattern-light);
	background-size: 64px 64px;
	opacity: 0.08;
}

.aq-mv__card--mission h3 {
	color: var(--aq-ivory);
}

.aq-mv__card--vision {
	border: 1px solid rgba(176, 141, 74, 0.45);
	background: linear-gradient(160deg, var(--aq-paper), var(--aq-gold-100));
}

.aq-mv__label {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 !important;
	color: var(--aq-gold-700);
	font-weight: 600;
	font-size: 0.9375rem;
}

.aq-mv__card--mission .aq-mv__label {
	color: var(--aq-gold-300);
}

.aq-mv__label::before {
	content: "";
	width: 9px;
	height: 9px;
	background: currentColor;
	transform: rotate(45deg);
}

/* Pattern: values grid. */
.aq-values {
	margin-block: clamp(3.5rem, 7vw, 5rem) 0;
	text-align: center;
}

.aq-values > h2 {
	margin-block-start: 0;
}

.aq-values__grid {
	counter-reset: aq-value;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin-block-start: 2.25rem;
	text-align: start;
}

.aq-values__grid > * {
	margin: 0 !important;
}

.aq-value {
	counter-increment: aq-value;
	position: relative;
	padding: 1.75rem 1.75rem 1.5rem;
	border: 1px solid var(--aq-line);
	border-radius: var(--aq-radius-lg);
	background: var(--aq-paper);
	transition: border-color 0.3s var(--aq-ease), box-shadow 0.3s var(--aq-ease);
}

.aq-value:hover {
	border-color: rgba(176, 141, 74, 0.55);
	box-shadow: var(--aq-shadow-sm);
}

.aq-value::before {
	content: counter(aq-value, decimal-leading-zero);
	display: block;
	margin-block-end: 0.5rem;
	color: var(--aq-gold-500);
	font-family: var(--aq-font-head);
	font-size: 1.5rem;
	line-height: 1;
}

[dir="rtl"] .aq-value::before {
	content: counter(aq-value, arabic-indic);
}

.aq-value h3 {
	margin: 0 0 0.35em !important;
	font-size: 1.4rem;
}

.aq-value p {
	margin: 0 !important;
	color: var(--aq-muted);
	font-size: 0.98rem;
}

@media (max-width: 900px) {
	.aq-values__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.aq-values__grid {
		grid-template-columns: 1fr;
	}
}

.aq-activities-intro {
	margin-block-end: clamp(2.5rem, 5vw, 3.5rem);
}

.aq-activities-intro > * {
	text-align: center;
}

/* 11. Cards, grids, empty states, pagination ------------------------------- */
.aq-grid {
	display: grid;
	gap: 1.75rem;
}

.aq-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1023.98px) {
	.aq-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.aq-grid--3 {
		grid-template-columns: 1fr;
	}
}

.aq-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--aq-line);
	border-radius: var(--aq-radius-lg);
	background: var(--aq-paper);
	box-shadow: var(--aq-shadow-sm);
	transition: transform 0.35s var(--aq-ease), box-shadow 0.35s var(--aq-ease), border-color 0.35s var(--aq-ease);
}

.aq-card:hover {
	border-color: rgba(176, 141, 74, 0.5);
	box-shadow: var(--aq-shadow);
	transform: translateY(-4px);
}

.aq-card:focus-within {
	border-color: var(--aq-emerald-700);
}

.aq-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--aq-sand-200);
}

.aq-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--aq-ease);
}

.aq-card:hover .aq-card__media img {
	transform: scale(1.04);
}

.aq-media-fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background-color: var(--aq-emerald-800);
	background-image: var(--aq-pattern-light);
	background-size: 48px 48px;
	background-blend-mode: normal;
}

.aq-media-fallback .aq-emblem {
	width: 76px;
	height: 76px;
	opacity: 0.92;
	filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.aq-media-fallback--sand {
	background-color: var(--aq-sand-200);
	background-image: var(--aq-pattern);
}

.aq-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5rem 1.6rem 1.6rem;
}

.aq-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin-block-end: 0.85rem;
	color: var(--aq-muted);
	font-size: 0.875rem;
}

.aq-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.aq-meta__item .aq-icon {
	width: 1rem;
	height: 1rem;
	color: var(--aq-gold-700);
}

.aq-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.4rem;
	line-height: 1.55;
}

.aq-card__title a {
	color: var(--aq-emerald-900);
	text-decoration: none;
}

/* Whole card is clickable through the title link. */
.aq-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.aq-card__title a:focus-visible {
	outline: none;
}

.aq-card__title a:focus-visible::after {
	outline: 3px solid var(--aq-emerald-700);
	outline-offset: -3px;
	border-radius: var(--aq-radius-lg);
}

.aq-card__excerpt {
	color: var(--aq-muted);
	font-size: 0.98rem;
	line-height: 1.8;
}

.aq-card__excerpt p {
	display: -webkit-box;
	margin: 0 0 1rem;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

.aq-card .aq-link-more {
	margin-block-start: auto;
}

.aq-card:hover .aq-link-more .aq-icon {
	transform: scaleX(var(--aq-flip)) translateX(3px);
}

.aq-empty {
	max-width: 40rem;
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 5vw, 3rem);
	border: 1px dashed var(--aq-sand-400);
	border-radius: var(--aq-radius-lg);
	background:
		radial-gradient(ellipse at 50% 0%, rgba(217, 192, 138, 0.2), transparent 70%),
		var(--aq-paper);
	text-align: center;
}

.aq-empty__icon {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 74px;
	margin-block-end: 1.25rem;
	border-radius: 999px 999px 14px 14px;
	background: var(--aq-emerald-800);
	color: var(--aq-gold-300);
}

.aq-empty__icon .aq-icon {
	width: 1.8rem;
	height: 1.8rem;
	margin-block-start: 0.35rem;
}

.aq-empty__title {
	font-size: clamp(1.45rem, 2.6vw, 1.8rem);
}

.aq-empty__text {
	color: var(--aq-muted);
}

.aq-empty__hint {
	margin: 0.75rem 0 0;
	color: var(--aq-muted);
	font-size: 0.8125rem;
}

.aq-empty__search {
	max-width: 26rem;
	margin: 1.5rem auto 0;
}

.aq-filter {
	margin-block-end: 2.25rem;
}

.aq-filter ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aq-filter__item {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.35rem 1.1rem;
	border: 1px solid var(--aq-line-strong);
	border-radius: 999px;
	color: var(--aq-ink-soft);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
}

.aq-filter__item:hover {
	border-color: var(--aq-emerald-800);
	color: var(--aq-emerald-900);
}

.aq-filter__item.is-active {
	border-color: var(--aq-emerald-800);
	background: var(--aq-emerald-800);
	color: var(--aq-ivory);
}

.aq-pagination {
	margin-block-start: 3.5rem;
}

.aq-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.aq-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding-inline: 0.75rem;
	border: 1px solid var(--aq-line-strong);
	border-radius: 999px;
	color: var(--aq-ink-soft);
	font-weight: 600;
	text-decoration: none;
}

.aq-pagination a.page-numbers:hover {
	border-color: var(--aq-emerald-800);
	color: var(--aq-emerald-900);
}

.aq-pagination .page-numbers.current {
	border-color: var(--aq-emerald-800);
	background: var(--aq-emerald-800);
	color: var(--aq-ivory);
}

.aq-pagination .page-numbers.dots {
	border: 0;
}

.aq-pagination .aq-icon {
	width: 1.1rem;
	height: 1.1rem;
}

.aq-related {
	max-width: var(--aq-container);
	margin: clamp(3.5rem, 7vw, 5rem) auto 0;
	padding-block-start: 3rem;
	border-top: 1px solid var(--aq-line);
}

.aq-related__title {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	text-align: center;
	margin-block-end: 2rem;
}

/* 12. Article & comments ---------------------------------------------------- */
.aq-article__header {
	position: relative;
	padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
	overflow: hidden;
	background: linear-gradient(180deg, var(--aq-sand-100), var(--aq-ivory));
	text-align: center;
}

.aq-article__header .aq-container {
	position: relative;
}

.aq-article__header .aq-breadcrumbs ol,
.aq-meta--article {
	justify-content: center;
}

.aq-article__title {
	margin-block: 0.75rem 0.5rem;
	color: var(--aq-emerald-950);
	font-size: clamp(2.1rem, 4.6vw, 3.3rem);
	line-height: 1.4;
}

.aq-article__lead {
	margin: 0.5rem auto 0;
	max-width: 40rem;
	color: var(--aq-ink-soft);
	font-size: 1.2rem;
}

.aq-article__media {
	max-width: 1040px;
	margin-block: 0;
}

.aq-article__media img {
	width: 100%;
	border-radius: var(--aq-radius-lg);
	box-shadow: var(--aq-shadow);
}

.aq-article__media figcaption {
	margin-block-start: 0.75rem;
	color: var(--aq-muted);
	font-size: 0.875rem;
	text-align: center;
}

.aq-section--article {
	padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
}

/* No featured image: the text follows the title area closely. */
.aq-article__header + .aq-section--article {
	padding-block-start: clamp(1.5rem, 3vw, 2.25rem);
}

.aq-article__header {
	border-bottom: 1px solid var(--aq-line);
}

.aq-article__media {
	margin-block-start: clamp(2rem, 4vw, 3rem) !important;
}

.aq-section--article .aq-prose > p:first-child {
	font-size: 1.15rem;
}

.aq-article__tags,
.aq-post-nav,
.aq-back-link,
.aq-comments {
	max-width: var(--aq-narrow);
	margin-inline: auto;
}

.aq-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.aq-tags a {
	display: inline-block;
	padding: 0.2rem 0.85rem;
	border: 1px solid var(--aq-line-strong);
	border-radius: 999px;
	color: var(--aq-ink-soft);
	font-size: 0.875rem;
	text-decoration: none;
}

.aq-tags a::before {
	content: "#";
	color: var(--aq-gold-500);
}

.aq-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-block-start: 3rem;
	padding-block-start: 2.5rem;
	border-top: 1px solid var(--aq-line);
}

.aq-post-nav__link {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.1rem 1.3rem;
	border: 1px solid var(--aq-line);
	border-radius: var(--aq-radius);
	background: var(--aq-paper);
	text-decoration: none;
	transition: border-color 0.25s var(--aq-ease);
}

.aq-post-nav__link:hover {
	border-color: var(--aq-gold-500);
}

.aq-post-nav__link--next {
	grid-column: 2;
	text-align: end;
}

.aq-post-nav__link--next .aq-post-nav__label {
	justify-content: flex-end;
}

.aq-post-nav__label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--aq-muted);
	font-size: 0.8125rem;
}

.aq-post-nav__label .aq-icon {
	width: 0.95rem;
	height: 0.95rem;
}

.aq-post-nav__title {
	color: var(--aq-emerald-900);
	font-family: var(--aq-font-head);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.5;
}

@media (max-width: 600px) {
	.aq-post-nav {
		grid-template-columns: 1fr;
	}
	.aq-post-nav__link--next {
		grid-column: auto;
	}
}

.aq-back-link {
	margin-block-start: 2.5rem;
	text-align: center;
}

.aq-comments {
	margin-block-start: 3.5rem;
	padding-block-start: 2.5rem;
	border-top: 1px solid var(--aq-line);
}

.aq-comments__list {
	padding: 0;
	list-style: none;
}

.aq-comments__list .comment-body {
	margin-block-end: 1rem;
	padding: 1.25rem;
	border: 1px solid var(--aq-line);
	border-radius: var(--aq-radius);
	background: var(--aq-paper);
}

.aq-comments__list .children {
	padding-inline-start: 1.5rem;
	list-style: none;
}

.aq-comments .avatar {
	border-radius: 50%;
	float: inline-start;
	margin-inline-end: 0.75rem;
}

.comment-form label {
	display: block;
	margin-block-end: 0.35rem;
	font-weight: 600;
}

.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea {
	width: 100%;
}

/* 13. Contact page & form --------------------------------------------------- */
.aq-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(2rem, 4vw, 3rem);
}

.aq-contact__intro {
	margin-block-end: 2rem;
}

.aq-contact__intro > * {
	max-width: none;
	margin-inline: 0;
}

.aq-contact__aside {
	display: grid;
	gap: 1.5rem;
	position: sticky;
	top: calc(var(--aq-header-h) + 1.5rem);
}

@media (max-width: 960px) {
	.aq-contact__grid {
		grid-template-columns: 1fr;
	}
	.aq-contact__aside {
		position: static;
	}
}

.aq-panel,
.aq-form-card {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid var(--aq-line);
	border-radius: var(--aq-radius-lg);
	background: var(--aq-paper);
	box-shadow: var(--aq-shadow-sm);
}

.aq-panel--quiet {
	background: var(--aq-sand-100);
	box-shadow: none;
}

.aq-panel__title,
.aq-form-card__title {
	margin-block-end: 1.25rem;
	font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.aq-contact-list {
	display: grid;
	gap: 1.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aq-contact-list__item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
}

.aq-contact-list__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--aq-gold-100);
	color: var(--aq-gold-700);
}

.aq-contact-list__icon .aq-icon {
	width: 1.15rem;
	height: 1.15rem;
}

.aq-contact-list__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.6;
}

.aq-contact-list__label {
	color: var(--aq-muted);
	font-size: 0.8125rem;
	font-weight: 600;
}

.aq-contact-list__value {
	display: flex;
	flex-direction: column;
	color: var(--aq-ink);
	font-weight: 500;
	overflow-wrap: anywhere;
}

.aq-contact-list__value a {
	text-decoration: none;
	unicode-bidi: plaintext;
	text-align: start;
}

.aq-contact-list__value a:hover {
	text-decoration: underline;
}

.aq-contact-list--footer .aq-contact-list__icon {
	width: 36px;
	height: 36px;
	background: rgba(217, 192, 138, 0.12);
	color: var(--aq-gold-300);
}

.aq-contact-list--footer .aq-contact-list__label {
	color: rgba(251, 248, 241, 0.6);
}

.aq-contact-list--footer .aq-contact-list__value {
	color: rgba(251, 248, 241, 0.9);
}

.aq-alert {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	margin-block-end: 1.5rem;
	padding: 1rem 1.2rem;
	border-radius: var(--aq-radius);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.aq-alert p {
	margin: 0;
}

.aq-alert .aq-icon {
	margin-block-start: 0.2rem;
}

.aq-alert__title {
	font-weight: 700;
}

.aq-alert--demo,
.aq-alert--info {
	border: 1px dashed var(--aq-gold-500);
	background: var(--aq-gold-100);
	color: var(--aq-gold-700);
}

.aq-alert--success {
	border: 1px solid #9cc5ae;
	background: #e8f3ec;
	color: #1d5a3c;
}

.aq-alert--error {
	border: 1px solid #e0a9a0;
	background: #fbeceA;
	color: #8a2b1d;
}

.aq-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem 1.25rem;
}

.aq-field-row {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0;
}

.aq-field-row--full {
	grid-column: 1 / -1;
}

.aq-field-row label {
	color: var(--aq-emerald-900);
	font-size: 0.9375rem;
	font-weight: 600;
}

.aq-required {
	color: #a3402f;
}

.aq-form input,
.aq-form select,
.aq-form textarea,
.aq-search__input,
.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea {
	min-height: 50px;
	padding: 0.75rem 1rem;
	border: 1px solid var(--aq-sand-400);
	border-radius: var(--aq-radius-sm);
	background: #fff;
	color: var(--aq-ink);
	transition: border-color 0.2s var(--aq-ease), box-shadow 0.2s var(--aq-ease);
}

.aq-form textarea,
.comment-form textarea {
	min-height: 160px;
	resize: vertical;
}

.aq-form input:focus,
.aq-form select:focus,
.aq-form textarea:focus,
.aq-search__input:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--aq-emerald-700);
	box-shadow: 0 0 0 4px rgba(40, 94, 74, 0.15);
	outline: none;
}

.aq-form input::placeholder,
.aq-search__input::placeholder {
	color: #8a8b80;
}

.aq-form [dir="ltr"] {
	text-align: start;
}

[dir="rtl"] .aq-form input[dir="ltr"] {
	text-align: right;
}

.has-error input,
.has-error textarea {
	border-color: #b4483a;
}

.aq-field-error {
	color: #8a2b1d;
	font-size: 0.875rem;
	font-weight: 500;
}

.aq-form__hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.aq-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-block-start: 1.5rem;
}

.aq-form__legal {
	flex: 1 1 18rem;
	margin: 0;
	color: var(--aq-muted);
	font-size: 0.8125rem;
}

.aq-form .aq-btn.is-loading {
	opacity: 0.7;
	cursor: progress;
}

@media (max-width: 600px) {
	.aq-form__grid {
		grid-template-columns: 1fr;
	}
	.aq-form__footer .aq-btn {
		width: 100%;
	}
}

.aq-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.aq-social a {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(217, 192, 138, 0.35);
	border-radius: 50%;
	color: var(--aq-gold-300);
	transition: background-color 0.25s var(--aq-ease), color 0.25s var(--aq-ease);
}

.aq-social a:hover {
	background: var(--aq-gold-300);
	color: var(--aq-emerald-950) !important;
}

.aq-social .aq-icon {
	width: 1.15rem;
	height: 1.15rem;
}

.aq-social--labelled {
	flex-direction: column;
	margin: 0;
}

.aq-social--labelled a {
	display: inline-flex;
	gap: 0.6rem;
	width: auto;
	height: auto;
	padding: 0.5rem 1rem;
	border-color: var(--aq-line-strong);
	border-radius: 999px;
	color: var(--aq-emerald-900);
	text-decoration: none;
}

.aq-social--labelled a:hover {
	background: var(--aq-emerald-800);
	color: var(--aq-ivory) !important;
}

.aq-map {
	margin-block-start: clamp(2.5rem, 5vw, 4rem);
}

.aq-map__frame {
	display: block;
	width: 100%;
	height: clamp(320px, 45vw, 460px);
	border: 0;
	border-radius: var(--aq-radius-lg);
	box-shadow: var(--aq-shadow-sm);
}

.aq-map__placeholder {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	padding: 2rem;
	overflow: hidden;
	border: 1px dashed var(--aq-sand-400);
	border-radius: var(--aq-radius-lg);
	background-color: var(--aq-sand-100);
	background-image: var(--aq-pattern);
	background-size: 60px 60px;
	text-align: center;
}

.aq-map__placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, rgba(245, 238, 223, 0.97) 30%, rgba(245, 238, 223, 0.75) 75%);
}

.aq-map__placeholder > * {
	position: relative;
}

.aq-map__pin {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-block-end: 1rem;
	border-radius: 50%;
	background: var(--aq-emerald-800);
	color: var(--aq-gold-300);
	box-shadow: 0 0 0 10px rgba(30, 74, 59, 0.1);
}

.aq-map__pin .aq-icon {
	width: 1.6rem;
	height: 1.6rem;
}

.aq-map__city {
	margin: 0;
	color: var(--aq-emerald-900);
	font-family: var(--aq-font-head);
	font-size: 1.6rem;
	font-weight: 700;
}

.aq-map__note {
	margin: 0.25rem 0 0;
	color: var(--aq-muted);
	font-size: 0.9375rem;
}

/* 14. Footer, 404, search --------------------------------------------------- */
.aq-footer {
	position: relative;
	margin-block-start: clamp(3rem, 6vw, 4rem);
	padding-block: clamp(4.5rem, 8vw, 6rem) 0;
	background: var(--aq-emerald-950);
	background-image:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(217, 192, 138, 0.1), transparent 70%);
	border-top: 1px solid rgba(217, 192, 138, 0.45);
	font-size: 0.98rem;
}

.aq-footer__medallion {
	position: absolute;
	top: 0;
	inset-inline-start: 50%;
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border: 1px solid rgba(217, 192, 138, 0.55);
	border-radius: 50%;
	background: var(--aq-emerald-950);
	transform: translate(-50%, -50%);
}

[dir="rtl"] .aq-footer__medallion {
	transform: translate(50%, -50%);
}

.aq-footer__medallion .aq-emblem {
	width: 56px;
	height: 56px;
}

.aq-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr);
	gap: clamp(2.25rem, 5vw, 4rem);
	padding-block-end: clamp(3rem, 6vw, 4rem);
}

.aq-footer .aq-brand {
	color: var(--aq-ivory);
}

.aq-footer .aq-brand__tagline {
	color: rgba(251, 248, 241, 0.6);
}

.aq-footer .aq-emblem__ring {
	fill: var(--aq-emerald-950);
}

.aq-footer__about {
	max-width: 28rem;
	margin-block-start: 1.25rem;
}

.aq-footer__about p {
	margin-block-end: 0.75rem;
	color: rgba(251, 248, 241, 0.74);
}

.aq-footer__title {
	margin-block-end: 1.25rem;
	color: var(--aq-gold-300) !important;
	font-family: var(--aq-font-body);
	font-size: 1rem;
	font-weight: 600;
}

.aq-footer__menu {
	display: grid;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aq-footer__menu a {
	color: rgba(251, 248, 241, 0.82) !important;
	text-decoration: none;
}

.aq-footer__menu a:hover {
	color: var(--aq-gold-300) !important;
}

.aq-footer .aq-placeholder {
	color: rgba(251, 248, 241, 0.65);
	opacity: 1;
}

.aq-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding-block: 1.4rem;
	border-top: 1px solid rgba(251, 248, 241, 0.12);
	color: rgba(251, 248, 241, 0.6);
	font-size: 0.875rem;
}

.aq-footer__bottom p {
	margin: 0;
}

.aq-footer__note {
	color: rgba(242, 230, 201, 0.7);
}

.aq-to-top {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: rgba(251, 248, 241, 0.8) !important;
	text-decoration: none;
}

.aq-to-top .aq-icon {
	width: 1rem;
	height: 1rem;
}

@media (max-width: 900px) {
	.aq-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.aq-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.aq-footer__grid {
		grid-template-columns: 1fr;
	}
	.aq-footer__bottom {
		flex-direction: column;
		text-align: center;
	}
}

.aq-404 {
	position: relative;
	padding-block: clamp(4rem, 10vw, 7rem);
	overflow: hidden;
	background: linear-gradient(180deg, var(--aq-sand-100), var(--aq-ivory));
	text-align: center;
}

.aq-404__inner {
	position: relative;
	max-width: 40rem;
}

.aq-404__code {
	margin: 0;
	color: var(--aq-gold-500);
	font-family: var(--aq-font-head);
	font-size: clamp(5rem, 16vw, 9rem);
	font-weight: 700;
	line-height: 1;
}

.aq-404__text {
	color: var(--aq-muted);
}

.aq-404__search {
	max-width: 26rem;
	margin: 2rem auto 1.5rem;
}

.aq-search {
	position: relative;
	display: flex;
}

.aq-search__input {
	width: 100%;
	padding-inline-end: 3.5rem !important;
	border-radius: 999px !important;
}

.aq-search__button {
	position: absolute;
	inset-block: 4px;
	inset-inline-end: 4px;
	display: grid;
	place-items: center;
	width: 42px;
	border: 0;
	border-radius: 50%;
	background: var(--aq-emerald-800);
	color: var(--aq-ivory);
	cursor: pointer;
}

.aq-search__button:hover {
	background: var(--aq-emerald-900);
}

.aq-search__button .aq-icon {
	width: 1.1rem;
	height: 1.1rem;
}

.aq-search-bar {
	max-width: 32rem;
	margin: 0 auto 2.5rem;
}

.aq-page-links {
	display: flex;
	gap: 0.5rem;
	margin-block: 2rem;
}

/* WordPress core alignment helpers. */
.alignleft {
	float: left;
	margin-inline-end: 1.5rem;
}

.alignright {
	float: right;
	margin-inline-start: 1.5rem;
}

.aligncenter {
	margin-inline: auto;
}

.wp-caption-text,
.gallery-caption {
	color: var(--aq-muted);
	font-size: 0.875rem;
}

.sticky .aq-card__title::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-inline-end: 0.5rem;
	background: var(--aq-gold-500);
	transform: rotate(45deg) translateY(-3px);
}

/* 15. Motion --------------------------------------------------------------- */
.js .aq-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.8s var(--aq-ease), transform 0.8s var(--aq-ease);
}

.js .aq-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Cards and fields cascade in. */
.js .aq-grid > .aq-reveal:nth-child(3n + 2),
.js .aq-fields > .aq-reveal:nth-child(3n + 2) {
	transition-delay: 0.08s;
}

.js .aq-grid > .aq-reveal:nth-child(3n),
.js .aq-fields > .aq-reveal:nth-child(3n) {
	transition-delay: 0.16s;
}

.js .aq-programs > .aq-reveal:nth-child(2n) {
	transition-delay: 0.1s;
}

/* Hover transforms must not be delayed after the reveal. */
.js .aq-reveal.is-visible:hover {
	transition-delay: 0s;
}

/* Smooth in-page jumps (e.g. #programmes, #guidance) clear the sticky header. */
#programmes,
[id="information"],
[id="guidance"] {
	scroll-margin-top: calc(var(--aq-header-h) + 1rem);
}

.aq-rise {
	animation: aq-rise 0.9s var(--aq-ease) both;
}

.aq-hero__content > .aq-rise:nth-child(2) { animation-delay: 0.08s; }
.aq-hero__content > .aq-rise:nth-child(3) { animation-delay: 0.16s; }
.aq-hero__content > .aq-rise:nth-child(4) { animation-delay: 0.24s; }
.aq-hero__content > .aq-rise:nth-child(5) { animation-delay: 0.32s; }

.aq-hero__frame {
	animation: aq-fade 1.2s var(--aq-ease) both;
}

@keyframes aq-rise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes aq-fade {
	from {
		opacity: 0;
		transform: scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		transition-delay: 0s !important;
	}

	.js .aq-reveal {
		opacity: 1;
		transform: none;
	}

	.aq-card:hover,
	.aq-field:hover,
	.aq-program:hover,
	.aq-quicklinks a:hover,
	.aq-btn:hover {
		transform: none;
	}
}

@media print {
	.aq-header,
	.aq-demo-bar,
	.aq-footer,
	.aq-cta-wrap,
	.aq-jerusalem__skyline {
		display: none !important;
	}

	body {
		background: #fff;
	}

	.js .aq-reveal {
		opacity: 1;
		transform: none;
	}
}
