body {
	line-height: 1.2;
	font-family: 'Urbanist', sans-serif;
	color: var(--scs-main-text);
}

body h1, body h2, body h3, body h4, body h5, body h6 {
	color: inherit;
}

body a {
	transition: color .25s ease-in-out,
				opacity .25s ease-in-out;
}
body a:hover {
	color: var(--scs-accent-primary);
	/*opacity: .8;*/
}
body a:focus,
body a:active {
	color: var(--scs-accent-primary);
	opacity: 1;
}

.scs-h1 {
	font-size: 64px;
	font-weight: 700;
	font-family: Manrope;
}
.scs-h2 {
	font-size: 56px;
	font-weight: 700;
	font-family: Manrope;
}
.scs-h3 {
	font-size: 48px;
	font-weight: 700;
	font-family: Manrope;
}
.scs-h4 {
	font-size: 32px;
	font-weight: 700;
	font-family: Manrope;
}
.scs-h5 {
	font-size: 20px;
	font-weight: 700;
	font-family: Manrope;
}
.scs-h6 {
	font-size: 18px;
	font-weight: 700;
	font-family: Manrope;
}
.scs-h7 {
	font-size: 16px;
	font-weight: 700;
	font-family: Manrope;
}
.scs-h8 {
	font-size: 16px;
	font-weight: 600;
	font-family: Manrope;
}

.scs-text-b1 {
	font-size: 36px;
	font-weight: 500;
}
.scs-text-b2 {
	font-size: 20px;
	font-weight: 500;
}
.scs-text-b3 {
	font-size: 18px;
	font-weight: 500;
}
.scs-text-b4 {
	font-size: 16px;
	font-weight: 500;
}
.scs-text-b5 {
	font-size: 16px;
	font-weight: 400;
}
.scs-text-b6 {
	font-size: 14px;
	font-weight: 400;
}
.scs-text-b7 {
	font-size: 12px;
	font-weight: 400;
}

@media (max-width: 1599px) {
	.scs-h1 {
		font-size: 48px;
	}
	.scs-h2 {
		font-size: 48px;
	}
	.scs-h4 {
		font-size: 24px;
	}
	.scs-h6 {
		font-size: 16px;
	}

	.scs-text-b1 {
		font-size: 32px;
	}
	.scs-text-b2 {
		font-size: 18px;
	}
	.scs-text-b3 {
		font-size: 16px;
	}
	.scs-text-b4 {
		font-size: 14px;
	}
}

@media (max-width: 1399px) {
	.scs-h1 {
		font-size: 48px;
	}
	.scs-h2 {
		font-size: 32px;
	}
	.scs-h3 {
		font-size: 28px;
	}
	.scs-h4 {
		font-size: 18px;
	}
	.scs-h6 {
		font-size: 14px;
	}

	.scs-text-b1 {
		font-size: 28px;
	}
	.scs-text-b2 {
		font-size: 16px;
	}
}

@media (max-width: 991px) {
	.scs-h1 {
		font-size: 48px;
	}
	.scs-h2 {
		font-size: 32px;
	}
	.scs-h3 {
		font-size: 24px;
	}
	.scs-h4 {
		font-size: 20px;
	}
	.scs-h5 {
		font-size: 18px;
	}
	.scs-h6 {
		font-size: 16px;
	}
	.scs-h7 {
		font-size: 14px;
	}
	.scs-h8 {
		font-size: 14px;
	}

	.scs-text-b1 {
		font-size: 28px;
	}
}

@media (max-width: 767px) {
	.scs-h1 {
		font-size: 32px;
	}
	.scs-h2 {
		font-size: 28px;
	}
	.scs-h3 {
		font-size: 22px;
	}
	.scs-h4 {
		font-size: 20px;
	}
}

@media (max-width: 575px) {
	.scs-h1 {
		font-size: 28px;
	}
	.scs-h3 {
		font-size: 18px;
	}
	.scs-h4 {
		font-size: 16px;
	}
	.scs-h5 {
		font-size: 14px;
		font-weight: 600;
	}
	.scs-h6 {
		font-size: 14px;
	}
	.scs-h7 {
		font-size: 12px;
	}
	.scs-h8 {
		font-size: 12px;
	}
	
	.scs-text-b1 {
		font-size: 20px;
		font-weight: 600;
	}
	.scs-text-b5 {
		font-size: 14px;
	}
}
/* Ссылки в тексте из редактора (статьи, карточки брендов, магазинов и событий, описания разделов, вопросы библиотеки) —
   у них не было цвета, браузер красил синим. :where — чтобы стили самих блоков текста перебивали это правило */
:where(.scs-article-detail-content, .scs-detail-card-text, .scs-section-text, .scs-library-faq-item__content) a:not([class]) {
	color: var(--scs-main-text);
	text-decoration: underline;
	text-decoration-color: var(--scs-accent-primary);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
:where(.scs-article-detail-content, .scs-detail-card-text, .scs-section-text, .scs-library-faq-item__content) a:not([class]):hover {
	color: var(--scs-accent-hover);
}
:where(.scs-article-detail-content, .scs-detail-card-text, .scs-section-text, .scs-library-faq-item__content) a:not([class]):has(img) {
	text-decoration: none;
}
