/**
 * Business Stages 2 Widget Styles
 *
 * Pixel-matched to the "Empowering Entrepreneurs at Every Stage" Figma
 * panel (node 10208-21340). Uses .bh-bs2 BEM namespace to avoid any
 * collision with the original business-stages widget.
 *
 * @package BongoHive
 */

/* ==========================================================================
   Section wrapper
   ========================================================================== */

.bh-bs2 {
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding: 0;
}

/* ==========================================================================
   Section header
   ========================================================================== */

.bh-bs2__header {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 720px;
}

.bh-bs2__heading {
	color: #1d2229;
	font-family: 'Ubuntu', 'PT Sans', sans-serif;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1.3;
	margin: 0;
}

.bh-bs2__subheading {
	color: #606469;
	font-family: 'Ubuntu', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
}

/* ==========================================================================
   Stage list
   ========================================================================== */

.bh-bs2__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ==========================================================================
   Stage card (article)
   ========================================================================== */

.bh-bs2__item {
	align-items: stretch;
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	display: flex;
	gap: 24px;
	overflow: hidden;
	padding: 20px;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.bh-bs2__item:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
	transform: translateY(-2px);
}

.bh-bs2__item--image-right {
	flex-direction: row-reverse;
}

/* ==========================================================================
   Image column
   ========================================================================== */

.bh-bs2__media {
	background: #f2f2f2;
	border-radius: 6px;
	flex: 0 0 44%;
	max-width: 44%;
	min-height: 240px;
	overflow: hidden;
	position: relative;
}

.bh-bs2__image {
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

/* ==========================================================================
   Content column
   ========================================================================== */

.bh-bs2__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: 4px 4px 4px 0;
}

/* ==========================================================================
   Icon badge
   ========================================================================== */

.bh-bs2__icon {
	align-items: center;
	border: 1px solid #f2f2f2;
	border-radius: 2px;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	line-height: 1;
	width: 36px;
}

.bh-bs2__icon svg {
	display: block;
	fill: #f0af24;
	flex-shrink: 0;
	height: 18px;
	width: 18px;
}

/* ==========================================================================
   Text elements
   ========================================================================== */

.bh-bs2__title {
	color: #000000;
	font-family: 'Ubuntu', 'PT Sans', sans-serif;
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: -0.22px;
	line-height: 1.4;
	margin: 0;
}

.bh-bs2__tagline {
	color: #c08c1c;
	font-family: 'Ubuntu', sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
}

.bh-bs2__body {
	color: #606469;
	font-family: 'Ubuntu', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
}

/* ==========================================================================
   "See details" link
   ========================================================================== */

.bh-bs2__link {
	align-items: center;
	color: #1d2229;
	display: inline-flex;
	font-family: 'Ubuntu', sans-serif;
	font-size: 0.875rem;
	font-weight: 500;
	gap: 12px;
	line-height: 1.5;
	padding: 2px 0;
	text-decoration: none;
	transition: gap 0.2s ease;
	width: max-content;
}

.bh-bs2__link:hover,
.bh-bs2__link:focus-visible {
	gap: 16px;
	text-decoration: none;
}

.bh-bs2__link-icon {
	display: block;
	flex: 0 0 16px;
}

/* ==========================================================================
   Bullet list (What You'll Get)
   ========================================================================== */

.bh-bs2__bullets-wrap {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bh-bs2__bullets-heading {
	color: inherit;
	font-family: 'Ubuntu', sans-serif;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
}

.bh-bs2__bullets {
	color: #606469;
	font-family: 'Ubuntu', sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	list-style: disc;
	margin: 0;
	padding-left: 21px;
}

.bh-bs2__bullets li + li {
	margin-top: 4px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.bh-bs2__media {
		flex-basis: 38%;
		max-width: 38%;
		min-height: 200px;
	}
}

@media (max-width: 768px) {
	.bh-bs2__item,
	.bh-bs2__item--image-right {
		flex-direction: column;
	}

	.bh-bs2__media {
		aspect-ratio: 16 / 10;
		flex: 0 0 auto;
		max-width: 100%;
		min-height: 220px;
		width: 100%;
	}

	.bh-bs2__content {
		padding: 4px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bh-bs2__item {
		transition: none;
	}

	.bh-bs2__item:hover {
		transform: none;
	}

	.bh-bs2__link {
		transition: none;
	}
}
