/* Authentic Inner Journey. Samples converted from the supplied display profile
 * to sRGB; see docs/authentic-theme.md for source regions and exact colours. */
html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) {
	--ij-theme-ink: #3d3938;
	--ij-theme-muted: #545951;
	--ij-theme-primary: #65c097;
	--ij-theme-primary-dark: #3d3938;
	--ij-theme-action: #65c097;
	--ij-theme-action-hover: #e9f3e6;
	--ij-theme-action-ink: #fff;
	--ij-theme-panel-gradient: linear-gradient(120deg, #f6fafc 0%, #e4f1fa 52%, #e9f3e6 100%);
	--ij-theme-panel-line: #c9dfef;
	--ij-theme-accent: #4294d0;
	--ij-theme-soft: #e9f3e6;
	--ij-theme-alt: #eee9dd;
	--ij-theme-line: #e9f3e6;
	--ij-theme-header: #fff;
	--ij-theme-footer: #e9f3e6;
	--ij-theme-wash: linear-gradient(125deg, #eee9dd 0%, #e7dfcf 45%, #d9c3a0 100%);
	--ij-theme-hero: linear-gradient(90deg, rgba(238, 233, 221, .95) 0%, rgba(238, 233, 221, .88) 30%, rgba(231, 223, 207, .70) 50%, rgba(217, 195, 160, .18) 75%, rgba(217, 195, 160, .02) 100%);
	--ij-theme-cta: linear-gradient(110deg, #e9f3e6, #eee9dd);
	--ij-theme-radius: 16px;
	--ij-theme-shadow: 0 8px 28px rgba(61, 57, 56, .06);
}

/* Sunrise overlays need dark lettering, including image-backed service pages. */
html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) :is(
	.ij-home-carousel, .ij-home-hero, .ij-standard-hero,
	.ij-services-index__hero, .ij-service-hero, .ij-news-hero,
	.ij-article-header, .ij-resources-hero, .ij-resource-article header
) :is(h1, h2, p, .ij-home-carousel__summary, .ij-home-hero__intro,
	.ij-standard-breadcrumbs, .ij-service-breadcrumbs, .ij-news-breadcrumbs,
	.ij-resource-breadcrumbs, .ij-standard-breadcrumbs a,
	.ij-service-breadcrumbs a, .ij-news-breadcrumbs a, .ij-resource-breadcrumbs a) {
	color: var(--ij-theme-ink) !important;
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) .ij-home :is(.ij-home-carousel, .ij-home-hero) .ij-home-button--primary {
	background: var(--ij-theme-action) !important;
	border-color: var(--ij-theme-action);
	color: var(--ij-theme-action-ink) !important;
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) .ij-home :is(.ij-home-carousel, .ij-home-hero) .ij-home-button--primary:is(:hover, :active) {
	background: var(--ij-theme-soft) !important;
	border-color: var(--ij-theme-ink);
	color: var(--ij-theme-ink) !important;
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) :is(.ij-home-button--ghost, .ij-button--ghost):not(:where(.ij-school *)) {
	background: var(--ij-theme-alt);
	border-color: var(--ij-theme-ink);
	color: var(--ij-theme-ink) !important;
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) .ij-home-carousel__arrow,
html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) .ij-home-carousel__dots {
	background: var(--ij-theme-soft);
	border-color: var(--ij-theme-ink);
	color: var(--ij-theme-ink);
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) .ij-home-carousel__dots button::before {
	background: var(--ij-theme-accent);
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) .ij-home-service-card__number {
	color: var(--ij-theme-muted);
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover {
	text-decoration: underline;
	text-decoration-color: var(--ij-theme-accent);
	text-underline-offset: 8px;
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) .ij-resource-article header {
	background: var(--ij-theme-wash);
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) .ij-home-pathways > div::before {
	color: var(--ij-theme-ink);
	border-inline-start: 3px solid var(--ij-theme-accent);
	padding-inline-start: 10px;
}

/* Separate navigation and the support strip from the warm photo banners. */
html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) #mega-menu-wrap-primary #mega-menu-primary :is(.mega-ij-services-menu, .mega-ij-resources-menu) > ul.mega-sub-menu,
html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) .ij-home-pathways {
	background: var(--ij-theme-panel-gradient);
	border-color: var(--ij-theme-panel-line);
	box-shadow: 0 10px 28px rgba(66, 148, 208, .10);
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) .ij-home-pathways > div {
	border-color: var(--ij-theme-panel-line);
}

/* The sampled logo blue carries the large section headings and navigation
 * accents; pale blue surfaces keep it balanced with the original mint. */
html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) :is(
	.ij-home-section-heading h2, .ij-home-mission h2,
	.ij-resource-section__head h2, #ij-services-title
) {
	color: var(--ij-theme-accent);
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) #mega-menu-wrap-primary #mega-menu-primary :is(.mega-ij-mega-group, .mega-ij-resource-link) > a.mega-menu-link {
	border-bottom-color: var(--ij-theme-panel-line) !important;
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) #mega-menu-wrap-primary #mega-menu-primary :is(.mega-ij-service-link, .mega-ij-resource-link) > a.mega-menu-link::after {
	color: var(--ij-theme-accent);
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) #mega-menu-primary > li.mega-current-menu-item > a.mega-menu-link {
	text-decoration: underline;
	text-decoration-color: var(--ij-theme-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}

/* White labels at rest; dark lettering on the pale interaction surface. */
html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) :is(
	.ij-home-button--primary, .ij-home-button--dark, .ij-home-button--light,
	.ij-button--primary, .ij-button--secondary, .ij-super-footer__callout > a,
	.ij-landing-cta > a, .ij-contact-action > a, .ij-contact-form button[type="submit"],
	.ij-download-card__file a, .ast-header-search .ast-search-menu-icon .search-submit,
	.ij-resource-filters a, .ij-language-switcher__link.is-current
):not(:where(.ij-school *)):is(:hover, :active) {
	background: var(--ij-theme-soft) !important;
	color: var(--ij-theme-ink) !important;
}

/* Social brands retain their own colours, independently of the site palette. */
html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) #masthead .header-social-item.ast-facebook svg {
	fill: #0866ff !important;
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) #masthead .header-social-item.ast-instagram .ahfb-svg-iconset {
	background: url("instagram-brand.svg") center / contain no-repeat;
}

html:is([data-ij-theme="authentic"], [data-ij-theme="authentic-blue-banner"], [data-ij-theme="authentic-no-banner"]) #masthead .header-social-item.ast-instagram svg {
	opacity: 0;
}
