/* ==========================================================================
   ISSF Forum theme
   --------------------------------------------------------------------------
   1. Tokens          6. Countdown        11. Fees
   2. Base            7. About            12. Partners and call to action
   3. Utilities       8. Focus areas      13. Footer
   4. Buttons         9. Course, speakers 14. Inner pages, contact, forms
   5. Header, hero   10. Programme        15. Pop-ups, motion, print
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */

:root {
	/* Olive (brand surfaces) */
	--olive-900: #343421;
	--olive-800: #3e3e2b;
	--olive-700: #46453b;
	--olive-600: #4e4e39;
	--olive-500: #5d5d47;
	--olive-450: #5f5d48;

	/* Gold (accents, actions) */
	--gold-600: #9f833b;
	--gold-500: #bb9e57;
	--gold-400: #d2b04c;
	--gold-300: #d9bf69;
	--gold-200: #c8b885;
	--gold-ink: #7a6326; /* gold for text on light backgrounds (5.8:1 on white) */

	/* Light surfaces */
	--cream: #f6efe1;
	--cream-line: #e7dcc4;
	--paper-line: #ece4d2;
	--mist: #f4f5f8;

	/* Fee categories (from the brochure) */
	--navy: #2f5c8c;
	--blue: #0b6bc2;
	--navy-deep: #0b1e5f;
	--slate: #5e5f61;

	/* Text */
	--ink: #2b2a28;
	--ink-soft: #5b5a52;

	--font-sans: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--font-figures: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
	--font-arabic: "Noto Naskh Arabic", "Amiri", "Traditional Arabic", "Geeza Pro", serif;

	--container: 1240px;
	--gutter: clamp(20px, 4vw, 48px);
	--section-y: clamp(64px, 8vw, 112px);
	--header-h: 84px;
	--header-h-solid: 68px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--shadow-card: 0 24px 48px -28px rgba(40, 38, 20, 0.45);
}

/* 2. Base ---------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h-solid) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

html.nav-locked,
html:has(dialog[open]),
html.regmodal-locked {
	overflow: hidden;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ink);
	background: #fff;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

img {
	height: auto;
}

picture {
	display: contents;
}

a {
	color: inherit;
}

h1,
h2,
h3,
h4 {
	line-height: 1.2;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

button {
	font: inherit;
}

:focus-visible {
	outline: 3px solid var(--gold-400);
	outline-offset: 3px;
}

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

/* Montserrat draws ʿ with 0.2em/0.3em side bearings; pull its neighbours in. */
.has-webfonts .ayn {
	margin-inline: -0.15em -0.22em;
}

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

/* 3. Utilities ----------------------------------------------------------- */

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

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

.skip-link {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--gold-400);
	color: var(--olive-900);
	font-weight: 700;
	text-decoration: none;
	border-radius: 3px;
	transform: translateY(-160%);
	transition: transform 0.2s var(--ease);
}

.skip-link:focus {
	transform: none;
}

/* Old anchor names (#lgx-tokoh, #introduction…) keep working. */
.anchor-alias {
	display: block;
	height: 0;
}

.icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

.section-title {
	margin: 0;
	font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--olive-900);
}

/* The short gold bar under section titles comes from the brochure. */
.section-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin-top: 16px;
	background: var(--gold-500);
}

.section-title--on-dark {
	color: #fff;
}

.section-title--on-dark::after {
	background: var(--gold-400);
}

.section-title--center {
	text-align: center;
}

.section-title--center::after {
	margin-inline: auto;
}

.section-head {
	margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 40px;
}

.section-lead {
	max-width: 62ch;
	margin: 20px 0 0;
	font-size: 1.0625rem;
	color: var(--ink-soft);
}

.section-lead--on-dark {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.85);
}

.section-lead--on-dark .icon {
	color: var(--gold-300);
}

.prose {
	max-width: 68ch;
	font-size: 1.0625rem;
	line-height: 1.75;
}

.prose p,
.prose ul,
.prose ol {
	margin: 0 0 1.1em;
}

.prose > :last-child {
	margin-bottom: 0;
}

.prose a {
	color: var(--gold-ink);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.prose h2,
.prose h3 {
	margin: 1.6em 0 0.6em;
	color: var(--olive-900);
}

.prose--on-dark {
	color: rgba(255, 255, 255, 0.92);
}

.prose--on-dark strong,
.prose--on-dark em {
	color: #fff;
}

.prose--on-dark a {
	color: var(--gold-300);
}

.prose__lead {
	font-size: 1.1875rem;
	line-height: 1.65;
	color: var(--olive-900);
}

.name-list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.person-name {
	display: block;
}

.person-link {
	display: inline;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	text-align: left;
	text-decoration: underline;
	text-decoration-color: var(--gold-500);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
	cursor: pointer;
	transition: color 0.2s var(--ease);
}

.person-link:hover {
	color: var(--gold-ink);
}

.name-list--on-dark .person-link {
	text-decoration-color: var(--gold-400);
}

.name-list--on-dark .person-link:hover {
	color: var(--gold-300);
}

.person-note {
	display: block;
	font-size: 0.875rem;
	font-style: italic;
	line-height: 1.5;
	color: var(--ink-soft);
}

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

/* 4. Buttons ------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 11px 22px;
	border: 1.5px solid transparent;
	border-radius: 3px;
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn .icon {
	width: 18px;
	height: 18px;
}

.btn--large {
	min-height: 52px;
	padding: 13px 28px;
	font-size: 1rem;
}

.btn--small {
	min-height: 40px;
	padding: 8px 16px;
	font-size: 0.875rem;
}

/* Gold with dark olive text: 6:1 contrast (white on gold was 2:1). */
.btn--gold {
	background: var(--gold-400);
	color: var(--olive-900);
}

.btn--gold:hover {
	background: var(--gold-300);
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.6);
	background: transparent;
	color: #fff;
}

.btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.btn--outline {
	border-color: var(--olive-500);
	background: transparent;
	color: var(--olive-800);
}

.btn--outline:hover {
	background: var(--olive-500);
	color: #fff;
}

.btn--line {
	min-height: 42px;
	padding: 8px 16px;
	border-color: rgba(255, 255, 255, 0.45);
	background: rgba(52, 52, 33, 0.35);
	color: #fff;
	font-size: 0.875rem;
}

.btn--line:hover {
	border-color: var(--gold-300);
}

.btn--text {
	padding-inline: 8px;
	background: none;
	color: var(--olive-800);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.btn__meta {
	padding: 1px 5px;
	border: 1px solid currentColor;
	border-radius: 2px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	opacity: 0.8;
}

/* 5. Header and hero ----------------------------------------------------- */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	color: #fff;
	transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-solid {
	background: rgba(62, 62, 43, 0.97);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 1600px;
	height: var(--header-h);
	margin-inline: auto;
	padding-inline: var(--gutter);
	transition: height 0.3s var(--ease);
}

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

.site-header__brand {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.site-header__brand img {
	width: auto;
	height: 48px;
}

/* On the front page the hero artwork already carries the logo. */
.is-onepage .site-header:not(.is-solid) .site-header__brand {
	opacity: 0;
	visibility: hidden;
}

.site-nav {
	margin-left: auto;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	position: relative;
	display: block;
	padding: 10px 14px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

.site-nav__list a::after {
	content: "";
	position: absolute;
	right: 14px;
	bottom: 4px;
	left: 14px;
	height: 2px;
	background: var(--gold-400);
	transform: scaleX(0);
	transition: transform 0.25s var(--ease);
}

.site-nav__list a:hover,
.site-nav__list a[aria-current],
.site-nav__list .current-menu-item > a {
	color: var(--gold-300);
}

.site-nav__list a[aria-current]::after,
.site-nav__list .current-menu-item > a::after {
	transform: scaleX(1);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.site-header__toggle {
	display: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	background: rgba(52, 52, 33, 0.4);
	color: #fff;
	cursor: pointer;
}

.site-header__toggle .icon {
	width: 22px;
	height: 22px;
	grid-area: 1 / 1;
}

.site-header__toggle .icon-when-open,
.site-header__toggle[aria-expanded="true"] .icon-when-closed {
	display: none;
}

.site-header__toggle[aria-expanded="true"] .icon-when-open {
	display: block;
}

/* Hero */

.hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background-color: var(--olive-500);
	background-position: center;
	background-size: cover;
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(300px, 31%) minmax(0, 1fr);
	max-width: 1600px;
	min-height: clamp(660px, 100svh, 880px);
	margin-inline: auto;
}

.hero__art {
	position: relative;
	min-height: 100%;
}

/*
 * The artwork PNG has ~12% transparent margin on each side. The image box is
 * widened so those margins overhang the column: the visible artwork fills the
 * hero height and none of the calligraphy is cropped.
 */
.hero__art img {
	position: absolute;
	top: 0;
	left: -16%;
	width: 132%;
	max-width: none;
	height: 100%;
	object-fit: contain;
	object-position: 50% 0;
	pointer-events: none;
}

.hero__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 1080px;
	padding: calc(var(--header-h) + 32px) clamp(32px, 5vw, 88px) 72px;
}

.hero__title {
	max-width: 44ch;
	margin: 0 0 clamp(24px, 3vw, 36px);
	font-size: clamp(1rem, 0.86rem + 0.45vw, 1.25rem);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.005em;
	color: #fff;
}

/* Bilingual parallel text: English | gold rule | Arabic */

.bilingual {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) 1px minmax(0, 1fr);
	column-gap: clamp(24px, 3vw, 48px);
	align-items: start;
}

.bilingual::before {
	content: "";
	grid-row: 1;
	grid-column: 2;
	align-self: stretch;
	width: 1px;
	background: linear-gradient(180deg, var(--gold-400), rgba(210, 176, 76, 0.15));
}

.bilingual__en {
	grid-row: 1;
	grid-column: 1;
	margin: 0;
}

.bilingual__ar {
	grid-row: 1;
	grid-column: 3;
	margin: 0;
	text-align: right;
}

.hero__theme .bilingual__en {
	font-size: clamp(1.25rem, 0.95rem + 0.85vw, 1.75rem);
	font-weight: 600;
	line-height: 1.32;
	text-wrap: balance;
}

.hero__theme .bilingual__ar {
	font-size: clamp(1.75rem, 1.15rem + 1.6vw, 2.75rem);
	font-weight: 700;
	line-height: 1.6;
	color: var(--gold-300);
}

.hero__course {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: clamp(28px, 3vw, 40px) 0 0;
}

.hero__course-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--gold-300);
}

.hero__course-name {
	font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem);
	font-weight: 500;
}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 32px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	font-weight: 500;
}

.hero__meta li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hero__meta .icon {
	color: var(--gold-300);
}

.hero__meta a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.45);
	text-underline-offset: 5px;
}

.hero__meta a:hover {
	text-decoration-color: var(--gold-300);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: clamp(28px, 3vw, 40px);
}

.hero__badge {
	display: flex;
	align-items: center;
	margin-left: 10px;
	padding-left: 24px;
	border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.hero__badge img {
	width: auto;
	height: 64px;
}

/* 6. Countdown band ------------------------------------------------------ */

.countdown {
	color: #fff;
	background-color: var(--olive-700);
	background-position: center;
	background-size: cover;
}

/* Kept to the dark centre of the band image so white text stays legible. */
.countdown__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 40px;
	max-width: 980px;
	min-height: 120px;
	padding-block: 22px;
}

.countdown__state {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 28px;
}

.countdown__state[hidden] {
	display: none;
}

.countdown__label {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
}

.countdown__clock {
	display: flex;
	gap: clamp(16px, 3vw, 32px);
	margin: 0;
}

.countdown__unit {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.countdown__num {
	min-width: 2ch;
	font-family: var(--font-figures);
	font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem);
	font-weight: 500;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--gold-300);
	text-align: right;
}

.countdown__name {
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
}

.countdown__message {
	max-width: 62ch;
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 500;
	text-align: center;
}

.countdown__message a {
	margin-left: 6px;
	color: var(--gold-300);
	font-weight: 600;
	text-underline-offset: 4px;
}

.calendar-menu {
	position: relative;
}

.calendar-menu summary {
	list-style: none;
}

.calendar-menu summary::-webkit-details-marker {
	display: none;
}

.calendar-menu__chevron {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--ease);
}

.calendar-menu[open] .calendar-menu__chevron {
	transform: rotate(180deg);
}

.calendar-menu__list {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 20;
	min-width: 260px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.calendar-menu__list a {
	display: block;
	padding: 10px 12px;
	border-radius: 4px;
	color: var(--olive-900);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
}

.calendar-menu__list a:hover,
.calendar-menu__list a:focus-visible {
	background: var(--cream);
}

/* 7. About --------------------------------------------------------------- */

.about {
	background: var(--cream);
}

.about__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	max-width: 1600px;
	margin-inline: auto;
}

.about__media {
	position: relative;
	min-height: 100%;
	background: var(--olive-450);
}

.about__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
}

.about__body {
	padding: var(--section-y) clamp(24px, 6vw, 96px);
}

.about__body .section-title {
	margin-bottom: 32px;
}

/* 8. Focus areas --------------------------------------------------------- */

.focus {
	padding: var(--section-y) 0 clamp(140px, 16vw, 240px);
	background-color: var(--mist);
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;
}

.focus__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(28px, 3vw, 48px);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: focus;
}

.focus__item {
	counter-increment: focus;
	padding-top: 22px;
	border-top: 2px solid var(--gold-500);
}

.focus__item::before {
	content: counter(focus);
	display: block;
	margin-bottom: 18px;
	font-family: var(--font-figures);
	font-size: 3.25rem;
	font-weight: 500;
	line-height: 1;
	color: var(--gold-ink);
}

.focus__title {
	margin: 0 0 12px;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--olive-900);
}

.focus__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: #3f3e36;
}

/* 9. Executive course and speakers --------------------------------------- */

.course {
	padding-block: var(--section-y);
	color: #fff;
	background-color: var(--olive-450);
	background-position: center;
	background-size: cover;
}

.course__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}

.course__when {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 0 0 18px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--gold-300);
}

.course__when time {
	color: #fff;
}

.course__title {
	margin: 0;
	font-size: clamp(2rem, 1.45rem + 2vw, 3.25rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.015em;
}

.course__subtitle {
	margin: 16px 0 0;
	font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.3125rem);
	font-weight: 500;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
}

.course__subhead {
	margin: 32px 0 12px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--gold-300);
}

.course__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

@media (min-width: 960px) {
	.course__body {
		position: relative;
		padding-left: clamp(32px, 4vw, 56px);
	}

	.course__body::before {
		content: "";
		position: absolute;
		top: 6px;
		bottom: 6px;
		left: 0;
		width: 1px;
		background: rgba(255, 255, 255, 0.28);
	}
}

/* Speakers */

.speakers {
	position: relative;
	isolation: isolate;
	padding-block: var(--section-y);
	color: #fff;
	background-color: var(--olive-500);
	background-position: center;
	background-size: cover;
}

/* Deepens the arabesque so gold names keep 4.5:1 contrast. */
.speakers::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(52, 52, 33, 0.5);
}

.speaker-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(40px, 4vw, 56px) clamp(20px, 3vw, 40px);
	margin: clamp(36px, 4vw, 56px) 0 0;
	padding: 0;
	list-style: none;
}

.speaker {
	display: flex;
	flex-direction: column;
}

/* Arched portrait with the brochure's gold frame. */
.speaker__photo {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border: 3px solid var(--gold-200);
	border-radius: 50% 50% 3px 3px / 40% 40% 3px 3px;
	background: radial-gradient(circle at 50% 35%, #6b6a52, var(--olive-700));
}

.speaker__img,
.speaker__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 18%;
}

/* Portraits of speakers with a profile open it too (the button stays for keyboards). */
.speaker--has-profile .speaker__photo {
	cursor: pointer;
	transition: border-color 0.2s var(--ease);
}

.speaker--has-profile .speaker__photo:hover {
	border-color: var(--gold-300);
}

.speaker__initials {
	display: grid;
	place-items: center;
	height: 100%;
	font-family: var(--font-figures);
	font-size: clamp(2.5rem, 1.8rem + 2vw, 3.5rem);
	font-weight: 400;
	letter-spacing: 0.04em;
	color: var(--gold-300);
}

.speaker__name {
	margin: 22px 0 6px;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--gold-300);
}

.speaker__role {
	margin: 0 0 4px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.5;
}

.speaker__org {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.8);
}

.speaker__more {
	align-self: flex-start;
	margin-top: 12px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--gold-400);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 6px;
	cursor: pointer;
}

.speaker__more:hover {
	color: var(--gold-300);
}

/* Speaker profile dialog */

.speaker-dialog {
	width: min(940px, calc(100% - 32px));
	max-height: calc(100dvh - 48px);
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.speaker-dialog::backdrop {
	background: rgba(36, 36, 22, 0.72);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.speaker-dialog__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
	padding: clamp(28px, 5vw, 56px);
}

.speaker-dialog__photo {
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border: 3px solid var(--gold-200);
	border-radius: 50% 50% 3px 3px / 40% 40% 3px 3px;
	background: radial-gradient(circle at 50% 35%, #6b6a52, var(--olive-700));
}

.speaker-dialog__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 18%;
}

.speaker-dialog__name {
	margin: 0 0 8px;
	padding-right: 48px;
	font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--olive-900);
}

.speaker-dialog__role {
	margin: 0 0 4px;
	font-weight: 600;
	color: var(--gold-ink);
}

.speaker-dialog__org {
	margin: 0;
	color: var(--ink-soft);
}

.speaker-dialog__profile {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--paper-line);
	font-size: 0.9375rem;
	line-height: 1.75;
}

.speaker-dialog__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--paper-line);
	border-radius: 50%;
	background: #fff;
	color: var(--olive-800);
	cursor: pointer;
}

.speaker-dialog__close:hover {
	border-color: var(--gold-500);
	color: var(--gold-ink);
}

/* 10. Programme ----------------------------------------------------------- */

.programme {
	padding-block: var(--section-y);
	color: #fff;
	background: var(--olive-700);
}

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

.tabs__tab {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 84px;
	padding: 14px 20px;
	border: 1px solid rgba(187, 158, 87, 0.45);
	border-bottom: 0;
	border-radius: 6px 6px 0 0;
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tabs__tab:hover {
	border-color: var(--gold-500);
	background: rgba(187, 158, 87, 0.16);
}

.tabs__tab[aria-selected="true"] {
	border-color: #fff;
	background: #fff;
	color: var(--olive-900);
}

.tabs__tab:focus-visible {
	outline-offset: -4px;
}

.tabs__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 48px;
	line-height: 1;
}

.tabs__day {
	font-family: var(--font-figures);
	font-size: 2.25rem;
	font-weight: 500;
	color: var(--gold-300);
}

.tabs__tab[aria-selected="true"] .tabs__day {
	color: var(--gold-ink);
}

.tabs__month {
	margin-top: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tabs__note {
	display: block;
	font-size: 0.8125rem;
	font-weight: 500;
	opacity: 0.85;
}

.tabs__name {
	display: block;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
}

.tabs__panel {
	border-radius: 0 0 6px 6px;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.6);
}

.tabs__panel:focus-visible {
	outline-offset: 4px;
}

.js .tabs__panel[data-inactive] {
	display: none;
}

/* Without JavaScript every day is shown, one after another. */
html:not(.js) .tabs__list {
	display: none;
}

html:not(.js) .tabs__panel + .tabs__panel {
	margin-top: 32px;
}

.sheet {
	padding: clamp(24px, 4.5vw, 56px);
}

.sheet__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--paper-line);
}

.sheet__title {
	margin: 0;
	font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
	font-weight: 700;
	color: var(--olive-900);
}

.sheet__title sup {
	font-size: 0.55em;
}

.sheet__subtitle {
	margin: 6px 0 0;
	font-size: 1.125rem;
	font-weight: 600;
}

.sheet__date {
	margin: 8px 0 0;
	font-size: 0.9375rem;
	color: var(--ink-soft);
}

.sheet__label {
	margin: 0;
	font-family: var(--font-figures);
	font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem);
	font-weight: 500;
	line-height: 1;
	color: var(--gold-600);
	white-space: nowrap;
}

.sheet__speakers {
	margin-top: 24px;
	padding: 18px 22px;
	border-radius: 6px;
	background: var(--cream);
}

.sheet__speakers-title {
	margin: 0 0 10px;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--gold-ink);
}

.sheet__speakers .name-list {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 6px 24px;
	font-weight: 600;
}

.sheet__note {
	margin: 24px 0 0;
	font-size: 0.875rem;
	font-style: italic;
	color: var(--gold-ink);
}

.timeline {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.timeline__item {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: clamp(16px, 2.5vw, 32px);
	padding-block: 24px;
	border-bottom: 1px dotted rgba(143, 119, 53, 0.5);
}

.timeline__time {
	margin: 0;
	font-family: var(--font-figures);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.01em;
	color: var(--gold-ink);
	font-variant-numeric: tabular-nums;
}

.timeline__title {
	margin: 0;
	font-weight: 600;
	color: var(--olive-900);
}

/* Registration, refreshments, prayers: slim, quiet rows. */
.timeline__item--break {
	margin-inline: -14px;
	padding: 12px 14px;
	border-bottom-color: transparent;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--cream), rgba(246, 239, 225, 0.25));
}

.timeline__item--break + .timeline__item {
	border-top: 0;
}

.timeline__item--break .timeline__time {
	font-size: 1rem;
	color: var(--ink-soft);
}

.timeline__item--break .timeline__title {
	font-weight: 500;
	color: var(--ink-soft);
}

.session__number {
	margin: 0 0 6px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--gold-ink);
}

.session__number sup {
	font-size: 0.7em;
}

.session__title {
	margin: 0;
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
	font-weight: 700;
	line-height: 1.4;
	color: var(--olive-900);
}

.session__title-ar {
	font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
	font-weight: 600;
	line-height: 1.75;
	color: var(--olive-700);
}

.bilingual--compact {
	grid-template-columns: minmax(0, 1.25fr) 1px minmax(0, 1fr);
	column-gap: clamp(18px, 2.5vw, 32px);
}

.roles {
	display: grid;
	gap: 12px;
	margin: 18px 0 0;
}

.roles__row {
	display: grid;
	grid-template-columns: 136px minmax(0, 1fr);
	gap: 16px;
}

.roles__label {
	padding-top: 2px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--ink-soft);
}

.roles__people,
.roles__talk {
	margin: 0;
	font-size: 0.9375rem;
}

.roles__talk {
	font-style: italic;
}

.topics {
	margin: 14px 0 0;
	padding-left: 1.2em;
	font-size: 0.9375rem;
}

.topics li {
	margin: 5px 0;
	padding-left: 4px;
}

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

.topics ul {
	margin: 4px 0 6px;
	padding-left: 1.3em;
}

.topics ul li::marker {
	content: "– ";
}

.focus-details {
	margin-top: 16px;
}

.focus-details summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 6px 14px;
	border: 1px solid var(--cream-line);
	border-radius: 999px;
	color: var(--olive-800);
	font-size: 0.875rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
	transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.focus-details summary::-webkit-details-marker {
	display: none;
}

.focus-details summary:hover {
	border-color: var(--gold-500);
	background: #fcf9f1;
}

.focus-details__chevron {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--ease);
}

.focus-details[open] .focus-details__chevron {
	transform: rotate(180deg);
}

/* 11. Fees ---------------------------------------------------------------- */

.fees {
	padding-block: var(--section-y);
	background: var(--cream);
}

.fee-table-wrap {
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--shadow-card);
}

.fee-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.fee-table th,
.fee-table td {
	padding: 18px 20px;
	border-bottom: 1px solid var(--paper-line);
	text-align: center;
	vertical-align: middle;
}

.fee-table thead th {
	border-bottom: 0;
}

.fee-table__corner {
	width: 34%;
	color: var(--ink-soft);
	font-size: 0.875rem;
	font-weight: 600;
	text-align: left !important;
	vertical-align: bottom !important;
}

.fee-table__group {
	color: #fff;
}

.fee-table__group--physical {
	background: var(--navy);
}

.fee-table__group--online {
	background: var(--blue);
}

.fee-table__group-name {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1.125rem;
	font-weight: 700;
}

.fee-table__group-note {
	display: block;
	margin-top: 4px;
	font-size: 0.8125rem;
	font-weight: 500;
	opacity: 0.92;
}

.fee-table__mode {
	background: var(--slate);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
}

.fee-table__mode-note {
	display: block;
	font-size: 0.75rem;
	font-weight: 500;
}

.fee-table__package {
	text-align: left !important;
	font-weight: 700;
	color: var(--olive-900);
}

.fee-table__package-note {
	display: block;
	margin-top: 2px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--ink-soft);
}

.fee-table__currency {
	margin-right: 4px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ink-soft);
}

.fee-table__amount {
	font-family: var(--font-figures);
	font-size: 1.75rem;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	color: var(--olive-900);
}

.fee-table tbody tr:last-child > * {
	border-bottom: 0;
}

.fee-table tbody tr:hover > * {
	background: #fcf9f1;
}

.fee-table__price--online {
	background: rgba(11, 107, 194, 0.035);
}

.fees__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	margin-top: 28px;
}

.fees__note,
.fees__closed {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--ink-soft);
}

.fees__closed {
	font-weight: 600;
	color: var(--olive-800);
}

/* 12. Partners and call to action ---------------------------------------- */

.partners {
	padding-block: clamp(56px, 7vw, 96px);
	background: #fff;
}

.partners__figure {
	max-width: 1180px;
	margin: clamp(28px, 4vw, 48px) auto 0;
}

.partners__figure img {
	width: 100%;
}

.cta-band {
	padding-block: clamp(56px, 7vw, 88px);
	color: #fff;
	background-color: var(--olive-600);
	background-position: center;
	background-size: cover;
}

.cta-band__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px 48px;
	max-width: 1080px;
}

.cta-band__title {
	max-width: 22ch;
	margin: 0;
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.2;
}

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

/* 13. Footer -------------------------------------------------------------- */

.site-footer {
	position: relative;
	isolation: isolate;
	padding-top: clamp(56px, 7vw, 88px);
	color: #fff;
	background-color: var(--olive-450);
	background-position: center bottom;
	background-size: cover;
	border-top: 10px solid;
	border-image: linear-gradient(90deg, #c6b47c 44.31%, var(--navy-deep) 99.24%) 1 0 0 0;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(52, 52, 33, 0.35);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1.4fr 0.9fr 0.9fr;
	gap: 40px;
}

.site-footer__logo {
	display: inline-block;
}

.site-footer__logo img {
	width: 210px;
	height: auto;
}

.site-footer__organiser {
	max-width: 30ch;
	margin: 18px 0 0;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.85);
}

.site-footer__heading {
	margin: 0 0 16px;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--gold-300);
}

.contact-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.contact-list .icon {
	margin-top: 2px;
	color: var(--gold-300);
}

.contact-list a {
	color: inherit;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact-list a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.site-footer__links {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
}

.site-footer__links a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
}

.site-footer__links a:hover {
	color: var(--gold-300);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-links__link {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: #fff;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.social-links__link:hover {
	border-color: var(--gold-400);
	background: var(--gold-400);
	color: var(--olive-900);
}

.site-footer__bottom {
	margin-top: clamp(40px, 5vw, 64px);
	padding-block: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.8);
}

.site-footer__bottom p {
	margin: 0;
}

.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--gold-400);
	color: var(--olive-900);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
}

.back-to-top:hover {
	background: var(--gold-300);
}

/* 14. Inner pages, contact, forms ----------------------------------------- */

.page-banner {
	position: relative;
	isolation: isolate;
	padding: calc(var(--header-h-solid) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px);
	color: #fff;
	background-color: var(--olive-700);
	background-position: center 40%;
	background-size: cover;
}

.page-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(52, 52, 33, 0.94) 0%, rgba(52, 52, 33, 0.82) 55%, rgba(52, 52, 33, 0.6) 100%);
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.8);
}

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

.breadcrumb a {
	color: var(--gold-300);
	text-underline-offset: 4px;
}

.page-banner__title {
	margin: 0;
	font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
	font-weight: 700;
	line-height: 1.12;
}

.page-banner__lead {
	max-width: 60ch;
	margin: 14px 0 0;
	font-size: 1.0625rem;
	color: rgba(255, 255, 255, 0.9);
}

.page-content {
	padding-block: clamp(48px, 6vw, 88px);
}

.entry-meta {
	color: var(--ink-soft);
	font-size: 0.9375rem;
}

.entry-image {
	margin: 0 0 1.5em;
}

.post-list {
	display: grid;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.post-list__item {
	padding-bottom: 32px;
	border-bottom: 1px solid var(--paper-line);
}

.post-list__title {
	margin: 0;
	font-size: 1.375rem;
}

.post-list__title a {
	color: var(--olive-900);
	text-decoration: none;
}

.post-list__title a:hover {
	color: var(--gold-ink);
}

.is-subpage .site-main {
	background: #fff;
}

.page-template-page-contact-us .site-main,
.page-contact-us .site-main {
	background: var(--cream);
}

.contact {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
	padding-block: clamp(48px, 6vw, 88px);
}

.contact__heading {
	margin: 0 0 20px;
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--olive-900);
}

.contact__heading--small {
	margin-top: 40px;
	font-size: 1rem;
}

.contact-list--large {
	gap: 22px;
	font-size: 1rem;
}

.contact-list--large .icon {
	width: 22px;
	height: 22px;
	color: var(--gold-ink);
}

.contact-list__label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--ink-soft);
}

.contact-list--large a {
	color: var(--olive-900);
	font-weight: 600;
}

.social-links--labelled {
	display: grid;
	gap: 6px;
}

.social-links--labelled .social-links__link {
	display: inline-flex;
	gap: 12px;
	width: auto;
	height: auto;
	padding: 8px 0;
	border: 0;
	border-radius: 0;
	color: var(--olive-900);
	font-weight: 600;
	text-decoration: none;
}

.social-links--labelled .social-links__link .icon {
	color: var(--gold-ink);
}

.social-links--labelled .social-links__link:hover {
	background: none;
	color: var(--gold-ink);
}

.contact__form {
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--paper-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--shadow-card);
}

.contact__intro {
	margin-bottom: 24px;
}

/* Contact Form 7 */

.form-skin .wpcf7-form p {
	margin: 0 0 20px;
}

.form-skin label {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--olive-900);
}

.form-skin .wpcf7-form-control-wrap {
	display: block;
	margin-top: 8px;
}

.form-skin input[type="text"],
.form-skin input[type="email"],
.form-skin input[type="tel"],
.form-skin input[type="url"],
.form-skin input[type="number"],
.form-skin input[type="date"],
.form-skin select,
.form-skin textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #d6ccb4;
	border-radius: 4px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-skin textarea {
	min-height: 170px;
	resize: vertical;
}

.form-skin input:focus,
.form-skin select:focus,
.form-skin textarea:focus {
	border-color: var(--gold-500);
	outline: none;
	box-shadow: 0 0 0 3px rgba(210, 176, 76, 0.35);
}

.form-skin input[type="submit"],
.form-skin .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 12px 28px;
	border: 0;
	border-radius: 3px;
	background: var(--gold-400);
	color: var(--olive-900);
	font: 600 1rem/1.2 var(--font-sans);
	cursor: pointer;
	transition: background-color 0.2s var(--ease);
}

.form-skin input[type="submit"]:hover,
.form-skin .wpcf7-submit:hover {
	background: var(--gold-300);
}

.form-skin .wpcf7-not-valid {
	border-color: #b3261e;
}

.form-skin .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #b3261e;
	font-size: 0.8125rem;
	font-weight: 500;
}

.form-skin .wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 12px 16px;
	border: 1px solid;
	border-radius: 4px;
	font-size: 0.9375rem;
}

.form-skin .wpcf7 form.sent .wpcf7-response-output {
	border-color: #2e7d32;
	background: #eef7ef;
	color: #1d4d20;
}

.form-skin .wpcf7 form.invalid .wpcf7-response-output,
.form-skin .wpcf7 form.unaccepted .wpcf7-response-output,
.form-skin .wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #b7791f;
	background: #fff8e6;
	color: #6b4a0f;
}

.form-skin .wpcf7 form.failed .wpcf7-response-output,
.form-skin .wpcf7 form.aborted .wpcf7-response-output,
.form-skin .wpcf7 form.spam .wpcf7-response-output {
	border-color: #b3261e;
	background: #fdecec;
	color: #7a1712;
}

/* 15. Registration pop-ups ------------------------------------------------ */

.regmodal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	color: var(--ink);
}

.regmodal[hidden] {
	display: none;
}

.regmodal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(36, 36, 22, 0.74);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.regmodal.is-open .regmodal__backdrop {
	opacity: 1;
}

.regmodal__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 820px;
	max-height: calc(100dvh - 48px);
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
	outline: 0;
	opacity: 0;
	transform: translateY(16px) scale(0.985);
	transition: transform 0.3s var(--ease), opacity 0.25s ease;
}

.regmodal.is-open .regmodal__dialog {
	opacity: 1;
	transform: none;
}

.regmodal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	border-bottom: 3px solid var(--gold-400);
	background: var(--olive-800);
	color: #fff;
}

.regmodal__kicker {
	margin: 0 0 2px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--gold-300);
}

.regmodal__title {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
}

.regmodal__close {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
}

.regmodal__close:hover {
	background: rgba(255, 255, 255, 0.18);
}

.regmodal__body {
	overflow-y: auto;
	padding: 20px 22px 22px;
	-webkit-overflow-scrolling: touch;
}

.regmodal__summary {
	margin-bottom: 16px;
	padding: 14px 16px;
	border-left: 3px solid var(--gold-500);
	border-radius: 4px;
	background: var(--cream);
}

.regmodal__theme {
	margin: 0 0 10px;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--olive-900);
}

.regmodal__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	font-weight: 500;
}

.regmodal__facts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.regmodal__facts .icon {
	width: 16px;
	height: 16px;
	color: var(--gold-ink);
}

.regmodal__facts--boxed {
	flex-direction: column;
	margin: 0 0 22px;
	padding: 14px 16px;
	border: 1px dashed var(--cream-line);
	border-radius: 6px;
	background: #fcf9f1;
	text-align: left;
}

.regmodal__frame {
	position: relative;
	min-height: 320px;
	overflow: hidden;
	border: 1px solid var(--paper-line);
	border-radius: 6px;
}

.regmodal__frame iframe {
	width: 100%;
	height: 70vh;
	min-height: 420px;
	border: 0;
	background: #fff;
}

.regmodal__loader {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: #fff;
	color: var(--ink-soft);
	font-size: 0.9375rem;
	transition: opacity 0.25s ease;
}

.regmodal__loader.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.regmodal__spinner {
	width: 38px;
	height: 38px;
	border: 3px solid var(--cream-line);
	border-top-color: var(--gold-500);
	border-radius: 50%;
	animation: issf-spin 0.8s linear infinite;
}

.regmodal__fallback {
	margin: 12px 2px 0;
	font-size: 0.875rem;
	color: var(--ink-soft);
}

.regmodal__fallback a {
	color: var(--gold-ink);
	font-weight: 600;
}

.regmodal--success .regmodal__dialog {
	max-width: 500px;
	text-align: center;
}

.regmodal__success {
	padding: 40px 30px 30px;
	overflow-y: auto;
}

.regmodal__tick {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--olive-700);
	box-shadow: 0 0 0 8px rgba(210, 176, 76, 0.25);
}

.regmodal__tick svg {
	width: 46px;
	height: 46px;
	fill: none;
	stroke: var(--gold-300);
	stroke-width: 3.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 40;
	stroke-dashoffset: 0;
}

.regmodal.is-open .regmodal__tick svg {
	animation: issf-draw 0.5s 0.25s ease both;
}

.regmodal__success-title {
	margin: 0 0 10px;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--olive-900);
}

.regmodal__success p {
	margin: 0 0 20px;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.regmodal__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

/* Motion: one load sequence in the hero ------------------------------------- */

@keyframes issf-rule {
	from {
		transform: scaleY(0);
	}

	to {
		transform: scaleY(1);
	}
}

@keyframes issf-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

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

@keyframes issf-draw {
	from {
		stroke-dashoffset: 40;
	}

	to {
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.hero__theme::before {
		transform-origin: top;
		animation: issf-rule 1s 0.2s var(--ease) both;
	}

	.hero__theme .bilingual__en {
		animation: issf-rise 0.8s 0.1s var(--ease) both;
	}

	.hero__theme .bilingual__ar {
		animation: issf-rise 0.8s 0.45s var(--ease) both;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1279px) {
	/* Bilingual text stacks: Arabic first, as in the brochure. */
	.hero__theme {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 18px;
	}

	.hero__theme::before {
		grid-row: 2;
		grid-column: 1;
		width: 72px;
		height: 1px;
		background: var(--gold-400);
	}

	.hero__theme .bilingual__ar {
		grid-row: 1;
		grid-column: 1;
	}

	.hero__theme .bilingual__en {
		grid-row: 3;
		grid-column: 1;
	}

	@media (prefers-reduced-motion: no-preference) {
		.hero__theme::before {
			transform-origin: right;
			animation-name: issf-rule-x;
		}
	}
}

@keyframes issf-rule-x {
	from {
		transform: scaleX(0);
	}

	to {
		transform: scaleX(1);
	}
}

@media (max-width: 1199px) {
	/* The badge moves to its own row once the buttons fill the width. */
	.hero__badge {
		flex-basis: 100%;
		margin-left: 0;
		padding-left: 0;
		border-left: 0;
	}

	.site-nav__list a {
		padding-inline: 10px;
		font-size: 0.875rem;
	}

	.site-nav__list a::after {
		right: 10px;
		left: 10px;
	}

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

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

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

/* Hamburger menu below 1024px */
@media (max-width: 1023px) {
	.site-header__toggle {
		display: grid;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		max-height: calc(100dvh - var(--header-h-solid));
		overflow-y: auto;
		padding: 8px var(--gutter) 28px;
		background: var(--olive-800);
		box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		/* Hide only after the fade-out finishes... */
		transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
	}

	.site-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
		/* ...but show at once, so the first link can take focus. */
		transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-nav__list a {
		padding: 15px 2px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		font-size: 1.0625rem;
	}

	.site-nav__list a::after {
		display: none;
	}

	.site-header__actions {
		margin-left: auto;
	}
}

/* Single-column hero below 960px */
@media (max-width: 959px) {
	:root {
		--header-h: 68px;
	}

	/* The header is solid on small screens; the artwork below shows the arch. */
	.site-header {
		background: rgba(62, 62, 43, 0.97);
	}

	.is-onepage .site-header:not(.is-solid) .site-header__brand {
		opacity: 1;
		visibility: visible;
	}

	.site-header__brand img {
		height: 42px;
	}

	.hero__inner {
		display: block;
		min-height: 0;
	}

	.hero__art {
		height: clamp(260px, 62vw, 440px);
		margin-top: var(--header-h);
	}

	.hero__art img {
		left: 0;
		width: 100%;
		object-fit: cover;
		object-position: 50% 42%;
	}

	.hero__body {
		padding: 40px var(--gutter) 56px;
	}

	.hero__badge {
		margin-left: 0;
		padding-left: 0;
		border-left: 0;
	}

	.about__inner,
	.course__inner,
	.contact {
		grid-template-columns: minmax(0, 1fr);
	}

	.about__media {
		height: clamp(280px, 70vw, 460px);
	}

	.about__body {
		padding: 56px var(--gutter);
	}

	.speaker-dialog__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.speaker-dialog__photo {
		width: min(220px, 60%);
	}
}

@media (max-width: 767px) {
	.focus__list,
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.speaker__name {
		margin-top: 16px;
		font-size: 1rem;
	}

	.countdown__inner {
		gap: 14px;
	}

	/* Programme tabs become compact day chips. */
	.tabs__list {
		gap: 6px;
	}

	.tabs__tab {
		flex-direction: column;
		align-items: center;
		gap: 6px;
		min-height: 0;
		padding: 12px 8px;
		text-align: center;
	}

	.tabs__note {
		display: none;
	}

	.tabs__name {
		font-size: 0.875rem;
	}

	.sheet__head {
		flex-direction: column-reverse;
		gap: 8px;
	}

	.timeline__item {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
		padding-block: 20px;
	}

	.timeline__item--break {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 14px;
		align-items: baseline;
	}

	.bilingual--compact {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 6px;
	}

	.bilingual--compact::before {
		display: none;
	}

	.bilingual--compact .bilingual__en,
	.bilingual--compact .bilingual__ar {
		grid-column: 1;
		grid-row: auto;
	}

	.roles__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}

	/* Fee table becomes one card per package. */
	.fee-table-wrap {
		overflow: visible;
		background: none;
		box-shadow: none;
	}

	.fee-table,
	.fee-table tbody,
	.fee-table tr,
	.fee-table th,
	.fee-table td {
		display: block;
		width: 100%;
	}

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

	.fee-table tbody tr {
		overflow: hidden;
		margin-bottom: 16px;
		border-radius: 8px;
		background: #fff;
		box-shadow: var(--shadow-card);
	}

	.fee-table tbody tr:hover > * {
		background: transparent;
	}

	.fee-table__package {
		padding: 14px 18px !important;
		background: var(--olive-700) !important;
		color: #fff !important;
	}

	.fee-table__package-note {
		color: rgba(255, 255, 255, 0.8);
	}

	.fee-table__price {
		display: flex !important;
		align-items: baseline;
		gap: 12px;
		padding: 14px 18px !important;
		text-align: left !important;
		box-shadow: inset 4px 0 0 var(--navy);
	}

	.fee-table__price--online {
		box-shadow: inset 4px 0 0 var(--blue);
	}

	.fee-table__price::before {
		content: attr(data-label);
		flex: 1;
		font-size: 0.875rem;
		font-weight: 600;
		line-height: 1.4;
		color: var(--ink);
	}

	.fee-table tbody tr:last-child .fee-table__price:last-child {
		border-bottom: 0;
	}

	.fee-table__amount {
		font-size: 1.5rem;
	}

	.fees__foot .btn {
		width: 100%;
	}

	.cta-band__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.cta-band__actions,
	.cta-band__actions .btn,
	.hero__actions .btn {
		width: 100%;
	}

	.regmodal {
		align-items: flex-end;
		padding: 0;
	}

	.regmodal__dialog {
		max-height: 94dvh;
		border-radius: 14px 14px 0 0;
	}

	.regmodal__frame iframe {
		height: 75vh;
	}
}

@media (max-width: 420px) {
	.countdown__clock {
		gap: 14px;
	}

	.countdown__unit {
		flex-direction: column;
		align-items: center;
		gap: 2px;
	}

	.countdown__num {
		text-align: center;
	}

	.speaker-grid {
		gap: 32px 12px;
	}

	.speaker__role,
	.speaker__org {
		font-size: 0.8125rem;
	}
}

/* Bigger touch targets on phones and tablets */
@media (pointer: coarse) {
	.person-link {
		display: inline-block;
		padding-block: 8px;
	}

	.name-list {
		gap: 0;
	}

	.speaker__more {
		padding-block: 12px;
	}
}

/* Print: the programme on paper ------------------------------------------- */

@media print {
	.site-header,
	.skip-link,
	.back-to-top,
	.countdown,
	.hero__art,
	.hero__actions,
	.course__actions,
	.cta-band,
	.site-footer,
	.regmodal,
	.speaker-dialog,
	.speaker__more,
	.tabs__list,
	.focus-details summary {
		display: none !important;
	}

	body {
		color: #000;
		font-size: 11pt;
	}

	.hero,
	.about,
	.focus,
	.course,
	.speakers,
	.programme,
	.fees,
	.partners {
		padding: 12pt 0 !important;
		background: none !important;
		color: #000 !important;
	}

	.speakers::before,
	.about__media {
		display: none;
	}

	.hero__inner,
	.about__inner,
	.course__inner {
		display: block;
		min-height: 0;
	}

	.hero__body {
		padding: 0;
	}

	.section-title--on-dark,
	.prose--on-dark,
	.speaker__name,
	.course__when,
	.hero__theme .bilingual__ar {
		color: #000 !important;
	}

	.js .tabs__panel[data-inactive] {
		display: block;
	}

	.tabs__panel {
		box-shadow: none;
		break-before: page;
	}

	.timeline__item {
		break-inside: avoid;
	}
}
