/* Crisis Aid Toolkit: brand COLOURS (Ramadan 2027 brand guide, 24 Nov 2026). Colours only: the
 * layout, fonts, button shapes and header stay as they were (client, 24 Nov).
 * Loaded on every page after ca-base; rules start `body.ca-site` so they outrank the widget sheets.
 *
 * - Navy #1c4384, tab blue #275496, cyan #159fcc, teal #0b7a85; call to action red #d9124f (brand #ed1858, darkened for contrast).
 * - Red is only for actions and key figures. The old gold tokens only ever meant "the donate
 *   action", so they now hold the red; the decorative gold (ticks, dots, rules, focus rings, stars,
 *   light text on navy) gets cyan/teal/white below.
 * Remove this file to go back to the previous colours.
 */

body.ca-site {
	--ca-ink: #16233a;
	--ca-muted: #56627a;
	--ca-navy: #1c4384;
	--ca-navy-2: #275496;
	--ca-blue: #275496;
	--ca-blue-dk: #1c4384;
	--ca-deep: #163568;
	--ca-blue-50: #e3f3fa;
	--ca-tab: #275496;
	--ca-cyan: #159fcc;
	--ca-teal: #0b7a85;
	--ca-pink-tint: #fde7ee;
	/* the call to action: #ed1858 a touch darker so white text passes AA (5.06:1; #ed1858 was 4.31) */
	--ca-gold: #d9124f;
	--ca-gold-hi: #b80f43;
	--ca-gold-ink: #fff;
	--ca-accent: var(--ca-cyan); /* decoration: ticks, dots, rules, focus */
}

/* ── Buttons: colours only ── */
body.ca-site .cas .btn--gold, body.ca-site .cas .btn--gold:hover { color: #fff; }
body.ca-site .cas :is(.btn--navy, .btn--blue) { background: var(--ca-navy); }
body.ca-site .cas :is(.btn--navy, .btn--blue):hover { background: var(--ca-tab); }
body.ca-site :is(.cas .apl-form .form-submit-button, .form-submit-button) :is(.skd-app-cta__label, .button-text, .skd-app-cta__amount) { color: #fff !important; }

/* ── Labels: teal for "Zakat eligible" ── */
body.ca-site .cas :is(.tag--zakat, .apl-tag--gold) { background: var(--ca-teal); color: #fff; }

/* ── Footer highlight and glow: light cyan on navy (red would not read there) ── */
body.ca-site .cas .ft__gold, body.ca-site .cas .ft__cta::before { --ca-gold: #8fd6f0; --ca-gold-hi: #c8ecf8; }
body.ca-site .cas .ft__soft { color: #8fd6f0; }

/* ── Decoration off red: ticks, dots, rules, focus, stars ── */
body.ca-site :focus-visible { outline-color: var(--ca-accent); }
body.ca-site .cas .stars, body.ca-site .ca-lg-quotes .stars { color: #f4b400; }
body.ca-site .cas .link { text-decoration-color: var(--ca-accent); }
body.ca-site .cas .hd__facts span::before,
body.ca-site .cas .timeline__year::after,
body.ca-site .ca-lg-list li > i,
body.ca-site .cas .apl-incl__list li::before { background: var(--ca-accent); }
body.ca-site .cas .info__list li::before { background-color: var(--ca-teal); }
body.ca-site .cas .zband__ticks li::before { border-color: var(--ca-cyan); }
body.ca-site .cas .contact__icon { color: #8fd6f0; }
body.ca-site .cas :is(.ca-post--text, .ca-post--text:hover) { border-top-color: var(--ca-accent); }
body.ca-site .cas .ca-towns__letter { border-bottom-color: var(--ca-accent); }
body.ca-site .cas :is(.ca-single__body blockquote, .plaque__quote, .apl-story p.ca-callout) { border-left-color: var(--ca-accent); }
body.ca-site .cas .apl-story p.ca-callout { background: var(--ca-blue-50); }
body.ca-site .ca-ev-none .elementor-alert { border-left-color: var(--ca-accent); }
body.ca-site :is(.elementor-widget-skyweb_donation_form, .elementor-widget-skydonate-donation-form) .sky-daily-note { border-left-color: var(--ca-accent) !important; }
body.ca-site .ca-lg-tabs__list button[aria-selected="true"],
body.ca-site .cas .appeals__filters button[aria-pressed="true"] { border-left-color: var(--ca-accent); border-bottom-color: var(--ca-accent); }
body.ca-site .cas .hero__bar::after { background: #fff; }
/* light figures on dark panels stay light (dark red would not read on navy) */
body.ca-site .cas :is(.gv-quote footer, .apl-raised--dark .apl-raised__fig, .zband__sum, a.ways__card--photo:hover strong, .apl-incl__price) { color: #fff; }
body.ca-site .ca-lg-card__in em { color: #8fd6f0; }
/* the plaque replica keeps its engraved brass */
body.ca-site .cas :is(.plaque__project, .apl-plaque__proj) { color: #e9c46a; }
/* Luton event card: tab blue (not red — it is not the donate action) */
body.ca-site .cas .local__event { background: var(--ca-tab); color: #fff; }
body.ca-site .cas .local__event :is(h2, h3, p, span, strong, time) { color: #fff; }
/* prayer times: today in navy, today's row on the soft pink tint */
body.ca-site .sky-split-prayer-box.active { border-color: var(--ca-navy) !important; background: var(--ca-navy) !important; }
body.ca-site .sky-split-prayer-box.active :is(.sky-split-prayer-name, .sky-split-prayer-time, .sky-split-iqamah, .sky-split-iqamah-time) { color: #fff !important; }
body.ca-site .sky-monthly-table tr.is-today td { background: var(--ca-pink-tint) !important; color: var(--ca-ink) !important; }

/* the phone menu: every link one even list, like the desktop drop-downs (24 Nov) */
body.ca-site .cas .hd__pm details a.is-sub { padding-left: 14px; color: var(--ca-ink); font-size: inherit; }

/* NxtGen event page: its own white button text lost to the site link colour (4 Dec) */
body.ca-site .ng-more-links a { color: #fff; }

/* Qurbani status table: the "Completed" green a shade darker so white text reads (was 3.3:1) */
body.ca-site .status-badge.status-completed { background-color: #23794f !important; }
/* NxtGen route strip: the teal steps a shade deeper and the small labels solid, so white text reads */
body.ca-site .ca-route-item:nth-child(2n) { background: #23727d; }
body.ca-site .ca-route-item small { opacity: 1; }
