/**
 * Conseil theme custom overrides
 * @font-face is injected via functions.php with absolute URL
 */

/*
 * Headings only — must beat .secondary-font, .heading-font from pixfort-core
 * (specificity 0,1,0) by using html body + element + class (0,2,2)
 */
html body .navbar-nav li a, html body .pixfort-header-col div, html body .pix-levels-step h6 {
	font-family: var(--pix-body-font), "Montserrat Armenian" !important;
	letter-spacing: inherit;
}

html body .home-project-items .card-body {
	padding: 0.75rem 1.25rem 0.5rem!important;
}

html body form[aria-label="Contact form"] div {
	padding: 0!important;
	border: none!important;
}

/* Portfolio filter active state */
.pix-portfolio-nav .portfolio_filter.is-checked {
	background: var(--pix-primary) !important;
	box-shadow: none !important;
	color: var(--pix-secondary) !important;
}

html body .portfolio-gallery .card-content-box {
	background-color: var(--e-global-color-pixPrimaryColor)!important;
}

/* Portfolio pagination */
.pix-pagination .page-numbers.current {
	background: var(--pix-primary) !important;
	color: var(--pix-secondary) !important;
}

/* Back to top icon */
.back_to_top .pixfort-icon * {
	stroke: var(--pix-secondary) !important;
}

@media (max-width: 992px) {
	html body  h1 {
		font-size: 26px!important;
		overflow-wrap: anywhere!important;
	}
	html body  h2 {
		font-size: 22px!important;
		overflow-wrap: anywhere!important;
	}
	html body  h2 * {
		font-size: 22px!important;
		overflow-wrap: anywhere!important;
		white-space: normal!important;
	}
	html body  h3 {
		font-size: 18px!important;
		overflow-wrap: anywhere!important;
	}
	html body  h4 {
		font-size: 16px!important;
		overflow-wrap: anywhere!important;
	}
}
