/* HC Schema : fiche auteur. Reprend les couleurs et polices globales d'Elementor quand elles existent. */
.hcs-author {
	--hcs-ink: var(--e-global-color-text, #1a1a1a);
	--hcs-accent: var(--e-global-color-primary, #1a1a1a);
	--hcs-soft: var(--e-global-color-c460bd7, #f3efe9);
	--hcs-line: rgba(0, 0, 0, .12);
	color: var(--hcs-ink);
	margin: 0 0 2.5rem;
	font-size: 1.05rem;
	line-height: 1.6;
}
.hcs-author__head {
	display: flex;
	gap: 1.75rem;
	align-items: center;
	padding: 1.75rem;
	background: var(--hcs-soft);
	border-radius: 18px;
}
.hcs-author__avatar {
	display: block;
	width: 160px;
	height: 160px;
	flex: 0 0 160px;
	border-radius: 50%;
	overflow: hidden;
}
.hcs-author__avatar picture { display: block; width: 100%; height: 100%; }
.hcs-author .hcs-author__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: 50% 30%;
	border-radius: 0;
}
.hcs-author__id p { margin: 0 0 .35rem; }
.hcs-author__name { font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.hcs-author__role { font-size: 1.2rem; font-weight: 600; }
.hcs-author__role a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hcs-author__place { opacity: .75; }
.hcs-author__links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	list-style: none;
	margin: .9rem 0 0;
	padding: 0;
}
.hcs-author__links a {
	display: inline-block;
	padding: .3rem .85rem;
	border: 1px solid var(--hcs-accent);
	border-radius: 999px;
	color: var(--hcs-accent);
	font-size: .95rem;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.hcs-author__links a:hover,
.hcs-author__links a:focus-visible {
	background: var(--hcs-accent);
	color: #fff;
}
.hcs-author__bio { margin: 1.75rem 0 0; max-width: 72ch; }
.hcs-author__bio p { margin: 0 0 1rem; }
.hcs-author__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem 2rem;
	margin: 1.5rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--hcs-line);
}
.hcs-author__block h2,
.hcs-author__posts {
	font-size: 1.25rem;
	line-height: 1.3;
	margin: 0 0 .6rem;
}
.hcs-author__block ul { margin: 0; padding-left: 1.1rem; }
.hcs-author__block li { margin: 0 0 .3rem; }
.hcs-author__block li span { opacity: .7; }
.hcs-author__block ul.hcs-author__tags {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	list-style: none;
	padding: 0;
}
.hcs-author__tags li {
	margin: 0;
	padding: .2rem .7rem;
	background: var(--hcs-soft);
	border-radius: 6px;
	font-size: .95rem;
}
.hcs-author__posts {
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--hcs-line);
	font-size: 1.5rem;
}
@media (max-width: 640px) {
	.hcs-author__head { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
	.hcs-author__avatar { width: 120px; height: 120px; flex-basis: 120px; }
}
