@media (min-width: 601px) {
    #mobile-content {
        display: none;
    }

    #desktop-content {
        margin: 0 15%;
    }

    html {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    body {
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden; /* Prevent horizontal scrolling */
        font-family: "Open Sans", sans-serif;
        color: rgb(9, 0, 57);
        background-color: #F8FAFC;
    }

    header {
        color: white;
        padding: 20px;
        text-align: center;
        background-color: #26537a;
    }

    .website-title {
        font-size: 27px;
        font-weight: bold;
        padding: 20px 0 9px;
        display: inline-block;
    }

    main {
        height: auto;
        min-height: 100vh;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        transition: width 0.3s ease-in-out;
        background-color: #F8FAFC;
    }

    .message {
        width: 60%;
        margin: 0 auto;
        color: rgb(32, 33, 34);
        font-family: "Open Sans", sans-serif;
        font-size: 14px;
        line-height: 1.5;
        background-color: #F8FAFC;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
        border: 1px solid #e2eef9;
        padding: 10px 10px 10px 10px;
    }

     

    .message-explanatory {
        display: inline-block;
        line-height: 1.1;
        color: gray;
    }

/*    .p-h2 {
        font-size: 15px;
        line-height: 21px;
        color: rgb(9, 0, 57);
        font-weight: bold;
        margin-top: 1em;
        margin-bottom: 1em;
        display: block;
    }*/

    .last-modified-below {
        color: gray;
        font-size: 14px;
    }

    .audio-container {
        display: inline; /* Keeps button inline with text */
        background-color: pink;
    }

    .audio-button {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        padding: 0;
        margin-left: 0px; /* Space between verse and button */
    }

        .audio-button:focus {
            outline: none;
        }

    .audio-note {
        margin-right: 0px; /* Adjust spacing between note and text */
        font-size: 14px; /* Keep it proportional */
        position: relative;
        color: blue; /*#0e3a26;*/
    }

    .quran-player {
        margin: 0;
        padding-top: 10px;
        text-align: center;
    }

    /*.quran-player, */
    .footer1 {
        background-color: #F8F9FA;
    }

    .footer1 {
        margin: 0;
        padding: 0;
        width: 100%;
        font-size: 12px;
        color: #346;
        position: relative;
        text-align: center;
    }

        .footer1 a {
            color: #346; /* Ensure the link color is the same as the text color */
        }

        .footer1 .underline {
            text-decoration: underline; /* Underline only the text inside the span */
        }


    /*BLOCKQUOTE*/
    blockquote {
        font-size: 18px;
        font-family: "Inter", sans-serif;
        color: rgb(31, 41, 55);
        line-height: 32.5px;
        border-radius: 5px;
        padding: 14px 14px;
        width: 100%;
        margin: 14px 0 20px 0;
        display: block;
        text-align: left;
        position: relative;
        border-left: 6px solid #d0f5e9;
        transition: transform 0.3s ease;
    }

        blockquote span {
            line-height: 17px;
            width: 100%;
        }

    table {
        font-size: inherit;
        line-height: inherit;
    }

    table,
    td {
        word-wrap: break-word;
        line-height: inherit;
    }

    td {
        vertical-align: top;
    }

    .spacer1 {
        display: block;
        min-height: 2.5rem;
        line-height: 2.5rem;
    }

    .spacer2 {
        display: block;
        min-height: 1.5rem;
        line-height: 1.5rem;
    }

    .spacer3 {
        display: block;
        min-height: 0.9rem;
        line-height: 0.9rem;
    }

    .spacer4 {
        display: block;
        min-height: 0.6rem;
        line-height: 0.6rem;
    }

    .spacer5 {
        display: block;
        min-height: 6px;
        line-height: 6px;
    }

    nav ul {
        list-style: none;
        padding: 0;
    }

        nav ul li {
            display: inline;
            margin-right: 20px;
        }

            nav ul li a {
                color: white;
                text-decoration: none;
                font-size: 16px;
                font-weight: bold;
            }

    .image-gallery {
        display: flex;
        justify-content: space-around;
        margin-top: 20px;
    }

        .image-gallery img {
            width: 30%;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

    /* Section Styling */
    section h2,
    section h3 {
        color: #006400; /* Dark green for section titles */
    }

    section p {
        font-size: 1.1em;
        line-height: 1.6;
        margin-bottom: 20px;
    }













}
/* DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD */




@media (min-width: 601px) {
    .last-post {
        height: auto;
        border-radius: 5px;
        padding: 0;
        display: flex;
        align-items: stretch; /* Sorgt daf r, dass alle Kinder die gleiche H he haben */
        margin-top: 2px;
        margin-bottom: 0px;
        background-color: #f0f4f7;
        width: 100%; /* Stellt sicher, dass die Breite immer 100% des Containers ist */
        box-sizing: border-box; /* Schlie t Padding und Border in die Gesamtbreite ein */
        overflow: hidden; /* Verhindert das  berlaufen von Inhalt */
    }
     
        .last-post p {
            color: #444;
            margin: 0;
            font-size: 1rem;
            text-decoration: none;
            font-weight: normal;
        }

            .last-post p a {
                color: #1160b5;
                margin: 0;
                font-size: 1rem;
                text-decoration: none;
                font-weight: normal;
            }

    .sub-listing {
        margin-top: 0px;
        margin-bottom: 40px; /* Adds 10px space below the sub-listing block */
    }

    .sub-listing-board-id {
        display: block;
        font-size: 18px;
        font-weight: bold;
    }

    .sub-listing-board-description {
        display: block;
        font-size: 13px;
        color: #444;
    }

    .contdiv {
        height: auto;
        border-radius: 5px;
        display: flex;
        align-items: center; /* Vertically align the items */
        margin-top: 2px; /* Adds 10px space above the contdiv block */
        margin-bottom: 0px;
        background-color: #f0f4f7;
        width: 100%; /* Ensure the container takes up the full width */
        box-sizing: border-box;
        padding: 0px;
    }

    .artl-author {
        padding: 5px;
        color: #444;
    }

    .artl-article_date {
        padding: 5px;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 5px;
        justify-content: flex-start; /* Align the content to the left */
    }

    .artl-creation_date {
        color: #444;
    }

    .artl-article_name {
        color: #1160b5;
        text-decoration: none;
        padding-left: 20px; /* Adds padding to the left of the creation date */
    }

    .artl-link {
        color: #1160b5;
        text-decoration: none;
    }

    .back-link {
        margin-top: 10px;
        font-size: 1rem;
        padding-top: 30px;
    }

        .back-link a {
            color: blue; /* Sets the color to blue */
            text-decoration: underline; /* Adds the underline */
        }

    .category-container {
        margin-bottom: 10px; /* Weniger Abstand zur n chsten Kategorie */
        padding: 0; /* Entfernt jeglichen inneren Abstand */
        background-color: #f0f0f0;
        border-radius: 10px;
    }

        .category-container h2 {
            font-size: 16px; /* Kleinere Schriftgr  e */
            background: linear-gradient(to bottom, #2b6bb5, #a6b8cc);
            color: white; /* Schriftfarbe f r besseren Kontrast */
            padding: 5px;
            margin: 0; /* Entfernt jeglichen  u eren Abstand */
            border-radius: 5px;
        }

    .board {
        display: flex;
        align-items: stretch; /* Sorgt daf r, dass alle Kinder die gleiche H he haben */
        margin-top: 2px;
        margin-bottom: 0px;
        padding: 0; /* Entfernt inneren Abstand */
        border: none; /* Falls ein Rand den Eindruck von Abstand erweckt */
        background-color: #f0f4f7;
        width: 100%; /* Stellt sicher, dass die Breite immer 100% des Containers ist */
        box-sizing: border-box; /* Schlie t Padding und Border in die Gesamtbreite ein */
        overflow: hidden; /* Verhindert das  berlaufen von Inhalt */
    }

        .board > div {
            flex-shrink: 0; /* Verhindert, dass die Divs kleiner als ihre angegebene Breite werden */
        }

    .board-image, .board-name, .article-count, .author-info {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .board-image {
        width: 92px;
        min-height: 2.6em;
        background-color: rgb(219, 226, 236);
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .board-image img {
            width: 2.2rem;
            max-width: 2.5rem;
            height: auto;
            border-radius: 5px;
            align-content: center;
        }

    .board-name {
        width: 61.7%;
        padding-left: 7px;
        background-color: #f0f4f7;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .board-id {
        margin: 0;
        font-size: 1.25rem;
        color: #291e79;
        text-decoration: none;
        font-weight: normal;
    }

    .board-description {
        margin: 0;
        font-size: 0.9rem;
        color: #444;
    }

    .article-count {
        width: 13.7%;
        color: #090039;
        background-color: rgb(219, 226, 236);
        font-size: 0.8rem;
        padding-left: 7px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .author-info {
        color: #444;
        background-color: #f0f4f7;
        padding-left: 7px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 0.9rem;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex: 1;
    }

        .author-info p {
            margin: 0;
            padding: 2px 0;
            font-size: 0.9rem;
        }

    .article-name {
        color: #2e3675;
    }

    .article-link {
        color: #2e3675;
        text-decoration: none;
    }

    .article-name:hover {
        text-decoration: none;
    }

}