/* =========================================================================
   Neda eCampus UI - THE JOURNEY PAGE SYSTEM                (owner, 2026-11-19)

   One set of components for the About, Course Types and Creators' Corner
   pages, so the three read as one system: the owner asked for them to be
   "identical, contain Neda identity but a jaw dropping design" and chose
   direction C, "Journey", from three mocks.

   Every page is the same sequence of section types:

     .neda-jr-hero       photograph, veil, white title          the opening
     .neda-jr-statement  one large centred sentence             the purpose
     .neda-jr-journey    a sticky side heading beside a path    the argument
                         of stops (cyan-to-lime line, ringed
                         dots; the dot of the stop in view
                         fills lime)
     .neda-jr-line       the same path laid across the page     a sequence of five
     .neda-jr-cards      white cards; a snapping rail on phones the audiences
     .neda-jr-night      ONE black band per page                the hand-over to
                                                                the next product

   The black band is the page's single dramatic moment and it always hands
   the reader on: About to Neda | Achievements, Course Types to the
   Creators' Corner, the Creators' Corner to a conversation with the team.
   That hand-over is what fixes the owner's complaint that the Achievements
   section came "out of nowhere": the path's last stop names it, and the
   band is where the path arrives.

   Loaded by src/Journey.php on any page whose content carries `neda-jr`,
   whatever plugin owns the page, so the Creators' Corner (a bridge page,
   not a content page) gets exactly the same file.

   House rules this file keeps, and where they come from:
   - Ink is black on light grounds (19.47:1 on the Mild Aurora's top stop),
     white on the black band and on the veiled photograph. Lime is TEXT only
     on black (Design Rules section 1: "on a dark surface only"), 11.25:1.
   - Buttons are 35px with 8px corners, bold labels (owner, 2026-10-11
     to 10-13; Design Rules section 4 still says 40px/10px and is behind);
     hover and focus are one appearance, cherry with white ink, no ring.
   - Cards are white, 12px corners, the two-layer elevation, NO strip on any
     edge (owner, 2026-09-14 and 2026-09-22). The path's line is not a box
     edge: it runs between the stops, never along a card.
   - Course-type colour is never text (section 7d): it fills dots only.
   - Everything that moves stops under prefers-reduced-motion.
   - Logical properties throughout, so Arabic and Persian mirror with no
     second rule; the two gradients that have a direction are vertical, or
     are mirrored explicitly below.
   ========================================================================= */

.neda-jr-page {
	--jr-measure: 1200px;
	--jr-gutter: 15px;
	--jr-gap: clamp(72px, 9vw, 128px);
	--jr-radius: 12px;
	--jr-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 14px 30px -12px rgba(0, 0, 0, 0.18);
	--jr-shadow-lg: 0 4px 10px rgba(0, 0, 0, 0.08), 0 32px 64px -28px rgba(0, 0, 0, 0.32);
	--jr-ink-2: rgba(0, 0, 0, 0.72);
	--jr-cyan: #0EC4C5;
	--jr-lime: #C4C40E;
	--jr-cherry: #D7263D;
	--jr-night: #000000;
	--jr-line: linear-gradient(180deg, #0EC4C5 0%, #C4C40E 100%);
	--jr-head-offset: 110px;
}

@media (min-width: 782px) {
	.neda-jr-page {
		--jr-gutter: min(5vw, 50px);
	}
}

/* The site's sticky header covers the top 110px; content pages already
   set this, the Creators' Corner (a bridge page) did not (SC 2.4.11). */
html:has(body.neda-jr-page) {
	scroll-padding-block-start: 110px;
}

/* The bands run edge to edge from inside the content column, the technique
   neda-content-page.css section 3 uses; `clip` stops the 100vw that
   includes the scrollbar from opening a sideways scroll, and does not start
   a scroll container, so the sticky side column below still sticks. */
body.neda-jr-page main {
	overflow-x: clip;
}

.neda-jr-page .neda-jr-band {
	position: relative;
	box-sizing: border-box;
	margin-inline: calc(50% - 50vw) !important;
	max-width: none !important;
	inline-size: auto;
	padding-block: var(--jr-gap);
	padding-inline: 0;
	color: #000000;
}

/* WordPress gives every non-first child of a flow-layout group the theme's
   block gap; nothing here is laid out by it. */
.neda-jr-page .neda-jr-band > *,
.neda-jr-page .neda-jr-band :where(p, h1, h2, h3, h4, ul, ol, figure) {
	margin-block: 0;
}

.neda-jr-page .neda-jr-in {
	box-sizing: border-box;
	max-width: calc(var(--jr-measure) + 2 * var(--jr-gutter));
	margin-inline: auto;
	padding-inline: var(--jr-gutter);
}

/* Consecutive light bands share one gap instead of stacking two. */
.neda-jr-page .neda-jr-band:not(.neda-jr-night):not(.neda-jr-hero):not(.neda-jr-facts-band) + .neda-jr-band:not(.neda-jr-night),
.neda-jr-page .neda-jr-band:not(.neda-jr-night):not(.neda-jr-hero):not(.neda-jr-facts-band) + .neda-cc-section,
.neda-jr-page .neda-cc-section + .neda-jr-band:not(.neda-jr-night) {
	padding-block-start: 0;
}

/* ---------------------------------------------------------------------
   1. TYPE
   --------------------------------------------------------------------- */

/* The label over every heading. A block with its lime mark positioned, not
   a flex row: a brand name wrapped by BrandName.php would otherwise open a
   gap on both sides of itself (about-page-css-traps, finding 2). */
.neda-jr-page .neda-jr-label {
	position: relative;
	display: block;
	padding-inline-start: 36px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--jr-ink-2);
}

.neda-jr-page .neda-jr-label::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: 0.55em;
	inline-size: 24px;
	block-size: 3px;
	border-radius: 2px;
	background: var(--jr-lime);
}

.neda-jr-page .neda-jr-h2 {
	margin-block-start: 14px;
	font-size: clamp(30px, 3.9vw, 52px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.025em;
	color: #000000;
	text-wrap: balance;
}

.neda-jr-page .neda-jr-lede {
	margin-block-start: 18px;
	max-width: 60ch;
	font-size: clamp(16px, 1.25vw, 18px);
	line-height: 1.6;
	color: var(--jr-ink-2);
}

/* ---------------------------------------------------------------------
   2. BUTTONS
   `wp-element-button` is on each one so the content pages' link rule
   (black, underlined - it excludes that class) leaves them alone.
   --------------------------------------------------------------------- */

.neda-jr-page .neda-jr-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-block-start: 28px;
}

.neda-jr-page .neda-jr-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	min-block-size: 35px;
	padding: 6px 20px;
	border: 2px solid transparent;
	border-radius: 8px;
	background: var(--jr-lime);
	background-clip: padding-box;
	color: #000000;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	white-space: normal;
	box-shadow: none;
}

/* The secondary: lime light with its load-bearing black edge (section 5). */
.neda-jr-page .neda-jr-btn--sec {
	background-color: #F1F3D6;
	border-color: #000000;
}

/* On the veiled photograph: cyan with a black label (9:1), as About's
   header has carried since 2026-09. */
.neda-jr-page .neda-jr-btn--cyan {
	background-color: var(--jr-cyan);
}

/* The arrow on a primary that moves you on. A pseudo-element, so it is out
   of the accessibility tree and out of translation; it mirrors for RTL. */
.neda-jr-page .neda-jr-btn--go::after {
	content: "";
	inline-size: 7px;
	block-size: 7px;
	border-block-start: 2px solid currentColor;
	border-inline-end: 2px solid currentColor;
	transform: rotate(45deg);
}

[dir="rtl"] .neda-jr-page .neda-jr-btn--go::after {
	transform: rotate(-45deg);
}

.neda-jr-page .neda-jr-btn:hover,
.neda-jr-page .neda-jr-btn:focus-visible {
	background-color: var(--jr-cherry);
	border-color: var(--jr-cherry);
	color: #FFFFFF;
	outline: none;
	text-decoration: none;
}

/* ---------------------------------------------------------------------
   3. THE HERO - a photograph under a veil, the words in white.
   The photograph is an <img alt=""> rather than a CSS background, so each
   page names its own picture in its own markup.
   --------------------------------------------------------------------- */

.neda-jr-page .neda-jr-hero {
	isolation: isolate;
	display: flex;
	align-items: center;
	min-block-size: clamp(440px, 46vw, 620px);
	padding-block: clamp(72px, 9vw, 120px);
	overflow: hidden;
	color: #FFFFFF;
	background: #000000;
}

.neda-jr-page .neda-jr-hero > .neda-jr-in {
	inline-size: 100%;
}

.neda-jr-page .neda-jr-hero__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	inline-size: 100%;
	block-size: 100%;
	max-width: none;
	object-fit: cover;
	object-position: var(--jr-hero-pos, 55% center);
}

/* The veil is darkest behind the words and lifts towards the far edge.
   Below 1024px the words reach the light side, so the veil is flat 0.64
   there: white over even a pure-white pixel stays at 6.71:1 (5.99:1 for
   the 92% lede). From 1024px the text column sits where the gradient is
   still 0.56 or darker (accessibility review, 2026-11-20). */
.neda-jr-page .neda-jr-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.66) 45%, rgba(0, 0, 0, 0.30) 100%);
}

[dir="rtl"] .neda-jr-page .neda-jr-hero::before {
	background: linear-gradient(270deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.66) 45%, rgba(0, 0, 0, 0.30) 100%);
}

@media (max-width: 1023px) {
	.neda-jr-page .neda-jr-hero::before,
	[dir="rtl"] .neda-jr-page .neda-jr-hero::before {
		background: rgba(0, 0, 0, 0.64);
	}
}

.neda-jr-page .neda-jr-hero__words {
	max-width: 44rem;
}

.neda-jr-page .neda-jr-hero .neda-jr-label {
	color: #FFFFFF;
}

.neda-jr-page .neda-jr-hero__title {
	margin-block-start: 16px;
	font-size: clamp(38px, 5.4vw, 74px);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -0.025em;
	color: #FFFFFF;
	text-wrap: balance;
}

.neda-jr-page .neda-jr-hero__title :is(strong, .neda-cp-hero__em) {
	font-weight: 800;
}

@media (min-width: 900px) {
	.neda-jr-page .neda-jr-hero__title .neda-cp-hero__em {
		display: block;
	}
}

.neda-jr-page .neda-jr-hero .neda-jr-lede {
	color: rgba(255, 255, 255, 0.92);
	max-width: 58ch;
}

/* The three words under About's buttons. Separators are pseudo-elements,
   so nothing announces a path that does not navigate. */
.neda-jr-page .neda-jr-hero__path {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-block-start: 26px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: #FFFFFF;
}

.neda-jr-page .neda-jr-hero__path li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
}

.neda-jr-page .neda-jr-hero__path li + li::before {
	content: "";
	inline-size: 7px;
	block-size: 7px;
	border-block-start: 1.5px solid var(--jr-lime);
	border-inline-end: 1.5px solid var(--jr-lime);
	transform: rotate(45deg);
}

[dir="rtl"] .neda-jr-page .neda-jr-hero__path li + li::before {
	transform: rotate(-45deg);
}

/* Four facts that sit across the foot of the hero, half on the photograph
   and half on the ground (the Creators' Corner). */
.neda-jr-page .neda-jr-facts-band {
	padding-block: 0;
}

.neda-jr-page .neda-jr-facts {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-block: calc(-1 * clamp(40px, 4vw, 56px)) 0;
	padding: 0;
	list-style: none;
}

.neda-jr-page .neda-jr-facts > li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin: 0;
	padding: 20px;
	border-radius: var(--jr-radius);
	background: #FFFFFF;
	box-shadow: var(--jr-shadow-lg);
}

.neda-jr-page .neda-jr-facts .neda-cc-plate {
	flex: none;
	display: grid;
	place-items: center;
	inline-size: 40px;
	block-size: 40px;
	border-radius: 10px;
	background: #ECF9F8;
	color: #000000;
}

.neda-jr-page .neda-jr-facts .neda-cc-plate svg {
	inline-size: 22px;
	block-size: 22px;
}

.neda-jr-page .neda-jr-facts .neda-cc-strip__words {
	display: block;
	font-size: 14px;
	line-height: 1.45;
	color: var(--jr-ink-2);
}

.neda-jr-page .neda-jr-facts .neda-cc-strip__title {
	display: block;
	margin-block-end: 2px;
	font-size: 15px;
	color: #000000;
}

@media (max-width: 1000px) {
	.neda-jr-page .neda-jr-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.neda-jr-page .neda-jr-facts {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------
   4. THE STATEMENT - one sentence, large, centred.
   --------------------------------------------------------------------- */

.neda-jr-page .neda-jr-statement {
	text-align: center;
}

.neda-jr-page .neda-jr-statement .neda-jr-label {
	display: inline-block;
}

.neda-jr-page .neda-jr-statement__text {
	margin: 18px auto 0;
	max-width: 22ch;
	font-size: clamp(34px, 5vw, 66px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: #000000;
	text-wrap: balance;
}

.neda-jr-page .neda-jr-statement .neda-jr-lede {
	margin-inline: auto;
}

/* The eCampus icon beside the sentence that names eCampus: two real
   element children, so flex cannot split the brand span (finding 2). */
.neda-jr-page .neda-jr-statement__note {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: center;
	margin: 22px auto 0;
	max-width: 62ch;
	font-size: clamp(16px, 1.25vw, 18px);
	line-height: 1.55;
	color: #000000;
	text-align: start;
}

.neda-jr-page .neda-jr-statement__note .neda-cp-purpose__note-mark {
	flex: none;
	inline-size: 44px;
	block-size: 44px;
}

.neda-jr-page .neda-jr-statement__note .neda-cp-purpose__note-mark img {
	display: block;
	inline-size: 100%;
	block-size: 100%;
}

.neda-jr-page .neda-jr-statement__figure {
	margin: clamp(36px, 4vw, 56px) auto 0;
	max-width: 1040px;
	padding: clamp(16px, 2.4vw, 32px);
	border-radius: var(--jr-radius);
	background: #FFFFFF;
	box-shadow: var(--jr-shadow);
}

.neda-jr-page .neda-jr-statement__figure img {
	display: block;
	inline-size: 100%;
	block-size: auto;
}

/* ---------------------------------------------------------------------
   5. THE JOURNEY - a sticky side heading beside a path of stops.
   --------------------------------------------------------------------- */

.neda-jr-page .neda-jr-journey {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.neda-jr-page .neda-jr-journey__side {
	position: sticky;
	inset-block-start: var(--jr-head-offset);
}

/* Taller than the space under the header, a stuck column would hold its
   button off-screen while the page scrolls (neda-journey.js sets the
   class; the media query covers a page without script). */
.neda-jr-page .neda-jr-journey__side.is-tall {
	position: static;
}

@media (max-height: 700px) {
	.neda-jr-page .neda-jr-journey__side {
		position: static;
	}
}

.neda-jr-page .neda-jr-index {
	display: grid;
	gap: 10px;
	margin-block-start: 30px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 700;
}

.neda-jr-page .neda-jr-index li {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 0;
	color: rgba(0, 0, 0, 0.56);
	transition: color 0.2s ease;
}

.neda-jr-page .neda-jr-index li::before {
	content: "";
	flex: none;
	inline-size: 12px;
	block-size: 12px;
	box-sizing: border-box;
	border: 2px solid currentColor;
	border-radius: 50%;
	transition: background-color 0.2s ease;
}

.neda-jr-page .neda-jr-index li.is-current {
	color: #000000;
}

.neda-jr-page .neda-jr-index li.is-current::before {
	border-color: #000000;
	background: var(--jr-lime);
}

.neda-jr-page .neda-jr-path {
	position: relative;
	display: grid;
	gap: clamp(20px, 2.4vw, 32px);
	margin: 0;
	padding: 0;
	padding-inline-start: 56px;
	list-style: none;
}

/* The line between the stops. Vertical, so it needs no mirror. */
.neda-jr-page .neda-jr-path::before {
	content: "";
	position: absolute;
	inset-inline-start: 17px;
	inset-block: 37px var(--jr-tail, 37px);
	inline-size: 4px;
	border-radius: 4px;
	background: var(--jr-line);
}

.neda-jr-page .neda-jr-stop {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	margin: 0;
	border-radius: var(--jr-radius);
	background: #FFFFFF;
	box-shadow: var(--jr-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* The dot sits on the line, outside the card; the gap ring is the
   ground's own colour so the line appears to pass behind it. */
.neda-jr-page .neda-jr-stop::before {
	content: "";
	position: absolute;
	inset-inline-start: -49px;
	inset-block-start: 26px;
	inline-size: 22px;
	block-size: 22px;
	box-sizing: border-box;
	border: 3px solid #000000;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 0 0 5px #FFFFFF;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.neda-jr-page .neda-jr-stop.is-current::before {
	background: var(--jr-lime);
	transform: scale(1.15);
}

.neda-jr-page .neda-jr-stop__words {
	padding: clamp(22px, 2.4vw, 32px);
	min-width: 0;
}

.neda-jr-page .neda-jr-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.6);
}

.neda-jr-page .neda-jr-stop__title {
	margin-block-start: 8px;
	font-size: clamp(20px, 1.9vw, 26px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: #000000;
}

.neda-jr-page .neda-jr-stop__text {
	margin-block-start: 10px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--jr-ink-2);
}

.neda-jr-page .neda-jr-stop__media {
	position: relative;
	min-block-size: 220px;
	overflow: hidden;
	border-start-end-radius: var(--jr-radius);
	border-end-end-radius: var(--jr-radius);
}

.neda-jr-page .neda-jr-stop__media img {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	max-width: none;
	object-fit: cover;
}

/* The numbered stop (the Creators' Corner's three steps). */
.neda-jr-page .neda-jr-stop__num {
	display: block;
	font-size: clamp(34px, 3.4vw, 48px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: #000000;
}

/* The last stop is black: it hands over to the night band below. */
.neda-jr-page .neda-jr-stop--night {
	background: var(--jr-night);
}

.neda-jr-page .neda-jr-stop--night::before {
	background: var(--jr-lime);
	border-color: #FFFFFF;
	box-shadow: 0 0 0 5px #FFFFFF, 0 0 0 7px #000000;
}

.neda-jr-page .neda-jr-stop--night .neda-jr-kicker {
	color: var(--jr-lime);
}

.neda-jr-page .neda-jr-stop--night .neda-jr-stop__title {
	color: #FFFFFF;
}

.neda-jr-page .neda-jr-stop--night .neda-jr-stop__text {
	color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 899px) {
	.neda-jr-page .neda-jr-journey {
		grid-template-columns: minmax(0, 1fr);
	}

	.neda-jr-page .neda-jr-journey__side {
		position: static;
	}

	.neda-jr-page .neda-jr-index {
		display: none;
	}
}

@media (max-width: 640px) {
	.neda-jr-page .neda-jr-path {
		padding-inline-start: 40px;
	}

	.neda-jr-page .neda-jr-path::before {
		inset-inline-start: 9px;
	}

	.neda-jr-page .neda-jr-stop::before {
		inset-inline-start: -41px;
		inline-size: 20px;
		block-size: 20px;
	}

	.neda-jr-page .neda-jr-stop {
		grid-template-columns: minmax(0, 1fr);
	}

	.neda-jr-page .neda-jr-stop__media {
		order: -1;
		min-block-size: 180px;
		border-radius: var(--jr-radius) var(--jr-radius) 0 0;
	}
}

/* ---------------------------------------------------------------------
   6. THE LINE - the same path laid across the page, for a set of five.
   Used for the course types on the Creators' Corner and, restyled from the
   chooser's own markup, on Course Types (section 8).
   --------------------------------------------------------------------- */

.neda-jr-page .neda-jr-line {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	--jr-line-gap: clamp(14px, 1.6vw, 24px);
	gap: var(--jr-line-gap);
	margin: clamp(32px, 4vw, 52px) 0 0;
	padding: 34px 0 0;
	list-style: none;
}

/* Across, so this one mirrors. */
.neda-jr-page .neda-jr-line::before {
	content: "";
	position: absolute;
	inset-inline: calc((100% - 4 * var(--jr-line-gap)) / 10);
	inset-block-start: 9px;
	block-size: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, #0EC4C5 0%, #C4C40E 100%);
}

[dir="rtl"] .neda-jr-page .neda-jr-line::before {
	background: linear-gradient(270deg, #0EC4C5 0%, #C4C40E 100%);
}

.neda-jr-page .neda-jr-line > li {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	border-radius: var(--jr-radius);
	background: #FFFFFF;
	box-shadow: var(--jr-shadow);
	overflow: visible;
}

.neda-jr-page .neda-jr-line > li::before {
	content: "";
	position: absolute;
	inset-inline-start: calc(50% - 11px);
	inset-block-start: -34px;
	inline-size: 22px;
	block-size: 22px;
	box-sizing: border-box;
	border: 3px solid #000000;
	border-radius: 50%;
	background: var(--jr-dot, #FFFFFF);
	box-shadow: 0 0 0 5px #FFFFFF;
}

.neda-jr-page .neda-jr-line__img {
	display: block;
	inline-size: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--jr-radius) var(--jr-radius) 0 0;
}

.neda-jr-page .neda-jr-line__words {
	padding: 16px 18px 20px;
}

.neda-jr-page .neda-jr-line__name {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	color: #000000;
}

.neda-jr-page .neda-jr-line__text {
	margin-block-start: 6px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--jr-ink-2);
}

/* Course-type colour fills the dot and nothing else (Design Rules 7d). */
.neda-jr-page .neda-jr-type--audio-pro   { --jr-dot: #D7263D; }
.neda-jr-page .neda-jr-type--live-class  { --jr-dot: #6A4C93; }
.neda-jr-page .neda-jr-type--flex-learn  { --jr-dot: #0EC4C5; }
.neda-jr-page .neda-jr-type--skill-bites { --jr-dot: #2F80ED; }
.neda-jr-page .neda-jr-type--quest-lab   { --jr-dot: #F2B705; }

.neda-jr-page .neda-jr-more {
	margin-block-start: 32px;
}

@media (max-width: 999px) {
	.neda-jr-page .neda-jr-line {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0;
	}

	.neda-jr-page .neda-jr-line::before,
	.neda-jr-page .neda-jr-line > li::before {
		display: none;
	}
}

@media (max-width: 520px) {
	.neda-jr-page .neda-jr-line {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------
   7. THE CARDS - four across; a snapping rail on narrow screens.
   --------------------------------------------------------------------- */

.neda-jr-page .neda-jr-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 1.8vw, 24px);
	margin: clamp(28px, 3.4vw, 44px) 0 0;
	padding: 0;
	list-style: none;
}

.neda-jr-page .neda-jr-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: clamp(20px, 2vw, 26px);
	border-radius: var(--jr-radius);
	background: #FFFFFF;
	box-shadow: var(--jr-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.neda-jr-page .neda-jr-card__img {
	display: block;
	inline-size: 100%;
	aspect-ratio: 3 / 2;
	block-size: auto;
	object-fit: contain;
	object-position: left center;
	margin-block-end: 6px;
}

[dir="rtl"] .neda-jr-page .neda-jr-card__img {
	object-position: right center;
}

.neda-jr-page .neda-jr-card__title {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	color: #000000;
}

.neda-jr-page .neda-jr-card p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--jr-ink-2);
}

@media (max-width: 1100px) {
	.neda-jr-page .neda-jr-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* The rail: each card 78% of the screen, snapping, the next one peeking.
   The list is focusable only while it actually scrolls (neda-journey.js),
   so a keyboard can move it without a dead tab stop on wide screens. */
@media (max-width: 640px) {
	.neda-jr-page .neda-jr-cards {
		display: flex;
		gap: 14px;
		margin-inline: calc(-1 * var(--jr-gutter));
		padding: 4px var(--jr-gutter) 18px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--jr-gutter);
		overscroll-behavior-x: contain;
	}

	.neda-jr-page .neda-jr-card {
		flex: 0 0 78%;
		scroll-snap-align: start;
	}

	.neda-jr-page .neda-jr-cards:focus-visible {
		outline: 3px solid var(--jr-cherry);
		outline-offset: -3px;
	}
}

/* ---------------------------------------------------------------------
   8. COURSE TYPES - the chooser's five tabs as stops on the line.
   The chooser's markup and script are untouched; only its strip is
   redrawn. Every dot carries its type's colour, as on the Creators' Corner; the
   selected one grows. Selected: the tile takes
   the type's light companion, the label goes bold with a 3px cyan
   underline on its text (owner, 2026-10-11) - the old 4px bar along the
   tile's foot is a strip on a box edge and is removed.
   --------------------------------------------------------------------- */

body.neda-jr-page.neda-content-page .neda-ctx-band {
	padding-block: clamp(56px, 6vw, 88px) var(--jr-gap);
}

@media (min-width: 940px) {
	body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tabs {
		position: relative;
		padding-block-start: 34px;
	}

	body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tabs::before {
		content: "";
		position: absolute;
		inset-inline: calc((100% - 4 * 14px) / 10);
		inset-block-start: 9px;
		block-size: 4px;
		border-radius: 4px;
		background: linear-gradient(90deg, #0EC4C5 0%, #C4C40E 100%);
	}

	[dir="rtl"] body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tabs::before {
		background: linear-gradient(270deg, #0EC4C5 0%, #C4C40E 100%);
	}

	body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tabitem {
		position: relative;
	}

	body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tabitem::before {
		content: "";
		position: absolute;
		inset-inline-start: calc(50% - 11px);
		inset-block-start: -34px;
		inline-size: 22px;
		block-size: 22px;
		box-sizing: border-box;
		border: 3px solid #000000;
		border-radius: 50%;
		background: var(--jr-dot, #FFFFFF);
		box-shadow: 0 0 0 5px #FFFFFF;
		transition: background-color 0.2s ease, transform 0.2s ease;
	}

	body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tabitem:has([aria-selected="true"])::before {
		transform: scale(1.15);
	}

	body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tabitem:nth-child(1) { --jr-dot: #D7263D; }
	body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tabitem:nth-child(2) { --jr-dot: #6A4C93; }
	body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tabitem:nth-child(3) { --jr-dot: #0EC4C5; }
	body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tabitem:nth-child(4) { --jr-dot: #2F80ED; }
	body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tabitem:nth-child(5) { --jr-dot: #F2B705; }
}

body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__thumb {
	aspect-ratio: 4 / 3;
}

body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__label {
	font-size: 16px;
	padding: 12px 16px 16px;
}

body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tab[aria-selected="true"]::after {
	content: none;
}

body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__tab[aria-selected="true"] .neda-ctx__label {
	text-decoration: underline;
	text-decoration-color: var(--jr-cyan);
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
}

/* The 5px type-colour rule under the panel photograph is a strip on a box
   edge too; the count pill and the tinted facts row carry the colour. */
body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__hero {
	border-block-end: 0;
}

body.neda-jr-page.neda-content-page .neda-ctx-band .neda-ctx__panel {
	margin-block-start: clamp(28px, 3vw, 40px);
	border-radius: var(--jr-radius);
	box-shadow: var(--jr-shadow-lg);
}

/* ---------------------------------------------------------------------
   9. THE NIGHT BAND - the page's one dramatic moment, and its hand-over.
   Black ground, white words, lime only as a word on black (11.25:1).
   --------------------------------------------------------------------- */

.neda-jr-page .neda-jr-night {
	background: var(--jr-night);
	color: #FFFFFF;
}

/* The last band on a page keeps the ground between itself and the dark
   footer, so the page's one black moment is not read as the top of it. */
.neda-jr-page .wp-block-post-content > .neda-jr-night:last-child {
	margin-block-end: clamp(56px, 7vw, 104px) !important;
}

.neda-jr-page .neda-jr-night__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.neda-jr-page .neda-jr-night__grid--solo {
	grid-template-columns: minmax(0, 1fr);
	max-width: 62rem;
}

.neda-jr-page .neda-jr-night .neda-jr-label {
	color: var(--jr-lime);
}

.neda-jr-page .neda-jr-night__lead {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
}

.neda-jr-page .neda-jr-night__mark {
	flex: none;
	inline-size: 44px;
	block-size: 44px;
}

.neda-jr-page .neda-jr-night__mark img {
	display: block;
	inline-size: 100%;
	block-size: 100%;
}

/* The sentence that bridges from the path into the band. */
.neda-jr-page .neda-jr-night__bridge {
	margin-block-start: 22px;
	font-size: clamp(18px, 1.6vw, 22px);
	font-weight: 700;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.92);
}

.neda-jr-page .neda-jr-night .neda-jr-h2 {
	margin-block-start: 10px;
	font-size: clamp(32px, 4.4vw, 60px);
	color: #FFFFFF;
}

.neda-jr-page .neda-jr-night .neda-jr-h2 :is(.neda-cc-h2__a, .neda-cc-h2__b) {
	display: block;
}

.neda-jr-page .neda-jr-night .neda-jr-h2 .neda-cc-h2__b {
	color: var(--jr-lime);
}

.neda-jr-page .neda-jr-night .neda-jr-lede {
	color: rgba(255, 255, 255, 0.84);
}

.neda-jr-page .neda-jr-night__media {
	overflow: hidden;
	border-radius: var(--jr-radius);
	aspect-ratio: 4 / 3;
	box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.9);
}

.neda-jr-page .neda-jr-night__media img {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	max-width: none;
	object-fit: cover;
}

.neda-jr-page .neda-jr-feats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(24px, 3vw, 48px);
	margin: clamp(48px, 5vw, 72px) 0 0;
	padding: 0;
	list-style: none;
}

/* A hairline between rows of the list; the list has no box, so this is a
   rule between items, not a strip on a card. */
.neda-jr-page .neda-jr-feats > li {
	margin: 0;
	padding-block: 24px;
	border-block-start: 1px solid rgba(255, 255, 255, 0.2);
}

.neda-jr-page .neda-jr-feats__icon {
	display: block;
	inline-size: 28px;
	block-size: 28px;
	color: var(--jr-cyan);
}

.neda-jr-page .neda-jr-feats__icon svg {
	display: block;
	inline-size: 100%;
	block-size: 100%;
}

.neda-jr-page .neda-jr-feats__title {
	margin-block-start: 14px;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
	color: #FFFFFF;
}

.neda-jr-page .neda-jr-feats__text {
	margin-block-start: 8px;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.78);
}

/* A link inside the band's prose (none today) would be white, underlined,
   lime under the pointer (Design Rules 2c, dark surfaces). */
.neda-jr-page .neda-jr-night p a:not(.neda-jr-btn) {
	color: #FFFFFF;
	text-decoration: underline;
}

.neda-jr-page .neda-jr-night p a:not(.neda-jr-btn):hover,
.neda-jr-page .neda-jr-night p a:not(.neda-jr-btn):focus-visible {
	color: var(--jr-lime);
}

/* Focus on black: the cherry ring measures 4.23:1 on #000, so it clears
   3:1; the buttons fill cherry instead and need no ring. */
.neda-jr-page .neda-jr-night :focus-visible:not(.neda-jr-btn) {
	outline: 3px solid var(--jr-cherry);
	outline-offset: 3px;
}

@media (max-width: 899px) {
	.neda-jr-page .neda-jr-night__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.neda-jr-page .neda-jr-feats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.neda-jr-page .neda-jr-feats {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------
   10. THE BRIDGE'S OWN SECTIONS ON THE CREATORS' CORNER
   The packages and the FAQ stay the bridge's markup (they carry commerce
   facts that plugin owns). Their headings are brought onto this system's
   scale and their bands step back onto the ground, so the page reads as
   one design.
   --------------------------------------------------------------------- */

body.neda-jr-page .neda-cc .neda-cc-h2 {
	font-size: clamp(30px, 3.9vw, 52px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

body.neda-jr-page .neda-cc.neda-cc-section {
	padding-block: var(--jr-gap);
}

body.neda-jr-page .neda-cc .neda-cc-faq__a a:not(.neda-btn) {
	color: #000000;
	text-decoration: underline;
}

body.neda-jr-page .neda-cc .neda-cc-faq__a a:not(.neda-btn):hover,
body.neda-jr-page .neda-cc .neda-cc-faq__a a:not(.neda-btn):focus-visible {
	color: var(--jr-cherry);
}

/* Their content on the same 1200px measure as every other section, so
   the left edges line up down the page. */
body.neda-jr-page .neda-cc.neda-cc-section > * {
	box-sizing: border-box;
	max-width: var(--jr-measure) !important;
	margin-inline: auto !important;
}

/* Their labels take this system's lime mark and spacing. */
body.neda-jr-page .neda-cc-section .neda-cc-eyebrow {
	letter-spacing: 0.06em;
	color: var(--jr-ink-2);
	gap: 12px;
}

body.neda-jr-page .neda-cc-section .neda-cc-eyebrow::before {
	inline-size: 24px;
	background: var(--jr-lime);
}

/* ---------------------------------------------------------------------
   11. ARRIVAL - each section rises once as it enters the screen.
   The page is complete without it: the hidden state is only ever set by
   neda-journey.js, after it has checked the visitor allows motion, and
   only for sections still below the fold.
   --------------------------------------------------------------------- */

@media screen and (prefers-reduced-motion: no-preference) {
	.neda-jr-page .neda-jr-band.neda-jr-await {
		opacity: 0;
		transform: translateY(24px);
	}

	.neda-jr-page .neda-jr-band.neda-jr-arrived {
		opacity: 1;
		transform: none;
		transition: opacity 0.5s ease, transform 0.5s ease;
	}
}

@media (prefers-reduced-motion: reduce) {
	.neda-jr-page .neda-jr-stop,
	.neda-jr-page .neda-jr-card,
	.neda-jr-page .neda-jr-stop::before,
	.neda-jr-page .neda-jr-index li,
	.neda-jr-page .neda-jr-index li::before,
	body.neda-jr-page .neda-ctx-band .neda-ctx__tabitem::before,
	.neda-jr-page .neda-jr-btn {
		transition: none !important;
	}

	.neda-jr-page .neda-jr-cards {
		scroll-behavior: auto;
	}
}

/* ---------------------------------------------------------------------
   12. FORCED COLOURS - gradients, shadows and the photograph go; edges come
   back from the system palette.
   --------------------------------------------------------------------- */

@media (forced-colors: active) {
	.neda-jr-page .neda-jr-hero__img {
		display: none;
	}

	.neda-jr-page .neda-jr-hero::before {
		background: Canvas;
	}

	.neda-jr-page :is(.neda-jr-stop, .neda-jr-card, .neda-jr-line > li, .neda-jr-facts > li, .neda-jr-statement__figure) {
		border: 1px solid CanvasText;
	}

	.neda-jr-page :is(.neda-jr-path, .neda-jr-line)::before,
	body.neda-jr-page .neda-ctx-band .neda-ctx__tabs::before {
		background: CanvasText;
	}

	.neda-jr-page :is(.neda-jr-stop, .neda-jr-line > li)::before,
	body.neda-jr-page .neda-ctx-band .neda-ctx__tabitem::before {
		border-color: CanvasText;
		background: Canvas;
		forced-color-adjust: none;
	}

	.neda-jr-page .neda-jr-stop.is-current::before,
	body.neda-jr-page .neda-ctx-band .neda-ctx__tabitem:has([aria-selected="true"])::before {
		background: Highlight;
	}

	.neda-jr-page .neda-jr-btn {
		border-color: ButtonText;
	}

	.neda-jr-page .neda-jr-btn:focus-visible {
		outline: 3px solid Highlight !important;
		outline-offset: 3px;
	}
}

/* ---------------------------------------------------------------------
   13. ARABIC SCRIPT - letter-spacing breaks the joins; none at all there.
   --------------------------------------------------------------------- */

[dir="rtl"] .neda-jr-page :is(.neda-jr-label, .neda-jr-kicker, .neda-jr-h2, .neda-jr-hero__title, .neda-jr-statement__text, .neda-jr-stop__title, .neda-jr-stop__num, .neda-jr-btn),
[dir="rtl"] body.neda-jr-page .neda-cc-section :is(.neda-cc-eyebrow, .neda-cc-h2) {
	letter-spacing: 0;
}
