/*---------------------------------------------------------------------------------

 Theme Name:   Preferra Learn Child
 Theme URI:    https://preferralearn.com
 Description:  A child theme for Preferra
 Author:       Clayton Design Group
 Author URI:   https://claytondesigngroup.com
 Template:     Divi
 Version:      2.0.20
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 Add custom CSS below the line. DO NOT EDIT ABOVE apart from updating the version number.
 Make sure to update the version line above each time this file is updated.

------------------------------ ADDITIONAL CSS HERE ------------------------------*/
html {
	font-size: 62.5%;
}

/* ============================================
   ADOBE FONTS — GLOBAL TYPOGRAPHY
   FF Meta Web Pro & FF Ernestine Pro
   ============================================ */

/* --- Body, Paragraphs & Lists (FF Meta Web Pro) --- */
body,
p,
li,
ul,
ol,
.et_pb_text,
.et_pb_text_inner,
.et_pb_text_inner p,
.et_pb_text_inner li {
    font-family: 'ff-meta-web-pro', sans-serif;
}

/* --- H6 (FF Meta Web Pro) --- */
h6,
.et_pb_module h6,
.et_pb_text h6 {
    font-family: 'ff-meta-web-pro', sans-serif;
	padding: 0;
}

/* --- H1–H5 (FF Ernestine Pro) --- */
h1,
h2,
h3,
h4,
h5,
.et_pb_module h1,
.et_pb_module h2,
.et_pb_module h3,
.et_pb_module h4,
.et_pb_module h5,
.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3,
.et_pb_text h4,
.et_pb_text h5,
.et_pb_slide_title,
.et_pb_post_title h1,
.entry-title {
    font-family: 'ff-ernestine-pro', serif;
	padding: 0;
}

/* WP Form button styles */
.wpforms-form input[type=submit], 
.wpforms-form button[type=submit] {
    padding: 1vw; /* Increase distance between text and border */
    font-family: ff-meta-web-pro, sans-serif !important; /* text font */
    font-size: 1.25em; /* Increase text size */
    font-weight: 500; /* add style */
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background-color: #745ea8!important; /* background */
    color: #fff !important; /* White text */
}

/* WP Form button hover styles */
.wpforms-form input[type=submit]:hover, 
.wpforms-form input[type=submit]:active, 
.wpforms-form button[type=submit]:hover, 
.wpforms-form button[type=submit]:active, 
.wpforms-form .wpforms-page-button:hover, 
.wpforms-form .wpforms-page-button:active {
	transform: scale(1.03);
}
/* WP Form Next/Previous Buttons */
div.wpforms-container-full .wpforms-form .wpforms-page-button {
    background-color: #745ea8 !important; /* Purple Background */
    color: #fff !important; /* White text */
}

/*grid hover*/
.et_pb_post {
  transform: scale(1);
  transition: transform 0.3s ease-in-out;
  background-color: #fff !important;
}