/*
====================================
 Theme Name:   RMS Electrical
 Theme URI:    https://rmselectrical.net
 Description:  Ross's GP Theme
 Author:       Greg Murch
 Author URI:   https://wdexplored.co.uk
 Template:     generatepress
 Version:      0.1
====================================
*/


/* =========================
   TYPOGRAPHY
========================= */

/* Font Family Utilities */
.ff-body {
    font-family: var(--gp-font--body);
}

.ff-heading {
    font-family: var(--gp-font--headings);
}

/* Heading and utility class font assignment */
h1, h2, h3, h4, h5, h6,
[class^="fs-"] {
    font-family: var(--gp-font--headings);
}

.fs-p {
    font-family: var(--gp-font--body);
}


/* =========================
   FLUID TYPOGRAPHY SCALE
   Source: https://theadminbar.com/simple-responsive-font-size-calculator/
========================= */

h1, .fs-h1 {
	font-size: clamp(2.25rem, 2.0455rem + 0.8182vi, 2.7rem);
}

h2, .fs-h2 {
	font-size: clamp(1.6875rem, 1.5341rem + 0.6136vi, 2.025rem);
}

h3, .fs-h3 {
	font-size: clamp(1.4063rem, 1.2784rem + 0.5114vi, 1.6875rem);
}

h4, .fs-h4 {
	font-size: clamp(1.125rem, 1.0227rem + 0.4091vi, 1.35rem);
}

h5, .fs-h5 {
	font-size: clamp(0.9375rem, 0.8523rem + 0.3409vi, 1.125rem);
}

h6, .fs-h6 {
	font-size: clamp(0.8438rem, 0.767rem + 0.3068vi, 1.0125rem);
}

p, .fs-p {
	font-size: clamp(0.7813rem, 0.7102rem + 0.2841vi, 0.9375rem);
}