/* Water Bottle Advisor — Jeremiah Kowalski author profile only. */
.wba-author-profile-page {
	--wba-author-max: 1180px;
	--wba-author-content: 900px;
	margin: 0;
	color: var(--wba-ink);
	background: var(--wba-white);
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.wba-author-profile-page * {
	box-sizing: border-box;
}

.wba-author-profile-page img {
	display: block;
	max-width: 100%;
}

.wba-author-profile-page a {
	color: inherit;
}

.wba-author-profile-page a:focus-visible {
	outline: 3px solid var(--wba-blue);
	outline-offset: 3px;
}

.wba-author-profile-page .wba-author-wrap {
	width: min(calc(100% - 48px), var(--wba-author-max));
	margin-inline: auto;
}

.wba-author-profile-page .wba-author-content {
	width: min(calc(100% - 48px), var(--wba-author-content));
	margin-inline: auto;
}

.wba-author-profile-page .wba-author-hero {
	margin: 0;
	background: #f7fafc;
	border-bottom: 1px solid var(--wba-line);
}

.wba-author-profile-page .wba-author-hero__inner {
	padding: 58px 0 52px;
	text-align: center;
}

.wba-author-profile-page .wba-author-portrait {
	width: 148px;
	height: 148px;
	margin: 0 auto 22px;
	border: 5px solid var(--wba-white);
	border-radius: 50%;
	box-shadow: 0 0 0 1px #dce3ea;
	overflow: hidden;
}

.wba-author-profile-page .wba-author-portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wba-author-profile-page .wba-author-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	color: #0a8ed8;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.wba-author-profile-page .wba-author-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--wba-blue);
	border-radius: 999px;
}

.wba-author-profile-page h1,
.wba-author-profile-page h2 {
	color: var(--wba-navy);
	font-family: var(--wba-font-heading, "IBM Plex Sans", Arial, sans-serif);
	font-weight: 600;
	letter-spacing: -.03em;
}

.wba-author-profile-page h1 {
	margin: 12px 0 7px;
	font-size: clamp(2.8rem, 5vw, 4.1rem);
	line-height: 1.02;
}

.wba-author-profile-page h2 {
	margin: 10px 0 0;
	font-size: clamp(2rem, 3.2vw, 2.75rem);
	line-height: 1.08;
}

.wba-author-profile-page .wba-author-role {
	margin: 0;
	color: #40536a;
	font-size: 1.05rem;
	font-weight: 700;
}

.wba-author-profile-page .wba-author-bio {
	max-width: 770px;
	margin: 19px auto 0;
	color: #506074;
	font-size: 1.04rem;
	line-height: 1.72;
}

.wba-author-profile-page .wba-author-links {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 22px;
}

.wba-author-profile-page .wba-author-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 17px;
	border: 1px solid #b9c5cf;
	border-radius: 999px;
	background: var(--wba-white);
	color: var(--wba-navy);
	font-size: .84rem;
	font-weight: 700;
	text-decoration: none;
}

.wba-author-profile-page .wba-author-link:hover {
	border-color: #93a3b1;
	background: #fbfcfd;
}

.wba-author-profile-page .wba-author-proof-line {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 13px;
	margin: 24px auto 0;
	color: #526174;
	font-size: .85rem;
	font-weight: 600;
}

.wba-author-profile-page .wba-author-proof-line strong {
	color: var(--wba-navy);
	font-weight: 800;
}

.wba-author-profile-page .wba-author-sep {
	color: #aeb8c2;
}

.wba-author-profile-page .wba-author-section {
	margin: 0;
	padding: 68px 0;
	border-bottom: 1px solid var(--wba-line);
}

.wba-author-profile-page .wba-author-section--last {
	border-bottom: 0;
}

.wba-author-profile-page .wba-author-section-intro {
	max-width: 740px;
	margin: 17px 0 0;
	color: var(--wba-muted);
}

.wba-author-profile-page .wba-author-expertise-grid,
.wba-author-profile-page .wba-author-test-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 25px 0 0;
	padding: 0;
	list-style: none;
}

.wba-author-profile-page .wba-author-expertise-grid {
	gap: 10px 32px;
}

.wba-author-profile-page .wba-author-test-list {
	gap: 9px 30px;
	margin-top: 22px;
	color: #4d5e71;
}

.wba-author-profile-page .wba-author-expertise-grid li,
.wba-author-profile-page .wba-author-test-list li {
	position: relative;
	padding-left: 18px;
	font-size: .94rem;
}

.wba-author-profile-page .wba-author-expertise-grid li {
	color: #44566a;
}

.wba-author-profile-page .wba-author-expertise-grid li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .72em;
	width: 7px;
	height: 2px;
	background: var(--wba-blue);
	border-radius: 999px;
}

.wba-author-profile-page .wba-author-test-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .69em;
	width: 6px;
	height: 6px;
	background: #0a8ed8;
	border-radius: 50%;
}

.wba-author-profile-page .wba-author-baseline {
	margin-top: 28px;
	padding: 18px 20px;
	border-left: 3px solid var(--wba-blue);
	border-radius: 0 12px 12px 0;
	background: #f1f7fb;
	color: #4c5c6e;
}

.wba-author-profile-page .wba-author-baseline p {
	margin: 0;
}

.wba-author-profile-page .wba-author-baseline strong {
	color: var(--wba-navy);
}

.wba-author-profile-page .wba-author-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 27px;
}

.wba-author-profile-page .wba-author-photo-card {
	margin: 0;
}

.wba-author-profile-page .wba-author-photo-frame {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--wba-line);
	border-radius: 16px;
	background: var(--wba-paper);
}

.wba-author-profile-page .wba-author-photo-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wba-author-profile-page .wba-author-photo-card figcaption {
	padding: 9px 2px 0;
	color: var(--wba-muted);
	font-size: .79rem;
	line-height: 1.45;
}

.wba-author-profile-page .wba-author-method-line {
	margin-top: 27px;
	padding-top: 20px;
	border-top: 1px solid var(--wba-line);
	color: var(--wba-muted);
	font-size: .94rem;
}

.wba-author-profile-page .wba-author-method-line p {
	margin: 0;
}

.wba-author-profile-page .wba-author-text-link {
	color: #0a8ed8;
	font-weight: 800;
	text-decoration: none;
}

.wba-author-profile-page .wba-author-text-link:hover {
	text-decoration: underline;
}

.wba-author-profile-page .wba-author-article-list {
	margin-top: 25px;
	border-top: 1px solid var(--wba-line);
}

.wba-author-profile-page .wba-author-article-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 22px;
	padding: 18px 2px;
	border-bottom: 1px solid var(--wba-line);
	text-decoration: none;
}

.wba-author-profile-page .wba-author-article-row:hover .wba-author-article-title {
	color: #0a8ed8;
}

.wba-author-profile-page .wba-author-article-title {
	display: block;
	color: var(--wba-navy);
	font-size: .96rem;
	font-weight: 800;
	line-height: 1.38;
	transition: color .15s ease;
}

.wba-author-profile-page .wba-author-article-meta {
	display: block;
	margin-top: 4px;
	color: var(--wba-muted);
	font-size: .78rem;
	line-height: 1.45;
}

.wba-author-profile-page .wba-author-arrow {
	color: #0a8ed8;
	font-size: 1.15rem;
	font-weight: 800;
}

.wba-author-profile-page .wba-author-all-work {
	display: inline-block;
	margin-top: 18px;
}

@media (max-width: 820px) {
	.wba-author-profile-page .wba-author-photo-grid {
		grid-template-columns: 1fr 1fr;
	}

	.wba-author-profile-page .wba-author-photo-card:last-child {
		grid-column: 1 / -1;
	}

	.wba-author-profile-page .wba-author-photo-card:last-child .wba-author-photo-frame {
		aspect-ratio: 16 / 7;
	}
}

@media (max-width: 600px) {
	.wba-author-profile-page .wba-author-wrap,
	.wba-author-profile-page .wba-author-content {
		width: min(calc(100% - 32px), var(--wba-author-max));
	}

	.wba-author-profile-page .wba-author-hero__inner {
		padding: 38px 0 40px;
	}

	.wba-author-profile-page .wba-author-portrait {
		width: 132px;
		height: 132px;
		margin-bottom: 20px;
	}

	.wba-author-profile-page h1 {
		font-size: 2.55rem;
	}

	.wba-author-profile-page .wba-author-role {
		font-size: .96rem;
		line-height: 1.45;
	}

	.wba-author-profile-page .wba-author-bio {
		margin-top: 16px;
		font-size: .95rem;
		line-height: 1.68;
	}

	.wba-author-profile-page .wba-author-links {
		margin-top: 19px;
	}

	.wba-author-profile-page .wba-author-proof-line {
		gap: 5px 8px;
		margin-top: 20px;
		font-size: .78rem;
	}

	.wba-author-profile-page .wba-author-sep {
		display: none;
	}

	.wba-author-profile-page .wba-author-proof-line span:not(.wba-author-sep) {
		flex: 0 0 100%;
	}

	.wba-author-profile-page .wba-author-section {
		padding: 52px 0;
	}

	.wba-author-profile-page h2 {
		font-size: 2.05rem;
	}

	.wba-author-profile-page .wba-author-section-intro {
		font-size: .93rem;
	}

	.wba-author-profile-page .wba-author-expertise-grid,
	.wba-author-profile-page .wba-author-test-list {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.wba-author-profile-page .wba-author-baseline {
		margin-top: 24px;
		padding: 17px;
		font-size: .9rem;
	}

	.wba-author-profile-page .wba-author-photo-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.wba-author-profile-page .wba-author-photo-card:last-child {
		grid-column: 1 / -1;
	}

	.wba-author-profile-page .wba-author-photo-card:last-child .wba-author-photo-frame {
		aspect-ratio: 16 / 7;
	}

	.wba-author-profile-page .wba-author-photo-card figcaption {
		padding-top: 7px;
		font-size: .77rem;
	}

	.wba-author-profile-page .wba-author-method-line {
		font-size: .9rem;
	}

	.wba-author-profile-page .wba-author-article-row {
		gap: 14px;
		padding: 16px 0;
	}

	.wba-author-profile-page .wba-author-article-title {
		font-size: .91rem;
	}

	.wba-author-profile-page .wba-author-article-meta {
		font-size: .74rem;
	}
}
