/**
 * FenceWisePro - About page sections
 * Page banner and Team.
 * Our Story, Why Choose Us, How We Work, Testimonials and the Request band
 * reuse the home page styles in home.css, since those template parts are
 * shared across more than one page template.
 */

/* ==========================================================================
   1. Page banner
   ========================================================================== */

.fwp-about-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 420px;
	overflow: hidden;
	background: var(--fwp-ink);
}

.fwp-about-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fwp-about-hero__overlay {
	position: absolute;
	inset: 0;
	background: var(--fwp-overlay-hero);
}

.fwp-about-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-block: var(--fwp-space-16);
	text-align: center;
}

.fwp-about-hero__breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--fwp-space-2);
	margin-bottom: var(--fwp-space-4);
	color: var(--fwp-on-dark-70);
	font-size: var(--fwp-fs-sm);
}

.fwp-about-hero__breadcrumb a {
	color: var(--fwp-on-dark-80);
}

.fwp-about-hero__breadcrumb a:hover {
	color: var(--fwp-white);
}

.fwp-about-hero__breadcrumb [aria-current="page"] {
	color: var(--fwp-white);
	font-weight: var(--fwp-fw-medium);
}

.fwp-about-hero .fwp-eyebrow {
	justify-content: center;
}

.fwp-about-hero__title {
	margin-bottom: var(--fwp-space-4);
	color: var(--fwp-white);
	font-size: var(--fwp-fs-h1);
}

.fwp-about-hero__text {
	max-width: 640px;
	margin: 0 auto;
	color: var(--fwp-on-dark-80);
	font-size: var(--fwp-fs-lead);
}

/* ==========================================================================
   2. Team
   ========================================================================== */

.fwp-team__grid {
	display: grid;
	gap: var(--fwp-space-6);
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
	.fwp-team__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	.fwp-team__grid {
		grid-template-columns: 1fr;
	}
}

.fwp-team-card {
	text-align: center;
}

.fwp-team-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	margin-bottom: var(--fwp-space-4);
	overflow: hidden;
	border-radius: var(--fwp-radius-lg);
	background: var(--fwp-grey-100);
}

.fwp-team-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fwp-team-card__avatar-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--fwp-grey-300);
}

.fwp-team-card__name {
	margin-bottom: 2px;
	font-size: var(--fwp-fs-h5);
}

.fwp-team-card__role {
	margin: 0;
	color: var(--fwp-orange);
	font-size: var(--fwp-fs-sm);
	font-weight: var(--fwp-fw-medium);
}
