

/* Start:/local/templates/hair/components/bitrix/news/blog/bitrix/news.detail/.default/style.css?17948249684937*/
/* Стили для бокового меню (Содержание) */

.grid-blog_box {
	grid-template-columns: minmax(0, 1fr) 298px;
}

.blog_banner_box {
	background: var(--dark);
	border-radius: 30px;
	max-height: 430px;
	overflow: hidden;
	margin-bottom: 1.9rem;
}

.blog_banner_box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

aside.sticky-top {
	top: 6rem;
	margin-top: 11px;
	z-index: 9;
}

.toc-list {
	list-style: none;
	padding-left: 0;
	padding-top: 4px;
	padding-right: 10px;
	padding-left: 10px;
	border-left: 2px solid var(--brass);
	height: auto;
	max-height: calc(100vh - 65px);
    overflow: auto;
}

.toc-list li {
	list-style-type: none;
	position: relative;
	margin-bottom: 0.56rem;
    padding-left: 2px;
}

.toc-list a {
	color: var(--dark);
	text-decoration: none;
	font-size: 14px;
	padding-left: 1.6rem;
	display: block;
	position: relative;
	transition: color 0.2s;
}

.toc-list li > .toc-sublist {
	display: none;
	margin-top: 18px;
    margin-bottom: 16px;
}

.toc-list li.open > .toc-sublist {
	display: block;
}

.toc-list li > .toc-sublist li {
	list-style-type: none;
}

.toc-list li > .toc-sublist li a {
	font-size: 12px;
	line-height: 20px;
	padding-left: 15px;
}

.toc-list li > .toc-sublist li > .toc-sublist li a {
	padding-left: 0;
}

.toc-list a:hover, .toc-list a.active {
	color: var(--accent-gold);
	font-weight: 500;
}

.toc-list a.active::before {
	content: '';
	position: absolute;
	left: -2px;
	top: 0;
	height: 100%;
	width: 2px;
	background-color: var(--accent-gold);
}

.toc-toggle {
  position: absolute;
  left: 0;
  top: 0;
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  margin-right: .35rem;
  cursor: pointer;
  color: inherit;
  vertical-align: middle;
  transition: transform .2s ease;
  transform: rotate(270deg);
  line-height: 19px;
  z-index: 1;
}

.toc-toggle i {
	color: var(--gold);
}

.toc-list li.open > .toc-toggle i {
  transform: rotate(90deg);
}

body .heading-name {
	color: var(--dark);
	line-height: 18px;
	margin-bottom: 20px;
}

.fact {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px 16px 32px;
  background: var(--cream);
  font-family: inherit;
  margin-bottom: 20px;
}

.fact__icon {
  flex-shrink: 0;
  width: 51px;
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.fact__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.fact__body {
  flex: 1;
  min-width: 0;
}

.fact__title {
  margin: 0 0 13px;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  color: var(--grey);
}

.fact__text {
  margin: 0;
  font-size: 14px;
  line-height: 30px;
  color: var(--grey);
}


/* Мета-информация */
.meta-info {
	font-size: 0.85rem;
	color: var(--text-muted);
	display: flex;
	gap: 1.3rem;
	align-items: center;
	margin-bottom: 2rem;
}

.meta-info .icon {
	width: 19px;
	height: 19px;
	fill: var(--brass);
	translate: 0 -2px;
}

.meta-section {
    font-size: 12px;
    color: var(--dark);
    background: var(--cream);
    padding: 6px 11px;
    border-radius: 8px;
}

.meta-date,
.meta-read {
	font-size: 12px;
	color: var(--brass);
}

.blog-main-detail h1 {
	font-family: var(--bs-body-font-family-second);
	color: var(--dark);
	font-size: clamp(32px, 5.33px + 2.22vw, 48px);
	font-weight: 400;
	line-height: clamp(36px, -5.33px + 3.61vw, 64px);
	margin-bottom: clamp(18px, -5.33px + 1.94vw, 32px);
}

.blog-main-detail p.bm-line {
	letter-spacing: 0.25px;
}

.blog-main-detail > p:not(.bm-line) {
	line-height: 26px;
	letter-spacing: 0;
}

.blog-main-detail p,
.blog-main-detail li {
	color: var(--grey);
}

.blog-main-detail h2,
.blog-main-detail h3 {
	font-family: var(--bs-body-font-family-second);
	font-size: clamp(28px, 26.06px + 0.52vw, 36px);
	font-weight: 400;
	line-height: clamp(36px, 32.60px + 0.91vw, 50px);
	color: var(--dark);
	letter-spacing: -0.3px;
	scroll-margin-top: 75px;
}

.blog-main-detail h2 {
	margin-bottom: 22px;
}

.blog-main-detail h3 {
	font-size: clamp(24px, 23.03px + 0.26vw, 28px);
	margin-bottom: 18px;
	line-height: clamp(28px, 24.60px + 0.91vw, 42px);
}

@media(max-width: 991.98px) {
	.grid-blog_box {
		grid-template-columns: 100%;
	}
	
	.blog_content {
		order: 1;
	}
	
	.blog-main-detail {
		overflow: hidden;
	}
	
	body .sticky-top {
		position: relative;
		top: 0;
		left: 0;
		order: 0;
		background: var(--cream);
		padding: 20px 0;
		margin-bottom: 20px;
	}
	
	body .sticky-top:before {
		content: "";
		position: absolute;
		top: 0;
		left: -50%;
		width: 100%;
		height: 100%;
		background: inherit;
		z-index: -1;
	}
	
	body .sticky-top:after {
		content: "";
		position: absolute;
		top: 0;
		right: -50%;
		width: 100%;
		height: 100%;
		background: inherit;
		z-index: -1;
	}
	
	body .toc-list {
		max-height: max-content;
		margin-bottom: 0;
	}
	
	.blog-main-detail .blog_banner_box,
	.blog-main-detail .meta-info {
		display: none;
	}
}
/* End */
/* /local/templates/hair/components/bitrix/news/blog/bitrix/news.detail/.default/style.css?17948249684937 */
