/**
 * CTA minimal box (`.haam-cta-minimal`).
 * Variants: `--inline` (row) · `--center` (stacked).
 */

.haam-cta-minimal {
	--hcm-ink: #000000;
	--hcm-surface: #ffffff;

	position: relative;
	background: var(--hcm-surface);
	border: 1px solid var(--hcm-ink);
	border-radius: 8px;
	box-shadow: none;
	transition: background 0.2s ease, border-color 0.2s ease;
	max-width: 100%;
	width: 100%;
	overflow: hidden;
	margin: 1.75em 0;
	direction: rtl;
	color: var(--hcm-ink);
}

.haam-cta-minimal:hover {
	transform: none;
	box-shadow: none;
	border-color: var(--hcm-ink);
}

.haam-cta-minimal__blur {
	display: none;
}

.haam-cta-minimal__text {
	color: var(--hcm-ink);
	line-height: 1.6;
	position: relative;
	z-index: 1;
	font-weight: 500;
	margin: 0;
}

.haam-cta-minimal__btn {
	display: inline-block;
	background: var(--hcm-surface);
	border: 1px solid var(--hcm-ink);
	box-shadow: none;
	color: var(--hcm-ink) !important;
	text-decoration: none !important;
	border-radius: 8px;
	font-weight: 700;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	position: relative;
	z-index: 1;
}

.haam-cta-minimal__btn:hover {
	background: var(--hcm-ink);
	border-color: var(--hcm-ink);
	color: var(--hcm-surface) !important;
	transform: none;
	box-shadow: none;
}

/* Row — text + button side by side */
.haam-cta-minimal--inline {
	padding: 15px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.haam-cta-minimal--inline .haam-cta-minimal__text {
	font-size: 1rem;
	white-space: nowrap;
}

.haam-cta-minimal--inline .haam-cta-minimal__btn {
	padding: 10px 18px;
	font-size: 0.95rem;
	white-space: nowrap;
}

/* Stacked — centered text + button */
.haam-cta-minimal--center {
	padding: 20px;
	text-align: center;
}

.haam-cta-minimal--center .haam-cta-minimal__text {
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 16px;
	white-space: nowrap;
}

.haam-cta-minimal--center .haam-cta-minimal__btn {
	padding: 10px 20px;
	font-size: 0.95rem;
}

@media (max-width: 640px) {
	.haam-cta-minimal--inline {
		flex-direction: column;
		text-align: center;
		padding: 15px 20px;
	}

	.haam-cta-minimal--inline .haam-cta-minimal__text,
	.haam-cta-minimal--center .haam-cta-minimal__text {
		white-space: normal;
	}

	.haam-cta-minimal--center {
		padding: 15px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.haam-cta-minimal__btn:hover {
		transform: none;
	}
}
