/* Web Echo Author Box — scoped styles only. */
.weab-author-box {
	--weab-avatar-size: 96px;
	--weab-bio-font-size: 12px;
	--weab-box-padding: 22px;

	box-sizing: border-box;
	display: flex;
	width: 100%;
	padding: var(--weab-box-padding);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	background: #fff;
	color: inherit;
}

.weab-author-box *,
.weab-author-box *::before,
.weab-author-box *::after {
	box-sizing: border-box;
}

.weab-author-box--layout-column {
	flex-direction: column;
	gap: 14px;
}

.weab-author-box--layout-horizontal {
	flex-direction: row;
	gap: 18px;
	align-items: flex-start;
}

.weab-author-box--align-left {
	text-align: left;
	align-items: flex-start;
}

.weab-author-box--align-center {
	text-align: center;
	align-items: center;
}

.weab-author-box__avatar {
	flex: 0 0 auto;
	width: var(--weab-avatar-size);
	max-width: var(--weab-avatar-size);
}

.weab-author-box--layout-column.weab-author-box--align-center .weab-author-box__avatar {
	margin-right: auto;
	margin-left: auto;
}

.weab-author-box__avatar-img {
	display: block;
	width: var(--weab-avatar-size);
	height: var(--weab-avatar-size);
	max-width: var(--weab-avatar-size);
	border-radius: 50%;
	object-fit: cover;
}

.weab-author-box__content {
	min-width: 0;
	width: 100%;
	flex: 1 1 auto;
}

.weab-author-box__name {
	margin: 0 0 6px;
	padding: 0;
	font-size: 22px;
	line-height: 1.22;
	font-weight: 700;
}

.weab-author-box__position {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 500;
	opacity: 0.86;
}

.weab-author-box__bio {
	font-size: var(--weab-bio-font-size);
	line-height: 1.65;
}

.weab-author-box__bio p {
	margin: 0 0 10px;
	font-size: inherit;
	line-height: inherit;
}

.weab-author-box__bio p:last-child {
	margin-bottom: 0;
}

.weab-author-box__buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	margin-top: 16px;
}

.weab-author-box__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	padding: 10px 15px;
	border: 1px solid #1f2933;
	border-radius: 999px;
	background: #1f2933;
	color: #fff;
	font-size: 13px;
	line-height: 1.2;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.weab-author-box__button--posts {
	background: transparent;
	color: #1f2933;
}

.weab-author-box__button:hover,
.weab-author-box__button:focus {
	color: #fff;
	text-decoration: none;
	opacity: 0.9;
	transform: translateY(-1px);
}

.weab-author-box__button--posts:hover,
.weab-author-box__button--posts:focus {
	background: #1f2933;
	color: #fff;
}

.weab-author-box--align-center .weab-author-box__buttons {
	align-items: center;
}

@media (max-width: 767px) {
	.weab-author-box {
		border-radius: 12px;
	}

	.weab-author-box--layout-horizontal {
		flex-direction: column;
	}

	.weab-author-box__name {
		font-size: 20px;
	}
}
