/*
 * Author-bio page styles — concatenation of the five about-author-* blocks'
 * style.css, in the order author.php composes them (hero, bio, expertise,
 * trust, cta). Verbatim WP CSS; the components render the same class names.
 */

.about-author-hero {
	background: var(--primaryBlue2);
	color: #fff;
	padding: 4rem 0;
}

.about-author-hero__container.grid-container {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	flex-wrap: wrap;
}

.about-author-hero__photo-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
}

.about-author-hero__photo {
	position: relative;
	width: 10rem;
	height: 10rem;
	border-radius: 50%;
	border: 4px solid var(--accentOrange);
	background: var(--primaryBlue1);
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-author-hero__photo img.avatar,
.about-author-hero__photo > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

.about-author-hero__social-link {
	position: absolute;
	bottom: 0;
	left: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: #0a66c2;
	color: #fff;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease, opacity 0.2s ease;
	z-index: 1;
}

.about-author-hero__social-link:hover {
	transform: scale(1.08);
	opacity: 0.95;
	text-decoration: none;
}

.about-author-hero__social-link img {
	width: 1.125rem;
	height: 1.125rem;
	filter: brightness(0) invert(1);
}

.about-author-hero__info {
	flex: 1;
	min-width: 15rem;
}

.about-author-hero__name {
	color: #fff;
	margin: 0 0 0.5rem;
}

.about-author-hero__title {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 1rem;
}

.about-author-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.about-author-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.3rem 0.875rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	letter-spacing: 0.02em;
}

.about-author-hero__badge--accent {
	background: var(--accentOrange);
	border-color: var(--accentOrange);
	color: #fff;
}

.about-author-hero__badge img {
	width: 0.875rem;
	height: 0.875rem;
	display: inline-block;
	filter: brightness(0) invert(1);
}

.about-author-hero__back-wrap {
	background: #fff;
	padding: 1.25rem 0 0;
}

.about-author-hero__back-inner.grid-container {
	display: flex;
}

.about-author-hero__back {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #5a5a5a;
	text-decoration: none;
	width: fit-content;
}

.about-author-hero__back::before {
	content: "←";
	font-size: 1rem;
	line-height: 1;
}

.about-author-hero__back:hover {
	color: var(--primaryBlue2);
}

@media (max-width: 600px) {
	.about-author-hero {
		padding: 3rem 0;
	}
	.about-author-hero__container.grid-container {
		flex-direction: column;
		text-align: center;
		gap: 1.5rem;
	}
	.about-author-hero__badges {
		justify-content: center;
	}
	.about-author-hero__photo {
		width: 8rem;
		height: 8rem;
	}
	.about-author-hero__title {
		font-size: 1rem;
	}
}
.about-author-bio {
	background: #fff;
	padding: 4rem 0;
}

.about-author-bio__container.grid-container {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.about-author-bio__heading {
	color: var(--primaryBlue2);
	padding-bottom: 0.5rem;
	border-bottom: 3px solid var(--accentOrange);
	display: inline-block;
	align-self: flex-start;
	margin: 0;
}

.about-author-bio__body p {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: #1e1e1e;
	margin: 0 0 1rem;
}

.about-author-bio__body p:last-child {
	margin-bottom: 0;
}

.about-author-bio__body strong {
	color: var(--primaryBlue2);
}

.about-author-bio__quote {
	position: relative;
	margin: 1.25rem 0 0;
	padding: 2.75rem 2rem 2.75rem 5rem;
	border-left: 6px solid var(--accentOrange);
	background: #f0f0f0;
	border-radius: 0 0.5rem 0.5rem 0;
}

.about-author-bio__quote::before {
	content: "\201C";
	position: absolute;
	top: -1rem;
	left: 1rem;
	font-size: 8rem;
	line-height: 1;
	color: var(--accentOrange);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	pointer-events: none;
}

.about-author-bio__quote::after {
	content: "\201D";
	position: absolute;
	bottom: -3.5rem;
	right: 1.25rem;
	font-size: 8rem;
	line-height: 1;
	color: var(--accentOrange);
	opacity: 0.35;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	pointer-events: none;
}

.about-author-bio__quote p {
	margin: 0;
	font-style: italic;
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--primaryBlue1);
	position: relative;
	z-index: 1;
}

@media (max-width: 600px) {
	.about-author-bio__quote {
		padding: 2rem 1.25rem 2rem 3rem;
	}
	.about-author-bio__quote::before {
		font-size: 5.5rem;
		top: -0.25rem;
		left: 0.5rem;
	}
	.about-author-bio__quote::after {
		font-size: 5.5rem;
		bottom: -2.25rem;
	}
}

@media (max-width: 600px) {
	.about-author-bio {
		padding: 3rem 0;
	}
	.about-author-bio__body p {
		font-size: 1rem;
	}
}
.about-author-expertise {
	background: #e4f3ff;
	padding: 4rem 0;
}

.about-author-expertise__container.grid-container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.about-author-expertise__heading {
	color: var(--primaryBlue2);
	padding-bottom: 0.5rem;
	border-bottom: 3px solid var(--accentOrange);
	display: inline-block;
	align-self: flex-start;
	margin: 0;
}

.about-author-expertise__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

.about-author-expertise__card {
	background: #fff;
	border: 1px solid var(--primaryGray);
	border-radius: 0.5rem;
	padding: 1.5rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.about-author-expertise__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 0.25rem;
}

.about-author-expertise__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.about-author-expertise__card-title {
	color: var(--primaryBlue2);
	margin: 0;
}

.about-author-expertise__card-desc {
	color: #1b1b1f;
	font-size: 0.9375rem;
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 600px) {
	.about-author-expertise {
		padding: 3rem 0;
	}
	.about-author-expertise__grid {
		grid-template-columns: 1fr;
	}
}
.about-author-trust {
	background: #fff;
	padding: 4rem 0;
}

.about-author-trust__container.grid-container {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.about-author-trust__heading {
	color: var(--primaryBlue2);
	padding-bottom: 0.5rem;
	border-bottom: 3px solid var(--accentOrange);
	display: inline-block;
	align-self: flex-start;
	margin: 0;
}

.about-author-trust__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 2rem;
	row-gap: 1.5rem;
}

.about-author-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	font-size: 1.125rem;
	line-height: 1.5;
	color: #1b1b1f;
	font-weight: 500;
}

.about-author-trust__item img {
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	margin-top: 0.0625rem;
}

.about-author-markets {
	background: #e4f3ff;
	padding: 4rem 0;
}

.about-author-markets__container.grid-container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.about-author-markets__heading {
	color: var(--primaryBlue2);
	padding-bottom: 0.5rem;
	border-bottom: 3px solid var(--accentOrange);
	display: inline-block;
	align-self: flex-start;
	margin: 0;
}

.about-author-markets__intro {
	color: #1b1b1f;
	font-size: 1.25rem;
	line-height: 1.5;
	margin: 0;
}

.about-author-markets__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.25rem;
}

/* 5 pills per row as a base — wraps to additional rows when there are more.
   Fixed width (no grow): (100% - 4*gap) / 5 = the width of one of five
   equal items. Trailing rows with <5 items align left instead of stretching. */
.about-author-markets__pill {
	flex: 0 1 calc((100% - 4 * 0.5rem) / 5);
	min-width: 0;
	background: var(--primaryBlue2);
	color: #fff;
	padding: 0.375rem 1rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 600px) {
	/* On mobile, fall back to content-width pills that wrap naturally —
	   long city names + state suffix don't fit 5-across at this width. */
	.about-author-markets__pill {
		flex: 0 0 auto;
	}
}

@media (max-width: 768px) {
	.about-author-trust__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.about-author-trust,
	.about-author-markets {
		padding: 3rem 0;
	}
	.about-author-trust__container.grid-container {
		gap: 1.5rem;
	}
	.about-author-trust__list {
		grid-template-columns: 1fr;
		row-gap: 1rem;
	}
	.about-author-trust__item {
		font-size: 1.0625rem;
	}
	.about-author-markets__intro {
		font-size: 1.125rem;
	}
}
.about-author-cta {
	background: var(--primaryBlue2);
	color: #fff;
	padding: 4rem 0;
	text-align: center;
}

.about-author-cta__container.grid-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.about-author-cta__heading {
	color: #fff;
	margin: 0;
}

.about-author-cta__subtext {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.0625rem;
	max-width: 34rem;
	margin: 0 auto;
	line-height: 1.55;
}

.about-author-cta__button {
	display: inline-block;
	background: var(--secondaryGreen);
	color: #fff;
	font-size: 1.0625rem;
	font-weight: 700;
	padding: 0.9rem 2.25rem;
	border-radius: 0.5rem;
	text-decoration: none;
	margin-top: 0.5rem;
	transition: background 0.2s ease, transform 0.15s ease;
}

.about-author-cta__button:hover {
	background: #008f30;
	transform: translateY(-1px);
	text-decoration: none;
}

.about-author-cta__form-line {
	margin: 0.75rem 0 0;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.8);
}

.about-author-cta__form-line a {
	color: var(--accentOrange);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.about-author-cta__form-line a:hover {
	color: #fff;
}

@media (max-width: 600px) {
	.about-author-cta {
		padding: 3rem 0;
	}
	.about-author-cta__subtext {
		font-size: 1rem;
	}
}
