/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Custom styles for consistent post formatting */

/*
   This rule targets the main content container on all single posts.
   It provides a consistent top margin and left padding,
   overriding any conflicting styles from Elementor or the theme.
*/
.single-post .page-content {
    /* Add space below the header */
    margin-top: 30px; 
    
    /* Add a consistent left indent */
    padding-left: 20px;
}
/* Custom styles for consistent post formatting */

/*
   Rule for Classic Editor Posts and general styling
   This targets the main content container on all single posts.
*/
.single-post .page-content {
    /* Add space below the header */
    margin-top: 30px; 
    
    /* Add a consistent left indent */
    padding-left: 20px;
}

/*
   NEW RULE: Force consistent indentation on Elementor posts
   This rule uses a more specific selector to ensure the indent matches.
   It targets single posts with the 'elementor-page' body class.
*/
.elementor-page .single-post .page-content {
    padding-left: 20px !important;
}
/* Custom styles for consistent post formatting */

/*
   Force a consistent top margin and left padding on the main content container
   for both Classic Editor and Elementor posts.
*/
.single-post .page-content {
    /* Adjust this value to set the space between the header and the read time */
    margin-top: 30px !important; 
    
    /* Ensure there's no conflicting padding on the parent */
    padding-left: 0 !important;
}

/*
   Style the read time wrapper itself.
   We explicitly set it to be an inline-block to allow padding/margin to work consistently.
*/
.single-post .bsf-rt-reading-time {
    /* Treat the element as a block to allow proper padding and margins */
    display: inline-block !important; 

    /* Force the left indent */
    padding-left: 20px !important;
}
