/*
Theme Name: Hello Elementor Child - CSP Geeks
Theme URI: https://www.cspgeeks.com
Description: Child theme for Hello Elementor with custom article styling
Author: CSP Geeks
Author URI: https://www.cspgeeks.com
Template: hello-elementor
Version: 1.0.3
*/

/* Import parent theme styles */
@import url('../hello-elementor/style.css');

/* CSP Geeks Custom Blog Post Styling - ONLY affects single blog posts, not pages */

/* Target only single blog posts */
.single-post .entry-title,
.single-post h1.entry-title,
.single-post article .entry-title {
    color: #1a1a1a !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

/* Section Headings - Blue with Left Border (BLOG POSTS ONLY) */
.single-post .entry-content h2,
.single-post h2.wp-block-heading,
.single-post article h2,
.single-post .elementor-widget-theme-post-content h2,
.single-post .elementor-text-editor h2 {
    color: #0066cc !important;
    font-size: 1.875rem !important;
    font-weight: 600 !important;
    margin-top: 3rem !important;
    margin-bottom: 1rem !important;
    padding-left: 1rem !important;
    border-left: 4px solid #0066cc !important;
    line-height: 1.3 !important;
}

/* Subheadings (BLOG POSTS ONLY) */
.single-post .entry-content h3,
.single-post h3.wp-block-heading,
.single-post article h3,
.single-post .elementor-widget-theme-post-content h3,
.single-post .elementor-text-editor h3 {
    color: #333333 !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-top: 2rem !important;
    margin-bottom: 0.75rem !important;
}

/* Paragraph Spacing (BLOG POSTS ONLY) */
.single-post .entry-content p,
.single-post .wp-block-paragraph,
.single-post article p,
.single-post .elementor-widget-theme-post-content p,
.single-post .elementor-text-editor p {
    color: #333333 !important;
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
}

/* Code Blocks (BLOG POSTS ONLY) */
.single-post .entry-content pre,
.single-post .wp-block-code,
.single-post article pre,
.single-post .elementor-widget-theme-post-content pre,
.single-post .elementor-text-editor pre {
    background: #f8f9fa !important;
    border: 1px solid #e1e4e8 !important;
    border-left: 4px solid #0066cc !important;
    padding: 1.5rem !important;
    margin: 2rem 0 !important;
    overflow-x: auto !important;
    border-radius: 4px !important;
}

.single-post .entry-content code,
.single-post article code,
.single-post .elementor-widget-theme-post-content code,
.single-post .elementor-text-editor code {
    font-family: 'Courier New', Courier, monospace !important;
    font-size: 0.95rem !important;
    color: #1a1a1a !important;
}

/* Images (BLOG POSTS ONLY) */
.single-post .entry-content figure,
.single-post .wp-block-image,
.single-post article img,
.single-post .elementor-widget-theme-post-content img,
.single-post .elementor-text-editor img {
    margin: 2.5rem auto !important;
}

.single-post .entry-content figcaption,
.single-post .wp-element-caption {
    color: #666666 !important;
    font-size: 0.95rem !important;
    font-style: italic !important;
    text-align: center !important;
    margin-top: 0.75rem !important;
}

/* Strong/Bold (BLOG POSTS ONLY) */
.single-post .entry-content strong,
.single-post article strong,
.single-post .elementor-widget-theme-post-content strong,
.single-post .elementor-text-editor strong {
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

/* Lists (BLOG POSTS ONLY) */
.single-post .entry-content ul,
.single-post .entry-content ol,
.single-post article ul,
.single-post article ol,
.single-post .elementor-widget-theme-post-content ul,
.single-post .elementor-widget-theme-post-content ol,
.single-post .elementor-text-editor ul,
.single-post .elementor-text-editor ol {
    margin-bottom: 1.5rem !important;
    padding-left: 2rem !important;
}

.single-post .entry-content li,
.single-post article li,
.single-post .elementor-widget-theme-post-content li,
.single-post .elementor-text-editor li {
    margin-bottom: 0.5rem !important;
    line-height: 1.7 !important;
    color: #333333 !important;
}
