/* ==========================================================================
   ARTICLE AUTHOR  [decode_post_meta]  [decode_author_box]  [decode_author_profile]
   The byline above a project article, the "About the author" box under it,
   and the author's own page (/authors/name/).
   Markup: mu-plugins/decode-components/decode-author.php
   ========================================================================== */

/* -- Byline -------------------------------------------------------------------- */
.fl-builder-content .dc-post-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
	margin: 0 0 26px; padding: 0 0 18px;
	border-bottom: 1px solid color-mix(in srgb, var(--fl-global-navy, #04213b) 14%, transparent);
	font-family: "Manrope", sans-serif;
	font-size: 12px; font-weight: 600; line-height: 1.5;
	letter-spacing: .2em; text-transform: uppercase;
	color: #6b7780;
}
.fl-builder-content .dc-post-meta a { color: var(--fl-global-navy, #04213b); text-decoration: none; border-bottom: 1px solid var(--fl-global-orange, #f7961e); }
.fl-builder-content .dc-post-meta a:hover { color: var(--fl-global-orange-dark, #f1592a); }
.fl-builder-content .dc-post-meta__by + time::before { content: '/'; margin-right: 14px; color: #b9c0c6; }

/* -- Author box ---------------------------------------------------------------- */
.dc-author {
	--dc-ink: var(--fl-global-navy, #04213b);
	position: relative;
	display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 34px;
	margin: 46px 0 0; padding: 34px 38px 32px 34px;
	background: #f3f4f6;
	scroll-margin-top: 120px;
}
.dc-author, .dc-author * { box-sizing: border-box; }
.dc-author::before {
	content: '';
	position: absolute; left: 0; right: 0; top: 0; height: 3px;
	background: linear-gradient(90deg, var(--fl-global-orange-dark, #f1592a), var(--fl-global-orange, #f7961e));
}
.dc-author__photo { display: block; align-self: start; aspect-ratio: 1; background: #e3e6ea; overflow: hidden; }
.dc-author .dc-author__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center top; border-radius: 0 !important; }
.dc-author .dc-author__eyebrow {
	margin: 0 0 10px;
	font-family: "Manrope", sans-serif;
	font-size: 12px; font-weight: 600; line-height: 1.4;
	letter-spacing: .26em; text-transform: uppercase;
	color: var(--fl-global-orange-dark, #f1592a);
}
.dc-author .dc-author__name {
	margin: 0;
	font-family: "Khand", "Arial Narrow", sans-serif;
	font-size: 30px; font-weight: 600; line-height: 1.05; letter-spacing: 0;
	text-transform: uppercase;
	color: var(--dc-ink);
}
.dc-author .dc-author__name a { color: inherit; text-decoration: none; }
.dc-author .dc-author__name a:hover { color: var(--fl-global-orange-dark, #f1592a); }
.dc-author .dc-author__role {
	margin: 6px 0 0;
	font-family: "Manrope", sans-serif;
	font-size: 14px; font-weight: 600; line-height: 1.5;
	color: var(--dc-ink);
}
.dc-author .dc-author__bio { max-width: 820px; margin: 14px 0 0; }
.dc-author .dc-author__bio,
.dc-author .dc-author__bio p {
	font-family: "Manrope", sans-serif;
	font-size: 15px; font-weight: 400; line-height: 1.7;
	color: #3b4a55;
}
.dc-author .dc-author__bio p { margin: 0 0 10px; }
.dc-author .dc-author__bio > :last-child { margin-bottom: 0; }
.dc-author .dc-author__links { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 18px 0 0; }
a.dc-author__link {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: "Khand", "Arial Narrow", sans-serif;
	font-size: 17px; font-weight: 600; line-height: 1;
	letter-spacing: .06em; text-transform: uppercase;
	color: var(--fl-global-navy, #04213b);
	text-decoration: none;
}
a.dc-author__link svg { flex: 0 0 auto; width: 17px; height: 17px; color: var(--fl-global-orange-dark, #f1592a); }
a.dc-author__link:hover { color: var(--fl-global-orange-dark, #f1592a); text-decoration: none; }
/* In the author box the LinkedIn link is plain text, with no icon */
.dc-author a.dc-author__link[rel~="me"] svg { display: none; }
.dc-author a.dc-author__link[rel~="me"] { border-bottom: 2px solid var(--fl-global-orange, #f7961e); padding-bottom: 3px; }

/* -- Author page ----------------------------------------------------------------- */
.dc-author-profile { --dc-ink: var(--fl-global-navy, #04213b); }
.dc-author-profile, .dc-author-profile * { box-sizing: border-box; }
.dc-author-profile__top {
	display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 84px);
	align-items: start;
}
.dc-author-profile__photo { aspect-ratio: 4 / 5; background: #e3e6ea; overflow: hidden; }
.dc-author-profile .dc-author-profile__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center top; border-radius: 0 !important; }
.dc-author-profile .dc-author-profile__eyebrow {
	margin: 0 0 16px;
	font-family: "Manrope", sans-serif;
	font-size: 13px; font-weight: 600; line-height: 1.4;
	letter-spacing: .28em; text-transform: uppercase;
	color: var(--dc-ink);
}
.dc-author-profile .dc-author-profile__heading { margin: 0; color: var(--dc-ink); }
.dc-author-profile__rule {
	display: block; width: 64px; height: 5px;
	margin: 22px 0 26px;
	border-top: 2px solid var(--fl-global-orange, #f7961e); border-bottom: 2px solid var(--fl-global-orange, #f7961e);
}
.dc-author-profile .dc-author-profile__bio { max-width: 680px; margin: 0 0 26px; }
.dc-author-profile .dc-author-profile__bio,
.dc-author-profile .dc-author-profile__bio p {
	font-family: "Manrope", sans-serif;
	font-size: 17.5px; font-weight: 400; line-height: 1.75;
	color: #3b4a55;
}
.dc-author-profile .dc-author-profile__bio p { margin: 0 0 14px; }
.dc-author-profile__articles {
	margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(48px, 6vw, 80px);
	border-top: 1px solid color-mix(in srgb, var(--fl-global-navy, #04213b) 14%, transparent);
}
.dc-author-profile__articles .dc-author-profile__rule { margin-bottom: 40px; }

@media (max-width: 767px) {
	.dc-author-profile__top { grid-template-columns: 1fr; }
	.dc-author-profile__photo { max-width: 300px; }
	.dc-author-profile .dc-author-profile__bio, .dc-author-profile .dc-author-profile__bio p { font-size: 16.5px; }
}
@media (max-width: 640px) {
	.dc-author { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; padding: 28px 22px 26px; }
	.dc-author__photo { width: 112px; }
	.dc-author .dc-author__name { font-size: 27px; }
}
