/* Scoped styles for all blog articles */
[blog-content] {
    font-family: system-ui,"Poppins", "Inter", Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #EDE7F6;
    border-radius: 14px;
    padding: 35px;
    /* box-shadow: 0 2px 12px rgba(0,0,0,0.08); */
    max-width: 1100px;
    margin: 30px auto;
}

[blog-content] .cover-img {
    width: 100%;
    max-width: 98%;
    border-radius: 10px;
    border: 2px solid #9c27b03b;
    margin: 30px 0;
}

/* Heading Styles */
[blog-content] h1, 
[blog-content] h2 {
    font-weight: 700;
    color: black; /* Brand Green */
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

[blog-content] h1 {
    font-size: 26px;
}

[blog-content] h2 {
    font-size: 22px;
}

/* H3 is black for contrast */
[blog-content] h3 {
    font-weight: 700;
    color: #222222; /* Brand Black */
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Paragraphs */
[blog-content] p {
    margin-bottom: 18px;
    font-size: 17px;
}

/* Lists */
[blog-content] ul {
    padding-left: 22px;
    margin-bottom: 18px;
}

[blog-content] li {
    margin-bottom: 8px;
    font-size: 16px;
}

/* Hyperlinks */
[blog-content] a {
    color: #1DBF73;
    text-decoration: none;
    font-weight: 600;
}

[blog-content] a:not(.share-box a):hover {
    text-decoration: underline;
}

[blog-content] a:not(.share-box a):after {

    content: "\00a0 \f35d";
        font-family: "Font Awesome 5 Pro";
    font-weight: 900;
}



/* Table styling */
[blog-content] table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
}

[blog-content] table th,
[blog-content] table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
}

[blog-content] table th {
    background: #000000;
    font-weight: 600;
    color: white;
}



/*=========== CTA  =============*/

        .post-meta{
            color: #5a5a5a;
        }

        .author-info{
            text-align: center;
        }

        .cta-left {
    flex: 0 0 30%;
}

        .author-name{
    background-color: #1dbf733b;
    padding: 5px 27px;
    border-radius: 6px;
    margin: 12px 0;
}

.hayyat-cta-content .cta-subtext {
    font-size: 14px;
    color: #505050;
    margin-bottom: 18px;
    border: 1px solid #fff0a3;
    width: fit-content;
    padding: 6px;
    border-radius: 4px;
    background-color: #fff0a3;
}

        
    /* Reset parent influence */
    .hayyat-cta-block {
        width: 92%;
        max-width: 1100px;
/*        margin: auto;*/
        background: #FFF9D9;
        border-radius: 18px;
        padding: 40px;
        display: flex;
        align-items: center;
        gap: 40px;
        margin: 50px auto;
/*        box-shadow: 0 3px 12px rgba(0,0,0,0.06);*/
            font-family: system-ui,"Poppins", "Inter", Arial, sans-serif;

    }

    /* Image styling */
    .hayyat-cta-block .cta-left img {
    width: 150px;
    height: 150px;
    border-radius: 149px;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid #FFEB3B;
}

    /* Right content */
    .hayyat-cta-content h3 {
        font-size: 28px;
        margin-bottom: 12px;
        font-weight: 700;
        color: #222;
    }

    .hayyat-cta-content p {
        font-size: 17px;
        line-height: 1.6;
        color: #333;
        margin-bottom: 22px;
    }

    /* CTA button */
    .hayyat-cta-btn {
        display: inline-block;
        background: #1DBF73;
        padding: 12px 20px;
        font-size: 16px;
        color: #fff;
        border-radius: 8px;
        font-weight: 600;
        text-decoration: none;
        transition: 0.2s ease;
    }

    .hayyat-cta-btn:hover {
        background: #17a864;
    }

    /* Responsive: stack on small screens */
    @media (max-width: 850px) {
        .hayyat-cta-block {
            flex-direction: column;
            text-align: center;
            padding: 30px;
/*            max-width: 95%;*/
        }

        .hayyat-cta-block img {
            width: 200px;
            height: 200px;
        }

        .hayyat-cta-content .cta-subtext {
    margin: 12px auto;
}
    }



/*//========================================*/

.share-box {
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-family: inherit;
}

.share-box span {
    font-weight: 600;
    margin-right: 12px;
    font-size: 16px;
}

.share-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff !important;
    text-decoration: none;
    transition: 0.2s;
}

.share-btn i { pointer-events: none; }

.share-btn.linkedin { background:#0A66C2; }
.share-btn.twitter { background:#1DA1F2; }
.share-btn.facebook { background:#1877F2; }
.share-btn.whatsapp { background:#25D366; }
.share-btn.email { background:#444; }

.share-btn:hover { opacity: 0.82; }    