/**
 * Domio author archive: profile hero, expertise, articles.
 * Article cards come from domio-archive.css. Rules are scoped under
 * .domio-author so Elementor kit styles (.elementor-kit-N h2, a) do not win.
 */

body.domio-author {
	font-family: var(--domio-font, "Onest", system-ui, -apple-system, "Segoe UI", sans-serif);
	color: var(--domio-section-text, #121212);
	background: var(--domio-section-bg, #ffffff);
}

body.domio-author #content.domio-author,
body.domio-author .domio-author {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.domio-author .domio-author__inner {
	width: var(--domio-shell-width, min(1300px, calc(100% - 2.5rem)));
	max-width: 100%;
	margin-inline: auto;
}

/* Profile hero */

.domio-author .domio-author__hero {
	padding-block: clamp(2.75rem, 1.75rem + 4vw, 5.5rem);
}

.domio-author .domio-author__profile {
	display: grid;
	grid-template-columns: clamp(11rem, 8rem + 9vw, 18rem) minmax(0, 1fr);
	gap: clamp(1.75rem, 1rem + 3vw, 4rem);
	align-items: start;
}

.domio-author .domio-author__photo {
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	background: #ffffff;
	box-shadow:
		0 0 0 6px #ffffff,
		0 0 0 7px color-mix(in srgb, #004c3e 18%, transparent);
}

.domio-author .domio-author__photo-img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center top;
}

.domio-author .domio-author__eyebrow {
	margin: 0 0 0.4rem;
	font-size: var(--domio-fs-small, 0.875rem);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--domio-section-muted, #777777);
}

.domio-author .domio-author__title {
	margin: 0;
	font-size: var(--domio-fs-display, clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem));
	font-weight: 700;
	line-height: var(--domio-lh-display, 1.12);
	letter-spacing: var(--domio-tracking-display, -0.03em);
	color: #121212;
}

.domio-author .domio-author__role {
	margin: 0.6rem 0 0;
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
	font-weight: 500;
	line-height: 1.4;
	color: #121212;
}

.domio-author .domio-author__role a {
	color: #004c3e;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.domio-author .domio-author__role a:hover,
.domio-author .domio-author__role a:focus-visible {
	color: #121212;
}

.domio-author .domio-author__bio {
	margin-top: 1.25rem;
	max-width: 44rem;
	font-size: var(--domio-fs-body, 1.0625rem);
	line-height: var(--domio-lh-body, 1.65);
	color: color-mix(in srgb, #121212 80%, #ffffff);
}

.domio-author .domio-author__bio p {
	margin: 0 0 0.85rem;
}

.domio-author .domio-author__bio p:last-child {
	margin-bottom: 0;
}

.domio-author .domio-author__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--domio-fs-small, 0.9375rem);
	color: var(--domio-section-muted, #777777);
}

.domio-author .domio-author__facts li {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	margin: 0;
}

.domio-author .domio-author__fact-value {
	font-weight: 600;
	color: #121212;
}

.domio-author .domio-author__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.domio-author .domio-author__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: var(--domio-btn-min-height, 44px);
	padding: var(--domio-btn-pad-y, 15px) var(--domio-btn-pad-x, 30px);
	border: 1.5px solid #004c3e;
	border-radius: var(--domio-radius-cta, 30px);
	font-size: var(--domio-btn-font-size, 13px);
	font-weight: var(--domio-btn-weight, 500);
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	color: #004c3e;
	background: transparent;
	transition: background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.domio-author .domio-author__button:hover {
	background: #004c3e;
	color: #ffffff;
}

.domio-author .domio-author__button--primary {
	background: var(--domio-btn-bg, #004c3e);
	color: var(--domio-btn-text, #ffffff);
}

.domio-author .domio-author__button--primary:hover {
	border-color: var(--domio-btn-hover, #04e78d);
	background: var(--domio-btn-hover, #04e78d);
	color: var(--domio-btn-hover-text, #121212);
}

.domio-author .domio-author__button:focus-visible {
	outline: 3px solid var(--domio-btn-hover, #04e78d);
	outline-offset: 3px;
}

/* Sections */

.domio-author .domio-author__section {
	padding-block: clamp(2.75rem, 1.75rem + 3.5vw, 5rem);
}

.domio-author .domio-author__section + .domio-author__section {
	padding-top: 0;
}

.domio-author .domio-author__heading {
	margin: 0 0 clamp(1.25rem, 1rem + 1vw, 2rem);
	font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
	font-weight: 700;
	line-height: var(--domio-lh-heading, 1.2);
	letter-spacing: var(--domio-tracking-heading, -0.02em);
	color: #121212;
}

.domio-author .domio-author__details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
	gap: clamp(2rem, 1.5rem + 2vw, 4rem);
}

.domio-author .domio-author__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.domio-author .domio-author__chips li {
	margin: 0;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	background: color-mix(in srgb, #04e78d 16%, #ffffff);
	font-size: var(--domio-fs-small, 0.9375rem);
	font-weight: 500;
	line-height: 1.3;
	color: #004c3e;
}

.domio-author .domio-author__list {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.domio-author .domio-author__list li {
	position: relative;
	margin: 0;
	padding-left: 1.9rem;
	font-size: var(--domio-fs-body, 1.0625rem);
	line-height: 1.5;
}

.domio-author .domio-author__list li::before {
	content: "";
	position: absolute;
	top: 0.2em;
	left: 0;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004c3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.8rem no-repeat,
		#04e78d;
}

.domio-author .domio-author__articles {
	scroll-margin-top: 6rem;
}

.domio-author .domio-author__empty {
	margin: 0;
	font-size: var(--domio-fs-body, 1.0625rem);
	color: var(--domio-section-muted, #777777);
}

/* Pagination */

.domio-author .navigation.pagination {
	margin-top: clamp(2.5rem, 1.75rem + 2.5vw, 4rem);
	padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
	border-top: 1px solid color-mix(in srgb, #121212 12%, transparent);
}

.domio-author .navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.domio-author .navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	font-size: var(--domio-fs-small, 0.875rem);
	font-weight: 500;
	color: #121212;
	text-decoration: none;
	background: color-mix(in srgb, #121212 6%, #ffffff);
}

.domio-author .navigation.pagination a.page-numbers:hover,
.domio-author .navigation.pagination a.page-numbers:focus-visible {
	background: #04e78d;
	color: #121212;
}

.domio-author .navigation.pagination .page-numbers.current {
	background: #004c3e;
	color: #ffffff;
}

@media (max-width: 700px) {
	.domio-author .domio-author__profile {
		grid-template-columns: 1fr;
		justify-items: start;
		gap: 1.5rem;
	}

	.domio-author .domio-author__photo {
		width: 8.5rem;
	}
}
