/*
 Theme Name:     EH Cargo Logistics
 Author:         Top Floor Marketing
 Author URI:     https://www.topfloormarketing.net/
 Template:       Divi
 Version:        1
 Description:   Divi child theme for EH Cargo Logistics
Developed by Andrew Palmer for Elegant Marketplace www.elegantmarketplace.com Free to use and duplicate as many times as you like
 Wordpress Version: 5.7.5
*/


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */

/* Figma renders Inter without optical sizing; the variable Inter that Divi loads would otherwise
   switch to its narrower "display" cut at large sizes and change every heading's line breaks. */
body { font-optical-sizing: none; }

/* Divi adds 10px under every heading tag; the Figma spacing is set on the modules instead. */
.et_pb_heading .et_pb_module_header,
.et_pb_blurb .et_pb_module_header { padding-bottom: 0; }

/* Shared motion for the seven Divi pages (rows fade in once). */
#main-content .et_pb_row.eh-motion-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 650ms ease var(--eh-motion-delay, 0ms),
                transform 650ms cubic-bezier(.2, .7, .2, 1) var(--eh-motion-delay, 0ms);
}
#main-content .et_pb_row.eh-motion-reveal.eh-motion-visible { opacity: 1; transform: none; }

/* Divi's Transition setting only animates transform; let the hover background, border and shadow fade too. */
#main-content .eh-card, #main-content .eh-mv-card, #main-content .et_pb_blurb, #main-content .et_pb_button {
    transition-property: transform, translate, box-shadow, background-color, border-color !important;
}

#main-content .et_pb_button:focus-visible,
#main-content .et_pb_contact_submit:focus-visible {
    outline: 3px solid #ffa526;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .et_animated { animation: none !important; opacity: 1 !important; transform: none !important; }
    .et_pb_module { transition: none !important; }
    #main-content .et_pb_row.eh-motion-reveal,
    #main-content .et_pb_row.eh-motion-reveal.eh-motion-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
