/* Founders Hero Banner — structural layout only.
   Colors, typography, spacing values are controlled per-widget instance
   via Elementor's Style tab (see class-founders-hero-banner.php selectors). */

.fhb-hero,
.fhb-hero * {
	box-sizing: border-box;
}

/* Reset host-theme heading/paragraph/link defaults so the widget always
   renders at its own intended sizes, regardless of theme global styles. */
.fhb-hero h2,
.fhb-hero h3,
.fhb-hero p,
.fhb-hero span,
.fhb-hero a {
	margin: 0;
	padding: 0;
	text-transform: none;
	letter-spacing: normal;
}

.fhb-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding: 40px;
}

.fhb-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.fhb-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.fhb-content {
	position: relative;
	z-index: 2;
	max-width: 700px;
	width: 100%;
}

.fhb-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.fhb-eyebrow-line {
	display: inline-block;
	width: 2px;
	height: 16px;
}

.fhb-heading {
	margin: 0 0 28px 0;
	line-height: 1.25;
}

.fhb-heading-line1,
.fhb-heading-line2 {
	display: block;
}

.fhb-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-bottom: 28px;
}

.fhb-card {
	min-width: 0; /* allow grid cells to shrink instead of overflowing */
	padding: 20px;
}

.fhb-card-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.fhb-card-title {
	margin: 0 0 8px 0;
}

.fhb-card-desc {
	margin: 0;
}

.fhb-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.fhb-founder {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.fhb-founder-photo {
	display: block;
	height: auto;
	max-width: 100%;
}

.fhb-founder-badge {
	position: relative;
	margin-top: -30px;
	padding: 10px 16px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
}

.fhb-founder-logo {
	height: 28px;
	width: auto;
	border-radius: 6px;
}

/* Responsive: stack founder photo under content on smaller screens */
@media (max-width: 767px) {
	.fhb-hero {
		flex-direction: column;
		align-items: stretch;
		padding: 28px 20px;
	}
	.fhb-founder {
		position: relative;
		margin-top: 24px;
		align-self: center;
	}
	/* Column count on mobile is handled by the widget's own responsive
	   "Columns" control (defaults to 1 on mobile), not here. */
}
