/*--------------------------------------------------------------------------------------------------
  Box List — [box-list] shortcode frontend styles
--------------------------------------------------------------------------------------------------*/

.bet-box-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 100%;
	margin: 0 0 24px;
}

.bet-box-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	box-sizing: border-box;
}

.bet-box-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 16px 0;
}

.bet-box-card__logo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 56px;
	border-radius: 0;
	overflow: hidden;
	padding: 6px;
	box-sizing: border-box;
}

.bet-box-card__logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.bet-box-card__name {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1d2327;
}

.bet-box-card__text {
	padding: 12px 16px 16px;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #334155;
}

.bet-box-card__text p {
	margin: 0 0 0.75em;
}

.bet-box-card__text p:last-child {
	margin-bottom: 0;
}

/* Bonus left, CTA button right */
.bet-box-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	margin-top: auto;
	padding: 16px;
	border-top: 1px solid #ececec;
	background: #fafafa;
}

.bet-box-card__bonus {
	flex: 1 1 200px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bet-box-card__bonus-label {
	font-size: 0.6875rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: #365236;
}

.bet-box-card__bonus-text {
	font-size: 1.25rem;
	line-height: 1.35;
	font-weight: 700;
	color: #202020;
}

.bet-box-card__cta {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 12px 28px;
	background-color: #ffd300;
	border-radius: 8px;
	color: #000;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none !important;
	box-sizing: border-box;
	white-space: nowrap;
}

.bet-box-card__footer--cta-only {
	justify-content: flex-end;
}

@media (max-width: 600px) {
	.bet-box-card__footer {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 10px;
	}

	.bet-box-card__bonus {
		flex: 0 0 auto;
	}

	.bet-box-card__cta {
		width: 100%;
	}
}
