/* Card Container */
body.single-post #main,
body.single-post .site-main,
body.single-post .elementor-location-single {
    max-width: 800px;
    margin: 40px auto;
    background-color: #7B9DE8;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: #1a1a1a;
}

@media (max-width: 768px) {
    body.single-post #main,
    body.single-post .site-main,
    body.single-post .elementor-location-single {
        margin: 20px;
        padding: 20px;
        border-radius: 15px;
    }
}

/* Headings */
body.single-post #main h1, 
body.single-post #main h2, 
body.single-post #main h3, 
body.single-post #main h4, 
body.single-post #main h5, 
body.single-post #main h6,
body.single-post .site-main h1,
body.single-post .site-main h2,
body.single-post .site-main h3,
body.single-post .site-main h4,
body.single-post .site-main h5,
body.single-post .site-main h6,
body.single-post .elementor-location-single h1,
body.single-post .elementor-location-single h2,
body.single-post .elementor-location-single h3,
body.single-post .elementor-location-single h4,
body.single-post .elementor-location-single h5,
body.single-post .elementor-location-single h6 {
    color: #111111;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

body.single-post #main h1,
body.single-post .site-main h1,
body.single-post .elementor-location-single h1 {
    margin-top: 0;
    font-size: 2.5em;
    line-height: 1.2;
}

/* Paragraphs */
body.single-post #main p,
body.single-post .site-main p,
body.single-post .elementor-location-single p {
    color: #1a1a1a;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5em;
}

/* Links */
body.single-post #main a,
body.single-post .site-main a,
body.single-post .elementor-location-single a {
    color: #000;
    text-decoration: underline;
}

/* Images */
body.single-post #main img,
body.single-post .site-main img,
body.single-post .elementor-location-single img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: contain; /* Prevents cropping */
}

/* Elementor specifics if used */
body.single-post .elementor-widget-theme-post-content {
    color: #1a1a1a;
}
