/* Linked single-post contributor byline. */
.article-byline.go-article-author {
	margin: 10px 0 0;
	font-size: 17px;
	line-height: 1.5;
	text-align: center;
}

.go-article-author-link {
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

/* Contributor profile article section. */
.go-contributor-posts {
	clear: both;
	margin-top: clamp(2.25rem, 5vw, 4rem);
}

.go-contributor-posts-heading {
	margin: 0 0 1.4rem;
}

.go-contributor-post-list {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

/* One narrow-column card per row: text left, image right. */
.go-contributor-post-card {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	margin: 0;
	background: #fff;
	border: 1px solid #d8e5e7;
	border-radius: 18px;
	box-shadow: 0 9px 24px rgba(23, 54, 77, 0.07);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.go-contributor-post-card:hover {
	border-color: #c7dadd;
	box-shadow: 0 16px 36px rgba(23, 54, 77, 0.12);
	transform: translateY(-2px);
}

.go-contributor-post-card-content {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	padding: 1.25rem 1.4rem;
}

.go-contributor-post-title {
	margin: 0 0 0.65rem;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 700;
	line-height: 1.25;
}

.go-contributor-post-title a {
	color: #17364d;
	text-decoration: none;
}

.go-contributor-post-title a:hover,
.go-contributor-post-title a:focus {
	color: #4184ae;
	text-decoration: underline;
	text-decoration-color: #4ca04f;
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
}

.go-contributor-post-excerpt {
	margin: 0;
	color: #344651;
	font-size: 16px;
	line-height: 1.7;
}

.go-contributor-post-image {
	display: block;
	flex: 0 0 clamp(145px, 29%, 205px);
	min-height: 155px;
	overflow: hidden;
	background: #f1f8f5;
}

.go-contributor-post-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease;
}

.go-contributor-post-card:hover .go-contributor-post-image img {
	transform: scale(1.035);
}

@media (max-width: 600px) {
	.go-contributor-post-card {
		flex-direction: column-reverse;
	}

	.go-contributor-post-image {
		flex-basis: auto;
		width: 100%;
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.go-contributor-post-card-content {
		padding: 1.15rem 1.2rem 1.25rem;
	}
}
