/* Founder Widget — frontend */

.fw-founder-widget .fw-founder {
	display: block;
	margin: 0;
	padding: 0;
}

.fw-founder-widget .fw-founder-image {
	display: block;
	width: 100%;
	max-width: 300px;
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
	border-radius: 10px;
	/* Center horizontally in containers wider than 300px (e.g. mobile/tablet
	   sidebars that stack full-width below the main content). */
	margin: 0 auto 14px;
}

.fw-founder-widget .fw-founder-bio {
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
	/* Cap reading width so the bio stays legible when the sidebar goes
	   full-width on mobile. */
	max-width: 60ch;
	margin-left: auto;
	margin-right: auto;
}

.fw-founder-widget .fw-founder-bio p {
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 0.9em;
}

.fw-founder-widget .fw-founder-bio p:last-child {
	margin-bottom: 0;
}

/* Tablet: the image already shrinks via width: 100%; just tighten spacing. */
@media (max-width: 782px) {
	.fw-founder-widget .fw-founder-image {
		margin-bottom: 12px;
	}
}

/* Phone: pull the image in a bit so it doesn't dominate small screens. */
@media (max-width: 480px) {
	.fw-founder-widget .fw-founder-image {
		max-width: 240px;
		border-radius: 8px;
	}
	.fw-founder-widget .fw-founder-bio,
	.fw-founder-widget .fw-founder-bio p {
		line-height: 1.55;
	}
}
