/*
 Theme Name: Divi Child
 Template: Divi
 Version: 1.0.1
*/


/* =====================================================
   REFINED PEDICURE FONT SYSTEM

   Font files:
   /wp-content/themes/divi-child/fonts/

   Heading family:
   Cormorant Garamond
   - Light 300
   - Light Italic 300
   - Regular 400
   - Medium 500

   Body / UI family:
   Jost
   - Regular 400
   - Medium 500

   Special Display typography:
   Divi CSS class: rp-display

   Fonts are managed through this child theme.
   Do not upload duplicate fonts through Divi.
   ===================================================== */


/* =====================================================
   LOCAL FONTS
   ===================================================== */


/* Cormorant Garamond - Light 300 */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/cormorant-garamond-300.woff2') format('woff2');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}


/* Cormorant Garamond - Light Italic 300 */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/cormorant-garamond-300-italic.woff2') format('woff2');
    font-style: italic;
    font-weight: 300;
    font-display: swap;
}


/* Cormorant Garamond - Regular 400 */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/cormorant-garamond-400.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}


/* Cormorant Garamond - Medium 500 */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/cormorant-garamond-500.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

/* Jost - Light 300 */

@font-face {
    font-family: 'Jost';
    src: url('fonts/jost-300.woff2') format('woff2');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

/* Jost - Regular 400 */

@font-face {
    font-family: 'Jost';
    src: url('fonts/jost-400.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}


/* Jost - Medium 500 */

@font-face {
    font-family: 'Jost';
    src: url('fonts/jost-500.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}


/* =====================================================
   GLOBAL FONT VARIABLES
   ===================================================== */

:root {
    --rp-font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --rp-font-body: 'Jost', system-ui, Arial, Helvetica, sans-serif;
}


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


/* =====================================================
   GLOBAL BODY / UI FONT FAMILY
   ===================================================== */

body,
p,
li,
input,
textarea,
select,
button,
.et_pb_button {
    font-family: var(--rp-font-body) !important;
}


/* Default body/form weight */

body,
input,
textarea,
select {
    font-weight: 400;
}


/* Heading font family
   Weight, size, line-height, letter-spacing and colour
   are controlled by Divi presets.
*/

/* =====================================================
   GLOBAL HEADING FONT FAMILY

   Force all semantic headings to use the locally hosted
   Cormorant Garamond family.

   Divi controls weight, size, line-height, spacing, etc.
   ===================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--rp-font-heading) !important;
}


