/* Alternate layouts inherit the brochure palette from theme-authentic.css.
 * School templates retain their own established design and colours. */
.ij-home-no-banner-title { display: none; }

html[data-ij-theme][data-ij-theme="authentic-blue-banner"] :is(
	.ij-home-carousel, .ij-home-carousel__slide, .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 > article > header
) {
	background: #4294d0 !important;
}

html[data-ij-theme][data-ij-theme="authentic-blue-banner"] :is(
	.ij-home-carousel__shade, .ij-home-hero__shade, .ij-service-hero__media,
	.ij-article-hero, .ij-resource-article > article > figure
) { display: none !important; }

html[data-ij-theme][data-ij-theme="authentic-blue-banner"] :is(
	.ij-standard-hero, .ij-services-index__hero, .ij-service-hero, .ij-news-hero,
	.ij-resources-hero, .ij-article-header, .ij-resource-article > article > header
)::before,
html[data-ij-theme][data-ij-theme="authentic-blue-banner"] :is(
	.ij-standard-hero, .ij-services-index__hero, .ij-service-hero, .ij-news-hero,
	.ij-resources-hero, .ij-article-header, .ij-resource-article > article > header
)::after { display: none !important; }

html[data-ij-theme][data-ij-theme="authentic-blue-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 > article > header
) :is(h1, h2, p, a, nav, time, span) {
	color: #fff !important;
}

html[data-ij-theme][data-ij-theme="authentic-blue-banner"] .ij-home-carousel .ij-home-button--primary {
	background: #fff !important;
	border-color: #fff !important;
	color: #3d3938 !important;
}
html[data-ij-theme][data-ij-theme="authentic-blue-banner"] .ij-home-carousel .ij-home-button--primary span {
	color: inherit !important;
}
html[data-ij-theme][data-ij-theme="authentic-blue-banner"] .ij-home-carousel .ij-home-button--primary:is(:hover, :focus-visible, :active) {
	background: #e9f3e6 !important;
}

/* Remove the homepage banner completely, without leaving an overlap or gap. */
html[data-ij-theme][data-ij-theme="authentic-no-banner"] :is(.ij-home-carousel, .ij-home-hero) {
	display: none !important;
}
html[data-ij-theme="authentic-no-banner"] .ij-home-no-banner-title { display: block; }
html[data-ij-theme][data-ij-theme="authentic-no-banner"] .ij-home-pathways {
	margin-block-start: 28px;
}

/* Inner pages retain their title and trail as ordinary content, not a banner. */
html[data-ij-theme][data-ij-theme="authentic-no-banner"] :is(
	.ij-standard-hero, .ij-services-index__hero, .ij-service-hero, .ij-news-hero,
	.ij-article-header, .ij-resources-hero, .ij-resource-article > article > header
) {
	min-height: 0 !important;
	height: auto !important;
	padding-block: 0 !important;
	background: transparent !important;
	border: 0;
	box-shadow: none;
}
html[data-ij-theme][data-ij-theme="authentic-no-banner"] :is(
	.ij-services-index__hero-inner, .ij-standard-hero .ij-standard-shell,
	.ij-news-hero .ij-news-shell, .ij-service-hero__content,
	.ij-article-header .ij-news-shell, .ij-resources-hero .ij-resources-shell,
	.ij-resource-article > article > header .ij-resources-shell
) {
	position: relative;
	min-height: 0 !important;
	padding-block: 28px !important;
}
html[data-ij-theme][data-ij-theme="authentic-no-banner"] :is(
	.ij-standard-hero, .ij-services-index__hero, .ij-service-hero, .ij-news-hero,
	.ij-article-header, .ij-resources-hero, .ij-resource-article > article > header
) :is(h1, h2) {
	font-size: clamp(30px, 3.5vw, 40px);
	line-height: 1.15;
}
html[data-ij-theme][data-ij-theme="authentic-no-banner"] :is(
	.ij-standard-hero, .ij-services-index__hero, .ij-service-hero, .ij-news-hero,
	.ij-article-header, .ij-resources-hero, .ij-resource-article > article > header
) p {
	margin-block: 12px 0;
	font-size: 17px;
	line-height: 1.5;
}
html[data-ij-theme][data-ij-theme="authentic-no-banner"] :is(
	.ij-services-index__eyebrow, .ij-service-hero__eyebrow, .ij-standard-hero .ij-standard-eyebrow,
	.ij-news-hero .ij-news-eyebrow, .ij-resources-hero .ij-resource-eyebrow
) { display: none; }
html[data-ij-theme][data-ij-theme="authentic-no-banner"] :is(
	.ij-service-breadcrumbs, .ij-standard-breadcrumbs, .ij-news-breadcrumbs,
	.ij-resource-breadcrumbs
) {
	padding-block: 0 !important;
	margin-block: 0 18px !important;
}
html[data-ij-theme][data-ij-theme="authentic-no-banner"] :is(
	.ij-service-hero__media, .ij-article-hero,
	.ij-resource-article > article > figure
) { display: none !important; }
html[data-ij-theme][data-ij-theme="authentic-no-banner"] :is(
	.ij-standard-hero, .ij-services-index__hero, .ij-service-hero, .ij-news-hero,
	.ij-article-header, .ij-resources-hero, .ij-resource-article > article > header
)::before,
html[data-ij-theme][data-ij-theme="authentic-no-banner"] :is(
	.ij-standard-hero, .ij-services-index__hero, .ij-service-hero, .ij-news-hero,
	.ij-article-header, .ij-resources-hero, .ij-resource-article > article > header
)::after { display: none !important; }
