
    body {
        font-family: Arial, sans-serif;
        line-height: 1.6;
        margin: 0;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: white; /* Light mode background */
        color: black; /* Light mode text color */
    }
    h1 {
        font-size: 1.5em;
        margin-top: 10px;
        margin-bottom: 0;
        text-align: center;
    }

    .intro-text {
        max-width: 800px;
        width: 100%;
        text-align: center;
        font-size: 0.9em;
        margin-top: 0;
        margin-bottom: 5px;
        padding-top: 0;
        padding-bottom: 0;
    }


    .rss-icon {
        position: fixed;
        bottom: 10px;
        right: 10px;
        width: 24px;
        height: 24px;
        z-index: 1000;
        border-style: solid;
        border-color: #ddd #aaa #aaa #ddd;
        border-width: 1px;
        border-radius: 6px;
    }

    .coffee-icon {
        position: fixed;
        bottom: 10px;
        right: 40px;
        width: 24px;
        height: 24px;
        z-index: 1000;
        border-style: solid;
        border-color: #ddd #aaa #aaa #ddd;
        border-width: 1px;
        border-radius: 6px;
    }

    .x-icon {
        position: fixed;
        bottom: 10px;
        right: 70px;
        width: 24px;
        height: 24px;
        z-index: 1000;
        border-style: solid;
        border-color: #ddd #aaa #aaa #ddd;
        border-width: 1px;
        border-radius: 6px;
    }

    .bs-icon {
        position: fixed;
        bottom: 10px;
        right: 100px;
        width: 24px;
        height: 24px;
        z-index: 1000;
        border-style: solid;
        border-color: #ddd #aaa #aaa #ddd;
        border-width: 1px;
        border-radius: 6px;
    }

    .info-icon {
        position: fixed;
        bottom: 10px;
        right: 130px;
        width: 24px;
        height: 24px;
        z-index: 1000;
        border-style: solid;
        border-color: #ddd #aaa #aaa #ddd;
        border-width: 1px;
        border-radius: 6px;
    }


    .article {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 10px;
        padding: 10px 16px 9px 18px;
        border-style: solid;
        border-width: 1px 1px 1px 1px;
        border-color: #ddd #E60012 #ddd #006FCD;
        border-radius: 4px;
        max-width: 800px;
        width: 100%;
    }
    .article-content {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        padding-bottom: 5px;
    }
    .article img {
        max-width: 225px;
        height: auto;
        max-height: 150px;
        margin-left: 10px;
        margin-right: 1px;
        object-fit: cover;
    }
    .text-content {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    .article-title a {
        font-size: 1.3em;
        text-decoration: none;
        color: #000;
        margin-top: 0;
        padding-top: 0;
    }
    .article-meta {
        font-size: 0.8em;
        color: #555;
        margin-top: 0;
        margin-bottom: 2px;
    }
    .article-summary {
        font-size: 0.9em;
        margin-top: 0;
    }
    .article-supporting-summary {
        font-size: 0.85em;
        margin-top: 0;
        margin-left: 14px;
    }
    .expanded {
        font-size: 0.8em;
        margin-top: 5px;
        padding: 0px 0px 5px 14px;



    }
    .no-image .text-content {
        flex-grow: 1;
        width: 100%;
    }
    details summary {
        cursor: default;
        color: #007bff;
        text-decoration: none;
        display: block;
        font-size: 0.85em;
        color: black;
        font-weight: bold;

        max-width: 800px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        padding: 0;
        margin: 0;
    }
    details summary a {
        font-weight: 500;
        color: #1467B4;
    }   

    details summary::marker {
        font-size: 1.3em;
        font-weight: bold;
    }
    details[open] summary::marker {
        content: "\25B2"; /* Arrow up */
    }
    details summary::marker {
        content: "\25BC"; /* Arrow down */
    }
    .reference-article-content {
        display: flex;
        align-items: center;
    }

    .reference-articles {
        margin: 4px 0 5px 0;
    }

    hr {
        padding: 0;
        margin: 5px 0px 0px 0px;
        border: 0;
        border-top: 1px solid #ddd;
    }

    @media (max-width: 600px) {
        .article-content {
            flex-direction: column;
        }
        .article img {
            display: none;
        }
        details summary {
            white-space: normal;
            text-indent: 10px hanging; 
        }
        h1 {

        }
        .intro-text {

        }
    }


    /* Dark Mode */
    @media (prefers-color-scheme: dark) {
        body {
            background-color: black; /* Dark mode background */
            color: #ddd; /* Dark mode text color */
        }
        .article {
            border: 1px solid;
            border-color: #444 #E60012 #444 #006FCD;
        }
        .article-title a {
            color: white;
        }
        .article-meta {
            color: #aaa;
        }
        details summary {
            color: #ddd;
        }
        details summary a {
            color: #66b2ff;
        }
        hr {
            border-top: 1px solid #444;
        }
    }
