/*
Block Name: Hero Background (Image/Video)
Description: A simple hero block with a background image, or video.
*/

/* All hero text white */
.block-hero-background,
.block-hero-background h1,
.block-hero-background h2,
.block-hero-background h3,
.block-hero-background h4,
.block-hero-background h5,
.block-hero-background h6,
.block-hero-background p,
.block-hero-background li {
	color: #fff;
}

/* Links in hero content */
.block-hero-background p a,
.block-hero-background h1 a,
.block-hero-background h2 a,
.block-hero-background h3 a,
.block-hero-background li a {
	color: #fff;
	text-decoration: underline;
}

.block-hero-background p a:hover,
.block-hero-background h1 a:hover,
.block-hero-background h2 a:hover,
.block-hero-background h3 a:hover,
.block-hero-background li a:hover {
	opacity: 0.8;
}

/* Intro text above H1 */
.block-hero-background .col > p:first-child {
	font-size: 120%;
	margin-bottom: 1rem;
}

.block-hero-background p,
.block-hero-background li {
	font-weight: 600;
}

/* Larger hero H1 */
.block-hero-background h1 {
	font-size: clamp(3rem, 4vw, 4.8rem);
	line-height: 1.15;
	margin-top: 0;
	max-width: 36ch;
}

.block-hero-background h1 a {
	color: #fff;
	text-decoration: underline;
}

.block-hero-background h1 a:hover {
	color: #fff;
	opacity: 0.8;
}

/* Button spacing */
.block-hero-background h1 + .tick-list,
.block-hero-background ul + a.button {
	margin-top: 4rem;
}

/* Hero button */
.block-hero-background a.button {
	border: 2px solid #fff;
}

.block-hero-background a.button:hover {
	border: 2px solid #fff;
}