/*
Theme Name: RedEx Consulting
Theme URI: https://redexconsulting.com/
Author: Hung Nguyen
Author URI: https://redexconsulting.com/
Description: Custom theme for RedEx Consulting
Version: 1.0.0
Text Domain: redex-consulting
*/

/* Import the original styles */
@import url('assets/css/bootstrap.min.css');
@import url('assets/css/swiper-bundle.min.css');
@import url('assets/css/select2.min.css');
@import url('assets/css/all.min.css');
@import url('assets/css/styles.css?v=1.0.3');
@import url('assets/css/plugin.Fromideastoimpact.css');
@import url('assets/css/plugin.Thirdpartyformplugin.css');
@import url('assets/css/page-plugin-width.css');

/* WordPress specific styles */
.wp-block-group {
    margin-bottom: 1rem;
}

.wp-block-image {
    margin-bottom: 1rem;
}

.wp-block-quote {
    border-left: 4px solid #ED2224;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
}

/* Ensure content area matches original layout */
#content {
    min-height: 50vh;
}

/* WordPress admin bar adjustment */
body.admin-bar .body_wrapper .header_area nav {
    margin-top: 32px;
}

body.admin-bar .body_wrapper .category-bar.sticky {
    top: 110px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .body_wrapper .header_area nav {
        margin-top: 46px;
    }

    body.admin-bar .body_wrapper .category-bar.sticky {
        top: 116px;
    }
}

/* Elementor compatibility styles */
.elementor-page .body_wrapper {
    overflow: visible;
}

.elementor-page #content {
    padding: 0;
}

.elementor-page .entry-content {
    padding: 0;
}

/* Elementor container width matching theme */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}

/* Elementor widget spacing */
.elementor-widget {
    margin-bottom: 0;
}

/* Elementor heading styles */
.elementor-widget-heading .elementor-heading-title {
    font-family: inherit;
    line-height: 1.2;
}

/* Elementor button styles */
.elementor-widget-button .elementor-button {
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Elementor image styles */
.elementor-widget-image .elementor-image img {
    max-width: 100%;
    height: auto;
}

/* Elementor text editor styles */
.elementor-widget-text-editor {
    line-height: 1.6;
}

/* Elementor column spacing */
.elementor-column {
    padding: 0 15px;
}

/* Elementor section spacing */
.elementor-section {
    padding: 0;
}

/* Elementor responsive adjustments */
@media (max-width: 768px) {
    .elementor-column {
        padding: 0 10px;
    }
    
    .elementor-section.elementor-section-boxed > .elementor-container {
        padding: 0 15px;
    }
}