/*
 * Article byline and author box. Scoped to .vh-byline / .vh-author; loads on single posts only.
 */

.vh-byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 28px;
	padding: 0 0 18px;
	border-bottom: 1px solid #eae2d8;
}

.vh-byline .vh-byline__avatar {
	flex: none;
	width: 40px;
	height: 40px;
	margin: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px #b99a5a;
}

.vh-byline .vh-byline__text {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 0;
	font-size: .9375rem;
	line-height: 1.5;
	color: #746c65;
}

.vh-byline .vh-byline__by {
	font-size: .8125rem;
}

.vh-byline .vh-byline__name {
	font-weight: 700;
	color: #681c2b;
	text-decoration: none;
}

.vh-byline .vh-byline__name:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vh-byline .vh-byline__dates {
	flex-basis: 100%;
	font-size: .8125rem;
}

.vh-author {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin: 48px 0 24px;
	padding: 24px;
	border: 1px solid #eae2d8;
	border-left: 4px solid #681c2b;
	border-radius: 12px;
	background: #fff9f0;
}

.vh-author .vh-author__avatar {
	flex: none;
	width: 88px;
	height: 88px;
	margin: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 3px #fff, 0 0 0 4px #b99a5a;
}

.vh-author .vh-author__body > * {
	margin: 0;
}

.vh-author .vh-author__label {
	font-size: .8125rem;
	font-weight: 600;
	color: #746c65;
}

.vh-author .vh-author__name {
	margin-top: 2px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
	color: #681c2b;
}

.vh-author .vh-author__bio {
	margin-top: 8px;
	font-size: .9375rem;
	line-height: 1.75;
	color: #292521;
}

.vh-author .vh-author__link {
	display: inline-block;
	margin-top: 12px;
	font-size: .9375rem;
	font-weight: 600;
	color: #681c2b;
	text-decoration: none;
}

.vh-author .vh-author__link:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.vh-byline a:focus-visible,
.vh-author a:focus-visible {
	outline: 2px solid #681c2b;
	outline-offset: 3px;
	border-radius: 4px;
}

/* Colourful version, with "रंगीन डिज़ाइन" on. */

body.vh-vibrant .vh-author {
	border: 0;
	border-top: 4px solid #d97724;
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(217, 119, 36, .16) 0%, rgba(217, 119, 36, 0) 70%),
		linear-gradient(135deg, #fdecd9 0%, #fff9f0 100%);
	box-shadow: 0 12px 30px -20px rgba(104, 28, 43, .45);
}

body.vh-vibrant .vh-byline .vh-byline__avatar,
body.vh-vibrant .vh-author .vh-author__avatar {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d97724;
}

@media (max-width: 600px) {
	.vh-author {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 20px 18px;
	}

	.vh-author .vh-author__avatar {
		width: 72px;
		height: 72px;
	}
}
