/* style.css - Single Article Readability Improvements */

/* 1. Featured Image: Proper display and spacing */
.single-post .elementor-widget-theme-post-featured-image {
    margin-bottom: 40px !important;
    text-align: center;
}
.single-post .elementor-widget-theme-post-featured-image img {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* 2. H1 Title: Placement and relative spacing */
.single-post .elementor-widget-theme-post-title {
    margin-top: 20px !important;
    margin-bottom: 30px !important;
    text-align: center;
}

/* 3. Author Box: Reduce visual prominence */
.single-post .elementor-widget-author-box {
    margin: 30px auto !important;
    padding: 20px 0 !important;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0.85;
    max-width: 800px;
    transition: opacity 0.3s ease;
}
.single-post .elementor-widget-author-box:hover {
    opacity: 1;
}
.single-post .elementor-widget-author-box .elementor-author-box__name {
    font-size: 1.1em !important;
}
.single-post .elementor-widget-author-box .elementor-author-box__bio {
    font-size: 0.9em !important;
    line-height: 1.6;
}

/* 4 & 5. Content Spacing & Gutenberg Inheritance */
.single-post .elementor-widget-theme-post-content {
    max-width: 800px;
    margin: 0 auto !important;
    line-height: 1.8;
}
.single-post .elementor-widget-theme-post-content > * {
    margin-bottom: 1.5em !important;
}
.single-post .elementor-widget-theme-post-content h2,
.single-post .elementor-widget-theme-post-content h3,
.single-post .elementor-widget-theme-post-content h4 {
    margin-top: 2em !important;
    margin-bottom: 1em !important;
}
.single-post .elementor-widget-theme-post-content img {
    border-radius: 6px;
    margin: 2em 0;
}
.single-post .elementor-widget-theme-post-content blockquote {
    margin: 2em 0 !important;
    padding: 1em 1.5em !important;
    border-left: 4px solid var(--e-global-color-accent, #1A1410) !important;
    background: rgba(0,0,0,0.02);
    font-style: italic;
    border-radius: 0 4px 4px 0;
}

/* 6. Responsiveness */
@media (max-width: 767px) {
    .single-post .elementor-widget-theme-post-featured-image {
        margin-bottom: 20px !important;
    }
    .single-post .elementor-widget-theme-post-featured-image img {
        border-radius: 0;
        max-height: 40vh;
    }
    .single-post .elementor-widget-theme-post-title {
        margin-top: 15px !important;
        margin-bottom: 20px !important;
        padding: 0 15px;
    }
    .single-post .elementor-widget-theme-post-content {
        padding: 0 15px;
    }
    .single-post .elementor-widget-author-box {
        margin: 20px 15px !important;
        padding: 15px 0 !important;
    }
}
