/* Static author page. All presentation stays inside this template root. */
.sm-author-page,
.sm-author-page *,
.sm-author-page *::before,
.sm-author-page *::after {
	box-sizing: border-box;
}

.sm-author-page {
	--sm-author-accent: #2b9aa0;
	--sm-author-accent-strong: #1f6e73;
	--sm-author-text: #24323d;
	--sm-author-muted: #52636e;
	--sm-author-border: #e6edf0;
	--sm-author-surface: #fff;
	--sm-author-soft: #f7fbfb;
	--sm-author-radius: 22px;
	--sm-author-shadow: 0 14px 32px rgba(16, 34, 48, .06);
	width: 100%;
	padding: 28px 24px 72px;
	background: #fff;
	color: var(--sm-author-text);
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.sm-author-page__inner {
	width: min(1200px, 100%);
	margin-inline: auto;
}

.sm-author-page__breadcrumbs {
	margin: 0 0 24px;
	color: var(--sm-author-muted);
	font-size: 13px;
	line-height: 1.5;
}

.sm-author-page__breadcrumbs-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0 4px;
	align-items: baseline;
}

.sm-author-page__breadcrumbs a {
	color: var(--sm-author-muted);
	text-decoration: none;
}

.sm-author-page__breadcrumbs a:hover,
.sm-author-page__breadcrumbs a:focus-visible {
	color: var(--sm-author-accent-strong);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sm-author-page__breadcrumbs-sep {
	margin-inline: 5px;
}

.sm-author-page__header {
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid var(--sm-author-border);
	border-radius: var(--sm-author-radius);
	background: var(--sm-author-soft);
	box-shadow: var(--sm-author-shadow);
}

.sm-author-page__header--no-photo {
	grid-template-columns: minmax(0, 1fr);
}

.sm-author-page__photo {
	width: min(100%, 300px);
	margin-inline: auto;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50%;
	background: #eaf7f6;
}

.sm-author-page__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sm-author-page__title {
	margin: 0 0 10px;
	color: var(--sm-author-text);
	font-size: clamp(30px, 3.4vw, 48px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.025em;
}

.sm-author-page__role {
	margin: 0 0 20px;
	color: var(--sm-author-accent-strong);
	font-size: clamp(17px, 1.5vw, 21px);
	font-weight: 600;
	line-height: 1.4;
}

.sm-author-page__bio {
	color: var(--sm-author-muted);
	font-size: 16px;
	line-height: 1.75;
}

.sm-author-page__bio p {
	margin: 0 0 14px;
}

.sm-author-page__bio p:last-child {
	margin-bottom: 0;
}

.sm-author-page__contacts {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: stretch;
	margin-top: 24px;
}

.sm-author-page__contact {
	display: flex;
	min-width: min(100%, 220px);
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	padding: 12px 16px;
	border: 1px solid var(--sm-author-border);
	border-radius: 14px;
	background: var(--sm-author-surface);
	color: var(--sm-author-text);
	font-weight: 600;
	text-decoration: none;
}

.sm-author-page__contact:hover,
.sm-author-page__contact:focus-visible {
	border-color: var(--sm-author-accent);
	color: var(--sm-author-accent-strong);
}

.sm-author-page__contact-label {
	color: var(--sm-author-muted);
	font-size: 12px;
	font-weight: 500;
}

.sm-author-page__question,
.sm-author-page__all-articles {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	border: 2px solid var(--sm-author-accent-strong);
	border-radius: 14px;
	background: var(--sm-author-accent-strong);
	color: #fff;
	font-weight: 650;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
}

.sm-author-page__question:hover,
.sm-author-page__question:focus-visible,
.sm-author-page__all-articles:hover,
.sm-author-page__all-articles:focus-visible {
	background: #174f53;
	border-color: #174f53;
	color: #fff;
}

.sm-author-page__content {
	margin-top: 40px;
	padding: clamp(20px, 3vw, 36px);
	border: 1px solid var(--sm-author-border);
	border-radius: 18px;
	background: var(--sm-author-surface);
	color: var(--sm-author-text);
}

.sm-author-page__content > :first-child {
	margin-top: 0;
}

.sm-author-page__materials {
	margin-top: clamp(48px, 7vw, 80px);
}

.sm-author-page__section-title {
	margin: 0 0 24px;
	color: var(--sm-author-text);
	font-size: clamp(25px, 2.3vw, 34px);
	font-weight: 700;
	line-height: 1.2;
}

.sm-author-page .sm-editorial-archive {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
}

.sm-author-page__all-articles {
	margin-top: 28px;
}

.sm-author-page a:focus-visible {
	outline: 3px solid #174f53;
	outline-offset: 3px;
}

@media (max-width: 760px) {
	.sm-author-page {
		padding: 20px 18px 56px;
	}

	.sm-author-page__header {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		padding: 24px;
		text-align: center;
	}

	.sm-author-page__photo {
		width: min(70vw, 260px);
	}

	.sm-author-page__contacts {
		flex-direction: column;
	}

	.sm-author-page__contact,
	.sm-author-page__question {
		width: 100%;
	}
}

@media (max-width: 420px) {
	.sm-author-page {
		padding-inline: 14px;
	}

	.sm-author-page__header {
		padding: 20px 16px;
	}

	.sm-author-page__title {
		font-size: 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sm-author-page *,
	.sm-author-page *::before,
	.sm-author-page *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
