/* Author byline and "About the author" box on blog articles. */

/* Byline row: author on the left, "Back to Blogs" on the right (template #22534). */
.elementor-22534 .elementor-element-50651838 > .e-con-inner:has(.cr-byline) {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 28px;
}

.cr-byline {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

.cr-avatar {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--e-global-color-187db49);
}

.cr-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cr-avatar--initials {
	background: linear-gradient(225deg, var(--e-global-color-3e59737) 0%, var(--e-global-color-primary) 100%);
	color: #fff;
	font-weight: 600;
	font-size: 17px;
	letter-spacing: 0.5px;
}

.cr-byline__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 20px;
}

.cr-byline .cr-byline__name {
	font-size: 16px;
	font-weight: 600;
	color: var(--e-global-color-daf48c3);
	text-decoration: none;
	border: 0;
}

.cr-byline .cr-byline__name:hover {
	color: var(--e-global-color-primary);
}

.cr-byline__meta {
	font-size: 14px;
	color: var(--e-global-color-text);
}

.cr-byline__meta span + span::before {
	content: "\00B7";
	margin: 0 6px;
}

/* About the author */
.cr-author-box {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	margin-top: 48px;
	padding: 32px 0 0;
	border-top: 1px solid var(--e-global-color-187db49);
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

.cr-author-box .cr-avatar {
	width: 96px;
	height: 96px;
}

.cr-author-box .cr-avatar--initials {
	font-size: 28px;
}

.cr-author-box__label {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--e-global-color-primary);
}

.cr-author-box .cr-author-box__name {
	margin: 0;
	font-size: 22px;
	line-height: 28px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--e-global-color-daf48c3);
}

.cr-author-box__role {
	margin: 2px 0 12px;
	font-size: 16px;
	color: var(--e-global-color-text);
}

.cr-author-box__bio,
.cr-author-box__bio p {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	color: var(--e-global-color-text);
}

.cr-author-box__bio p + p {
	margin-top: 8px;
}

.cr-author-box .cr-author-box__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--e-global-color-primary);
	text-decoration: none;
	border: 0;
}

/* Author archive: profile card above the post grid */
.cr-author-box--intro {
	margin: 0 0 56px;
	padding: 40px;
	border-top: 0;
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.cr-author-box--intro .cr-avatar {
	width: 120px;
	height: 120px;
	flex-shrink: 0;
}

.cr-author-articles-title {
	margin: 0 0 30px;
	font-size: 36px;
	line-height: 44px;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	color: var(--e-global-color-daf48c3);
}

@media (max-width: 767px) {
	.cr-author-box--intro {
		margin-bottom: 40px;
		padding: 24px;
	}

	.cr-author-articles-title {
		font-size: 28px;
		line-height: 34px;
	}

	.elementor-22534 .elementor-element-50651838 > .e-con-inner:has(.cr-byline) {
		flex-direction: column;
		align-items: center;
	}

	.cr-author-box {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 16px;
	}
}
