/* [boxes] — editorial cards aligned with bet-mz casino list */
.bmz-boxes {
	--bmz-brand: #00655d;
	--bmz-brand-dark: #004a44;
	--bmz-brand-soft: #e7f4f2;
	--bmz-brand-muted: rgba(0, 101, 93, 0.1);
	--bmz-ink: #1a1a1a;
	--bmz-muted: #6b7280;
	--bmz-line: #e6ebef;
	--bmz-ok: #1f9d63;
	--bmz-ok-bg: #e8f7ef;
	--bmz-panel: #f4faf9;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 1.5rem 0 2rem;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	color: var(--bmz-ink);
	box-sizing: border-box;
}

.bmz-boxes *,
.bmz-boxes *::before,
.bmz-boxes *::after {
	box-sizing: border-box;
}

.bmz-boxes a {
	box-shadow: none !important;
	text-decoration: none !important;
}

.bmz-box {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border: 1px solid var(--bmz-line);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bmz-box:hover {
	border-color: #c5ddd9;
	box-shadow: 0 8px 24px var(--bmz-brand-muted);
}

/* —— Header —— */
.bmz-box__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	background: linear-gradient(180deg, var(--bmz-panel) 0%, #ffffff 100%);
	border-bottom: 1px solid var(--bmz-line);
}

.bmz-box__brand {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	min-width: 0;
	flex: 0 1 auto;
}

.bmz-box__logo {
	width: 132px;
	height: 52px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	flex: 0 0 auto;
}

.bmz-box__logo img {
	display: block;
	max-width: 74%;
	max-height: 70%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.bmz-box__logo-fallback {
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 0 8px;
	text-align: center;
}

.bmz-box__name {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	color: var(--bmz-ink) !important;
	letter-spacing: -0.01em;
	display: flex;
	align-items: center;
	align-self: center;
}

.bmz-box__bonus {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 12px;
	text-align: center;
}

.bmz-box__bonus-label {
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	color: var(--bmz-muted);
}

.bmz-box__bonus-value {
	display: inline;
	white-space: nowrap;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--bmz-brand);
}

.bmz-box__bonus-main,
.bmz-box__bonus-sub {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	letter-spacing: inherit;
}

/* —— Body —— */
.bmz-box__main {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	padding: 0;
}

.bmz-box__main--split {
	grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.9fr);
	align-items: stretch;
}

.bmz-box__content {
	padding: 18px 20px 20px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--bmz-ink);
}

.bmz-box__main--split .bmz-box__content {
	border-right: 1px solid var(--bmz-line);
}

.bmz-box__content p {
	margin: 0 0 0.9em;
}

.bmz-box__content p:last-child {
	margin-bottom: 0;
}

.bmz-box__content ul,
.bmz-box__content ol {
	margin: 0 0 0.9em;
	padding-left: 1.2em;
}

.bmz-box__content a {
	color: var(--bmz-brand) !important;
	font-weight: 600;
}

/* —— Destaques —— */
.bmz-box__features {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px 18px 20px;
	background: var(--bmz-panel);
}

.bmz-box__features-title {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bmz-brand);
}

.bmz-box__features ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
}

.bmz-box__features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--bmz-ink);
}

.bmz-box__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--bmz-ok-bg);
	color: var(--bmz-ok);
	flex: 0 0 auto;
}

.bmz-box__check svg {
	display: block;
}

.bmz-box__feature-text {
	min-width: 0;
}

/* —— CTA —— */
.bmz-box__actions {
	padding: 0 20px 20px;
}

.bmz-box__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 10px;
	background: var(--bmz-brand);
	border: 1px solid var(--bmz-brand);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.bmz-box__cta:hover,
.bmz-box__cta:focus {
	background: var(--bmz-brand-dark);
	border-color: var(--bmz-brand-dark);
	color: #fff !important;
	box-shadow: 0 4px 14px var(--bmz-brand-muted);
}

.bmz-box__cta--head {
	flex: 0 0 auto;
}

.bmz-box__cta--side {
	width: 100%;
	margin-top: 4px;
}

/* Mobile: hide header CTA (use side/footer instead) */
.bmz-box__cta--side {
	display: none;
}

@media (max-width: 860px) {
	.bmz-box__main--split {
		grid-template-columns: 1fr;
	}

	.bmz-box__main--split .bmz-box__content {
		border-right: 0;
		border-bottom: 1px solid var(--bmz-line);
	}

	.bmz-box__cta--head {
		display: none;
	}

	.bmz-box__cta--side {
		display: inline-flex;
	}

	.bmz-box__head {
		padding: 14px 16px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.bmz-box__brand {
		flex: 1 1 100%;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 10px;
		text-align: center;
	}

	.bmz-box__name {
		font-size: 18px !important;
		align-self: center;
		justify-content: center;
	}

	.bmz-box__bonus {
		order: 3;
		flex: 1 1 100%;
		padding: 10px 0 4px;
		border-top: 1px solid var(--bmz-line);
		margin-top: 4px;
	}

	.bmz-box__bonus-value {
		font-size: 16px;
	}

	.bmz-box__logo {
		width: 118px;
		height: 48px;
	}

	.bmz-box__content,
	.bmz-box__features {
		padding: 16px;
	}
}

@media (max-width: 480px) {
	.bmz-boxes {
		gap: 12px;
		margin: 1rem 0 1.5rem;
	}

	.bmz-box {
		border-radius: 14px;
	}

	.bmz-box__content {
		font-size: 14.5px;
	}
}
