/* Home page "For musicians" band (index_bs.html, extraGreyBackContent) - the join pitch for acts, as GH's
   "For suppliers" band. Dark blue as the header (@gradient-dark #021a3b), with the header photo melting into it.
   The section's padding owns its top and bottom space; nothing inside adds any above the first or below the last. */

.home-join {
	background-color: #021a3b;
	color: #fff;
	padding: 30px 0;
	overflow: hidden;
}

.home-join .home-join-label {
	color: #e27bb0;	/* @brand-tertiary lifted for contrast on the dark blue */
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 7.5px;
}

.home-join .home-join-title {
	color: #fff;
	font-weight: 700;
	font-size: 28px;
	line-height: 1.2;
	text-wrap: balance;	/* no "gigs" left alone on the second line */
	margin: 0 0 15px;
}

.home-join .home-join-lead {
	color: #d6dce6;
	font-size: 17px;
	line-height: 1.5;
	margin: 0 0 30px;
}

/* a phone stacks the buttons full width with a gap; wider screens sit them side by side with the same gap */
.home-join .home-join-buttons {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.home-join .home-join-buttons .btn {
	margin: 0;
}

@media (min-width: 768px) {
	.home-join {
		padding: 0;
	}
	.home-join .home-join-row {
		display: flex;
		align-items: center;
	}
	.home-join .home-join-row:before,
	.home-join .home-join-row:after {
		content: none;
	}
	.home-join .home-join-text {
		padding-top: 60px;
		padding-bottom: 60px;
	}
	.home-join .home-join-title {
		font-size: 35px;
	}
	.home-join .home-join-buttons {
		flex-direction: row;
		flex-wrap: wrap;
	}
	/* the photo is centred in the band's height, its dark backdrop fading into the blue to the left, top and bottom */
	.home-join .home-join-photo {
		align-self: center;
		text-align: right;
	}
	.home-join .home-join-photo img {
		display: inline-block;
		width: 100%;
		max-width: 420px;
		height: auto;
		/* cropped just under the end of the cello bow (y 370 of the 519px source), so the foot of the cello is not shown */
		aspect-ratio: 480 / 400;
		object-fit: cover;
		object-position: 50% 0;
		vertical-align: bottom;
		-webkit-mask-image: linear-gradient(to right, transparent 0, #000 35%), linear-gradient(to bottom, transparent 0, #000 15%, #000 92%, transparent 100%);
		-webkit-mask-composite: source-in;
		mask-image: linear-gradient(to right, transparent 0, #000 35%), linear-gradient(to bottom, transparent 0, #000 15%, #000 92%, transparent 100%);
		mask-composite: intersect;
	}
}
