/*
 * BE Club promotion. Colours follow the Elementor kit: black club tiles, blue buttons.
 *
 * Every rule is scoped under the component's own class: the kit styles headings, links
 * and buttons as `.elementor-kit-5 h2` and so on, which outrank a single class.
 */

.benews-club-promo {
	display: flex;
	align-items: center;
	gap: 24px 32px;
	padding: 24px 32px;
	background: #000;
	color: #fff;
	font-family: Raleway, sans-serif;
}

.benews-club-promo .benews-club-promo__logo {
	flex: 0 0 auto;
	width: 140px;
	height: auto;
}

.benews-club-promo .benews-club-promo__text {
	flex: 1 1 auto;
}

.benews-club-promo .benews-club-promo__lead,
.benews-club-promo .benews-club-promo__offer,
.benews-club-promo .benews-club-promo__price {
	margin: 0;
	color: #fff;
	font-family: Raleway, sans-serif;
	line-height: 1.35;
}

.benews-club-promo .benews-club-promo__lead {
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 500;
}

.benews-club-promo .benews-club-promo__offer {
	font-size: 20px;
	font-weight: 700;
	text-wrap: balance;
}

.benews-club-promo .benews-club-promo__price {
	margin-top: 6px;
	font-size: 16px;
	font-weight: 500;
}

.benews-club-promo .benews-club-promo__button,
.benews-club-popup .benews-club-popup__button {
	display: inline-block;
	flex: 0 0 auto;
	padding: 14px 28px;
	background: #007cb8;
	color: #fff;
	font-family: Raleway, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.benews-club-promo .benews-club-promo__button:hover,
.benews-club-promo .benews-club-promo__button:focus,
.benews-club-popup .benews-club-popup__button:hover,
.benews-club-popup .benews-club-popup__button:focus {
	background: #fff;
	color: #000;
	text-decoration: none;
}

/*
 * The homepage band runs its offer as one line across a 1280px box: a smaller logo and
 * 19px text leave it about 15px to spare. Narrower screens wrap it, balanced.
 */
.benews-club-promo.benews-club-promo--strip {
	padding-right: 24px;
	padding-left: 24px;
}

.benews-club-promo--strip .benews-club-promo__logo {
	width: 110px;
}

.benews-club-promo--strip .benews-club-promo__offer {
	font-size: 19px;
}

.benews-club-promo.benews-club-promo--swap {
	margin-top: 20px;
}

.benews-club-promo--swap .benews-club-promo__offer {
	font-size: 18px;
}

@media (max-width: 767px) {
	.benews-club-promo {
		flex-direction: column;
		align-items: flex-start;
		padding: 24px;
	}

	.benews-club-promo .benews-club-promo__logo {
		width: 110px;
	}

	.benews-club-promo .benews-club-promo__offer {
		font-size: 18px;
	}
}

/* Pop-up: a centred card on desktop, a sheet from the bottom on phones. */

.benews-club-popup {
	box-sizing: border-box;
	width: min(440px, calc(100% - 32px));
	max-height: calc(100% - 32px);
	padding: 40px 32px 32px;
	border: 0;
	background: #000;
	color: #fff;
	font-family: Raleway, sans-serif;
	text-align: center;
}

.benews-club-popup:focus {
	outline: none;
}

.benews-club-popup::backdrop {
	background: rgba(0, 0, 0, 0.55);
}

.benews-club-popup .benews-club-promo__logo {
	display: block;
	width: 150px;
	height: auto;
	margin: 0 auto 20px;
}

.benews-club-popup .benews-club-popup__title {
	margin: 0 0 10px;
	color: #fff;
	font-family: Raleway, sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
}

.benews-club-popup .benews-club-popup__offer {
	margin: 0 0 24px;
	color: #fff;
	font-family: Raleway, sans-serif;
	font-size: 17px;
	line-height: 1.4;
}

.benews-club-popup .benews-club-popup__button {
	display: block;
}

.benews-club-popup .benews-club-popup__alert {
	display: inline-block;
	margin-top: 16px;
	color: #fff;
	font-family: Raleway, sans-serif;
	font-size: 15px;
	text-decoration: underline;
}

.benews-club-popup .benews-club-popup__alert:hover,
.benews-club-popup .benews-club-popup__alert:focus {
	color: #fff;
	text-decoration: none;
}

.benews-club-popup .benews-club-popup__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.benews-club-popup .benews-club-popup__close:hover,
.benews-club-popup .benews-club-popup__close:focus {
	background: transparent;
	color: #ababab;
}

@media (max-width: 767px) {
	.benews-club-popup {
		width: 100%;
		max-width: 100%;
		margin: auto 0 0;
		padding: 36px 24px 28px;
	}
}
