/*
 * Сингл автора.
 * 1280+: Figma 3178:102405
 * 1024+: Figma 3178:102504
 * 768+:  Figma 3178:102571
 * 560+:  Figma 3178:102633
 * 360+:  Figma 3178:102352
 */

body.bc-author-page {
	background: #fef5ed;
}

.bc-author {
	--bc-author-pad-x: 120px;
	width: 100%;
	padding: 64px var(--bc-author-pad-x);
	box-sizing: border-box;
	font-feature-settings: "lnum" 1, "pnum" 1;
	-webkit-font-smoothing: antialiased;
}

.bc-author__inner {
	display: flex;
	flex-direction: column;
	gap: 80px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.bc-author__top {
	display: flex;
	flex-direction: column;
	gap: 48px;
	width: 100%;
}

.bc-author .bc-author__breadcrumbs.bc-breadcrumbs {
	width: 100%;
}

.bc-author__layout {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
}

.bc-author__profile {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 360px;
	padding: 32px;
	border-radius: 36px;
	background: #fff;
	box-sizing: border-box;
	flex-shrink: 0;
	position: sticky;
	top: 24px;
}

.bc-author__photo {
	width: 296px;
	height: 264px;
	border-radius: 28px;
	overflow: hidden;
	flex-shrink: 0;
}

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

.bc-author__profile-body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
}

.bc-author__identity {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

.bc-author__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-author__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border-radius: 68px;
	border: 1px solid #fff;
	background: #fdf7f1;
	color: #a63d52;
	font-family: "Manrope", system-ui, sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.35;
}

.bc-author__name {
	margin: 0;
	font-family: "Noto Serif", Georgia, serif;
	font-weight: 700;
	font-size: 28px;
	line-height: 1.25;
	letter-spacing: -0.56px;
	color: #3f2b22;
	font-variation-settings: "CTGR" 0, "wdth" 100;
}

.bc-author__specs {
	margin: 0;
	font-family: "Manrope", system-ui, sans-serif;
	font-weight: 500;
	font-size: 17px;
	line-height: 1.35;
	color: #454545;
}

.bc-author__contacts {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.bc-author__contacts--ruled {
	padding-top: 18px;
	border-top: 1px solid #ebebeb;
}

.bc-author__contacts-title {
	margin: 0;
	font-family: "Manrope", system-ui, sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
	color: #454545;
}

.bc-author__contacts-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-author__contact {
	display: block;
	width: 44px;
	height: 44px;
	line-height: 0;
}

.bc-author__contact img {
	display: block;
	width: 44px;
	height: 44px;
}

.bc-author__content {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
	padding: 32px;
	border-radius: 36px;
	background: #fff;
	box-sizing: border-box;
}

.bc-author__rule {
	display: block;
	width: 100%;
	height: 0;
	margin: 0;
	border: 0;
	border-top: 1px solid #ebebeb;
}

.bc-author-about,
.bc-author-desc,
.bc-author-timeline {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.bc-author-timeline {
	gap: 24px;
}

.bc-author-about__title,
.bc-author-desc__title,
.bc-author-timeline__title {
	margin: 0;
	font-family: "Noto Serif", Georgia, serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: -0.48px;
	color: #3f2b22;
	font-variation-settings: "CTGR" 0, "wdth" 100;
}

.bc-author-about__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	width: 100%;
}

.bc-author-about__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.bc-author-about__label {
	margin: 0;
	font-family: "Manrope", system-ui, sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
	color: #3f2b22;
}

.bc-author-about__value {
	margin: 0;
	font-family: "Manrope", system-ui, sans-serif;
	font-weight: 500;
	font-size: 17px;
	line-height: 1.35;
	color: #454545;
}

.bc-author-desc {
	gap: 28px;
}

.bc-author-desc__block {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.bc-author-desc__text {
	font-family: "Manrope", system-ui, sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.4;
	color: #454545;
}

.bc-author-desc__text p {
	margin: 0 0 1em;
}

.bc-author-desc__text p:last-child {
	margin-bottom: 0;
}

.bc-author-desc__text ul,
.bc-author-desc__text ol {
	margin: 0;
	padding: 0 0 0 27px;
}

.bc-author-desc__text li {
	margin: 0 0 8px;
}

.bc-author-desc__text li:last-child {
	margin-bottom: 0;
}

.bc-author-timeline__head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.bc-author-timeline__icon {
	display: block;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.bc-author-timeline__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-author-timeline__item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
}

.bc-author-timeline__item[hidden] {
	display: none !important;
}

.bc-author-timeline__marker {
	position: relative;
	width: 12px;
	flex-shrink: 0;
	line-height: 0;
	z-index: 1;
}

.bc-author-timeline__marker img {
	display: block;
}

.bc-author-timeline__item:has(+ .bc-author-timeline__item:not([hidden]))::before {
	content: "";
	position: absolute;
	left: 5.5px;
	top: 16px;
	bottom: -18px;
	width: 1px;
	background: #e8b4a4;
}

.bc-author-timeline__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	color: #454545;
}

.bc-author-timeline__period {
	margin: 0;
	font-family: "Manrope", system-ui, sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
}

.bc-author-timeline__role {
	margin: 0;
	font-family: "Manrope", system-ui, sans-serif;
	font-weight: 500;
	font-size: 17px;
	line-height: 1.35;
}

.bc-author-timeline__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	font-family: "Manrope", system-ui, sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
	color: #cc7c61;
}

.bc-author-timeline__more-icon {
	display: block;
	width: 10px;
	height: 20px;
	transform: rotate(90deg);
}

.bc-author-timeline.is-expanded .bc-author-timeline__more-icon {
	transform: rotate(-90deg);
}

.bc-author-pubs {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}

.bc-author-pubs__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
}

.bc-author-pubs__title {
	margin: 0;
	font-family: "Noto Serif", Georgia, serif;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.15;
	letter-spacing: -0.64px;
	color: #3f2b22;
	font-variation-settings: "CTGR" 0, "wdth" 100;
}

.bc-author-pubs__nav {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.bc-author-pubs__arrow {
	display: inline-flex;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	line-height: 0;
}

.bc-author-pubs__arrow--prev img {
	transform: rotate(180deg);
}

.bc-author-pubs__viewport {
	width: 100%;
	overflow: hidden;
}

.bc-author-pubs__track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.bc-author-pubs__track::-webkit-scrollbar {
	display: none;
}

.bc-author-pubs__track.is-dragging {
	cursor: grabbing;
}

.bc-author-pub {
	flex: 0 0 392px;
	width: 392px;
}

.bc-author-pub__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 100%;
	min-height: 480px;
	padding: 0 28px 28px;
	border-radius: 32px;
	background: #fff;
	box-shadow: 0 4px 5px rgba(0, 0, 0, 0.02);
	box-sizing: border-box;
	color: inherit;
	text-decoration: none;
}

.bc-author-pub__thumb {
	width: calc(100% + 56px);
	height: 250px;
	margin: 0 -28px;
	border-radius: 32px;
	overflow: hidden;
	background: #f6ebe3;
	flex-shrink: 0;
}

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

.bc-author-pub__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.bc-author-pub__name {
	margin: 0;
	font-family: "Noto Serif", Georgia, serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.1;
	color: #3f2b22;
	font-variation-settings: "CTGR" 0, "wdth" 100;
	font-feature-settings: "lnum" 1, "pnum" 1;
}

.bc-author-pub .bc-article__more-rule {
	height: 1px;
	width: 100%;
	background: #ebebeb;
	flex-shrink: 0;
}

.bc-author-pub .bc-article__more-excerpt {
	display: none;
}

.bc-author-pub .bc-article__more-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-start;
}

.bc-author-pub .bc-article__more-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.bc-author-pub .bc-article__more-meta-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.bc-author-pub .bc-article__more-meta-text {
	font-family: "Manrope", system-ui, sans-serif;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.4;
	color: #636363;
	white-space: nowrap;
}

/* 1024+: Figma 3178:102504 */
@media (max-width: 1279px) {
	.bc-author {
		--bc-author-pad-x: 20px;
		padding: 36px var(--bc-author-pad-x);
	}

	.bc-author__profile {
		width: 320px;
		padding: 24px;
		border-radius: 32px;
		gap: 24px;
	}

	.bc-author__photo {
		width: 264px;
		height: 236px;
	}

	.bc-author__profile-body {
		gap: 16px;
	}

	.bc-author__identity {
		gap: 12px;
	}

	.bc-author__name {
		font-size: 26px;
		letter-spacing: -0.52px;
	}

	.bc-author__specs {
		font-size: 16px;
	}

	.bc-author__content {
		gap: 24px;
		padding: 28px;
		border-radius: 32px;
	}

	.bc-author-about__title,
	.bc-author-desc__title,
	.bc-author-timeline__title {
		font-size: 22px;
		letter-spacing: -0.44px;
	}

	.bc-author-about__label {
		font-size: 17px;
	}

	.bc-author-about__value {
		font-size: 16px;
	}

	.bc-author-desc__text {
		font-size: 17px;
		line-height: 1.35;
	}

	.bc-author-timeline__icon {
		width: 24px;
		height: 24px;
	}

	.bc-author-pub {
		flex-basis: 320px;
		width: 320px;
	}

	.bc-author-pub__link {
		min-height: 382px;
		padding: 0 0 28px;
	}

	.bc-author-pub__thumb {
		width: 100%;
		height: 204px;
		margin: 0;
	}

	.bc-author-pub__body {
		padding: 0 20px;
		box-sizing: border-box;
	}

	.bc-author-pub__name {
		font-size: 22px;
		line-height: 1.2;
	}
}

/* 768+: Figma 3178:102571 */
@media (max-width: 1023px) {
	.bc-author {
		--bc-author-pad-x: 40px;
		padding: 32px var(--bc-author-pad-x);
	}

	.bc-author__layout {
		flex-direction: column;
	}

	.bc-author__profile {
		position: static;
		width: 100%;
	}

	.bc-author__content {
		width: 100%;
	}

	.bc-author-pubs__nav {
		display: none;
	}

	.bc-author-pub {
		flex-basis: 338px;
		width: 338px;
	}

	.bc-author-pub__thumb {
		height: 216px;
	}
}

/* 560+: Figma 3178:102633 */
@media (max-width: 767px) {
	.bc-author {
		--bc-author-pad-x: 40px;
		padding: 32px var(--bc-author-pad-x);
	}

	.bc-author__profile {
		gap: 20px;
		padding: 24px;
		border-radius: 32px;
	}

	.bc-author__photo {
		width: 264px;
		height: 236px;
		border-radius: 28px;
	}

	.bc-author__profile-body {
		gap: 16px;
	}

	.bc-author__identity {
		gap: 12px;
	}

	.bc-author__content {
		gap: 20px;
		padding: 24px;
		border-radius: 28px;
	}

	.bc-author-about,
	.bc-author-desc,
	.bc-author-timeline,
	.bc-author-desc__block {
		gap: 16px;
	}

	.bc-author-about__title,
	.bc-author-desc__title,
	.bc-author-timeline__title {
		font-size: 18px;
		letter-spacing: -0.36px;
	}

	.bc-author-about__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.bc-author-about__label {
		font-size: 16px;
	}

	.bc-author-about__value,
	.bc-author-desc__text {
		font-size: 15px;
		line-height: 1.4;
	}

	.bc-author-timeline__icon {
		width: 20px;
		height: 20px;
	}

	.bc-author-timeline__text {
		gap: 6px;
	}

	.bc-author-timeline__period {
		font-size: 16px;
	}

	.bc-author-timeline__role {
		font-size: 15px;
	}

	.bc-author-timeline__more {
		font-size: 15px;
		line-height: 1.35;
	}

	.bc-author__chip {
		font-size: 13px;
	}

	.bc-author__name {
		font-size: 22px;
		letter-spacing: -0.44px;
	}

	.bc-author__specs {
		font-size: 15px;
		line-height: 1.4;
	}

	.bc-author__contacts {
		gap: 16px;
	}

	.bc-author__contacts--ruled {
		padding-top: 16px;
	}

	.bc-author__contacts-title {
		font-size: 16px;
		line-height: 1.35;
	}

	.bc-author__contact,
	.bc-author__contact img {
		width: 36px;
		height: 36px;
	}

	.bc-author-pubs {
		gap: 32px;
	}

	.bc-author-pubs__title {
		font-size: 28px;
		letter-spacing: -0.56px;
	}

	.bc-author-pub {
		flex-basis: 320px;
		width: 320px;
	}

	.bc-author-pub__thumb {
		height: 204px;
	}
}

/* 360+: Figma 3178:102352 */
@media (max-width: 559px) {
	.bc-author {
		--bc-author-pad-x: 20px;
		padding: 32px var(--bc-author-pad-x);
	}

	.bc-author__inner {
		gap: 48px;
	}

	.bc-author__layout {
		gap: 8px;
	}

	.bc-author .bc-author__breadcrumbs.bc-breadcrumbs {
		font-size: 14px;
		line-height: 1.35;
	}

	.bc-author__profile {
		padding: 20px 20px 24px;
		border-radius: 32px;
	}

	.bc-author__photo {
		width: 100%;
		height: auto;
		aspect-ratio: 280 / 250;
	}

	.bc-author__profile-body {
		gap: 14px;
	}

	.bc-author__content {
		padding: 24px 20px;
	}

	.bc-author-pubs__title {
		font-size: 24px;
		letter-spacing: -0.48px;
	}

	.bc-author-pub {
		flex-basis: 300px;
		width: 300px;
	}

	.bc-author-pub__link {
		min-height: 0;
		gap: 16px;
		padding-bottom: 24px;
	}
}
