.cg-author-hero {
	--cg-author-hero-accent: #b4202a;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	background: #f1f1f1;
	padding: 18px 0 24px;
	position: relative;
}

.cg-author-hero::before {
	content: "";
	display: block;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, rgba(180, 32, 42, 0.12) 0%, rgba(180, 32, 42, 0.58) 46%, rgba(180, 32, 42, 0.12) 100%);
}

.cg-author-hero__inner {
	max-width: 1280px;
	width: 100%;
	margin: 12px auto 0;
	background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
	border: 1px solid #e8e8e8;
	border-radius: 18px;
	overflow: hidden;
	box-shadow:
		0 10px 30px rgba(0, 0, 0, 0.05),
		inset 0 1px 0 rgba(255, 255, 255, 0.7);
	padding: 24px 22px;
}

.cg-author-hero__card {
	display: grid;
	grid-template-columns: 158px minmax(0, 1fr);
	gap: 22px;
	align-items: center;
}

.cg-author-hero__avatar-wrap {
	display: flex;
	justify-content: center;
}

.cg-author-hero__avatar {
	width: 136px;
	height: 136px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #f7f7f7;
	box-shadow:
		0 8px 18px rgba(0, 0, 0, 0.08),
		0 0 0 1px rgba(0, 0, 0, 0.03);
}

.cg-author-hero__title {
	margin: 0;
	font-size: clamp(1.45rem, 2.2vw, 2.1rem);
	line-height: 1.14;
	letter-spacing: -0.02em;
	color: #181818;
	padding-left: 12px;
	border-left: 4px solid var(--cg-author-hero-accent);
}

.cg-author-hero__bio {
	margin: 12px 0 0;
	font-size: 0.96rem;
	line-height: 1.62;
	color: #4f4f4f;
	max-width: 860px;
}

.cg-author-hero__contacts {
	margin-top: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border: 1px solid #ececec;
	border-radius: 999px;
	background: #fff;
}

.cg-author-hero__contact-link {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--cg-author-hero-accent) 28%, #d5d5d5);
	color: color-mix(in srgb, var(--cg-author-hero-accent) 85%, #2d2d2d);
	text-decoration: none;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cg-author-hero__contact-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.cg-author-hero__contact-link svg {
	width: 16px;
	height: 16px;
	display: block;
}

.cg-author-hero__empty {
	margin: 0;
	font-size: 0.95rem;
	color: #626262;
}

@media (max-width: 900px) {
	.cg-author-hero {
		padding: 12px 12px 20px;
	}

	.cg-author-hero__inner {
		margin-top: 8px;
		padding: 18px 16px;
		border-radius: 16px;
	}

	.cg-author-hero__card {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 16px;
	}

	.cg-author-hero__title {
		padding-left: 0;
		border-left: 0;
	}

	.cg-author-hero__bio {
		max-width: 100%;
		margin-top: 10px;
	}

	.cg-author-hero__contacts {
		justify-content: center;
		flex-wrap: wrap;
	}
}
