/*
 * Dar Ul Noor Academy Blocks
 * Draft front-end styles. Self-hosted fonts only, no external services.
 */

@font-face {
	font-family: "Lora";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/lora-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Lora";
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/lora-latin-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Nunito Sans";
	font-style: normal;
	font-weight: 400 800;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/nunito-sans-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Noto Naskh Arabic";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/noto-naskh-arabic.woff2") format("woff2");
}

:root {
	--dun-deep-green: #244238;
	--dun-forest: #3a6652;
	--dun-forest-mid: #477661;
	--dun-gold: #b58b43;
	--dun-gold-light: #ecd9ae;
	--dun-gold-deep: #7c5a22;
	--dun-cream: #faf7ef;
	--dun-cream-deep: #f3ecdd;
	--dun-sand: #f8ecd2;
	--dun-sage: #e6eee7;
	--dun-sage-deep: #cfdfd3;
	--dun-ink: #1d2923;
	--dun-muted: #4e5d54;
	--dun-white: #fffdf8;
	--dun-surface: #fffdf8;
	--dun-surface-2: #f3ecdd;
	--dun-line: rgba(181, 139, 67, 0.28);
	--dun-line-soft: rgba(181, 139, 67, 0.16);
	--dun-display: "Lora", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--dun-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
	--dun-arabic: "Noto Naskh Arabic", "Traditional Arabic", "Arabic Typesetting", serif;
	--dun-shell: 78rem;
	--dun-gutter: clamp(1.25rem, 4vw, 2.75rem);
	--dun-radius-sm: 0.875rem;
	--dun-radius: 1.5rem;
	--dun-radius-lg: 1.75rem;
	--dun-border: #d6dcd4;
	--dun-shadow-soft: 0 1px 2px rgba(13, 43, 31, 0.04), 0 14px 30px rgba(13, 43, 31, 0.06);
	--dun-shadow: 0 20px 44px rgba(13, 43, 31, 0.1);
	--dun-shadow-lift: 0 2px 4px rgba(13, 43, 31, 0.05), 0 26px 50px rgba(13, 43, 31, 0.14);
	--dun-focus: #2f6b53;
	--dun-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--dun-dur: 220ms;
	--dun-dur-card: 300ms;
	--dun-linework: url("../images/linework-gold.svg");
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--dun-cream);
	color: var(--dun-ink);
	font-family: var(--dun-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
}

::selection {
	background-color: var(--dun-gold);
	color: var(--dun-deep-green);
}

/* Accessibility */

.dun-skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 9999;
	transform: translateY(-200%);
	padding: 0.75rem 1rem;
	border-radius: var(--dun-radius-sm);
	background-color: var(--dun-gold);
	color: var(--dun-deep-green);
	font-weight: 700;
	text-decoration: none;
}

.dun-skip-link:focus {
	transform: none;
}

a:focus-visible,
button:focus-visible,
.wp-element-button:focus-visible {
	outline: 3px solid var(--dun-gold-deep);
	outline-offset: 3px;
}

.dun-hero a:focus-visible,
.dun-section--deep a:focus-visible,
.dun-footer a:focus-visible,
.dun-draft-bar a:focus-visible,
.dun-hero button:focus-visible,
.dun-section--deep button:focus-visible {
	outline-color: var(--dun-gold-light);
}

/* Layout */

.dun-main {
	overflow-x: clip;
}

.dun-shell {
	width: 100%;
	max-width: var(--dun-shell);
	margin-inline: auto;
	padding-inline: var(--dun-gutter);
}

.dun-header .dun-shell {
	max-width: 80rem;
}

.dun-footer .dun-shell {
	max-width: 66rem;
}

/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-block: 0;
	color: var(--dun-deep-green);
	font-family: var(--dun-display);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);
}

h2 {
	font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);
}

h3 {
	font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem);
}

p {
	margin-block: 0;
}

.dun-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	color: var(--dun-forest);
	font-family: var(--dun-body);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.dun-eyebrow::before {
	content: "";
	flex: 0 0 auto;
	width: 1.75rem;
	height: 1px;
	background-color: var(--dun-gold);
}

.dun-intro {
	max-width: 46rem;
	margin-bottom: 0;
}

.dun-intro--center {
	margin-inline: auto;
	text-align: center;
}

.dun-intro--center .dun-eyebrow {
	justify-content: center;
}

.dun-intro__heading {
	margin-top: 0.85rem;
}

.dun-intro__body {
	max-width: 42rem;
	margin-top: 1rem;
	color: var(--dun-muted);
	font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
}

.dun-intro--center .dun-intro__body {
	margin-inline: auto;
}

.dun-intro__note {
	margin-top: 1.25rem;
	padding-left: 1rem;
	border-left: 3px solid var(--dun-gold);
	color: var(--dun-muted);
	font-size: 0.95rem;
}

.dun-arabic {
	margin: 0;
	color: var(--dun-gold-light);
	font-family: var(--dun-arabic);
	font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem);
	line-height: 1.6;
}

.dun-text-link {
	color: var(--dun-forest);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--dun-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
	transition: color var(--dun-dur) var(--dun-ease), text-decoration-color var(--dun-dur) var(--dun-ease);
}

.dun-text-link:hover {
	color: var(--dun-gold-deep);
	text-decoration-color: currentColor;
}

/* Buttons */

.wp-block-buttons {
	gap: 0.75rem;
}

.wp-block-button {
	margin: 0;
}

.wp-block-button__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	overflow: hidden;
	padding: 0.85rem 1.4rem;
	border: 1.5px solid transparent;
	border-radius: var(--dun-radius-sm);
	font-family: var(--dun-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color var(--dun-dur) var(--dun-ease), border-color var(--dun-dur) var(--dun-ease), box-shadow var(--dun-dur) var(--dun-ease), color var(--dun-dur) var(--dun-ease), transform var(--dun-dur) var(--dun-ease);
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
}

.wp-block-button__link:active {
	transform: translateY(0);
}

.wp-block-button__link.has-gold-background-color {
	border-color: rgba(255, 255, 255, 0.28);
	background-color: var(--dun-gold);
	background-image: linear-gradient(135deg, #dcc184 0%, var(--dun-gold) 58%, #b89343 100%);
	box-shadow: 0 6px 14px rgba(13, 43, 31, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.42);
	color: var(--dun-deep-green);
}

.wp-block-button__link.has-gold-background-color::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.34) 50%, transparent 70%);
	transform: translateX(-130%);
	transition: transform 520ms var(--dun-ease);
	pointer-events: none;
}

.wp-block-button__link.has-gold-background-color:hover {
	border-color: rgba(255, 255, 255, 0.42);
	background-color: var(--dun-gold-light);
	background-image: linear-gradient(135deg, #ecd9a6 0%, var(--dun-gold-light) 58%, #c8a75a 100%);
	box-shadow: 0 12px 24px rgba(13, 43, 31, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.55);
	color: var(--dun-deep-green);
}

.wp-block-button__link.has-gold-background-color:hover::after {
	transform: translateX(130%);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: rgba(23, 71, 52, 0.4);
	background-color: transparent;
	color: var(--dun-forest);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--dun-deep-green);
	background-color: rgba(181, 139, 67, 0.12);
	box-shadow: 0 8px 18px rgba(13, 43, 31, 0.06);
	color: var(--dun-deep-green);
}

.dun-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.dun-section--deep .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: rgba(250, 247, 239, 0.52);
	color: var(--dun-cream);
}

.dun-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.dun-section--deep .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--dun-gold-light);
	background-color: rgba(250, 247, 239, 0.1);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
	color: var(--dun-gold-light);
}

/* Draft bar */

.dun-draft-bar {
	padding-block: 0.4rem;
	border-bottom: 1px solid rgba(181, 139, 67, 0.35);
	background-color: var(--dun-deep-green);
	color: var(--dun-cream);
}

.dun-draft-bar__text {
	margin: 0;
	color: var(--dun-gold-light);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-align: center;
	text-transform: uppercase;
}

/* Header */

.dun-header {
	position: sticky;
	top: 0;
	z-index: 90;
	border-bottom: 1px solid var(--dun-line-soft);
	background-color: rgba(250, 247, 239, 0.94);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	box-shadow: 0 4px 18px rgba(13, 43, 31, 0.04);
}

.dun-header::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 1px;
	background-image: linear-gradient(90deg, transparent, rgba(181, 139, 67, 0.55), transparent);
	pointer-events: none;
}

.admin-bar .dun-header {
	top: 32px;
}

.dun-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 5rem;
}

.dun-header__inner > * + * {
	margin-block-start: 0;
}

.dun-header__brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.dun-header__brand > * + * {
	margin-block-start: 0;
}

.dun-header__mark {
	flex: 0 0 auto;
	margin: 0;
	line-height: 0;
}

.dun-header__mark img {
	display: block;
	width: auto;
	height: 3.5rem;
	object-fit: contain;
}

.dun-header__brand-text {
	min-width: 0;
}

.dun-header__brand-text > * + * {
	margin-block-start: 0.12rem;
}

.dun-header__site-title {
	margin: 0;
	font-family: var(--dun-display);
	font-size: 1.08rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.dun-header__site-title a {
	color: var(--dun-deep-green);
	text-decoration: none;
}

.dun-header__site-title a:hover {
	color: var(--dun-forest);
}

.dun-header__descriptor {
	margin-top: 0.12rem;
	color: var(--dun-muted);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.dun-header__nav-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
}

.dun-header__nav-wrap > * + * {
	margin-block-start: 0;
}

.dun-nav .wp-block-navigation__container {
	align-items: center;
	gap: 0.15rem 0.2rem;
}

.dun-nav .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.6rem;
	border: 1px solid transparent;
	border-radius: 0.7rem;
	color: var(--dun-deep-green);
	font-size: 0.94rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color var(--dun-dur) var(--dun-ease), border-color var(--dun-dur) var(--dun-ease), color var(--dun-dur) var(--dun-ease);
}

.dun-nav .wp-block-navigation-item__content:hover,
.dun-nav .wp-block-navigation-item__content:focus {
	border-color: rgba(181, 139, 67, 0.28);
	background-color: rgba(181, 139, 67, 0.12);
	color: var(--dun-deep-green);
}

.dun-nav .current-menu-item > .wp-block-navigation-item__content,
.dun-nav .current_page_item > .wp-block-navigation-item__content {
	border-color: rgba(181, 139, 67, 0.32);
	background-color: rgba(181, 139, 67, 0.16);
	color: var(--dun-deep-green);
}

.dun-nav .current-menu-item > .wp-block-navigation-item__content::before,
.dun-nav .current_page_item > .wp-block-navigation-item__content::before {
	content: "";
	flex: 0 0 auto;
	width: 0.32rem;
	height: 0.32rem;
	border-radius: 50%;
	background-color: var(--dun-gold-deep);
}

.dun-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--dun-border);
	border-radius: var(--dun-radius-sm);
	background-color: var(--dun-white);
	box-shadow: var(--dun-shadow-soft);
}

/* Keep the primary navigation on one line just above the mobile switch. */
@media (max-width: 1040px) {
	.dun-nav .wp-block-navigation__container {
		gap: 0.1rem;
	}

	.dun-nav .wp-block-navigation-item__content {
		padding-block: 0.55rem;
		padding-inline: 0.45rem;
		font-size: 0.9rem;
	}
}

.dun-header__actions {
	margin: 0;
}

.dun-header__actions .wp-block-button__link {
	padding: 0.7rem 1.1rem;
	font-size: 0.9rem;
	white-space: nowrap;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	padding: 0.55rem;
	border: 1px solid rgba(181, 139, 67, 0.32);
	border-radius: var(--dun-radius-sm);
	background-color: rgba(255, 253, 248, 0.72);
	color: var(--dun-deep-green);
	transition: background-color var(--dun-dur) var(--dun-ease), border-color var(--dun-dur) var(--dun-ease);
}

.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-open:focus,
.wp-block-navigation__responsive-container-close:hover,
.wp-block-navigation__responsive-container-close:focus {
	border-color: rgba(181, 139, 67, 0.6);
	background-color: rgba(181, 139, 67, 0.14);
}

.wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem;
	background-color: var(--dun-cream);
	color: var(--dun-ink);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 0.5rem;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.1rem;
}

/* Sections */

.dun-section {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.dun-section > .dun-shell {
	position: relative;
	z-index: 1;
}

.dun-section--cream {
	background-color: var(--dun-cream);
}

.dun-section--sage {
	background-color: var(--dun-sage);
	background-image:
		radial-gradient(90% 130% at 88% 0%, rgba(255, 255, 255, 0.5), transparent 62%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 38%);
}

.dun-section--sand {
	background-color: var(--dun-sand);
	background-image:
		radial-gradient(90% 130% at 88% 0%, rgba(255, 255, 255, 0.45), transparent 62%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 38%);
}

.dun-section--deep {
	background-color: var(--dun-deep-green);
	background-image:
		var(--dun-linework),
		radial-gradient(110% 100% at 88% 0%, rgba(232, 211, 164, 0.1), transparent 58%),
		linear-gradient(160deg, #3a6652 0%, #244238 100%);
	background-repeat: no-repeat, no-repeat, no-repeat;
	background-position: right bottom, center, center;
	background-size: auto 6.5rem, auto, auto;
	color: var(--dun-cream);
}

.dun-section--deep h2,
.dun-section--deep h3 {
	color: var(--dun-cream);
}

.dun-section--deep .dun-intro__body,
.dun-section--deep .dun-intro__note {
	color: rgba(250, 247, 239, 0.82);
}

.dun-section--deep .dun-eyebrow {
	color: var(--dun-gold-light);
}

.dun-section .dun-shell > * + * {
	margin-block-start: clamp(2rem, 4vw, 3rem);
}

/* Hero */

.dun-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(4rem, 8vw, 7rem);
	border-bottom: 3px solid var(--dun-gold);
	background-color: var(--dun-deep-green);
	background-image: radial-gradient(110% 140% at 82% 0%, #477661 0%, #3a6652 38%, #244238 100%);
	color: var(--dun-cream);
}

.dun-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--dun-linework);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: auto 6.5rem;
	pointer-events: none;
}

.dun-hero .dun-shell {
	position: relative;
	z-index: 1;
}

.dun-noor-watermark {
	position: absolute;
	top: 50%;
	right: clamp(-3rem, 1vw, 2rem);
	z-index: -1;
	transform: translateY(-50%);
	color: rgba(232, 211, 164, 0.07);
	font-family: var(--dun-arabic);
	font-size: clamp(12rem, 24vw, 24rem);
	line-height: 1;
	pointer-events: none;
	user-select: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}

.dun-hero__columns {
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.dun-hero__content-col {
	flex: 1 1 34rem;
}

.dun-hero__content-col > * + * {
	margin-block-start: 1rem;
}

.dun-hero__content-col > .dun-eyebrow + .dun-hero__title {
	margin-block-start: 0;
}

.dun-hero__arabic {
	margin: 0;
	color: var(--dun-gold-light);
	font-family: var(--dun-arabic);
	font-size: clamp(1.9rem, 1.4rem + 1.3vw, 2.6rem);
	line-height: 1.3;
}

.dun-hero__art-col {
	position: relative;
	display: flex;
	flex: 0 1 20rem;
	justify-content: center;
}

.dun-hero__seal {
	position: relative;
	display: grid;
	place-items: center;
	width: min(100%, 16.5rem);
	margin: 0;
	padding: 2rem;
	aspect-ratio: 1 / 1;
	border: 1px solid rgba(232, 211, 164, 0.6);
	border-radius: 50%;
	background-image: radial-gradient(circle at 50% 32%, #fffdf8 0%, #f8f1e3 55%, #ecd9b4 100%);
	box-shadow: 0 0 0 0.55rem rgba(232, 211, 164, 0.08), 0 0 0 0.62rem rgba(232, 211, 164, 0.28), 0 2.5rem 4.5rem rgba(0, 0, 0, 0.28);
}

.dun-hero__seal::before {
	content: "";
	position: absolute;
	inset: 0.55rem;
	border: 1px solid rgba(124, 90, 34, 0.22);
	border-radius: 50%;
	pointer-events: none;
}

.dun-hero__image {
	display: block;
	width: 100%;
	height: auto;
}

.dun-hero__eyebrow {
	color: var(--dun-gold-light);
}

.dun-hero__title {
	max-width: 15ch;
	margin: 0;
	color: var(--dun-cream);
	font-size: clamp(2.7rem, 1.6rem + 4.4vw, 4.6rem);
	letter-spacing: -0.012em;
	line-height: 1.06;
	text-wrap: balance;
}

.dun-hero__tagline {
	max-width: 34rem;
	margin: 0;
	padding-left: 1rem;
	border-left: 3px solid var(--dun-gold);
	color: var(--dun-cream);
	font-family: var(--dun-display);
	font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
	font-style: italic;
	line-height: 1.45;
}

.dun-hero__intro {
	max-width: 36rem;
	margin: 0;
	color: rgba(250, 247, 239, 0.84);
	font-size: 1.05rem;
}

.dun-hero__actions {
	margin-top: 1.75rem;
}

.dun-hero__meta {
	max-width: 32rem;
	margin: 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(232, 211, 164, 0.22);
	color: var(--dun-gold-light);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-transform: uppercase;
}

/* Cards */

.dun-card-grid,
.dun-program-grid,
.dun-stage-grid,
.dun-value-grid,
.dun-price-grid,
.dun-contact-grid {
	gap: 1.5rem;
	align-items: stretch;
}

.dun-stage-grid > .wp-block-column {
	flex: 1 1 15rem;
}

.dun-program-grid > .wp-block-column {
	flex: 1 1 22rem;
}

.dun-value-grid > .wp-block-column {
	flex: 1 1 18rem;
}

.dun-price-grid > .wp-block-column {
	flex: 1 1 16rem;
}

.dun-contact-grid > .wp-block-column {
	flex: 1 1 20rem;
}

.dun-goal-grid > .wp-block-column {
	flex: 1 1 14rem;
}

.dun-category-grid > .wp-block-column {
	flex: 1 1 15rem;
}

.dun-subject-grid > .wp-block-column {
	flex: 1 1 17rem;
}

.dun-about-grid > .wp-block-column {
	flex: 1 1 22rem;
}

.dun-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	padding: clamp(1.5rem, 3vw, 2rem);
	border: 1px solid var(--dun-line);
	border-radius: var(--dun-radius);
	background-color: var(--dun-surface);
	background-image: linear-gradient(180deg, var(--dun-surface) 0%, var(--dun-surface-2) 100%);
	box-shadow: var(--dun-shadow-soft);
	transition: border-color var(--dun-dur-card) var(--dun-ease), box-shadow var(--dun-dur-card) var(--dun-ease), transform var(--dun-dur-card) var(--dun-ease);
}

.dun-card::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background-image: linear-gradient(90deg, transparent, var(--dun-gold), transparent);
	opacity: 0;
	transform: scaleX(0.35);
	transform-origin: center;
	transition: opacity var(--dun-dur-card) var(--dun-ease), transform var(--dun-dur-card) var(--dun-ease);
	pointer-events: none;
}

.dun-card::after {
	content: "";
	position: absolute;
	top: 1.15rem;
	right: 1.15rem;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background-color: rgba(181, 139, 67, 0.4);
	transition: background-color var(--dun-dur) var(--dun-ease);
	pointer-events: none;
}

.dun-card:hover,
.dun-card:focus-within {
	border-color: rgba(181, 139, 67, 0.48);
	box-shadow: var(--dun-shadow-lift);
	transform: translateY(-5px);
}

.dun-card:hover::before,
.dun-card:focus-within::before {
	opacity: 1;
	transform: scaleX(1);
}

.dun-card:hover::after,
.dun-card:focus-within::after {
	background-color: rgba(181, 139, 67, 0.72);
}

.dun-card__index {
	transition: transform var(--dun-dur-card) var(--dun-ease), color var(--dun-dur-card) var(--dun-ease);
}

.dun-card:hover .dun-card__index,
.dun-card:focus-within .dun-card__index {
	transform: translateX(3px);
}

.dun-card > * + * {
	margin-block-start: 0.8rem;
}

.dun-card > .dun-card__link,
.dun-card > .dun-price-card__link,
.dun-card > .dun-contact-card__actions {
	margin-block-start: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--dun-line-soft);
}

.dun-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 1rem;
	background-color: var(--dun-sand);
	background-image: linear-gradient(145deg, #f7edd8 0%, #e6eee7 100%);
	box-shadow: inset 0 0 0 1px rgba(181, 139, 67, 0.34), 0 8px 16px rgba(13, 43, 31, 0.07);
	color: var(--dun-deep-green);
}

.dun-card__icon--small {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 0.8rem;
}

.dun-card__icon svg {
	width: 1.4rem;
	height: 1.4rem;
}

.dun-card__kicker {
	color: var(--dun-gold-deep);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.dun-card__title {
	font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem);
}

.dun-card__body {
	color: var(--dun-muted);
	font-size: 0.98rem;
}

.dun-section-actions {
	margin-top: 2rem;
}

/* Pricing */

.dun-price-card {
	border-top: 1px solid var(--dun-line);
}

.dun-price-card::before {
	height: 4px;
	background-image: linear-gradient(90deg, var(--dun-gold-deep), var(--dun-gold-light) 50%, var(--dun-gold));
	opacity: 1;
}

.dun-price-card__kicker {
	color: var(--dun-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.dun-price-card__title {
	font-size: 1.65rem;
}

.dun-price-card__classes {
	color: var(--dun-forest);
	font-weight: 700;
}

.dun-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem;
	margin-top: 1rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--dun-line-soft);
}

.dun-price__currency {
	color: var(--dun-gold-deep);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.dun-price__amount {
	color: var(--dun-deep-green);
	font-family: var(--dun-display);
	font-size: 2.35rem;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	line-height: 1;
}

.dun-price__suffix {
	color: var(--dun-muted);
	font-size: 0.85rem;
}

.dun-notes {
	position: relative;
	overflow: hidden;
	max-width: 50rem;
	margin: 2rem auto 0;
	padding: 1.6rem;
	border: 1px solid var(--dun-line);
	border-radius: var(--dun-radius);
	background-color: rgba(255, 253, 248, 0.78);
	background-image: linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(253, 248, 238, 0.72));
	box-shadow: 0 1px 2px rgba(13, 43, 31, 0.04), 0 12px 28px rgba(13, 43, 31, 0.05);
	text-align: center;
}

.dun-notes::after {
	content: "";
	position: absolute;
	top: 1.15rem;
	right: 1.15rem;
	width: 1.1rem;
	height: 2px;
	background-color: rgba(181, 139, 67, 0.5);
	pointer-events: none;
}

.dun-note {
	color: var(--dun-muted);
	font-size: 0.98rem;
}

.dun-note + .dun-note {
	margin-top: 0.75rem;
}

.dun-note--strong {
	color: var(--dun-deep-green);
	font-weight: 600;
}

/* Trial */

.dun-trial__columns {
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.dun-trial__content-col {
	flex: 1 1 34rem;
}

.dun-trial__mark-col {
	display: flex;
	flex: 0 0 18rem;
	justify-content: center;
}

.dun-trial__heading {
	margin-top: 0.85rem;
	color: var(--dun-cream);
	font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);
}

.dun-trial__body {
	max-width: 36rem;
	margin-top: 1rem;
	color: rgba(250, 247, 239, 0.82);
}

.dun-trial__actions {
	margin-top: 1.5rem;
}

.dun-trial__mark {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 13rem;
	height: 13rem;
	border: 1px solid rgba(232, 211, 164, 0.5);
	border-radius: 50%;
	background-color: rgba(181, 139, 67, 0.08);
	background-image: radial-gradient(circle at 50% 38%, rgba(232, 211, 164, 0.24), rgba(181, 139, 67, 0.06) 58%, transparent 72%);
	box-shadow: inset 0 0 0 10px rgba(250, 247, 239, 0.035), 0 18px 40px rgba(0, 0, 0, 0.14);
}

.dun-trial__mark::before,
.dun-trial__mark::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background-color: var(--dun-gold);
	transform: translateY(-50%);
	pointer-events: none;
}

.dun-trial__mark::before {
	left: -0.28rem;
}

.dun-trial__mark::after {
	right: -0.28rem;
}

.dun-trial__number {
	color: var(--dun-gold-light);
	font-family: var(--dun-display);
	font-size: 5rem;
	line-height: 1;
	text-shadow: 0 6px 24px rgba(232, 211, 164, 0.24);
}

.dun-trial__label {
	color: var(--dun-cream);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* Steps */

.dun-step-grid {
	position: relative;
	gap: 1.25rem;
	align-items: stretch;
}

.dun-step-grid::before {
	content: "";
	position: absolute;
	top: 3.15rem;
	right: 2rem;
	left: 2rem;
	height: 1px;
	background-image: repeating-linear-gradient(90deg, rgba(181, 139, 67, 0.46) 0 6px, transparent 6px 12px);
	pointer-events: none;
}

.dun-step-grid > .wp-block-column {
	position: relative;
	z-index: 1;
	flex: 1 1 15rem;
}

.dun-step {
	position: relative;
	height: 100%;
	padding: 1.75rem;
	border: 1px solid var(--dun-line);
	border-radius: var(--dun-radius);
	background-color: var(--dun-surface);
	background-image: linear-gradient(180deg, var(--dun-surface) 0%, var(--dun-surface-2) 100%);
	box-shadow: var(--dun-shadow-soft);
}

.dun-step > * + * {
	margin-block-start: 0.65rem;
}

.dun-step__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.7rem;
	height: 2.7rem;
	border: 1px solid rgba(181, 139, 67, 0.5);
	border-radius: 50%;
	background-color: var(--dun-surface);
	box-shadow: 0 0 0 4px var(--dun-surface);
	color: var(--dun-gold-deep);
	font-family: var(--dun-display);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
}

.dun-step__title {
	font-size: 1.2rem;
}

.dun-step__text {
	color: var(--dun-muted);
	font-size: 0.95rem;
}

/* About */

.dun-value-card {
	border-left: 1px solid var(--dun-line);
}

.dun-value-card::after {
	display: none;
}

.dun-value-card__title {
	position: relative;
	padding-top: 1.35rem;
	font-size: 1.3rem;
}

.dun-value-card__title::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 1.5rem;
	height: 2px;
	background-color: var(--dun-gold-deep);
}

.dun-value-card__text {
	color: var(--dun-muted);
}

.dun-lifelong {
	position: relative;
	overflow: hidden;
	padding: clamp(2rem, 5vw, 3.5rem);
	border: 1px solid rgba(232, 211, 164, 0.22);
	border-radius: var(--dun-radius-lg);
	background-color: var(--dun-deep-green);
	background-image:
		radial-gradient(90% 110% at 88% 4%, rgba(232, 211, 164, 0.14), transparent 58%),
		linear-gradient(160deg, #3a6652 0%, #244238 100%);
	box-shadow: var(--dun-shadow);
	color: var(--dun-cream);
}

.dun-lifelong::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 7rem;
	background-image: var(--dun-linework);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: auto 5rem;
	opacity: 0.8;
	pointer-events: none;
}

.dun-lifelong > * {
	position: relative;
	z-index: 1;
}

.dun-lifelong .dun-eyebrow {
	color: var(--dun-gold-light);
}

.dun-lifelong__heading {
	margin-top: 0.85rem;
	color: var(--dun-cream);
}

.dun-lifelong__body {
	max-width: 42rem;
	margin-top: 1rem;
	color: rgba(250, 247, 239, 0.82);
}

/* Contact */

.dun-contact-card {
	align-items: center;
	text-align: center;
}

.dun-contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.75rem;
	height: 3.75rem;
	border-radius: 50%;
	background-color: var(--dun-deep-green);
	background-image: radial-gradient(circle at 30% 24%, #477661 0%, #244238 72%);
	box-shadow: inset 0 0 0 1px rgba(232, 211, 164, 0.34), 0 10px 22px rgba(13, 43, 31, 0.18);
	color: var(--dun-gold-light);
}

.dun-contact-card__icon svg {
	width: 1.6rem;
	height: 1.6rem;
}

.dun-contact-card__title {
	font-size: 1.5rem;
}

.dun-contact-card__detail-wrap {
	margin: 0;
}

.dun-contact-card__detail {
	color: var(--dun-forest);
	font-weight: 700;
	text-decoration: none;
	word-break: break-word;
}

.dun-contact-card__detail:hover {
	color: var(--dun-gold-deep);
	text-decoration: underline;
}

.dun-contact-card__actions {
	display: flex;
	justify-content: center;
}

.dun-callout {
	position: relative;
	overflow: hidden;
	max-width: 52rem;
	margin-inline: auto;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid var(--dun-line);
	border-left: 5px solid var(--dun-gold);
	border-radius: var(--dun-radius);
	background-color: var(--dun-surface);
	background-image: linear-gradient(180deg, var(--dun-surface) 0%, var(--dun-surface-2) 100%);
	box-shadow: var(--dun-shadow-soft);
}

.dun-callout::after {
	content: "";
	position: absolute;
	top: 1.15rem;
	right: 1.15rem;
	width: 1.1rem;
	height: 2px;
	background-color: rgba(181, 139, 67, 0.5);
	pointer-events: none;
}

.dun-callout__heading {
	font-size: 1.5rem;
}

.dun-callout__body {
	margin-top: 0.75rem;
	color: var(--dun-muted);
}

.dun-callout__link {
	margin-top: 1rem;
}

/* Privacy and prose */

.dun-prose {
	max-width: 48rem;
	margin-inline: auto;
}

.dun-prose > * + * {
	margin-block-start: 2rem;
}

.dun-privacy-section > * + * {
	margin-block-start: 0.6rem;
}

.dun-privacy-section__heading {
	font-size: clamp(1.35rem, 1.2rem + 0.4vw, 1.6rem);
}

.dun-privacy-section__body {
	color: var(--dun-ink);
	opacity: 0.86;
}

.dun-privacy-contact {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--dun-border);
	color: var(--dun-muted);
}

/* Contact call to action */

.dun-cta {
	border-top: 1px solid rgba(232, 211, 164, 0.18);
}

.dun-cta__inner {
	max-width: 46rem;
	margin-inline: auto;
	text-align: center;
}

.dun-cta__inner .dun-eyebrow {
	justify-content: center;
	color: var(--dun-gold-light);
}

.dun-cta__heading {
	margin-top: 0.85rem;
	color: var(--dun-cream);
	text-wrap: balance;
}

.dun-cta__body {
	max-width: 38rem;
	margin: 1rem auto 0;
	color: rgba(250, 247, 239, 0.82);
}

.dun-cta__actions {
	display: flex;
	justify-content: center;
	margin-top: 1.75rem;
}

/* Note panel */

.dun-note-panel {
	position: relative;
	overflow: hidden;
	max-width: 52rem;
	margin-inline: auto;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	border: 1px solid var(--dun-line);
	border-radius: var(--dun-radius);
	background-color: var(--dun-surface);
	background-image: linear-gradient(180deg, var(--dun-surface) 0%, var(--dun-surface-2) 100%);
	box-shadow: var(--dun-shadow-soft);
	text-align: center;
}

.dun-note-panel::after {
	content: "";
	position: absolute;
	top: 1.15rem;
	right: 1.15rem;
	width: 1.1rem;
	height: 2px;
	background-color: rgba(181, 139, 67, 0.5);
	pointer-events: none;
}

.dun-note-panel .dun-eyebrow {
	justify-content: center;
}

.dun-note-panel__link {
	margin-top: 1.25rem;
}

/* Page hero */

.dun-page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid rgba(181, 139, 67, 0.35);
	background-color: var(--dun-cream);
	background-image:
		radial-gradient(80% 130% at 90% 0%, rgba(181, 139, 67, 0.14), transparent 58%),
		linear-gradient(180deg, #faf7ef 0%, var(--dun-cream) 100%);
}

.dun-page-hero::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 5rem;
	background-image: var(--dun-linework);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: auto 4rem;
	opacity: 0.7;
	pointer-events: none;
}

.dun-page-hero .dun-shell {
	position: relative;
	z-index: 1;
}

.dun-page-hero .dun-shell > * + * {
	margin-block-start: 0.75rem;
}

.dun-page-hero .dun-eyebrow {
	margin-bottom: 0;
}

.dun-page-hero__title {
	max-width: 22ch;
	margin: 0;
	font-size: clamp(2.4rem, 1.7rem + 3vw, 4rem);
}

.dun-page-hero--error .dun-intro__body {
	max-width: 36rem;
	margin-top: 1rem;
	color: var(--dun-muted);
}

.dun-post-meta {
	margin-bottom: 0.5rem;
}

.dun-post-meta .dun-eyebrow {
	margin: 0;
}

/* Blog and archive fallback */

.dun-post-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dun-post-list > li {
	margin: 0;
}

.dun-post-card .dun-card__title a {
	color: var(--dun-deep-green);
	text-decoration: none;
}

.dun-post-card .dun-card__title a:hover {
	color: var(--dun-gold-deep);
	text-decoration: underline;
}

.wp-block-query-pagination {
	margin-top: 2.5rem;
}

.wp-block-query-pagination a {
	font-weight: 700;
}

/* Footer */

.dun-footer {
	position: relative;
	padding-block: clamp(1.75rem, 3vw, 2.5rem) 1.5rem;
	border-top: 1px solid rgba(181, 139, 67, 0.28);
	background-color: var(--dun-deep-green);
	background-image:
		radial-gradient(70% 120% at 50% 0%, rgba(232, 211, 164, 0.07), transparent 55%),
		linear-gradient(180deg, #244238 0%, #1a3028 100%);
	color: var(--dun-cream);
}

.dun-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 1.25rem 2.5rem;
}

.dun-footer__brand {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

.dun-footer__logo {
	flex: 0 0 auto;
	width: 5.5rem;
	margin: 0;
	padding: 0.45rem;
	border-radius: 1.1rem;
	background-color: var(--dun-cream);
	box-shadow: 0 0 0 1px rgba(181, 139, 67, 0.4), 0 10px 24px rgba(0, 0, 0, 0.18);
	line-height: 0;
}

.dun-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.dun-footer__tagline {
	max-width: 15rem;
	margin: 0;
	color: rgba(250, 247, 239, 0.78);
	font-size: 0.92rem;
	line-height: 1.45;
}

.dun-footer__nav-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 1.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dun-footer__nav-list li {
	margin: 0;
}

.dun-footer__nav-list a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: rgba(250, 247, 239, 0.86);
	font-size: 0.9rem;
	text-decoration: none;
}

.dun-footer__nav-list a,
.dun-footer__social-link {
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.dun-footer__nav-list a:hover,
.dun-footer__nav-list a:focus,
.dun-footer__nav-list a:active {
	color: var(--dun-gold-light);
	text-decoration: underline;
}

.dun-footer__social {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.dun-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid rgba(250, 247, 239, 0.22);
	border-radius: 50%;
	color: var(--dun-cream);
	text-decoration: none;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.dun-footer__social-link:hover,
.dun-footer__social-link:focus,
.dun-footer__social-link:active {
	border-color: rgba(232, 211, 164, 0.7);
	background-color: rgba(181, 139, 67, 0.14);
	color: var(--dun-gold-light);
}

.dun-footer__social-link:active {
	background-color: rgba(181, 139, 67, 0.24);
}

.dun-footer__social-icon {
	display: inline-flex;
	width: 1.1rem;
	height: 1.1rem;
}

.dun-footer__social-icon svg {
	width: 100%;
	height: 100%;
}

.dun-footer__bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem 1.5rem;
	margin-top: 1.35rem;
	padding-top: 1.05rem;
	border-top: 1px solid rgba(250, 247, 239, 0.14);
}

.dun-footer__bottom::before {
	content: "";
	position: absolute;
	top: -0.25rem;
	left: 50%;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background-color: rgba(232, 211, 164, 0.6);
	transform: translateX(-50%);
	pointer-events: none;
}

.dun-footer__bottom > * + * {
	margin-block-start: 0;
}

.dun-footer__copyright {
	margin: 0;
	color: rgba(250, 247, 239, 0.62);
	font-size: 0.8rem;
}

.dun-footer__draft {
	margin: 0;
	color: var(--dun-gold-light);
	font-size: 0.76rem;
}

/* Responsive */

@media (max-width: 960px) {
	.dun-header__actions {
		display: none;
	}

	.dun-step-grid::before {
		display: none;
	}
}

@media (max-width: 781px) {
	.admin-bar .dun-header {
		top: 46px;
	}

	.dun-header__inner {
		min-height: 4.5rem;
	}

	.dun-hero__columns,
	.dun-trial__columns {
		flex-direction: column;
	}

	.dun-hero__columns > .wp-block-column,
	.dun-trial__columns > .wp-block-column {
		width: 100%;
		flex-basis: auto;
	}

	.dun-hero__title {
		max-width: 100%;
	}

	.dun-hero__art-col {
		width: 100%;
		max-width: 22rem;
		margin-inline: auto;
	}

	.dun-trial__mark-col {
		order: -1;
		width: 100%;
		flex-basis: auto;
	}

	.dun-price-grid > .wp-block-column {
		flex-basis: 100%;
	}
}

@media (max-width: 480px) {
	:root {
		--dun-gutter: 1.15rem;
	}

	.dun-header__site-title {
		font-size: 0.95rem;
	}

	.dun-header__descriptor {
		font-size: 0.6rem;
	}

	.dun-header__mark img {
		width: auto;
		height: 3rem;
	}

	.dun-hero {
		padding-block: 2.75rem;
	}

	.dun-hero__actions,
	.dun-cta__actions,
	.dun-trial__actions {
		width: 100%;
	}

	.dun-hero__actions .wp-block-button,
	.dun-cta__actions .wp-block-button,
	.dun-trial__actions .wp-block-button {
		width: 100%;
	}

	.dun-hero__actions .wp-block-button__link,
	.dun-cta__actions .wp-block-button__link,
	.dun-trial__actions .wp-block-button__link {
		width: 100%;
	}

	.dun-trial__mark {
		width: 10rem;
		height: 10rem;
	}

	.dun-trial__number {
		font-size: 4rem;
	}

	.dun-card,
	.dun-step {
		padding: 1.35rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.wp-block-button__link:hover,
	.dun-card:hover,
	.dun-card:focus-within {
		transform: none;
	}

	.wp-block-button__link.has-gold-background-color::after {
		display: none;
	}

	.dun-card::before {
		transform: none;
	}

	.dun-card:hover .dun-card__index,
	.dun-card:focus-within .dun-card__index {
		transform: none;
	}
}

/* ------------------------------------------------------------------
 * 0.5.0 additions: learning goals, learning areas, subjects, inquiry
 * steps, trial terms, about cards, and prose details.
 * ------------------------------------------------------------------ */

.wp-block-button__link.has-forest-background-color {
	border-color: var(--dun-forest);
	background-color: var(--dun-forest);
	color: var(--dun-white);
}

.wp-block-button__link.has-forest-background-color:hover {
	border-color: var(--dun-deep-green);
	background-color: var(--dun-deep-green);
	color: var(--dun-white);
}

.wp-block-button__link.has-cream-background-color {
	border-color: var(--dun-cream);
	background-color: var(--dun-cream);
	color: var(--dun-deep-green);
}

.wp-block-button__link.has-cream-background-color:hover {
	border-color: var(--dun-white);
	background-color: var(--dun-white);
	color: var(--dun-deep-green);
}

.dun-section--deep .dun-eyebrow::before,
.dun-lifelong .dun-eyebrow::before,
.dun-hero .dun-eyebrow::before {
	background-color: var(--dun-gold-light);
}

/* Cards and indexes */

.dun-card__index {
	margin: 0;
	color: var(--dun-gold-deep);
	font-family: var(--dun-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1;
}

.dun-goal-card {
	gap: 0.55rem;
}

.dun-goal-card .dun-card__title {
	font-size: 1.3rem;
	line-height: 1.24;
}

.dun-goal-card .dun-card__body {
	font-size: 0.95rem;
}

.dun-category-card {
	isolation: isolate;
	border-color: rgba(232, 211, 164, 0.22);
	background-color: var(--dun-deep-green);
	background-image: linear-gradient(155deg, #3a6652 0%, #244238 100%);
	color: rgba(250, 247, 239, 0.82);
}

.dun-category-card::after {
	background-color: rgba(232, 211, 164, 0.5);
}

.dun-category-card:hover,
.dun-category-card:focus-within {
	border-color: rgba(232, 211, 164, 0.5);
}

.dun-category-card .dun-card__index {
	color: var(--dun-gold-light);
}

.dun-category-card .dun-card__title {
	color: var(--dun-cream);
}

.dun-category-card .dun-card__kicker {
	color: var(--dun-gold-light);
}

.dun-category-card .dun-card__body {
	color: rgba(250, 247, 239, 0.82);
}

.dun-category-card .dun-text-link {
	color: var(--dun-gold-light);
	text-decoration-color: rgba(232, 211, 164, 0.5);
}

.dun-category-card .dun-text-link:hover {
	text-decoration-color: currentColor;
}

.dun-category-card__title-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.9rem;
	flex-wrap: wrap;
	margin: 0;
}

.dun-category-card__arabic {
	color: var(--dun-gold-light);
	font-family: var(--dun-arabic);
	font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.9rem);
	line-height: 1.2;
}

/* Learning area sections on Programs */

.dun-category {
	scroll-margin-top: 6.5rem;
	padding-top: 2.25rem;
	border-top: 1px solid var(--dun-border);
}

.dun-category + .dun-category {
	margin-top: 3rem;
}

.dun-category__index {
	margin: 0;
	color: var(--dun-gold-deep);
	font-family: var(--dun-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1;
}

.dun-category__title-row {
	display: flex;
	align-items: baseline;
	gap: 0.9rem;
	flex-wrap: wrap;
	margin-top: 0.45rem;
}

.dun-category__title {
	margin: 0;
	font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
	line-height: 1.1;
}

.dun-category__arabic {
	color: var(--dun-gold);
	font-family: var(--dun-arabic);
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem);
	line-height: 1.2;
}

.dun-category__english {
	margin-top: 0.35rem;
	color: var(--dun-forest);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.dun-category__purpose {
	max-width: 62ch;
	margin-top: 0.65rem;
	color: var(--dun-muted);
}

.dun-subject-grid {
	margin-top: 1.35rem;
}

.dun-subject-card {
	padding: 1.35rem 1.5rem;
}

.dun-subject-card__title {
	font-size: 1.14rem;
	line-height: 1.3;
}

.dun-subject-card__desc {
	color: var(--dun-muted);
	font-size: 0.93rem;
	line-height: 1.65;
}

.dun-category-note {
	max-width: 62rem;
	margin-top: 2.25rem;
}

/* Jump links */

.dun-jump {
	margin-top: 1.75rem;
}

.dun-jump__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dun-jump__link {
	display: inline-flex;
	align-items: center;
	min-height: 2.6rem;
	padding: 0.45rem 0.9rem;
	border: 1px solid var(--dun-border);
	border-radius: 0.75rem;
	background-color: var(--dun-white);
	color: var(--dun-forest);
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color var(--dun-dur) var(--dun-ease), background-color var(--dun-dur) var(--dun-ease);
}

.dun-jump__link:hover,
.dun-jump__link:focus {
	border-color: rgba(181, 139, 67, 0.55);
	background-color: var(--dun-sage);
	color: var(--dun-deep-green);
}

/* Pricing details */

.dun-price__label {
	flex-basis: 100%;
	color: var(--dun-gold-deep);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.dun-trial-panel {
	position: relative;
	overflow: hidden;
	max-width: 52rem;
	margin-inline: auto;
	padding: clamp(1.85rem, 4vw, 2.9rem);
	border: 1px solid rgba(232, 211, 164, 0.24);
	border-radius: var(--dun-radius-lg);
	background-color: var(--dun-deep-green);
	background-image:
		var(--dun-linework),
		radial-gradient(90% 120% at 88% 0%, rgba(232, 211, 164, 0.14), transparent 58%),
		linear-gradient(160deg, #3a6652 0%, #244238 100%);
	background-repeat: no-repeat, no-repeat, no-repeat;
	background-position: right bottom, center, center;
	background-size: auto 5.5rem, auto, auto;
	box-shadow: var(--dun-shadow);
	color: var(--dun-cream);
}

.dun-trial-panel > * {
	position: relative;
	z-index: 1;
}

.dun-trial-panel__heading {
	color: var(--dun-cream);
}

.dun-trial-panel__body {
	max-width: 40rem;
	margin-top: 0.75rem;
	color: rgba(250, 247, 239, 0.85);
}

.dun-trial-panel .dun-check-list {
	margin-top: 1.4rem;
}

.dun-trial-panel .dun-check-list li {
	color: rgba(250, 247, 239, 0.9);
}

.dun-trial-panel .dun-check-list li::before {
	border-color: var(--dun-gold-light);
}

.dun-check-list {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dun-check-list li {
	position: relative;
	padding-left: 1.55rem;
	color: var(--dun-ink);
	line-height: 1.6;
}

.dun-check-list li::before {
	content: "";
	position: absolute;
	top: 0.5em;
	left: 0.1rem;
	width: 0.55rem;
	height: 0.32rem;
	border-bottom: 2px solid var(--dun-gold);
	border-left: 2px solid var(--dun-gold);
	transform: rotate(-45deg);
}

/* About cards */

.dun-about-card {
	gap: 0.65rem;
}

.dun-about-card__title {
	font-size: clamp(1.3rem, 1.15rem + 0.4vw, 1.55rem);
	line-height: 1.24;
}

.dun-about-card__text {
	color: var(--dun-muted);
	font-size: 0.96rem;
}

.dun-about-card .dun-check-list {
	margin-top: 0.35rem;
}

/* Prose details */

.dun-prose > * + * {
	margin-block-start: 1.35rem;
}

.dun-prose-heading::before,
.dun-privacy-section__heading::before {
	content: "";
	display: inline-block;
	width: 1.75rem;
	height: 0.7rem;
	margin-right: 0.6rem;
	background: url("../images/flourish-mark.svg") no-repeat center / contain;
	vertical-align: 0.05em;
}

.dun-prose .dun-check-list {
	margin-top: 0.35rem;
}

.dun-privacy-updated {
	color: var(--dun-muted);
	font-size: 0.86rem;
	letter-spacing: 0.02em;
}

@media (max-width: 960px) {
	.dun-category__purpose {
		max-width: none;
	}

	.dun-goal-grid > .wp-block-column,
	.dun-category-grid > .wp-block-column,
	.dun-subject-grid > .wp-block-column,
	.dun-about-grid > .wp-block-column {
		flex-basis: 100%;
	}
}

@media (max-width: 600px) {
	.dun-jump__link {
		font-size: 0.82rem;
	}

	.dun-category__title-row {
		gap: 0.6rem;
	}
}

/* ------------------------------------------------------------------
 * 0.5.6 home hero carousel
 * ------------------------------------------------------------------ */

.dun-hero {
	padding-block: clamp(3.4rem, 6vw, 5.6rem) clamp(2.6rem, 4.6vw, 4.2rem);
}

.dun-carousel__slides {
	display: grid;
	align-items: start;
}

.dun-carousel__slide {
	grid-area: 1 / 1;
	min-width: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 320ms var(--dun-ease), transform 320ms var(--dun-ease), visibility 0s linear 320ms;
}

.dun-carousel__slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
	transition: opacity 320ms var(--dun-ease), transform 320ms var(--dun-ease), visibility 0s;
}

/* Overrides the block layout gap so stacked slides share one origin. */
.dun-carousel__slides > .dun-carousel__slide {
	margin-block: 0;
}

.dun-hero .dun-carousel__slide > * + * {
	margin-block-start: 1rem;
}

.dun-hero .dun-carousel__slide > .dun-hero__actions {
	margin-block-start: 1.75rem;
}

.dun-carousel__controls {
	display: none;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
}

.dun-carousel.is-ready .dun-carousel__controls {
	display: flex;
}

.dun-hero .dun-carousel__controls {
	margin-block-start: 1.9rem;
}

.dun-carousel__dots {
	display: flex;
	align-items: center;
	margin-inline: -0.6rem;
}

.dun-carousel__dot {
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: inherit;
	place-items: center;
	cursor: pointer;
}

.dun-carousel__dot::before {
	content: "";
	display: block;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background-color: rgba(250, 247, 239, 0.55);
	transition: width 260ms var(--dun-ease), background-color 200ms ease;
}

.dun-carousel__dot:hover::before {
	background-color: rgba(250, 247, 239, 0.85);
}

.dun-carousel__dot[aria-current="true"]::before {
	width: 1.6rem;
	background-color: var(--dun-gold-light);
}

.dun-carousel__nav {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.dun-carousel__count {
	margin: 0 0.45rem 0 0;
	color: rgba(250, 247, 239, 0.72);
	font-family: var(--dun-display);
	font-size: 0.85rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.12em;
}

.dun-carousel__count-current {
	color: var(--dun-cream);
}

.dun-carousel__btn {
	display: inline-grid;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(250, 247, 239, 0.3);
	border-radius: 50%;
	background-color: rgba(250, 247, 239, 0.03);
	color: var(--dun-cream);
	place-items: center;
	cursor: pointer;
	transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.dun-carousel__btn:hover {
	border-color: var(--dun-gold-light);
	background-color: rgba(250, 247, 239, 0.09);
	color: var(--dun-gold-light);
}

.dun-carousel__btn:active {
	transform: scale(0.96);
}

.dun-carousel__icon {
	display: block;
}

.dun-carousel__icon--play {
	display: none;
}

.dun-carousel__btn--toggle.is-paused .dun-carousel__icon--pause {
	display: none;
}

.dun-carousel__btn--toggle.is-paused .dun-carousel__icon--play {
	display: block;
}

@media (prefers-reduced-motion: reduce) {
	.dun-carousel__slide,
	.dun-carousel__slide.is-active {
		transition: none;
	}

	.dun-carousel__btn--toggle {
		display: none;
	}
}
