/*
Theme Name: Qamar Al-Salam
Theme URI: https://moonofpeace.org/
Author: Digital Meta
Author URI: https://digitalmeta.net/
Description: A complete site for Qamar Al-Salam Organization for Sustainable Development, a women-led Sudanese NGO: front page, About (vision, mission, goals, values, governance, leadership), Our Work, Where We Work, Projects, News, Get Involved with donations, Reports and Policies, Safeguarding and Contact. Includes one-click setup of pages, menus and the 2025 field record.
Version: 2.4.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qamar-al-salam
Tags: two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, editor-style, wide-blocks
*/

/* ---------- Font ---------- */
@font-face {
	font-family: "Qamar Logo Arabic";
	font-style: normal;
	font-display: swap;
	font-weight: 600;
	/* IBM Plex Sans Arabic, cut down to the letters of the Arabic name. */
	src: url(assets/fonts/ibm-plex-sans-arabic-600.woff2) format("woff2");
}

@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(assets/fonts/public-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(assets/fonts/public-sans-latin-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens: the emblem's blue, the red of its name, a deep navy ---------- */
:root {
	--navy: #0b2545;
	--navy-2: #13345e;
	--blue: #0070bb;
	--blue-dark: #005a96;
	--coral: #d6343b;
	--coral-dark: #b5262d;
	--sky: #eaf3fa;
	--mist: #f5f8fb;
	--line: #dfe6ee;
	--ink: #1d2733;
	--muted: #556274;
	--white: #ffffff;

	--font: "Public Sans", "Segoe UI", Arial, sans-serif;
	--font-ar: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro", sans-serif;

	--fs-small: 0.875rem;
	--fs-body: 1.0625rem;
	--fs-lead: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
	--fs-h3: clamp(1.1875rem, 1.05rem + 0.4vw, 1.375rem);
	--fs-h2: clamp(1.75rem, 1.35rem + 1.4vw, 2.5rem);
	--fs-h1: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(56px, 7vw, 96px);
	--radius: 8px;
	--shadow: 0 1px 0 var(--line), 0 12px 28px rgba(11, 37, 69, 0.08);
	--header-h: 80px;
	--admin-h: 0px;
}

.admin-bar {
	--admin-h: 32px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: 1.6;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--navy);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
	margin: 0;
}

a {
	color: var(--blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--blue-dark);
}

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 2px;
}

[lang="ar"] {
	font-family: var(--font-ar);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--navy);
	color: var(--white);
	font-weight: 700;
}

.skip-link:focus {
	top: 12px;
}

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.rounded {
	border-radius: var(--radius);
}

figcaption {
	margin-top: 8px;
	color: var(--muted);
	font-size: var(--fs-small);
}

/* ---------- Buttons and links ---------- */
.btn,
.wp-block-button__link,
.search-form button,
.comment-form .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 6px;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn--donate,
.wp-block-button__link {
	background: var(--coral);
	color: var(--white);
}

.btn--donate:hover,
.wp-block-button__link:hover {
	background: var(--coral-dark);
	color: var(--white);
}

.btn--navy,
.search-form button,
.comment-form .submit {
	background: var(--navy);
	color: var(--white);
}

.btn--navy:hover,
.search-form button:hover,
.comment-form .submit:hover {
	background: var(--navy-2);
	color: var(--white);
}

.btn--ghost {
	background: var(--white);
	color: var(--navy);
	box-shadow: inset 0 0 0 2px var(--navy);
}

.btn--ghost:hover {
	background: var(--navy);
	color: var(--white);
}

.btn--light {
	background: var(--white);
	color: var(--navy);
}

.btn--light:hover {
	background: var(--sky);
	color: var(--navy);
}

.btn--small {
	min-height: 40px;
	padding: 0 18px;
	font-size: 0.9375rem;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	text-decoration: none;
}

.link-arrow::after {
	content: "→";
	transition: transform 0.2s;
}

.link-arrow:hover::after {
	transform: translateX(4px);
}

/* ---------- Top bar and header ---------- */
.topbar {
	background: var(--navy);
	color: #d4e0ee;
	font-size: 0.8125rem;
}

.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 24px;
	padding-block: 8px;
}

.topbar__contact {
	display: flex;
	gap: 20px;
}

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

.topbar a:hover {
	color: var(--white);
	text-decoration: underline;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
	box-shadow: 0 1px 0 var(--line);
}

.admin-bar .site-header {
	top: var(--admin-h);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

.logo {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-right: auto;
	color: inherit;
	text-decoration: none;
}

.logo:hover {
	color: inherit;
}

.logo__mark {
	flex: none;
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.logo__img {
	display: block;
	width: auto;
	max-width: min(300px, 60vw);
	height: auto;
	max-height: 56px;
}

.logo__text {
	display: flex;
	flex-direction: column;
	padding-left: 14px;
	border-left: 2px solid #cddceb;
	line-height: 1.2;
}

.logo__name {
	color: var(--navy);
	font-size: 1.1875rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.logo__ar {
	color: var(--blue);
	font-family: "Qamar Logo Arabic", "Segoe UI", Tahoma, sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
}

.logo__tag {
	color: var(--muted);
	font-size: 0.75rem;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-nav .menu {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav .menu > li {
	position: relative;
}

.site-nav .menu a {
	display: block;
	padding: 10px 10px;
	border-radius: 6px;
	color: var(--navy);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.site-nav .menu a:hover,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current_page_item > a,
.site-nav .current_page_parent > a {
	background: var(--sky);
	color: var(--blue-dark);
}

.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 14px;
	border: 2px solid var(--navy);
	border-radius: 6px;
	background: var(--white);
	color: var(--navy);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	content: "";
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before {
	position: absolute;
	top: -6px;
}

.nav-toggle__bars::after {
	position: absolute;
	top: 6px;
}

/* ---------- Front page hero ---------- */
.hero {
	background: var(--sky);
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 64px);
	padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px);
}

.hero__title {
	font-size: var(--fs-h1);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.hero__lead {
	max-width: 46ch;
	margin-top: 20px;
	font-size: var(--fs-lead);
}

.hero .actions {
	margin-top: 32px;
}

.hero__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

/* ---------- Figures ---------- */
.stats-wrap {
	position: relative;
	margin-top: -48px;
}

.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin-block: 0;
	list-style: none;
}

.stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 24px;
	background: var(--white);
	box-shadow: var(--shadow);
}

.stat:first-child {
	border-radius: var(--radius) 0 0 var(--radius);
}

.stat:last-child {
	border-radius: 0 var(--radius) var(--radius) 0;
}

.stat__value {
	color: var(--blue);
	font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.stat__label {
	color: var(--ink);
	font-size: 0.9375rem;
	line-height: 1.4;
}

/* ---------- Sections ---------- */
.section {
	padding-block: var(--section);
}

.section--tint {
	background: var(--mist);
}

.section--navy {
	background: var(--navy);
	color: var(--white);
}

.section--navy h2,
.section--navy h3 {
	color: var(--white);
}

.section__head {
	display: grid;
	gap: 10px;
	max-width: 64ch;
	margin-bottom: 36px;
}

.section__head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	max-width: none;
}

.section__title {
	font-size: var(--fs-h2);
}

.section__intro {
	color: var(--muted);
	font-size: var(--fs-lead);
}

.section__lead {
	font-size: var(--fs-lead);
	line-height: 1.55;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(32px, 5vw, 72px);
}

.split__main {
	display: grid;
	gap: 18px;
	justify-items: start;
}

.split__figure img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Vision and mission */
.vm {
	display: grid;
	gap: 16px;
}

.vm__item {
	padding: 24px 28px;
	border-radius: var(--radius);
	background: var(--sky);
}

.vm dt,
.vm__label {
	margin-bottom: 8px;
	color: var(--blue-dark);
	font-size: 0.9375rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.vm dd,
.vm__text {
	color: var(--navy);
	font-size: var(--fs-lead);
	font-weight: 600;
	line-height: 1.45;
}

.vm--large {
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 4vw, 56px);
}

.vm--large .vm__item {
	padding: 0;
	background: none;
}

.vm--large .vm__label {
	color: #9cc8ec;
}

.vm--large .vm__text {
	color: var(--white);
	font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
	line-height: 1.35;
}

/* Our work on the front page */
.work {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	align-items: start;
	gap: clamp(28px, 4vw, 56px);
}

.work__img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius);
}

.areas {
	display: grid;
	padding: 0;
	list-style: none;
}

.area {
	display: grid;
	gap: 6px;
	padding-block: 20px;
	border-bottom: 1px solid var(--line);
}

.area:first-child {
	padding-top: 0;
}

.area__title {
	font-size: var(--fs-h3);
}

/* Cards */
.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 32px);
}

.card {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.card__media {
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--sky);
	aspect-ratio: 16 / 10;
}

.card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

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

.card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
}

.card__placeholder img {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.card:hover .card__placeholder img {
	transform: none;
}

.card__meta {
	color: var(--blue-dark);
	font-size: 0.8125rem;
	font-weight: 700;
}

.card__title {
	font-size: var(--fs-h3);
	line-height: 1.3;
}

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

.card__title a:hover {
	color: var(--blue);
}

.card__text {
	color: var(--muted);
	font-size: 0.9375rem;
}

/* Places */
.places {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding: 0;
	list-style: none;
}

.place {
	display: grid;
	gap: 2px;
	padding: 18px 20px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 1px 0 var(--line);
}

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

.place__name {
	color: var(--navy);
	font-size: 1.0625rem;
}

.place__role {
	color: var(--blue-dark);
	font-size: 0.875rem;
	font-weight: 600;
}

/* Partners */
.section--partners {
	padding-block: 40px;
	border-top: 1px solid var(--line);
}

.partners {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 40px;
}

.partners__title {
	color: var(--muted);
	font-size: 1rem;
	font-weight: 700;
}

.partners__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 40px;
	padding: 0;
	list-style: none;
}

.partner__logo {
	max-height: 56px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.8;
	transition: filter 0.2s, opacity 0.2s;
}

.partner a:hover .partner__logo {
	filter: none;
	opacity: 1;
}

.partner__name {
	color: var(--navy);
	font-weight: 700;
}

.partner a {
	text-decoration: none;
}

/* Call to action band */
.band {
	background: var(--navy);
	color: var(--white);
}

.band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: clamp(40px, 5vw, 64px);
}

.band__title {
	max-width: 28ch;
	color: var(--white);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- Inner pages ---------- */
.page-hero {
	background: var(--navy);
	color: var(--white);
}

.page-hero .wrap {
	display: grid;
	gap: 12px;
	padding-block: clamp(36px, 5vw, 64px);
}

.page-hero__title {
	max-width: 24ch;
	color: var(--white);
	font-size: var(--fs-h1);
	letter-spacing: -0.025em;
}

.page-hero__intro {
	max-width: 60ch;
	color: #d4e0ee;
	font-size: var(--fs-lead);
}

.page-hero__meta {
	color: #b8cbe0;
	font-size: 0.9375rem;
	font-weight: 600;
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	padding: 0;
	list-style: none;
	color: #b8cbe0;
	font-size: 0.8125rem;
}

.crumbs li + li::before {
	margin-right: 8px;
	content: "/";
	opacity: 0.6;
}

.crumbs a {
	color: inherit;
}

.crumbs a:hover {
	color: var(--white);
}

/* Items: goals, values, approach, governance */
.items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding: 0;
	list-style: none;
	counter-reset: item;
}

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

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

.items--stack {
	grid-template-columns: 1fr;
}

.item {
	display: grid;
	align-content: start;
	gap: 8px;
	padding: 24px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line);
}

.section--tint .item {
	box-shadow: 0 1px 0 var(--line);
}

.item__title {
	font-size: var(--fs-h3);
}

.items--goals .item {
	counter-increment: item;
	border-top: 4px solid var(--blue);
}

/* Team */
.team {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	padding: 0;
	list-style: none;
}

.member {
	display: grid;
	align-content: start;
	gap: 6px;
}

.member__photo,
.member__initial {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	margin-bottom: 8px;
	border-radius: var(--radius);
	object-fit: cover;
	background: var(--sky);
	color: var(--blue);
	font-size: 3rem;
	font-weight: 800;
}

.member__name {
	font-size: 1.0625rem;
}

.member__role {
	color: var(--blue-dark);
	font-size: 0.9375rem;
	font-weight: 600;
}

.member__bio {
	color: var(--muted);
	font-size: 0.9375rem;
}

/* Our Work page */
.subnav {
	position: sticky;
	top: calc(var(--admin-h) + var(--header-h));
	z-index: 50;
	background: var(--white);
	box-shadow: 0 1px 0 var(--line);
}

.subnav__list {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-block: 12px;
	list-style: none;
}

.subnav a {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--sky);
	color: var(--navy);
	font-size: 0.875rem;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
}

.subnav a:hover {
	background: var(--navy);
	color: var(--white);
}

.programme {
	scroll-margin-top: 150px;
}

.programme__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.programme--flip .programme__figure {
	order: 2;
}

.programme__figure img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.programme__text {
	display: grid;
	gap: 16px;
	justify-items: start;
}

.programme__sub {
	margin-top: 8px;
	font-size: 1rem;
}

.programme__where {
	color: var(--muted);
}

.ticks {
	display: grid;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.ticks li {
	position: relative;
	padding-left: 28px;
}

.ticks li::before {
	position: absolute;
	top: 0.35em;
	left: 0;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230070bb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
	content: "";
}

/* Where We Work */
.locations {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	padding: 0;
	list-style: none;
}

.location {
	display: grid;
	align-content: start;
	gap: 6px;
	padding: 28px;
	border-radius: var(--radius);
	border-left: 4px solid var(--blue);
	background: var(--mist);
}

.location:first-child {
	border-left-color: var(--coral);
}

.location__state {
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 700;
}

.location__name {
	font-size: var(--fs-h3);
}

.location__role {
	color: var(--blue-dark);
	font-weight: 700;
}

/* Get Involved */
.ways {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	padding: 0;
	list-style: none;
}

.way {
	display: grid;
	align-content: start;
	justify-items: start;
	gap: 14px;
	padding: 32px;
	border-radius: var(--radius);
	background: var(--mist);
}

.way:first-child {
	background: var(--sky);
}

.way__title {
	font-size: var(--fs-h2);
}

.bank {
	display: grid;
	gap: 0;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 0 0 1px var(--line);
}

.bank__row {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 16px;
	align-items: center;
	padding: 14px 20px;
}

.bank__row + .bank__row {
	border-top: 1px solid var(--line);
}

.bank dt {
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 700;
}

.bank dd {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.copy {
	padding: 4px 10px;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--white);
	color: var(--blue-dark);
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 700;
	cursor: pointer;
}

.copy:hover {
	border-color: var(--blue);
}

/* Contact */
.contact {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 5vw, 72px);
}

.contact__details,
.contact__form {
	display: grid;
	align-content: start;
	gap: 20px;
}

.contact__form {
	padding: clamp(24px, 3vw, 40px);
	border-radius: var(--radius);
	background: var(--mist);
}

.contact__safeguard {
	color: var(--muted);
	font-size: 0.9375rem;
}

.details {
	display: grid;
	gap: 18px;
}

.details dt {
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 700;
}

.details dd {
	font-weight: 600;
}

.details--card {
	gap: 0;
	padding: 8px 24px;
	border-radius: var(--radius);
	background: var(--mist);
}

.details--card > div {
	padding-block: 14px;
}

.details--card > div + div {
	border-top: 1px solid var(--line);
}

/* Forms */
.form {
	display: grid;
	gap: 16px;
}

.form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.field {
	display: grid;
	gap: 6px;
}

.field label {
	color: var(--navy);
	font-size: 0.9375rem;
	font-weight: 700;
}

.field input,
.field select,
.field textarea,
.search-form input,
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #c5d1de;
	border-radius: 6px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.search-form input:focus {
	border-color: var(--blue);
	outline: 2px solid var(--blue);
	outline-offset: 0;
}

.form__note {
	color: var(--muted);
	font-size: var(--fs-small);
}

.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 560px;
}

.search-form input {
	flex: 1 1 220px;
	width: auto;
}

/* Safeguarding */
.report {
	display: grid;
	gap: 14px;
	padding: 32px;
	border-radius: var(--radius);
	border-top: 4px solid var(--coral);
	background: var(--mist);
}

.report__title {
	font-size: var(--fs-h2);
}

.report__line {
	display: grid;
	gap: 2px;
	font-size: 1.125rem;
}

.report__line strong {
	color: var(--muted);
	font-size: 0.8125rem;
}

.report__note {
	color: var(--muted);
	font-size: var(--fs-small);
}

/* Reports table */
.table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.docs {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
}

.docs th,
.docs td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.docs th {
	background: var(--navy);
	color: var(--white);
	font-size: 0.875rem;
}

.docs td:first-child {
	font-weight: 700;
}

.docs__note {
	display: block;
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 400;
}

/* Listings */
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 32px;
}

.filters a {
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--sky);
	color: var(--navy);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}

.filters a[aria-current="page"],
.filters a:hover {
	background: var(--navy);
	color: var(--white);
}

.search-again {
	margin-bottom: 32px;
}

.empty {
	display: grid;
	gap: 24px;
	justify-items: start;
}

.quick-links {
	display: grid;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 48px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 6px;
	background: var(--mist);
	color: var(--navy);
	font-weight: 700;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--navy);
	color: var(--white);
}

/* Single */
.article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
	gap: clamp(32px, 5vw, 64px);
}

.article__figure {
	margin-bottom: 32px;
}

.article__figure img {
	display: block;
	width: auto;
	max-width: 100%;
}

.article__side {
	position: sticky;
	top: 112px;
	display: grid;
	gap: 20px;
}

.side-cta {
	display: grid;
	gap: 10px;
	justify-items: start;
	padding: 24px;
	border-radius: var(--radius);
	background: var(--navy);
	color: #d4e0ee;
}

.side-cta h2 {
	color: var(--white);
	font-size: 1.25rem;
}

.article__tags a,
.article__cats a {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--sky);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.post-nav span {
	display: block;
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 700;
}

.post-nav a {
	display: inline-block;
	padding-block: 6px;
	font-weight: 700;
	text-decoration: none;
}

.post-nav__next {
	text-align: right;
}

.widget {
	display: grid;
	gap: 10px;
}

.widget__title {
	font-size: 1.0625rem;
}

.widget ul {
	padding-left: 18px;
}

/* Prose: content written in the editor */
.prose {
	max-width: 72ch;
}

.prose--page {
	margin-inline: auto;
}

.prose > * + * {
	margin-top: 1.1em;
}

.prose h2 {
	margin-top: 1.8em;
	font-size: 1.75rem;
}

.prose h3 {
	margin-top: 1.5em;
	font-size: 1.3125rem;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose blockquote,
.prose .wp-block-quote {
	padding: 20px 24px;
	border-left: 4px solid var(--blue);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--sky);
	color: var(--navy);
	font-size: var(--fs-lead);
	font-weight: 600;
}

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

.prose table {
	width: 100%;
	border-collapse: collapse;
}

.prose th,
.prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.prose .alignwide {
	max-width: 1000px;
}

.prose .alignfull {
	max-width: none;
}

.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
}

.wp-caption-text,
.wp-element-caption {
	color: var(--muted);
	font-size: var(--fs-small);
}

.sticky,
.bypostauthor,
.gallery-caption {
	outline: 0;
}

/* Block styles from the patterns */
.is-style-qamar-band {
	padding: 48px var(--gutter);
	background: var(--navy);
	color: var(--white);
}

.is-style-qamar-band h2 {
	color: var(--white);
}

.qamar-figure strong {
	display: block;
	color: var(--blue);
	font-size: 2.5rem;
	line-height: 1;
}

/* Comments */
.comments {
	display: grid;
	gap: 24px;
	margin-top: 56px;
}

.comments__title {
	font-size: 1.5rem;
}

.comments__list,
.comments__list .children {
	display: grid;
	gap: 20px;
	padding-left: 0;
	list-style: none;
}

.comments__list .children {
	margin-top: 20px;
	padding-left: 24px;
}

.comment-body {
	padding: 20px;
	border-radius: var(--radius);
	background: var(--mist);
}

.comment-author .avatar {
	float: left;
	margin-right: 12px;
	border-radius: 50%;
}

.comment-meta {
	margin-bottom: 8px;
	font-size: var(--fs-small);
}

.comment-form {
	display: grid;
	gap: 14px;
}

.comment-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 700;
}

/* Form plugins (Contact Form 7, WPForms) inside the contact panel */
.contact__form label {
	color: var(--navy);
	font-size: 0.9375rem;
	font-weight: 700;
}

.contact__form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact__form select,
.contact__form textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #c5d1de;
	border-radius: 6px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
}

.contact__form input[type="submit"],
.contact__form button[type="submit"] {
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 6px;
	background: var(--coral);
	color: var(--white);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.contact__form .wpcf7-form p {
	margin-bottom: 14px;
}

.wpcf7-not-valid-tip {
	color: var(--coral-dark);
	font-size: var(--fs-small);
}

.wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-radius: 6px;
}

/* ---------- Footer ---------- */
.site-footer {
	background: #071a33;
	color: #c3d2e3;
	font-size: 0.9375rem;
}

.foot {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-block: clamp(48px, 6vw, 72px);
}

.foot .logo__name {
	color: var(--white);
}

.foot .logo__tag {
	color: #9fb4cb;
}

.foot .logo__ar {
	color: #8cc8f0;
}

.foot .logo__text {
	border-left-color: rgba(159, 180, 203, 0.45);
}

.foot .logo__mark {
	border-radius: 50%;
	background: var(--white);
}

.foot__about {
	display: grid;
	align-content: start;
	gap: 14px;
	max-width: 40ch;
}

.foot__title {
	margin-bottom: 14px;
	color: var(--white);
	font-size: 1rem;
}

.foot__menu,
.foot__social {
	display: grid;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.foot__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.site-footer a {
	color: #dce7f2;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--white);
	text-decoration: underline;
}

.site-footer .btn--donate {
	margin-top: 16px;
	color: var(--white);
}

.site-footer .btn--donate:hover {
	text-decoration: none;
}

.foot__contact {
	display: grid;
	gap: 6px;
	font-style: normal;
}

.foot__contact a[dir="ltr"] {
	justify-self: start;
}

.foot__legal {
	border-top: 1px solid #1c3554;
	font-size: 0.8125rem;
}

.foot__legal-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 18px;
}

.foot__credit a {
	font-weight: 700;
}

.foot__legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ---------- Tablet ---------- */
@media (min-width: 1181px) and (max-width: 1240px) {
	.site-header .logo__tag {
		display: none;
	}

	.site-nav {
		gap: 16px;
	}
}

@media (max-width: 1100px) {
	.site-nav .menu a {
		padding-inline: 7px;
		font-size: 0.875rem;
	}

	.foot {
		grid-template-columns: 1fr 1fr;
	}

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

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

	.site-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 16px var(--gutter) 24px;
		background: var(--white);
		box-shadow: var(--shadow);
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav .menu {
		flex-direction: column;
	}

	.site-nav .menu a {
		padding: 12px;
		font-size: 1rem;
	}

	.site-nav .sub-menu {
		position: static;
		padding: 0 0 0 16px;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

@media (max-width: 960px) {
	.hero__inner,
	.split,
	.work,
	.programme__inner,
	.contact,
	.article {
		grid-template-columns: 1fr;
	}

	.programme--flip .programme__figure {
		order: 0;
	}

	.article__side {
		position: static;
	}

	.stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.stat,
	.stat:first-child,
	.stat:last-child {
		border-radius: var(--radius);
	}

	.cards,
	.items--values,
	.items--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vm--large {
		grid-template-columns: 1fr;
	}
}

/* ---------- Phone ---------- */
@media (max-width: 782px) {
	.admin-bar {
		--admin-h: 46px;
	}
}

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

@media (max-width: 640px) {
	:root {
		--header-h: 68px;
	}

	.topbar__reg {
		display: none;
	}

	.topbar__inner {
		justify-content: center;
	}

	.site-header__inner {
		min-height: var(--header-h);
	}

	.logo {
		gap: 10px;
	}

	.logo__mark {
		width: 44px;
		height: 44px;
	}

	.logo__img {
		max-height: 44px;
	}

	.logo__text {
		padding-left: 10px;
	}

	.logo__name {
		font-size: 1.0625rem;
	}

	.logo__ar {
		font-size: 0.75rem;
		white-space: nowrap;
	}

	.logo__tag {
		display: none;
	}

	.nav-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.stats-wrap {
		margin-top: -32px;
	}

	.stat {
		padding: 18px;
	}

	.cards,
	.items,
	.items--values,
	.items--three,
	.places,
	.locations,
	.ways,
	.form__row,
	.post-nav,
	.foot {
		grid-template-columns: 1fr;
	}

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

	.bank__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.post-nav__next {
		text-align: left;
	}

	.docs th:nth-child(3),
	.docs td:nth-child(3) {
		display: none;
	}
}

@media (max-width: 374px) {
	.site-header .logo__ar {
		display: none;
	}
}

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

	*,
	*::before,
	*::after {
		transition: none !important;
	}
}

@media print {
	.topbar,
	.site-header,
	.band,
	.site-footer,
	.article__side {
		display: none;
	}
}
