/**
 * Типографика темы (по киту)
 *
 * @package medexpress-by-fin-code
 */

a {
	line-height: 1.1;
}

/* H1: 60px, Medium, 0.92 */
h1,
.me-h1 {
	font-size: 60px;
	font-weight: 500;
	line-height: 0.92;
	margin-bottom: 60px;
}

/* H2: 56px, Medium, 0.92 */
h2,
.me-h2 {
	font-size: 56px;
	font-weight: 500;
	line-height: 0.92;
	margin-bottom: 60px;
}

/* H3: 32px, Medium, 0.92 */
h3,
.me-h3 {
	font-size: 32px;
	font-weight: 500;
	line-height: 0.92;
}

/* H4: 24px, Regular, 0.92 */
h4,
.me-h4 {
	font-size: 24px;
	font-weight: 400;
	line-height: 0.92;
}

/* H5: 18px, Medium, 1.2 */
h5,
.me-h5 {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
}

h1,
h2,
h3,
h4,
h5 {
	margin-top: 0;
	color: var(--font-color);
	word-wrap: break-word;
}

.me-h1,
.me-h2,
.me-h3,
.me-h4,
.me-h5,
.me-p,
.me-p2 {
	margin: 0;
}

/* P: 18px, Regular, 1.1 */
p,
.me-p {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--font-color);
}

/* P2: 16px, Regular, 1.1 */
.me-p2,
p.me-p2 {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--font-color-muted);
}

p {
	margin-top: 0;
}

.text-muted {
	color: var(--font-color-muted);
}


/* mobile */

@media (max-width: 768px) {

	h1,
	.me-h1 {
		font-size: 40px;
	}

	h2,
	.me-h2 {
		font-size: 36px;
		margin-bottom: 32px;
	}

	h3,
	.me-h3 {
		font-size: 24px;
	}

	.me-p2-mobile,
	p.me-p2-mobile {
		font-size: 16px;
		font-weight: 400;
		line-height: 1.1;
		color: var(--font-color-muted);
	}
}