body {
    font-family: 'Open Sans', sans-serif;
}


#audio-news {
    min-width: 200px;
    min-height: 50px;
}

/* Container and column styling */
.container {
    display: flex;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    min-width: 300px;
    padding: 10px;
}

.column:nth-child(1) {
    flex: 1;
    /* Adjust the width of the left column */
}

.column:nth-child(2) {
    flex: 4;
    /* Adjust the width of the right column */
}


/* Adjust styles for smaller screens */
@media only screen and (max-width: 768px) {
    .column {
        flex: 100%;
        margin-bottom: 20px;
    }

    #audio-news {
        clear: both;
        width: 100%;
    }

    .horizontal-list {
        display: flex;
        list-style: none;
        flex-wrap: wrap;
    }

    .horizontal-list li {
        flex: 0 0 50%;
        /* Two items per row on smaller screens */
        max-width: 50%;
        list-style-type: none;
    }

    .order-1 {
        order: 1;
    }

    .order-2 {
        order: 2;
    }


    #audio-news {
        padding-bottom: 1.5em;
    }

    h1 {
        margin-left: .25em;
    }
}

/* Adjust styles for medium screens and up */
@media only screen and (min-width: 768px) {
    .md\:order-1 {
        order: 1;
        margin-bottom: 1em;
    }

    .md\:order-2 {
        order: 2;

    }
}


h4.headline {
    margin-bottom: 0;
    display: list-item;
    list-style-type: none;
    /* See https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type   */
    list-style-position: inside;
}

h4.headline a {
    text-decoration: none;
}

.news-date {
    font-size: small;
    margin-left: 1.5em;
}

div.summary {
    padding: 0;
    font-size: 1.1rem;
}

/* Feeds list styling */
.feeds {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.feeds li {
    margin-bottom: 10px;
}

a.active-link {
    font-weight: bold;
    text-decoration: none;
    background-color: #007bff;
    color: #fff;
}

a.feed-link {
    text-decoration: none;
    display: block;
    padding: 10px;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

a.feed-link:hover {
    background-color: #007bff;
    color: #fff;
}

.hidden {
    display: none;
}

.feed-item {
    padding-bottom: 1em;
    border-bottom: 0.1em solid lightgray;
    display: none;
}

.news-item {
    position: relative;
}

.hide-button {
    display: none;
    border: none;
    text-align: center;
    cursor: pointer;
    margin-left: 1em;
    position: relative;
    top: 1em;
}

@media (max-width: 768px) {
    .hide-button {
        display: inline-block;
    }
}

.news-item:hover .hide-button {
    display: inline-block;
}

.news-title {
    display: flex;
    align-items: center;
    font-size: larger;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 1em;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    /* Initially hidden */
}

#back-to-top:hover {
    background-color: #444;
}

div.news-item img {
    max-width: 250px;
    width: auto;
    height: auto;
}

.published {
    font-size: small;
    text-align: left;
}

.source {
    font-size: small;
    text-transform: uppercase;
}

/* Show More button styling */
.show-more,
.show-fewer {
    display: block;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.show-more:hover,
.show-fewer:hover {
    background-color: #0056b3;
}

.show-fewer {
    display: none;
}