/*!
 * FMWave Child - component styles.
 * Loaded after the parent stylesheet (handle "fmwave-style").
 *
 * Accent falls back to the FMWave primary colour (#ec1c24).
 */

:root {
	--fmwave-child-primary: #173F38;
	--fmwave-child-accent: #C47A42;
	--fmwave-child-accent-dark: #a36536;
	--fmwave-child-bg-cream: #E9D8B8;
	--fmwave-child-bg-offwhite: #F7F3EB;
	--fmwave-child-ink: #252B29;
	--fmwave-child-muted: #6b6b6b;
	--fmwave-child-line: rgba(0, 0, 0, 0.1);
	--fmwave-child-radius: 12px;
}

/* -------------------------------------------------------------------------
 * BRLOGIC live player
 * ---------------------------------------------------------------------- */

.fmwave-brlogic-player {
	display: block;
	padding: 20px 22px;
	background: var(--fmwave-child-ink);
	color: #fff;
	border-radius: var(--fmwave-child-radius);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.fmwave-brlogic-player--large {
	padding: 30px 32px;
}

.fmwave-brlogic-player__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-bottom: 18px;
}

.fmwave-brlogic-player__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: var(--fmwave-child-accent);
	border-radius: 999px;
}

.fmwave-brlogic-player__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	animation: fmwave-child-pulse 1.6s ease-in-out infinite;
}

@keyframes fmwave-child-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
	.fmwave-brlogic-player__dot { animation: none; }
}

.fmwave-brlogic-player__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.fmwave-brlogic-player--large .fmwave-brlogic-player__title {
	font-size: 24px;
}

.fmwave-brlogic-player__note {
	display: block;
	width: 100%;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.72);
}

.fmwave-brlogic-player__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}

.fmwave-brlogic-player__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: var(--fmwave-child-accent);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.fmwave-brlogic-player__toggle:hover,
.fmwave-brlogic-player__toggle:focus-visible {
	background: var(--fmwave-child-accent-dark);
}

.fmwave-brlogic-player__toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.fmwave-brlogic-player__icon {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent #fff;
}

.fmwave-brlogic-player.is-playing .fmwave-brlogic-player__icon {
	width: 12px;
	height: 14px;
	border: 0;
	background: linear-gradient(to right, #fff 0 4px, transparent 4px 8px, #fff 8px 12px);
}

.fmwave-brlogic-player__status {
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.fmwave-brlogic-player.is-playing .fmwave-brlogic-player__status {
	color: #7ef0a0;
}

.fmwave-brlogic-player.has-error .fmwave-brlogic-player__status {
	color: #ff9a9a;
}

.fmwave-brlogic-player__volume {
	display: inline-flex;
	align-items: center;
	margin-left: auto;
}

.fmwave-brlogic-player__range {
	width: 110px;
	cursor: pointer;
}

.fmwave-brlogic-player__audio {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.fmwave-brlogic-player__fallback {
	margin: 14px 0 0;
	font-size: 13px;
}

.fmwave-brlogic-player__fallback a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: underline;
}

.fmwave-brlogic-player__fallback a:hover,
.fmwave-brlogic-player__fallback a:focus-visible {
	color: #fff;
}

/* -------------------------------------------------------------------------
 * Live Radio page
 * ---------------------------------------------------------------------- */

.fmwave-live-radio__intro {
	max-width: 780px;
	margin: 0 auto 34px;
	text-align: center;
}

.fmwave-live-radio__title {
	margin-bottom: 12px;
}

.fmwave-live-radio__lede {
	font-size: 17px;
	line-height: 1.7;
	color: var(--fmwave-child-muted);
}

.fmwave-live-radio__player {
	margin-bottom: 56px;
}

.fmwave-live-radio__section {
	margin-bottom: 56px;
}

.fmwave-live-radio__heading {
	margin-bottom: 22px;
	font-size: 26px;
	line-height: 1.3;
}

.fmwave-live-radio__notice {
	padding: 12px 16px;
	font-size: 14px;
	color: #7a5d00;
	background: #fff8e1;
	border-left: 4px solid #f0c000;
	border-radius: 4px;
}

/* Schedule */

.fmwave-schedule {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 22px;
}

.fmwave-schedule__day {
	padding: 20px 22px;
	border: 1px solid var(--fmwave-child-line);
	border-radius: var(--fmwave-child-radius);
	background: #fff;
}

.fmwave-schedule__day.is-today {
	border-color: var(--fmwave-child-accent);
	box-shadow: 0 6px 20px rgba(236, 28, 36, 0.12);
}

.fmwave-schedule__day-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 17px;
}

.fmwave-schedule__today {
	padding: 2px 9px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--fmwave-child-accent);
	border-radius: 999px;
}

.fmwave-schedule__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fmwave-schedule__item {
	display: flex;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--fmwave-child-line);
}

.fmwave-schedule__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.fmwave-schedule__time {
	flex: 0 0 auto;
	min-width: 118px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fmwave-child-accent);
}

.fmwave-schedule__show a {
	font-weight: 600;
}

.fmwave-schedule__presenter {
	display: block;
	font-size: 13px;
	color: var(--fmwave-child-muted);
}

/* Presenters */

.fmwave-presenters {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fmwave-presenters__link {
	display: block;
	text-align: center;
	color: inherit;
	text-decoration: none;
}

.fmwave-presenters__thumb {
	display: block;
	overflow: hidden;
	margin-bottom: 12px;
	border-radius: var(--fmwave-child-radius);
	background: #f2f2f2;
}

.fmwave-presenters__thumb img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.3s ease;
}

.fmwave-presenters__link:hover .fmwave-presenters__thumb img,
.fmwave-presenters__link:focus-visible .fmwave-presenters__thumb img {
	transform: scale(1.04);
}

.fmwave-presenters__name {
	display: block;
	font-weight: 700;
	line-height: 1.4;
}

.fmwave-presenters__role {
	display: block;
	font-size: 13px;
	color: var(--fmwave-child-muted);
}

/* Song request / contact */

.fmwave-live-radio__cta {
	margin-bottom: 18px;
}

.fmwave-live-radio__button,
.fmwave-live-radio__form input[type="submit"],
.fmwave-live-radio__form button {
	display: inline-block;
	padding: 13px 28px;
	font-weight: 600;
	color: #fff;
	background: var(--fmwave-child-accent);
	border: 0;
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
}

.fmwave-live-radio__button:hover,
.fmwave-live-radio__button:focus-visible {
	background: var(--fmwave-child-accent-dark);
	color: #fff;
}

.fmwave-live-radio__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--fmwave-child-muted);
}

/* Social */

.fmwave-live-radio__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fmwave-live-radio__socials a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--fmwave-child-ink);
	background: #f5f5f5;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.fmwave-live-radio__socials a:hover,
.fmwave-live-radio__socials a:focus-visible {
	color: #fff;
	background: var(--fmwave-child-accent);
}

/* Small screens */

@media (max-width: 767px) {
	.fmwave-brlogic-player,
	.fmwave-brlogic-player--large {
		padding: 20px;
	}

	.fmwave-brlogic-player__volume {
		margin-left: 0;
		width: 100%;
	}

	.fmwave-brlogic-player__range {
		width: 100%;
	}

	.fmwave-live-radio__heading {
		font-size: 22px;
	}

	.fmwave-schedule__item {
		flex-direction: column;
		gap: 4px;
	}

	.fmwave-schedule__time {
		min-width: 0;
	}
}

/* -------------------------------------------------------------------------
 * Floating "Listen Live" player
 *
 * Two parts:
 *   .syp-listen-live        - header toggle ([syp_listen_live] shortcode).
 *   .syp-floating-player    - fixed bottom bar, emitted once from wp_footer.
 * The bar is off-screen until .is-visible is added, so nothing is covered and
 * nothing autoplays on load.
 * ---------------------------------------------------------------------- */

.syp-listen-live {
	display: inline-flex;
	align-items: center;
}

.syp-listen-live__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	background: var(--fmwave-child-accent);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.syp-listen-live__button:hover,
.syp-listen-live__button:focus-visible {
	background: var(--fmwave-child-accent-dark);
}

.syp-listen-live__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.syp-listen-live__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	animation: fmwave-child-pulse 1.6s ease-in-out infinite;
}

.syp-listen-live__button.is-playing .syp-listen-live__dot {
	animation: none;
}

.syp-floating-player {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9998;
	color: #fff;
	background: var(--fmwave-child-ink);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.22);
	transform: translateY(110%);
	visibility: hidden;
	transition: transform 0.28s ease, visibility 0.28s ease;
}

.syp-floating-player.is-visible {
	transform: translateY(0);
	visibility: visible;
}

/* Keep the bar from covering footer content while it is open. */
html.syp-floating-open body {
	padding-bottom: 84px;
}

.syp-floating-player__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 10px 18px;
}

.syp-floating-player__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--fmwave-child-accent);
	border-radius: 999px;
}

.syp-floating-player__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	animation: fmwave-child-pulse 1.6s ease-in-out infinite;
}

.syp-floating-player.is-playing .syp-floating-player__dot {
	animation: none;
}

.syp-floating-player__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.syp-floating-player__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.syp-floating-player__note {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.72);
}

.syp-floating-player__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--fmwave-child-accent);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.syp-floating-player__toggle:hover,
.syp-floating-player__toggle:focus-visible {
	background: var(--fmwave-child-accent-dark);
}

.syp-floating-player__toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.syp-floating-player__icon {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent #fff;
}

.syp-floating-player.is-playing .syp-floating-player__icon {
	width: 12px;
	height: 14px;
	border: 0;
	background: linear-gradient(to right, #fff 0 4px, transparent 4px 8px, #fff 8px 12px);
}

.syp-floating-player__status {
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.syp-floating-player.is-playing .syp-floating-player__status {
	color: #7ef0a0;
}

.syp-floating-player.has-error .syp-floating-player__status {
	color: #ff9a9a;
}

.syp-floating-player__volume {
	display: inline-flex;
	align-items: center;
	margin-left: auto;
}

.syp-floating-player__range {
	width: 100px;
	cursor: pointer;
}

.syp-floating-player__open {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: underline;
}

.syp-floating-player__open:hover,
.syp-floating-player__open:focus-visible {
	color: #fff;
}

.syp-floating-player__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	font-size: 22px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.72);
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.syp-floating-player__close:hover,
.syp-floating-player__close:focus-visible {
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
}

.syp-floating-player__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.syp-floating-player__audio {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.syp-listen-live__dot,
	.syp-floating-player__dot {
		animation: none;
	}

	.syp-floating-player {
		transition: none;
	}
}

/* Floating player on small screens */

@media (max-width: 767px) {
	html.syp-floating-open body {
		padding-bottom: 120px;
	}

	.syp-floating-player__inner {
		padding: 12px 14px;
	}

	.syp-floating-player__note {
		display: none;
	}

	.syp-floating-player__volume {
		margin-left: 0;
	}

	.syp-floating-player__range {
		width: 100%;
	}
}

/* ------------------------------------------------------ Listen Live FAB */

/* "Sikiliza Live" is a floating action button, not a menu item: it is present
   on every page and every viewport, and it opens the bottom bar above. It
   lifts clear of the bar while the bar is open so the two never overlap. */

.syp-fab {
	position: fixed;
	right: 20px;
	/* The theme's scroll-to-top control is fixed at the same corner
	   (right: 20px, bottom: 25px, 45x45). The FAB sits above it so the two
	   never overlap on any viewport. */
	bottom: 88px;
	z-index: 9997;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 1.15rem;
	font-family: var(--syp-font-body);
	font-size: var(--syp-fs-small);
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--syp-ivory);
	background: var(--syp-green);
	border: 0;
	border-radius: var(--syp-radius-pill);
	cursor: pointer;
	box-shadow: var(--syp-shadow-lg);
	transition: background-color var(--syp-dur-fast) var(--syp-ease-out),
		transform var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-fab:hover,
.syp-fab:focus-visible {
	background: var(--syp-green-deep);
	transform: translateY(-2px);
}

.syp-fab:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 3px;
}

.syp-fab__icon {
	display: inline-flex;
	color: var(--syp-gold-soft);
}

.syp-fab.is-playing .syp-fab__icon {
	color: var(--syp-gold);
}

html.syp-floating-open .syp-fab {
	bottom: 96px;
}

@media (max-width: 767px) {
	html.syp-floating-open .syp-fab {
		bottom: 140px;
	}
}

/* On the smallest screens the FAB becomes a circular icon button so it never
   covers content; the visible label collapses to screen-reader-only text, so
   the accessible name is unchanged. */
@media (max-width: 480px) {
	.syp-fab {
		right: 14px;
		/* Still clears the 45px scroll-to-top control at bottom: 25px. */
		bottom: 84px;
		padding: 0.8rem;
		border-radius: 50%;
	}

	.syp-fab__label {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
		border: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.syp-fab {
		transition: none;
	}
}

/* =========================================================================
 * DESIGN SYSTEM — Sauti ya Pwani (Phase A)
 * Tokens and editorial components. See DESIGN.md for the authority and rules.
 * Scoped additions only: the floating player and BRLOGIC player above are
 * intentionally left untouched.
 * ====================================================================== */

:root {
	/* Colour */
	--syp-green: #173F38;
	--syp-green-deep: #0F2C27;
	--syp-gold: #C47A42;
	--syp-gold-soft: #D99B68;
	--syp-sand: #E9D8B8;
	--syp-ivory: #F7F3EB;
	--syp-charcoal: #252B29;
	--syp-muted: #6B6B6B;
	--syp-line: rgba(23, 63, 56, 0.14);

	/* Typography — approved pairing (2026-11-18): Plus Jakarta Sans + Fraunces,
	   replacing Inter + Playfair Display. Fallbacks follow each face. */
	--syp-font-display: "Fraunces", "Playfair Display", "Georgia", "Times New Roman", serif;
	--syp-font-body: "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
	--syp-font-mono: "IBM Plex Mono", ui-monospace, "Consolas", monospace;

	--syp-fs-display: clamp(2.5rem, 5vw, 4rem);
	--syp-fs-h1: clamp(2rem, 3.6vw, 3rem);
	--syp-fs-h2: clamp(1.5rem, 2.4vw, 2.125rem);
	--syp-fs-h3: 1.375rem;
	--syp-fs-h4: 1.125rem;
	--syp-fs-body: 1.0625rem;
	--syp-fs-small: 0.9375rem;
	--syp-fs-eyebrow: 0.75rem;

	/* Spacing */
	--syp-space-1: 0.25rem;
	--syp-space-2: 0.5rem;
	--syp-space-3: 0.75rem;
	--syp-space-4: 1rem;
	--syp-space-5: 1.5rem;
	--syp-space-6: 2rem;
	--syp-space-7: 3rem;
	--syp-space-8: 4rem;
	--syp-space-9: 6rem;

	/* Layout */
	--syp-container: 1200px;
	--syp-gutter: 1.25rem;
	--syp-bp-sm: 640px;
	--syp-bp-md: 768px;
	--syp-bp-lg: 1024px;
	--syp-bp-xl: 1280px;

	/* Radii, shadows, motion */
	--syp-radius: 12px;
	--syp-radius-sm: 6px;
	--syp-radius-pill: 999px;
	--syp-shadow-sm: 0 1px 2px rgba(15, 44, 39, 0.06);
	--syp-shadow-md: 0 8px 24px rgba(15, 44, 39, 0.10);
	--syp-shadow-lg: 0 18px 48px rgba(15, 44, 39, 0.16);
	--syp-ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
	--syp-dur-fast: 180ms;
	--syp-dur-base: 320ms;
	--syp-dur-slow: 520ms;

	/* News ticker speed — THE single speed control for the bar.
	   Value = seconds for one full copy of the headline list to scroll past.
	   Raise it to slow the bar down, lower it to speed it up. The bar loops
	   seamlessly at -50%, so this is the only number to touch. 90s reads at
	   roughly 50px/s for a typical six-headline bar (was 48s, ~98px/s). */
	--syp-ticker-duration: 90s;
}

/* ------------------------------------------------------------ typography */

/* The two --syp-font-* tokens above drive every child component. These rules
   carry the same pairing onto the parent-rendered chrome — page body copy,
   the primary navigation and every heading — so the header, the footer, the
   page content and the child components all share one type system. The parent
   theme is not edited: this stylesheet loads after the parent stylesheet, so
   the same faces simply win the cascade. */

body {
	font-family: var(--syp-font-body);
}

/* Headings are the display face site-wide. Child components set their own
   display font on their title classes; this element-level rule is what
   catches the headings the parent theme would otherwise render in Poppins —
   entry-content h2/h3, the heritage timeline/fact-box titles, the anchor-nav
   title and the live-radio headings. */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--syp-font-display);
}

nav.template-main-menu > ul,
nav.template-main-menu > ul > li > a {
	font-family: var(--syp-font-body);
}

/* ---------------------------------------------------------------- layout */

.syp-container {
	width: 100%;
	max-width: var(--syp-container);
	margin-inline: auto;
	padding-inline: var(--syp-gutter);
}

.syp-section {
	padding-block: var(--syp-space-8);
}

.syp-section--sand {
	background: var(--syp-sand);
}

.syp-section--green {
	background: var(--syp-green);
	color: var(--syp-ivory);
}

.syp-section--green h1,
.syp-section--green h2,
.syp-section--green h3,
.syp-section--green h4 {
	color: var(--syp-ivory);
}

.syp-prose {
	max-width: 68ch;
	font-size: var(--syp-fs-body);
	line-height: 1.75;
	color: var(--syp-charcoal);
}

.syp-prose > * + * {
	margin-top: var(--syp-space-4);
}

.syp-eyebrow {
	display: inline-block;
	font-size: var(--syp-fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--syp-gold);
}

/* -------------------------------------------------------- section header */

.syp-section-header {
	max-width: 46rem;
	margin-bottom: var(--syp-space-6);
}

.syp-section-header__title {
	margin: var(--syp-space-2) 0 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h2);
	line-height: 1.15;
	color: inherit;
}

.syp-section-header__lede {
	margin-top: var(--syp-space-3);
	font-size: var(--syp-fs-body);
	color: var(--syp-muted);
}

.syp-section-header::after {
	content: "";
	display: block;
	width: 3.5rem;
	height: 3px;
	margin-top: var(--syp-space-4);
	background: var(--syp-gold);
	border-radius: var(--syp-radius-pill);
}

/* --------------------------------------------------------------- buttons */

.syp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--syp-space-2);
	min-height: 44px;
	padding: 0 var(--syp-space-5);
	font-size: var(--syp-fs-small);
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: var(--syp-radius-pill);
	cursor: pointer;
	transition: transform var(--syp-dur-fast) var(--syp-ease-out),
		background-color var(--syp-dur-fast) var(--syp-ease-out),
		color var(--syp-dur-fast) var(--syp-ease-out),
		border-color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-btn:hover {
	transform: translateY(-2px);
}

.syp-btn:active {
	transform: translateY(0);
}

.syp-btn--primary {
	background: var(--syp-green);
	color: var(--syp-ivory);
}

.syp-btn--primary:hover {
	background: var(--syp-green-deep);
	color: var(--syp-ivory);
}

.syp-btn--gold {
	background: var(--syp-gold);
	color: var(--syp-charcoal);
}

.syp-btn--gold:hover {
	background: var(--syp-gold-soft);
	color: var(--syp-charcoal);
}

.syp-btn--ghost {
	background: transparent;
	color: var(--syp-green);
	border-color: var(--syp-line);
}

.syp-btn--ghost:hover {
	border-color: var(--syp-gold);
	color: var(--syp-green-deep);
}

.syp-section--green .syp-btn--ghost {
	color: var(--syp-ivory);
	border-color: rgba(247, 243, 235, 0.4);
}

/* --------------------------------------------------------------- buttons: focus */

.syp-btn:focus-visible,
.syp-card:focus-visible,
.syp-cat-card:focus-visible,
.syp-list__link:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 2px;
}

/* Keyboard-focus fallback for links and controls the child theme does not
   restyle itself: the parent header navigation, the parent search toggle,
   in-content links and the footer logo. Without this, keyboard users cannot
   see where focus is on those elements. */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 2px;
}

/* Two parent selectors outrank the fallback above and blank the focus ring:
   .header-logo a:focus (the header logo link) and .header-search .close:focus
   (the search overlay's close button). Restore it at matching specificity so
   keyboard users can see where they are. Parent theme untouched. */

.header-logo a:focus-visible,
.header-search .close:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 2px;
}

/* WCAG 2.5.8 (target size, minimum): the parent's mobile menu trigger ships
   one pixel under the 24px floor, and the volume sliders render as thin
   tracks. Lift the controls to the minimum without moving anything else. */

.mean-bar .sidebarBtn {
	min-width: 24px;
	min-height: 24px;
}

/* The homepage refresh asks for a large mobile tap target. The parent ships
   the trigger at 25x24, so extend the hit area to ~44x44 with an invisible
   overlay. The trigger is absolutely positioned, so this changes nothing
   visually and cannot shift the four bars. */
.mean-bar .sidebarBtn::after {
	content: "";
	position: absolute;
	inset: -10px;
}

.fmwave-brlogic-player__range,
.syp-floating-player__range {
	min-height: 24px;
}

/* WooCommerce prints its fullscreen PhotoSwipe dialog into wp_footer on every
   page (the product-gallery block registers it globally), and only the
   library's own stylesheet keeps it hidden. The performance trim drops that
   stylesheet on pages that cannot open the dialog, so restate the library's
   two rules here: closed stays hidden, and the .pswp--open class the script
   adds still reveals it wherever the library is loaded. */

.pswp:not(.pswp--open) {
	display: none;
}

/* Same reasoning as the PhotoSwipe rule above: the YITH Quick View modal is
   printed into wp_footer on every page, and only the extension's own
   stylesheet keeps it off-screen. The trim drops that stylesheet on pages
   that cannot open the modal, so restate the library's hidden state. The
   selectors keep the library's own specificity, so the extension's own
   .open rules still reveal the modal wherever it is loaded. */

#yith-quick-view-modal {
	position: fixed;
	visibility: hidden;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1400;
	opacity: 0;
}

.yith-quick-view.yith-modal .yith-wcqv-wrapper {
	position: absolute;
	visibility: hidden;
}

/* The desktop submenu opens on :hover alone, so its links stay hidden (and
   therefore unreachable) for keyboard users. Open it on focus as well. */

nav.template-main-menu > ul > li:focus-within > ul.sub-menu,
nav.template-main-menu > ul > li:focus-within > ul.children,
nav.template-main-menu > ul > li > ul.sub-menu li:focus-within > ul.sub-menu,
nav.template-main-menu > ul > li > ul.sub-menu li:focus-within > ul.children {
	opacity: 1;
	visibility: visible;
	transform: scaleY(1);
}

/* ------------------------------------------------------- editorial cards */

.syp-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: var(--syp-ivory);
	border: 1px solid var(--syp-line);
	border-radius: var(--syp-radius);
	box-shadow: var(--syp-shadow-sm);
	transition: transform var(--syp-dur-base) var(--syp-ease-out),
		box-shadow var(--syp-dur-base) var(--syp-ease-out);
}

.syp-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--syp-shadow-md);
}

.syp-card__media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--syp-sand);
}

.syp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.syp-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--syp-space-2);
	padding: var(--syp-space-5);
}

.syp-card__title {
	margin: 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h3);
	line-height: 1.2;
}

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

.syp-card__excerpt {
	margin: 0;
	font-size: var(--syp-fs-small);
	line-height: 1.65;
	color: var(--syp-muted);
}

/* --------------------------------------------------- heritage category card */

.syp-cat-card {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--syp-radius);
	text-decoration: none;
	color: var(--syp-ivory);
	aspect-ratio: 1 / 1;
}

.syp-cat-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--syp-dur-slow) var(--syp-ease-out);
}

.syp-cat-card:hover img {
	transform: scale(1.05);
}

.syp-cat-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: var(--syp-space-1);
	padding: var(--syp-space-5);
	background: linear-gradient(
		to top,
		rgba(15, 44, 39, 0.82) 0%,
		rgba(15, 44, 39, 0.35) 55%,
		rgba(15, 44, 39, 0) 100%
	);
}

.syp-cat-card__title {
	margin: 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h3);
	color: var(--syp-ivory);
}

.syp-cat-card__meta {
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--syp-gold-soft);
}

/* ------------------------------------------------------------- timelines */

.syp-timeline {
	margin: 0;
	padding: 0;
	list-style: none;
	border-left: 2px solid var(--syp-line);
}

.syp-timeline__item {
	position: relative;
	padding: 0 0 var(--syp-space-6) var(--syp-space-6);
}

.syp-timeline__item:last-child {
	padding-bottom: 0;
}

.syp-timeline__item::before {
	content: "";
	position: absolute;
	left: -7px;
	top: 4px;
	width: 12px;
	height: 12px;
	background: var(--syp-gold);
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--syp-ivory);
}

.syp-timeline__year {
	display: block;
	font-family: var(--syp-font-mono);
	font-size: var(--syp-fs-small);
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--syp-gold);
}

.syp-timeline__title {
	margin: var(--syp-space-1) 0 var(--syp-space-2);
	font-size: var(--syp-fs-h4);
	line-height: 1.3;
}

.syp-timeline__text {
	margin: 0;
	font-size: var(--syp-fs-small);
	line-height: 1.65;
	color: var(--syp-muted);
}

/* ------------------------------------------------------------- fact box */

.syp-factbox {
	padding: var(--syp-space-5) var(--syp-space-6);
	background: var(--syp-sand);
	border-left: 4px solid var(--syp-gold);
	border-radius: var(--syp-radius-sm);
}

.syp-factbox__title {
	margin: 0 0 var(--syp-space-3);
	font-size: var(--syp-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--syp-green);
}

.syp-factbox ul {
	margin: 0;
	padding-left: 1.1rem;
	font-size: var(--syp-fs-small);
	line-height: 1.7;
}

.syp-factbox li + li {
	margin-top: var(--syp-space-2);
}

/* ------------------------------------------------------------ quote block */

.syp-quote {
	margin: var(--syp-space-7) 0;
	padding-left: var(--syp-space-6);
	border-left: 3px solid var(--syp-gold);
}

.syp-quote__text {
	margin: 0;
	font-family: var(--syp-font-display);
	font-size: clamp(1.25rem, 2vw, 1.625rem);
	font-style: italic;
	line-height: 1.5;
	color: var(--syp-green);
}

.syp-quote__cite {
	display: block;
	margin-top: var(--syp-space-3);
	font-family: var(--syp-font-body);
	font-size: var(--syp-fs-small);
	font-style: normal;
	letter-spacing: 0.04em;
	color: var(--syp-muted);
}

/* ---------------------------------------------------------------- gallery */

.syp-gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-4);
}

.syp-gallery__item {
	margin: 0;
}

.syp-gallery__item img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--syp-radius-sm);
}

.syp-gallery__item figcaption {
	margin-top: var(--syp-space-2);
	font-size: var(--syp-fs-small);
	color: var(--syp-muted);
}

/* ------------------------------------------------------------- list rows */

.syp-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.syp-list__link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--syp-space-4);
	padding: var(--syp-space-4) 0;
	text-decoration: none;
	color: var(--syp-charcoal);
	transition: color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-list__link:hover {
	color: var(--syp-green);
}

.syp-list__meta {
	font-family: var(--syp-font-mono);
	font-size: var(--syp-fs-small);
	color: var(--syp-muted);
	white-space: nowrap;
}

/* ---------------------------------------------------- mobile-first layout */

@media (min-width: 640px) {
	:root {
		--syp-gutter: 1.5rem;
	}

	.syp-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.syp-section {
		padding-block: var(--syp-space-9);
	}
}

@media (min-width: 1024px) {
	:root {
		--syp-gutter: 2rem;
	}

	.syp-gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
	.syp-btn,
	.syp-card,
	.syp-cat-card img,
	.syp-list__link {
		transition: none;
	}

	.syp-btn:hover,
	.syp-card:hover,
	.syp-cat-card:hover img {
		transform: none;
	}
}

/* =========================================================================
 * HOMEPAGE — Sauti ya Pwani (Phase B)
 * Cinematic hero slider and the ten editorial homepage sections. All values
 * come from the Phase A tokens above; nothing here redefines them.
 * ====================================================================== */

/* Directional reveals (data-motion="left|right") start up to 28px off-centre,
 * which is wider than the 20px mobile gutter. Clipping the wrapper keeps that
 * starting offset from widening the document or adding a horizontal scrollbar.
 * Vertical overflow stays visible, and the offset is gone once revealed. */
.fmwave-homepage {
	overflow-x: clip;
}

/* ------------------------------------------------------ shared furniture */

.syp-band {
	display: block;
	height: 6px;
	background-image: repeating-linear-gradient(
			45deg,
			rgba(196, 122, 66, 0.55) 0 2px,
			transparent 2px 14px
		),
		repeating-linear-gradient(
			-45deg,
			rgba(196, 122, 66, 0.32) 0 2px,
			transparent 2px 14px
		);
}

.syp-note {
	margin: var(--syp-space-4) 0 0;
	font-size: var(--syp-fs-small);
	line-height: 1.6;
	color: var(--syp-muted);
}

.syp-tag {
	display: inline-block;
	padding: 0.15em 0.7em;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--syp-muted);
	border: 1px solid var(--syp-line);
	border-radius: var(--syp-radius-pill);
}

.syp-link-more {
	display: inline-flex;
	align-items: center;
	gap: var(--syp-space-2);
	margin-top: var(--syp-space-5);
	font-size: var(--syp-fs-small);
	font-weight: 600;
	color: var(--syp-green);
	text-decoration: none;
	border-bottom: 1px solid var(--syp-gold);
	padding-bottom: 2px;
	transition: color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-link-more:hover {
	color: var(--syp-gold);
}

.syp-link-more svg {
	transition: transform var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-link-more:hover svg {
	transform: translateX(3px);
}

.syp-section--green .syp-link-more,
.syp-community .syp-link-more,
.syp-heritage .syp-link-more {
	color: var(--syp-sand);
}

/* ------------------------------------------------------------ hero slider */

.syp-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--syp-green-deep);
	color: var(--syp-ivory);
}

.syp-hero__track {
	position: relative;
	min-height: clamp(30rem, 78vh, 46rem);
	touch-action: pan-y;
}

.syp-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
}

/* No-JavaScript: the first slide stays in view. */
.syp-hero__slide:first-child {
	opacity: 1;
	visibility: visible;
}

/* JavaScript: only the active slide is painted. */
.syp-hero.is-enhanced .syp-hero__slide {
	opacity: 0;
	visibility: hidden;
}

.syp-hero.is-enhanced .syp-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.syp-hero__figure {
	position: absolute;
	inset: 0;
	/* The Ken Burns scale must not bleed past the hero. */
	overflow: hidden;
}

.syp-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform-origin: 50% 45%;
}

.syp-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		rgba(15, 44, 39, 0.9) 0%,
		rgba(15, 44, 39, 0.7) 40%,
		rgba(15, 44, 39, 0.28) 76%,
		rgba(15, 44, 39, 0.5) 100%
	);
}

.syp-hero__inner {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
}

.syp-hero__content {
	max-width: 42rem;
	padding-block: var(--syp-space-8);
}

.syp-hero__eyebrow {
	margin: 0;
	font-size: var(--syp-fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--syp-gold-soft);
}

.syp-hero__headline {
	margin: var(--syp-space-4) 0 0;
	font-family: var(--syp-font-display);
	font-size: clamp(2.25rem, 6.4vw, 4.25rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.015em;
	color: var(--syp-ivory);
}

.syp-hero__support {
	margin: var(--syp-space-4) 0 0;
	max-width: 34rem;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	line-height: 1.6;
	color: rgba(247, 243, 235, 0.88);
}

.syp-hero__cta {
	margin: var(--syp-space-6) 0 0;
}

.syp-hero__button-icon {
	transition: transform var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-hero__button:hover .syp-hero__button-icon {
	transform: translateX(3px);
}

.syp-hero__band {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}

.syp-hero__controls {
	display: none;
	background: var(--syp-green-deep);
	border-top: 1px solid rgba(247, 243, 235, 0.14);
}

.syp-hero.is-enhanced .syp-hero__controls {
	display: block;
}

.syp-hero__controls-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--syp-space-4);
	padding-block: var(--syp-space-3);
}

.syp-hero__dots {
	display: flex;
	align-items: center;
}

.syp-hero__dot {
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.syp-hero__dot::before {
	content: "";
	position: absolute;
	left: 4px;
	right: 4px;
	top: 50%;
	height: 4px;
	margin-top: -2px;
	background: rgba(247, 243, 235, 0.28);
	border-radius: var(--syp-radius-pill);
	transform: scaleX(0.4);
	transform-origin: left center;
	transition: transform var(--syp-dur-base) var(--syp-ease-out),
		background-color var(--syp-dur-base) var(--syp-ease-out);
}

.syp-hero__dot.is-current::before {
	background: var(--syp-gold);
	transform: scaleX(1);
}

.syp-hero__buttons {
	display: flex;
	align-items: center;
	gap: var(--syp-space-2);
}

.syp-hero__arrow,
.syp-hero__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--syp-space-2);
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 1px solid rgba(247, 243, 235, 0.28);
	border-radius: var(--syp-radius-pill);
	background: transparent;
	color: var(--syp-ivory);
	cursor: pointer;
	transition: border-color var(--syp-dur-fast) var(--syp-ease-out),
		color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-hero__arrow:hover,
.syp-hero__toggle:hover {
	border-color: var(--syp-gold);
	color: var(--syp-gold-soft);
}

.syp-hero__toggle {
	padding-inline: var(--syp-space-4);
	font-size: var(--syp-fs-small);
	font-weight: 600;
	letter-spacing: 0.04em;
}

.syp-hero__toggle-icon {
	width: 11px;
	height: 12px;
	background: linear-gradient(
		to right,
		currentcolor 0 32%,
		transparent 32% 68%,
		currentcolor 68% 100%
	);
}

.syp-hero__toggle[aria-pressed="true"] .syp-hero__toggle-icon {
	background: currentcolor;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.syp-hero__arrow:focus-visible,
.syp-hero__toggle:focus-visible,
.syp-hero__dot:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 2px;
}

@media (min-width: 768px) {
	.syp-hero__dot {
		width: 34px;
	}
}

/* ------------------------------------------------- live radio on the air */

.syp-live__grid {
	display: grid;
	gap: var(--syp-space-7);
}

.syp-live__headline {
	margin: var(--syp-space-3) 0 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h1);
	line-height: 1.08;
	color: var(--syp-ivory);
}

.syp-live__lede {
	margin: var(--syp-space-4) 0 0;
	max-width: 46ch;
	font-size: var(--syp-fs-body);
	line-height: 1.7;
	color: rgba(247, 243, 235, 0.82);
}

.syp-live__facts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--syp-space-6);
	margin: var(--syp-space-7) 0 0;
	padding: 0;
	list-style: none;
}

.syp-live__fact-value {
	display: block;
	font-family: var(--syp-font-display);
	font-size: 1.75rem;
	line-height: 1.1;
	color: var(--syp-gold-soft);
}

.syp-live__fact-label {
	display: block;
	margin-top: var(--syp-space-1);
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(247, 243, 235, 0.68);
}

.syp-live__player {
	width: 100%;
}

.syp-live__player .fmwave-brlogic-player {
	margin: 0;
}

@media (min-width: 1024px) {
	.syp-live__grid {
		grid-template-columns: 7fr 5fr;
		align-items: center;
		gap: var(--syp-space-8);
	}
}

/* ------------------------------------------------------------ now on air */

.syp-air__panel {
	display: grid;
	gap: var(--syp-space-6);
	padding: var(--syp-space-7) var(--syp-space-6);
	background: var(--syp-ivory);
	border-left: 6px solid var(--syp-gold);
	border-radius: var(--syp-radius-sm);
	box-shadow: var(--syp-shadow-sm);
}

.syp-air__statement {
	margin: 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h2);
	line-height: 1.18;
	color: var(--syp-green);
}

.syp-air__text {
	margin: var(--syp-space-4) 0 0;
	max-width: 52ch;
	font-size: var(--syp-fs-body);
	line-height: 1.7;
	color: var(--syp-charcoal);
}

.syp-air__status {
	display: flex;
	align-items: center;
	gap: var(--syp-space-3);
	padding: var(--syp-space-4) var(--syp-space-5);
	background: var(--syp-sand);
	border-radius: var(--syp-radius-sm);
}

.syp-air__status-dot {
	width: 10px;
	height: 10px;
	flex: 0 0 auto;
	background: var(--syp-gold);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(196, 122, 66, 0.18);
}

.syp-air__status-text {
	font-size: var(--syp-fs-small);
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--syp-green-deep);
}

.syp-air__status-note {
	display: block;
	margin-top: var(--syp-space-1);
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--syp-muted);
}

@media (min-width: 768px) {
	.syp-air__panel {
		grid-template-columns: 8fr 4fr;
		align-items: center;
		padding: var(--syp-space-8) var(--syp-space-7);
	}
}

/* ------------------------------------------------------- vipindi vyetu */

/* Card grid of the station's programmes: one column on phones, two on
   tablets, three on desktop. Each card leads with the programme's banner
   image (16:9) and carries the title and description beneath it. */

.syp-shows__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-5);
}

.syp-show {
	display: flex;
}

.syp-show__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: var(--syp-ivory);
	border: 1px solid var(--syp-line);
	border-radius: var(--syp-radius);
	transition: transform var(--syp-dur-fast) var(--syp-ease-out),
		box-shadow var(--syp-dur-fast) var(--syp-ease-out),
		border-color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-show__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--syp-green-deep);
}

.syp-show__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--syp-dur-slow) var(--syp-ease-out);
}

.syp-show__body {
	display: block;
	padding: var(--syp-space-5);
}

.syp-show__title {
	margin: 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h4);
	line-height: 1.25;
	transition: color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-show__excerpt {
	display: block;
	margin-top: var(--syp-space-2);
	font-size: var(--syp-fs-small);
	line-height: 1.65;
	color: var(--syp-muted);
}

.syp-show__link:hover,
.syp-show__link:focus-visible {
	border-color: var(--syp-gold);
	box-shadow: var(--syp-shadow-md);
}

.syp-show__link:hover .syp-show__title,
.syp-show__link:focus-visible .syp-show__title {
	color: var(--syp-gold);
}

.syp-show__link:hover .syp-show__image,
.syp-show__link:focus-visible .syp-show__image {
	transform: scale(1.04);
}

.syp-show__link:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 2px;
}

@media (min-width: 768px) {
	.syp-shows__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.syp-shows__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ------------------------------------------------------- habari za pwani */

/* Category switcher: an accessible tablist over five server-rendered panels.
   The tab row scrolls horizontally on narrow screens, never the page. */

.syp-news__tabs {
	display: flex;
	gap: var(--syp-space-1);
	margin-bottom: var(--syp-space-6);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.syp-news__tab {
	flex: 0 0 auto;
	padding: var(--syp-space-3) var(--syp-space-4);
	font-family: inherit;
	font-size: var(--syp-fs-small);
	font-weight: 600;
	line-height: 1.5;
	color: var(--syp-muted);
	white-space: nowrap;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	cursor: pointer;
	transition:
		color var(--syp-dur-fast) var(--syp-ease-out),
		border-color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-news__tab:hover {
	color: var(--syp-green);
}

.syp-news__tab[aria-selected="true"] {
	color: var(--syp-green);
	border-bottom-color: var(--syp-gold);
}

.syp-news__tab:focus-visible {
	outline: 2px solid var(--syp-green);
	outline-offset: -2px;
	border-radius: var(--syp-radius-sm);
}

/* Panels: only the active one is shown. The fade replays when a panel is
   un-hidden and is switched off entirely for prefers-reduced-motion. */

@keyframes syp-news-panel-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

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

.syp-news__panel {
	animation: syp-news-panel-in var(--syp-dur-base) var(--syp-ease-out) both;
}

.syp-news__panel[hidden] {
	display: none;
}

.syp-news__panel-grid {
	display: grid;
	gap: var(--syp-space-7);
}

/* Category label and date share one editorial line above each headline. */

.syp-news__meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--syp-space-2) var(--syp-space-3);
	margin-top: var(--syp-space-3);
}

.syp-news__cat {
	font-family: var(--syp-font-mono);
	font-size: var(--syp-fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--syp-gold);
}

.syp-news__meta {
	font-family: var(--syp-font-mono);
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--syp-muted);
}

/* Lead story */

.syp-news__lead-title {
	margin: var(--syp-space-3) 0 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h1);
	line-height: 1.08;
}

.syp-news__lead-title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-news__lead-title a:hover {
	color: var(--syp-gold);
}

.syp-news__lead-excerpt {
	margin: var(--syp-space-4) 0 0;
	max-width: 54ch;
	font-size: var(--syp-fs-body);
	line-height: 1.7;
	color: var(--syp-charcoal);
}

.syp-news__lead-media {
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--syp-radius);
	background: var(--syp-sand);
}

.syp-news__lead-media a {
	display: block;
	height: 100%;
}

.syp-news__lead-image,
.syp-news__lead-media .syp-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.syp-news__lead-media .syp-placeholder {
	border: 0;
	border-radius: 0;
}

/* Three smaller stories. Same 16:9 / 1:1 crops and token palette as the lead
   so every card reads as one system. */

.syp-news__minis {
	display: grid;
	gap: var(--syp-space-6);
}

.syp-news__mini {
	display: grid;
	gap: var(--syp-space-4);
	align-content: start;
}

.syp-news__mini-media {
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--syp-radius-sm);
	background: var(--syp-sand);
}

.syp-news__mini-media a {
	display: block;
	height: 100%;
}

.syp-news__mini-image,
.syp-news__mini-media .syp-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.syp-news__mini-media .syp-placeholder {
	border: 0;
	border-radius: 0;
}

.syp-news__mini-body {
	min-width: 0;
}

.syp-news__mini-title {
	margin: var(--syp-space-2) 0 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h4);
	line-height: 1.3;
}

.syp-news__mini-title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-news__mini-title a:hover {
	color: var(--syp-gold);
}

.syp-news__archive {
	margin-top: var(--syp-space-6);
}

/* Tablet: the three smaller stories sit in a clean row under the lead. */

@media (min-width: 640px) {
	.syp-news__minis {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--syp-space-5);
	}
}

/* Desktop: lead on the left, the three smaller stories as a stacked list on
   the right, each with its thumbnail beside the headline. */

@media (min-width: 1024px) {
	.syp-news__panel-grid {
		grid-template-columns: 7fr 5fr;
		gap: var(--syp-space-8);
		align-items: start;
	}

	.syp-news__minis {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.syp-news__mini {
		grid-template-columns: 112px 1fr;
		gap: var(--syp-space-4);
		padding-block: var(--syp-space-4);
		border-top: 1px solid var(--syp-line);
	}

	.syp-news__mini:first-child {
		padding-top: 0;
		border-top: 0;
	}

	.syp-news__mini:last-child {
		border-bottom: 1px solid var(--syp-line);
	}

	.syp-news__mini-media {
		aspect-ratio: 1 / 1;
	}

	.syp-news__mini .syp-news__meta-row {
		margin-top: 0;
	}
}

/* ---------------------------------------------------- karibu pwani yetu */

.syp-heritage {
	background: var(--syp-green-deep);
	color: var(--syp-ivory);
}

.syp-heritage__grid {
	display: grid;
	gap: var(--syp-space-7);
}

.syp-heritage__figure {
	position: relative;
	overflow: hidden;
	border-radius: var(--syp-radius);
	background: var(--syp-green);
}

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

.syp-heritage__title {
	margin: var(--syp-space-3) 0 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h1);
	line-height: 1.1;
	color: var(--syp-ivory);
}

.syp-heritage__text {
	margin: var(--syp-space-4) 0 0;
	max-width: 52ch;
	font-size: var(--syp-fs-body);
	line-height: 1.75;
	color: rgba(247, 243, 235, 0.84);
}

.syp-heritage__facts {
	margin: var(--syp-space-6) 0 0;
}

.syp-heritage__facts dt {
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--syp-gold-soft);
}

.syp-heritage__facts dd {
	margin: var(--syp-space-1) 0 var(--syp-space-4);
	font-size: var(--syp-fs-small);
	line-height: 1.65;
	color: rgba(247, 243, 235, 0.85);
}

.syp-heritage__links {
	margin: var(--syp-space-6) 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--syp-space-3);
}

.syp-heritage__links a {
	font-size: var(--syp-fs-small);
	color: var(--syp-sand);
	text-decoration: none;
	border-bottom: 1px solid rgba(233, 216, 184, 0.35);
	padding-bottom: 2px;
	transition: color var(--syp-dur-fast) var(--syp-ease-out),
		border-color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-heritage__links a:hover {
	color: var(--syp-gold-soft);
	border-color: var(--syp-gold);
}

@media (min-width: 1024px) {
	.syp-heritage__grid {
		grid-template-columns: 6fr 6fr;
		align-items: center;
		gap: var(--syp-space-8);
	}
}

/* ------------------------------- video, podcasts and interviews */

.syp-media__grid {
	display: grid;
	gap: var(--syp-space-7);
}

.syp-media__figure {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: var(--syp-radius);
	text-decoration: none;
}

.syp-media__figure img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.syp-media__figure-veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(15, 44, 39, 0.86) 0%,
		rgba(15, 44, 39, 0.3) 55%,
		rgba(15, 44, 39, 0.05) 100%
	);
}

.syp-media__figure-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: var(--syp-space-6);
	color: var(--syp-ivory);
}

.syp-media__figure-title {
	margin: var(--syp-space-2) 0 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h3);
	line-height: 1.2;
	color: var(--syp-ivory);
}

.syp-media__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.syp-media__link {
	display: flex;
	flex-direction: column;
	gap: var(--syp-space-2);
	padding: var(--syp-space-5) 0;
	text-decoration: none;
	color: inherit;
}

.syp-media__link:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 2px;
}

.syp-media__item-title {
	margin: 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h4);
	line-height: 1.25;
	transition: color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-media__link:hover .syp-media__item-title {
	color: var(--syp-gold);
}

.syp-media__item-text {
	margin: 0;
	font-size: var(--syp-fs-small);
	line-height: 1.65;
	color: var(--syp-muted);
}

@media (min-width: 1024px) {
	.syp-media__grid {
		grid-template-columns: 7fr 5fr;
		align-items: center;
		gap: var(--syp-space-8);
	}
}

/* -------------------------------------------------------- watangazaji */

.syp-presenters__grid {
	display: grid;
	gap: var(--syp-space-6);
}

.syp-presenter {
	padding-top: var(--syp-space-4);
	border-top: 2px solid var(--syp-gold);
}

.syp-presenter__name {
	margin: 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h3);
	line-height: 1.2;
}

.syp-presenter__name a {
	color: inherit;
	text-decoration: none;
	transition: color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-presenter__name a:hover {
	color: var(--syp-gold);
}

.syp-presenter__role {
	display: block;
	margin-top: var(--syp-space-2);
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--syp-gold);
}

.syp-presenter__bio {
	margin: var(--syp-space-3) 0 0;
	font-size: var(--syp-fs-small);
	line-height: 1.65;
	color: var(--syp-muted);
}

@media (min-width: 768px) {
	.syp-presenters__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--syp-space-7) var(--syp-space-8);
	}
}

/* ------------------------------------------------- pwani iko kila mahali */

.syp-community {
	background: var(--syp-green);
	color: var(--syp-ivory);
}

.syp-community__grid {
	display: grid;
	gap: var(--syp-space-7);
}

.syp-community__title {
	margin: var(--syp-space-3) 0 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h1);
	line-height: 1.1;
	color: var(--syp-ivory);
}

.syp-community__text {
	margin: var(--syp-space-4) 0 0;
	max-width: 50ch;
	font-size: var(--syp-fs-body);
	line-height: 1.75;
	color: rgba(247, 243, 235, 0.84);
}

.syp-community__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--syp-space-5);
}

.syp-community__value {
	display: block;
	font-family: var(--syp-font-display);
	font-size: clamp(1.75rem, 3.4vw, 2.75rem);
	line-height: 1.05;
	color: var(--syp-gold-soft);
}

.syp-community__label {
	display: block;
	margin-top: var(--syp-space-2);
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(247, 243, 235, 0.7);
}

.syp-community__contacts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--syp-space-5);
	margin: var(--syp-space-6) 0 0;
	padding: 0;
	list-style: none;
}

.syp-community__contacts a {
	color: var(--syp-sand);
	text-decoration: none;
	border-bottom: 1px solid rgba(233, 216, 184, 0.4);
	padding-bottom: 2px;
	transition: color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-community__contacts a:hover {
	color: var(--syp-gold-soft);
}

@media (min-width: 1024px) {
	.syp-community__grid {
		grid-template-columns: 7fr 5fr;
		align-items: center;
		gap: var(--syp-space-8);
	}
}

/* ------------------------------------------------------- tangaza nasi */

.syp-advertise__panel {
	display: grid;
	gap: var(--syp-space-6);
	padding: var(--syp-space-7) var(--syp-space-6);
	background: var(--syp-green);
	color: var(--syp-ivory);
	border-radius: var(--syp-radius);
	overflow: hidden;
}

.syp-advertise__title {
	margin: var(--syp-space-3) 0 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h1);
	line-height: 1.1;
	color: var(--syp-ivory);
}

.syp-advertise__text {
	margin: var(--syp-space-4) 0 0;
	max-width: 48ch;
	font-size: var(--syp-fs-body);
	line-height: 1.75;
	color: rgba(247, 243, 235, 0.84);
}

.syp-advertise__figure {
	overflow: hidden;
	border-radius: var(--syp-radius-sm);
}

.syp-advertise__figure img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

@media (min-width: 1024px) {
	.syp-advertise__panel {
		grid-template-columns: 7fr 5fr;
		align-items: center;
		padding: var(--syp-space-9) var(--syp-space-8);
		gap: var(--syp-space-8);
	}
}

/* -------------------------------------------------------------- matangazo */

/* The section runs tighter than the default rhythm: less vertical padding and
   a slightly narrower gutter so the adverts read as a compact block. The
   heading is centred and a quarter smaller, the lede is centred at a
   comfortable measure, and the closing call to action is a compact button. */
.syp-matangazo {
	padding-block: calc(var(--syp-space-8) - 28px);
}

.syp-matangazo .syp-container {
	padding-inline: max(1rem, calc(var(--syp-gutter) - 20px));
}

.syp-matangazo__header {
	margin-inline: auto;
	text-align: center;
}

.syp-matangazo .syp-section-header__title {
	font-size: calc(var(--syp-fs-h2) * 0.75);
}

.syp-matangazo__header::after {
	margin-inline: auto;
}

.syp-matangazo__intro {
	margin: 0 auto var(--syp-space-6);
	max-width: 64ch;
	font-size: var(--syp-fs-body);
	line-height: 1.7;
	text-align: center;
	color: var(--syp-charcoal);
}

.syp-matangazo__cta {
	display: flex;
	width: fit-content;
	margin: var(--syp-space-5) auto 0;
	padding: 0 var(--syp-space-4);
}

/* Matangazo carousel.
 *
 * Progressive enhancement: without JavaScript the track is a plain stacked
 * list of every advert. The controller adds [data-syp-carousel-ready] and the
 * track becomes a one-slide-at-a-time slider that advances every five seconds
 * (data-syp-carousel-interval). */

.syp-carousel {
	position: relative;
}

.syp-carousel__viewport {
	overflow: hidden;
	border-radius: var(--syp-radius);
	background: #fff;
	box-shadow: var(--syp-shadow-sm);
}

.syp-carousel__track {
	display: grid;
	gap: var(--syp-space-6);
}

[data-syp-carousel-ready] .syp-carousel__track {
	display: flex;
	gap: 0;
	transition: transform var(--syp-dur-slow) var(--syp-ease-out);
	will-change: transform;
}

.syp-carousel__slide {
	flex: 0 0 100%;
	min-width: 0;
	margin: 0;
}

.syp-advert {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	background: #fff;
	overflow: hidden;
}

.syp-advert__media {
	position: relative;
	aspect-ratio: 850 / 314;
	overflow: hidden;
	background: var(--syp-green-deep);
}

.syp-advert__video,
.syp-advert__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--syp-green-deep);
}

.syp-carousel__controls {
	display: flex;
	align-items: center;
	gap: var(--syp-space-3);
	margin-top: var(--syp-space-4);
}

.syp-carousel__arrow,
.syp-carousel__pause {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	color: var(--syp-green);
	background: #fff;
	border: 1px solid var(--syp-line);
	border-radius: 50%;
	cursor: pointer;
	transition: color var(--syp-dur-fast) var(--syp-ease-out),
		background var(--syp-dur-fast) var(--syp-ease-out),
		border-color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-carousel__arrow:hover,
.syp-carousel__pause:hover {
	color: var(--syp-ivory);
	background: var(--syp-green);
	border-color: var(--syp-green);
}

.syp-carousel__arrow:focus-visible,
.syp-carousel__pause:focus-visible,
.syp-carousel__dot:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 2px;
}

.syp-carousel__dots {
	display: flex;
	align-items: center;
	gap: var(--syp-space-2);
	margin: 0 auto;
}

.syp-carousel__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	background: var(--syp-line);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background var(--syp-dur-fast) var(--syp-ease-out),
		transform var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-carousel__dot[aria-current="true"] {
	background: var(--syp-gold);
	transform: scale(1.25);
}

/* Pause icon: two bars that become a play triangle while the rotation is
 * stopped (aria-pressed / .is-stopped toggled by the controller). */
.syp-carousel__pause-icon {
	width: 12px;
	height: 12px;
	background:
		linear-gradient(currentColor, currentColor) left center / 4px 100% no-repeat,
		linear-gradient(currentColor, currentColor) right center / 4px 100% no-repeat;
}

.syp-carousel__pause.is-stopped .syp-carousel__pause-icon {
	width: 0;
	height: 0;
	background: none;
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent currentColor;
}

.syp-advert__caption {
	display: flex;
	flex-direction: column;
	gap: var(--syp-space-2);
	padding: var(--syp-space-5);
}

.syp-advert__advertiser {
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h4);
	line-height: 1.25;
	color: var(--syp-green);
}

.syp-advert__desc {
	font-size: var(--syp-fs-small);
	line-height: 1.6;
	color: var(--syp-muted);
}

.syp-advert__cta {
	margin-top: auto;
	align-self: flex-start;
	font-family: var(--syp-font-mono);
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--syp-gold);
	text-decoration: none;
}

a.syp-advert__cta:hover,
a.syp-advert__cta:focus-visible {
	text-decoration: underline;
}

a.syp-advert__cta:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 2px;
}

.syp-advert__cta--static {
	color: var(--syp-muted);
}

/* --------------------------------------------- homepage reduced motion */

@media (prefers-reduced-motion: reduce) {
	.syp-hero__dot::before,
	.syp-hero__arrow,
	.syp-hero__toggle,
	.syp-show__title,
	.syp-news__lead-title a,
	.syp-news__mini-title a,
	.syp-news__tab,
	.syp-media__item-title,
	.syp-presenter__name a,
	.syp-advert,
	.syp-carousel__track,
	.syp-carousel__arrow,
	.syp-carousel__pause,
	.syp-carousel__dot,
	.syp-link-more,
	.syp-link-more svg,
	.syp-heritage__links a,
	.syp-community__contacts a {
		transition: none;
	}

	/* The news switcher swaps panels instantly instead of fading them in. */
	.syp-news__panel {
		animation: none;
	}

	.syp-link-more:hover svg {
		transform: none;
	}

	.syp-carousel__dot[aria-current="true"] {
		transform: none;
	}
}

/* ======================================================================
 * Phase C1 - shared page furniture
 *
 * These rules were previously duplicated as inline <style> blocks inside the
 * child templates. They now live here once, on the Phase A --syp-* tokens.
 * ====================================================================== */

/* ----------------------------------------------------------- breadcrumbs */

.syp-breadcrumb {
	margin: 0 0 var(--syp-space-3);
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.04em;
	color: var(--syp-muted);
}

.syp-breadcrumb a {
	color: var(--syp-green);
	text-decoration: none;
}

.syp-breadcrumb a:hover,
.syp-breadcrumb a:focus-visible {
	color: var(--syp-gold);
	text-decoration: underline;
}

.syp-breadcrumb--center {
	text-align: center;
}

.syp-breadcrumb--on-dark {
	color: rgba(247, 243, 235, 0.72);
}

.syp-breadcrumb--on-dark a {
	color: var(--syp-ivory);
}

.syp-breadcrumb--on-dark a:hover,
.syp-breadcrumb--on-dark a:focus-visible {
	color: var(--syp-gold-soft);
}

/* ---------------------------------------------------------- placeholders */

.syp-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: var(--syp-placeholder-ratio, 16 / 9);
	padding: var(--syp-space-4);
	background:
		repeating-linear-gradient(
			45deg,
			rgba(23, 63, 56, 0.04) 0 12px,
			rgba(23, 63, 56, 0.08) 12px 24px
		),
		var(--syp-ivory);
	border: 1px dashed var(--syp-line);
	border-radius: var(--syp-radius);
}

.syp-placeholder__label {
	font-family: var(--syp-font-mono);
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
	color: var(--syp-muted);
}

/* ------------------------------------------------------- archive headers */

.syp-archive-header {
	padding: var(--syp-space-8) 0 var(--syp-space-7);
	margin-bottom: var(--syp-space-7);
	background: var(--syp-green);
	color: var(--syp-ivory);
	text-align: center;
}

.syp-archive-header .syp-breadcrumb {
	color: rgba(247, 243, 235, 0.72);
}

.syp-archive-header .syp-breadcrumb a {
	color: var(--syp-ivory);
}

.syp-archive-header .syp-breadcrumb a:hover,
.syp-archive-header .syp-breadcrumb a:focus-visible {
	color: var(--syp-gold-soft);
}

.syp-archive-title {
	margin: 0 0 var(--syp-space-3);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-display);
	line-height: 1.1;
	color: var(--syp-ivory);
}

.syp-archive-description {
	max-width: 46rem;
	margin: 0 auto;
	font-size: var(--syp-fs-body);
	line-height: 1.6;
	color: rgba(247, 243, 235, 0.86);
}

/* --------------------------------------------------------- listing cards */

.syp-news-grid,
.syp-shows-grid,
.syp-presenters-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-6);
	margin-bottom: var(--syp-space-8);
}

.syp-news-card,
.syp-show-card,
.syp-presenter-card {
	overflow: hidden;
	background: #fff;
	border-radius: var(--syp-radius);
	box-shadow: var(--syp-shadow-sm);
	transition: transform var(--syp-dur-base) var(--syp-ease-out),
		box-shadow var(--syp-dur-base) var(--syp-ease-out);
}

.syp-news-card:hover,
.syp-show-card:hover,
.syp-presenter-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--syp-shadow-md);
}

.syp-news-card__link,
.syp-show-card__link,
.syp-presenter-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.syp-news-card__link:focus-visible,
.syp-show-card__link:focus-visible,
.syp-presenter-card__link:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 2px;
}

.syp-news-card__image,
.syp-show-card__image,
.syp-presenter-card__image {
	margin: 0;
	overflow: hidden;
}

.syp-news-card__image {
	aspect-ratio: 16 / 9;
}

.syp-show-card__image,
.syp-presenter-card__image {
	aspect-ratio: 1 / 1;
}

.syp-presenter-card__image {
	aspect-ratio: 4 / 5;
}

.syp-news-card__image img,
.syp-show-card__image img,
.syp-presenter-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.syp-news-card__image .syp-placeholder,
.syp-show-card__image .syp-placeholder,
.syp-presenter-card__image .syp-placeholder {
	height: 100%;
	border: 0;
	border-radius: 0;
}

.syp-news-card__content,
.syp-show-card__content,
.syp-presenter-card__content {
	padding: var(--syp-space-5);
}

.syp-show-card__title,
.syp-news-card__title,
.syp-presenter-card__name {
	margin: 0 0 var(--syp-space-2);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h3);
	line-height: 1.25;
	color: var(--syp-green);
}

.syp-show-card__excerpt {
	font-size: var(--syp-fs-small);
	line-height: 1.6;
	color: var(--syp-muted);
}

.syp-presenter-card {
	text-align: center;
}

.syp-show-card__excerpt p:last-child,
.syp-news-card__title:last-child {
	margin-bottom: 0;
}

.syp-presenter-card__role,
.syp-news-card__date {
	display: block;
	font-size: var(--syp-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--syp-gold);
}

.syp-news-card__date {
	margin-bottom: var(--syp-space-2);
}

.syp-pagination {
	grid-column: 1 / -1;
	padding: var(--syp-space-6) 0;
}

.syp-pagination .page-numbers {
	display: inline-block;
	min-width: 2.5rem;
	padding: 0.4rem 0.6rem;
	margin: 0 0.15rem;
	border: 1px solid var(--syp-line);
	border-radius: var(--syp-radius-sm);
	color: var(--syp-green);
	text-align: center;
	text-decoration: none;
}

.syp-pagination .page-numbers.current,
.syp-pagination .page-numbers:hover {
	background: var(--syp-green);
	border-color: var(--syp-green);
	color: var(--syp-ivory);
}

@media (min-width: 640px) {
	.syp-news-grid,
	.syp-shows-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.syp-presenters-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.syp-news-grid,
	.syp-shows-grid,
	.syp-presenters-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ------------------------------------------------- sidebar widgets, util */

.syp-sidebar-widget {
	padding: var(--syp-space-5);
	margin-bottom: var(--syp-space-5);
	background: #fff;
	border-radius: var(--syp-radius);
	box-shadow: var(--syp-shadow-sm);
}

.syp-widget-title,
.syp-sub-title {
	margin: 0 0 var(--syp-space-4);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h4);
	color: var(--syp-green);
}

.syp-sub-title {
	display: inline-block;
	padding-bottom: var(--syp-space-2);
	border-bottom: 2px solid var(--syp-gold);
}

.syp-img-fluid {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--syp-radius);
}

.w-full {
	width: 100%;
}

/* --------------------------------------------------------- single: show */

.syp-programme-header {
	padding: var(--syp-space-8) 0;
	margin-bottom: var(--syp-space-7);
	color: var(--syp-ivory);
}

.syp-programme-header--green {
	background: var(--syp-green);
}

.syp-programme-header__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-6);
	align-items: center;
}

.syp-programme-header__image img {
	width: 100%;
	border-radius: var(--syp-radius);
	box-shadow: var(--syp-shadow-lg);
}

.syp-programme-title {
	margin: 0 0 var(--syp-space-4);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-display);
	line-height: 1.1;
	color: var(--syp-ivory);
}

.syp-programme-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--syp-space-5);
}

.syp-programme-meta__item {
	display: flex;
	align-items: center;
	gap: var(--syp-space-2);
	font-weight: 600;
	color: var(--syp-gold-soft);
}

.syp-programme-body,
.syp-presenter-body,
.syp-article-body {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-7);
	margin-bottom: var(--syp-space-8);
}

.syp-programme-section,
.syp-presenter-section {
	margin-bottom: var(--syp-space-6);
}

.syp-schedule-table {
	padding: var(--syp-space-5);
	background: var(--syp-ivory);
	border-radius: var(--syp-radius);
}

.syp-schedule-row {
	display: flex;
	justify-content: space-between;
	gap: var(--syp-space-4);
	padding: var(--syp-space-3) 0;
	border-bottom: 1px solid var(--syp-line);
}

.syp-schedule-row:last-child {
	border-bottom: 0;
}

.syp-schedule-day {
	font-weight: 700;
	color: var(--syp-green);
}

/* ----------------------------------------------------- single: presenter */

.syp-presenter-header {
	padding: var(--syp-space-8) 0;
	margin-bottom: var(--syp-space-7);
	border-bottom: 1px solid var(--syp-line);
}

.syp-presenter-header--sand {
	background: var(--syp-ivory);
}

.syp-presenter-header__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-6);
	align-items: center;
}

.syp-presenter-header__image img {
	width: 100%;
	border-radius: var(--syp-radius);
	box-shadow: var(--syp-shadow-md);
}

.syp-presenter-badge {
	display: inline-block;
	padding: 4px 14px;
	margin-bottom: var(--syp-space-3);
	background: var(--syp-gold);
	color: #fff;
	border-radius: var(--syp-radius-pill);
	font-size: var(--syp-fs-eyebrow);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.syp-presenter-name {
	margin: 0 0 var(--syp-space-2);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-display);
	line-height: 1.1;
	color: var(--syp-green);
}

.syp-presenter-role {
	margin: 0 0 var(--syp-space-5);
	font-size: var(--syp-fs-h4);
	color: var(--syp-muted);
}

.syp-presenter-socials {
	display: flex;
	gap: var(--syp-space-4);
}

.syp-presenter-socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	background: #fff;
	color: var(--syp-green);
	border-radius: 50%;
	box-shadow: var(--syp-shadow-sm);
	transition: transform var(--syp-dur-fast) var(--syp-ease-out),
		background-color var(--syp-dur-fast) var(--syp-ease-out),
		color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-presenter-socials a:hover,
.syp-presenter-socials a:focus-visible {
	background: var(--syp-green);
	color: #fff;
	transform: translateY(-3px);
}

/* ------------------------------------------------- single post, default page */

.syp-article-header,
.syp-page-header {
	padding-top: var(--syp-space-8);
	text-align: center;
	background: var(--syp-ivory);
}

.syp-page-header {
	padding-bottom: var(--syp-space-7);
	margin-bottom: var(--syp-space-7);
	border-bottom: 1px solid var(--syp-line);
}

.syp-article-meta {
	margin-bottom: var(--syp-space-3);
	font-size: var(--syp-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.syp-article-category a {
	color: var(--syp-gold);
	text-decoration: none;
}

.syp-article-date {
	margin-left: var(--syp-space-4);
	color: var(--syp-muted);
}

.syp-article-title,
.syp-page-title {
	max-width: 56rem;
	margin: 0 auto var(--syp-space-6);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h1);
	line-height: 1.15;
	color: var(--syp-green);
}

.syp-page-title {
	margin-bottom: 0;
}

.syp-article-hero {
	width: 100%;
	max-height: 60vh;
	overflow: hidden;
}

.syp-article-hero__img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.syp-article-body {
	padding: var(--syp-space-7) 0;
	margin-bottom: 0;
}

.syp-article-main {
	font-size: var(--syp-fs-body);
	line-height: 1.75;
	color: var(--syp-charcoal);
}

.syp-page-content {
	max-width: 56rem;
	margin: 0 auto var(--syp-space-8);
	font-size: var(--syp-fs-body);
	line-height: 1.75;
}

.syp-article-tags {
	margin-top: var(--syp-space-6);
	padding-top: var(--syp-space-5);
	border-top: 1px solid var(--syp-line);
}

.syp-tags-label {
	font-weight: 700;
	color: var(--syp-green);
}

.syp-article-tags a {
	display: inline-block;
	padding: 4px 12px;
	margin: 0 6px 6px 0;
	background: var(--syp-ivory);
	color: var(--syp-green);
	border-radius: var(--syp-radius-sm);
	font-size: var(--syp-fs-eyebrow);
	text-decoration: none;
}

/* Source attribution box for curated external news coverage. */
.syp-attribution {
	margin-top: var(--syp-space-6);
	padding: var(--syp-space-5) var(--syp-space-6);
	background: var(--syp-ivory);
	border: 1px solid var(--syp-line);
	border-left: 4px solid var(--syp-gold);
	border-radius: var(--syp-radius);
}

.syp-attribution__kind {
	display: inline-block;
	margin-bottom: var(--syp-space-3);
	padding: 3px 12px;
	background: var(--syp-green);
	color: var(--syp-ivory);
	border-radius: var(--syp-radius-pill);
	font-size: var(--syp-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.syp-attribution__list {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px var(--syp-space-4);
	margin: 0 0 var(--syp-space-4);
	font-size: var(--syp-fs-small);
}

.syp-attribution__list dt {
	font-weight: 700;
	color: var(--syp-green);
}

.syp-attribution__list dd {
	margin: 0;
	color: var(--syp-charcoal);
}

.syp-attribution__link {
	margin: 0 0 var(--syp-space-2);
	font-weight: 700;
}

.syp-attribution__link a {
	color: var(--syp-green);
}

.syp-attribution__note {
	margin: 0;
	font-size: var(--syp-fs-eyebrow);
	color: var(--syp-muted);
}

.syp-recent-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.syp-recent-list li {
	margin-bottom: var(--syp-space-5);
}

.syp-recent-list a {
	display: block;
	margin-bottom: var(--syp-space-1);
	font-weight: 700;
	line-height: 1.3;
	color: var(--syp-green);
	text-decoration: none;
}

.syp-recent-list span {
	font-size: var(--syp-fs-eyebrow);
	color: var(--syp-muted);
}

@media (min-width: 1024px) {
	.syp-programme-header__grid {
		grid-template-columns: 320px 1fr;
	}

	.syp-presenter-header__grid {
		grid-template-columns: 350px 1fr;
		gap: var(--syp-space-8);
	}

	.syp-programme-body,
	.syp-presenter-body,
	.syp-article-body {
		grid-template-columns: 2fr 1fr;
		gap: var(--syp-space-8);
	}
}

/* ======================================================================
 * Phase C1 - Pwani Yetu hub & heritage editorial templates
 * ====================================================================== */

/* -------------------------------------------------------- heritage hub */

.syp-heritage-hub {
	background: var(--syp-ivory);
}

.syp-hub-hero {
	position: relative;
	padding: var(--syp-space-9) 0 var(--syp-space-8);
	background: var(--syp-green-deep);
	color: var(--syp-ivory);
	text-align: center;
	overflow: hidden;
}

.syp-hub-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0.34;
}

.syp-hub-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.syp-hub-hero__media .syp-placeholder {
	height: 100%;
	aspect-ratio: auto;
	border: 0;
	border-radius: 0;
}

.syp-hub-hero__inner {
	position: relative;
	z-index: 1;
}

.syp-hub-hero__eyebrow,
.syp-eyebrow.syp-hub-hero__eyebrow {
	display: block;
	margin-bottom: var(--syp-space-3);
	font-size: var(--syp-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--syp-gold-soft);
}

.syp-hub-hero__title {
	margin: 0 0 var(--syp-space-4);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-display);
	line-height: 1.05;
	color: var(--syp-ivory);
}

.syp-hub-hero__lede {
	max-width: 48rem;
	margin: 0 auto var(--syp-space-5);
	font-size: var(--syp-fs-body);
	line-height: 1.7;
	color: rgba(247, 243, 235, 0.88);
}

.syp-hub-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--syp-space-3);
	justify-content: center;
}

.syp-hub-section {
	padding: var(--syp-space-8) 0;
}

.syp-hub-feature {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-6);
	align-items: center;
}

.syp-hub-feature__figure {
	order: -1;
	overflow: hidden;
	border-radius: var(--syp-radius);
	box-shadow: var(--syp-shadow-md);
}

.syp-hub-feature__figure img {
	display: block;
	width: 100%;
	height: auto;
}

.syp-hub-feature__title {
	margin: 0 0 var(--syp-space-3);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h2);
	line-height: 1.2;
	color: var(--syp-green);
}

.syp-hub-feature__text {
	font-size: var(--syp-fs-body);
	line-height: 1.7;
	color: var(--syp-charcoal);
}

.syp-category-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-5);
}

.syp-cat-card {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--syp-radius);
	color: var(--syp-ivory);
	text-decoration: none;
	box-shadow: var(--syp-shadow-sm);
}

.syp-cat-card__media {
	position: absolute;
	inset: 0;
}

.syp-cat-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--syp-dur-slow) var(--syp-ease-out);
}

.syp-cat-card__media .syp-placeholder {
	height: 100%;
	aspect-ratio: auto;
	border: 0;
	border-radius: 0;
}

.syp-cat-card:hover .syp-cat-card__media img {
	transform: scale(1.05);
}

.syp-cat-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: var(--syp-space-1);
	padding: var(--syp-space-5);
	background: linear-gradient(
		to top,
		rgba(15, 44, 39, 0.88) 0%,
		rgba(15, 44, 39, 0.4) 60%,
		rgba(15, 44, 39, 0.05) 100%
	);
}

.syp-cat-card__title {
	margin: 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h3);
	line-height: 1.2;
	color: var(--syp-ivory);
}

.syp-cat-card__meta {
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--syp-gold-soft);
}

.syp-cat-card:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 3px;
}

.syp-hub-cta {
	padding: 0 0 var(--syp-space-9);
}

.syp-hub-cta__box {
	padding: var(--syp-space-8) var(--syp-space-6);
	background: var(--syp-green);
	color: var(--syp-ivory);
	border-radius: var(--syp-radius);
	text-align: center;
}

.syp-hub-cta__title {
	margin: 0 0 var(--syp-space-3);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h2);
	color: var(--syp-ivory);
}

.syp-hub-cta__text {
	max-width: 44rem;
	margin: 0 auto var(--syp-space-5);
	font-size: var(--syp-fs-body);
	line-height: 1.7;
	color: rgba(247, 243, 235, 0.88);
}

@media (min-width: 640px) {
	.syp-category-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.syp-category-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.syp-hub-feature {
		grid-template-columns: 5fr 4fr;
		gap: var(--syp-space-8);
	}

	.syp-hub-feature__figure {
		order: 0;
	}
}

/* ------------------------------------------------- heritage editorial */

.syp-heritage-page {
	background: var(--syp-ivory);
}

.syp-editorial-header {
	padding: var(--syp-space-8) 0 var(--syp-space-6);
	text-align: center;
}

.syp-editorial-badge {
	display: inline-block;
	margin-bottom: var(--syp-space-3);
	font-size: var(--syp-fs-eyebrow);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--syp-gold);
}

.syp-editorial-title {
	margin: 0 auto var(--syp-space-4);
	max-width: 54rem;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-display);
	line-height: 1.1;
	color: var(--syp-green);
}

.syp-editorial-subtitle {
	max-width: 44rem;
	margin: 0 auto;
	font-size: var(--syp-fs-body);
	letter-spacing: 0.02em;
	color: var(--syp-muted);
}

.syp-editorial-hero {
	width: 100%;
	margin-top: var(--syp-space-6);
	overflow: hidden;
	border-radius: var(--syp-radius);
}

.syp-editorial-hero__img {
	display: block;
	width: 100%;
	height: auto;
}

.syp-editorial-hero .syp-placeholder {
	border-radius: var(--syp-radius);
}

.syp-editorial-body {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-7);
	padding: var(--syp-space-8) 0;
}

.syp-editorial-main {
	font-size: var(--syp-fs-body);
	line-height: 1.75;
	color: var(--syp-charcoal);
}

.syp-editorial-footer {
	margin-top: var(--syp-space-7);
	padding-top: var(--syp-space-5);
	border-top: 1px solid var(--syp-line);
}

/* anchored section navigation */

.syp-anchor-nav {
	margin-bottom: var(--syp-space-7);
	padding: var(--syp-space-5);
	background: #fff;
	border-radius: var(--syp-radius);
	box-shadow: var(--syp-shadow-sm);
}

.syp-anchor-nav__title {
	margin: 0 0 var(--syp-space-3);
	font-size: var(--syp-fs-eyebrow);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--syp-gold);
}

.syp-anchor-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--syp-space-2) var(--syp-space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.syp-anchor-nav__list a {
	color: var(--syp-green);
	text-decoration: none;
	font-size: var(--syp-fs-small);
}

.syp-anchor-nav__list a:hover,
.syp-anchor-nav__list a:focus-visible {
	color: var(--syp-gold);
	text-decoration: underline;
}

/* sidebar navigation to the other Pwani Yetu sections */

.syp-heritage-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.syp-heritage-menu li {
	margin-bottom: var(--syp-space-3);
	padding-bottom: var(--syp-space-3);
	border-bottom: 1px solid var(--syp-line);
}

.syp-heritage-menu li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.syp-heritage-menu a {
	color: var(--syp-green);
	font-weight: 600;
	text-decoration: none;
	transition: color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-heritage-menu a:hover,
.syp-heritage-menu a:focus-visible {
	color: var(--syp-gold);
}

.syp-heritage-menu a[aria-current="page"] {
	color: var(--syp-gold);
}

/* related radio programme block */

.syp-related-programme {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-4);
	padding: var(--syp-space-5);
	background: var(--syp-green);
	color: var(--syp-ivory);
	border-radius: var(--syp-radius);
}

.syp-related-programme__label {
	font-size: var(--syp-fs-eyebrow);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--syp-gold-soft);
}

.syp-related-programme__title {
	margin: 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h3);
	color: var(--syp-ivory);
}

.syp-related-programme__text {
	margin: 0;
	font-size: var(--syp-fs-small);
	line-height: 1.6;
	color: rgba(247, 243, 235, 0.86);
}

/* sources & credits block */

.syp-sources {
	margin-top: var(--syp-space-7);
	padding: var(--syp-space-5);
	background: #fff;
	border-left: 3px solid var(--syp-gold);
	border-radius: var(--syp-radius-sm);
}

.syp-sources__title {
	margin: 0 0 var(--syp-space-3);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h4);
	color: var(--syp-green);
}

.syp-sources__list {
	margin: 0;
	padding-left: 1.1rem;
	font-size: var(--syp-fs-small);
	line-height: 1.7;
	color: var(--syp-muted);
}

.syp-sources__note {
	margin: var(--syp-space-3) 0 0;
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--syp-gold);
}

/* pending-approval marker used on every unverified heritage claim */

.syp-pending {
	display: inline-block;
	padding: 2px 8px;
	background: rgba(196, 122, 66, 0.12);
	color: var(--syp-gold);
	border-radius: var(--syp-radius-pill);
	font-size: var(--syp-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

@media (min-width: 1024px) {
	.syp-editorial-body {
		grid-template-columns: 2fr 1fr;
		gap: var(--syp-space-8);
	}
}

/* ======================================================================
 * Phase C1 - site footer
 *
 * The child theme replaces the parent footer entirely, so it owns the
 * styling. Colours come from the Phase A --syp-* tokens.
 * ====================================================================== */

.syp-footer {
	background: var(--syp-green-deep);
	color: rgba(247, 243, 235, 0.82);
}

.syp-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-7);
	padding: var(--syp-space-8) 0 var(--syp-space-7);
}

.syp-footer__brand .custom-logo-link {
	display: inline-block;
	margin-bottom: var(--syp-space-4);
}

.syp-footer__brand .custom-logo {
	width: auto;
	max-width: 180px;
	max-height: 96px;
	height: auto;
	background: var(--syp-ivory);
	border-radius: var(--syp-radius-sm);
	padding: 8px 12px;
}

.syp-footer__logo-text {
	margin: 0 0 var(--syp-space-3);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h3);
	color: var(--syp-ivory);
}

.syp-footer__tagline {
	margin: 0 0 var(--syp-space-3);
	font-size: var(--syp-fs-eyebrow);
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--syp-gold-soft);
}

.syp-footer__description {
	max-width: 34rem;
	margin: 0 0 var(--syp-space-5);
	font-size: var(--syp-fs-small);
	line-height: 1.7;
}

.syp-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: var(--syp-space-3);
}

.syp-footer__socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid rgba(247, 243, 235, 0.24);
	border-radius: 50%;
	color: var(--syp-ivory);
	text-decoration: none;
	transition: background-color var(--syp-dur-fast) var(--syp-ease-out),
		border-color var(--syp-dur-fast) var(--syp-ease-out),
		color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-footer__socials a:hover,
.syp-footer__socials a:focus-visible {
	background: var(--syp-gold);
	border-color: var(--syp-gold);
	color: #fff;
}

.syp-footer__title {
	margin: 0 0 var(--syp-space-4);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h4);
	color: var(--syp-ivory);
}

.syp-footer-nav {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--syp-space-2);
}

.syp-footer-nav a {
	color: rgba(247, 243, 235, 0.82);
	font-size: var(--syp-fs-small);
	text-decoration: none;
	transition: color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-footer-nav a:hover,
.syp-footer-nav a:focus-visible {
	color: var(--syp-gold-soft);
}

.syp-footer-nav .sub-menu {
	margin: var(--syp-space-2) 0 0;
	padding-left: var(--syp-space-4);
	list-style: none;
	display: grid;
	gap: var(--syp-space-1);
}

.syp-footer-contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--syp-space-3);
	font-size: var(--syp-fs-small);
	line-height: 1.6;
}

.syp-footer-contact-list i {
	width: 1.1rem;
	color: var(--syp-gold-soft);
}

.syp-footer-contact-list a {
	color: inherit;
	text-decoration: none;
}

.syp-footer-contact-list a:hover,
.syp-footer-contact-list a:focus-visible {
	color: var(--syp-gold-soft);
}

.syp-footer__bottom {
	padding: var(--syp-space-5) 0;
	border-top: 1px solid rgba(247, 243, 235, 0.14);
}

.syp-footer__bottom .syp-copyright {
	margin: 0;
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.04em;
	color: rgba(247, 243, 235, 0.66);
	text-align: center;
}

/* Quiet build credit, deliberately less prominent than the copyright line. */
.syp-footer__bottom .syp-credit {
	margin: var(--syp-space-2) 0 0;
	font-size: var(--syp-fs-eyebrow);
	letter-spacing: 0.04em;
	color: rgba(247, 243, 235, 0.5);
	text-align: center;
}

.syp-footer__bottom .syp-credit a {
	color: var(--syp-gold-soft);
	text-decoration: none;
}

.syp-footer__bottom .syp-credit a:hover,
.syp-footer__bottom .syp-credit a:focus-visible {
	color: var(--syp-ivory);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.syp-footer__bottom .syp-credit a:focus-visible {
	outline: 2px solid var(--syp-gold-soft);
	outline-offset: 2px;
}

/* Subscribe form inside the Mawasiliano column. */
.syp-footer__subscribe {
	margin-top: var(--syp-space-5);
}

.syp-footer__subtitle {
	margin: 0 0 var(--syp-space-3);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-small);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--syp-gold-soft);
}

@media (min-width: 768px) {
	.syp-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr;
	}

	/* Copyright on the left, build credit on the right, on a single line. */
	.syp-footer__bottom {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: var(--syp-space-6);
	}

	.syp-footer__bottom .syp-copyright,
	.syp-footer__bottom .syp-credit {
		text-align: left;
	}

	.syp-footer__bottom .syp-credit {
		margin: 0;
	}
}

@media (min-width: 1024px) {
	.syp-footer__grid {
		gap: var(--syp-space-8);
	}
}

/* ======================================================================
 * Fluent Forms - Sauti ya Pwani styling
 *
 * The plugin ships a neutral stylesheet. These rules only theme the embeds
 * on the station surface: the footer subscribe form (deep green) and the
 * page / news-listing forms (ivory).
 * ====================================================================== */

.syp-page-content .fluentform,
.syp-newsletter .fluentform,
.syp-footer__subscribe .fluentform {
	max-width: 40rem;
}

/* Page and news-listing embeds sit on the ivory background. */
.syp-page-content .fluentform {
	margin-top: var(--syp-space-5);
}

.syp-newsletter {
	margin-top: var(--syp-space-8);
	padding: var(--syp-space-6);
	background: var(--syp-ivory);
	border: 1px solid var(--syp-line);
	border-radius: var(--syp-radius);
}

.syp-page-content .fluentform .ff-el-form-control,
.syp-newsletter .fluentform .ff-el-form-control {
	border: 1px solid var(--syp-line);
	border-radius: var(--syp-radius-sm);
	background: #fff;
	color: var(--syp-green-deep);
}

.syp-page-content .fluentform .ff-el-form-control:focus,
.syp-newsletter .fluentform .ff-el-form-control:focus {
	border-color: var(--syp-green);
	box-shadow: 0 0 0 2px rgba(23, 63, 56, 0.12);
	outline: none;
}

.syp-page-content .fluentform .ff-btn-submit,
.syp-newsletter .fluentform .ff-btn-submit {
	background: var(--syp-green);
	border-color: var(--syp-green);
	color: var(--syp-ivory);
	border-radius: var(--syp-radius-sm);
}

.syp-page-content .fluentform .ff-btn-submit:hover,
.syp-page-content .fluentform .ff-btn-submit:focus-visible,
.syp-newsletter .fluentform .ff-btn-submit:hover,
.syp-newsletter .fluentform .ff-btn-submit:focus-visible {
	background: var(--syp-green-deep);
	border-color: var(--syp-green-deep);
}

/* Footer embed on the deep-green background. */
.syp-footer__subscribe .fluentform .ff-el-form-control {
	border: 1px solid rgba(247, 243, 235, 0.24);
	border-radius: var(--syp-radius-sm);
	background: rgba(247, 243, 235, 0.08);
	color: var(--syp-ivory);
}

.syp-footer__subscribe .fluentform .ff-el-form-control::placeholder {
	color: rgba(247, 243, 235, 0.55);
}

.syp-footer__subscribe .fluentform .ff-el-form-control:focus {
	border-color: var(--syp-gold-soft);
	background: rgba(247, 243, 235, 0.12);
	box-shadow: none;
	outline: 2px solid var(--syp-gold-soft);
	outline-offset: 2px;
}

.syp-footer__subscribe .fluentform .ff-btn-submit {
	background: var(--syp-gold);
	border-color: var(--syp-gold);
	color: #fff;
	border-radius: var(--syp-radius-sm);
}

.syp-footer__subscribe .fluentform .ff-btn-submit:hover,
.syp-footer__subscribe .fluentform .ff-btn-submit:focus-visible {
	background: var(--syp-gold-soft);
	border-color: var(--syp-gold-soft);
}

.syp-footer__subscribe .fluentform .ff-message-success {
	background: rgba(247, 243, 235, 0.1);
	border: 1px solid rgba(247, 243, 235, 0.24);
	color: var(--syp-ivory);
}

/* The parent theme renders the newsletter form as an inline bar: the email
   field floats at 76% and the submit button is pinned 15px from the right at
   24%. Inside the narrow Mawasiliano column that pushes the button past the
   viewport edge, so the footer embed stacks: full-width field, full-width
   button underneath. */
.syp-footer__subscribe .fluentform .newsletter-input {
	float: none;
	width: 100%;
}

.syp-footer__subscribe .fluentform .newsletter-button {
	position: static;
	right: auto;
	width: 100%;
	margin-top: var(--syp-space-3);
}

.syp-footer__subscribe .fluentform .newsletter-form .ff-btn {
	width: 100%;
	clip-path: none;
	border-radius: var(--syp-radius-sm);
}

/* ======================================================================
 * Phase C1 - heritage editorial block rhythm
 *
 * The editorial template stacks timeline / fact box / gallery / programme /
 * sources blocks in the main column. Anchored navigation needs a scroll
 * offset so the sticky header does not cover the target heading.
 * ====================================================================== */

.syp-editorial-block {
	margin: 0 0 var(--syp-space-8);
}

.syp-editorial-block:last-child {
	margin-bottom: 0;
}

.syp-editorial-block,
.syp-quote,
.syp-sources {
	scroll-margin-top: 120px;
}

.syp-editorial-share {
	margin: 0;
}

.syp-hub-feature__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--syp-space-3);
}

.syp-related-programmes {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-4);
}

@media (min-width: 640px) {
	.syp-related-programmes {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.syp-related-programmes {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Phase C1 - long-form typography inside .syp-prose */

.syp-prose h2,
.syp-prose h3 {
	margin-top: var(--syp-space-7);
	margin-bottom: var(--syp-space-3);
	font-family: var(--syp-font-display);
	line-height: 1.2;
	color: var(--syp-green);
}

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

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

.syp-prose p,
.syp-prose li {
	line-height: 1.75;
}

.syp-prose ul,
.syp-prose ol {
	padding-left: 1.25rem;
}

.syp-prose a {
	color: var(--syp-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.syp-prose a:hover,
.syp-prose a:focus-visible {
	color: var(--syp-gold);
}

.syp-prose img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--syp-radius-sm);
}

.syp-prose blockquote {
	margin: var(--syp-space-6) 0;
	padding-left: var(--syp-space-5);
	border-left: 3px solid var(--syp-gold);
	font-style: italic;
	color: var(--syp-green);
}

/* ======================================================================
 * Phase C1 - station logo sizing in the parent header
 *
 * The official logo (Media Library attachment 5899) is a square mark while
 * the parent theme sizes logos by width only:
 *   .header-logo img                  { width: 175px; height: auto; }
 *   .mean-container .mean-bar
 *     .logo-small                     { max-width: 108px; }
 * Applied to a square image those rules render a ~175px-tall desktop header
 * and a ~108px-tall mobile bar, about three times the height the theme
 * intends. Constrain the height instead so the header keeps its proportions
 * and the mark stays sharp and undistorted. Parent theme untouched.
 * ====================================================================== */

.header-logo img {
	width: auto;
	max-height: 56px;
}

.mean-container .mean-bar .logo-small {
	width: auto;
	max-height: 44px;
}

/* ======================================================================
 * Phase C-Complete - C-UX1: navigation, mobile menu and coastal identity
 *
 * Three layers, all scoped to the child theme:
 *   1. Primary mega menu (desktop only, >= 1200px).
 *   2. "Listen Live" radio button inside the nav (desktop + mobile).
 *   3. Off-canvas mobile menu: close control, backdrop, overflow guards.
 * Plus the coastal identity system (patterns, ribbon dividers, the
 * content-to-footer bridge) at the end of this section.
 * Parent theme untouched.
 * ====================================================================== */

/* ------------------------------------------------------- nav icons */

.syp-nav-icon {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-right: 0;
	opacity: 0.85;
}

.syp-nav-label {
	display: inline-block;
}

@media (min-width: 1200px) {
	nav.template-main-menu > ul > li > a {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
	}

	nav.template-main-menu > ul > li > a:hover .syp-nav-icon,
	nav.template-main-menu > ul > li > a:focus-visible .syp-nav-icon,
	nav.template-main-menu > ul > li.current-menu-item > a .syp-nav-icon {
		opacity: 1;
		color: var(--syp-gold);
	}
}

/* ---------------------------------------------------- primary mega menu */

@media (min-width: 1200px) {
	/* Panels centre under the whole menu bar rather than under their own
	   trigger. A panel opened from a right-hand item would otherwise push the
	   document wider than the viewport (42px at 1280px wide). The bar spans the
	   full header width, so it is a stable, non-overflowing anchor.

	   The relative anchor is scoped to the non-sticky state on purpose. The
	   parent adds `.rt-sticky` (position: fixed) once the page scrolls; a plain
	   `.header-menu { position: relative }` here has the same specificity but
	   loads later, so it silently defeated the fixed state and left the
	   sticky placeholder as a 140px white gap above the bar. */
	.header-menu:not(.rt-sticky) {
		position: relative;
	}

	/* The parent header lays its bar out at a fractional width (1424.67px at a
	   1440px viewport). The caret added to the mega triggers below is enough to
	   tip Chrome and Firefox sub-pixel rounding over, leaving a 2px horizontal
	   scroll on templates whose content box lands on that fraction (Kuhusu Sisi,
	   Habari). Clipping the bar on the inline axis only — the block axis stays
	   visible, so the mega panels still hang below the header — removes the
	   stray scroll without moving a single element. Scoped to the desktop
	   breakpoint because the mobile bar hosts the off-canvas drawer. */
	.header-menu {
		overflow-x: clip;
		overflow-y: visible;
	}

	/* Each trigger owns its panel: position: relative anchors the absolute
	   sub-menu directly beneath the parent item instead of stretching it
	   toward the centre of the menu bar. */
	nav.template-main-menu > ul > li.syp-has-mega {
		position: relative;
	}

	/* Caret hint that the item opens a panel. */
	nav.template-main-menu > ul > li.syp-has-mega > a::after {
		content: "";
		width: 0.42rem;
		height: 0.42rem;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg) translateY(-1px);
		opacity: 0.6;
	}

	/* The panel: a 3-column grid opening directly beneath its trigger. A
	   small JS helper (initMegaMenu) measures each panel and shifts it
	   horizontally by the smallest offset that keeps it inside the viewport,
	   so a wide panel under a middle or right-hand trigger can never be cut
	   off by the header's overflow-x:clip. */
	nav.template-main-menu > ul > li.syp-has-mega > ul.sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: auto;
		transform: none;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.15rem 1.75rem;
		width: min(920px, calc(100vw - 3rem));
		padding: 1.5rem 2rem 1.75rem;
		margin: 0;
		background: #fff;
		border-top: 3px solid var(--syp-gold);
		border-radius: 0 0 var(--syp-radius) var(--syp-radius);
		box-shadow: var(--syp-shadow-lg);
		visibility: hidden;
		opacity: 0;
		z-index: 1000;
		transition: opacity var(--syp-dur-fast) var(--syp-ease-out),
			visibility var(--syp-dur-fast) var(--syp-ease-out);
	}

	nav.template-main-menu > ul > li.syp-has-mega:hover > ul.sub-menu,
	nav.template-main-menu > ul > li.syp-has-mega:focus-within > ul.sub-menu {
		visibility: visible;
		opacity: 1;
	}

	/* Keyboard dismissal: Escape on an open panel adds .syp-mega--closed
	   (via initMegaMenu) until focus or the pointer leaves the item. The
	   rule sits after the hover/focus-within rule above so it wins on the
	   equal specificity. */
	nav.template-main-menu > ul > li.syp-has-mega.syp-mega--closed > ul.sub-menu {
		visibility: hidden;
		opacity: 0;
	}

	/* Panel heading spanning every column. */
	nav.template-main-menu > ul > li.syp-has-mega > ul.sub-menu > li.syp-mega__intro {
		grid-column: 1 / -1;
		display: grid;
		gap: 0.15rem;
		margin: 0 0 0.9rem;
		padding: 0 0.75rem 0.9rem;
		border-bottom: 1px solid var(--syp-line);
	}

	.syp-mega__eyebrow {
		font-family: var(--syp-font-display);
		font-size: 1.35rem;
		line-height: 1.2;
		color: var(--syp-green);
	}

	.syp-mega__lede {
		max-width: 48rem;
		font-size: var(--syp-fs-small);
		line-height: 1.5;
		color: var(--syp-muted);
	}

	/* Panel links: quiet rows, clearly grouped by the grid columns. */
	nav.template-main-menu > ul > li.syp-has-mega > ul.sub-menu > li {
		width: auto;
		float: none;
		margin: 0;
	}

	nav.template-main-menu > ul > li.syp-has-mega > ul.sub-menu > li > a {
		display: flex;
		align-items: center;
		gap: 0.55rem;
		padding: 0.6rem 0.75rem;
		font-size: var(--syp-fs-small);
		font-weight: 500;
		color: var(--syp-charcoal);
		background: transparent;
		border-radius: var(--syp-radius-sm);
		text-transform: none;
	}

	nav.template-main-menu > ul > li.syp-has-mega > ul.sub-menu > li > a:hover,
	nav.template-main-menu > ul > li.syp-has-mega > ul.sub-menu > li > a:focus-visible {
		color: var(--syp-green);
		background: rgba(23, 63, 56, 0.07);
	}

	nav.template-main-menu > ul > li.syp-has-mega > ul.sub-menu > li > a .syp-nav-icon {
		width: 17px;
		height: 17px;
		opacity: 0.7;
	}

	/* Panel widths follow the column count declared in the menu data. */
	nav.template-main-menu > ul > li.syp-has-mega.syp-mega-cols-3 > ul.sub-menu {
		width: min(920px, calc(100vw - 3rem));
	}

	/* ------------------------------------------------- Vipindi show cards */

	/* The Vipindi panel is the one dropdown that shows cards. Each card is a
	   compact stack — a small banner on top with the programme title directly
	   beneath it — so the panel stays short and the image never dominates it.
	   Descriptions are shown on the homepage "Vipindi Vyetu" grid, not here.
	   The image is the programme's featured image, the same one the homepage
	   grid uses. */

	nav.template-main-menu > ul > li.syp-has-mega > ul.sub-menu > li.syp-vipindi-card {
		width: auto;
		float: none;
		margin: 0;
	}

	nav.template-main-menu > ul > li.syp-has-mega > ul.sub-menu > li.syp-vipindi-card > a.syp-vipindi-card__link {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
		height: 100%;
		padding: 0;
		overflow: hidden;
		color: var(--syp-charcoal);
		background: #fff;
		border: 1px solid var(--syp-line);
		border-radius: var(--syp-radius-sm);
		text-transform: none;
		transition: box-shadow var(--syp-dur-fast) var(--syp-ease-out),
			border-color var(--syp-dur-fast) var(--syp-ease-out);
	}

	nav.template-main-menu > ul > li.syp-has-mega > ul.sub-menu > li.syp-vipindi-card > a.syp-vipindi-card__link:hover,
	nav.template-main-menu > ul > li.syp-has-mega > ul.sub-menu > li.syp-vipindi-card > a.syp-vipindi-card__link:focus-visible {
		color: var(--syp-charcoal);
		background: #fff;
		border-color: var(--syp-gold);
		box-shadow: var(--syp-shadow-md);
	}

	.syp-vipindi-card__media {
		flex: 0 0 auto;
		width: 80px;
		display: block;
		overflow: hidden;
		background: var(--syp-sand);
	}

	.syp-vipindi-card__img {
		display: block;
		width: 100%;
		height: 100%;
		aspect-ratio: 16 / 9;
		object-fit: cover;
	}

	.syp-vipindi-card__placeholder {
		border: 0;
		border-radius: 0;
		aspect-ratio: 16 / 9;
	}

	.syp-vipindi-card__body {
		display: block;
		min-width: 0;
		padding: 0 0.65rem 0.65rem;
	}

	.syp-vipindi-card__title {
		display: block;
		font-family: var(--syp-font-display);
		font-size: 0.95rem;
		line-height: 1.25;
		color: var(--syp-green);
	}
}

/* Below the desktop breakpoint the panel becomes the offscreen accordion, so
   the cards collapse back to plain rows: title only, no image. */
@media (max-width: 1199px) {
	.offscreen-navigation li.syp-vipindi-card > a.syp-vipindi-card__link {
		display: flex;
		align-items: center;
		gap: 0.6rem;
		min-height: 44px;
		padding-right: 1rem;
	}

	.offscreen-navigation .syp-vipindi-card__media,
	.offscreen-navigation .syp-vipindi-card__desc {
		display: none;
	}

	/* The parent's `.offscreen-navigation ul li span` rule pins every span
	   inside a list item to the right edge as the sub-menu expander. That also
	   catches the Vipindi card's own media/body/title spans, which is why the
	   programme titles used to render as a narrow vertical strip. Return every
	   span that belongs to a Vipindi card to normal flow so the title sits in a
	   clean, readable row. The real expander span is a direct child of the li
	   (not inside the card link) and keeps its absolute position. */
	.offscreen-navigation li.syp-vipindi-card .syp-vipindi-card__media,
	.offscreen-navigation li.syp-vipindi-card .syp-vipindi-card__body,
	.offscreen-navigation li.syp-vipindi-card .syp-vipindi-card__title,
	.offscreen-navigation li.syp-vipindi-card .syp-vipindi-card__desc {
		position: static;
		top: auto;
		right: auto;
		width: auto;
		height: auto;
		z-index: auto;
		cursor: inherit;
	}

	.offscreen-navigation li.syp-vipindi-card .syp-vipindi-card__title {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 0.95rem;
		line-height: 1.35;
		color: var(--syp-charcoal);
	}
}

/* ------------------------------------------- nav "Wasiliana Nasi" button */

/* A prominent action button, not a link row: it sits flush at the end of the
   top-level row. The parent's own `nav.template-main-menu > ul > li > a`
   rules also match this <a> (they set the black link colour and the tall
   35px/28px vertical padding), so the button styles are scoped to the exact
   same element at higher specificity instead of relying on source order. */

nav.template-main-menu > ul > li.menu-item-syp-contact {
	display: inline-block;
	vertical-align: middle;
	padding: 18px 0 18px 0.9rem;
}

nav.template-main-menu > ul > li.menu-item-syp-contact > a.syp-contact-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 1.1rem;
	line-height: 1.2;
	font-size: var(--syp-fs-small);
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--syp-ivory);
	background: var(--syp-green);
	/* Square with softly rounded corners, not a pill. */
	border-radius: 6px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: var(--syp-shadow-sm);
	transition: background-color var(--syp-dur-fast) var(--syp-ease-out);
}

nav.template-main-menu > ul > li.menu-item-syp-contact > a.syp-contact-btn:hover,
nav.template-main-menu > ul > li.menu-item-syp-contact > a.syp-contact-btn:focus-visible {
	color: var(--syp-ivory);
	background: var(--syp-green-deep);
}

nav.template-main-menu > ul > li.menu-item-syp-contact > a.syp-contact-btn:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 2px;
}

/* Base rule kept for any other context that reuses the component. */
.syp-contact-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 1.1rem;
	font-size: var(--syp-fs-small);
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--syp-ivory);
	background: var(--syp-green);
	border-radius: 6px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: var(--syp-shadow-sm);
	transition: background-color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-contact-btn:hover,
.syp-contact-btn:focus-visible {
	color: var(--syp-ivory);
	background: var(--syp-green-deep);
}

.syp-contact-btn:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 2px;
}

/* ------------------------------------------------- off-canvas mobile menu */

/* The panel is scrolled independently of the bar, so pin the close control
   to the top of the panel: it stays visible and clickable however long the
   menu gets, and is never covered by menu items. */

.syp-menu-close {
	position: sticky;
	top: 0;
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 0.85rem 1rem;
	font-family: var(--syp-font-body);
	font-size: var(--syp-fs-small);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--syp-ivory);
	background: var(--syp-green);
	border: 0;
	cursor: pointer;
	text-align: left;
}

.syp-menu-close:hover,
.syp-menu-close:focus-visible {
	background: var(--syp-green-deep);
}

.syp-menu-close:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: -2px;
}

.syp-menu-close__icon {
	font-size: 1.5rem;
	line-height: 1;
}

/* Sits above the page but below .rt-slide-nav (z-index 99 in the parent), so
   the panel stays clickable while everything behind it is dimmed. */
.syp-menu-backdrop {
	position: fixed;
	inset: 0;
	z-index: 98;
	background: rgba(15, 44, 39, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--syp-dur-fast) var(--syp-ease-out),
		visibility var(--syp-dur-fast) var(--syp-ease-out);
}

body.slidemenuon .syp-menu-backdrop {
	opacity: 1;
	visibility: visible;
}

/* Exactly one close affordance. The parent's top-bar trigger morphs into an
   X while the menu is open and reads as a second close icon. Hide it so the
   overlay's own "Funga menyu" bar is the single, accessible close control.
   The trigger is still in the DOM, so the programmatic close
   (menuBtn.click()) keeps working and focus returns to it once the class is
   removed. */
body.slidemenuon .mean-container .mean-bar .sidebarBtn {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

/* Mobile menu rows. */
.offscreen-navigation li > a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	white-space: normal;
	line-height: 1.4;
}

/* The parent's `.offscreen-navigation ul li span` rule (absolute, 40x44,
   pinned right:0) also matches this theme's own `.syp-nav-label` span, which
   dragged every label to the far right of its row and wrapped it inside a
   40px box. Return the label to normal flow so it sits beside its icon, takes
   the remaining width and only wraps when it genuinely needs to. */
.offscreen-navigation li > a .syp-nav-label {
	position: static;
	top: auto;
	right: auto;
	width: auto;
	height: auto;
	z-index: auto;
	flex: 1 1 auto;
	min-width: 0;
	cursor: inherit;
}

.offscreen-navigation li.menu-item-has-children > a {
	padding-right: 3rem;
}

/* Expander icon: the parent stylesheet draws a Font Awesome "+" on the link
   (`li.menu-item-has-children > a:after`) and only swaps it to "−" once the
   link carries `.opened` — but the parent's own script toggles `.open` on the
   sibling <span> the click actually lands on, so the link never got `.opened`
   and the glyph stayed "+" whether the sub-menu was open or closed. Drop that
   static glyph and draw the plus on the real expander span instead, then fold
   its vertical stroke away while the span is `.open`, so the control animates
   from + to − and back. */
.offscreen-navigation li.menu-item-has-children > a::after,
.offscreen-navigation li.page_item_has_children > a::after {
	content: none;
}

.offscreen-navigation li.menu-item-has-children > span,
.offscreen-navigation li.page_item_has_children > span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--syp-charcoal);
}

.offscreen-navigation li.menu-item-has-children > span::before,
.offscreen-navigation li.menu-item-has-children > span::after,
.offscreen-navigation li.page_item_has_children > span::before,
.offscreen-navigation li.page_item_has_children > span::after {
	content: "";
	position: absolute;
	width: 14px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform var(--syp-dur-fast) var(--syp-ease-out),
		opacity var(--syp-dur-fast) var(--syp-ease-out);
}

/* The vertical stroke of the "+". */
.offscreen-navigation li.menu-item-has-children > span::after,
.offscreen-navigation li.page_item_has_children > span::after {
	transform: rotate(90deg);
}

/* Open: the vertical stroke folds onto the horizontal one and fades, leaving
   a clean "−". */
.offscreen-navigation li.menu-item-has-children > span.open::after,
.offscreen-navigation li.page_item_has_children > span.open::after {
	transform: rotate(0deg);
	opacity: 0;
}

.offscreen-navigation li.menu-item-has-children > span.open,
.offscreen-navigation li.page_item_has_children > span.open {
	color: var(--syp-green);
}

@media (prefers-reduced-motion: reduce) {
	.offscreen-navigation li.menu-item-has-children > span::before,
	.offscreen-navigation li.menu-item-has-children > span::after,
	.offscreen-navigation li.page_item_has_children > span::before,
	.offscreen-navigation li.page_item_has_children > span::after {
		transition: none;
	}
}

.offscreen-navigation li.current-menu-item > a,
.offscreen-navigation li.current-menu-parent > a {
	color: var(--syp-green);
	background: rgba(23, 63, 56, 0.06);
}

/* The contact action, promoted to a full-width button at the end of the menu.
   It is a plain <a>, so none of the parent's absolute `li span` rules apply. */
.offscreen-navigation li.menu-item-syp-contact {
	border-bottom: 0;
	padding: 1.1rem 1rem 1.25rem;
	background: linear-gradient(
		to bottom,
		rgba(23, 63, 56, 0.06),
		rgba(23, 63, 56, 0)
	);
}

.offscreen-navigation li.menu-item-syp-contact > a.syp-contact-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	padding: 0.95rem 1.25rem;
	font-size: 1rem;
	font-weight: 700;
	background: var(--syp-green);
	border-radius: 6px;
	box-shadow: var(--syp-shadow-md);
}

.offscreen-navigation li.menu-item-syp-contact > a.syp-contact-btn:hover,
.offscreen-navigation li.menu-item-syp-contact > a.syp-contact-btn:focus-visible {
	background: var(--syp-green-deep);
}

/* The panel ends right after its last row. It used to carry 96px of bottom
   padding to clear the floating "Sikiliza Live" player, which left a tall
   white block under the "Wasiliana Nasi" button whenever the menu was shorter
   than the viewport. The player sits at z-index 9998 while the whole
   .mean-container (hosting this panel and its backdrop) sits at z-index
   99999, so the player is already behind the menu and no reserve is needed. */
.rt-slide-nav {
	padding-bottom: 0;
}

/* Keep the mega panel heading out of the mobile accordion. */
@media (max-width: 1199px) {
	.syp-mega__intro {
		display: none !important;
	}
}

/* Small-screen hygiene: nothing may push the layout wider than the viewport. */
@media (max-width: 480px) {
	.mean-container .mean-bar .logo-small {
		max-height: 36px;
	}

	.mean-container .mean-bar .header-action-layout1 {
		right: 52px;
	}

	.rt-slide-nav {
		overflow-x: hidden;
	}

	.offscreen-navigation li > a {
		font-size: 15px;
	}

	.syp-menu-close {
		padding: 0.75rem 0.85rem;
	}
}

/* ======================================================================
 * Coastal identity system
 *
 * Restrained kitenge-inspired geometry, a ribbon / dhow-sail divider and a
 * soft page texture. No loud yellow/gold, no animated patterns. Every rule
 * here is decorative and respects prefers-reduced-motion.
 * ====================================================================== */

/* Subtle sand-section texture (diamond motif), never behind body copy at
   a strength that would reduce contrast. */

.syp-section--sand {
	background-color: var(--syp-sand);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23173F38' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z'/%3E%3Cpath d='M28 16 40 28 28 40 16 28Z'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 56px 56px;
}

/* Ribbon / dhow-sail divider bridging body content and the footer. */

.syp-coastal-divider {
	position: relative;
	overflow: hidden;
	height: clamp(64px, 9vw, 104px);
	color: var(--syp-green-deep);
	background-color: var(--syp-ivory);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23173F38' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z'/%3E%3Cpath d='M28 16 40 28 28 40 16 28Z'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 56px 56px;
}

/* Layered ocean waves. Each layer is a 200%-wide SVG that holds one wave
   period twice, so translating it by -50% lands on an identical frame and the
   loop reads as endless. The front layer is filled with the footer's own
   colour and reaches the divider's bottom edge, so the wave flows straight
   into the green footer with no seam. */
.syp-footer-wave__layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 200%;
	height: 100%;
	display: block;
	will-change: transform;
	animation: syp-wave-drift 24s linear infinite;
}

.syp-footer-wave__layer--back {
	animation-duration: 38s;
}

.syp-footer-wave__layer--mid {
	animation-duration: 30s;
}

.syp-footer-wave__layer--front {
	animation-duration: 22s;
}

@keyframes syp-wave-drift {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.syp-footer-wave__layer {
		animation: none;
	}
}

/* A slim repeating rule usable between in-content sections. */

.syp-kitenge-rule {
	height: 12px;
	margin: var(--syp-space-7) 0;
	border: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cg fill='none' stroke='%23C47A42' stroke-opacity='0.55' stroke-width='1'%3E%3Cpath d='M0 6 6 0 12 6 6 12Z'/%3E%3Cpath d='M12 6 18 0 24 6 18 12Z'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-size: 24px 12px;
}

/* The footer sits directly under the divider band; blend the two so the
   transition reads as one coastal strip rather than two stacked blocks. */

.syp-coastal-divider + #colophon.syp-footer,
.syp-coastal-divider + .syp-footer {
	margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
	.syp-coastal-divider,
	.syp-section--sand,
	.syp-kitenge-rule {
		background-attachment: scroll;
	}

	.syp-menu-backdrop,
	nav.template-main-menu > ul > li.syp-has-mega > ul.sub-menu {
		transition: none;
	}
}

/* ------------------------------------------------- news desk coming soon */

/* A news category that has no published reporting yet shows a labelled
   holding panel instead of an empty grid, so the Habari menu never leads a
   reader to a dead end. */

.syp-coming-soon {
	grid-column: 1 / -1;
	max-width: 62ch;
	padding: var(--syp-space-6) var(--syp-space-6) var(--syp-space-7);
	background: #fff;
	border-left: 4px solid var(--syp-gold);
	border-radius: var(--syp-radius);
	box-shadow: var(--syp-shadow-sm);
}

.syp-coming-soon__title {
	margin: 0 0 var(--syp-space-3);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h3);
	color: var(--syp-green);
}

.syp-coming-soon__text {
	margin: 0 0 var(--syp-space-3);
	color: var(--syp-charcoal);
}

.syp-coming-soon__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--syp-space-4);
	margin: var(--syp-space-4) 0 0;
	padding: 0;
	list-style: none;
}

.syp-coming-soon__links a {
	font-weight: 700;
	color: var(--syp-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.syp-coming-soon__links a:hover,
.syp-coming-soon__links a:focus-visible {
	color: var(--syp-gold);
}

/* --------------------------------------------------------- coast news bar */

/* A headline teaser that runs under the header. It is in the document flow, so
   it can never cover the fixed floating player. Motion is a single transform
   on the track, paused on hover and on focus, and switched off entirely for
   visitors who prefer reduced motion (the bar then scrolls by hand). */

.syp-ticker {
	display: flex;
	align-items: stretch;
	background: var(--syp-green);
	color: var(--syp-ivory);
	border-bottom: 1px solid rgba(233, 216, 184, 0.22);
}

.syp-ticker__label {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0.7rem 1rem;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-small);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--syp-green-deep);
	background: var(--syp-gold);
}

.syp-ticker__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	animation: syp-ticker-pulse 2.4s var(--syp-ease-out) infinite;
}

@keyframes syp-ticker-pulse {
	0%,
	100% { opacity: 1; }
	50% { opacity: 0.35; }
}

.syp-ticker__viewport {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.syp-ticker__track {
	display: flex;
	align-items: center;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
	animation: syp-ticker-scroll var(--syp-ticker-duration, 90s) linear infinite;
	will-change: transform;
}

/* Half the track is one full copy of the list, so -50% loops seamlessly. */
@keyframes syp-ticker-scroll {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

.syp-ticker:hover .syp-ticker__track,
.syp-ticker:focus-within .syp-ticker__track {
	animation-play-state: paused;
}

/* Explicit stop control (WCAG 2.2.2). Hover/focus pausing is unreachable on
   touch, so the bar also carries a real button that stops the scroll for good
   until it is pressed again. */
.syp-ticker.is-paused .syp-ticker__track {
	animation-play-state: paused;
}

.syp-ticker__toggle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-height: 44px;
	padding: 0;
	color: var(--syp-ivory);
	background: transparent;
	border: 0;
	border-left: 1px solid rgba(233, 216, 184, 0.22);
	cursor: pointer;
}

.syp-ticker__toggle:hover {
	color: var(--syp-green-deep);
	background: var(--syp-gold);
}

.syp-ticker__toggle:focus-visible {
	outline: 2px solid var(--syp-ivory);
	outline-offset: -3px;
}

.syp-ticker__toggle-icon {
	width: 12px;
	height: 14px;
	background:
		linear-gradient(currentColor, currentColor) left / 4px 14px no-repeat,
		linear-gradient(currentColor, currentColor) right / 4px 14px no-repeat;
}

.syp-ticker__toggle[aria-pressed="true"] .syp-ticker__toggle-icon {
	width: 0;
	height: 0;
	background: none;
	border-style: solid;
	border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent currentColor;
}

.syp-ticker__item {
	display: flex;
	align-items: center;
}

.syp-ticker__item + .syp-ticker__item::before {
	content: "";
	flex: 0 0 auto;
	width: 1px;
	height: 1.1rem;
	margin: 0 1.1rem;
	background: rgba(247, 243, 235, 0.28);
}

.syp-ticker__link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.75rem 0;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.syp-ticker__link:hover .syp-ticker__headline,
.syp-ticker__link:focus-visible .syp-ticker__headline {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.syp-ticker__link:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 3px;
}

.syp-ticker__cat {
	padding: 0.15rem 0.55rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--syp-green-deep);
	background: var(--syp-sand);
	border-radius: var(--syp-radius-pill);
}

.syp-ticker__headline {
	font-weight: 600;
}

.syp-ticker__source {
	font-size: 0.82rem;
	opacity: 0.72;
}

@media (max-width: 767px) {
	.syp-ticker__label {
		padding: 0.7rem 0.75rem;
		font-size: 0.72rem;
		letter-spacing: 0.02em;
	}

	.syp-ticker__item + .syp-ticker__item::before {
		margin: 0 0.8rem;
	}
}

/* Below 480px the label would otherwise swallow half the bar, leaving too
   little room for the headlines themselves. */
@media (max-width: 479px) {
	.syp-ticker__dot {
		display: none;
	}

	.syp-ticker__link {
		gap: 0.45rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.syp-ticker__track {
		animation: none;
	}

	.syp-ticker__viewport {
		overflow-x: auto;
	}

	.syp-ticker__dot {
		animation: none;
	}
}

/* ======================================================================
 * Heritage — child entry cards
 *
 * A Pwani Yetu section that owns sub-entries (the landmark profiles under
 * Vituo vya Urithi, the articles under Mila na Desturi, …) lists them here
 * as cards, so a section page always links onward and is never a dead end.
 * Mobile-first: one column, then two, then three. Colours come from the
 * Phase A --syp-* tokens.
 * ====================================================================== */

.syp-entries {
	margin-top: var(--syp-space-7);
}

.syp-entries__title {
	margin: 0 0 var(--syp-space-5);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h3);
	color: var(--syp-green);
}

.syp-entries__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-5);
}

.syp-entry-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--syp-line);
	border-radius: var(--syp-radius);
	box-shadow: var(--syp-shadow-sm);
	transition: box-shadow var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-entry-card:hover {
	box-shadow: var(--syp-shadow-md);
}

.syp-entry-card__media {
	display: block;
	text-decoration: none;
}

.syp-entry-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* The placeholder sits flush under the card's top edge. */
.syp-entry-card__placeholder {
	border: 0;
	border-bottom: 1px dashed var(--syp-line);
	border-radius: 0;
}

.syp-entry-card__title {
	margin: var(--syp-space-4) var(--syp-space-4) 0;
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h4);
	line-height: 1.3;
}

.syp-entry-card__title a {
	color: var(--syp-green);
	text-decoration: none;
	transition: color var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-entry-card__title a:hover,
.syp-entry-card__title a:focus-visible {
	color: var(--syp-gold);
}

.syp-entry-card__text {
	margin: var(--syp-space-3) var(--syp-space-4) var(--syp-space-4);
	font-size: var(--syp-fs-small);
	line-height: 1.6;
	color: var(--syp-muted);
}

@media (min-width: 640px) {
	.syp-entries__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.syp-entries__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.syp-entry-card,
	.syp-entry-card__title a {
		transition: none;
	}
}

/* ======================================================================
 * Maktaba na Nyaraka — the /downloads/ library page and the [syp_document]
 * embed. Both reuse the --syp-* tokens, the editorial header and the shared
 * buttons, so the library reads as part of the same editorial system.
 * ====================================================================== */

.syp-library-page {
	padding-bottom: var(--syp-space-9);
}

.syp-library__intro {
	max-width: 52rem;
	margin: 0 auto;
	padding: var(--syp-space-7) 0 var(--syp-space-4);
}

.syp-library__featured,
.syp-library__shelves,
.syp-library__archive {
	margin-top: var(--syp-space-7);
}

.syp-library__heading {
	margin: 0 0 var(--syp-space-5);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h3);
	line-height: 1.2;
	color: var(--syp-green);
}

.syp-library__subheading {
	margin: 0 0 var(--syp-space-3);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h4);
	line-height: 1.3;
	color: var(--syp-green);
}

.syp-library__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-5);
}

/* --------------------------------------------------------- shelves */

.syp-library__shelf-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.syp-library__shelf {
	margin: 0;
}

.syp-library__shelf-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--syp-space-4);
	padding: var(--syp-space-4) var(--syp-space-5);
	background: #fff;
	border: 1px solid var(--syp-line);
	border-radius: var(--syp-radius-sm);
	text-decoration: none;
	color: var(--syp-green);
	transition: border-color var(--syp-dur-fast) var(--syp-ease-out),
		box-shadow var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-library__shelf-link:hover,
.syp-library__shelf-link:focus-visible {
	border-color: var(--syp-gold);
	box-shadow: var(--syp-shadow-sm);
}

.syp-library__shelf-link.is-active {
	background: var(--syp-green);
	border-color: var(--syp-green);
	color: var(--syp-ivory);
}

.syp-library__shelf-name {
	font-weight: 600;
}

.syp-library__shelf-count {
	flex: none;
	font-family: var(--syp-font-mono);
	font-size: var(--syp-fs-small);
	color: var(--syp-muted);
}

.syp-library__shelf-link.is-active .syp-library__shelf-count {
	color: var(--syp-sand);
}

/* ------------------------------------------------------- tools + search */

.syp-library__tools {
	display: flex;
	flex-direction: column;
	gap: var(--syp-space-4);
	margin-bottom: var(--syp-space-5);
}

.syp-library__tools .syp-library__heading {
	margin-bottom: 0;
}

.syp-library__search {
	display: flex;
	align-items: stretch;
	gap: var(--syp-space-3);
}

.syp-library__search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: var(--syp-space-3) var(--syp-space-4);
	border: 1px solid var(--syp-line);
	border-radius: var(--syp-radius-sm);
	background: #fff;
	font-family: inherit;
	font-size: var(--syp-fs-small);
	color: var(--syp-charcoal);
}

.syp-library__search input[type="search"]:focus-visible {
	outline: 2px solid var(--syp-gold);
	outline-offset: 1px;
}

/* --------------------------------------------------------------- notes */

.syp-library__notes {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--syp-space-5);
	margin-top: var(--syp-space-8);
}

.syp-library__note-block,
.syp-library__cta {
	padding: var(--syp-space-5) var(--syp-space-6);
	background: var(--syp-ivory);
	border: 1px solid var(--syp-line);
	border-radius: var(--syp-radius);
}

.syp-library__note-block p:last-child,
.syp-library__cta p:last-child {
	margin-bottom: 0;
}

.syp-library__note-block .syp-btn {
	margin-top: var(--syp-space-2);
}

.syp-library__cta {
	margin-top: var(--syp-space-6);
	background: var(--syp-green);
	border-color: var(--syp-green-deep);
	color: var(--syp-ivory);
}

.syp-library__cta .syp-library__subheading {
	color: var(--syp-sand);
}

.syp-library__cta .syp-btn--primary {
	background: var(--syp-gold);
	border-color: var(--syp-gold);
	color: var(--syp-charcoal);
}

.syp-library__cta .syp-btn--primary:hover {
	background: var(--syp-gold-soft);
	border-color: var(--syp-gold-soft);
	color: var(--syp-charcoal);
}

/* ---------------------------------------------------------- document card */

.syp-library-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--syp-line);
	border-radius: var(--syp-radius);
	box-shadow: var(--syp-shadow-sm);
	transition: box-shadow var(--syp-dur-fast) var(--syp-ease-out);
}

.syp-library-card:hover {
	box-shadow: var(--syp-shadow-md);
}

.syp-library-card__media {
	display: block;
}

.syp-library-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.syp-library-card__placeholder {
	border: 0;
	border-bottom: 1px dashed var(--syp-line);
	border-radius: 0;
}

.syp-library-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: var(--syp-space-4) var(--syp-space-4) var(--syp-space-5);
}

.syp-library-card__meta {
	margin: 0 0 var(--syp-space-2);
	font-size: var(--syp-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--syp-gold);
}

.syp-library-card__title {
	margin: 0 0 var(--syp-space-2);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h4);
	line-height: 1.3;
	color: var(--syp-green);
}

.syp-library-card__desc {
	margin: 0 0 var(--syp-space-4);
	font-size: var(--syp-fs-small);
	line-height: 1.6;
	color: var(--syp-muted);
}

.syp-library-card__cta {
	align-self: flex-start;
	margin-top: auto;
}

/* ----------------------------------------------------- [syp_document] embed */

.syp-document {
	margin: var(--syp-space-6) 0;
	padding: var(--syp-space-5) var(--syp-space-6);
	background: var(--syp-ivory);
	border: 1px solid var(--syp-line);
	border-left: 3px solid var(--syp-gold);
	border-radius: var(--syp-radius-sm);
}

.syp-document__eyebrow {
	margin: 0 0 var(--syp-space-2);
	font-size: var(--syp-fs-eyebrow);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--syp-gold);
}

.syp-document__title {
	margin: 0 0 var(--syp-space-3);
	font-family: var(--syp-font-display);
	font-size: var(--syp-fs-h4);
	line-height: 1.3;
	color: var(--syp-green);
}

.syp-document__desc {
	margin: 0 0 var(--syp-space-2);
	font-size: var(--syp-fs-small);
	line-height: 1.65;
	color: var(--syp-charcoal);
}

.syp-document__summary {
	margin: 0 0 var(--syp-space-4);
	font-size: var(--syp-fs-small);
	line-height: 1.6;
	color: var(--syp-muted);
}

.syp-document__action {
	margin: 0 0 var(--syp-space-4);
}

.syp-document__preview {
	margin: 0 0 var(--syp-space-4);
}

.syp-document__preview img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--syp-radius-sm);
}

.syp-document__meta {
	margin: var(--syp-space-4) 0 0;
	padding-top: var(--syp-space-4);
	border-top: 1px solid var(--syp-line);
}

.syp-document__meta-row {
	display: flex;
	gap: var(--syp-space-3);
	font-size: var(--syp-fs-small);
	line-height: 1.5;
}

.syp-document__meta-row + .syp-document__meta-row {
	margin-top: var(--syp-space-2);
}

.syp-document__meta dt {
	flex: none;
	min-width: 8rem;
	font-weight: 600;
	color: var(--syp-green);
}

.syp-document__meta dd {
	margin: 0;
	color: var(--syp-muted);
	overflow-wrap: anywhere;
}

@media (min-width: 640px) {
	.syp-library__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.syp-library__shelf-list {
		grid-template-columns: repeat(2, 1fr);
	}

	.syp-library__notes {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.syp-library__tools {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.syp-library__search {
		flex: 0 1 26rem;
	}
}

@media (min-width: 1024px) {
	.syp-library__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.syp-library__shelf-list {
		grid-template-columns: repeat(3, 1fr);
	}

	.syp-library__notes {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.syp-library-card,
	.syp-library__shelf-link {
		transition: none;
	}
}
