/*** DM Sans - Font Weights ***/
/*
font-family: 'DM Sans', sans-serif;
Regular - 400
Medium - 500
Bold - 700
 */

/* dm-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/dm-sans-v17-latin-regular.woff2') format('woff2');
}
/* dm-sans-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/dm-sans-v17-latin-500.woff2') format('woff2'); 
}
/* dm-sans-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/dm-sans-v17-latin-700.woff2') format('woff2'); 
}

/*** Font Declarations ***/

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p, body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
}

p, ul, ol {
    margin-bottom: 16px;
}

p.small,
div.small p {
    font-size: 14px;
}


b, strong {
}

a {
    color: var(--black);
    text-decoration: underline;
    text-decoration-color: var(--black);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
a:hover {
    opacity: 1;
    color: var(--black);
    text-underline-offset: 3px;
}

a.button {
    text-decoration: none;
}

.uppercase {
    text-transform: uppercase;
}

h1 > span,
.h1style > span,
h2 > span,
.h2style > span,
h3 > span,
.h3style > span,
h4 > span,
.h4style > span {
    font-style: italic;
}

/*h1*/
h1,
.h1style {
    font-size: 100px;
    line-height: 100px;
    margin-bottom: 20px;
    font-family: span-condensed, serif;
    text-transform: uppercase;
}

/*h2*/
h2,
.h2style,
.single-nw-blog h1,
.single-nw-blog .h1style {
    font-size: 80px;
    line-height: 78px;
    margin-bottom: 20px;
    font-family: span-condensed, serif;
}

.single-nw-blog .h2style {
    text-transform: none;
}

/*h3*/
h3,
.h3style,
.single-nw-blog h2,
.single-nw-blog .h2style {
    font-size: 60px;
    line-height: 65px;
    margin-bottom: 20px;
    font-family: span-condensed, serif;
}


/*h4*/
h4,
.h4style,
.single-nw-blog h3,
.single-nw-blog .h3style {
    font-size: 40px;
    line-height: 42px;
    margin-bottom: 15px;
    font-family: span-condensed, serif;
}


/*h5*/
h5,
.h5style,
.single-nw-blog h4,
.single-nw-blog .h4style {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 15px;
    font-family: span, serif;
}


/*h6*/
h6,
.single-nw-blog h5,
.single-nw-blog .h5style {
    font-size: 18px;
    line-height: 26px;
    font-weight: bold;
}

/* accent text */
p.accent-text,
p.accent_text {
    text-transform: uppercase;
    font-size: 16px;
    line-height: 24px;
    color: #A4A4A4;
    margin-bottom: 10px;
    font-weight: 400 /* regular */
}


/*** Laptop - Large Tablet ***/

@media(max-width: 1399.98px) {

    p, body {
        font-size: 16px;
        line-height: 24px;
    }

    /*h1*/
    h1,
    .h1style {
        font-size: 56px;
        line-height: 67px;
        margin-bottom: 20px;
    }

    /*h2*/
    h2,
    .h2style {
        font-size: 44px;
        line-height: 52px;
        margin-bottom: 20px;
    }

    /*h3*/
    h3,
    .h3style {
        font-size: 36px;
        line-height: 42px;
        margin-bottom: 20px;
    }

    /*h4*/
    h4,
    .h4style {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 15px;
    }

    /*h5*/
    h5,
    .h5style {
        font-size: 22px;
        line-height: 29px;
        margin-bottom: 15px;
    }
}


/*** Mobile ***/
@media(max-width: 575px) {
    p, body {
        font-size: 16px;
        line-height: 24px;
    }
    /*h1*/
    h1,
    .h1style {
        font-size: 46px;
        line-height: 57px;
        margin-bottom: 20px;
    }
    /*h2*/
    h2,
    .h2style {
        font-size: 44px;
        line-height: 52px;
        margin-bottom: 20px;
    }
    /*h3*/
    h3,
    .h3style {
        font-size: 36px;
        line-height: 42px;
        margin-bottom: 20px;
    }
    /*h4*/
    h4,
    .h4style {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 15px;
    }
    /*h5*/
    h5,
    .h5style {
        font-size: 22px;
        line-height: 29px;
        margin-bottom: 15px;
    }
}

/* Blog post typography */
.single-nw-blog h2, .single-nw-blog h3, .single-nw-blog h4, .single-nw-blog h5, .single-nw-blog h6{
	font-family: 'DM Sans', sans-serif;
	font-weight:400;
	display:block;
}
.single-nw-blog h2 {
	font-size: 36px;
	line-height: 46px;
	margin-top: 35px;
	margin-bottom: 18px;
}
.single-nw-blog h3 {
	font-size: 28px;
	line-height: 36px;
	margin-top: 30px;
	margin-bottom:15px;
}
.single-nw-blog h4 {
	font-size: 20px;
	line-height: 28px;
	font-weight: 600;
	margin-top: 30px;
	margin-bottom: 16px;
}
.single-nw-blog h5 {
	font-size: 17px;
	line-height: 26px;
	font-weight: 600;
	margin-top: 25px;
	margin-bottom: 15px;
}
.single-nw-blog h6 {
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	margin-top: 25px;
	margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
	.single-nw-blog h1 {
		font-size: 36px;
		line-height: 42px;
	}
	.single-nw-blog h2 {
		font-size: 28px;
		line-height: 38px;
		margin-top: 35px;
		margin-bottom: 15px;
	}
	.single-nw-blog h3 {
		font-size: 24px;
		line-height: 34px;
		margin-top: 33px;
		margin-bottom:15px;
	}
	.single-nw-blog h4 {
		font-size: 19px;
		line-height: 27px;
		margin-top: 30px;
		margin-bottom: 16px;
	}
}
