/* Brave Ronil — Ways to Help.
   Figma: 5602:18464 (desktop), 5602:18933 (tablet), 5014:12027 (mobile).
   Card stack; the brand-tinted card in the desktop frame is the HOVER state. */
.brb-wh {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: stretch;
	box-sizing: border-box;
}
.brb-wh *,
.brb-wh *::before,
.brb-wh *::after {
	box-sizing: border-box;
}

/* ---- Card ---- */
.brb-wh__card {
	width: 100%;
	background: #f5f5f5;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	gap: 16px;
	align-items: center;
	transition: background 0.3s ease;
}
.brb-wh__card:hover,
.brb-wh__card:focus-within {
	background: #f1fcf3;
}
.brb-wh__row {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

/* Icon chip — 6px vertical padding keeps it optically centred on the title */
.brb-wh__chip-wrap {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	padding: 6px 0;
}
.brb-wh__chip {
	background: #ffffff;
	border-radius: 12px;
	padding: 16px;
	display: flex;
	align-items: center;
	transition: background 0.3s ease;
}
.brb-wh__card:hover .brb-wh__chip,
.brb-wh__card:focus-within .brb-wh__chip {
	background: #defae3;
}
.brb-wh__icon {
	display: block;
	width: 20px;
	height: 20px;
	overflow: hidden;
}
.brb-wh__icon img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
}

/* ---- Text ---- */
.brb-wh__text {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
	word-break: break-word;
}
.brb-wh .brb-wh__title {
	margin: 0;
	width: 100%;
	font-family: "Bitter", serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 32px;
	letter-spacing: -0.48px;
	color: #181d27;
}
.brb-wh .brb-wh__desc {
	margin: 0;
	width: 100%;
	font-family: "Inter Tight", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #414651;
}
.brb-wh .brb-wh__link {
	display: inline-block;
	font-family: "Inter Tight", sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	color: #219839;
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.brb-wh a.brb-wh__link:hover,
.brb-wh a.brb-wh__link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.brb-wh a.brb-wh__link:focus-visible {
	outline: 2px solid #219839;
	outline-offset: 3px;
	border-radius: 2px;
}

/* ---- Tablet + mobile (Figma 5602:18933 / 5014:12027 — same spec) ---- */
@media (max-width: 1024px) {
	.brb-wh__card {
		padding: 16px;
	}
	.brb-wh__row {
		gap: 16px;
	}
	.brb-wh__chip {
		padding: 12px;
	}
	.brb-wh__icon {
		width: 16px;
		height: 16px;
	}
	.brb-wh__text {
		gap: 4px;
	}
	.brb-wh .brb-wh__title {
		font-size: 18px;
		line-height: 28px;
		letter-spacing: 0;
	}
	.brb-wh .brb-wh__desc {
		font-size: 14px;
		line-height: 20px;
	}
}

/* Touch devices have no hover — keep the tint off so cards don't stick tinted */
@media (hover: none) {
	.brb-wh__card:hover {
		background: #f5f5f5;
	}
	.brb-wh__card:hover .brb-wh__chip {
		background: #ffffff;
	}
}

@media (prefers-reduced-motion: reduce) {
	.brb-wh__card,
	.brb-wh__chip,
	.brb-wh .brb-wh__link {
		transition: none;
	}
}
