/*
 Theme Name:   Factory Divi Child
 Theme URI:    https://example.com
 Description:  Child theme for Divi
 Author:       Your Name
 Author URI:   https://example.com
 Template:     Divi
 Version:      1.0.0
*/

/* Import parent theme styles */
@import url("../Divi/style.css");

/* ------------------------------
   Global styles
------------------------------- */

/* Body font and base styles */
body {
    font-family: "Open Sans", Arial, sans-serif;
    color: #333333;
    background-color: #ffffff;
}

/* Links */
a {
    color: #2c7be5;
    text-decoration: none;
}

a:hover {
    color: #1b5bbf;
    text-decoration: underline;
}

/* ------------------------------
   Header & navigation
------------------------------- */

#main-header {
    background-color: #111111;
}

#top-menu li a {
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Active menu item */
#top-menu li.current-menu-item > a {
    color: #2c7be5;
}

/* Mobile menu toggle */
.mobile_menu_bar:before {
    color: #ffffff;
}

/* ------------------------------
   Buttons
------------------------------- */

.et_pb_button,
.et_pb_button.et_pb_more_button {
    background-color: #2c7be5;
    color: #ffffff !important;
    border-radius: 3px;
    border: none;
    padding: 0.8em 1.6em;
}

.et_pb_button:hover,
.et_pb_button.et_pb_more_button:hover {
    background-color: #1b5bbf;
    color: #ffffff !important;
}

/* ------------------------------
   Sections & rows
------------------------------- */

.et_pb_section {
    padding: 60px 0;
}

.et_pb_row {
    max-width: 1200px;
}

/* Alternate section background */
.et_pb_section.alt-section {
    background-color: #f7f7f7;
}

/* ------------------------------
   Typography for Divi modules
------------------------------- */

.et_pb_module h1,
.et_pb_module h2,
.et_pb_module h3,
.et_pb_module h4,
.et_pb_module h5,
.et_pb_module h6 {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    color: #111111;
}

/* Paragraphs inside modules */
.et_pb_module p {
    line-height: 1.7;
    margin-bottom: 1em;
}

/* ------------------------------
   Blog & post styles
------------------------------- */

.et_pb_post .entry-title a {
    color: #111111;
}

.et_pb_post .entry-title a:hover {
    color: #2c7be5;
}

/* Meta info */
.et_pb_post .post-meta {
    font-size: 13px;
    color: #888888;
}

/* ------------------------------
   Footer
------------------------------- */

#main-footer {
    background-color: #000000;
    color: #cccccc;
}

#footer-bottom {
    background-color: #050505;
}

#footer-bottom .container {
    text-align: center;
}

#footer-bottom a {
    color: #ffffff;
}

/* ------------------------------
   Utility classes
------------------------------- */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 1rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

/* ------------------------------
   Responsive tweaks
------------------------------- */

@media (max-width: 980px) {
    #top-menu li a {
        font-size: 14px;
    }

    .et_pb_section {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .et_pb_row {
        padding: 0 20px;
    }

    .et_pb_button,
    .et_pb_button.et_pb_more_button {
        width: 100%;
        text-align: center;
    }
}
