.featured-image {
    height: 250px;
    object-fit: cover;
}

.featured-image-contain {
    height: 250px;
    object-fit: scale-down;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.centered img {
    height: 10%;
    width: 10%;
    animation: spin 2s linear infinite; /* Rotate the image infinitely */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    /* Rotate the image by 360 degrees */
}

.scrollable-div {
    width: 100%;
    overflow-x: auto;
}


/*<!-- Article Details -->*/
.single-post-content {
    margin-top: 1.2em;

    h1, h2, h3, h4, h5 {
        margin-top: 1em;
        margin-bottom: 1em;
        /*color: red;*/
    }

    p {
        margin-bottom: 1em;
        font-family: 'Poppins', "solaimanlipi", serif;
    }

    ul {
        margin-bottom: 1em;
        list-style-type: none; /* Remove default bullet points */
        padding-left: 0; /* Remove padding */

        /*li::before {*/
        /*    content: "- "; !* Add a custom dash before each list item *!*/
        /*    margin-right: 8px; !* Space between the dash and the text *!*/
        /*}*/
    }

    img {
        margin-top: 1em !important;
        margin-bottom: .5em !important;
        /*border: 5px solid #000; !* Black border for the frame *!*/
        /*padding: 10px; !* Space between the image and the frame *!*/
        /*background-color: #fff; !* Background color for the frame *!*/
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
        border-radius: 8px; /* Optional rounded corners */
        max-height: 500px;
        object-fit: contain;
    }
}

.wysiwyg-content {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    word-wrap: break-word;
}

.wysiwyg-content blockquote {
    border-left: 4px solid #ccc; /* Left border for visual distinction */
    padding: 10px 20px;
    margin: 1rem 0;
    font-style: italic;
    color: #555;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.wysiwyg-content blockquote p {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Optional: Add a quotation mark before blockquotes */
.wysiwyg-content blockquote::before {
    content: "“";
    font-size: 2em;
    color: #bbb;
    position: relative;
    top: 5px;
    left: -5px;
}

/* Optional: Style for blockquotes inside a preformatted text */
.wysiwyg-content pre blockquote {
    border-left: 4px solid #ffcc00;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}


/* Ensure proper display for code blocks */
.wysiwyg-content pre {
    background-color: #272822; /* Dark theme background */
    color: #f8f8f2; /* Light text */
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto; /* Enables horizontal scrolling for long code */
    white-space: pre-wrap; /* Prevents overflow */
    font-family: "Courier New", monospace;
    line-height: 1.5;
}

/* Inline code */
.wysiwyg-content code {
    font-family: "Courier New", monospace;
    background: #f4f4f4;
    color: #c7254e;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.95em;
}

/* Prevent WYSIWYG editor from stripping spaces */
.wysiwyg-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    white-space: pre;
    display: block;
}


/*<!-- End Article Details -->*/
