/* 5thAXIS — Hero Buttons widget */

.axis5th-hb {
	--axis5th-hb-btn1-bg:     var(--e-global-color-primary); /* #DD2828 */
	--axis5th-hb-btn1-text:   #FAFAFA;  /* white */
	--axis5th-hb-btn2-border: var(--e-global-color-primary); /* #DD2828 */
	--axis5th-hb-btn2-text:   #18181B;  /* b-black */

	display: inline-flex;
	align-items: stretch;
	flex-wrap: wrap;
}

/* ── Shared button base ──────────────────────────────────────────── */

.axis5th-hb__btn {
	display: inline-flex;
	align-items: center;
	gap: 2rem;
	padding: 0.875rem 1.25rem;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* ── Button 1 — filled / primary ─────────────────────────────────── */

.axis5th-hb__btn--filled {
	background: var(--axis5th-hb-btn1-bg);
	color: var(--axis5th-hb-btn1-text);
	border: 1px solid var(--axis5th-hb-btn1-bg);
	justify-content: space-between;
}

.axis5th-hb__btn--filled:hover {
	background: transparent;
	color: var(--axis5th-hb-btn1-bg);
}

/* ── Button 2 — outlined ─────────────────────────────────────────── */

.axis5th-hb__btn--outline {
	background: transparent;
	color: var(--axis5th-hb-btn2-text);
	border: 1px solid var(--axis5th-hb-btn2-border);
}

.axis5th-hb__btn--outline:hover {
	background: var(--axis5th-hb-btn2-border);
	color: #FAFAFA;
}

/* ── Arrow icon ──────────────────────────────────────────────────── */

.axis5th-hb__arrow {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 480px) {
	.axis5th-hb {
		flex-direction: column;
		width: 100%;
	}

	.axis5th-hb__btn {
		width: 100%;
	}
}
