/*
	BCB site overrides
	Loaded after assets/css/main.css — do not edit main.css.
*/

/* Logo: replace the default text logo with the BCB mark */
#logo h1 {
	background: transparent;
	padding: 0;
	border-radius: 0;
	line-height: 0;
}

#logo h1 img {
	height: 108px;
	width: auto;
	display: block;
	mix-blend-mode: multiply;
}

/* Banner: site name on a single line, tagline on two lines */
#banner h2 {
	font-size: clamp(17px, 2.4vw + 6px, 40px);
	line-height: 1.15;
	margin: 0 0 0.55em 0;
	white-space: nowrap;
}

#banner p {
	font-size: clamp(15px, 1.85vw, 26px);
	line-height: 1.4;
}

/* Medium screens: the banner stacks, so allow a narrower text column */
@media screen and (max-width: 980px) {

	#banner h2 {
		font-size: clamp(17px, 4.2vw, 34px);
	}

	#banner p {
		font-size: clamp(15px, 2.6vw, 22px);
	}

}

/* Small screens */
@media screen and (max-width: 736px) {

	/* Guarantee no horizontal scrolling on phones */
	html, body {
		overflow-x: hidden;
	}

	#logo h1 img {
		height: 84px;
		margin: 0 auto;
	}

	#banner {
		padding: 3em 1.25em;
	}

	#banner h2 {
		font-size: clamp(17px, 5vw, 30px);
	}

	#banner p {
		font-size: clamp(15px, 4.2vw, 19px);
	}

}

/* Safety net for very narrow viewports */
@media screen and (max-width: 480px) {

	#banner h2 {
		font-size: clamp(15px, 5.4vw, 22px);
	}

	#banner-wrapper {
		padding: 0 10px;
	}

}
