/**
 * [bcc_club] -- the reference mockup's homepage "BP Club" band (a pitch
 * for the real loyalty program + a join link, see includes/club.php's
 * docblock). The .bcc-club__field/__sr/__checkbox/__hp rules further
 * below are NOT part of this band -- they're the shared form-chrome
 * classes includes/popup.php's site-wide newsletter popup reuses, kept
 * here so popup.css's dependency on this stylesheet keeps working.
 */
.bcc-club {
	background: var(--bcc-gold-400);
	color: var(--bcc-purple-900);
	padding-block: 100px;
}

@media (width < 860px) {
	.bcc-club {
		padding-block: 64px;
	}
}

.bcc-club__wrap {
	width: min(1280px, 100% - 40px);
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 40px;
	align-items: center;
}

@media (width < 860px) {
	.bcc-club__wrap {
		grid-template-columns: 1fr;
	}
}

.bcc-club__wrap h2 {
	font-family: var(--bcc-font-display) !important;
	font-weight: 900;
	text-transform: uppercase;
	line-height: .88;
	font-size: clamp(3.5rem, 8vw, 7.5rem);
	margin: 0;
	color: var(--bcc-purple-900) !important;
}

.bcc-club__lede {
	font-size: 21px;
	max-width: 620px;
	margin: 16px 0 0;
}

.bcc-club__perks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 20px 0 0;
	font-family: var(--bcc-font-mono);
	font-size: 14px;
	letter-spacing: .03em;
}

.bcc-club__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bcc-club__field {
	display: block;
}

.bcc-club__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.bcc-club__field input,
.bcc-club__field select {
	width: 100%;
	font-family: var(--bcc-font-body) !important;
	font-size: 14px;
	padding: 9px 12px;
	border-radius: var(--bcc-radius-sm);
	border: 1.5px solid transparent;
	background: #fff;
	color: var(--bcc-ink) !important;
}

.bcc-club__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	line-height: 1.4;
	opacity: .85;
}

.bcc-club__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.bcc-club__form button {
	align-self: flex-start;
	border: none;
	cursor: pointer;
}

.bcc-club__form button:disabled {
	opacity: .6;
	cursor: default;
}

.bcc-club__status {
	font-size: 13px;
	font-weight: 600;
	margin: 0;
	min-height: 1.2em;
}

.bcc-club__status.is-error {
	color: var(--bcc-lucuma);
}

.bcc-club__status.is-ok {
	color: var(--bcc-gold-400);
}
