/* Home page only (enqueued on the front page): the masthead sits over the hero photograph
   while the page is at the top, as in the mockup (.masthead--over-hero in final/assets/css/site.css).
   Not fully transparent: the navy scrim keeps the 14px nav legible over a bright sky.
   Elementor adds .elementor-sticky--effects once the page scrolls; the masthead is then solid again.
   !important is needed to beat the background Elementor writes for the template itself. */

body.home .tb-masthead:not(.elementor-sticky--effects) {
	background: linear-gradient(to bottom,
		rgba(16, 38, 58, 0.48) 0%,
		rgba(16, 38, 58, 0.42) 70%,
		rgba(16, 38, 58, 0) 100%) !important;
	border-block-end-color: transparent !important;
	transition: background var(--duration-base, 200ms) var(--ease-out, ease-out);
}

/* Nav colours over the hero come from header.css (the mockup's .masthead--over-hero rules). */

/* The foam logo (media 209) replaces the navy one over the photograph. */
body.home .tb-masthead:not(.elementor-sticky--effects) .elementor-widget-image img {
	content: url("/wp-content/uploads/tb-logo-foam.svg");
}
